JP2018018269A - Electronic control device - Google Patents

Electronic control device Download PDF

Info

Publication number
JP2018018269A
JP2018018269A JP2016147603A JP2016147603A JP2018018269A JP 2018018269 A JP2018018269 A JP 2018018269A JP 2016147603 A JP2016147603 A JP 2016147603A JP 2016147603 A JP2016147603 A JP 2016147603A JP 2018018269 A JP2018018269 A JP 2018018269A
Authority
JP
Japan
Prior art keywords
sensor
sensors
trigger signal
electronic control
ecu
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
JP2016147603A
Other languages
Japanese (ja)
Inventor
貴士 有竹
Takashi Aritake
貴士 有竹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2016147603A priority Critical patent/JP2018018269A/en
Publication of JP2018018269A publication Critical patent/JP2018018269A/en
Pending legal-status Critical Current

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a technique to obtain latest sensor values from each of a plurality of sensors of which response times are different from each other.SOLUTION: An electronic control device 30 includes a communication unit 36 and a control unit 32. The communication unit transmits a trigger signal to request transmission of a sensor value to a plurality of sensors 12, 14, 22 and 24, and receives sensor values from the plurality of sensors. The control unit 32 carries out prescribed control on the basis of sensor values received from the sensors by the communication unit. The communication unit transmits a trigger signal to a group of sensors having longer response times at earlier timing than a sensor group having shorter response times regarding a plurality of sensor groups into which a plurality of sensors are divided according to length of response times from transmission of a trigger signal to each of the sensors to reception of sensor values from the sensors.SELECTED DRAWING: Figure 1

Description

本開示は、センサにセンサ値の送信を要求するトリガ信号を送信する技術に関する。   The present disclosure relates to a technique for transmitting a trigger signal that requests a sensor to transmit a sensor value.

複数種類のセンサがそれぞれ検出対象をセンシングした結果であるセンサ値を電子制御装置が通信により取得し、取得したセンサ値に基づいて所定の制御を行う技術が公知である(例えば、特許文献1参照。)。   A technique is known in which an electronic control device acquires a sensor value that is a result of sensing a detection target by each of a plurality of types of sensors, and performs predetermined control based on the acquired sensor value (see, for example, Patent Document 1). .)

電子制御装置がセンサからセンサ値を取得するために、センサ値を送信するように要求するトリガ信号をセンサに送信することが考えられる。トリガ信号を受信したセンサは、センサ値を電子制御装置に送信する。   In order for the electronic control unit to acquire a sensor value from the sensor, it is conceivable to transmit a trigger signal requesting to transmit the sensor value to the sensor. The sensor that has received the trigger signal transmits the sensor value to the electronic control unit.

特開2015−46770号公報JP 2015-46770 A

センサの種類が異なると、センシングに要する時間が異なり、さらにセンサ値のデータ長が異なるために通信時間が異なることがある。その結果、電子制御装置が複数のセンサのそれぞれにトリガ信号を送信してから、センサがセンシングを実行し、センサ値を送信して電子制御装置が受信するまでに要する応答時間は、センサの種類毎に異なる。   If the sensor type is different, the time required for sensing is different, and further the communication time may be different because the data length of the sensor value is different. As a result, the response time required from when the electronic control device transmits a trigger signal to each of the plurality of sensors until the sensor executes sensing, transmits the sensor value, and is received by the electronic control device is the sensor type. Different for each.

応答時間が異なる複数のセンサに対して、同じタイミングでトリガ信号を送信すると、電子制御装置は、応答時間の短いセンサから送信されるセンサ値を、応答時間の長いセンサから送信されるセンサ値よりも早いタイミングで受信することになる。   When a trigger signal is transmitted to a plurality of sensors with different response times at the same timing, the electronic control unit sets a sensor value transmitted from a sensor with a short response time to a sensor value transmitted from a sensor with a long response time. Will be received at an earlier timing.

すると、電子制御装置がすべてのセンサからセンサ値を受信して所定の制御を実行するときに、応答時間の短いセンサからのセンサ値の受信完了後に、応答時間の長いセンサからのセンサ値の受信完了を待つことになる。その結果、電子制御装置は、応答時間の短いセンサから最新のセンサ値を取得できないという問題がある。   Then, when the electronic control device receives sensor values from all the sensors and executes predetermined control, the sensor control unit receives the sensor values from the sensor with a long response time after the sensor values are received from the sensor with a short response time. Wait for completion. As a result, there is a problem that the electronic control device cannot acquire the latest sensor value from a sensor with a short response time.

本開示の一測面は、応答時間の異なる複数のセンサのそれぞれから最新のセンサ値を取得する技術を提供することにある。   One aspect of the present disclosure is to provide a technique for acquiring the latest sensor value from each of a plurality of sensors having different response times.

本開示の一態様は、通信部(36、66、S406、S410)と、制御部(32、62)と、を備えている。
通信部は、複数のセンサ(12〜16、22、24、72、82)にセンサ値の送信を要求するトリガ信号を送信し、複数のセンサからセンサ値を受信する。制御部は、通信部が複数のセンサから受信するセンサ値に基づいて所定の制御を行う。
One aspect of the present disclosure includes a communication unit (36, 66, S406, S410) and a control unit (32, 62).
A communication part transmits the trigger signal which requests | requires transmission of a sensor value to a some sensor (12-16, 22, 24, 72, 82), and receives a sensor value from a some sensor. The control unit performs predetermined control based on sensor values received from the plurality of sensors by the communication unit.

さらに通信部は、複数のセンサのそれぞれに対してトリガ信号を送信してから、センサからセンサ値を受信するまでの応答時間の長さに応じて複数のセンサが分類された複数のセンサ群について、応答時間が短いセンサ群よりも応答時間の長いセンサ群にトリガ信号を早いタイミングで送信する。   Further, the communication unit transmits a trigger signal to each of a plurality of sensors, and a plurality of sensor groups in which the plurality of sensors are classified according to the length of response time from reception of sensor values to the sensors. The trigger signal is transmitted to the sensor group having a longer response time than the sensor group having a shorter response time at an earlier timing.

これにより、応答時間の長いセンサ群から送信されるセンサ値の受信を完了するタイミングと、応答時間の短いセンサ群から送信されるセンサ値の受信を完了するタイミングとのずれを極力低減できる。したがって、制御部は、応答時間の異なる複数のセンサから受信する最新のセンサ値に基づいて所定の制御を実行できる。   Thereby, the shift | offset | difference of the timing which completes reception of the sensor value transmitted from a sensor group with a long response time and the timing which completes reception of the sensor value transmitted from a sensor group with a short response time can be reduced as much as possible. Therefore, the control unit can execute predetermined control based on the latest sensor values received from a plurality of sensors having different response times.

尚、特許請求の範囲に記載した括弧内の符号は、一つの態様として後述する実施形態に記載の具体的手段との対応関係を示すものであって、本発明の技術的範囲を限定するものではない。   In addition, the code | symbol in the parenthesis described in the claim shows the correspondence with the specific means as described in embodiment mentioned later as one aspect, Comprising: The technical scope of this invention is limited is not.

第1実施形態による電子制御装置を示すブロック図。The block diagram which shows the electronic controller by 1st Embodiment. 通信処理を示すタイムチャート。The time chart which shows a communication process. 通信処理を示すフローチャート。The flowchart which shows a communication process. 第1実施形態の変形例による電子制御装置を示すブロック図。The block diagram which shows the electronic control apparatus by the modification of 1st Embodiment. 第2実施形態による電子制御装置を示すブロック図。The block diagram which shows the electronic control apparatus by 2nd Embodiment. 通信処理を示すタイムチャート。The time chart which shows a communication process. 第3実施形態による電子制御装置を示すブロック図。The block diagram which shows the electronic control apparatus by 3rd Embodiment.

以下、本開示の実施形態を図に基づいて説明する。
[1.第1実施形態]
[1−1.構成]
図1に示すECU30は、車両に搭載され、エアバッグ駆動装置40に指令してエアバッグを作動させる。ECUは、Electronic Control Unitの略である。ECU30は、CPU32と、RAM、ROM、フラッシュメモリ等の半導体メモリ34と、通信回路36とを備える周知のマイクロコンピュータを中心に構成される。以下、半導体メモリを単にメモリとも言う。ECU30を構成するマイクロコンピュータの数は一つでも複数でもよい。
Hereinafter, embodiments of the present disclosure will be described with reference to the drawings.
[1. First Embodiment]
[1-1. Constitution]
The ECU 30 shown in FIG. 1 is mounted on a vehicle and commands the airbag driving device 40 to operate the airbag. ECU is an abbreviation for Electronic Control Unit. The ECU 30 is mainly configured by a known microcomputer including a CPU 32, a semiconductor memory 34 such as a RAM, a ROM, and a flash memory, and a communication circuit 36. Hereinafter, the semiconductor memory is also simply referred to as a memory. The number of microcomputers constituting the ECU 30 may be one or more.

ECU30の各種機能は、CPU32が非遷移的実体的記録媒体に格納されたプログラムを実行することにより実現される。この例では、メモリ34が、プログラムを格納した非遷移的実体的記録媒体に該当する。また、このプログラムが実行されることで、プログラムに対応する方法が実行される。   Various functions of the ECU 30 are realized by the CPU 32 executing a program stored in a non-transitional physical recording medium. In this example, the memory 34 corresponds to a non-transitional tangible recording medium that stores a program. Also, by executing this program, a method corresponding to the program is executed.

ECU30の各種機能を実現する手法は、ソフトウェアに限るものではなく、その一部または全部を一つあるいは複数のハードウェアを用いて実現してもよい。例えば、ECU30の各種機能がハードウェアである電子回路によって実現される場合、その電子回路は、多数の論理回路を含むデジタル回路、またはアナログ回路、あるいはこれらの組合せによって実現してもよい。   A method for realizing various functions of the ECU 30 is not limited to software, and a part or all of the functions may be realized by using one or a plurality of hardware. For example, when various functions of the ECU 30 are realized by an electronic circuit that is hardware, the electronic circuit may be realized by a digital circuit including a large number of logic circuits, an analog circuit, or a combination thereof.

ECU30は、着座センサ12、14、加速度センサ22、24とSENT方式により通信を行う。SENTは、Single Edge Nibble Transmissionの略である。SENT方式は、可変長の通信であるから、1回の通信時間は通信データのデータ長によっても変化する。着座センサ12、14と加速度センサ22、24とは、一方が故障しても他方が正常なセンサとして機能するように2重系を構成している。   The ECU 30 communicates with the seating sensors 12 and 14 and the acceleration sensors 22 and 24 by the SENT method. SENT is an abbreviation for Single Edge Nibble Transmission. Since the SENT system is a variable length communication, the time for one communication varies depending on the data length of communication data. The seating sensors 12 and 14 and the acceleration sensors 22 and 24 constitute a double system so that even if one of them fails, the other functions as a normal sensor.

着座センサ12、14は、着座センサ12、14が設置されている座席に乗員が着座しているか否かを検出するセンサであり、例えば圧力センサが使用される。尚、運転席にはドライバが着座していることが前提であるから、図1の着座センサ12、14は、例えば助手席に設置されている。   The seating sensors 12 and 14 are sensors that detect whether or not an occupant is seated in a seat where the seating sensors 12 and 14 are installed. For example, pressure sensors are used. Since it is assumed that a driver is seated in the driver's seat, the seating sensors 12 and 14 in FIG. 1 are installed, for example, in the passenger seat.

加速度センサ22、24は、車両に加わる加速度を検出するセンサである。ECU30は、加速度センサ22、24から受信する加速度から、車両に加わる衝撃を検出する。
ECU30は、車両に所定値以上の衝撃が加わったことを加速度センサ22、24のセンサ値が示すと、着座センサ12、14のセンサ値に基づき、エアバッグ駆動装置40に指令して乗員が着座している座席のエアバッグを作動させる。
The acceleration sensors 22 and 24 are sensors that detect acceleration applied to the vehicle. The ECU 30 detects an impact applied to the vehicle from the acceleration received from the acceleration sensors 22 and 24.
When the sensor values of the acceleration sensors 22 and 24 indicate that an impact of a predetermined value or more is applied to the vehicle, the ECU 30 instructs the airbag driving device 40 based on the sensor values of the seating sensors 12 and 14 to seat the passenger. Activating the airbag in the seat.

着座センサ12、14は第1のセンサ群10を構成し、加速度センサ22、24は第2のセンサ群20を構成している。着座センサ12、14と加速度センサ22、24とは、ECU30からセンサ値の送信要求であるトリガ信号を受信すると、検出対象をセンシングし、SENT方式によりセンシング結果であるセンサ値をECU30に送信する。   The seating sensors 12 and 14 constitute a first sensor group 10, and the acceleration sensors 22 and 24 constitute a second sensor group 20. When the seating sensors 12 and 14 and the acceleration sensors 22 and 24 receive a trigger signal that is a request for transmitting a sensor value from the ECU 30, the seating sensors 12 and 14 sense the detection target and transmit the sensor value that is the sensing result to the ECU 30 by the SENT method.

図2において、着座センサ12、14と加速度センサ22、24とがセンシングを開始してからセンサ値のすべてのデータを取得してセンシングを終了するまでに要する時間がセンシング時間である。また、着座センサ12、14と加速度センサ22、24とが、ECU30にセンサ値の送信を開始してからECU30がセンサ値の受信を終了するまでに要する時間が通信時間である。   In FIG. 2, the time required from when the seating sensors 12 and 14 and the acceleration sensors 22 and 24 start sensing until all the sensor value data is acquired and the sensing ends is the sensing time. The time required for the seating sensors 12 and 14 and the acceleration sensors 22 and 24 to start the sensor value transmission to the ECU 30 until the ECU 30 finishes receiving the sensor value is the communication time.

図2では、センシング時間と通信時間とに、センシング時間と通信時間とのそれぞれのばらつきを考慮したマージン時間を加えた時間を応答時間としている。第1のセンサ群10である着座センサ12、14の応答時間は、第2のセンサ群20である加速度センサ22、24の応答時間よりも長い。   In FIG. 2, a response time is defined by adding a margin time in consideration of variations in the sensing time and the communication time to the sensing time and the communication time. The response time of the seating sensors 12 and 14 that are the first sensor group 10 is longer than the response time of the acceleration sensors 22 and 24 that are the second sensor group 20.

ECU30は、第1のセンサ群10と第2のセンサ群20とからセンサ値の受信を完了するタイミングが一致するように、第1のセンサ群10と第2のセンサ群20とのそれぞれにトリガ信号を送信するタイミングを予めメモリ34に記憶している。以下、トリガ信号を送信するタイミングをトリガタイミングとも言う。   The ECU 30 triggers each of the first sensor group 10 and the second sensor group 20 so that the timings of completing reception of sensor values from the first sensor group 10 and the second sensor group 20 coincide. Signal transmission timing is stored in the memory 34 in advance. Hereinafter, the timing for transmitting the trigger signal is also referred to as trigger timing.

例えば、ECU30は、制御周期の開始からトリガタイミングまでトリガ信号の送信を待機するトリガ待機時間をトリガタイミングを決定するパラメータとしてメモリ34に記憶している。第1実施形態では、トリガ待機時間は、ECU30の制御周期が一定で変化しないものとし、制御周期と、第1のセンサ群10と第2のセンサ群20とのそれぞれの応答時間との差に基づいて設定されている。   For example, the ECU 30 stores, in the memory 34, a trigger standby time for waiting for transmission of a trigger signal from the start of the control cycle to the trigger timing as a parameter for determining the trigger timing. In the first embodiment, the trigger standby time is assumed to be a constant control cycle of the ECU 30 and does not change, and is a difference between the control cycle and the response times of the first sensor group 10 and the second sensor group 20. Is set based on.

第1のセンサ群10の応答時間は第2のセンサ群20の応答時間よりも長いので、第1のセンサ群10のトリガ待機時間は第2のセンサ群20のトリガ待機時間よりも短い。したがって、第1のセンサ群10のトリガタイミングは、第2のセンサ群20のトリガタイミングよりも早くなる。   Since the response time of the first sensor group 10 is longer than the response time of the second sensor group 20, the trigger standby time of the first sensor group 10 is shorter than the trigger standby time of the second sensor group 20. Therefore, the trigger timing of the first sensor group 10 is earlier than the trigger timing of the second sensor group 20.

第1のセンサ群10と第2のセンサ群20との応答時間は固定であり、ECU30の制御周期は一定なので、第1のセンサ群10と第2のセンサ群20とのトリガタイミングは固定である。   Since the response time between the first sensor group 10 and the second sensor group 20 is fixed and the control cycle of the ECU 30 is constant, the trigger timing between the first sensor group 10 and the second sensor group 20 is fixed. is there.

ECU30は、今回の制御周期において第1のセンサ群10と第2のセンサ群20とから受信するセンサ値に基づいて、次回の制御周期において所定の制御処理を実行する。
[1−2.処理]
ECU30が実行する通信処理について、図3のフローチャートに基づいて説明する。図3の通信処理は常時実行される。
The ECU 30 executes predetermined control processing in the next control cycle based on sensor values received from the first sensor group 10 and the second sensor group 20 in the current control cycle.
[1-2. processing]
The communication process executed by the ECU 30 will be described based on the flowchart of FIG. The communication process of FIG. 3 is always executed.

S400においてCPU32は、第1のセンサ群10と第2のセンサ群20とのそれぞれのトリガ待機時間をメモリ34から取得する。そして、S402においてCPU32は、制御周期の開始からの経過時間をタイマから取得する。タイマは、制御周期の開始タイミング毎にクリアされ、制御周期の開始からの経過時間を計測する。   In S <b> 400, the CPU 32 acquires the trigger standby times of the first sensor group 10 and the second sensor group 20 from the memory 34. In S402, the CPU 32 acquires the elapsed time from the start of the control cycle from the timer. The timer is cleared at every control cycle start timing, and measures the elapsed time from the start of the control cycle.

S404の判定がNoであり、経過時間が第1のセンサ群10のトリガ待機時間に達していない場合、CPU32は、今回のタイミングは第1のセンサ群10のトリガタイミングではないと判断する。この場合、CPU32は処理をS408に移行する。   When the determination in S <b> 404 is No and the elapsed time has not reached the trigger standby time of the first sensor group 10, the CPU 32 determines that the current timing is not the trigger timing of the first sensor group 10. In this case, the CPU 32 moves the process to S408.

S404の判定がYesであり、経過時間が第1のセンサ群10のトリガ待機時間に達している場合、CPU32は、今回のタイミングは第1のセンサ群10のトリガタイミングであると判断する。この場合、S406においてCPU32は、通信回路36に指令してセンサ値の送信を要求するトリガ信号を第1のセンサ群10に送信させる。   If the determination in S404 is Yes and the elapsed time has reached the trigger standby time of the first sensor group 10, the CPU 32 determines that the current timing is the trigger timing of the first sensor group 10. In this case, in S <b> 406, the CPU 32 causes the first sensor group 10 to transmit a trigger signal that instructs the communication circuit 36 to request transmission of the sensor value.

S408の判定がNoであり、経過時間が第2のセンサ群20のトリガ待機時間に達していない場合、CPU32は、今回のタイミングは第2のセンサ群20のトリガタイミングではないと判断する。この場合、CPU32は本処理を終了する。   When the determination in S <b> 408 is No and the elapsed time has not reached the trigger standby time of the second sensor group 20, the CPU 32 determines that the current timing is not the trigger timing of the second sensor group 20. In this case, the CPU 32 ends this process.

S408の判定がYesであり、経過時間が第2のセンサ群20のトリガ待機時間に達している場合、CPU32は、今回のタイミングは第2のセンサ群20のトリガタイミングであると判断する。この場合、S410においてCPU32は、通信回路36に指令してセンサ値の送信を要求するトリガ信号を第2のセンサ群20に送信する。   If the determination in S <b> 408 is Yes and the elapsed time has reached the trigger standby time of the second sensor group 20, the CPU 32 determines that the current timing is the trigger timing of the second sensor group 20. In this case, in S <b> 410, the CPU 32 transmits a trigger signal that instructs the communication circuit 36 to request transmission of the sensor value to the second sensor group 20.

