[go: up one dir, main page]

JP7025261B2 - Vehicle calculation device - Google Patents

Vehicle calculation device Download PDF

Info

Publication number
JP7025261B2
JP7025261B2 JP2018056644A JP2018056644A JP7025261B2 JP 7025261 B2 JP7025261 B2 JP 7025261B2 JP 2018056644 A JP2018056644 A JP 2018056644A JP 2018056644 A JP2018056644 A JP 2018056644A JP 7025261 B2 JP7025261 B2 JP 7025261B2
Authority
JP
Japan
Prior art keywords
input
port
pulse signal
time
rotating body
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
Application number
JP2018056644A
Other languages
Japanese (ja)
Other versions
JP2019168346A (en
Inventor
圭 近藤
孝幸 久須美
剛 川嵜
達明 日比
善浩 渡邉
賢 小野寺
泰幸 前田
悠祐 柴田
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
Advics Co Ltd
Original Assignee
Denso Corp
Advics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp, Advics Co Ltd filed Critical Denso Corp
Priority to JP2018056644A priority Critical patent/JP7025261B2/en
Publication of JP2019168346A publication Critical patent/JP2019168346A/en
Application granted granted Critical
Publication of JP7025261B2 publication Critical patent/JP7025261B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Regulating Braking Force (AREA)
  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)

Description

本発明は、回転体の回転速度の算出及び回転体の回転方向の判定を行う車両の算出装置に関する。 The present invention relates to a vehicle calculation device that calculates the rotation speed of a rotating body and determines the rotation direction of the rotating body.

特許文献1には、クランク軸などの回転体の回転角を算出する算出装置の一例が記載されている。この算出装置が備えるセンサは、回転体の回転方向及び回転体の回転速度に応じたパルス信号を出力する。すなわち、回転体が第1の方向に回転している場合、パルス信号のレベルが「High」レベルで保持される期間の長さであるパルス幅が第1の幅となる。一方、第1の方向の逆方向である第2の方向に回転体が回転している場合、パルス幅が、第1の幅とは異なる第2の幅となる。そのため、パルス信号のパルス幅を検出することにより、回転体の回転方向を判定することができる。 Patent Document 1 describes an example of a calculation device for calculating the rotation angle of a rotating body such as a crank shaft. The sensor included in this calculation device outputs a pulse signal according to the rotation direction of the rotating body and the rotation speed of the rotating body. That is, when the rotating body is rotating in the first direction, the pulse width, which is the length of the period during which the level of the pulse signal is held at the "High" level, becomes the first width. On the other hand, when the rotating body is rotating in the second direction opposite to the first direction, the pulse width becomes a second width different from the first width. Therefore, the rotation direction of the rotating body can be determined by detecting the pulse width of the pulse signal.

ここで、図8を参照し、このようなセンサからのパルス信号を電子回路に入力させ、回転体の回転方向を判定させる処理を同電子回路のCPUに実行させる場合の一例について説明する。図8に示すように、電子回路70は、センサ100からパルス信号が入力されるポート71を有している。電子回路70では、ポート71に立ち上がりエッジが入力されると、このときの時刻に関する情報がポートレジスタ72に保管され、且つ、第1の割り込み処理の実行がCPU73に要求される。そして、CPU73は、第1の割り込み処理では、ポートレジスタ72に保管されている情報をポート71に立ち上がりエッジが入力された時刻に関する情報としてRAM74に記憶させる。また、ポート71に立ち下がりエッジが入力されると、このときの時刻に関する情報がポートレジスタ72に保管され、且つ、第2の割り込み処理の実行がCPU73に要求される。そして、CPU73は、第2の割り込み処理では、ポートレジスタ72に保管されている情報をポート71に立ち下がりエッジが入力された時刻に関する情報としてRAM74に記憶させる。そして、CPU73は、RAM74に記憶された、ポート71に立ち上がりエッジが入力された時刻に関する情報と、ポート71に立ち下がりエッジが入力された時刻に関する情報とを基にパルス幅を算出し、このパルス幅を基に回転体の回転方向を判定する。 Here, with reference to FIG. 8, an example will be described in which a pulse signal from such a sensor is input to an electronic circuit and a process of determining the rotation direction of the rotating body is executed by the CPU of the electronic circuit. As shown in FIG. 8, the electronic circuit 70 has a port 71 to which a pulse signal is input from the sensor 100. In the electronic circuit 70, when the rising edge is input to the port 71, the information about the time at this time is stored in the port register 72, and the CPU 73 is requested to execute the first interrupt process. Then, in the first interrupt process, the CPU 73 stores the information stored in the port register 72 in the RAM 74 as information regarding the time when the rising edge is input to the port 71. Further, when the falling edge is input to the port 71, the information regarding the time at this time is stored in the port register 72, and the CPU 73 is requested to execute the second interrupt process. Then, in the second interrupt process, the CPU 73 stores the information stored in the port register 72 in the RAM 74 as information regarding the time when the falling edge is input to the port 71. Then, the CPU 73 calculates the pulse width based on the information stored in the RAM 74 regarding the time when the rising edge is input to the port 71 and the information regarding the time when the falling edge is input to the port 71, and this pulse. The rotation direction of the rotating body is determined based on the width.

特開2006-38773号公報Japanese Unexamined Patent Publication No. 2006-38773

ポート71に立ち上がりエッジが入力されたために第1の割り込み処理がCPU73に要求されても、第1の割り込み処理よりも先に実行が要求されていた割り込み処理があったり、割り込み処理の禁止期間中に第1の割り込み処理が要求されたりした場合、ポート71に立ち下がりエッジが入力された後で第1の割り込み処理が実行されることがある。この場合、第1の割り込み処理の開始前に、ポートレジスタ72に保管される情報が、ポート71に立ち上がりエッジが入力された時刻に関する情報からポート71に立ち下がりエッジが入力された時刻に関する情報に書き換えられてしまう。このような状態で第1の割り込み処理が実行された場合、第1の割り込み処理によってRAM74に記憶される情報は、ポート71に立ち上がりエッジが入力された時刻に関する情報ではない。その結果、誤った情報に基づいてパルス幅の算出が行われることとなるため、回転体の回転方向を正しく判定できないおそれがある。 Even if the CPU 73 is requested to perform the first interrupt processing because the rising edge is input to the port 71, there may be interrupt processing that was requested to be executed before the first interrupt processing, or during the interrupt processing prohibition period. When the first interrupt processing is requested, the first interrupt processing may be executed after the falling edge is input to the port 71. In this case, the information stored in the port register 72 before the start of the first interrupt processing changes from the information about the time when the rising edge is input to the port 71 to the information about the time when the falling edge is input to the port 71. It will be rewritten. When the first interrupt process is executed in such a state, the information stored in the RAM 74 by the first interrupt process is not the information regarding the time when the rising edge is input to the port 71. As a result, the pulse width is calculated based on erroneous information, so that the rotation direction of the rotating body may not be correctly determined.

上記課題を解決するための車両の算出装置は、回転体と一体回転するロータと、ロータの回転方向及び同ロータの回転速度に応じたパルス信号を出力するパルス信号出力部と、パルス信号出力部から出力されたパルス信号が入力される電子回路と、を備えている。パルス信号のレベルが「High」レベルで保持される期間の長さをパルス幅とした場合、パルス信号出力部は、ロータの回転速度が大きいほどパルスの発生間隔の短いパルス信号を出力し、ロータの回転方向に応じたパルス幅のパルスを含むパルス信号を出力するようになっている。電子回路は、パルス信号が入力される第1のポート及び第2のポートと、立ち上がりエッジ及び立ち下がりエッジの何れか一方のエッジが第1のポートに入力されたときの時刻に関する情報であるエッジ時刻情報が保管されるポートレジスタと、第2のポートに入力されるパルス信号のレベルが「High」レベルである期間の長さであるオン時間を計測するタイマと、回転体の回転方向の判定、及び、回転体の回転速度の算出を行う処理実行部と、を有している。また、電子回路では、第1のポートに上記一方のエッジが入力されると、ポートレジスタに保管されているエッジ時刻情報をメモリに記憶させる第1の割り込み処理の実行が処理実行部に要求され、第2のポートに立ち下がりエッジが入力されると、タイマによって計測されたオン時間をメモリに記憶させる第2の割り込み処理の実行が処理実行部に要求されるようになっている。そして、処理実行部は、第2の割り込み処理の実行によってメモリに記憶したオン時間を基に回転体の回転方向を判定し、第1の割り込み処理の実行によってメモリに記憶したエッジ時刻情報を基に回転体の回転速度を算出する。 The vehicle calculation device for solving the above problems includes a rotor that rotates integrally with the rotating body, a pulse signal output unit that outputs a pulse signal according to the rotation direction of the rotor and the rotation speed of the rotor, and a pulse signal output unit. It is equipped with an electronic circuit to which a pulse signal output from is input. When the length of the period during which the pulse signal level is held at the "High" level is defined as the pulse width, the pulse signal output unit outputs a pulse signal with a shorter pulse generation interval as the rotation speed of the rotor increases, and the rotor A pulse signal including a pulse having a pulse width corresponding to the rotation direction of is output. The electronic circuit is information about the time when the first port and the second port to which the pulse signal is input and one of the rising edge and the falling edge are input to the first port. A port register that stores time information, a timer that measures the on-time, which is the length of the period during which the level of the pulse signal input to the second port is the "High" level, and determination of the rotation direction of the rotating body. , And a processing execution unit that calculates the rotation speed of the rotating body. Further, in the electronic circuit, when one of the above edges is input to the first port, the processing execution unit is requested to execute the first interrupt processing for storing the edge time information stored in the port register in the memory. When a falling edge is input to the second port, the processing execution unit is requested to execute the second interrupt processing for storing the on-time measured by the timer in the memory. Then, the processing execution unit determines the rotation direction of the rotating body based on the on-time stored in the memory by executing the second interrupt processing, and based on the edge time information stored in the memory by executing the first interrupt processing. Calculate the rotation speed of the rotating body.

