JP5641030B2 - カウンター装置 - Google Patents
カウンター装置 Download PDFInfo
- Publication number
- JP5641030B2 JP5641030B2 JP2012241929A JP2012241929A JP5641030B2 JP 5641030 B2 JP5641030 B2 JP 5641030B2 JP 2012241929 A JP2012241929 A JP 2012241929A JP 2012241929 A JP2012241929 A JP 2012241929A JP 5641030 B2 JP5641030 B2 JP 5641030B2
- Authority
- JP
- Japan
- Prior art keywords
- microcomputer
- count number
- counter
- input
- communication
- 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.)
- Active
Links
- 238000004891 communication Methods 0.000 claims description 91
- 230000005856 abnormality Effects 0.000 claims description 52
- 238000000034 method Methods 0.000 claims description 29
- 230000002159 abnormal effect Effects 0.000 claims description 23
- 238000012545 processing Methods 0.000 claims description 18
- 238000001514 detection method Methods 0.000 claims description 11
- 230000001360 synchronised effect Effects 0.000 description 20
- 230000000630 rising effect Effects 0.000 description 10
- 230000003111 delayed effect Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000002347 injection Methods 0.000 description 3
- 239000007924 injection Substances 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000012937 correction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C5/00—Registering or indicating the working of vehicles
- G07C5/08—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
- G07C5/10—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time using counting means or digital clocks
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F02—COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
- F02D—CONTROLLING COMBUSTION ENGINES
- F02D41/00—Electrical control of supply of combustible mixture or its constituents
- F02D41/009—Electrical control of supply of combustible mixture or its constituents using means for generating position or synchronisation signals
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT 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/00—Details 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
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F02—COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
- F02D—CONTROLLING COMBUSTION ENGINES
- F02D41/00—Electrical control of supply of combustible mixture or its constituents
- F02D41/24—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
- F02D41/2403—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using essentially up/down counters
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F02—COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
- F02D—CONTROLLING COMBUSTION ENGINES
- F02D41/00—Electrical control of supply of combustible mixture or its constituents
- F02D41/24—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
- F02D41/26—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using computer, e.g. microprocessor
- F02D41/266—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using computer, e.g. microprocessor the computer being backed-up or assisted by another circuit, e.g. analogue
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F02—COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
- F02D—CONTROLLING COMBUSTION ENGINES
- F02D45/00—Electrical control not provided for in groups F02D41/00 - F02D43/00
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01P—MEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
- G01P3/00—Measuring linear or angular speed; Measuring differences of linear or angular speeds
- G01P3/42—Devices characterised by the use of electric or magnetic means
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K21/00—Details of pulse counters or frequency dividers
- H03K21/38—Starting, stopping or resetting the counter
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F02—COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
- F02D—CONTROLLING COMBUSTION ENGINES
- F02D2250/00—Engine control related to specific problems or objectives
- F02D2250/12—Timing of calculation, i.e. specific timing aspects when calculation or updating of engine parameter is performed
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/875—Monitoring of systems including the internet
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Automation & Control Theory (AREA)
- Human Computer Interaction (AREA)
- Transportation (AREA)
- Combined Controls Of Internal Combustion Engines (AREA)
Description
(第1実施形態)
図1〜図7に基づいて、本実施形態に係るカウンター装置を説明する。図1に示すように、カウンター装置100は、要部として、第1マイコン10と、第2マイコン20と、を有する。マイコン10,20とは互いに電気的に接続されており、クランクが所定角度回転する毎に信号レベルがHiレベルとLoレベルに交互に切り替わるクランク信号が、マイコン10,20それぞれに入力される。
20・・・第2マイコン
100・・・カウンター装置
Claims (8)
- クランクが所定角度回転する毎に信号レベルがHiレベルとLoレベルに交互に切り替わるクランク信号に含まれるパルスの数を検出する第1マイコン(10)と第2マイコン(20)を有するカウンター装置であって、
前記クランク信号は、前記第1マイコンと前記第2マイコンそれぞれに入力され、前記第1マイコンと前記第2マイコンとは電気的に接続された構成となっており、
前記第1マイコンは、
検出タイミングにおける前記クランク信号のパルスの数である第1カウント数(N1)を検出し、
前記第1カウント数を前記第2マイコンに送信し、
前記第2マイコンは、
前記検出タイミングから、前記第1カウント数が前記第2マイコンに入力されるまでにかかることが期待される処理時間以上経過した判定タイミングにおける、前記クランク信号のパルスの数である第2カウント数(N2)を検出し、
前記第1カウント数に、前記検出タイミングから前記判定タイミングまでの許容遅延時間(T2)を、前記クランク信号のパルス周期(T1)で割った値を超えない最大の整数を加算した判定値を算出し、
前記判定値と前記第2カウント数とを比較することで、前記第1マイコンと前記第2マイコンそれぞれに入力される前記クランク信号が一致しているか否かを判定することを特徴とするカウンター装置。 - 前記第2マイコンは、
前記第1マイコンから前記第1カウント数が入力されるまでに実際にかかった入力時間を算出し、
前記入力時間が、前記許容遅延時間を越えない場合、前記判定値と前記第2カウント数とを比較することで、前記第1マイコンと前記第2マイコンそれぞれに入力される前記クランク信号が一致しているか否かを判定し、
前記入力時間が、前記許容遅延時間を越える場合、前記第1マイコンと前記第2マイコンとで通信異常が生じているか否かを判定することを特徴とする請求項1に記載のカウンター装置。 - 前記第2マイコンは、
前記判定値と前記第2カウント数とが一致しない場合、前記第2カウント数に異常があると判定し、
前記第2カウント数に異常があると判定した場合、前記第2カウント数が前記判定値に等しいと補正することを特徴とする請求項2に記載のカウンター装置。 - 前記第2マイコンは、
前記第1マイコンと前記第2マイコンとで通信異常が生じていると判定した場合、エラーカウンターをインクリメントし、
前記エラーカウンターが所定値以上の場合、通信異常と判定することを特徴とする請求項2又は請求項3に記載のカウンター装置。 - 前記第2マイコンは、
前記エラーカウンターが所定値以上の場合、リセットカウンターをインクリメントし、
前記リセットカウンターが所定値以上の場合、前記第1マイコンにリセット要求することを特徴とする請求項4に記載のカウンター装置。 - 前記第2マイコンは、
前記第1マイコンと前記第2マイコンとで通信異常が生じていると判定した場合、前記第1マイコンと前記第2マイコンそれぞれに入力される前記クランク信号が一致しているか否かを判定することを保留する判定保留中フラグをセットし、
前記入力時間が、前記許容遅延時間を越えないことが連続して起きた場合、前記判定保留中フラグをリセットすることを特徴とする請求項4又は請求項5に記載のカウンター装置。 - 前記第2マイコンは、
前記第1マイコンと前記第2マイコンとで通信異常が生じていると判定した場合、通信異常であることを示す通信異常中フラグをセットし、
前記入力時間が、前記許容遅延時間を越えないことが連続して起きた場合、前記通信異常中フラグをリセットすることを特徴とする請求項4〜6のいずれか1項に記載のカウンター装置。 - 前記第2マイコンは、入力される複数の信号の処理に優先順位をつけており、
前記第1マイコンは、前記第2マイコンに信号を送信した際に、受信を受理されなかった場合、再送処理を行う機能を有しており、
前記判定タイミングは、前記優先順位と前記再送処理に基づいて設定されていることを特徴とする請求項1〜7のいずれか1項に記載のカウンター装置。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012241929A JP5641030B2 (ja) | 2012-11-01 | 2012-11-01 | カウンター装置 |
US14/067,385 US9153081B2 (en) | 2012-11-01 | 2013-10-30 | Counter apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012241929A JP5641030B2 (ja) | 2012-11-01 | 2012-11-01 | カウンター装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014092047A JP2014092047A (ja) | 2014-05-19 |
JP5641030B2 true JP5641030B2 (ja) | 2014-12-17 |
Family
ID=50547183
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012241929A Active JP5641030B2 (ja) | 2012-11-01 | 2012-11-01 | カウンター装置 |
Country Status (2)
Country | Link |
---|---|
US (1) | US9153081B2 (ja) |
JP (1) | JP5641030B2 (ja) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102013221767A1 (de) * | 2013-10-25 | 2015-04-30 | Robert Bosch Gmbh | Verfahren, Vorrichtung und System zum Betreiben einer rotierenden elektrischen Maschine |
DE102017200297A1 (de) * | 2016-12-21 | 2018-06-21 | Robert Bosch Gmbh | Verfahren zum Durchführen einer Adaption einer Brennkraftmaschine, Computerprogramm, maschinenlesbares Speichermedium und Steuergerät |
JP6747346B2 (ja) * | 2017-03-15 | 2020-08-26 | 株式会社デンソー | エンジン制御装置及び電子制御装置 |
CN113110124B (zh) * | 2021-03-11 | 2022-08-19 | 上海新时达电气股份有限公司 | 双mcu控制方法及控制系统 |
Family Cites Families (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0571410A (ja) * | 1991-09-09 | 1993-03-23 | Honda Motor Co Ltd | 車両用電子制御装置 |
JP3517951B2 (ja) | 1994-05-18 | 2004-04-12 | 株式会社デンソー | 車両用内燃機関の制御装置 |
JPH10213001A (ja) * | 1997-01-30 | 1998-08-11 | Fuji Heavy Ind Ltd | 入力信号系の故障診断装置およびフェイルセーフ制御装置 |
JPH11177590A (ja) * | 1997-12-12 | 1999-07-02 | Denso Corp | 多重通信システム |
JP3503593B2 (ja) * | 2000-01-20 | 2004-03-08 | 株式会社デンソー | エンジン制御装置 |
JP2001208564A (ja) * | 2000-01-28 | 2001-08-03 | Denso Corp | 車両状態検出装置及び車両制御装置並びに記録媒体 |
JP3508676B2 (ja) * | 2000-02-01 | 2004-03-22 | 株式会社デンソー | エンジン制御装置 |
JP2001323836A (ja) | 2000-05-17 | 2001-11-22 | Denso Corp | クランク同期タスクの異常検出方法 |
JP2003184637A (ja) | 2001-12-20 | 2003-07-03 | Fuji Heavy Ind Ltd | イオン電流を用いたエンジンの失火検出装置及び該装置に用いられるプログラムを記録した記録媒体 |
JP4151279B2 (ja) * | 2002-02-26 | 2008-09-17 | 株式会社デンソー | エンジン制御装置 |
JP2003293843A (ja) | 2002-04-05 | 2003-10-15 | Denso Corp | エンジン制御装置 |
JP4244774B2 (ja) | 2002-11-29 | 2009-03-25 | 株式会社デンソー | 車両制御システム |
JP2006050878A (ja) * | 2004-08-09 | 2006-02-16 | Fuji Heavy Ind Ltd | ハイブリッド車の異常監視装置 |
JP2006121784A (ja) * | 2004-10-19 | 2006-05-11 | Fuji Heavy Ind Ltd | ハイブリッド車の制御装置 |
JP2006228091A (ja) * | 2005-02-21 | 2006-08-31 | Fujitsu Ten Ltd | 電子制御ユニットの検査方法 |
JP2006285977A (ja) * | 2005-03-09 | 2006-10-19 | Denso Corp | 情報処理システム |
DE102006010779A1 (de) | 2005-03-09 | 2006-10-19 | Denso Corp., Kariya | Informationsverarbeitungssystem, bei dem einen aktuellen Zeitpunkt beschreibende Information von einem Computer zu einem anderen Übetragen wird, um bei der Berechnung eines Verzögerungsbetrags der Datenübertragung zwischen den Computern verwendet zu werden |
JP5050653B2 (ja) * | 2007-05-28 | 2012-10-17 | 株式会社デンソー | 電子制御装置 |
US7949457B2 (en) * | 2007-08-29 | 2011-05-24 | Keihin Corporation | Control apparatus for internal combustion engine |
JP4636111B2 (ja) * | 2008-04-17 | 2011-02-23 | 株式会社デンソー | エンジン制御装置 |
JP2009292168A (ja) * | 2008-06-02 | 2009-12-17 | Fujitsu Ten Ltd | 電子制御装置、電子制御システムおよび通信に関する制御方法 |
JP4586903B2 (ja) * | 2008-07-22 | 2010-11-24 | 株式会社デンソー | エンジン制御装置 |
JP5290821B2 (ja) * | 2009-03-23 | 2013-09-18 | 日立オートモティブシステムズ株式会社 | 車両用電動アクチュエータ機構の制御装置 |
JP4844658B2 (ja) * | 2009-08-07 | 2011-12-28 | 株式会社デンソー | 診断装置および診断システム |
JP5316963B2 (ja) * | 2010-10-18 | 2013-10-16 | 株式会社デンソー | 車載電子制御装置 |
-
2012
- 2012-11-01 JP JP2012241929A patent/JP5641030B2/ja active Active
-
2013
- 2013-10-30 US US14/067,385 patent/US9153081B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
US20140119489A1 (en) | 2014-05-01 |
JP2014092047A (ja) | 2014-05-19 |
US9153081B2 (en) | 2015-10-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5641030B2 (ja) | カウンター装置 | |
US20140337549A1 (en) | Method and device for checking the correct functioning of a serial data transmission | |
US10491530B2 (en) | Communication system and communication device | |
US8559462B2 (en) | Synchronization signal detection apparatus | |
JP4873663B2 (ja) | 信号を復号するための方法と装置 | |
US20110026572A1 (en) | Baud rate error detection circuit and baud rate error detection method | |
US7551702B2 (en) | Method and circuit arrangement for synchronizing a function unit with a predetermined clock frequency | |
CN113328983B (zh) | 非法信号检测装置 | |
JP6532162B2 (ja) | 通信装置、および通信システム | |
JP7006295B2 (ja) | 攻撃検知装置および攻撃検知方法 | |
JP6023545B2 (ja) | シリアル通信装置 | |
JP6492885B2 (ja) | 診断装置 | |
JP6379925B2 (ja) | 通信波形生成装置 | |
KR101988723B1 (ko) | Mcu 동작 감시 시스템 및 제어방법 | |
WO2019220746A1 (ja) | 異常検知装置および異常検知方法 | |
KR101018465B1 (ko) | 안전등급 plc의 타임 틱 동기화 장치 | |
JP2018151921A (ja) | 電子制御装置 | |
JP5803853B2 (ja) | 電子制御装置 | |
JP7243695B2 (ja) | 情報処理装置、情報処理システム、及び情報処理方法 | |
JP6237387B2 (ja) | 電子制御システム及び電子装置 | |
JP5940945B2 (ja) | 自動車用制御装置 | |
EP4050492A1 (en) | Timing detection and correction method for a slave device in an io-link communication and slave device of an io-link communication | |
JP7143711B2 (ja) | 車速センサ故障検出装置 | |
JP2009292168A (ja) | 電子制御装置、電子制御システムおよび通信に関する制御方法 | |
JP2005267580A (ja) | 同期シリアル通信の異常チェック方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140307 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140918 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20140930 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20141013 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5641030 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |