JP2020036095A - Pulse signal abnormality detection device - Google Patents

Pulse signal abnormality detection device Download PDF

Info

Publication number
JP2020036095A
JP2020036095A JP2018158574A JP2018158574A JP2020036095A JP 2020036095 A JP2020036095 A JP 2020036095A JP 2018158574 A JP2018158574 A JP 2018158574A JP 2018158574 A JP2018158574 A JP 2018158574A JP 2020036095 A JP2020036095 A JP 2020036095A
Authority
JP
Japan
Prior art keywords
pulse signal
abnormality
level
monitor
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2018158574A
Other languages
Japanese (ja)
Other versions
JP7095491B2 (en
Inventor
卓俊 杉村
Takatoshi Sugimura
卓俊 杉村
真広 川端
Masahiro Kawabata
真広 川端
小林 充
Mitsuru Kobayashi
充 小林
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 JP2018158574A priority Critical patent/JP7095491B2/en
Priority to DE102019209359.0A priority patent/DE102019209359B4/en
Publication of JP2020036095A publication Critical patent/JP2020036095A/en
Application granted granted Critical
Publication of JP7095491B2 publication Critical patent/JP7095491B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/22Safety or indicating devices for abnormal conditions
    • F02D41/222Safety or indicating devices for abnormal conditions relating to the failure of sensors or parameter detection devices
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/0097Electrical control of supply of combustible mixture or its constituents using means for generating speed signals
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P21/00Testing or calibrating of apparatus or devices covered by the preceding groups
    • G01P21/02Testing or calibrating of apparatus or devices covered by the preceding groups of speedometers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P3/00Measuring linear or angular speed; Measuring differences of linear or angular speeds
    • G01P3/42Devices characterised by the use of electric or magnetic means
    • G01P3/44Devices characterised by the use of electric or magnetic means for measuring angular speed
    • G01P3/48Devices characterised by the use of electric or magnetic means for measuring angular speed by measuring frequency of generated current or voltage
    • G01P3/481Devices characterised by the use of electric or magnetic means for measuring angular speed by measuring frequency of generated current or voltage of pulse signals
    • G01P3/489Digital circuits therefor
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/19Monitoring patterns of pulse trains
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D2200/00Input parameters for engine control
    • F02D2200/02Input parameters for engine control the parameters being related to the engine
    • F02D2200/10Parameters related to the engine output, e.g. engine torque or engine speed
    • F02D2200/101Engine speed

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Nonlinear Science (AREA)
  • Manipulation Of Pulses (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

To provide a pulse signal abnormality detection device capable of detecting an abnormality of a pulse signal whose frequency changes.SOLUTION: An abnormality detection unit 14 performs in parallel: a first abnormality determination method for performing an abnormality determination on the basis of whether a pulse edge count value for counting the number of edges of a pulse signal and a monitor edge count value for counting the number of edges of a monitor signal for monitoring the pulse signal matches; and a second abnormality determination method for performing abnormality determination on the basis of whether a level of the pulse signal and a level of the monitor signal correspond to each other. Therefore, it is possible to detect abnormality of the pulse signal regardless of the frequency of the pulse signal.SELECTED DRAWING: Figure 1

Description

本発明は、周波数が変化するパルス信号の異常を検出するパルス信号異常検出装置に関する。   The present invention relates to a pulse signal abnormality detection device that detects abnormality of a pulse signal whose frequency changes.

例えば、特許文献1には、マイコンに対して、外部から所定周期のパルス信号を入力し、マイコンにおいて、入力されたパルス信号の周期を計測させ、計測された周期が所定範囲外となったとき、マイコンのタイマ機能の異常と診断する車両用電子制御システムについて開示されている。   For example, in Patent Document 1, a pulse signal having a predetermined cycle is input from the outside to a microcomputer, and the microcomputer measures the cycle of the input pulse signal. When the measured cycle is out of a predetermined range. Discloses an electronic control system for a vehicle that diagnoses an abnormality in a timer function of a microcomputer.

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

ここで、車両の電子制御システムや、比較的規模の大きな電子制御システムには、複数のマイコンが設けられることがある。電子制御システムが複数のマイコンを含む場合、例えば車輪や車軸の回転、エンジンの回転、あるいは制御対象機器の回転などを検出する回転センサからのセンサ信号が、2以上のマイコンで利用可能にすることが求められることが考えられる。   Here, a plurality of microcomputers may be provided in a vehicle electronic control system or a relatively large-scale electronic control system. When the electronic control system includes a plurality of microcomputers, for example, a sensor signal from a rotation sensor that detects rotation of a wheel or an axle, rotation of an engine, or rotation of a device to be controlled must be available to two or more microcomputers. May be required.

それを実現するための構成の一例として、特定のマイコンが、回転センサから、検出対象の回転に応じて周波数が変化するパルス信号を入力するとともに、その入力したパルス信号に対応するパルス信号を他のマイコンに出力することが考えられる。しかし、このように、特定のマイコンがパルス信号を他のマイコンに中継するように構成する場合、特定のマイコンから他のマイコンに意図した通りのパルス信号が出力されないと、電子制御システムとして適切な制御を実行することができない。そのため、特定のマイコンが出力するパルス信号が意図通りの正常なパルス信号であるか、意図したものとは異なる異常なパルス信号であるかを精度よく検出することが重要となる。   As an example of a configuration for achieving this, a specific microcomputer inputs, from a rotation sensor, a pulse signal whose frequency changes in accordance with the rotation of the detection target, and outputs another pulse signal corresponding to the input pulse signal. Output to the microcomputer. However, when a specific microcomputer is configured to relay a pulse signal to another microcomputer in this way, if the intended microcomputer does not output the intended pulse signal to the other microcomputer, an appropriate electronic control system is required. Control cannot be performed. Therefore, it is important to accurately detect whether a pulse signal output from a specific microcomputer is a normal pulse signal as intended or an abnormal pulse signal different from the intended one.

また、マイコンが、例えば、制御対象機器を駆動するための駆動信号として、周波数が変化するパルス信号を出力する場合、マイコンから意図した通りのパルス信号が出力されないと、制御対象機器を狙い通りに制御することができない。従って、この場合も、マイコンは、意図通りの正常なパルス信号を出力しているか、それとも、意図したものとは異なる異常なパルス信号を出力しているかを精度よく検出することが重要となる。   Also, when the microcomputer outputs, for example, a pulse signal whose frequency changes as a drive signal for driving the controlled device, if the intended pulse signal is not output from the microcomputer, the controlled device is targeted. Can't control. Therefore, also in this case, it is important for the microcomputer to accurately detect whether a normal pulse signal is output as intended or an abnormal pulse signal different from the intended one is output.

本発明は、上述した点に鑑みてなされたもので、周波数が変化するパルス信号の異常を検出することが可能なパルス信号異常検出装置を提供することを目的とする。   The present invention has been made in view of the above points, and an object of the present invention is to provide a pulse signal abnormality detection device capable of detecting abnormality of a pulse signal whose frequency changes.

上記目的を達成するために、本発明によるパルス信号異常検出装置は、
周波数が変化するパルス信号を出力する出力部(13)と、
出力部から出力されたパルス信号をモニタするモニタ信号を用いて異常検出を行う異常検出部(14)と、を備え、
異常検出部は、
パルス信号のエッジの数をカウントするパルスエッジカウント値と、モニタ信号のエッジの数をカウントするモニタエッジカウント値が一致しているか否かによって異常判定を行う第1異常判定部(S100〜S140)と、
パルス信号のレベルと、モニタ信号のレベルとが対応しているか否かによって異常判定を行う第2異常判定部(S600〜S650)と、を含み、
第1異常判定部と第2異常判定部による異常判定が並行して実行されることを特徴とする。
In order to achieve the above object, a pulse signal abnormality detection device according to the present invention includes:
An output unit (13) for outputting a pulse signal whose frequency changes,
An abnormality detection unit (14) for performing abnormality detection using a monitor signal that monitors a pulse signal output from the output unit;
The abnormality detector is
A first abnormality determination unit (S100 to S140) for performing an abnormality determination based on whether a pulse edge count value for counting the number of edges of the pulse signal matches a monitor edge count value for counting the number of edges of the monitor signal; When,
A second abnormality determining unit (S600 to S650) for performing abnormality determination based on whether or not the level of the pulse signal corresponds to the level of the monitor signal;
The abnormality determination by the first abnormality determination unit and the second abnormality determination unit is performed in parallel.

本発明によるパルス信号異常検出装置では、上記のように、異常検出部が第1異常判定部と第2異常判定部とを備え、第1異常判定部と第2異常判定部とが並行して異常判定を実行するように構成されている。パルス信号の周波数が相対的に高く、比較的短い時間間隔でエッジが発生する場合、主として、第1異常判定部が、高頻度で発生するエッジ数に基づきパルス信号の異常の有無を判定する。また、パルス信号の周波数が低下して、パルス信号のエッジが発生する時間間隔が長くなった場合、主として、第2異常判定部が、モニタ信号のレベルに基づきパルス信号の異常の有無を判定する。従って、パルス信号の周波数によらず、パルス信号の異常を検出することが可能となる。   In the pulse signal abnormality detection device according to the present invention, as described above, the abnormality detection unit includes the first abnormality determination unit and the second abnormality determination unit, and the first abnormality determination unit and the second abnormality determination unit operate in parallel. It is configured to execute abnormality determination. When the frequency of the pulse signal is relatively high and an edge occurs at a relatively short time interval, the first abnormality determination unit mainly determines the presence or absence of the abnormality of the pulse signal based on the number of edges that occur frequently. Further, when the frequency of the pulse signal decreases and the time interval at which the edge of the pulse signal occurs increases, the second abnormality determination unit mainly determines the presence or absence of the abnormality of the pulse signal based on the level of the monitor signal. . Therefore, it is possible to detect abnormality of the pulse signal regardless of the frequency of the pulse signal.

上記括弧内の参照番号は、本開示の理解を容易にすべく、後述する実施形態における具体的な構成との対応関係の一例を示すものにすぎず、なんら発明の範囲を制限することを意図したものではない。   The reference numbers in the parentheses are merely an example of a correspondence relationship with a specific configuration in the embodiment described later in order to facilitate understanding of the present disclosure, and are intended to limit the scope of the invention. It was not done.

また、上述した特徴以外の、特許請求の範囲の各請求項に記載した技術的特徴に関しては、後述する実施形態の説明及び添付図面から明らかになる。   Further, technical features described in each claim of the claims other than the above-described features will be apparent from the description of the embodiments and the accompanying drawings described later.

実施形態によるパルス信号異常検出装置を、車両制御システムに適用した場合の構成の一例を示す構成図である。1 is a configuration diagram illustrating an example of a configuration when a pulse signal abnormality detection device according to an embodiment is applied to a vehicle control system. 異常検出部が、第1の異常判定方法を実行するためのメインルーチンを示すフローチャートである。5 is a flowchart illustrating a main routine for an abnormality detection unit to execute a first abnormality determination method. 図2のフローチャートの異常時処理の詳細を示すフローチャートである。FIG. 3 is a flowchart showing details of an abnormal process in the flowchart of FIG. 2. 異常検出部が、出力パルス信号を停止した場合に、出力パルス信号の出力を再開させるための処理を示すフローチャートである。9 is a flowchart illustrating a process for restarting the output of the output pulse signal when the abnormality detection unit stops the output pulse signal. 第1の異常判定方法において、第1グランドショート判定保存部と第1電源ショート判定保存部とに保存された値から、第1グランドショート異常判定結果及び第1電源ショート異常判定結果を得るための処理を示すフローチャートである。In the first abnormality determination method, a first ground short abnormality determination result and a first power short abnormality determination result are obtained from values stored in a first ground short determination storage unit and a first power short determination storage unit. It is a flowchart which shows a process. 第1の異常判定方法について説明するためのタイミングチャートである。5 is a timing chart for explaining a first abnormality determination method. 第1の異常判定方法について説明するための別のタイミングチャートである。5 is another timing chart for describing a first abnormality determination method. 異常検出部が、第2の異常判定方法を実行するタイミングの到来を判定するために、エッジ検出時にタイマをスタートさせる処理を示すフローチャートである。10 is a flowchart illustrating a process in which an abnormality detection unit starts a timer when an edge is detected in order to determine the arrival of a timing for executing a second abnormality determination method. 第2の異常判定方法のメインルーチンを示すフローチャートである。It is a flowchart which shows the main routine of the 2nd abnormality determination method. 図9のフローチャートの異常時処理の詳細を示すフローチャートである。10 is a flowchart showing details of the abnormal time process of the flowchart of FIG. 9. 第2の異常判定方法において、第2グランドショート判定保存部と第2電源ショート判定保存部とに保存された値から、第2グランドショート異常判定結果及び第2電源ショート異常判定結果を得るための処理を示すフローチャートである。In the second abnormality determination method, a second ground short abnormality determination result and a second power short abnormality determination result are obtained from values stored in the second ground short determination storage unit and the second power short determination storage unit. It is a flowchart which shows a process. 第2の異常判定方法について説明するためのタイミングチャートである。6 is a timing chart for explaining a second abnormality determination method. 第2の異常判定方法について説明するための別のタイミングチャートである。9 is another timing chart for describing a second abnormality determination method.

以下、本発明の実施形態によるパルス信号異常検出装置を図面を参照して詳細に説明する。図1は、本実施形態によるパルス信号異常検出装置を、車両制御システムに適用した場合の構成例を示している。   Hereinafter, a pulse signal abnormality detection device according to an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 shows a configuration example when the pulse signal abnormality detection device according to the present embodiment is applied to a vehicle control system.

図1に示す車両制御システムは、エンジンの回転を検出するためのエンジン回転センサ(クランク角センサ)1を備える。エンジン回転センサ1は、エンジンのクランク軸が所定角度回転するごとにパルス信号を出力する。このため、エンジン回転センサ1が出力するパルス信号は、エンジンの回転数に応じて周波数が変化するものとなる。   The vehicle control system shown in FIG. 1 includes an engine rotation sensor (crank angle sensor) 1 for detecting engine rotation. The engine rotation sensor 1 outputs a pulse signal every time the crankshaft of the engine rotates a predetermined angle. Therefore, the frequency of the pulse signal output from the engine rotation sensor 1 changes according to the engine speed.

エンジン回転センサ1から出力されるパルス信号は、エンジン制御ECU10に入力される。エンジン制御ECU10はマイコン11を有し、マイコン11は、エンジン回転センサ1からのパルス信号に基づいてエンジン回転速度を算出する。その他にも、マイコン11は、エンジンの冷却水温度、運転者のアクセル操作、車両の速度などを各種センサからのセンサ信号から取得する。そして、マイコン11は、算出したエンジン回転速度や運転者のアクセル操作などに基づき、例えば、エンジンの各気筒に設けられた燃料噴射弁や、吸気管に設けられたスロットルバルブを駆動するスロットルモータへ制御信号を出力する。このようにして、エンジン制御ECU10は、エンジン回転速度などから把握されるエンジンの運転状態や運転者による運転操作に応じて、エンジンの燃料噴射量、燃料噴射時期、スロットル開度などを制御する。   The pulse signal output from the engine rotation sensor 1 is input to the engine control ECU 10. The engine control ECU 10 has a microcomputer 11, and the microcomputer 11 calculates an engine rotation speed based on a pulse signal from the engine rotation sensor 1. In addition, the microcomputer 11 acquires the engine coolant temperature, the driver's accelerator operation, the vehicle speed, and the like from sensor signals from various sensors. Based on the calculated engine rotation speed, driver's accelerator operation, and the like, the microcomputer 11 sends, for example, to a fuel injection valve provided in each cylinder of the engine or a throttle motor that drives a throttle valve provided in an intake pipe. Outputs control signal. In this way, the engine control ECU 10 controls the fuel injection amount, the fuel injection timing, the throttle opening, and the like of the engine according to the operating state of the engine, which is grasped from the engine rotation speed and the like, and the driving operation by the driver.

エンジン制御ECU10のマイコン11は、上述したように、エンジン回転センサ1などのセンサ信号に基づいて、燃料噴射弁やスロットルモータなどのアクチュエータへ出力するための制御信号を生成するなど、エンジンを適切に稼働させるための制御処理を実行するCPU12と、主として、エンジン回転センサ1から入力されるパルス信号を処理するTPU(Time Processing Unit)13とを備える。   As described above, the microcomputer 11 of the engine control ECU 10 appropriately controls the engine by generating a control signal for outputting to an actuator such as a fuel injection valve or a throttle motor based on a sensor signal of the engine rotation sensor 1 or the like. The system includes a CPU 12 that executes a control process for operation, and a TPU (Time Processing Unit) 13 that mainly processes a pulse signal input from the engine rotation sensor 1.

TPU13に関してさらに詳細に説明すると、TPU13は、入力されたパルス信号の立ち上がりエッジと立ち下がりエッジとの少なくとも一方を検出して、その検出したエッジ間の時間間隔を計測する機能を有する。マイコン11のCPU12は、TPU13によって計測されたエッジ間の時間間隔に基づいて、エンジン回転速度を算出する。さらに、TPU13は、エンジン回転センサ1から入力したパルス信号のレベル反転させた反転パルス信号を生成して、出力パルス信号として、制御を実行するためにエンジン回転速度を必要とするトランスミッション制御ECU20などの他のECUへ出力する機能を備える。反転パルス信号は、ハード回路によって生成されてもよいし、ソフト処理によって生成されてもよい。   The TPU 13 will be described in further detail. The TPU 13 has a function of detecting at least one of a rising edge and a falling edge of an input pulse signal and measuring a time interval between the detected edges. The CPU 12 of the microcomputer 11 calculates the engine speed based on the time interval between edges measured by the TPU 13. Further, the TPU 13 generates an inverted pulse signal obtained by inverting the level of the pulse signal input from the engine rotation sensor 1 and outputs the inverted pulse signal as an output pulse signal, such as a transmission control ECU 20 that requires an engine rotation speed to execute control. It has a function to output to other ECUs. The inverted pulse signal may be generated by a hardware circuit or may be generated by a software process.

このように、図1に示す車両制御システムは、マイコン11のTPU13が、エンジン回転センサ1からの入力パルス信号のレベルを反転した出力パルス信号を他のECUに出力するように構成されている。つまり、マイコン11のTPU13は、エンジン回転センサ1からのパルス信号を他のECUに中継するように構成されている。この場合、TPU13が、入力パルス信号に正しく対応した正常な出力パルス信号を出力しないと、その出力パルス信号を受領したECUは、適切な制御を実行することができなくなってしまう。そのため、TPU13は、出力パルス信号をモニタ信号として取り込み、そのモニタ信号に基づいて、出力パルス信号が正常であるか異常であるかを検出する異常検出部14を有している。異常検出部14は、出力パルス信号が異常であることを検出したとき、出力パルス信号を利用する他のECUへその旨を通知する。これにより、出力パルス信号を利用する他のECUは、適切な対応を取ることが可能となる。   As described above, the vehicle control system shown in FIG. 1 is configured such that the TPU 13 of the microcomputer 11 outputs an output pulse signal obtained by inverting the level of the input pulse signal from the engine rotation sensor 1 to another ECU. That is, the TPU 13 of the microcomputer 11 is configured to relay the pulse signal from the engine rotation sensor 1 to another ECU. In this case, if the TPU 13 does not output a normal output pulse signal correctly corresponding to the input pulse signal, the ECU that has received the output pulse signal cannot execute appropriate control. Therefore, the TPU 13 has an abnormality detection unit 14 that captures the output pulse signal as a monitor signal and detects whether the output pulse signal is normal or abnormal based on the monitor signal. When detecting that the output pulse signal is abnormal, the abnormality detection unit 14 notifies another ECU that uses the output pulse signal of the abnormality. This allows other ECUs using the output pulse signal to take appropriate measures.

なお、本実施形態では、TPU13は、取り込んだ出力パルス信号のレベルを反転した信号をモニタ信号とする。このレベル反転も、ハード又はソフトのいずれによって行われてもよい。ただし、TPU13は、上述したレベル反転を行わずに、入力パルス信号をそのまま出力パルス信号として出力してもよいし、及び/又は、出力パルス信号をそのままモニタ信号としてもよい。   In the present embodiment, the TPU 13 uses a signal obtained by inverting the level of the received output pulse signal as a monitor signal. This level inversion may be performed by either hardware or software. However, the TPU 13 may directly output the input pulse signal as the output pulse signal without performing the level inversion described above, and / or may use the output pulse signal as it is as the monitor signal.

以下、TPU13の異常検出部14について、図2〜5及び図8〜図10のフローチャートと、図6、7、11,12のタイミングチャートを用いて詳細に説明する。   Hereinafter, the abnormality detection unit 14 of the TPU 13 will be described in detail with reference to the flowcharts of FIGS. 2 to 5 and FIGS. 8 to 10 and the timing charts of FIGS.

異常検出部14は、出力パルス信号の異常を検出するため、入力パルス信号のエッジ数とモニタ信号のエッジ数とが一致しているか否かに基づいて、出力パルス信号が正常であるか異常であるかを判定する第1の異常判定方法と、入力パルス信号のレベルとモニタ信号のレベルとが対応しているか否かに基づいて、出力パルス信号が正常であるか異常であるかを判定する第2の異常判定方法とを実行する。つまり、異常検出部14は、第1及び第2の、2つの異常判定方法によって出力パルスの異常を検出するものであり、それら第1及び第2の異常判定方法は並行して実行される。そして、異常検出部14は、第1の異常判定方法と、第2の異常判定方法とのいずれかで異常が判定されると、先に判定された結果に基づき、異常検出を行う。   The abnormality detection unit 14 detects whether the output pulse signal is normal or abnormal based on whether the number of edges of the input pulse signal matches the number of edges of the monitor signal in order to detect an abnormality of the output pulse signal. A first abnormality determination method for determining whether the output pulse signal is present, and determining whether the output pulse signal is normal or abnormal based on whether the level of the input pulse signal corresponds to the level of the monitor signal. And a second abnormality determination method. That is, the abnormality detection unit 14 detects an abnormality of the output pulse by the first and second abnormality determination methods, and the first and second abnormality determination methods are executed in parallel. Then, when an abnormality is determined by one of the first abnormality determination method and the second abnormality determination method, the abnormality detection unit 14 performs abnormality detection based on the result determined earlier.

入力パルス信号の周波数が相対的に高く、比較的短い時間間隔でエッジが発生する場合には、第1の異常判定方法によって、高頻度で発生するエッジ数に基づき、精度よく出力パルス信号が正常であるか異常であるかを判定することができる。また、入力パルス信号の周波数が低下して、入力パルス信号のエッジが発生する時間間隔が長くなった場合であっても、第2の異常判定方法によって、モニタ信号のレベルを用いて出力パルス信号が正常であるか異常であるかを判定することができる。従って、異常検出部14は、入力パルス信号の周波数によらず、出力パルス信号の異常をタイムリーに検出することができる。   In the case where the frequency of the input pulse signal is relatively high and edges occur at relatively short time intervals, the first abnormality determination method allows the output pulse signal to be correctly and accurately determined based on the number of frequently occurring edges. Or abnormal. Further, even when the frequency of the input pulse signal decreases and the time interval at which the edge of the input pulse signal occurs becomes longer, the output pulse signal is obtained by using the level of the monitor signal by the second abnormality determination method. Is normal or abnormal. Therefore, the abnormality detection unit 14 can detect the abnormality of the output pulse signal in a timely manner regardless of the frequency of the input pulse signal.

異常検出部14は、第1の異常判定方法を実行するために、例えば図6に示すように、入力パルス信号のエッジの数をカウントするパルスエッジカウンタと、モニタ信号のエッジの数をカウントするモニタエッジカウンタとを有する。図6に示す例では、パルスエッジカウンタ及びモニタエッジカウンタは、それぞれ、入力パルス信号の立ち下がりエッジ及びモニタ信号の立ち下がりエッジをカウントしている。換言すれば、パルスエッジカウンタ及びモニタエッジカウンタは、それぞれ、入力パルス信号の立ち下がりエッジ及びモニタ信号の立ち下がりエッジが検出されてから、所定の遅れ時間後にカウントアップする。   In order to execute the first abnormality determination method, the abnormality detector 14 counts the number of edges of the input pulse signal and the number of edges of the monitor signal, for example, as shown in FIG. And a monitor edge counter. In the example shown in FIG. 6, the pulse edge counter and the monitor edge counter count the falling edge of the input pulse signal and the falling edge of the monitor signal, respectively. In other words, the pulse edge counter and the monitor edge counter count up after a predetermined delay time after the falling edge of the input pulse signal and the falling edge of the monitor signal are detected, respectively.

なお、パルスエッジカウンタ及びモニタエッジカウンタは、それぞれ、入力パルス信号の立ち上がりエッジ及びモニタ信号の立ち上がりエッジをカウントしてもよいし、入力パルス信号の両エッジ及びモニタ信号の両エッジをカウントしてもよい。また、パルスエッジカウンタは、エッジのカウント対象とするパルス信号を、入力パルス信号ではなく、TPU13から出力される出力パルス信号としてもよい。   Note that the pulse edge counter and the monitor edge counter may count the rising edge of the input pulse signal and the rising edge of the monitor signal, respectively, or may count both edges of the input pulse signal and both edges of the monitor signal. Good. In the pulse edge counter, the pulse signal whose edge is to be counted may be an output pulse signal output from the TPU 13 instead of the input pulse signal.

異常検出部14のパルスエッジカウンタが、入力パルス信号のエッジの数をカウントする場合には、第1の異常判定方法により、モニタ信号のエッジの数との間で不一致が生じたとき、TPU13における出力パルス信号の生成処理、出力パルス信号の出力経路、モニタ信号の入力経路、TPU13におけるモニタ信号の生成処理、あるいは、パルスエッジカウンタ及び/又はモニタエッジカウンタの異常に起因して、出力パルス信号に異常が生じているか、もしくは出力パルス信号の異常を検出できない状態となっていることを判定することができる。一方、異常検出部14のパルスエッジカウンタが、出力パルス信号のエッジの数をカウントする場合には、第1の異常判定方法により、モニタ信号のエッジの数との間で不一致が生じたとき、出力パルス信号の出力経路、モニタ信号の入力経路、モニタ信号の生成処理、あるいは、パルスエッジカウンタ及び/又はモニタエッジカウンタの異常に起因して、出力パルス信号に異常が生じているか、もしくは出力パルス信号の異常を検出できない状態となっていることを判定することができる。   When the pulse edge counter of the abnormality detection unit 14 counts the number of edges of the input pulse signal, when the first abnormality determination method causes a mismatch with the number of edges of the monitor signal, the TPU 13 Due to the output pulse signal generation processing, the output pulse signal output path, the monitor signal input path, the monitor signal generation processing in the TPU 13, or the abnormality of the pulse edge counter and / or the monitor edge counter, the output pulse signal It can be determined that an abnormality has occurred or that an abnormality in the output pulse signal cannot be detected. On the other hand, when the pulse edge counter of the abnormality detection unit 14 counts the number of edges of the output pulse signal, when the first abnormality determination method causes a mismatch with the number of edges of the monitor signal, The output pulse signal is abnormal due to the output path of the output pulse signal, the input path of the monitor signal, the generation processing of the monitor signal, or the abnormality of the pulse edge counter and / or the monitor edge counter, or the output pulse is abnormal. It can be determined that the signal abnormality cannot be detected.

異常検出部14は、第1の異常判定方法を実行するために、さらに、第1グランドショート(GS)判定保存部と第1電源ショート(PS)判定保存部とを有する。異常検出部14は、図6に示すように、入力パルス信号にエッジ(立ち下がりエッジ)が検出されたことをトリガとして、パルスエッジカウンタのカウント値とモニタエッジカウンタのカウント値とを読み出して対比する。なお、読み出されるカウント値は、入力パルス信号の立ち下がりエッジ及びモニタ信号の立ち下がりエッジの検出に基づき、パルスエッジカウンタ及びモニタエッジカウンタがカウントアップする前のカウント値である。   The abnormality detection unit 14 further includes a first ground short (GS) determination storage unit and a first power supply short (PS) determination storage unit to execute the first abnormality determination method. As shown in FIG. 6, the abnormality detection unit 14 reads the count value of the pulse edge counter and the count value of the monitor edge counter and triggers the detection by detecting the edge (falling edge) of the input pulse signal. I do. The read count value is a count value before the pulse edge counter and the monitor edge counter count up based on detection of the falling edge of the input pulse signal and the falling edge of the monitor signal.

対比されるパルスエッジカウンタのカウント値とモニタエッジカウンタのカウント値とが一致していれば、出力パルス信号が正常に出力されているとみなしえる。従って、パルスエッジカウンタのカウント値とモニタエッジカウンタのカウント値とが一致している場合には、異常検出部14は、例えば図6のタイミングチャートの時間t2、t5などに示されるように、第1グランドショート(GS)判定保存部と第1電源ショート(PS)判定保存部とに、出力パルス信号が正常であることを示す値「0」を書き込む。   If the count value of the pulse edge counter to be compared with the count value of the monitor edge counter matches, it can be considered that the output pulse signal is normally output. Therefore, when the count value of the pulse edge counter and the count value of the monitor edge counter match, the abnormality detection unit 14 performs, for example, as shown at times t2 and t5 in the timing chart of FIG. A value “0” indicating that the output pulse signal is normal is written in the 1-ground short (GS) determination storage unit and the first power supply short (PS) determination storage unit.

一方、異常検出部14が、パルスエッジカウンタのカウント値とモニタエッジカウンタのカウント値とを読み出して対比したとき、両カウント値が不一致であると、出力パルス信号にはなんらかの異常が生じている可能性がある。この際、異常検出部14は、単に出力パルス信号の異常と判定してもよいが、本実施形態の異常検出部14は、さらに、異常の原因が、パルスエッジカウンタ及び/又はモニタエッジカウンタの異常であるか、出力パルス信号の出力経路あるいはモニタ信号の入力経路のグランドショート異常であるか、電源ショート異常であるかを判別するように構成されている。グランドショート異常と電源ショート異常との判別手法については後述する。異常検出部14は、グランドショート異常と判別した場合には、例えば図6のタイミングチャートの時間t11に示すように、第1グランドショート判定保存部に、グランドショート異常の発生を示す値「1」を書き込む。また、電源ショート異常と判別した場合には、第1電源ショート判定保存部に、電源ショート異常の発生を示す値「1」を書き込む。   On the other hand, when the abnormality detection unit 14 reads the count value of the pulse edge counter and the count value of the monitor edge counter and compares them, if the two count values do not match, some abnormality may have occurred in the output pulse signal. There is. At this time, the abnormality detection unit 14 may simply determine that the output pulse signal is abnormal, but the abnormality detection unit 14 of the present embodiment further determines that the cause of the abnormality is a pulse edge counter and / or a monitor edge counter. It is configured to determine whether there is an abnormality, a ground short abnormality in the output path of the output pulse signal or the input path of the monitor signal, or a power short circuit. A method of determining whether the ground short-circuit is abnormal and the power short-circuit is abnormal will be described later. When the abnormality detecting unit 14 determines that the ground short has occurred, the first ground short determination storage unit stores a value “1” indicating the occurrence of the ground short abnormality in the first ground short determination storage unit, for example, as shown at time t11 in the timing chart of FIG. Write. When it is determined that the power supply is short-circuited, a value “1” indicating the occurrence of the power supply short-circuited abnormality is written into the first power supply short-circuit determination storage unit.

また、本実施形態の異常検出部14は、図6に示すように、所定の時間間隔(読み取り周期)T2(例えば、100ms)ごとに、第1グランドショート判定保存部と第1電源ショート判定保存部とに保存された値を読み出して、第1グランドショート異常判定結果及び第1電源ショート異常判定結果とする。異常検出部14は、第1グランドショート判定保存部と第1電源ショート判定保存部とに保存された値を読み出した後、図6のタイミングチャートの時間t0、t4、t7、t12などに示すように、正常であることを示す値「0」及び異常の発生を示す値「1」とは異なる値「2」を初期値としてセットする。従って、所定の時間間隔T2が経過して第1グランドショート判定保存部と第1電源ショート判定保存部とに保存された値を読み出したとき、その値が「2」のままであれば、正常判定も異常判定もなされていないことを把握することができる。   Further, as shown in FIG. 6, the abnormality detecting unit 14 of the present embodiment, the first ground short determination storage unit and the first power short determination storage unit at predetermined time intervals (read cycle) T2 (for example, 100 ms). The values stored in the first and second sections are read out and used as a first ground short abnormality determination result and a first power supply short abnormality determination result. After reading the values stored in the first ground short determination storage and the first power short determination storage, the abnormality detector 14 reads the values stored in the timing chart of FIG. 6 at times t0, t4, t7, and t12. A value “2” different from the value “0” indicating normal and the value “1” indicating occurrence of abnormality is set as an initial value. Therefore, when the value stored in the first ground short determination storage unit and the first power short determination storage unit after the predetermined time interval T2 elapses and the value is still “2”, it is normal. It can be grasped that neither the judgment nor the abnormality judgment is made.

一方、異常検出部14は、第2の異常判定方法を実行するために、例えば図12に示すように、入力パルス信号のレベルをラッチするパルスレベルラッチ部と、モニタ信号のレベルをラッチするモニタレベルラッチ部とを有する。入力パルス信号及びモニタ信号は、それぞれ、HiレベルとLoレベルとの間で変化する。従って、パルスレベルラッチ部及びモニタレベルラッチ部がラッチするレベルも、入力パルス信号及びモニタ信号のレベル変化に応じて、HiレベルとLoレベルとのいずれかとなる。なお、入力パルス信号及びモニタ信号のレベルが変化してから、パルスレベルラッチ部及びモニタレベルラッチ部にラッチされるレベルが変化するまで、所定の遅れ時間がある。また、これらのレベルラッチ部を省略し、異常検出部14は、入力パルス信号及びモニタ信号のレベルを直接読み取るように構成してもよい。さらに、モニタ信号のレベルと比較する対象として、入力パルス信号ではなく、TPU13から出力される出力パルス信号としてもよい。   On the other hand, in order to execute the second abnormality determination method, the abnormality detection unit 14 includes a pulse level latch unit that latches the level of the input pulse signal and a monitor that latches the level of the monitor signal, as shown in FIG. And a level latch unit. The input pulse signal and the monitor signal change between Hi level and Lo level, respectively. Therefore, the level latched by the pulse level latch section and the monitor level latch section is either the Hi level or the Lo level according to the level change of the input pulse signal and the monitor signal. Note that there is a predetermined delay time from when the levels of the input pulse signal and the monitor signal change to when the levels latched by the pulse level latch section and the monitor level latch section change. Further, these level latch units may be omitted, and the abnormality detection unit 14 may be configured to directly read the levels of the input pulse signal and the monitor signal. Further, as a target to be compared with the level of the monitor signal, an output pulse signal output from the TPU 13 may be used instead of the input pulse signal.

異常検出部14は、第2の異常判定方法を実行するために、さらに、第2グランドショート(GS)判定保存部と第2電源ショート(PS)判定保存部とを有する。異常検出部14は、図12に示すように、入力パルス信号にエッジ(立ち下がりエッジ及び立ち下がりエッジ)が検出されたことをトリガとして、パルスレベルラッチ部にラッチされたレベルとモニタレベルラッチ部にラッチされたレベルとを読み出して対比する。   The abnormality detection unit 14 further includes a second ground short (GS) determination storage unit and a second power supply short (PS) determination storage unit in order to execute the second abnormality determination method. As shown in FIG. 12, the abnormality detection unit 14 uses the detection of an edge (falling edge and falling edge) in the input pulse signal as a trigger, and the level latched by the pulse level latch unit and the monitor level latch unit. Is read and compared.

対比されるパルスレベルラッチ部にラッチされたレベルとモニタレベルラッチ部にラッチされたレベルとが、モニタ信号のHiレベルで対応(一致)した場合、少なくとも、出力パルス信号の出力経路及びモニタ信号の入力経路にグランドショート異常は発生していないと考えられる。従って、この場合、図12のタイミングチャートの時間t34に示すように、異常検出部14は、第2グランドショート判定保存部に、出力パルス信号が正常であることを示す値「0」を書き込む。また、対比されるパルスレベルラッチ部にラッチされたレベルとモニタレベルラッチ部にラッチされたレベルとが、モニタ信号のLoレベルで対応(一致)した場合、少なくとも、出力パルス信号の出力経路及びモニタ信号の入力経路に電源ショート異常は発生していないと考えられる。従って、この場合、図12のタイミングチャートの時間t36に示すように、異常検出部14は、第2電源ショート判定保存部に、出力パルス信号が正常であることを示す値「0」を書き込む。   When the level latched by the pulse level latch unit and the level latched by the monitor level latch unit correspond (match) with the Hi level of the monitor signal, at least the output path of the output pulse signal and the monitor signal It is considered that no ground short circuit has occurred in the input path. Therefore, in this case, as shown at time t34 in the timing chart of FIG. 12, the abnormality detection unit 14 writes a value “0” indicating that the output pulse signal is normal to the second ground short determination storage unit. Further, when the level latched by the pulse level latch unit and the level latched by the monitor level latch unit correspond (match) with the Lo level of the monitor signal, at least the output path of the output pulse signal and the monitor It is considered that no power short-circuit abnormality has occurred in the signal input path. Therefore, in this case, as shown at time t36 in the timing chart of FIG. 12, the abnormality detection unit 14 writes a value “0” indicating that the output pulse signal is normal to the second power supply short determination storage unit.

逆に、対比されるパルスレベルラッチ部にラッチされたレベルとモニタレベルラッチ部にラッチされたレベルとが対応(一致)しておらず、モニタ信号のレベルがLoレベルである場合、出力パルス信号の出力経路及びモニタ信号の入力経路のいずれかにグランドショート異常が発生していると考えられる。従って、この場合、異常検出部14は、第2グランドショート判定保存部に、出力パルス信号が異常であることを示す値「1」を書き込む。また、対比されるパルスレベルラッチ部にラッチされたレベルとモニタレベルラッチ部にラッチされたレベルとが対応(一致)しておらず、モニタ信号のレベルがHiレベルである場合、出力パルス信号の出力経路及びモニタ信号の入力経路のいずれかに電源ショート異常が発生していると考えられる。従って、この場合、図12のタイミングチャートの時間t40に示すように、異常検出部14は、第2電源ショート判定保存部に、出力パルス信号が異常であることを示す値「1」を書き込む。   Conversely, if the level latched by the compared pulse level latch unit and the level latched by the monitor level latch unit do not correspond (coincide) and the level of the monitor signal is Lo level, the output pulse signal It is considered that a ground short abnormality has occurred in one of the output path and the input path of the monitor signal. Therefore, in this case, the abnormality detection unit 14 writes the value “1” indicating that the output pulse signal is abnormal to the second ground short determination storage unit. Further, when the level latched by the pulse level latch unit to be compared does not correspond (coincide) with the level latched by the monitor level latch unit, and the level of the monitor signal is Hi level, It is considered that a power short-circuit abnormality has occurred in either the output path or the input path of the monitor signal. Therefore, in this case, as shown at time t40 in the timing chart of FIG. 12, the abnormality detection unit 14 writes a value “1” indicating that the output pulse signal is abnormal to the second power supply short determination storage unit.

異常検出部14は、図12のタイミングチャートに示すように、第1の異常判定方法の場合と同様に、所定の時間間隔(読み取り周期)T2ごとに、第2グランドショート判定保存部と第2電源ショート判定保存部とに保存された値を読み出して、第2グランドショート異常判定結果及び第2電源ショート異常判定結果とする。異常検出部14は、第2グランドショート判定保存部と第2電源ショート判定保存部とに保存された値を読み出した後、図12のタイミングチャートの時間t30、t37、t44に示すように、正常であることを示す値「0」及び異常の発生を示す値「1」とは異なる値「2」を初期値としてセットする。   As shown in the timing chart of FIG. 12, the abnormality detecting unit 14 is connected to the second ground short determination storage unit and the second ground short determination storage unit at predetermined time intervals (reading cycles) T2, as in the case of the first abnormality determination method. The values stored in the power-supply-short-determination storage unit are read out and used as a second ground short-circuit abnormality determination result and a second power-supply shortage abnormality determination result. After reading the values stored in the second ground short determination storage unit and the second power short determination storage unit, the abnormality detection unit 14 determines whether the values are normal as shown at times t30, t37, and t44 in the timing chart of FIG. The initial value is set to a value "2" different from the value "0" indicating that the value is "1" and the value "1" indicating the occurrence of abnormality.

次に、第1の異常判定方法について、図2〜図5のフローチャート及び図6,7のタイミングチャートを参照して、より詳細に説明する。図2は、第1の異常判定方法を実行するためのメインルーチンを示すフローチャートである。図3は、図2のフローチャートの異常時処理の詳細を示すフローチャートである。図4は、異常検出部14が出力パルス信号を停止した場合に、出力パルス信号の出力を再開させるための処理を示すフローチャートである。図5は、第1の異常判定方法において、第1グランドショート判定保存部と第1電源ショート判定保存部とに保存された値から、第1グランドショート異常判定結果及び第1電源ショート異常判定結果を得るための処理を示すフローチャートである。   Next, the first abnormality determination method will be described in more detail with reference to flowcharts of FIGS. 2 to 5 and timing charts of FIGS. FIG. 2 is a flowchart showing a main routine for executing the first abnormality determination method. FIG. 3 is a flowchart showing details of the abnormal time process of the flowchart of FIG. FIG. 4 is a flowchart illustrating a process for restarting the output of the output pulse signal when the abnormality detection unit 14 stops the output pulse signal. FIG. 5 is a diagram illustrating a first ground short abnormality determination result and a first power short abnormality determination result based on values stored in the first ground short determination storage unit and the first power short determination storage unit in the first abnormality determination method. 5 is a flowchart showing a process for obtaining the.

図2のフローチャートに示す処理は、入力パルス信号の立ち下がりエッジが検出された時に開始される。最初のステップS100では、パルスエッジカウンタのカウント値(PEC)とモニタエッジカウント値(MEC)とを読み込む。なお、これらのカウント値の読み込み時点では、検出された入力パルス信号のエッジに基づくエッジパルスカウンタのカウントアップは行われていない。   The process shown in the flowchart of FIG. 2 is started when the falling edge of the input pulse signal is detected. In the first step S100, the count value (PEC) of the pulse edge counter and the monitor edge count value (MEC) are read. At the time of reading these count values, the edge pulse counter has not counted up based on the detected edge of the input pulse signal.

続くステップS110では、読み込んだパルスエッジカウンタのカウント値が0であるか否かを判定する。パルスエッジカウンタのカウント値が0である場合、パルスエッジカウンタにおいて、入力パルス信号の立ち下がりエッジ数のカウントが正常に行われているか否か不明である。このため、ステップS110において、パルスエッジカウンタのカウント値が「0」と判定されると、出力パルス信号が正常であるか異常であるかの判定を行うことなく、図2のフローチャートに示す処理を終了する。この場合、図6のタイミングチャートの時間t1に示すように、第1グランドショート判定保存部及び第1電源ショート判定保存部の値は、初期値である「2」から書き換えられずに、そのまま維持される。一方、ステップS110において、パルスエッジカウンタのカウント値が「0」ではないと判定されると、ステップS120の処理に進む。   In a succeeding step S110, it is determined whether or not the read count value of the pulse edge counter is 0. When the count value of the pulse edge counter is 0, it is unknown whether or not the pulse edge counter normally counts the number of falling edges of the input pulse signal. Therefore, if the count value of the pulse edge counter is determined to be “0” in step S110, the process shown in the flowchart of FIG. 2 is performed without determining whether the output pulse signal is normal or abnormal. finish. In this case, as shown at time t1 in the timing chart of FIG. 6, the values of the first ground short determination storage unit and the first power short determination storage unit are maintained without being rewritten from the initial value “2”. Is done. On the other hand, if it is determined in step S110 that the count value of the pulse edge counter is not “0”, the process proceeds to step S120.

ステップS120では、読み込んだパルスエッジカウンタのカウント値とモニタエッジカウンタのカウント値とが一致しているか否かを判定する。不一致であると判定した場合にはステップS130の処理に進み、一致していると判定した場合にはステップS140の処理に進む。   In step S120, it is determined whether or not the read count value of the pulse edge counter matches the count value of the monitor edge counter. If it is determined that they do not match, the process proceeds to step S130, and if it is determined that they match, the process proceeds to step S140.

ステップS130では、TPU13から出力される出力パルス信号に何らかの異常が発生しているとみなされるので、異常時処理を実行する。一方、ステップS140では、パルスエッジカウンタのカウント値とモニタエッジカウンタのカウント値とが一致しており、出力パルス信号が正常に出力されているとみなしえるので、図6のタイミングチャートの時間t2、t5に示されるように、第1グランドショート判定保存部と第1電源ショート判定保存部とに、出力パルス信号が正常であることを示す値「0」を書き込む。なお、時刻t3、t6でも、パルスエッジカウンタのカウント値とモニタエッジカウンタのカウント値とは一致しているが、第1グランドショート判定保存部と第1電源ショート判定保存部には、すでに正常を示す値「0」が書き込まれている。このため、時刻t3、t6では、値「0」を書き込んでもよいが、なんら値を書き込むことなく、保存されている値を維持してもよい。   In step S130, it is considered that some abnormality has occurred in the output pulse signal output from the TPU 13, so that the abnormality processing is performed. On the other hand, in step S140, the count value of the pulse edge counter matches the count value of the monitor edge counter, and it can be considered that the output pulse signal is normally output. As shown at t5, a value “0” indicating that the output pulse signal is normal is written into the first ground short determination storage unit and the first power short determination storage unit. At times t3 and t6, the count value of the pulse edge counter and the count value of the monitor edge counter match, but the first ground short determination storage unit and the first power short determination storage unit indicate that the normal state has already been established. The indicated value “0” has been written. Therefore, at times t3 and t6, the value “0” may be written, but the stored value may be maintained without writing any value.

次に、ステップS130の異常時処理について、図3のフローチャートを参照しつつ詳細に説明する。   Next, the abnormal time process of step S130 will be described in detail with reference to the flowchart of FIG.

最初のステップS200では、パルスエッジカウンタのカウント値が、モニタエッジカウンタのカウント値よりも大きいか否かを判定する。この判定処理において、パルスエッジカウンタのカウント値がモニタエッジカウンタのカウント値よりも大きいと判定されると、ステップS210の処理に進み、パルスエッジカウンタのカウント値がモニタエッジカウンタのカウント値よりも小さいと判定されると、ステップS270の処理に進む。   In the first step S200, it is determined whether or not the count value of the pulse edge counter is larger than the count value of the monitor edge counter. In this determination processing, when it is determined that the count value of the pulse edge counter is larger than the count value of the monitor edge counter, the process proceeds to step S210, where the count value of the pulse edge counter is smaller than the count value of the monitor edge counter. Is determined, the process proceeds to step S270.

パルスエッジカウンタのカウント値がモニタエッジカウンタのカウント値よりも大きい場合、出力パルス信号の出力経路やモニタ信号の入力経路のいずれかがグランドショートあるいは電源ショートして、モニタ信号のレベルがLoレベル又はHiレベルに固定されている可能性がある。このような異常が生じた場合、TPU13が、異常なパルス信号を出力している可能性がある。そのため、ステップS210において、異常検出部14は、TPU13に出力パルス信号を停止するよう指示する。   If the count value of the pulse edge counter is larger than the count value of the monitor edge counter, either the output path of the output pulse signal or the input path of the monitor signal is ground shorted or the power supply is shorted, and the level of the monitor signal is Lo level or It may be fixed at the Hi level. When such an abnormality occurs, the TPU 13 may output an abnormal pulse signal. Therefore, in step S210, the abnormality detection unit 14 instructs the TPU 13 to stop the output pulse signal.

例えば、図6のタイミングチャートに示すように、時間t5に近いタイミングで、モニタ信号の入力経路にグランドショート異常が発生した場合、その時点で、モニタ信号のレベルはLoレベルに固定される。その結果、時間t8で、パルスエッジカウンタのカウント値とモニタエッジカウンタのカウント値とが不一致となる。それにより、異常検出部14はTPU13へ出力パルス信号の停止を指示する。なお、図6に示す例では、異常検出部14は、時間t10に出力パルス信号の停止を指示している。つまり、図6に示す例では、異常検出部14は、時間t8と時間t9において、2回連続してカウント値が不一致となったときに、出力パルス信号の停止を指示している。ただし、異常検出部14は、1回のカウント値の不一致に応じて、出力パルス信号の停止を指示するようにしてもよい。   For example, as shown in the timing chart of FIG. 6, when a ground short abnormality occurs in the input path of the monitor signal at a timing close to time t5, the level of the monitor signal is fixed to Lo level at that time. As a result, at time t8, the count value of the pulse edge counter does not match the count value of the monitor edge counter. Thereby, the abnormality detection unit 14 instructs the TPU 13 to stop the output pulse signal. In the example shown in FIG. 6, the abnormality detection unit 14 instructs the stop of the output pulse signal at time t10. That is, in the example shown in FIG. 6, the abnormality detection unit 14 instructs the stop of the output pulse signal when the count values do not match twice consecutively at time t8 and time t9. However, the abnormality detection unit 14 may instruct stop of the output pulse signal in response to one count value mismatch.

続くステップS220では、出力パルス信号を停止させてから所定時間T1(例えば、1ms)待機する。つまり、出力パルス信号の停止によるモニタ信号のレベル変動が減衰するのを待つ。そして、ステップS230において、所定時間T1経過後の時間t11において、上述したモニタレベルラッチ部がラッチしているレベルを読み込む。そして、ステップS240で、読み込んだモニタ信号のレベルがLoレベルであるか、Hiレベルであるかを判定する。この判定処理において、Loレベルと判定したときにはステップS250の処理に進み、Hiレベルと判定したときにはステップS260の処理に進む。   In the following step S220, the process waits for a predetermined time T1 (for example, 1 ms) after stopping the output pulse signal. That is, it waits until the level fluctuation of the monitor signal due to the stop of the output pulse signal attenuates. Then, in step S230, at time t11 after the lapse of the predetermined time T1, the level latched by the monitor level latch unit is read. Then, in step S240, it is determined whether the level of the read monitor signal is Lo level or Hi level. In this determination process, when it is determined that the level is Lo, the process proceeds to step S250, and when it is determined that the level is Hi, the process proceeds to step S260.

ステップS250では、モニタ信号のレベルがLoレベルであるので、出力パルス信号の出力経路やモニタ信号の入力経路がグランドショートしている可能性が高いと考えられる。このため、図6の時刻t11に示すように、異常検出部14は、第1グランドショート判定保存部に、グランドショート異常を示す値「1」を書き込む。一方、ステップS260では、モニタ信号のレベルがHiレベルであるので、出力パルス信号の出力経路やモニタ信号の入力経路が電源ショートしている可能性が高いと考えられる。このため、異常検出部14は、第1電源ショート判定保存部に、電源ショート異常を示す値「1」を書き込む。   In step S250, since the level of the monitor signal is Lo level, it is highly likely that the output path of the output pulse signal and the input path of the monitor signal are short-circuited to ground. Therefore, as shown at time t11 in FIG. 6, the abnormality detection unit 14 writes a value “1” indicating a ground short abnormality in the first ground short determination storage unit. On the other hand, in step S260, since the level of the monitor signal is the Hi level, it is highly likely that the output path of the output pulse signal and the input path of the monitor signal are short-circuited. Therefore, the abnormality detection unit 14 writes a value “1” indicating a power short-circuit abnormality in the first power short-circuit determination storage unit.

ステップS200において、パルスエッジカウンタのカウント値がモニタエッジカウンタのカウント値よりも小さいと判定されたときに実行されるステップS270では、パルスエッジカウンタ及びモニタエッジカウンタを「0」にクリアする。モニタエッジカウンタのカウント値がパルスエッジカウンタのカウント値よりも大きくなることは通常起こりえず、その原因は、パルスエッジカウンタ及び/又はモニタエッジカウンタの異常にあると考えられるためである。   In step S270, which is executed when it is determined in step S200 that the count value of the pulse edge counter is smaller than the count value of the monitor edge counter, the pulse edge counter and the monitor edge counter are cleared to "0". Normally, the count value of the monitor edge counter cannot be larger than the count value of the pulse edge counter, because the cause is considered to be an abnormality of the pulse edge counter and / or the monitor edge counter.

上述した異常時処理において、TPU13からの出力パルス信号が停止されると、その出力パルス信号を利用するECUは通常の制御を実行することができなくなる。従って、この場合、例えば車両の退避走行のみを許可するような制御が行われることになる。しかしながら、モニタ信号のグランドショート異常又は電源ショート異常が何らかの異物の影響によって一時的に発生したもので、その後、TPU13が、出力パルス信号を正常に出力できる状態に復帰する可能性もゼロではない。   When the output pulse signal from the TPU 13 is stopped in the above-described abnormal processing, the ECU using the output pulse signal cannot execute normal control. Accordingly, in this case, for example, control is performed such that only the limp-home running of the vehicle is permitted. However, there is no possibility that the TPU 13 returns to a state in which the output pulse signal can be output normally after the ground short-circuit abnormality or the power supply short-circuit abnormality of the monitor signal has temporarily occurred due to the influence of some foreign matter.

そのため、異常検出部14は、所定の再開条件が成立したことに応じて、TPU13に出力パルス信号の出力を再開させてもよい。図4のフローチャートは、このような出力パルス信号の出力を再開させるための処理を示している。また、図7のタイミングチャートは、図6のタイミングチャートに続くもので、グランドショート異常の判定後に、グランドショート異常が解消された場合の動作を示している。   Therefore, the abnormality detection unit 14 may cause the TPU 13 to restart the output of the output pulse signal in response to the predetermined restart condition being satisfied. The flowchart of FIG. 4 shows a process for restarting the output of such an output pulse signal. Further, the timing chart of FIG. 7 is a continuation of the timing chart of FIG. 6, and shows an operation in a case where the ground short abnormality has been resolved after the determination of the ground short abnormality.

最初のステップS300では、所定の再開条件が成立したか否かを判定する。所定の再開条件としては、例えば、出力パルス信号を停止している間に、モニタ信号のレベルが変化したこと、外部のECUから出力パルス信号の再開要求を受けたこと、あるいは、出力パルス信号を停止してから所定時間が経過したことのいずれかとすることができる。ステップS300において、所定の再開条件が成立したと判定すると、出力パルス信号の出力再開を指示するため、ステップS310以降の処理に進む。   In the first step S300, it is determined whether a predetermined restart condition is satisfied. The predetermined restart conditions include, for example, a change in the level of the monitor signal while the output pulse signal is stopped, a request to restart the output pulse signal from an external ECU, or a change in the output pulse signal. It can be either that a predetermined time has elapsed since the stop. If it is determined in step S300 that the predetermined restart condition has been satisfied, the process proceeds to step S310 and the subsequent steps to instruct output restart of the output pulse signal.

ステップS310では、図7のタイミングチャートの時間t21に示すように、パルスエッジカウンタのカウント値とモニタエッジカウンタのカウント値をともに「0」にクリアする。これにより、不一致となっていた両カウント値を一致させる。そして、ステップS320において、異常検出部14は、TPU13に出力パルス信号の再開を指示する。これにより、図7に示すように、TPU13から出力パルス信号の出力が再開される。そして、TPU13が、出力パルス信号を正常に出力できる状態に復帰していれば、図7に示すように、入力パルス信号のエッジ数とモニタ信号のエッジ数が一致するので、出力パルス信号は正常であると判定され、出力パルス信号の出力が継続される。一方、出力パルス信号が再開されても、異常が継続している場合には、上述した第1の異常判定方法によって即座に出力パルス信号が停止される。そのため、出力パルス信号を利用するECUが、異常な出力パルス信号に基づき不適切な制御を実行することは回避される。   In step S310, both the count value of the pulse edge counter and the count value of the monitor edge counter are cleared to "0" as shown at time t21 in the timing chart of FIG. As a result, the two count values that have been mismatched are made to match. Then, in step S320, the abnormality detection unit 14 instructs the TPU 13 to restart the output pulse signal. Thus, the output of the output pulse signal from the TPU 13 is restarted as shown in FIG. If the TPU 13 has returned to a state in which the output pulse signal can be output normally, the number of edges of the input pulse signal matches the number of edges of the monitor signal as shown in FIG. , And the output of the output pulse signal is continued. On the other hand, if the abnormality continues even after the output pulse signal is restarted, the output pulse signal is immediately stopped by the first abnormality determination method described above. Therefore, it is possible to prevent the ECU using the output pulse signal from executing inappropriate control based on the abnormal output pulse signal.

次に、異常検出部14が、第1の異常判定方法において、第1グランドショート判定保存部と第1電源ショート判定保存部とに保存された値から、第1グランドショート異常判定結果及び第1電源ショート異常判定結果を得るための処理について、図5のフローチャートを参照して説明する。なお、図5のフローチャートに示す処理は、所定の時間間隔(読み取り周期)T2毎に起動され、実行される。   Next, in the first abnormality determination method, the abnormality detecting unit 14 determines the first ground short abnormality determination result and the first ground short abnormality determination result from the values stored in the first ground short determination storage unit and the first power short determination storage unit. The process for obtaining the power short-circuit abnormality determination result will be described with reference to the flowchart in FIG. The process shown in the flowchart of FIG. 5 is started and executed at predetermined time intervals (reading cycles) T2.

最初のステップS400では、第1グランドショート判定保存部と第1電源ショート判定保存部とに保存された値をそれぞれ読み込む。続くステップS410では、読み込んだ値の両方が「2」、すなわち、正常判定も異常判定もなされていない未判定であるか、読み込んだ値のいずれかが「1」、すなわち、グランドショート異常または電源ショート異常の判定がなされたか、あるいは、読み込んだ値の両方が「0」、すなわち、グランドショート異常も電源ショート異常も生じておらず、出力パルス信号は正常と判定されたかを判別する。グランドショート異常または電源ショート異常の判定がなされたと判別したときにはステップS420の処理に進む。出力パルス信号は正常と判定されたと判別したときには、ステップS450の処理に進む。未判定であると判別したときには、ステップS460の処理に進む。   In the first step S400, the values stored in the first ground short determination storage unit and the first power short determination storage unit are read. In the following step S410, both of the read values are “2”, that is, whether the normal determination or the abnormality determination has not been made, or not yet determined, or one of the read values is “1”, that is, the ground short abnormality or the power supply It is determined whether a short-circuit abnormality has been determined, or whether both of the read values are “0”, that is, neither a ground short-circuit abnormality nor a power supply short-circuit abnormality has occurred, and the output pulse signal has been determined to be normal. When it is determined that the ground short abnormality or the power short abnormality has been determined, the process proceeds to step S420. When it is determined that the output pulse signal is determined to be normal, the process proceeds to step S450. If it is determined that no determination has been made, the process proceeds to step S460.

ステップS420では、第1グランドショート判定保存部と第1電源ショート判定保存部とのどちらの保存部に異常を示す値が保存されていたかを判定する。例えば図6のタイミングチャートの時間t12に示すように、第1グランドショート判定保存部に異常を示す値が保存されていた場合には、ステップS430に進み、グランドショート異常と判定する。この際、図6に示すように、第1電源ショート判定保存部の値に基づき、電源ショート異常についても判定するようにしてもよい。逆に、第1電源ショート判定保存部に異常を示す値が保存されていた場合には、ステップS440に進んで、電源ショート異常と判定する。   In step S420, it is determined which of the first ground short determination storage unit and the first power short determination storage unit stores the value indicating the abnormality. For example, as shown at time t12 in the timing chart of FIG. 6, when the value indicating the abnormality is stored in the first ground short determination storage unit, the process proceeds to step S430, and it is determined that the ground short is abnormal. At this time, as shown in FIG. 6, a power short-circuit abnormality may be determined based on the value of the first power short-circuit determination storage unit. Conversely, if the value indicating the abnormality is stored in the first power short determination storage unit, the process proceeds to step S440, and it is determined that the power short is abnormal.

ステップS450では、例えば図6のタイミングチャートの時間t4、t7に示すように、出力パルス信号は正常と判定する。また、ステップS460では、図7のタイミングチャートの時間t20、t22に示すように、正常であるか異常であるか不定であると判定する。図6及び図7のタイミングチャートでは、このような判定結果を、正常を示す値「0」、異常を示す値「1」、不定を示す値「2」によって表している。   In step S450, the output pulse signal is determined to be normal, for example, as shown at times t4 and t7 in the timing chart of FIG. In addition, in step S460, it is determined that the state is normal or abnormal or indefinite as shown at times t20 and t22 in the timing chart of FIG. In the timing charts of FIGS. 6 and 7, such a determination result is represented by a value “0” indicating normal, a value “1” indicating abnormal, and a value “2” indicating indefinite.

最後に、ステップS470において、図6のタイミングチャートの時間t0、t4、t7、t12などに示すように、正常であることを示す値「0」及び異常の発生を示す値「1」とは異なる値「2」を、第1グランドショート判定保存部及び第1電源ショート判定保存部に初期値としてセットする。   Finally, in step S470, as shown at times t0, t4, t7, and t12 in the timing chart of FIG. 6, the value is different from a value “0” indicating normality and a value “1” indicating occurrence of abnormality. The value “2” is set as an initial value in the first ground short determination storage and the first power short determination storage.

次に、第2の異常判定方法について、図8〜図11のフローチャート及び図12、13のタイミングチャートを参照して、より詳細に説明する。図8は、第2の異常判定方法を実行するタイミングの到来を判定するために、エッジ検出時にタイマをスタートさせる処理を示すフローチャートである。図9は、第2の異常判定方法を実行するためのメインルーチンを示すフローチャートである。図10は、図9のフローチャートの異常時処理の詳細を示すフローチャートである。図11は、第2の異常判定方法において、第2グランドショート判定保存部と第2電源ショート判定保存部とに保存された値から、第2グランドショート異常判定結果及び第2電源ショート異常判定結果を得るための処理を示すフローチャートである。   Next, the second abnormality determination method will be described in more detail with reference to flowcharts of FIGS. 8 to 11 and timing charts of FIGS. FIG. 8 is a flowchart showing a process for starting a timer upon detecting an edge in order to determine the timing of executing the second abnormality determination method. FIG. 9 is a flowchart showing a main routine for executing the second abnormality determination method. FIG. 10 is a flowchart showing details of the abnormal time processing of the flowchart of FIG. FIG. 11 shows a second ground short abnormality determination result and a second power short abnormality determination result based on values stored in the second ground short determination storage unit and the second power short determination storage unit in the second abnormality determination method. 5 is a flowchart showing a process for obtaining the.

図8のフローチャートに示す処理は、入力パルス信号の立ち上がりエッジ又は立ち下がりエッジが検出された時に開始される。図8のフローチャートのステップS500では、エッジが検出されてからの経過時間を計測するために、タイマをスタートさせる。なお、このタイマは、入力パルス信号のエッジが検出されるごとにリセットされ、改めて経過時間の計測を開始する。   The process shown in the flowchart of FIG. 8 is started when a rising edge or a falling edge of the input pulse signal is detected. In step S500 of the flowchart in FIG. 8, a timer is started to measure the elapsed time since the edge was detected. The timer is reset each time an edge of the input pulse signal is detected, and starts measuring the elapsed time again.

図9のフローチャートに示す処理は、図8のフローチャートによってスタートされたタイマが計測する経過時間が、所定時間T1に達したときに開始される。つまり、第2の異常判定方法は、検出されるエッジ間の間隔が所定時間T1以上である場合にのみ実行され、所定時間T1が経過する前に新たなエッジが検出されると、第2の異常判定方法は実行されない。換言すると、異常検出部14は、入力パルス信号のレベルが変化してから所定時間T1が経過する前に、入力パルス信号に次のレベル変化が生じた場合、第2の異常判定方法による、入力パルス信号のレベルとモニタ信号のレベルとが対応しているか否かの判定を行わない。従って、第2の異常判定方法は、エンジン回転速度が比較的低い場合に、出力パルス信号が正常であるか異常であるかの判定を行うものである。   The process shown in the flowchart of FIG. 9 is started when the elapsed time measured by the timer started by the flowchart of FIG. 8 reaches a predetermined time T1. That is, the second abnormality determination method is executed only when the interval between the detected edges is equal to or longer than the predetermined time T1, and when a new edge is detected before the predetermined time T1 has elapsed, the second abnormality determination method is performed. No abnormality determination method is executed. In other words, when the next level change occurs in the input pulse signal before the predetermined time T1 has elapsed after the level of the input pulse signal has changed, the abnormality detection unit 14 performs the input based on the second abnormality determination method. It is not determined whether or not the level of the pulse signal corresponds to the level of the monitor signal. Therefore, the second abnormality determination method determines whether the output pulse signal is normal or abnormal when the engine rotation speed is relatively low.

図9のフローチャートのステップS600では、パルスレベルラッチ部にラッチされた出力パルス信号のレベルとモニタレベルラッチ部にラッチされたモニタ信号のレベルとを読み出して対比する。なお、ステップS600の処理は、エッジの検出から所定時間T1が経過した後に行われる。従って、ステップS600では、出力パルス信号のレベルが変化してから所定時間T1経過した後の、出力パルス信号のレベルとモニタ信号のレベルとが対比される。   In step S600 of the flowchart in FIG. 9, the level of the output pulse signal latched by the pulse level latch unit and the level of the monitor signal latched by the monitor level latch unit are read and compared. Note that the process of step S600 is performed after a predetermined time T1 has elapsed from the detection of the edge. Therefore, in step S600, the level of the output pulse signal and the level of the monitor signal after a lapse of a predetermined time T1 after the level of the output pulse signal changes are compared.

続くステップS610では、対比した出力パルス信号のレベルとモニタ信号のレベルとがとが、対応(一致)しているか否かを判定する。この判定処理において、両信号のレベルは対応していると判定すると、ステップS620の処理に進む。一方、両信号のレベルが対応していないと判定すると、出力パルス信号に何らかの異常が発生していると考えられるので、ステップS650の処理に進む。   In a succeeding step S610, it is determined whether or not the level of the output pulse signal and the level of the monitor signal correspond to each other (match). In this determination processing, if it is determined that the levels of both signals correspond, the process proceeds to step S620. On the other hand, if it is determined that the levels of the two signals do not correspond to each other, it is considered that some abnormality has occurred in the output pulse signal, and the process proceeds to step S650.

ステップS620では、モニタ信号のレベルがHiレベルであるか、Loレベルであるかを判定する。モニタ信号がHiレベルのときに、入力パルス信号のレベルと対応している場合、少なくとも、出力パルス信号の出力経路及びモニタ信号の入力経路にグランドショート異常は発生していないと考えられる。従って、ステップS620において、モニタ信号のレベルがHiレベルと判定したとき、ステップS630の処理に進み、図12のタイミングチャートの時間t34、t38などに示すように、異常検出部14は、第2グランドショート判定保存部に、出力パルス信号が正常であることを示す値「0」を書き込む。   In step S620, it is determined whether the level of the monitor signal is Hi level or Lo level. When the monitor signal is at the Hi level and corresponds to the level of the input pulse signal, it is considered that at least the ground short abnormality has not occurred in at least the output path of the output pulse signal and the input path of the monitor signal. Accordingly, when it is determined in step S620 that the level of the monitor signal is the Hi level, the process proceeds to step S630, and as shown at times t34 and t38 in the timing chart of FIG. A value “0” indicating that the output pulse signal is normal is written in the short determination storage unit.

一方、モニタ信号がLoレベルのときに、入力パルス信号のレベルと対応している場合、少なくとも、出力パルス信号の出力経路及びモニタ信号の入力経路に電源ショート異常は発生していないと考えられる。従って、ステップS620において、モニタ信号のレベルがLoレベルと判定したとき、ステップS640の処理に進み、図12のタイミングチャートの時間t36に示すように、異常検出部14は、第2電源ショート判定保存部に、出力パルス信号が正常であることを示す値「0」を書き込む。   On the other hand, when the monitor signal is at the Lo level and corresponds to the level of the input pulse signal, it is considered that at least the power supply short circuit has not occurred in the output path of the output pulse signal and the input path of the monitor signal. Therefore, when it is determined in step S620 that the level of the monitor signal is Lo level, the process proceeds to step S640, and as shown at time t36 in the timing chart of FIG. A value “0” indicating that the output pulse signal is normal is written in the section.

ステップS630又はS640の処理が完了すると、図9のフローチャートに示す処理を終了する。なお、ステップS630、S640の処理の完了後に、タイマをリセットするとともに再スタートさせてもよい。このようにすると、図11のタイミングチャートの時間t43、t45などに示すように、入力パルス信号のレベルが変化せず、エッジが検出されない場合、所定時間T1経過するごとに、入力パルス信号のレベルと、モニタ信号のレベルとが対応しているか否かの判定を繰り返し実行させることができる。   When the processing in step S630 or S640 is completed, the processing shown in the flowchart in FIG. 9 ends. After the processing of steps S630 and S640 is completed, the timer may be reset and restarted. In this manner, as shown at times t43 and t45 in the timing chart of FIG. 11, when the level of the input pulse signal does not change and no edge is detected, the level of the input pulse signal is increased every time the predetermined time T1 elapses. And whether the level of the monitor signal and the level of the monitor signal correspond to each other can be repeatedly executed.

ステップS650では、入力パルス信号のレベルとモニタ信号のレベルとが不一致であるため、異常時処理を実行する。この異常時処理の詳細について、図10のフローチャートを参照して説明する。   In step S650, since the level of the input pulse signal does not match the level of the monitor signal, an abnormal-time process is executed. Details of the abnormal time process will be described with reference to the flowchart of FIG.

最初のステップS700では、モニタ信号のレベルがHiレベルであるか、Loレベルであるかを判定する。入力パルス信号のレベルとモニタ信号のレベルとが対応せず、かつ、モニタ信号のレベルがLoレベルである場合、出力パルス信号の出力経路及びモニタ信号の入力経路のいずれかにグランドショート異常が発生していると考えられる。従って、ステップS700にて、モニタ信号がLoレベルであると判定すると、ステップS710の処理に進み、異常検出部14は、第2グランドショート判定保存部に、出力パルス信号が異常であることを示す値「1」を書き込む。   In the first step S700, it is determined whether the level of the monitor signal is Hi level or Lo level. If the level of the input pulse signal does not correspond to the level of the monitor signal and the level of the monitor signal is Lo level, a ground short circuit occurs in either the output path of the output pulse signal or the input path of the monitor signal. it seems to do. Therefore, if it is determined in step S700 that the monitor signal is at the Lo level, the process proceeds to step S710, and the abnormality detection unit 14 indicates to the second ground short determination storage unit that the output pulse signal is abnormal. Write the value "1".

一方、入力パルス信号のレベルとモニタ信号のレベルとが対応せず、かつ、モニタ信号のレベルがHiレベルである場合、出力パルス信号の出力経路及びモニタ信号の入力経路のいずれかに電源ショート異常が発生していると考えられる。従って、ステップS700にて、モニタ信号がHiレベルであると判定すると、ステップS720の処理に進み、図12のタイミングチャートの時間t40に示すように、異常検出部14は、第2電源ショート判定保存部に、出力パルス信号が異常であることを示す値「1」を書き込む。   On the other hand, if the level of the input pulse signal does not correspond to the level of the monitor signal, and the level of the monitor signal is Hi level, a power supply short circuit is detected in either the output path of the output pulse signal or the input path of the monitor signal. Is considered to have occurred. Accordingly, if it is determined in step S700 that the monitor signal is at the Hi level, the process proceeds to step S720, and as shown at time t40 in the timing chart of FIG. The value “1” indicating that the output pulse signal is abnormal is written in the section.

なお、図10の異常時処理においても、第1の異常判定方法における異常時処理と同様に、出力パルス信号を停止させるようにしてもよい。   In the abnormality processing of FIG. 10, the output pulse signal may be stopped as in the abnormality processing of the first abnormality determination method.

次に、異常検出部14が、第2の異常判定方法において、第2グランドショート判定保存部と第2電源ショート判定保存部とに保存された値から、第2グランドショート異常判定結果及び第2電源ショート異常判定結果を得るための処理について、図11のフローチャートを参照して説明する。   Next, in the second abnormality determination method, the abnormality detection unit 14 determines the second ground short abnormality determination result and the second ground short abnormality determination value from the values stored in the second ground short determination storage unit and the second power supply short determination storage unit. The process for obtaining the power short-circuit abnormality determination result will be described with reference to the flowchart in FIG.

最初のステップS800では、第1グランドショート判定保存部と第1電源ショート判定保存部とに保存された値をそれぞれ読み込む。続くステップS810では、読み込んだ値の両方が「2」、すなわち、正常判定も異常判定もなされていない未判定であるか、読み込んだ値のいずれかが「1」、すなわち、グランドショート異常または電源ショート異常の判定がなされたか、あるいは、読み込んだ値の両方が「0」、すなわち、グランドショート異常も電源ショート異常も生じておらず、出力パルス信号は正常と判定されたかを判別する。グランドショート異常または電源ショート異常の判定がなされたと判別したときにはステップS820の処理に進む。出力パルス信号は正常と判定されたと判別したときには、ステップS850の処理に進む。未判定であると判別したときには、ステップS860の処理に進む。   In the first step S800, the values stored in the first ground short determination storage unit and the first power short determination storage unit are read. In the following step S810, both of the read values are "2", that is, whether the normal determination or the abnormality determination has not been made, or not yet determined, or one of the read values is "1", that is, the ground short abnormality or the power supply It is determined whether a short-circuit abnormality has been determined, or whether both of the read values are “0”, that is, neither a ground short-circuit abnormality nor a power supply short-circuit abnormality has occurred, and the output pulse signal has been determined to be normal. When it is determined that the ground short abnormality or the power short abnormality has been determined, the process proceeds to step S820. When it is determined that the output pulse signal is determined to be normal, the process proceeds to step S850. If it is determined that the determination has not been made, the process proceeds to step S860.

ステップS820では、第1グランドショート判定保存部と第1電源ショート判定保存部とのどちらの保存部に異常を示す値が保存されていたかを判定する。例えば図12のタイミングチャートの時間t44に示すように、第2電源ショート判定保存部に異常を示す値が保存されていた場合には、ステップS840に進み、電源ショート異常と判定する。この際、図12に示すように、第2グランドショート判定保存部の値に基づき、グランドショート異常について正常判定するようにしてもよい。逆に、第2グランドショート判定保存部に異常を示す値が保存されていた場合には、ステップS830に進んで、グランドショート異常と判定する。   In step S820, it is determined which of the first ground short determination storage unit and the first power short determination storage unit stores the value indicating the abnormality. For example, as shown at time t44 in the timing chart of FIG. 12, when the value indicating the abnormality is stored in the second power short determination storage unit, the process proceeds to step S840, and it is determined that the power short is abnormal. At this time, as shown in FIG. 12, a normal ground shortage abnormality may be determined based on the value of the second ground short determination storage unit. Conversely, when the value indicating the abnormality is stored in the second ground short determination storage unit, the process proceeds to step S830, and it is determined that the ground short is abnormal.

ステップS850では、例えば図12のタイミングチャートの時間t37に示すように、出力パルス信号は正常と判定する。また、ステップS860では、図12のタイミングチャートの時間t30に示すように、正常であるか異常であるか不定であると判定する。図12のタイミングチャートでは、このような判定結果を、正常を示す値「0」、異常を示す値「1」、不定を示す値「2」によって表している。   In step S850, the output pulse signal is determined to be normal, for example, as shown at time t37 in the timing chart of FIG. In step S860, as shown at time t30 in the timing chart of FIG. 12, it is determined that the state is normal, abnormal, or indeterminate. In the timing chart of FIG. 12, such a determination result is represented by a value “0” indicating normal, a value “1” indicating abnormal, and a value “2” indicating indefinite.

最後に、ステップS870において、異常検出部14は、図12のタイミングチャートの時間t30、t37、t44などに示すように、正常であることを示す値「0」及び異常の発生を示す値「1」とは異なる値「2」を、第2グランドショート判定保存部及び第2電源ショート判定保存部に初期値としてセットする。   Finally, in step S870, the abnormality detection unit 14 sets the value “0” indicating normality and the value “1” indicating occurrence of abnormality as shown at times t30, t37, and t44 in the timing chart of FIG. Is set as an initial value in the second ground short determination storage unit and the second power short determination storage unit.

なお、第2の異常判定方法では、電源ショート異常が発生して、モニタ信号のレベルがHiレベルで固定したとき、入力パルス信号がHiレベルから変化しない場合、少なくともグランドショート異常が発生していないことを検出できるのみで、電源ショート異常が発生していることを判定することはできない。逆に、図13のタイミングチャートに示すように、第2の異常判定方法では、電源ショート異常が発生して、モニタ信号のレベルがHiレベルで固定したとき、入力パルス信号のレベルがLoレベルとなっていれば、電源ショート異常が発生していることを判定することが可能となる。グランドショート異常の判定についても同様である。   In the second abnormality determination method, when a power supply short-circuit abnormality occurs and the level of the monitor signal is fixed at the Hi level, and when the input pulse signal does not change from the Hi level, at least the ground short-circuit abnormality does not occur. However, it is not possible to determine that a power short-circuit abnormality has occurred. Conversely, as shown in the timing chart of FIG. 13, in the second abnormality determination method, when a power supply short-circuit abnormality occurs and the level of the monitor signal is fixed at the Hi level, the level of the input pulse signal becomes the Lo level. If so, it is possible to determine that a power short-circuit abnormality has occurred. The same applies to the determination of a ground short abnormality.

以上、本発明の好ましい実施形態について説明したが、本発明は、上述した実施形態になんら制限されることなく、本発明の主旨を逸脱しない範囲において、種々変形して実施することができる。   As described above, the preferred embodiments of the present invention have been described. However, the present invention is not limited to the above-described embodiments, and can be variously modified and implemented without departing from the gist of the present invention.

例えば、上述した実施形態では、第1の異常判定方法及び第2の異常判定方法において、異常の態様が、グランドショート異常であるか、それとも電源ショート異常であるかを判別するようにしている。しかしながら、第1の異常判定方法は、単に、パルス信号のエッジ数とモニタ信号のエッジ数が相違したとき、出力パルス信号の異常と判定し、第2の異常判定方法は、パルス信号のレベルとモニタ信号のレベルとが対応していないとき、出力パルス信号の異常と判定するものであってもよい。   For example, in the above-described embodiment, in the first abnormality determination method and the second abnormality determination method, it is determined whether the abnormality is a ground short abnormality or a power short abnormality. However, the first abnormality determination method simply determines that the output pulse signal is abnormal when the number of edges of the pulse signal and the number of edges of the monitor signal are different, and the second abnormality determination method uses the level of the pulse signal and the level of the pulse signal. When the levels of the monitor signals do not correspond to each other, it may be determined that the output pulse signal is abnormal.

また、上述した実施形態では、パルス信号異常検出装置が車両制御システムに適用され、エンジン回転センサ1のパルス信号を他のECUに中継する場合に、出力部としてのTPU13が出力パルス信号の異常の有無を検出する例について説明した。しかしながら、本発明によるパルス信号異常検出装置の適用例は、そのようにパルス信号を中継する場合に限られない。例えば、ECUが、制御対象機器を駆動するための駆動信号として、周波数が変化するパルス信号を出力する場合に、意図した通りの正常なパルス信号が出力されているか、それとも異常なパルス信号が出力されているかを検出するために、本発明のパルス信号異常検出装置を適用してもよい。   Further, in the above-described embodiment, when the pulse signal abnormality detection device is applied to the vehicle control system and the pulse signal of the engine rotation sensor 1 is relayed to another ECU, the TPU 13 as the output unit detects the abnormality of the output pulse signal. The example of detecting the presence or absence has been described. However, the application example of the pulse signal abnormality detection device according to the present invention is not limited to such a case where the pulse signal is relayed. For example, when the ECU outputs a pulse signal whose frequency changes as a drive signal for driving the device to be controlled, whether a normal pulse signal is output as intended or an abnormal pulse signal is output The pulse signal abnormality detection device of the present invention may be applied to detect whether the pulse signal is detected.

最後に、特許請求の範囲に記載した以外の、上述した実施形態の技術的な特徴点について列記する。
1.第1異常判定部(S100〜S140)は、パルスエッジカウント値がモニタエッジカウント値より大きい場合、出力部(13)からのパルス信号の出力を停止させ、パルス信号を停止させているときのモニタ信号のレベルに基づいて、グランドショート異常と電源ショート異常とのどちらの異常が生じているかを判定する異常態様判定部(S200〜S260)を有する。
2.所定の再開条件が成立したことに応じて、第1異常判定部(S100〜S140)はパルスエッジカウント値とモニタエッジカウント値をクリアするとともに、出力部(13)はパルス信号の出力を再開する。
3.所定の再開条件は、パルス信号の出力を停止している間に、モニタ信号のレベルが変化したこと、外部からパルス信号の出力の再開要求を受けたこと、及び、パルス信号の出力を停止してから所定時間が経過したことのいずれかである。
4.第2異常判定部(S600〜S650)は、パルス信号のレベルが変化してから所定時間(T1)が経過する前に、パルス信号に次のレベル変化が生じた場合、パルス信号のレベルとモニタ信号のレベルとが対応しているか否かの判定を行わない。
5.第2異常判定部(S600〜S650)は、パルス信号のレベルが変化しない場合、所定時間(T1)経過するごとに、パルス信号のレベルと、モニタ信号のレベルとが対応しているか否かの判定を繰り返し実行する。
6.第2異常判定部(S600〜S650)は、パルス信号のレベルとモニタ信号のレベルとが対応しているか否かに関する判定結果を一時的に保存する一時保存部を有し、所定の読み取り周期(T2)毎に、一時保存部に保存された判定結果を読み取り、その読み取った判定結果に基づき異常判定を行うとともに、判定結果を読み取った後、一時保存部の判定結果をクリアする。
7.一時保存部は、第2異常判定部(S600〜S650)において、パルス信号のレベルとモニタ信号のレベルとが非対応であり、モニタ信号のレベルがLoレベルを示すと判定された場合、グランドショート異常を示す異常判定結果を一時的に保存するグランドショート判定保存部と、第2異常判定部(S600〜S650)において、パルス信号のレベルとモニタ信号のレベルとが非対応であり、モニタ信号のレベルがHiレベルを示すと判定された場合、電源ショート異常を示す異常判定結果を一時的に保存する電源ショート判定保存部とを含む。
8.グランドショート異常判定保存部は、パルス信号のレベルとモニタ信号のレベルとが対応しており、モニタ信号のレベルがHiレベルを示すと判定された場合、グランドショート異常は発生していないことを示す正常判定結果を一時的に保存し、電源ショート異常判定保存部は、パルス信号のレベルとモニタ信号のレベルとが対応しており、モニタ信号のレベルがLoレベルを示すと判定された場合、電源ショート異常は発生していないことを示す正常判定結果を一時的に保存し、第2異常判定部(S600〜S650)は、一時保存部の判定結果をクリアする際に、グランドショート異常判定保存部及び電源ショート異常判定保存部に、異常判定結果及び正常判定結果の値とは異なる値をセットする。
Finally, technical features of the above-described embodiment other than those described in the claims are listed.
1. When the pulse edge count value is larger than the monitor edge count value, the first abnormality determination unit (S100 to S140) stops the output of the pulse signal from the output unit (13), and monitors when the pulse signal is stopped. An abnormality mode determination unit (S200 to S260) for determining which of a ground short abnormality and a power short abnormality has occurred based on the signal level.
2. In response to the predetermined restart condition being satisfied, the first abnormality determination unit (S100 to S140) clears the pulse edge count value and the monitor edge count value, and the output unit (13) restarts the output of the pulse signal. .
3. The predetermined restart condition is that the level of the monitor signal has changed while the output of the pulse signal has been stopped, a request to restart the output of the pulse signal has been received from outside, and the output of the pulse signal has been stopped. Either a predetermined time has passed since the start.
4. The second abnormality determining unit (S600 to S650) monitors the level of the pulse signal when the next level change occurs in the pulse signal before a predetermined time (T1) elapses after the level of the pulse signal changes. It is not determined whether or not the signal levels correspond to each other.
5. When the level of the pulse signal does not change, the second abnormality determination unit (S600 to S650) determines whether or not the level of the pulse signal corresponds to the level of the monitor signal every time the predetermined time (T1) elapses. Repeat the judgment.
6. The second abnormality determination unit (S600 to S650) includes a temporary storage unit for temporarily storing a determination result as to whether or not the level of the pulse signal corresponds to the level of the monitor signal. At each T2), the determination result stored in the temporary storage unit is read, an abnormality determination is performed based on the read determination result, and after the determination result is read, the determination result of the temporary storage unit is cleared.
7. When the second abnormality determination unit (S600 to S650) determines that the level of the pulse signal and the level of the monitor signal are incompatible and the level of the monitor signal indicates the Lo level, the temporary storage unit may perform a ground short. The level of the pulse signal and the level of the monitor signal do not correspond to each other in the ground short determination storage unit that temporarily stores the abnormality determination result indicating the abnormality and the second abnormality determination unit (S600 to S650). A power short-circuit determination storage unit that temporarily stores an abnormality determination result indicating a power short-circuit abnormality when the level is determined to indicate a Hi level.
8. The ground short abnormality determination storage unit corresponds to the level of the pulse signal and the level of the monitor signal, and when it is determined that the level of the monitor signal indicates the Hi level, it indicates that no ground short abnormality has occurred. The normality determination result is temporarily stored, and the power supply short-circuit abnormality determination storage unit stores the power supply signal when the level of the pulse signal corresponds to the level of the monitor signal, and the level of the monitor signal is determined to be Lo level. The normal abnormality determination result indicating that no short-circuit abnormality has occurred is temporarily stored, and the second abnormality determination unit (S600 to S650) stores the ground short-circuit abnormality determination storage unit when clearing the determination result of the temporary storage unit. In addition, a value different from the values of the abnormality determination result and the normal determination result is set in the power short-circuit abnormality determination storage unit.

1 :エンジン回転センサ
10:エンジン制御ECU
11:マイコン
12:CPU
13:TPU
14:異常検出部
20:トランスミッション制御ECU
1: engine rotation sensor 10: engine control ECU
11: microcomputer 12: CPU
13: TPU
14: abnormality detection unit 20: transmission control ECU

Claims (5)

周波数が変化するパルス信号を出力する出力部(13)と、
前記出力部から出力されたパルス信号をモニタするモニタ信号を用いて異常検出を行う異常検出部(14)と、を備え、
前記異常検出部は、
前記パルス信号のエッジの数をカウントするパルスエッジカウント値と、前記モニタ信号のエッジの数をカウントするモニタエッジカウント値が一致しているか否かによって異常判定を行う第1異常判定部(S100〜S140)と、
前記パルス信号のレベルと、前記モニタ信号のレベルとが対応しているか否かによって異常判定を行う第2異常判定部(S600〜S650)、と、を含み、
前記第1異常判定部と前記第2異常判定部による異常判定が並行して実行されるパルス信号異常検出装置。
An output unit (13) for outputting a pulse signal whose frequency changes,
An abnormality detection unit (14) that performs abnormality detection using a monitor signal that monitors a pulse signal output from the output unit,
The abnormality detection unit,
A first abnormality determination unit (S100 to S100) for performing an abnormality determination based on whether a pulse edge count value for counting the number of edges of the pulse signal and a monitor edge count value for counting the number of edges of the monitor signal match. S140),
A second abnormality determination unit (S600 to S650) for performing an abnormality determination based on whether or not the level of the pulse signal corresponds to the level of the monitor signal;
A pulse signal abnormality detection device in which abnormality determination by the first abnormality determination unit and the second abnormality determination unit is performed in parallel.
前記異常検出部は、前記第1異常判定部と前記第2異常判定部とのいずれかで異常が判定されると、異常検出を行う請求項1に記載のパルス信号異常検出装置。   The pulse signal abnormality detection device according to claim 1, wherein the abnormality detection unit performs abnormality detection when an abnormality is determined by any of the first abnormality determination unit and the second abnormality determination unit. 前記出力部は、外部から入力された入力パルス信号に応じて、前記入力パルス信号の周波数変化に対応して周波数が変化する前記パルス信号を出力するものであり、
前記第1異常判定部は、前記パルスエッジカウント値として、前記入力パルス信号のエッジの数をカウントした値を用い、及び/又は、前記第2異常判定部は、前記パルス信号のレベルとして、前記入力パルス信号のレベルを用いる請求項1又は2に記載のパルス信号異常検出装置。
The output unit outputs the pulse signal whose frequency changes in response to a change in the frequency of the input pulse signal according to an input pulse signal input from the outside,
The first abnormality determination unit uses a value obtained by counting the number of edges of the input pulse signal as the pulse edge count value, and / or the second abnormality determination unit uses the pulse edge level as the level of the pulse signal. 3. The pulse signal abnormality detection device according to claim 1, wherein a level of the input pulse signal is used.
前記第1異常判定部は、前記パルスエッジカウント値が前記モニタエッジカウント値より小さい場合、前記パルスエッジカウント値と前記モニタエッジカウント値をそれぞれクリアするカウントクリア部(S270)を有する請求項1乃至3のいずれかに記載のパルス信号異常検出装置。   The said 1st abnormality determination part has a count clear part (S270) which clears the said pulse edge count value and the said monitor edge count value, respectively, when the said pulse edge count value is smaller than the said monitor edge count value. 3. The pulse signal abnormality detection device according to any one of 3. 前記第2異常判定部は、前記パルス信号のレベルが変化してから所定時間経過した後、前記パルス信号のレベルと前記モニタ信号のレベルとを対比して、双方のレベルが対応しているか否かを判定する請求項1乃至4のいずれかに記載のパルス信号異常検出装置。   The second abnormality determining unit compares the level of the pulse signal with the level of the monitor signal after a predetermined time has elapsed after the level of the pulse signal has changed, and determines whether both levels correspond to each other. The pulse signal abnormality detection device according to any one of claims 1 to 4, wherein the determination is made.
JP2018158574A 2018-08-27 2018-08-27 Pulse signal abnormality detector Active JP7095491B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2018158574A JP7095491B2 (en) 2018-08-27 2018-08-27 Pulse signal abnormality detector
DE102019209359.0A DE102019209359B4 (en) 2018-08-27 2019-06-27 PULSE SIGNAL ABNORMITY DETECTION DEVICE

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018158574A JP7095491B2 (en) 2018-08-27 2018-08-27 Pulse signal abnormality detector

Publications (2)

Publication Number Publication Date
JP2020036095A true JP2020036095A (en) 2020-03-05
JP7095491B2 JP7095491B2 (en) 2022-07-05

Family

ID=69412293

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018158574A Active JP7095491B2 (en) 2018-08-27 2018-08-27 Pulse signal abnormality detector

Country Status (2)

Country Link
JP (1) JP7095491B2 (en)
DE (1) DE102019209359B4 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115298430A (en) * 2020-04-01 2022-11-04 纬湃科技有限责任公司 Diagnostic method for speed/position sensor
WO2024032431A1 (en) * 2022-08-08 2024-02-15 深圳市恒运昌真空技术有限公司 Radio frequency power supply signal acquisition method and apparatus

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4883096B2 (en) * 2007-01-17 2012-02-22 株式会社村田製作所 Winding body manufacturing method, antenna coil manufacturing method, and antenna coil

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06204993A (en) * 1993-01-07 1994-07-22 Toyo Commun Equip Co Ltd Clock interruption detection circuit
JP2005140555A (en) * 2003-11-04 2005-06-02 Canon Inc Semiconductor integrated circuit inspection device and semiconductor integrated circuit inspection method
WO2013027739A1 (en) * 2011-08-24 2013-02-28 日本電気株式会社 Deterioration diagnostic circuit and deterioration diagnostic method
JP2015018315A (en) * 2013-07-09 2015-01-29 富士通株式会社 Storage control device, control device, and control program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06168163A (en) 1992-09-30 1994-06-14 Nec Home Electron Ltd Method and device for monitoring cpu
JP2002089336A (en) 2000-09-19 2002-03-27 Nissan Motor Co Ltd Failure detection device for electronic control system of vehicle
JP5942963B2 (en) 2013-11-13 2016-06-29 株式会社デンソー Microcomputer monitoring equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06204993A (en) * 1993-01-07 1994-07-22 Toyo Commun Equip Co Ltd Clock interruption detection circuit
JP2005140555A (en) * 2003-11-04 2005-06-02 Canon Inc Semiconductor integrated circuit inspection device and semiconductor integrated circuit inspection method
WO2013027739A1 (en) * 2011-08-24 2013-02-28 日本電気株式会社 Deterioration diagnostic circuit and deterioration diagnostic method
JP2015018315A (en) * 2013-07-09 2015-01-29 富士通株式会社 Storage control device, control device, and control program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115298430A (en) * 2020-04-01 2022-11-04 纬湃科技有限责任公司 Diagnostic method for speed/position sensor
CN115298430B (en) * 2020-04-01 2024-05-28 纬湃科技有限责任公司 Diagnostic method for speed/position sensor
WO2024032431A1 (en) * 2022-08-08 2024-02-15 深圳市恒运昌真空技术有限公司 Radio frequency power supply signal acquisition method and apparatus

Also Published As

Publication number Publication date
DE102019209359A1 (en) 2020-02-27
DE102019209359B4 (en) 2023-03-16
JP7095491B2 (en) 2022-07-05

Similar Documents

Publication Publication Date Title
US7584310B2 (en) Signal processing device
JP2020036095A (en) Pulse signal abnormality detection device
US8417990B2 (en) Multi-core processing system for vehicle control or an internal combustion engine controller
US6775609B2 (en) Electronic control unit for vehicle having operation monitoring function and fail-safe function
CN110594028B (en) Throttle self-learning control method and device and electronic control unit
JP2003323353A (en) Memory diagnostic device and control device
JP3923810B2 (en) Electronic control device for vehicle
JP3904621B2 (en) Crank angle sensor abnormality detection device
JP2000112837A (en) Memory checking device and method therefor
JP5223630B2 (en) Electronic control unit
JP2007026028A (en) Device for detecting abnormality in microcomputer
JP2013029052A (en) Engine control device
JP2002089336A (en) Failure detection device for electronic control system of vehicle
JP2001323836A (en) Abnormality detection method for crank synchronous task
JP6443202B2 (en) Electronic control device for vehicle
JP2021163425A (en) Electronic control device
JP2003294129A (en) Electronic control device for vehicle
JP2013084059A (en) Electronic control device
JP3889523B2 (en) Engine fail-safe device
JP6631452B2 (en) Electronic control unit
WO2013073009A1 (en) Microcomputer system and monitoring microcomputer
JP2004156590A (en) Vehicle control system
JP2003120411A (en) Signal interval measuring device
JP2004137919A (en) Control device for vehicle
JPH0571963B2 (en)

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180903

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210318

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220118

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220121

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220307

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220606

R151 Written notification of patent or utility model registration

Ref document number: 7095491

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151