上記構成によれば、ロータが回転体と一体回転すると、パルス信号出力部からパルス信号が電子回路に入力される。そして、立ち上がりエッジ及び立ち下がりエッジのうちの一方のエッジが第1のポートに入力されると、エッジ時刻情報がポートレジスタに保管され、且つ、第1の割り込み処理の実行が処理実行部に要求される。また、第2のポートに立ち上がりエッジが入力されると、タイマによるオン時間の計測が開始される。そして、第2のポートに立ち下がりエッジが入力されると、タイマによるオン時間の計測が停止され、且つ、第2の割り込み処理の実行が処理実行部に要求される。 According to the above configuration, when the rotor is integrally rotated with the rotating body, a pulse signal is input to the electronic circuit from the pulse signal output unit. Then, when one of the rising edge and the falling edge is input to the first port, the edge time information is stored in the port register, and the processing execution unit is requested to execute the first interrupt processing. Will be done. Further, when the rising edge is input to the second port, the on-time measurement by the timer is started. Then, when the falling edge is input to the second port, the on-time measurement by the timer is stopped, and the processing execution unit is requested to execute the second interrupt processing.

第1の割り込み処理の実行タイミングになると、処理実行部によって第1の割り込み処理が実行される。第1の割り込み処理では、ポートレジスタに保管されているエッジ時刻情報がメモリに記憶される。上記構成では、立ち下がりエッジ及び立ち下がりエッジのうちの他方のエッジが入力されても、ポートレジスタに保管されている情報が別の情報に書き換えられない。そのため、第1の割り込み処理の実行によって、上記一方のエッジが第1のポートに入力されたときの時刻に関する情報を、エッジ時刻情報としてメモリに記憶させることができる。その結果、第1の割り込み処理の実行によってメモリに記憶された情報を基に、回転体の回転速度を算出することができる。 At the execution timing of the first interrupt process, the process execution unit executes the first interrupt process. In the first interrupt process, the edge time information stored in the port register is stored in the memory. In the above configuration, even if the other edge of the falling edge and the falling edge is input, the information stored in the port register is not rewritten to another information. Therefore, by executing the first interrupt process, information regarding the time when one of the edges is input to the first port can be stored in the memory as edge time information. As a result, the rotation speed of the rotating body can be calculated based on the information stored in the memory by executing the first interrupt process.

また、タイマによって計測されるオン時間は、パルス幅に対応する値であり、且つ、第2の割り込み処理の実行によってメモリに記憶される。そのため、メモリに記憶されたオン時間を基に、回転体の回転方向を判定することができる。 Further, the on-time measured by the timer is a value corresponding to the pulse width and is stored in the memory by executing the second interrupt process. Therefore, the rotation direction of the rotating body can be determined based on the on-time stored in the memory.

したがって、上記構成によれば、ポートへのエッジの入力に起因する割り込み処理の実行が遅れても、回転体の回転方向の判定及び回転体の回転速度の算出を行うことが可能となる。 Therefore, according to the above configuration, even if the execution of the interrupt process due to the input of the edge to the port is delayed, it is possible to determine the rotation direction of the rotating body and calculate the rotation speed of the rotating body.

なお、回転体の回転方向の判定を第2の割り込み処理で行うようにしてもよいが、この場合には第2の割り込み処理の実行時間が長くなる。このように割り込み処理の実行時間が長くなると、次に実行すべき他の割り込み処理の開始が遅れやすくなる。 The rotation direction of the rotating body may be determined by the second interrupt process, but in this case, the execution time of the second interrupt process becomes long. When the execution time of interrupt processing becomes long in this way, the start of other interrupt processing to be executed next tends to be delayed.

そこで、処理実行部は、回転体の回転方向を判定する判定処理を規定の算出サイクル毎に実行することが好ましい。この構成によれば、第2の割り込み処理が回転体の回転方向の判定を含まない分、第2の割り込み処理の実行時間が長くなることを抑制できる。その結果、各割り込み処理の実行タイミングが遅くなることを抑制できる。 Therefore, it is preferable that the processing execution unit executes the determination processing for determining the rotation direction of the rotating body every predetermined calculation cycle. According to this configuration, since the second interrupt process does not include the determination of the rotation direction of the rotating body, it is possible to suppress the execution time of the second interrupt process from becoming long. As a result, it is possible to prevent the execution timing of each interrupt process from being delayed.

また、回転体の回転速度の算出を第1の割り込み処理で行うようにしてもよいが、この場合には第1の割り込み処理の実行時間が長くなる。このように割り込み処理の実行時間が長くなると、次に実行すべき他の割り込み処理の開始が遅れてしまう。 Further, the rotation speed of the rotating body may be calculated by the first interrupt process, but in this case, the execution time of the first interrupt process becomes long. If the execution time of interrupt processing becomes long in this way, the start of other interrupt processing to be executed next is delayed.

そこで、処理実行部は、回転体の回転速度を算出する速度算出処理を規定の算出サイクル毎に実行することが好ましい。この構成によれば、第1の割り込み処理が回転体の回転速度の算出を含まない分、第1の割り込み処理の実行時間が長くなることを抑制できる。その結果、各割り込み処理の実行タイミングが遅くなることを抑制できる。 Therefore, it is preferable that the processing execution unit executes a speed calculation process for calculating the rotation speed of the rotating body every specified calculation cycle. According to this configuration, since the first interrupt process does not include the calculation of the rotation speed of the rotating body, it is possible to suppress the execution time of the first interrupt process from becoming long. As a result, it is possible to prevent the execution timing of each interrupt process from being delayed.

近年、各種の車両の走行支援、及び、車両の自動走行を実現するために、車両の移動方向、すなわち車輪の回転方向を精度良く判定できるようにすることが望まれている。そこで、回転体を車両の車輪とし、ロータを車輪と一体回転させるようにしてもよい。この場合、車両の算出装置によって、車輪の回転方向を判定することができるとともに、車輪の回転速度を算出することができる。 In recent years, in order to realize running support of various vehicles and automatic running of vehicles, it is desired to be able to accurately determine the moving direction of the vehicle, that is, the rotation direction of the wheels. Therefore, the rotating body may be used as a wheel of the vehicle, and the rotor may be integrally rotated with the wheel. In this case, the rotation direction of the wheels can be determined by the vehicle calculation device, and the rotation speed of the wheels can be calculated.

車両の算出装置の一実施形態の概略を示す構成図。The block diagram which shows the outline of one Embodiment of the calculation device of a vehicle. 同算出装置の回転角センサの概略を示す構成図。The block diagram which shows the outline of the rotation angle sensor of the calculation device. (a)~(c)は、同回転角センサのパルス信号出力部から出力されるパルス信号を示すグラフ。(A) to (c) are graphs showing the pulse signal output from the pulse signal output unit of the same rotation angle sensor. CPUによってRAMの記憶内容が更新される様子を示す模式図。The schematic diagram which shows how the storage contents of RAM are updated by a CPU. CPUによって実行される速度算出処理を説明するフローチャート。A flowchart illustrating a speed calculation process executed by the CPU. CPUによって実行される判定処理を説明するフローチャート。A flowchart illustrating a determination process executed by the CPU. (a)~(e)は、各回転角センサからパルス信号が電子回路に入力される際におけるタイミングチャート。(A) to (e) are timing charts when a pulse signal is input to an electronic circuit from each rotation angle sensor. 従来において、センサと、同センサから入力されたパルス信号を処理する電子回路とを示す模式図。Conventionally, a schematic diagram showing a sensor and an electronic circuit that processes a pulse signal input from the sensor.

以下、車両の算出装置の一実施形態を図1~図7に従って説明する。
図1に示すように、本実施形態の算出装置20は、複数(本実施形態では4つ)の車輪11,12,13,14を備える車両に適用される。この算出装置20は、車輪11~14と同数の回転角センサ21,22,23,24と、車輪11~14の回転方向の判定及び車輪11~14の回転速度VWの算出を行う電子回路30とを備えている。本実施形態では、車輪11~14が、「回転体」の一例である。そして、各回転角センサ21~24は、対応する車輪11~14の回転に応じたパルス信号を電子回路30に出力する。
Hereinafter, an embodiment of the vehicle calculation device will be described with reference to FIGS. 1 to 7.
As shown in FIG. 1, the calculation device 20 of this embodiment is applied to a vehicle provided with a plurality of (four in this embodiment) wheels 11, 12, 13, and 14. The calculation device 20 includes the same number of rotation angle sensors 21, 22, 23, 24 as the wheels 11 to 14, and an electronic circuit 30 that determines the rotation direction of the wheels 11 to 14 and calculates the rotation speed VW of the wheels 11 to 14. And have. In this embodiment, the wheels 11 to 14 are an example of a "rotating body". Then, each rotation angle sensor 21 to 24 outputs a pulse signal corresponding to the rotation of the corresponding wheels 11 to 14 to the electronic circuit 30.

電子回路30は、処理実行部の一例であるCPU36と、CPU36によって実行される各種のプログラムが記憶されているROM37と、CPU36による処理の結果が一時的に記憶されるRAM38とを有している。また、電子回路30には、回転角センサ21~24と同数の入力系31,32,33,34が設けられている。すなわち、第1の入力系31には第1の車輪11用の回転角センサ21からパルス信号が入力され、第2の入力系32には第2の車輪12用の回転角センサ22からパルス信号が入力される。また、第3の入力系33には第3の車輪13用の回転角センサ23からパルス信号が入力され、第4の入力系34には第4の車輪14用の回転角センサ24からパルス信号が入力される。 The electronic circuit 30 has a CPU 36 which is an example of a processing execution unit, a ROM 37 which stores various programs executed by the CPU 36, and a RAM 38 which temporarily stores the result of processing by the CPU 36. .. Further, the electronic circuit 30 is provided with the same number of input systems 31, 32, 33, 34 as the rotation angle sensors 21 to 24. That is, a pulse signal is input to the first input system 31 from the rotation angle sensor 21 for the first wheel 11, and a pulse signal is input to the second input system 32 from the rotation angle sensor 22 for the second wheel 12. Is entered. Further, a pulse signal is input to the third input system 33 from the rotation angle sensor 23 for the third wheel 13, and a pulse signal is input to the fourth input system 34 from the rotation angle sensor 24 for the fourth wheel 14. Is entered.

各入力系31~34は、対応する回転角センサ21~24からのパルス信号が入力される第1のポート41及び第2のポート42を有している。また、各入力系31~34は、第1のポート41に立ち上がりエッジが入力されたときの時刻に関する情報であるエッジ時刻情報Teが保管されるポートレジスタ43と、第2のポート42に入力されるパルス信号のレベルが「High」レベルである期間の長さであるオン時間Tonを計測するタイマ44を有している。 Each input system 31 to 34 has a first port 41 and a second port 42 to which a pulse signal from the corresponding rotation angle sensors 21 to 24 is input. Further, each of the input systems 31 to 34 is input to the port register 43 in which the edge time information Te, which is information about the time when the rising edge is input to the first port 41, is stored, and the second port 42. It has a timer 44 for measuring the on-time Ton, which is the length of the period during which the level of the pulse signal is the “High” level.

次に、図2及び図3を参照し、回転角センサ21~24について説明する。
図2に示すように、回転角センサ21~24は、対応する車輪11~14と一体回転するロータ26と、車両の車体に取り付けられている検出系27とを有している。ロータ26は、車輪11~14及びロータ26の回転軸線Zを中心とする周方向に沿ってN極とS極とが交互に着磁されたものである。検出系27には、ロータ26の回転に伴う磁界の変化を検出する2つの回転検出子281,282が設けられている。各回転検出子281,282は、検出した磁界の変化に応じた信号を出力する。また、検出系27には、各回転検出子281,282からの信号が入力されるパルス信号出力部29が設けられている。パルス信号出力部29は、両回転検出子281,282からの信号を基にロータ26の回転速度及び回転方向に応じたパルス信号を生成し、このパルス信号を出力する。
Next, the rotation angle sensors 21 to 24 will be described with reference to FIGS. 2 and 3.
As shown in FIG. 2, the rotation angle sensors 21 to 24 have a rotor 26 that rotates integrally with the corresponding wheels 11 to 14, and a detection system 27 attached to the vehicle body of the vehicle. In the rotor 26, the north pole and the south pole are alternately magnetized along the circumferential direction centered on the rotation axis Z of the wheels 11 to 14 and the rotor 26. The detection system 27 is provided with two rotation detectors 281,282 that detect changes in the magnetic field accompanying the rotation of the rotor 26. Each rotation detector 281,282 outputs a signal corresponding to the change of the detected magnetic field. Further, the detection system 27 is provided with a pulse signal output unit 29 to which signals from the rotation detectors 281,282 are input. The pulse signal output unit 29 generates a pulse signal according to the rotation speed and rotation direction of the rotor 26 based on the signals from both rotation detectors 281,282, and outputs this pulse signal.

車両を前進させるための車輪11~14の回転方向である第1の回転方向を前進方向A1といい、車両を後退させるための車輪11~14の回転方向である第2の回転方向を後退方向A2というものとする。後退方向A2は、前進方向A1の反対方向である。車輪11~14及びロータ26が前進方向A1に回転している場合におけるパルス信号の例が図3(a),(b)に図示されている。図3(b)には、図3(a)に示すパルス信号がパルス信号出力部29から出力される際の車輪11~14及びロータ26の回転速度よりも車輪11~14及びロータ26の回転速度が大きい場合にパルス信号出力部29から出力されるパルス信号が図示されている。 The first rotation direction, which is the rotation direction of the wheels 11 to 14 for advancing the vehicle, is called the forward direction A1, and the second rotation direction, which is the rotation direction of the wheels 11 to 14 for retreating the vehicle, is the reverse direction. Let's call it A2. The backward direction A2 is the opposite direction of the forward direction A1. Examples of pulse signals when the wheels 11 to 14 and the rotor 26 are rotating in the forward direction A1 are shown in FIGS. 3 (a) and 3 (b). 3 (b) shows the rotation of the wheels 11 to 14 and the rotor 26 rather than the rotation speed of the wheels 11 to 14 and the rotor 26 when the pulse signal shown in FIG. 3 (a) is output from the pulse signal output unit 29. The pulse signal output from the pulse signal output unit 29 when the speed is high is shown in the figure.

図3(a),(b)に示すように、パルス信号出力部29は、車輪11~14及びロータ26の回転速度が大きいほど、パルスの発生間隔INTの短いパルス信号を電子回路30に出力する。ただし、パルス信号のレベルが「High」レベルで保持される期間の長さをパルス幅PWとした場合、図3(a)に示すパルス信号におけるパルス幅PW、及び、図3(b)に示すパルス信号におけるパルス幅PWは、第1のパルス幅PW1と等しい。すなわち、車輪11~14及びロータ26が前進方向A1に回転している場合、パルス信号出力部29は、パルス幅PWが第1のパルス幅PW1となるパルスを含むパルス信号を出力する。 As shown in FIGS. 3A and 3B, the pulse signal output unit 29 outputs a pulse signal having a short pulse generation interval INT to the electronic circuit 30 as the rotation speeds of the wheels 11 to 14 and the rotor 26 increase. do. However, when the length of the period during which the level of the pulse signal is held at the “High” level is defined as the pulse width PW, the pulse width PW in the pulse signal shown in FIG. 3 (a) and the pulse width PW shown in FIG. 3 (b) are shown. The pulse width PW in the pulse signal is equal to the first pulse width PW1. That is, when the wheels 11 to 14 and the rotor 26 are rotating in the forward direction A1, the pulse signal output unit 29 outputs a pulse signal including a pulse having a pulse width PW of the first pulse width PW1.

一方、図3(c)には、車輪11~14及びロータ26が後退方向A2に回転している場合におけるパルス信号の例が図示されている。車輪11~14及びロータ26が後退方向A2に回転する場合であっても、パルス信号出力部29は、車輪11~14及びロータ26の回転速度が大きいほど、パルスの発生間隔INTの短いパルス信号を電子回路30に出力するようになっている。ただし、図3(c)に示すパルス信号に含まれるパルスのパルス幅PWは、第1のパルス幅PW1よりも短い第2のパルス幅PW2と等しい。すなわち、本実施形態では、パルス信号出力部29は、車輪11~14及びロータ26の回転方向が後退方向A2である場合には、同回転方向が前進方向A1である場合とはパルス幅PWの異なるパルスを含むパルス信号を出力する。 On the other hand, FIG. 3C shows an example of a pulse signal when the wheels 11 to 14 and the rotor 26 are rotating in the backward direction A2. Even when the wheels 11 to 14 and the rotor 26 rotate in the backward direction A2, the pulse signal output unit 29 has a pulse signal having a shorter pulse generation interval INT as the rotation speed of the wheels 11 to 14 and the rotor 26 increases. Is output to the electronic circuit 30. However, the pulse width PW of the pulse included in the pulse signal shown in FIG. 3C is equal to the second pulse width PW2 shorter than the first pulse width PW1. That is, in the present embodiment, when the rotation direction of the wheels 11 to 14 and the rotor 26 is the backward direction A2, the pulse signal output unit 29 has a pulse width PW as compared with the case where the rotation direction is the forward direction A1. Outputs a pulse signal containing different pulses.

次に、図1、及び4~図6を参照し、電子回路30で実行される各種の処理について説明する。
図1に示すように、対をなす第1のポート41及び第2のポート42には、同一のパルス信号が入力される。例えば、第1の入力系31の第1のポート41及び第2のポート42には、第1の車輪11用の回転角センサ21からのパルス信号が入力される。そして、第1のポート41に立ち上がりエッジが入力されると、ポートレジスタ43には、第1のポート41に立ち上がりエッジが入力されたときの時刻に関する情報であるエッジ時刻情報Teが保管される。すなわち、ポートレジスタ43に保管される情報は、第1のポート41に立ち上がりエッジが入力される毎に書き換えられる。また、第1のポート41に立ち上がりエッジが入力されると、第1の割り込み処理の実行がCPU36に要求される。
Next, with reference to FIGS. 1 and 4 to 6, various processes executed by the electronic circuit 30 will be described.
As shown in FIG. 1, the same pulse signal is input to the paired first port 41 and the second port 42. For example, a pulse signal from the rotation angle sensor 21 for the first wheel 11 is input to the first port 41 and the second port 42 of the first input system 31. Then, when the rising edge is input to the first port 41, the edge time information Te, which is information about the time when the rising edge is input to the first port 41, is stored in the port register 43. That is, the information stored in the port register 43 is rewritten each time a rising edge is input to the first port 41. Further, when the rising edge is input to the first port 41, the CPU 36 is requested to execute the first interrupt process.