[1−3.変形例]
図4に示す第1実施形態の変形例では、運転席2と助手席4とに加え、後部の左右の座席6、8に設置されたエアバッグを作動させる例を示す。運転席2にはドライバが着座していることが前提であるから、着座センサは設置されていない。図4に示す変形例では、着座センサは2重系を構成しておらず、助手席4と後部の左右の座席6、8とに着座センサ12、14、16がそれぞれ1個設置されている。
[1-3. Modified example]
In the modification of the first embodiment shown in FIG. 4, an example is shown in which airbags installed in the left and right seats 6, 8 in addition to the driver seat 2 and the passenger seat 4 are operated. Since it is assumed that a driver is seated in the driver's seat 2, no seating sensor is installed. In the modification shown in FIG. 4, the seating sensor does not constitute a double system, and one seating sensor 12, 14, and 16 is installed in each of the passenger seat 4 and the left and right seats 6, 8. .

助手席4と後部の左右の座席6、8とのそれぞれに着座センサを2個ずつ設置して2重系を構成してもよい。3個の着座センサ12、14、16は第1のセンサ群を構成している。第2のセンサ群20である加速度センサ22、24は、図1と同様に2重系を構成している。   Two seating sensors may be installed in each of the passenger seat 4 and the rear left and right seats 6 and 8 to form a duplex system. The three seating sensors 12, 14, 16 constitute a first sensor group. The acceleration sensors 22 and 24, which are the second sensor group 20, constitute a double system as in FIG.

第1のセンサ群を構成する着座センサ12、14、16が3個になっている以外、ECU30が実行する通信処理は図3のフローチャートと同じである。
[1−4.効果]
以上説明した上記第1実施形態では、以下の効果を得ることができる。
The communication process executed by the ECU 30 is the same as that in the flowchart of FIG. 3 except that the number of seating sensors 12, 14, and 16 constituting the first sensor group is three.
[1-4. effect]
In the first embodiment described above, the following effects can be obtained.

応答時間が第2のセンサ群よりも長い第1のセンサ群に対して、センサ値の送信を要求するトリガタイミングを第2のセンサ群よりも早くしている。これにより、第1のセンサ群と第2のセンサ群とから送信されるセンサ値の受信をECU30が完了するタイミングのずれを低減できる。その結果、ECU30は、複数のセンサ群から受信した最新のセンサ値に基づいて、所定の制御としてエアバックの駆動制御を実行できる。   For the first sensor group whose response time is longer than that of the second sensor group, the trigger timing for requesting transmission of sensor values is made earlier than that of the second sensor group. Thereby, the shift | offset | difference of the timing which ECU30 completes reception of the sensor value transmitted from the 1st sensor group and the 2nd sensor group can be reduced. As a result, the ECU 30 can execute air bag drive control as predetermined control based on the latest sensor values received from the plurality of sensor groups.

以上説明した第1実施形態では、ECU30が電子制御装置に対応し、CPU32が制御部に対応し、通信回路36が通信部に対応する。
また、S406、S410が通信部としての処理に対応する。
In the first embodiment described above, the ECU 30 corresponds to the electronic control device, the CPU 32 corresponds to the control unit, and the communication circuit 36 corresponds to the communication unit.
S406 and S410 correspond to processing as a communication unit.

[2.第2実施形態]
[2−1.第1実施形態との相違点]
図5に示す第2実施形態では、ECU60の制御対象がエンジン50に搭載されたインジェクタ52である点、ならびにECU60の制御周期がエンジン回転数の変化に応じて変化する点が第1実施形態と相違する。
[2. Second Embodiment]
[2-1. Difference from the first embodiment]
The second embodiment shown in FIG. 5 is different from the first embodiment in that the control object of the ECU 60 is an injector 52 mounted on the engine 50 and that the control cycle of the ECU 60 changes according to the change in the engine speed. Is different.

ECU60は、CPU62と、RAM、ROM、フラッシュメモリ等の半導体メモリ64と、通信回路66とを備える周知のマイクロコンピュータを中心に構成される。ECU60を構成するマイクロコンピュータの数は一つでも複数でもよい。ECU60の構成は、第1実施形態のECU30と実質的に同じであるから、これ以上の説明は省略する。   The ECU 60 is configured around a known microcomputer including a CPU 62, a semiconductor memory 64 such as a RAM, a ROM, and a flash memory, and a communication circuit 66. The number of microcomputers constituting the ECU 60 may be one or more. Since the configuration of the ECU 60 is substantially the same as that of the ECU 30 of the first embodiment, further description is omitted.

ECU60は、エンジン50に搭載されたインジェクタ52の噴射量と噴射タイミングとを制御する。ECU60は、第1のセンサ群70である大気温センサ72と第2のセンサ群80である空燃比センサ82と、SENT方式により通信を行う。   The ECU 60 controls the injection amount and injection timing of the injector 52 mounted on the engine 50. The ECU 60 communicates with the atmospheric temperature sensor 72 that is the first sensor group 70 and the air-fuel ratio sensor 82 that is the second sensor group 80 by the SENT method.

大気温センサ72の応答時間は空燃比センサ82の応答時間よりも長い。したがって、ECU60が大気温センサ72と空燃比センサ82とからセンサ値を受信して受信を完了するタイミングを一致させるために、大気温センサ72に対するトリガタイミングは空燃比センサ82に対するトリガタイミングよりも早くなるように設定される。   The response time of the atmospheric temperature sensor 72 is longer than the response time of the air-fuel ratio sensor 82. Therefore, the trigger timing for the atmospheric temperature sensor 72 is earlier than the trigger timing for the air-fuel ratio sensor 82 in order for the ECU 60 to receive the sensor values from the atmospheric temperature sensor 72 and the air-fuel ratio sensor 82 to coincide with the completion timing. Is set to be

ECU60は、回転数センサ90から、エンジン50が所定角度回転する毎にパルス信号を受信する。ECU60は、単位時間あたりに回転数センサ90から受信するパルス信号の数に基づき、エンジン回転数を算出する。ECU60は、大気温センサ72と空燃比センサ82とから受信するセンサ値である大気温度と空燃比とに基づいて、エンジン50の回転角度に同期して、インジェクタ52の噴射量と噴射タイミングとを制御する。   The ECU 60 receives a pulse signal from the rotation speed sensor 90 every time the engine 50 rotates by a predetermined angle. The ECU 60 calculates the engine rotational speed based on the number of pulse signals received from the rotational speed sensor 90 per unit time. The ECU 60 determines the injection amount and the injection timing of the injector 52 in synchronization with the rotation angle of the engine 50 based on the atmospheric temperature and the air-fuel ratio which are sensor values received from the atmospheric temperature sensor 72 and the air-fuel ratio sensor 82. Control.

ECU60がエンジン50の回転角度に同期してインジェクタ52の噴射量と噴射タイミングとを制御する制御周期は、エンジン50の回転数が上昇すると短くなり、エンジン50の回転数が低下すると長くなる。   The control cycle in which the ECU 60 controls the injection amount and the injection timing of the injector 52 in synchronization with the rotation angle of the engine 50 becomes shorter as the rotation speed of the engine 50 increases, and becomes longer as the rotation speed of the engine 50 decreases.

一方、大気温センサ72と空燃比センサ82とのそれぞれの応答時間はエンジン回転数に関わらず一定である。したがって、ECU60は、大気温センサ72と空燃比センサ82とからセンサ値を受信して受信を完了するタイミングを一致させるために、トリガ待機時間で表される大気温センサ72と空燃比センサ82とに対するトリガタイミングをエンジン回転数に応じて設定する。   On the other hand, the response times of the atmospheric temperature sensor 72 and the air-fuel ratio sensor 82 are constant regardless of the engine speed. Therefore, the ECU 60 receives the sensor values from the atmospheric temperature sensor 72 and the air-fuel ratio sensor 82, and matches the timing of completing the reception with the atmospheric temperature sensor 72 and the air-fuel ratio sensor 82 represented by the trigger standby time. Is set according to the engine speed.

例えば、図6に示すように、エンジン回転数が上昇すると、ECU60は、大気温センサ72と空燃比センサ82とに対するトリガタイミングを早める。これに対し、エンジン回転数が低下すると、ECU60は、大気温センサ72と空燃比センサ82とに対するトリガタイミングを遅らせる。   For example, as shown in FIG. 6, when the engine speed increases, the ECU 60 advances the trigger timing for the atmospheric temperature sensor 72 and the air-fuel ratio sensor 82. In contrast, when the engine speed decreases, the ECU 60 delays the trigger timing for the atmospheric temperature sensor 72 and the air-fuel ratio sensor 82.

[2−2.効果]
以上説明した第2実施形態では、第1実施形態で述べた効果に加え、以下の効果を得ることができる。
[2-2. effect]
In the second embodiment described above, the following effects can be obtained in addition to the effects described in the first embodiment.

ECU60の制御周期の変化に応じて、センサ群毎にトリガタイミングを設定するので、制御周期が変化しても、複数のセンサ群からセンサ値を受信して受信を完了するタイミングのずれを低減できる。   Since the trigger timing is set for each sensor group in accordance with the change in the control cycle of the ECU 60, even if the control cycle changes, it is possible to reduce a deviation in timing for receiving sensor values from a plurality of sensor groups and completing reception. .

尚、第2実施形態では、ECU60が電子制御装置に対応し、CPU62が制御部に対応し、通信回路66が通信部に対応する。
[3.第3実施形態]
[3−1.第1実施形態との相違点]
図7に示す第3実施形態では、複数のセンサ群のそれぞれに対応する複数のタイマ102をECU100が備え、タイマ102が通信回路36からセンサ群のそれぞれに送信するトリガ信号を生成する点が第1実施形態と異なる。第1実施形態と同じ符号は同一の構成を示すものであって、先行する説明を参照する。
In the second embodiment, the ECU 60 corresponds to the electronic control device, the CPU 62 corresponds to the control unit, and the communication circuit 66 corresponds to the communication unit.
[3. Third Embodiment]
[3-1. Difference from the first embodiment]
In the third embodiment shown in FIG. 7, the ECU 100 includes a plurality of timers 102 corresponding to the plurality of sensor groups, and the timer 102 generates a trigger signal to be transmitted from the communication circuit 36 to each of the sensor groups. Different from one embodiment. The same reference numerals as those in the first embodiment indicate the same configuration, and the preceding description is referred to.

センサ群のそれぞれに対応するタイマ102には、例えば、ECU100の制御周期の開始タイミング毎に、センサ群に対応するトリガ待機時間が設定される。各タイマ102は、トリガタイミングになると、通信回路36からセンサ群のそれぞれに送信するトリガ信号を生成する。   In the timer 102 corresponding to each sensor group, for example, a trigger standby time corresponding to the sensor group is set for each start timing of the control cycle of the ECU 100. Each timer 102 generates a trigger signal to be transmitted from the communication circuit 36 to each of the sensor groups at the trigger timing.

第1実施形態のようにECU100の制御周期が一定であれば、制御周期の開始タイミング毎にハードウェアでタイマ102にトリガ待機時間が設定される。これに対し、第2実施形態のようにECU100の制御周期が変化する場合、制御周期の開始タイミング毎に、変化する制御周期に応じたトリガ待機時間をCPU32がタイマ102に設定する。   If the control cycle of the ECU 100 is constant as in the first embodiment, a trigger standby time is set in the timer 102 by hardware at each start timing of the control cycle. On the other hand, when the control cycle of the ECU 100 changes as in the second embodiment, the CPU 32 sets the trigger standby time corresponding to the changing control cycle in the timer 102 at each start timing of the control cycle.

[3−2.効果]
タイマ102がセンサ群のそれぞれに送信するトリガ信号を生成するので、CPU32がセンサ群のそれぞれに送信するトリガ信号を生成する必要がない。これにより、CPU32の処理負荷を低減できる。
[3-2. effect]
Since the timer 102 generates a trigger signal to be transmitted to each sensor group, the CPU 32 does not need to generate a trigger signal to be transmitted to each sensor group. Thereby, the processing load of the CPU 32 can be reduced.

尚、第3実施形態では、ECU100が電子制御装置に対応し、タイマ102がタイマに対応する。
[4.他の実施形態]
(1)トリガタイミングの異なるセンサ群を構成するセンサの数は1個または2個に限るものではなく、3個以上であってもよい。
In the third embodiment, the ECU 100 corresponds to the electronic control device, and the timer 102 corresponds to the timer.
[4. Other Embodiments]
(1) The number of sensors constituting sensor groups with different trigger timings is not limited to one or two, but may be three or more.

(2)ECUからセンサにトリガ信号を送信し、ECUがセンサからセンサ値を受信できるのであれば、ECUとセンサとの通信はSENT方式に限らず、どのような通信方式でもよい。   (2) As long as a trigger signal is transmitted from the ECU to the sensor and the ECU can receive the sensor value from the sensor, the communication between the ECU and the sensor is not limited to the SENT method, and any communication method may be used.

(3)上記実施形態では、電子制御装置として車両に搭載されたECU30、60、100について説明した。これ以外にも、トリガタイミングの異なる複数のセンサ群に対し、応答時間が短いセンサ群よりも応答時間の長いセンサ群にトリガ信号を早いタイミングで電子制御装置が送信するのであれば、どのような技術分野に電子制御装置を適用してもよい。   (3) In the above embodiment, the ECUs 30, 60, 100 mounted on the vehicle as the electronic control device have been described. In addition to this, as long as the electronic control device transmits a trigger signal to a sensor group having a longer response time than a sensor group having a shorter response time for a plurality of sensor groups having different trigger timings, any An electronic control device may be applied to the technical field.

(4)上記実施形態における一つの構成要素が有する複数の機能を複数の構成要素によって実現したり、一つの構成要素が有する一つの機能を複数の構成要素によって実現したりしてもよい。また、複数の構成要素が有する複数の機能を一つの構成要素によって実現したり、複数の構成要素によって実現される一つの機能を一つの構成要素によって実現したりしてもよい。また、上記実施形態の構成の一部を省略してもよい。また、上記実施形態の構成の少なくとも一部を、他の上記実施形態の構成に対して付加又は置換してもよい。尚、特許請求の範囲に記載した文言のみによって特定される技術思想に含まれるあらゆる態様が本発明の実施形態である。   (4) A plurality of functions of one constituent element in the above embodiment may be realized by a plurality of constituent elements, or a single function of one constituent element may be realized by a plurality of constituent elements. In addition, a plurality of functions possessed by a plurality of constituent elements may be realized by one constituent element, or a single function realized by a plurality of constituent elements may be realized by one constituent element. Moreover, you may abbreviate | omit a part of structure of the said embodiment. In addition, at least a part of the configuration of the above embodiment may be added to or replaced with the configuration of the other embodiment. In addition, all the aspects included in the technical idea specified only by the wording described in the claims are embodiments of the present invention.

(5)上述したECU30、60、100の他、当該ECUを構成要素とする電子制御システム、当該ECUとしてコンピュータを機能させるための電子制御プログラム、この電子制御プログラムを記録した記録媒体、電子制御方法など、種々の形態で本発明を実現することもできる。   (5) In addition to the ECUs 30, 60, 100 described above, an electronic control system having the ECU as a constituent element, an electronic control program for causing a computer to function as the ECU, a recording medium storing the electronic control program, and an electronic control method The present invention can also be realized in various forms.

30、60、100:ECU(電子制御装置)、32、62:CPU(制御部)、36、66:通信回路(通信部)、102:タイマ 30, 60, 100: ECU (electronic control unit), 32, 62: CPU (control unit), 36, 66: Communication circuit (communication unit), 102: Timer

Claims (4)

複数のセンサ(12〜16、22、24、72、82)にセンサ値の送信を要求するトリガ信号を送信し、前記複数のセンサから前記センサ値を受信するように構成された通信部(36、66、S406、S410)と、
前記通信部が前記複数のセンサから受信する前記センサ値に基づいて所定の制御を行うように構成された制御部(32、62、S400〜S404、S408)と、
を備え、
前記通信部は、前記複数のセンサのそれぞれに対して前記トリガ信号を送信してから、前記センサから前記センサ値を受信するまでの応答時間の長さに応じて前記複数のセンサが分類された複数のセンサ群(10、20、70、80)について、前記応答時間が短い前記センサ群よりも前記応答時間の長い前記センサ群に前記トリガ信号を早いタイミングで送信する、
電子制御装置(30、60、100)。
A communication unit (36) configured to transmit a trigger signal requesting transmission of sensor values to a plurality of sensors (12 to 16, 22, 24, 72, 82) and to receive the sensor values from the plurality of sensors. 66, S406, S410),
A control unit (32, 62, S400 to S404, S408) configured to perform predetermined control based on the sensor value received by the communication unit from the plurality of sensors;
With
The communication unit is configured to classify the plurality of sensors according to a response time length from when the trigger signal is transmitted to each of the plurality of sensors until the sensor value is received from the sensor. For a plurality of sensor groups (10, 20, 70, 80), the trigger signal is transmitted to the sensor group having a longer response time than the sensor group having a shorter response time at an earlier timing.
Electronic control device (30, 60, 100).
請求項1に記載の電子制御装置において、
前記制御部(32)による制御周期が一定の場合、前記通信部(36)は、前記センサ群のそれぞれに設定された固定のタイミングで前記トリガ信号を送信する、
電子制御装置。
The electronic control device according to claim 1.
When the control period by the control unit (32) is constant, the communication unit (36) transmits the trigger signal at a fixed timing set for each of the sensor groups.
Electronic control device.
請求項1に記載の電子制御装置において、
前記制御部(62)による制御周期が変化する場合、前記制御部は、前記制御周期の長さと前記センサ群の前記応答時間の長さに応じて、前記センサ群のそれぞれに前記通信部が前記トリガ信号を送信するタイミングを設定する、
電子制御装置。
The electronic control device according to claim 1.
When the control cycle by the control unit (62) changes, the control unit is configured so that the communication unit is connected to each of the sensor groups according to the length of the control cycle and the length of the response time of the sensor group. Set the trigger signal transmission timing,
Electronic control device.
請求項1から3のいずれか一項に記載の電子制御装置において、
前記トリガ信号を送信するタイミングで前記トリガ信号を生成するように構成されたタイマ(102)をさらに備える、
電子制御装置(100)。
In the electronic control unit according to any one of claims 1 to 3,
Further comprising a timer (102) configured to generate the trigger signal at a timing to transmit the trigger signal;
Electronic control device (100).
JP2016147603A 2016-07-27 2016-07-27 Electronic control device Pending JP2018018269A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016147603A JP2018018269A (en) 2016-07-27 2016-07-27 Electronic control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016147603A JP2018018269A (en) 2016-07-27 2016-07-27 Electronic control device

Publications (1)

Publication Number Publication Date
JP2018018269A true JP2018018269A (en) 2018-02-01

Family

ID=61081827

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016147603A Pending JP2018018269A (en) 2016-07-27 2016-07-27 Electronic control device

Country Status (1)

Country Link
JP (1) JP2018018269A (en)

Similar Documents

Publication Publication Date Title
US8078762B2 (en) Method for transmitting measured data, and sensor device
JP6282216B2 (en) Communication system and communication apparatus
JP2019128639A (en) Electronic control device
US8779960B2 (en) Method for operating an electromechanical actuator
JP5912182B2 (en) Measurement value transmitter
JP2015158138A (en) Vehicle output controller
JP2018018269A (en) Electronic control device
JP2006180205A (en) Vehicle-mounted transmitter and program
JP2018073207A (en) Detected data collection device
JP6747346B2 (en) Engine control device and electronic control device
JP2005084896A (en) On-vehicle electronic control device
JP6690523B2 (en) Detector
US20090055051A1 (en) Method of determining whether to deploy airbags
JP5268791B2 (en) Control system
JP6330601B2 (en) Driving load estimation device, driving load estimation method
JP2007243747A (en) Transmission timing setting method of on-vehicle lan and electronic control unit
JP6597325B2 (en) Electronic control unit
JP6379925B2 (en) Communication waveform generator
JP2009292168A (en) Electronic control device, electronic control system, and control method regarding communication
JP4948583B2 (en) Control system
JP2019095385A (en) Sensor system
JP5149044B2 (en) Electronic control device and vehicle system
JP6542720B2 (en) Full duplex communication device
JPS6388930A (en) Communication control mechanism
JP6812765B2 (en) Electronic control device