第2のポート42に立ち上がりエッジが入力されると、タイマ44によってオン時間Tonの計測が開始される。そして、第2のポート42に立ち下がりエッジが入力されると、タイマ44によるオン時間Tonの計測が停止される。また、第2のポート42に立ち下がりエッジが入力されると、第2の割り込み処理の実行がCPU36に要求される。 When the rising edge is input to the second port 42, the timer 44 starts the measurement of the on-time Ton. Then, when the falling edge is input to the second port 42, the on-time Ton measurement by the timer 44 is stopped. Further, when a falling edge is input to the second port 42, the CPU 36 is requested to execute the second interrupt process.

図4に示すように、CPU36は、第1の割り込み処理では、ポートレジスタ43に保管されているエッジ時刻情報Teをメモリの一例であるRAM38の所定領域に記憶させ、且つ、RAM38に記憶されている更新カウンタCuを「1」だけインクリメントさせる。具体的には、RAM38には、第1の車輪11用の記憶領域381、第2の車輪12用の記憶領域382、第3の車輪13用の記憶領域383及び第4の車輪14用の記憶領域384が予め用意されている。そして、例えば第1の入力系31の第1のポート41に立ち上がりエッジが入力されたために実行が要求された第1の割り込み処理では、CPU36は、第1の入力系31のポートレジスタ43に保管されているエッジ時刻情報Teを第1の車輪11用の記憶領域381に上書き記憶させ、且つ、記憶領域381の更新カウンタCuを更新する。なお、第1の入力系31以外の他の入力系32~34の第1のポート41に立ち上がりエッジが入力されたために実行が要求される第1の割り込み処理の内容は、第1の入力系31の第1のポート41に立ち上がりエッジが入力されたために実行が要求される第1の割り込み処理の内容と同等であるため、その説明を割愛する。 As shown in FIG. 4, in the first interrupt process, the CPU 36 stores the edge time information Te stored in the port register 43 in a predetermined area of the RAM 38, which is an example of the memory, and is stored in the RAM 38. The update counter Cu is incremented by "1". Specifically, the RAM 38 contains a storage area 381 for the first wheel 11, a storage area 382 for the second wheel 12, a storage area 383 for the third wheel 13, and storage for the fourth wheel 14. Area 384 is prepared in advance. Then, for example, in the first interrupt processing requested to be executed because the rising edge is input to the first port 41 of the first input system 31, the CPU 36 stores it in the port register 43 of the first input system 31. The edge time information Te is overwritten and stored in the storage area 381 for the first wheel 11, and the update counter Cu in the storage area 381 is updated. The content of the first interrupt processing required to be executed because the rising edge is input to the first port 41 of the other input systems 32 to 34 other than the first input system 31 is the first input system. Since it is equivalent to the content of the first interrupt processing required to be executed because the rising edge is input to the first port 41 of 31, the description thereof is omitted.

図4に示すように、CPU36は、第2の割り込み処理では、タイマ44で計測されたオン時間TonをRAM38の所定領域に記憶させる。例えば第1の入力系31の第2のポート42に立ち下がりエッジが入力されたために実行が要求された第2の割り込み処理では、CPU36は、第1の入力系31のタイマ44で計測されたオン時間Tonを第1の車輪11用の記憶領域381に上書き記憶させる。なお、第1の入力系31以外の他の入力系32~34の第2のポート42に立ち下がりエッジが入力されたために実行が要求される第2の割り込み処理の内容は、第1の入力系31の第2のポート42に立ち下がりエッジが入力されたために実行が要求された第2の割り込み処理の内容と同等であるため、その説明を割愛する。 As shown in FIG. 4, in the second interrupt process, the CPU 36 stores the on-time Ton measured by the timer 44 in a predetermined area of the RAM 38. For example, in the second interrupt processing requested to be executed because the falling edge is input to the second port 42 of the first input system 31, the CPU 36 is measured by the timer 44 of the first input system 31. The on-time Ton is overwritten and stored in the storage area 381 for the first wheel 11. The content of the second interrupt processing required to be executed because the falling edge is input to the second port 42 of the other input systems 32 to 34 other than the first input system 31 is the first input. Since it is equivalent to the content of the second interrupt processing requested to be executed because the falling edge is input to the second port 42 of the system 31, the description thereof is omitted.

CPU36は、第1の割り込み処理及び第2の割り込み処理の他、車輪11~14の回転方向を判定する判定処理、及び、車輪11~14の回転速度VWを算出する速度算出処理を実行する。本実施形態では、CPU36は、判定処理及び速度算出処理を規定の算出サイクル毎に実行する。すなわち、車輪11~14の回転方向の判定及び車輪11~14の回転速度VWの算出は、第1の割り込み処理及び第2の割り込み処理とは別に行われる。なお、算出サイクルの時間的な長さは、第1のパルス幅PW1及び第2のパルス幅PW2のうちの大きい方のパルス幅よりも十分に長い。 In addition to the first interrupt process and the second interrupt process, the CPU 36 executes a determination process for determining the rotation direction of the wheels 11 to 14 and a speed calculation process for calculating the rotation speed VW of the wheels 11 to 14. In the present embodiment, the CPU 36 executes the determination process and the speed calculation process every specified calculation cycle. That is, the determination of the rotation direction of the wheels 11 to 14 and the calculation of the rotation speed VW of the wheels 11 to 14 are performed separately from the first interrupt processing and the second interrupt processing. The temporal length of the calculation cycle is sufficiently longer than the larger pulse width of the first pulse width PW1 and the second pulse width PW2.

図5には、速度算出処理を説明するフローチャートが図示されている。速度算出処理において、CPU36は、第Nの車輪用の更新カウンタCuをRAM38から読み出す(S11)。第Nの車輪用の更新カウンタCuとは、RAM38における第Nの車輪用の記憶領域に記憶されている更新カウンタCuのことである。例えば係数Nが「1」である場合、CPU36は、第1の車輪11用の記憶領域381から更新カウンタCuを読み出す。 FIG. 5 shows a flowchart illustrating the speed calculation process. In the speed calculation process, the CPU 36 reads the update counter Cu for the Nth wheel from the RAM 38 (S11). The update counter Cu for the Nth wheel is an update counter Cu stored in the storage area for the Nth wheel in the RAM 38. For example, when the coefficient N is "1", the CPU 36 reads the update counter Cu from the storage area 381 for the first wheel 11.

続いて、CPU36は、読み出した第Nの車輪用の更新カウンタCuを基に、第Nの車輪の回転速度VWを算出する(S12)。更新カウンタCuは、速度算出処理が前回に実行された時点から速度算出処理が今回実行されるまでの間で第1のポート41に立ち上がりエッジが入力された回数である。パルス信号出力部29から出力されるパルス信号では、車輪11~14の回転速度が大きいほどパルスの発生間隔INTが短い。そのため、更新カウンタCuが大きいほど、車輪11~14の回転速度が大きいということができる。したがって、ステップS12では、CPU36は、読み出した更新カウンタCuが大きいほど回転速度VWが大きくなるように第Nの車輪の回転速度VWを算出する。 Subsequently, the CPU 36 calculates the rotation speed VW of the Nth wheel based on the read update counter Cu for the Nth wheel (S12). The update counter Cu is the number of times a rising edge is input to the first port 41 from the time when the speed calculation process is executed last time to the time when the speed calculation process is executed this time. In the pulse signal output from the pulse signal output unit 29, the higher the rotation speed of the wheels 11 to 14, the shorter the pulse generation interval INT. Therefore, it can be said that the larger the update counter Cu, the higher the rotation speed of the wheels 11 to 14. Therefore, in step S12, the CPU 36 calculates the rotation speed VW of the Nth wheel so that the rotation speed VW increases as the read update counter Cu increases.

そして、CPU36は、第Nの車輪用の更新カウンタCuを「0」にリセットする(S13)。すなわち、CPU36は、RAM38における第Nの車輪用の記憶領域に記憶されている更新カウンタCuを「0」にリセットする。例えば係数Nが「1」である場合、CPU36は、第1の車輪11用の記憶領域381の更新カウンタCuを「0」にリセットする。続いて、CPU36は、係数Nを「1」だけインクリメントし(S14)、係数Nが「4」よりも大きいか否かを判定する(S15)。本実施形態では、回転角センサ21~24の数が「4つ」であるため、ステップS15では、係数Nと「4」とを用いた判定が行われる。係数Nが「4」以下である場合、今回の速度算出処理での全ての車輪11~14の回転速度VWの算出が完了したとの判定がなされない。一方、係数Nが「4」よりも大きい場合は、今回の速度算出処理での全ての車輪11~14の回転速度VWの算出が完了したと判定する。 Then, the CPU 36 resets the update counter Cu for the Nth wheel to “0” (S13). That is, the CPU 36 resets the update counter Cu stored in the storage area for the Nth wheel in the RAM 38 to “0”. For example, when the coefficient N is "1", the CPU 36 resets the update counter Cu of the storage area 381 for the first wheel 11 to "0". Subsequently, the CPU 36 increments the coefficient N by "1" (S14), and determines whether or not the coefficient N is larger than "4" (S15). In the present embodiment, since the number of rotation angle sensors 21 to 24 is "4", the determination using the coefficient N and "4" is performed in step S15. When the coefficient N is "4" or less, it is not determined that the calculation of the rotation speed VW of all the wheels 11 to 14 in the current speed calculation process is completed. On the other hand, when the coefficient N is larger than "4", it is determined that the calculation of the rotation speed VW of all the wheels 11 to 14 in the current speed calculation process is completed.

そのため、係数Nが「4」以下である場合(S15:NO)、CPU36は、前述したステップS11の処理を実行する。一方、係数Nが「4」よりも大きい場合(S15:YES)、CPU36は、係数Nを「1」と等しくする(S16)。その後、CPU36は、速度算出処理を終了する。 Therefore, when the coefficient N is “4” or less (S15: NO), the CPU 36 executes the process of step S11 described above. On the other hand, when the coefficient N is larger than "4" (S15: YES), the CPU 36 makes the coefficient N equal to "1" (S16). After that, the CPU 36 ends the speed calculation process.

図6には、判定処理を説明するフローチャートが図示されている。判定処理において、CPU36は、第Mの車輪用のオン時間TonをRAM38から読み出す(S21)。第Mの車輪用のオン時間Tonとは、RAM38における第Mの車輪用の記憶領域に記憶されているオン時間Tonのことである。例えば係数Mが「1」である場合、CPU36は、第1の車輪11用の記憶領域381からオン時間Tonを読み出す。続いて、CPU36は、読み出した第Mの車輪用のオン時間Tonが方向判定時間TonTh以上であるか否かを判定する(S22)。方向判定時間TonThは、第1のパルス幅PW1よりも短く、且つ、第2のパルス幅PW2よりも長い時間に設定されている。そのため、第Mの車輪用のオン時間Tonが方向判定時間TonTh以上である場合(S22:YES)、CPU36は、第Mの車輪の回転方向が前進方向A1であると判定する(S23)。そして、CPU36は、その処理を後述するステップS25に移行する。一方、第Mの車輪用のオン時間Tonが方向判定時間TonTh未満である場合(S22:NO)、CPU36は、第Mの車輪の回転方向が後退方向A2であると判定する(S24)。そして、CPU36は、その処理を次のステップS25に移行する。 FIG. 6 shows a flowchart illustrating the determination process. In the determination process, the CPU 36 reads the on-time Ton for the Mth wheel from the RAM 38 (S21). The on-time Ton for the Mth wheel is an on-time Ton stored in the storage area for the Mth wheel in the RAM 38. For example, when the coefficient M is "1", the CPU 36 reads out the on-time Ton from the storage area 381 for the first wheel 11. Subsequently, the CPU 36 determines whether or not the read-out on-time Ton for the Mth wheel is equal to or longer than the direction determination time TonTh (S22). The direction determination time TonTh is set to be shorter than the first pulse width PW1 and longer than the second pulse width PW2. Therefore, when the on-time Ton for the Mth wheel is equal to or longer than the direction determination time TonTh (S22: YES), the CPU 36 determines that the rotation direction of the Mth wheel is the forward direction A1 (S23). Then, the CPU 36 shifts the process to step S25, which will be described later. On the other hand, when the on-time Ton for the Mth wheel is less than the direction determination time TonTh (S22: NO), the CPU 36 determines that the rotation direction of the Mth wheel is the backward direction A2 (S24). Then, the CPU 36 shifts the process to the next step S25.

ステップS25において、CPU36は、係数Mを「1」だけインクリメントする。続いて、CPU36は、係数Mが「4」よりも大きいか否かを判定する(S26)。本実施形態では、回転角センサ21~24の数が「4つ」であるため、ステップS26では、係数Mと「4」とを用いた判定が行われる。そのため、係数Mが「4」以下である場合、今回の判定処理での全ての車輪11~14の回転方向の判定が完了したとの判定がなされない。一方、係数Mが「4」よりも大きい場合は、今回の判定処理での全ての車輪11~14の回転方向の判定が完了したと判定する。そして、係数Mが「4」以下である場合(S26:NO)、CPU36は、前述したステップS21の処理を実行する。一方、係数Mが「4」よりも大きい場合(S26:YES)、CPU36は、係数Mを「1」と等しくする(S27)。その後、CPU36は、判定処理を終了する。 In step S25, the CPU 36 increments the coefficient M by "1". Subsequently, the CPU 36 determines whether or not the coefficient M is larger than "4" (S26). In the present embodiment, since the number of rotation angle sensors 21 to 24 is "4", the determination using the coefficient M and "4" is performed in step S26. Therefore, when the coefficient M is "4" or less, it is not determined that the determination of the rotation directions of all the wheels 11 to 14 in the present determination process is completed. On the other hand, when the coefficient M is larger than "4", it is determined that the determination of the rotation directions of all the wheels 11 to 14 in the present determination process is completed. Then, when the coefficient M is "4" or less (S26: NO), the CPU 36 executes the process of step S21 described above. On the other hand, when the coefficient M is larger than "4" (S26: YES), the CPU 36 makes the coefficient M equal to "1" (S27). After that, the CPU 36 ends the determination process.

次に、図7を参照し、本実施形態の作用及び効果について説明する。なお、図7(e)において、「PIP1」は規定の算出サイクル毎に実行される判定処理のことを表し、「PIP2」は規定の算出サイクル毎に実行される速度算出処理のことを表している。また、「IP1」は第1の割り込み処理のことを表し、「IP2」は第2の割り込み処理のことを表している。判定処理(PIP1)及び速度算出処理(PIP2)の実行途中に当該処理で使用されるデータ(エッジ時刻情報Te、更新カウンタCu及びオン時間Tonなど)が更新されると、当該処理での演算結果を誤る可能性がある。そのため、判定処理(PIP1)及び速度算出処理(PIP2)の実行途中では、第1の割り込み処理(IP1)及び第2の割り込み処理(IP2)の実行が禁止される。具体的には、例えば判定処理(PIP1)の最初で割り込みが禁止された後に判定処理(PIP1)の実行中に立ち上がりエッジが入力された場合、立ち上がりエッジが入力された時刻に関する情報がポートレジスタ43に保管され、第1の割り込み処理(IP1)の実行が要求される。しかし、CPU36では、割り込み禁止が解除されるまで第1の割り込み処理(IP1)の実行要求を受け付けない。なお、図7に示す例では、判定処理(PIP1)と速度算出処理(PIP2)とを連続した処理として扱い、判定処理(PIP1)の実行開始時に割り込みが禁止され、速度算出処理(PIP2)の実行終了時に割り込み禁止が解除される。 Next, the operation and effect of this embodiment will be described with reference to FIG. 7. In FIG. 7 (e), "PIP1" represents a determination process executed in each specified calculation cycle, and "PIP2" represents a speed calculation process executed in each specified calculation cycle. There is. Further, "IP1" represents the first interrupt processing, and "IP2" represents the second interrupt processing. If the data (edge time information Te, update counter Cu, on-time Ton, etc.) used in the process is updated during the execution of the determination process (PIP1) and the speed calculation process (PIP2), the calculation result in the process is updated. May be mistaken. Therefore, the execution of the first interrupt process (IP1) and the second interrupt process (IP2) is prohibited during the execution of the determination process (PIP1) and the speed calculation process (PIP2). Specifically, for example, when the rising edge is input during the execution of the judgment processing (PIP1) after the interrupt is disabled at the beginning of the judgment processing (PIP1), the information about the time when the rising edge is input is the port register 43. It is stored in and is requested to execute the first interrupt processing (IP1). However, the CPU 36 does not accept the execution request of the first interrupt process (IP1) until the interrupt prohibition is released. In the example shown in FIG. 7, the determination process (PIP1) and the speed calculation process (PIP2) are treated as continuous processes, interrupts are prohibited at the start of execution of the determination process (PIP1), and the speed calculation process (PIP2) is performed. Interrupt prohibition is canceled at the end of execution.

図7(a),(b),(c),(d),(e)に示す例では、判定処理が実行されている時刻t11で、第1の入力系31の第1及び第2の各ポート41,42に立ち上がりエッジが入力される。すると、第1の入力系31のポートレジスタ43には時刻t11に関する情報が第1のポート41に立ち上がりエッジが入力された時刻に関する情報として保管され、第1の入力系31のタイマ44によるオン時間Tonの計測が開始される。また、この際には第1の割り込み処理の実行がCPU36に要求される。しかし、時刻t11では、判定処理が実行中であり、且つ速度算出処理が未だ実行されていないため、第1の割り込み処理は未だ実行されない。 In the example shown in FIGS. 7 (a), (b), (c), (d), and (e), the first and second inputs of the first input system 31 at time t11 when the determination process is executed. A rising edge is input to each of the ports 41 and 42. Then, the information about the time t11 is stored in the port register 43 of the first input system 31 as the information about the time when the rising edge is input to the first port 41, and the on-time by the timer 44 of the first input system 31 is stored. Ton measurement is started. Further, at this time, the CPU 36 is required to execute the first interrupt process. However, at time t11, the determination process is being executed and the speed calculation process has not yet been executed, so that the first interrupt process is not yet executed.

また、その後の時刻t12で、第2の入力系32の第1及び第2の各ポート41,42に立ち上がりエッジが入力される。すると、第2の入力系32のポートレジスタ43には、時刻t12に関する情報が第1のポート41に立ち上がりエッジが入力された時刻に関する情報として保管され、第2の入力系32のタイマ44によるオン時間Tonの計測が開始される。また、この際には第1の割り込み処理の実行がCPU36に要求される。しかし、時刻t12では、判定処理が未だ実行中であり、さらには速度算出処理、及び、第1の入力系31の第1のポート41に立ち上がりエッジが入力されたことに起因する第1の割り込み処理が未だ実行されていない。そのため、第2の入力系32の第1のポート41に立ち上がりエッジが入力されたことに起因する第1の割り込み処理は未だ実行されない。 Further, at the subsequent time t12, rising edges are input to the first and second ports 41 and 42 of the second input system 32. Then, the information about the time t12 is stored in the port register 43 of the second input system 32 as the information about the time when the rising edge is input to the first port 41, and is turned on by the timer 44 of the second input system 32. The measurement of time Ton is started. Further, at this time, the CPU 36 is required to execute the first interrupt process. However, at time t12, the determination process is still being executed, and the speed calculation process and the first interrupt due to the rising edge being input to the first port 41 of the first input system 31. The process has not been executed yet. Therefore, the first interrupt processing due to the rising edge being input to the first port 41 of the second input system 32 is not yet executed.

そして、判定処理の実行が完了すると、速度算出処理の実行が開始される。速度算出処理が実行中である時刻t13で、第3の入力系33の第1及び第2の各ポート41,42に立ち上がりエッジが入力される。すると、第3の入力系33のポートレジスタ43には時刻t13に関する情報が第1のポート41に立ち上がりエッジが入力された時刻に関する情報として保管され、第3の入力系33のタイマ44によるオン時間Tonの計測が開始される。また、この際には第1の割り込み処理の実行がCPU36に要求される。 Then, when the execution of the determination process is completed, the execution of the speed calculation process is started. At time t13 when the speed calculation process is being executed, rising edges are input to the first and second ports 41 and 42 of the third input system 33. Then, the information about the time t13 is stored in the port register 43 of the third input system 33 as the information about the time when the rising edge is input to the first port 41, and the on-time by the timer 44 of the third input system 33 is stored. Ton measurement is started. Further, at this time, the CPU 36 is required to execute the first interrupt process.

さらに、その後の時刻t14で、第4の入力系34の第1及び第2の各ポート41,42に立ち上がりエッジが入力される。すると、第4の入力系34のポートレジスタ43には時刻t14に関する情報が第1のポート41に立ち上がりエッジが入力された時刻に関する情報として保管され、第4の入力系34のタイマ44によるオン時間Tonの計測が開始される。また、この際には第1の割り込み処理の実行がCPU36に要求される。 Further, at the subsequent time t14, rising edges are input to the first and second ports 41 and 42 of the fourth input system 34. Then, the information about the time t14 is stored in the port register 43 of the fourth input system 34 as the information about the time when the rising edge is input to the first port 41, and the on-time by the timer 44 of the fourth input system 34 is stored. Ton measurement is started. Further, at this time, the CPU 36 is required to execute the first interrupt process.

図7に示す例では、時刻t14で、第1の入力系31の第1及び第2の各ポート41,42に立ち下がりエッジが入力される。すると、第1の入力系31のタイマ44によるオン時間Tonの計測が停止され、且つ、第2の割り込み処理の実行が要求される。しかし、この時点では、速度算出処理が未だ実行中であり、且つ、各第1の割り込み処理が未だ実行されていない。そのため、第2の割り込み処理は未だ実行されない。 In the example shown in FIG. 7, at time t14, falling edges are input to the first and second ports 41 and 42 of the first input system 31. Then, the measurement of the on-time Ton by the timer 44 of the first input system 31 is stopped, and the execution of the second interrupt process is requested. However, at this point, the speed calculation process is still being executed, and each first interrupt process is not yet executed. Therefore, the second interrupt process is not yet executed.

その後の時刻t15で速度算出処理の実行が完了すると、第1の入力系31の第1のポート41に立ち上がりエッジが入力されたことに起因する第1の割り込み処理の実行が開始される。時刻t15では、第1の入力系31の第1及び第2の各ポート41,42には立ち下がりエッジが既に入力されている。しかし、本実施形態では、第1のポート41に立ち下がりエッジが入力されても、ポートレジスタ43に保管されている情報は書き換えられない。そのため、第1の入力系31の第1のポート41に立ち下がりエッジが入力された後で第1の割り込み処理が実行されても、時刻t11に関する情報をRAM38における第1の車輪11用の記憶領域381に記憶させることができる。 When the execution of the speed calculation process is completed at the subsequent time t15, the execution of the first interrupt process due to the rising edge being input to the first port 41 of the first input system 31 is started. At time t15, falling edges have already been input to the first and second ports 41 and 42 of the first input system 31. However, in the present embodiment, even if the falling edge is input to the first port 41, the information stored in the port register 43 is not rewritten. Therefore, even if the first interrupt process is executed after the falling edge is input to the first port 41 of the first input system 31, the information about the time t11 is stored for the first wheel 11 in the RAM 38. It can be stored in the area 381.

時刻t16で第1の入力系31の第1のポート41に立ち上がりエッジが入力されたことに起因する第1の割り込み処理の実行が完了すると、第2の入力系32の第1のポート41に立ち上がりエッジが入力されたことに起因する第1の割り込み処理が実行される。この第1の割り込み処理では、時刻t12に関する情報がRAM38における第2の車輪12用の記憶領域382に記憶される。 When the execution of the first interrupt processing due to the rising edge being input to the first port 41 of the first input system 31 at time t16 is completed, the first port 41 of the second input system 32 is used. The first interrupt processing due to the input of the rising edge is executed. In this first interrupt process, information about the time t12 is stored in the storage area 382 for the second wheel 12 in the RAM 38.

本実施形態では、複数の回転角センサ21~24からパルス信号が電子回路30にそれぞれ入力されるようになっている。そして、各第1のポート41に立ち上がりエッジが入力される毎に、第1の割り込み処理の実行がCPU36に要求される。そのため、第1の割り込み処理の実行がCPU36に要求された時点と、第1の割り込み処理がCPU36で実際に実行される時点とのタイムラグが大きくなりやすい。この点、本実施形態では、一つの回転角センサに対して2つのポート41,42が設けられており、各ポート41,42のうちの第1のポート41に立ち下がりエッジが入力されても、ポートレジスタ43に保管される情報が書き換えられないようになっている。そのため、第1のポート41に立ち下がりエッジが入力された後で第1の割り込み処理が実行されたとしても、第1のポート41に立ち上がりエッジが入力されたときの時刻に関する情報をRAM38に記憶させることができる。そのため、速度算出処理によって、車輪11~14の回転速度VWを算出することができる。 In the present embodiment, pulse signals are input to the electronic circuit 30 from the plurality of rotation angle sensors 21 to 24, respectively. Then, every time a rising edge is input to each of the first ports 41, the CPU 36 is requested to execute the first interrupt process. Therefore, the time lag between the time when the CPU 36 is requested to execute the first interrupt process and the time when the first interrupt process is actually executed by the CPU 36 tends to be large. In this respect, in this embodiment, two ports 41 and 42 are provided for one rotation angle sensor, and even if a falling edge is input to the first port 41 of the ports 41 and 42, respectively. , The information stored in the port register 43 cannot be rewritten. Therefore, even if the first interrupt processing is executed after the falling edge is input to the first port 41, the RAM 38 stores information about the time when the rising edge is input to the first port 41. Can be made to. Therefore, the rotation speed VW of the wheels 11 to 14 can be calculated by the speed calculation process.

時刻t17で第4の入力系34の第1のポート41に立ち上がりエッジが入力されたことに起因する第1の割り込み処理の実行が完了すると、第1の入力系31の第2のポート42に立ち下がりエッジが入力されたことに起因する第2の割り込み処理が実行される。この第2の割り込み処理では、第1の入力系31のタイマ44によって計測されたオン時間Tonが、RAM38における第1の車輪11用の記憶領域381に記憶される。そして、時刻t18で第1の入力系31の第2のポート42に立ち下がりエッジが入力されたことに起因する第2の割り込み処理の実行が完了すると、第2の入力系32の第2のポート42に立ち下がりエッジが入力されたことに起因する第2の割り込み処理が実行される。この第2の割り込み処理では、第2の入力系32のタイマ44によって計測されたオン時間Tonが、RAM38における第2の車輪12用の記憶領域382に記憶される。 When the execution of the first interrupt processing due to the rising edge being input to the first port 41 of the fourth input system 34 at time t17 is completed, the second port 42 of the first input system 31 is used. The second interrupt processing due to the input of the falling edge is executed. In this second interrupt process, the on-time Ton measured by the timer 44 of the first input system 31 is stored in the storage area 381 for the first wheel 11 in the RAM 38. Then, when the execution of the second interrupt processing due to the falling edge being input to the second port 42 of the first input system 31 at time t18 is completed, the second of the second input system 32 The second interrupt processing due to the input of the falling edge to the port 42 is executed. In this second interrupt process, the on-time Ton measured by the timer 44 of the second input system 32 is stored in the storage area 382 for the second wheel 12 in the RAM 38.

本実施形態では、第2の割り込み処理の実行によって、第2のポート42に入力されるパルス信号に含まれるパルス幅PWに対応するオン時間TonがRAM38に記憶される。そのため、第1のポート41に立ち下がりエッジが入力された時刻に関する情報をポートレジスタ43に保管させなくても、判定処理の実行によって車輪11~14の回転方向を判定することができる。 In the present embodiment, by executing the second interrupt process, the on-time Ton corresponding to the pulse width PW included in the pulse signal input to the second port 42 is stored in the RAM 38. Therefore, the rotation direction of the wheels 11 to 14 can be determined by executing the determination process without storing the information regarding the time when the falling edge is input to the first port 41 in the port register 43.

なお、本実施形態では、上記の効果に加え、以下に示す効果をさらに得ることができる。
(1)車輪11の回転方向の判定を第2の割り込み処理で行うようにした場合、第2の割り込み処理の実行時間が長くなる。このように第2の割り込み処理の実行時間が長くなると、次に実行すべき他の割り込み処理の開始が遅れやすくなる。この点、本実施形態では、第2の割り込み処理ではなく、規定の算出サイクル毎に実行される処理で、車輪11の回転方向の判定が行われるようになっている。これにより、第2の割り込み処理が車輪11~14の回転方向の判定を含まない分、第2の割り込み処理の実行時間が長くなることを抑制できる。その結果、各割り込み処理の実行タイミングが遅くなることを抑制できる。
In addition to the above effects, the following effects can be further obtained in the present embodiment.
(1) When the determination of the rotation direction of the wheel 11 is performed by the second interrupt process, the execution time of the second interrupt process becomes long. When the execution time of the second interrupt process becomes long in this way, the start of another interrupt process to be executed next tends to be delayed. In this respect, in the present embodiment, the rotation direction of the wheel 11 is determined not by the second interrupt process but by the process executed every predetermined calculation cycle. As a result, it is possible to prevent the execution time of the second interrupt process from becoming long because the second interrupt process does not include the determination of the rotation direction of the wheels 11 to 14. As a result, it is possible to prevent the execution timing of each interrupt process from being delayed.

(2)車輪11~14の回転速度VWの算出を第1の割り込み処理で行うようにした場合、第1の割り込み処理の実行時間が長くなる。このように第1の割り込み処理の実行時間が長くなると、次に実行すべき他の割り込み処理の開始が遅れてしまう。この点、本実施形態では、第1の割り込み処理ではなく、規定の算出サイクル毎に実行される処理で、車輪11~14の回転速度VWの算出が行われるようになっている。これにより、第1の割り込み処理が車輪11~14の回転速度VWの算出を含まない分、第1の割り込み処理の実行時間が長くなることを抑制できる。その結果、各割り込み処理の実行タイミングが遅くなることを抑制できる。 (2) When the rotation speed VW of the wheels 11 to 14 is calculated by the first interrupt process, the execution time of the first interrupt process becomes long. If the execution time of the first interrupt process becomes long in this way, the start of another interrupt process to be executed next is delayed. In this respect, in the present embodiment, the rotation speed VW of the wheels 11 to 14 is calculated by the process executed every predetermined calculation cycle instead of the first interrupt process. As a result, it is possible to prevent the execution time of the first interrupt processing from becoming long because the first interrupt processing does not include the calculation of the rotation speed VW of the wheels 11 to 14. As a result, it is possible to prevent the execution timing of each interrupt process from being delayed.

上記実施形態は、以下のように変更して実施することができる。上記実施形態及び以下の変更例は、技術的に矛盾しない範囲で互いに組み合わせて実施することができる。
・上記実施形態では、判定処理の実行サイクルが速度算出処理の実行サイクルと同じであった。しかし、判定処理の実行サイクルと速度算出処理の実行サイクルとが互いに相違していてもよい。この場合、判定処理と速度算出処理とが続けて実行されなくなる。そのため、判定処理の実行開始時に割り込み処理の実行が禁止され、同判定処理の実行終了時に割り込み処理の実行禁止が解除されることとなる。同様に、速度算出処理の実行開始時に割り込み処理の実行が禁止され、同速度算出処理の実行終了時に割り込み処理の実行禁止が解除されることとなる。
The above embodiment can be modified and implemented as follows. The above embodiment and the following modified examples can be implemented in combination with each other within a technically consistent range.
-In the above embodiment, the execution cycle of the determination process is the same as the execution cycle of the speed calculation process. However, the execution cycle of the determination process and the execution cycle of the speed calculation process may be different from each other. In this case, the determination process and the speed calculation process are not continuously executed. Therefore, the execution of the interrupt process is prohibited at the start of the execution of the determination process, and the execution prohibition of the interrupt process is released at the end of the execution of the determination process. Similarly, the execution of the interrupt process is prohibited at the start of the execution of the speed calculation process, and the execution prohibition of the interrupt process is canceled at the end of the execution of the same speed calculation process.

・車輪11~14の回転方向の判定を第2の割り込み処理の中で行うようにしてもよい。この場合、例えば第1の入力系31の第2のポート42に立ち下がりエッジが入力されたことに起因する第2の割り込み処理では、タイマ44によって計測されたオン時間TonをRAM38の第1の車輪11用の記憶領域381に記憶させ、同記憶領域381に記憶されたオン時間Tonを基に第1の車輪11の回転方向を判定するようにしてもよい。同様に、例えば第2の入力系32の第2のポート42に立ち下がりエッジが入力されたことに起因する第2の割り込み処理では、タイマ44によって計測されたオン時間TonをRAM38の第2の車輪12用の記憶領域382に記憶させ、同記憶領域382に記憶されたオン時間Tonを基に第2の車輪12の回転方向を判定するようにしてもよい。 -The determination of the rotation direction of the wheels 11 to 14 may be performed in the second interrupt process. In this case, for example, in the second interrupt processing caused by the falling edge being input to the second port 42 of the first input system 31, the on-time Ton measured by the timer 44 is used as the first of the RAM 38. It may be stored in the storage area 381 for the wheel 11 and the rotation direction of the first wheel 11 may be determined based on the on-time Ton stored in the storage area 381. Similarly, in the second interrupt processing caused by, for example, the falling edge being input to the second port 42 of the second input system 32, the on-time Ton measured by the timer 44 is used as the second input of the RAM 38. It may be stored in the storage area 382 for the wheel 12 and the rotation direction of the second wheel 12 may be determined based on the on-time Ton stored in the storage area 382.

・車輪11~14の回転速度VWの算出を第1の割り込み処理の中で行うようにしてもよい。この場合、第1の入力系31の第1のポート41に立ち上がりエッジが入力されたことに起因する第1の割り込み処理では、ポートレジスタ43に保管されているエッジ時刻情報TeをRAM38の第1の車輪11用の記憶領域381に記憶させ、同記憶領域381に記憶されているエッジ時刻情報Teを基に第1の車輪11の回転速度VWを算出するようにしてもよい。 -The rotation speed VW of the wheels 11 to 14 may be calculated in the first interrupt process. In this case, in the first interrupt processing caused by the rising edge being input to the first port 41 of the first input system 31, the edge time information Te stored in the port register 43 is used as the first RAM 38. It may be stored in the storage area 381 for the wheel 11 and the rotation speed VW of the first wheel 11 may be calculated based on the edge time information Te stored in the storage area 381.

・車輪11~14の回転速度VWを、上記実施形態で説明した方法とは異なる方法で算出するようにしてもよい。例えば、エッジ時刻情報Teの最新値とエッジ時刻情報Teの前回値とをRAM38に記憶させるようにし、RAM38に記憶されているエッジ時刻情報Teの最新値とエッジ時刻情報Teの前回値とを基に、第1のポート41に立ち上がりエッジが入力される間隔を算出する。そして、当該間隔が短いほど車輪の回転速度VWが大きくなるように、回転速度VWを算出するようにしてもよい。 The rotation speed VW of the wheels 11 to 14 may be calculated by a method different from the method described in the above embodiment. For example, the latest value of the edge time information Te and the previous value of the edge time information Te are stored in the RAM 38, and the latest value of the edge time information Te and the previous value of the edge time information Te stored in the RAM 38 are used as the basis. In addition, the interval at which the rising edge is input to the first port 41 is calculated. Then, the rotation speed VW may be calculated so that the rotation speed VW of the wheels increases as the interval becomes shorter.

・第1のポート41に立ち下がりエッジが入力されたときに、そのときの時刻に関する情報をエッジ時刻情報Teとしてポートレジスタ43に保管し、第1の割り込み処理の実行をCPU36に要求するようにしてもよい。この場合、第1のポート41に立ち上がりエッジが入力されても、ポートレジスタ43に保管されている情報が書き換えられない。そして、速度算出処理では、RAM38に記憶されている、第1のポート41に立ち下がりエッジが入力されたときの時刻に関する情報を基に、車輪の回転速度VWが算出されることとなる。 When a falling edge is input to the first port 41, information about the time at that time is stored in the port register 43 as edge time information Te, and the CPU 36 is requested to execute the first interrupt processing. You may. In this case, even if the rising edge is input to the first port 41, the information stored in the port register 43 is not rewritten. Then, in the speed calculation process, the rotation speed VW of the wheel is calculated based on the information regarding the time when the falling edge is input to the first port 41 stored in the RAM 38.

・回転角センサ21~24は、ロータ26の回転速度及び回転方向に応じたパルス信号を出力できる構成であれば、上記実施形態で説明した構成とは別の構成であってもよい。
・上記実施形態では、全ての車輪11~14に対して、ロータ26の回転速度及び回転方向に応じたパルス信号を出力できる回転角センサが設けられている。しかし、各車輪11~14のうちの一部の車輪に対してはロータの回転速度及び回転方向に応じたパルス信号を出力できる回転角センサを設け、残りの車輪に対してはロータの回転速度に応じてパルスの発生間隔が変わるものの、回転方向によってパルス幅が変化しないタイプの回転角センサを設けるようにしてもよい。この場合であっても、一部の車輪に対して設けられている回転角センサから出力されるパルス信号を基に、車両の移動方向を判定することができる。
The rotation angle sensors 21 to 24 may have a configuration different from the configuration described in the above embodiment as long as the configuration can output a pulse signal according to the rotation speed and the rotation direction of the rotor 26.
-In the above embodiment, a rotation angle sensor capable of outputting a pulse signal according to the rotation speed and the rotation direction of the rotor 26 is provided for all the wheels 11 to 14. However, for some of the wheels 11 to 14, a rotation angle sensor capable of outputting a pulse signal according to the rotation speed and rotation direction of the rotor is provided, and for the remaining wheels, the rotation speed of the rotor is provided. A type of rotation angle sensor may be provided in which the pulse width does not change depending on the rotation direction, although the pulse generation interval changes according to the above. Even in this case, the moving direction of the vehicle can be determined based on the pulse signal output from the rotation angle sensor provided for some of the wheels.

・上記実施形態では、車両の算出装置を、車輪11~14用の回転角センサ21~24を備える算出装置20に具体化したが、車輪以外の他の回転体用の回転角センサを備える装置に具体化してもよい。例えば、車両の算出装置を、車載エンジンのクランク軸用の回転角センサを備える装置に具体化してもよい。この場合、算出装置は、回転体の一例であるクランク軸の回転速度の算出、及び、クランク軸の回転方向の判定を行うことができる。また、車両の算出装置を、車載の電動モータの回転軸用の回転角センサを備える装置に具体化してもよい。この場合、算出装置は、回転体の一例である電動モータの回転軸の回転速度の算出、及び、回転軸の回転方向の判定を行うことができる。 -In the above embodiment, the vehicle calculation device is embodied in the calculation device 20 including the rotation angle sensors 21 to 24 for the wheels 11 to 14, but the device including the rotation angle sensors for other rotating bodies other than the wheels. It may be embodied in. For example, the vehicle calculation device may be embodied in a device including a rotation angle sensor for the crank shaft of an in-vehicle engine. In this case, the calculation device can calculate the rotation speed of the crank shaft, which is an example of the rotating body, and determine the rotation direction of the crank shaft. Further, the vehicle calculation device may be embodied as a device provided with a rotation angle sensor for the rotation axis of the in-vehicle electric motor. In this case, the calculation device can calculate the rotation speed of the rotation shaft of the electric motor, which is an example of the rotating body, and determine the rotation direction of the rotation shaft.

11~14…回転体の一例である車輪、20…算出装置、26…ロータ、29…パルス信号出力部、30…電子回路、36…処理実行部の一例であるCPU、38…メモリの一例であるRAM、41…第1のポート、42…第2のポート、43…ポートレジスタ、44…タイマ。
11-14 ... Wheels as an example of a rotating body, 20 ... Calculation device, 26 ... Rotor, 29 ... Pulse signal output unit, 30 ... Electronic circuit, 36 ... CPU as an example of processing execution unit, 38 ... An example of memory A RAM, 41 ... first port, 42 ... second port, 43 ... port register, 44 ... timer.

Claims (4)

回転体と一体回転するロータと、前記ロータの回転方向及び同ロータの回転速度に応じたパルス信号を出力するパルス信号出力部と、前記パルス信号出力部から出力されたパルス信号が入力される電子回路と、を備え、
パルス信号のレベルが「High」レベルで保持される期間の長さをパルス幅とした場合、前記パルス信号出力部は、前記ロータの回転速度が大きいほどパルスの発生間隔の短いパルス信号を出力し、前記ロータの回転方向に応じた前記パルス幅のパルスを含むパルス信号を出力するようになっており、
前記電子回路は、
パルス信号が入力される第1のポート及び第2のポートと、
立ち上がりエッジ及び立ち下がりエッジの何れか一方のエッジが前記第1のポートに入力されたときの時刻に関する情報であるエッジ時刻情報が保管されるポートレジスタと、
前記第2のポートに入力されるパルス信号のレベルが「High」レベルである期間の長さであるオン時間を計測するタイマと、
前記回転体の回転方向の判定、及び、前記回転体の回転速度の算出を行う処理実行部と、を有しており、
前記電子回路では、前記第1のポートに前記一方のエッジが入力されると、前記ポートレジスタに保管されている前記エッジ時刻情報をメモリに記憶させる第1の割り込み処理の実行が前記処理実行部に要求され、前記第2のポートに立ち下がりエッジが入力されると、前記タイマによって計測された前記オン時間を前記メモリに記憶させる第2の割り込み処理の実行が前記処理実行部に要求されるようになっており、
前記処理実行部は、前記第2の割り込み処理の実行によって前記メモリに記憶した前記オン時間を基に前記回転体の回転方向を判定し、前記第1の割り込み処理の実行によって前記メモリに記憶した前記エッジ時刻情報を基に前記回転体の回転速度を算出する
車両の算出装置。
A rotor that rotates integrally with the rotating body, a pulse signal output unit that outputs a pulse signal according to the rotation direction of the rotor and the rotation speed of the rotor, and an electron to which a pulse signal output from the pulse signal output unit is input. With a circuit,
When the length of the period during which the pulse signal level is held at the "High" level is defined as the pulse width, the pulse signal output unit outputs a pulse signal having a shorter pulse generation interval as the rotation speed of the rotor increases. , A pulse signal including a pulse having the pulse width corresponding to the rotation direction of the rotor is output.
The electronic circuit is
The first port and the second port to which the pulse signal is input,
A port register in which edge time information, which is information regarding the time when one of the rising edge and the falling edge is input to the first port, is stored, and
A timer for measuring the on-time, which is the length of the period during which the level of the pulse signal input to the second port is the "High" level,
It has a processing execution unit that determines the rotation direction of the rotating body and calculates the rotation speed of the rotating body.
In the electronic circuit, when one of the edges is input to the first port, the process execution unit executes a first interrupt process for storing the edge time information stored in the port register in a memory. When a falling edge is input to the second port, the process execution unit is requested to execute a second interrupt process for storing the on-time measured by the timer in the memory. It has become like
The processing execution unit determines the rotation direction of the rotating body based on the on-time stored in the memory by executing the second interrupt processing, and stores it in the memory by executing the first interrupt processing. A vehicle calculation device that calculates the rotation speed of the rotating body based on the edge time information.
前記処理実行部は、前記回転体の回転方向を判定する判定処理を規定の算出サイクル毎に実行する
請求項1に記載の車両の算出装置。
The vehicle calculation device according to claim 1, wherein the processing execution unit executes a determination process for determining the rotation direction of the rotating body in each specified calculation cycle.
前記処理実行部は、前記回転体の回転速度を算出する速度算出処理を規定の算出サイクル毎に実行する
請求項1又は請求項2に記載の車両の算出装置。
The vehicle calculation device according to claim 1 or 2, wherein the processing execution unit executes a speed calculation process for calculating the rotation speed of the rotating body in each specified calculation cycle.
前記回転体は車両の車輪であり、前記ロータは前記車輪と一体回転する
請求項1~請求項3のうち何れか一項に記載の車両の算出装置。
The vehicle calculation device according to any one of claims 1 to 3, wherein the rotating body is a wheel of a vehicle, and the rotor rotates integrally with the wheel.
JP2018056644A 2018-03-23 2018-03-23 Vehicle calculation device Active JP7025261B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018056644A JP7025261B2 (en) 2018-03-23 2018-03-23 Vehicle calculation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018056644A JP7025261B2 (en) 2018-03-23 2018-03-23 Vehicle calculation device

Publications (2)

Publication Number Publication Date
JP2019168346A JP2019168346A (en) 2019-10-03
JP7025261B2 true JP7025261B2 (en) 2022-02-24

Family

ID=68107248

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018056644A Active JP7025261B2 (en) 2018-03-23 2018-03-23 Vehicle calculation device

Country Status (1)

Country Link
JP (1) JP7025261B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009121397A (en) 2007-11-16 2009-06-04 Mitsubishi Electric Corp Rotor position sensing method and its device, and controller of internal-combustion engine
JP2011007586A (en) 2009-06-25 2011-01-13 Denso Corp Malfunction determination device for crank angle detecting device
JP2013084059A (en) 2011-10-06 2013-05-09 Denso Corp Electronic control device
US20160108842A1 (en) 2014-10-16 2016-04-21 Continental Automotive France Method for communicating a malfunction of a system for measuring speed and direction of rotation of a rotary shaft

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009121397A (en) 2007-11-16 2009-06-04 Mitsubishi Electric Corp Rotor position sensing method and its device, and controller of internal-combustion engine
JP2011007586A (en) 2009-06-25 2011-01-13 Denso Corp Malfunction determination device for crank angle detecting device
JP2013084059A (en) 2011-10-06 2013-05-09 Denso Corp Electronic control device
US20160108842A1 (en) 2014-10-16 2016-04-21 Continental Automotive France Method for communicating a malfunction of a system for measuring speed and direction of rotation of a rotary shaft

Also Published As

Publication number Publication date
JP2019168346A (en) 2019-10-03

Similar Documents

Publication Publication Date Title
US4794536A (en) Steering angle detection device
US20190113347A1 (en) Inertia-based navigation apparatus and inertia-based navigation method based on relative preintegration
US9199666B2 (en) Method for securing the control of the rear wheels of a motor vehicle provided with an electric power steering system
JP2008032591A (en) Angular velocity calculating device, offset determination method therefor, and vehicle stop detector
EP3647148B1 (en) Vehicular control device
JP2015524364A (en) Method for detecting the direction of travel of an automobile
JP7025261B2 (en) Vehicle calculation device
US9605958B2 (en) Method and device for determining the inclined position of a vehicle
JP2004237947A (en) Detecting device for tire air pressure decrease
JP2004148903A (en) Detection device for lowering of air pressure
JP4449201B2 (en) Steering torque estimation device, steering torque estimation method, and steering device
JP2000074931A (en) Car-speed detection device
JP2006234514A (en) Rotational speed detector
JP6233127B2 (en) Gyro sensor offset correction device, vehicular navigation device, and gyro sensor offset correction method
JP6824569B2 (en) Control device
JP3656662B2 (en) Current position calculation device
JPH0850024A (en) Navigation device for vehicle
JP6180623B2 (en) Vehicle speed sensor failure detection device and control method thereof
JP2020134460A (en) Gyro sensor correction system, gyro sensor correction method and processing device
JP5654325B2 (en) Vehicle speed pulse signal processor
JP2004191378A (en) Start segment of rotational angle sensor determination method having periodic characteristic curve and rotational angle sensor
JP3632300B2 (en) Vehicle speed measuring device
JP4735961B2 (en) Navigation device
JPH1183883A (en) Wheel speed computation device
JP2007062467A (en) Steering angle abnormality diagnostic device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201210

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211014

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211026

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220210

R150 Certificate of patent or registration of utility model

Ref document number: 7025261

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250