JP2014214606A - Control device and control method of control device - Google Patents

Control device and control method of control device Download PDF

Info

Publication number
JP2014214606A
JP2014214606A JP2013089462A JP2013089462A JP2014214606A JP 2014214606 A JP2014214606 A JP 2014214606A JP 2013089462 A JP2013089462 A JP 2013089462A JP 2013089462 A JP2013089462 A JP 2013089462A JP 2014214606 A JP2014214606 A JP 2014214606A
Authority
JP
Japan
Prior art keywords
vehicle
speed
engine
microcomputer
control device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2013089462A
Other languages
Japanese (ja)
Inventor
勲 大城
Isao Oshiro
勲 大城
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.)
Shindengen Electric Manufacturing Co Ltd
Original Assignee
Shindengen Electric Manufacturing 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 Shindengen Electric Manufacturing Co Ltd filed Critical Shindengen Electric Manufacturing Co Ltd
Priority to JP2013089462A priority Critical patent/JP2014214606A/en
Publication of JP2014214606A publication Critical patent/JP2014214606A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D45/00Electrical control not provided for in groups F02D41/00 - F02D43/00

Abstract

PROBLEM TO BE SOLVED: To provide a control device that can detect a stopped state in a short time while reducing an arithmetic processing time.SOLUTION: A control device comprises: a F/V converter into which a pulse signal outputted by a speed sensor is inputted and that outputs an analog signal of a voltage based on a frequency of the pulse signal; and a microcomputer that includes an analog/digital conversion input terminal into which the analog signal outputted by the F/V converter is inputted, obtains a digital value based on the analog signal inputted via the analog/digital conversion input terminal, calculates a value based on the digital value, and executes predetermined control depending on the calculated value.

Description

本発明は、制御装置、および、制御装置の制御方法に関する発明である。   The present invention relates to a control device and a control method of the control device.

従来、例えば、特許文献1から3に記載のように、2輪車等の車両のエンジン等を制御する制御装置(ECU:Electric Control Unit)がある。   Conventionally, for example, as disclosed in Patent Documents 1 to 3, there is a control device (ECU: Electric Control Unit) that controls an engine of a vehicle such as a two-wheeled vehicle.

図2は、従来の制御装置100Aを含むシステム1000Aの一例を示す図である。   FIG. 2 is a diagram illustrating an example of a system 1000A including a conventional control device 100A.

図2に示すように、システム1000Aは、制御装置100Aと、速度センサVSと、各種センサXSと、スイッチ回路SWと、第1の負荷R1と、第2の負荷R2と、第3の負荷R3と、第4の負荷R4と、バッテリ(電源)Bと、を備える。   As shown in FIG. 2, the system 1000A includes a control device 100A, a speed sensor VS, various sensors XS, a switch circuit SW, a first load R1, a second load R2, and a third load R3. And a fourth load R4 and a battery (power source) B.

このシステム1000Aは、例えば、2輪車等の車両に搭載されている。   This system 1000A is mounted on a vehicle such as a two-wheeled vehicle.

また、第1から第4の負荷R1〜R4は、例えば、LED素子で構成された車両のウインカーである。   In addition, the first to fourth loads R1 to R4 are, for example, turn signals of a vehicle configured by LED elements.

また、スイッチ回路SWは、例えば、ウインカーの点灯の切り替えを操作するためのスイッチである。   The switch circuit SW is a switch for operating, for example, switching of blinker lighting.

また、速度センサVSは、例えば、車両の速度、車両の車輪の回転数、または、車両のエンジンの回転数を検出するようになっている。   The speed sensor VS detects, for example, the speed of the vehicle, the rotational speed of the vehicle wheel, or the rotational speed of the engine of the vehicle.

各種センサXSは、例えば、車両のエアフロメータ、吸気温センサ、スロットル開度センサ等が含まれ、検出対象の検出結果に応じたアナログ信号を、それぞれ出力するようになっている。   The various sensors XS include, for example, a vehicle air flow meter, an intake air temperature sensor, a throttle opening sensor, and the like, and each output an analog signal corresponding to a detection result of a detection target.

また、図2に示すように、制御装置100Aは、マイクロコンピュータCONと、フィルタ回路FIと、バッファ回路BFと、アナログ入力回路AICと、第1のスイッチ検出回路DC1と、第2のスイッチ検出回路DC2と、第1の出力回路OP1と、第2の出力回路OP2と、第3の出力回路OP3と、第4の出力回路OP4と、電源回路SCと、を備える。   Further, as shown in FIG. 2, the control device 100A includes a microcomputer CON, a filter circuit FI, a buffer circuit BF, an analog input circuit AIC, a first switch detection circuit DC1, and a second switch detection circuit. A DC2, a first output circuit OP1, a second output circuit OP2, a third output circuit OP3, a fourth output circuit OP4, and a power supply circuit SC are provided.

ここで、マイクロコンピュータCONは、電源入力端子TSと、第1の検出入力端子TD1と、第2の検出入力端子TD2と、パルス入力端子(タイマ入力)TYと、アナログ入力端子TXと、第1の制御端子TO1と、第2の制御端子TO2と、第3の制御端子TO3と、第4の制御端子TO4と、を有する。   Here, the microcomputer CON includes a power input terminal TS, a first detection input terminal TD1, a second detection input terminal TD2, a pulse input terminal (timer input) TY, an analog input terminal TX, and a first input. Control terminal TO1, second control terminal TO2, third control terminal TO3, and fourth control terminal TO4.

また、電源回路SCは、入力がバッテリBの正極に接続され、出力がマイクロコンピュータCONの電源入力端子TSに接続されている。   The power supply circuit SC has an input connected to the positive electrode of the battery B and an output connected to the power supply input terminal TS of the microcomputer CON.

第1、第2のスイッチ検出回路DC1、DC2は、スイッチ回路SWから出力された電圧信号を検出し、その検出結果に応じた検出信号をマイクロコンピュータCONの第1、第2の検出入力端子TD1、TD2に出力するようになっている。   The first and second switch detection circuits DC1 and DC2 detect the voltage signal output from the switch circuit SW, and detect the detection signal according to the detection result as the first and second detection input terminals TD1 of the microcomputer CON. , Output to TD2.

フィルタ回路FIは、速度センサVSが出力したパルス信号SP1をフィルタリングして出力するようになっている。   The filter circuit FI is configured to filter and output the pulse signal SP1 output from the speed sensor VS.

バッファ回路BFは、フィルタ回路FIが出力した信号を増幅したパルス信号SP2を、パルス入力端子TYに出力するようになっている。   The buffer circuit BF outputs a pulse signal SP2 obtained by amplifying the signal output from the filter circuit FI to the pulse input terminal TY.

アナログ入力回路AICは、各種センサXSが出力した信号が入力され、この信号に基づいた電圧のアナログ信号を出力するようになっている。   The analog input circuit AIC receives signals output from various sensors XS and outputs analog signals having voltages based on the signals.

第1から第4の出力回路OP1〜OP4は、マイクロコンピュータCONが第1から第4の制御端子TO1〜TO4から出力する制御信号に応じて、第1から第4の負荷R1〜R4を駆動するための信号を、第1から第4の負荷R1〜R4に出力するようになっている。   The first to fourth output circuits OP1 to OP4 drive the first to fourth loads R1 to R4 according to control signals output from the first to fourth control terminals TO1 to TO4 by the microcomputer CON. The signal for this is output to 1st-4th load R1-R4.

この従来の制御装置100Aは、例えば、車両の速度や車両のエンジンの回転数等を取得するにあたり、車輪やエンジンに取り付けられた速度センサVSからのパルス信号SP1を受け取り、入力インターフェイス回路(フィルタ回路FIやバッファ回路BF等)を介して、パルス信号SP2をマイクロコンピュータCONのタイマ入力であるパルス入力端子TYで受けるようになっている(図2)。   This conventional control device 100A receives, for example, a pulse signal SP1 from a speed sensor VS attached to a wheel or an engine and acquires an input interface circuit (filter circuit) when acquiring the speed of the vehicle, the rotational speed of the engine of the vehicle, or the like. The pulse signal SP2 is received by the pulse input terminal TY which is a timer input of the microcomputer CON (FIG. 2) via the FI and the buffer circuit BF.

これにより、従来の制御装置100AのマイクロコンピュータCONは、パルス信号SP2のパルス間の周期を求め、このパルス間の周期より速度やエンジン回転数を演算し、制御に使用する(図2)。   Thereby, the microcomputer CON of the conventional control device 100A calculates the period between pulses of the pulse signal SP2, calculates the speed and engine speed from the period between the pulses, and uses it for control (FIG. 2).

特開2006−132418号公報JP 2006-132418 A 特開2010−133267号公報JP 2010-133267 A 特開平8−132955号公報JP-A-8-132955

しかしながら、上記従来の制御装置100Aにおいて、例えば、車両の速度に関しては0〜300km/h、また、エンジン回転数に関しては0〜10000回転に対応した周波数のパルス波の周期を測定する必要がある。   However, in the conventional control device 100A, for example, it is necessary to measure the period of a pulse wave having a frequency corresponding to 0 to 300 km / h with respect to the vehicle speed and 0 to 10,000 revolutions with respect to the engine speed.

そして、高速側(高回転側)で正確な周期の値を取得するためには、高速のタイマ入力でパルス波の周期をカウントする必要性がある。   In order to obtain an accurate cycle value on the high speed side (high rotation side), it is necessary to count the cycle of the pulse wave with a high speed timer input.

これにより、タイマ入力を高速化すると、低速時(低回転時)のカウント数は増大し、桁数が増えるため、マイクロコンピュータCONの演算処理に時間を要することとなる。   As a result, if the timer input is speeded up, the count number at low speed (low rotation) increases and the number of digits increases, so that the microcomputer CON takes time to perform arithmetic processing.

また、上記マイクロコンピュータCONは、車の停止状態やエンジンの停止状態を検出するために、一定時間パルス入力が無いことで判断する。   Further, the microcomputer CON determines that there is no pulse input for a certain period of time in order to detect the stop state of the vehicle or the stop state of the engine.

したがって、車の停止状態やエンジンの停止状態を検出するまで数秒の時間を要していた。   Therefore, it takes several seconds to detect the stop state of the car or the stop state of the engine.

本発明の一態様に係る実施例に従った制御装置は、
速度センサが出力したパルス信号が入力され、前記パルス信号の周波数に基づいた電圧のアナログ信号を出力するF/Vコンバータと、
前記F/Vコンバータが出力した前記アナログ信号が入力されるアナログ/デジタル変換入力端子を有し、前記アナログ/デジタル変換入力端子を介して入力された前記アナログ信号に基づいたデジタル値を取得し、前記デジタル値に基づいた値を算出し、この算出された値に応じて所定の制御を実行するマイクロコンピュータと、を備える
ことを特徴とする。
A control device according to an embodiment of one aspect of the present invention includes:
An F / V converter that receives the pulse signal output from the speed sensor and outputs an analog signal of a voltage based on the frequency of the pulse signal;
An analog / digital conversion input terminal to which the analog signal output from the F / V converter is input, and obtains a digital value based on the analog signal input through the analog / digital conversion input terminal; A microcomputer that calculates a value based on the digital value and executes predetermined control in accordance with the calculated value.

前記制御装置において、
前記速度センサは、
車両の速度、前記車両の車輪の回転数、または、前記車両のエンジンの回転数に応じて、前記パルス信号を出力し、
前記マイクロコンピュータは、
前記デジタル値に基づいて、前記車両の速度、前記車両の車輪の回転数、または、前記車両のエンジンの回転数を算出する
ことを特徴とする。
In the control device,
The speed sensor is
According to the speed of the vehicle, the rotation speed of the wheel of the vehicle, or the rotation speed of the engine of the vehicle, the pulse signal is output,
The microcomputer is
Based on the digital value, the speed of the vehicle, the rotational speed of the wheel of the vehicle, or the rotational speed of the engine of the vehicle is calculated.

前記制御装置において、
前記速度センサは、
前記車両の車輪の回転数または前記車両のエンジンの回転数に比例した周波数の前記パルス信号を出力するように設定され、
前記マイクロコンピュータは、
前記アナログ信号の電圧に比例した値を前記デジタル値として取得し、前記デジタル値に比例した値を前記車両の車輪の回転数または前記車両のエンジンの回転数として算出する
ことを特徴とする。
In the control device,
The speed sensor is
It is set to output the pulse signal having a frequency proportional to the rotational speed of the vehicle wheel or the rotational speed of the engine of the vehicle,
The microcomputer is
A value proportional to the voltage of the analog signal is acquired as the digital value, and a value proportional to the digital value is calculated as the rotation speed of the wheel of the vehicle or the rotation speed of the engine of the vehicle.

前記制御装置において、
前記速度センサは、
前記車両の車輪の回転数または前記車両のエンジンの回転数の単調増加関数になる周波数の前記パルス信号を出力するように設定され、
前記マイクロコンピュータは、
前記アナログ信号の電圧に対応した値を前記デジタル値として取得し、前記デジタル値の単調増加関数として前記車両の車輪の回転数または前記車両のエンジンの回転数を算出する
ことを特徴とする。
In the control device,
The speed sensor is
Set to output the pulse signal at a frequency that is a monotonically increasing function of the vehicle wheel speed or the engine speed of the vehicle;
The microcomputer is
A value corresponding to the voltage of the analog signal is acquired as the digital value, and the rotational speed of the vehicle wheel or the rotational speed of the engine of the vehicle is calculated as a monotonically increasing function of the digital value.

前記制御装置において、
前記マイクロコンピュータは、
前記デジタル値と前記車両の速度、前記車両の車輪の回転数、または、前記車両のエンジンの回転数との関係を規定する予め設定された変換テーブルに基づいて、前記デジタル値から前記車両の速度、前記車両の車輪の回転数、または、前記車両のエンジンの回転数を算出する
ことを特徴とする。
In the control device,
The microcomputer is
The speed of the vehicle from the digital value based on a preset conversion table that defines the relationship between the digital value and the speed of the vehicle, the rotational speed of the wheel of the vehicle, or the rotational speed of the engine of the vehicle. The rotation speed of the wheel of the vehicle or the rotation speed of the engine of the vehicle is calculated.

前記制御装置において、
前記マイクロコンピュータは、
算出した前記車両の速度、前記車両の車輪の回転数、または、前記車両のエンジンの回転数に基づいて、前記車両が停止状態にあるか否か、または、前記車両のエンジンの回転数が停止状態にあるか否かを判断する
ことを特徴とする。
In the control device,
The microcomputer is
Based on the calculated speed of the vehicle, the number of rotations of the wheels of the vehicle, or the number of rotations of the engine of the vehicle, whether or not the vehicle is stopped or the number of rotations of the engine of the vehicle is stopped. It is characterized by determining whether or not it is in a state.

前記制御装置において、
前記マイクロコンピュータは、
算出した前記車両の速度、前記車両の車輪の回転数、または、前記車両のエンジンの回転数に基づいて、前記車両の負荷を制御する
ことを特徴とする。
In the control device,
The microcomputer is
The load of the vehicle is controlled based on the calculated speed of the vehicle, the rotation speed of the wheel of the vehicle, or the rotation speed of the engine of the vehicle.

前記制御装置において、
前記マイクロコンピュータは、
算出した前記車両の速度、前記車両の車輪の回転数、または、前記車両のエンジンの回転数に基づいて、前記車両のウインカーの点灯を制御する
ことを特徴とする。
In the control device,
The microcomputer is
Based on the calculated speed of the vehicle, the number of rotations of the wheels of the vehicle, or the number of rotations of the engine of the vehicle, lighting of the turn signal of the vehicle is controlled.

前記制御装置において、
前記マイクロコンピュータは、
算出した前記車両の速度、前記車両の車輪の回転数、または、前記車両のエンジンの回転数に基づいて、前記車両のエンジンを制御する
ことを特徴とする。
In the control device,
The microcomputer is
The engine of the vehicle is controlled based on the calculated speed of the vehicle, the rotation speed of the wheel of the vehicle, or the rotation speed of the engine of the vehicle.

本発明の一態様に係る実施例に従った制御装置の制御方法は、
速度センサが出力したパルス信号が入力され、前記パルス信号の周波数に基づいた電圧のアナログ信号を出力するF/Vコンバータと、前記F/Vコンバータが出力した前記アナログ信号が入力されるアナログ/デジタル変換入力端子を有するマイクロコンピュータと、を備える制御装置の制御方法であって、
前記マイクロコンピュータは、前記アナログ/デジタル変換入力端子を介して入力された前記アナログ信号に基づいたデジタル値を取得し、前記デジタル値に基づいた値を算出し、この算出された値に応じて所定の制御を実行する
ことを特徴とする。
A control method of a control device according to an embodiment according to an aspect of the present invention includes:
A pulse signal output from the speed sensor is input, an F / V converter that outputs an analog signal of a voltage based on the frequency of the pulse signal, and an analog / digital input of the analog signal output from the F / V converter A control method comprising a microcomputer having a conversion input terminal,
The microcomputer acquires a digital value based on the analog signal input via the analog / digital conversion input terminal, calculates a value based on the digital value, and determines a predetermined value according to the calculated value. It is characterized in that the control is executed.

本発明の一態様に係る制御装置は、速度センサが出力したパルス信号が入力され、パルス信号の周波数に基づいた電圧のアナログ信号を出力するF/Vコンバータと、F/Vコンバータが出力したアナログ信号が入力されるアナログ/デジタル変換入力端子を有し、アナログ/デジタル変換入力端子を介して入力されたアナログ信号に基づいたデジタル値を取得し、デジタル値に基づいた値を算出し、この算出された値に応じて所定の制御を実行するマイクロコンピュータと、を備える。   A control device according to one embodiment of the present invention includes an F / V converter that receives a pulse signal output from a speed sensor and outputs an analog signal having a voltage based on the frequency of the pulse signal, and an analog output from the F / V converter. It has an analog / digital conversion input terminal to which a signal is input, obtains a digital value based on an analog signal input via the analog / digital conversion input terminal, calculates a value based on the digital value, and calculates this And a microcomputer that executes predetermined control according to the set value.

そして、例えば、速度センサは、車両の車輪の回転数または車両のエンジンの回転数に比例した周波数のパルス信号を出力するように設定される。   For example, the speed sensor is set to output a pulse signal having a frequency proportional to the rotational speed of the vehicle wheel or the rotational speed of the vehicle engine.

すなわち、パルス信号の周波数は、速度が低速ならば低周波数に、速度が高速ならば高周波数になる。   That is, the frequency of the pulse signal is low when the speed is low and high when the speed is high.

この場合、マイクロコンピュータは、例えば、アナログ信号の電圧に比例した値をデジタル値として取得し、デジタル値に比例した値を車両の車輪の回転数または車両のエンジンの回転数として算出する。   In this case, for example, the microcomputer acquires a value proportional to the voltage of the analog signal as a digital value, and calculates a value proportional to the digital value as the rotational speed of the vehicle wheel or the rotational speed of the engine of the vehicle.

この場合、回転数とアナログ信号が比例関係にあることを前提として、速度=定数×デジタル値で車両の速度を求めることができる。   In this case, the speed of the vehicle can be obtained by speed = constant × digital value on the assumption that the rotational speed and the analog signal are in a proportional relationship.

また、回転数とアナログ信号が比例関係にない場合は、回転数とアナログ信号との関係を規定する変換テーブルを用いて、速度と求めるようにしてもよい。   If the rotational speed and the analog signal are not in a proportional relationship, the speed may be obtained using a conversion table that defines the relationship between the rotational speed and the analog signal.

このように、本発明の一態様に係る制御装置は、高速のタイマ入力でパルス波の周期をカウントすること無く、アナログ信号の電圧に比例した値をデジタル値に基づいて、車両の速度等を取得することができる。   As described above, the control device according to one aspect of the present invention does not count the period of the pulse wave with a high-speed timer input, and calculates the vehicle speed and the like based on the digital value based on the value proportional to the voltage of the analog signal. Can be acquired.

そして、マイクロコンピュータは、算出した車両の速度、車両の車輪の回転数、または、車両のエンジンの回転数に基づいて、車両が停止状態にあるか否か、または、車両のエンジンの回転数が停止状態にあるか否かを判断する。   The microcomputer then determines whether the vehicle is in a stopped state based on the calculated vehicle speed, the vehicle wheel rotation speed, or the vehicle engine rotation speed, or whether the vehicle engine rotation speed is It is determined whether or not the vehicle is stopped.

さらに、マイクロコンピュータは、算出した車両の速度、車両の車輪の回転数、または、車両のエンジンの回転数に基づいて、車両の負荷を制御する。   Furthermore, the microcomputer controls the load of the vehicle based on the calculated vehicle speed, the vehicle wheel rotation speed, or the vehicle engine rotation speed.

このように、本発明に係る制御装置は、速度センサからのパルス信号をアナログ信号に変換し、マイクロコンピュータのADコンバータで読み込むことで、演算処理時間の低減を図りつつ、停止状態を短時間で検出することができる。   As described above, the control device according to the present invention converts the pulse signal from the speed sensor into an analog signal, and reads it with the AD converter of the microcomputer, thereby reducing the processing time and reducing the stop state in a short time. Can be detected.

図1は、本発明の一態様である実施例1に係る制御装置100を含むシステム1000の一例を示す図である。FIG. 1 is a diagram illustrating an example of a system 1000 including a control device 100 according to a first embodiment which is an aspect of the present invention. 図2は、従来の制御装置100Aを含むシステム1000Aの一例を示す図である。FIG. 2 is a diagram illustrating an example of a system 1000A including a conventional control device 100A.

以下、本発明に係る各実施例について図面に基づいて説明する。   Embodiments according to the present invention will be described below with reference to the drawings.

図1は、本発明の一態様である実施例1に係る制御装置100を含むシステム1000の一例を示す図である。   FIG. 1 is a diagram illustrating an example of a system 1000 including a control device 100 according to a first embodiment which is an aspect of the present invention.

システム1000は、制御装置100と、速度センサVSと、各種センサXSと、スイッチ回路SWと、第1の負荷R1と、第2の負荷R2と、第3の負荷R3と、第4の負荷R4と、バッテリ(電源)Bと、を備える。   The system 1000 includes a control device 100, a speed sensor VS, various sensors XS, a switch circuit SW, a first load R1, a second load R2, a third load R3, and a fourth load R4. And a battery (power source) B.

このシステム1000は、例えば、2輪車等の車両(図示せず)に搭載されている。   This system 1000 is mounted on a vehicle (not shown) such as a two-wheeled vehicle.

バッテリBは、負極が接地に接続され、正極が制御装置100に接続されている。このバッテリBは、制御装置100に電源を供給するようになっている。   Battery B has a negative electrode connected to ground and a positive electrode connected to control device 100. The battery B supplies power to the control device 100.

また、第1から第4の負荷R1〜R4は、例えば、LED素子で構成された車両のウインカーである。   In addition, the first to fourth loads R1 to R4 are, for example, turn signals of a vehicle configured by LED elements.

具体的には、第1の負荷R1は、車両の右側のフロントのウインカーである。   Specifically, the first load R1 is a front turn signal on the right side of the vehicle.

また、第2の負荷R2は、車両の右側のリアのウインカーである。   The second load R2 is a rear turn signal on the right side of the vehicle.

また、第3の負荷R3は、車両の左側のフロントのウインカーである。   The third load R3 is a front turn signal on the left side of the vehicle.

また、第4の負荷R4は、車両の左側のリアのウインカーである。   The fourth load R4 is a rear turn signal on the left side of the vehicle.

なお、図1の例では、ウインカーがLED素子である場合について記載しているが、ウインカーがランプであってもよい。   In addition, although the case where the winker is an LED element is described in the example of FIG. 1, the winker may be a lamp.

また、これらの第1から第4の負荷R1〜R4は、車両のその他の負荷であってもよい。   Further, these first to fourth loads R1 to R4 may be other loads of the vehicle.

また、スイッチ回路SWは、例えば、ウインカーの点灯の切り替えを操作するためのスイッチである。このスイッチ回路SWは、ユーザにより操作されるようになっている。   The switch circuit SW is a switch for operating, for example, switching of blinker lighting. The switch circuit SW is operated by a user.

このスイッチ回路SWは、ユーザにより操作されると、バッテリBから供給される電圧信号を、第1のスイッチ検出回路DC1、又は、第2のスイッチ検出回路DC2の何れか一方に出力するようになっている。   When operated by a user, the switch circuit SW outputs a voltage signal supplied from the battery B to either the first switch detection circuit DC1 or the second switch detection circuit DC2. ing.

例えば、ユーザは、車両の右側のウインカーを点灯させる場合は、スイッチ回路SWがバッテリBから供給される電圧信号を第1のスイッチ検出回路DC1に出力するように切り替えられるように、操作する。   For example, when the user turns on the blinker on the right side of the vehicle, the user operates the switch circuit SW so that the voltage signal supplied from the battery B can be output to the first switch detection circuit DC1.

一方、ユーザは、車両の左側のウインカーを点灯させる場合は、スイッチ回路SWがバッテリBから供給される電圧信号を第2のスイッチ検出回路DC2に出力するように切り替えられるように、操作する。   On the other hand, when the user turns on the blinker on the left side of the vehicle, the user operates the switch circuit SW so that the voltage signal supplied from the battery B can be output to the second switch detection circuit DC2.

また、速度センサVSは、例えば、車両の速度、車両の車輪の回転数、または、車両のエンジンの回転数を検出するようになっている。そして、この速度センサVSは、検出した車両の速度、車両の車輪の回転数、または、車両のエンジンの回転数に応じて、パルス信号SP1を出力するようになっている。   The speed sensor VS detects, for example, the speed of the vehicle, the rotational speed of the vehicle wheel, or the rotational speed of the engine of the vehicle. The speed sensor VS outputs a pulse signal SP1 in accordance with the detected vehicle speed, vehicle wheel rotation speed, or vehicle engine rotation speed.

ここで、この速度センサVSは、例えば、車両の車輪の回転数または車両のエンジンの回転数に比例した周波数のパルス信号SP1を出力するように設定されている。なお、速度センサVSは、車両の車輪の回転数または車両のエンジンの回転数の単調増加関数になる周波数のパルス信号SP1を出力するように設定されていてもよい。   Here, the speed sensor VS is set to output, for example, a pulse signal SP1 having a frequency proportional to the rotational speed of the vehicle wheel or the rotational speed of the vehicle engine. The speed sensor VS may be set to output a pulse signal SP1 having a frequency that is a monotonically increasing function of the rotational speed of the vehicle wheel or the rotational speed of the vehicle engine.

また、各種センサXSには、例えば、車両のハンドルの角度を検出する角度センサが含まれる。さらに、各種センサXSには、例えば、車両のエンジン内やその近傍に設置された、エアフロメータ、吸気温センサ、スロットル開度センサ等が含まれる。   The various sensors XS include, for example, an angle sensor that detects the angle of the steering wheel of the vehicle. Furthermore, the various sensors XS include, for example, an air flow meter, an intake air temperature sensor, a throttle opening sensor, and the like installed in or near the vehicle engine.

そして、この各種センサXSは、検出対象の検出結果に応じたアナログ信号を、それぞれ出力するようになっている。   The various sensors XS each output an analog signal corresponding to the detection result of the detection target.

また、図1に示すように、制御装置100は、マイクロコンピュータCONと、F/VコンバータFVCと、アナログ入力回路AICと、第1のスイッチ検出回路DC1と、第2のスイッチ検出回路DC2と、第1の出力回路OP1と、第2の出力回路OP2と、第3の出力回路OP3と、第4の出力回路OP4と、電源回路SCと、を備える。   Further, as shown in FIG. 1, the control device 100 includes a microcomputer CON, an F / V converter FVC, an analog input circuit AIC, a first switch detection circuit DC1, a second switch detection circuit DC2, The first output circuit OP1, the second output circuit OP2, the third output circuit OP3, the fourth output circuit OP4, and the power supply circuit SC are provided.

この制御装置100は、例えば、車両のエンジン等を制御する(ECU:Electric Control Unit)である。   The control device 100 controls, for example, an engine of a vehicle (ECU: Electric Control Unit).

ここで、マイクロコンピュータCONは、電源入力端子TSと、第1の検出入力端子TD1と、第2の検出入力端子TD2と、アナログ/デジタル変換入力端子TAと、アナログ入力端子TXと、第1の制御端子TO1と、第2の制御端子TO2と、第3の制御端子TO3と、第4の制御端子TO4と、を有する。   Here, the microcomputer CON includes a power input terminal TS, a first detection input terminal TD1, a second detection input terminal TD2, an analog / digital conversion input terminal TA, an analog input terminal TX, and a first input. It has a control terminal TO1, a second control terminal TO2, a third control terminal TO3, and a fourth control terminal TO4.

また、電源回路SCは、入力がバッテリBの正極に接続され、出力がマイクロコンピュータCONの電源入力端子TSに接続されている。この電源回路SCは、バッテリBから供給された電圧を昇圧または降圧し、得られた電圧を電源電圧として電源入力端子TSを介してマイクロコンピュータCONに供給するようになっている。   The power supply circuit SC has an input connected to the positive electrode of the battery B and an output connected to the power supply input terminal TS of the microcomputer CON. The power supply circuit SC boosts or lowers the voltage supplied from the battery B, and supplies the obtained voltage as a power supply voltage to the microcomputer CON via the power supply input terminal TS.

第1のスイッチ検出回路DC1は、スイッチ回路SWから出力された電圧信号を検出し、その検出結果に応じた検出信号をマイクロコンピュータCONの第1の検出入力端子TD1に出力するようになっている。   The first switch detection circuit DC1 detects the voltage signal output from the switch circuit SW, and outputs a detection signal corresponding to the detection result to the first detection input terminal TD1 of the microcomputer CON. .

第2のスイッチ検出回路DC2は、スイッチ回路SWから出力された電圧信号を検出し、その検出結果に応じた検出信号をマイクロコンピュータCONの第2の検出入力端子TD2に出力するようになっている。   The second switch detection circuit DC2 detects the voltage signal output from the switch circuit SW, and outputs a detection signal corresponding to the detection result to the second detection input terminal TD2 of the microcomputer CON. .

第1の出力回路OP1は、マイクロコンピュータCONが第1の制御端子TO1から出力する制御信号に応じて、第1の負荷R1を駆動する(すなわち、LED素子を点灯する)ための信号(駆動電流)を、第1の負荷R1に出力するようになっている。   The first output circuit OP1 is a signal (drive current) for driving the first load R1 (that is, lighting the LED element) in accordance with a control signal output from the first control terminal TO1 by the microcomputer CON. ) Is output to the first load R1.

第2の出力回路OP2は、マイクロコンピュータCONが第2の制御端子TO2から出力する制御信号に応じて、第2の負荷R2を駆動する(すなわち、LED素子を点灯する)ための信号(駆動電流)を、第2の負荷R2に出力するようになっている。   The second output circuit OP2 is a signal (drive current) for driving the second load R2 (that is, lighting the LED element) in accordance with a control signal output from the second control terminal TO2 by the microcomputer CON. ) Is output to the second load R2.

第3の出力回路OP3は、マイクロコンピュータCONが第3の制御端子TO3から出力する制御信号に応じて、第3の負荷R3を駆動する(すなわち、LED素子を点灯する)ための信号(駆動電流)を、第3の負荷R3に出力するようになっている。   The third output circuit OP3 is a signal (drive current) for driving the third load R3 (that is, lighting the LED element) in accordance with a control signal output from the third control terminal TO3 by the microcomputer CON. ) Is output to the third load R3.

第4の出力回路OP4は、マイクロコンピュータCONが第4の制御端子TO4から出力する制御信号に応じて、第4の負荷R4を駆動する(すなわち、LED素子を点灯する)ための信号(駆動電流)を、第4の負荷R4に出力するようになっている。   The fourth output circuit OP4 is a signal (drive current) for driving the fourth load R4 (that is, lighting the LED element) in accordance with a control signal output from the fourth control terminal TO4 by the microcomputer CON. ) Is output to the fourth load R4.

F/VコンバータFVCは、速度センサVSが出力したパルス信号SP1が入力され、パルス信号SP1の周波数に基づいた電圧のアナログ信号SAを出力するようになっている。そして、アナログ/デジタル変換入力端子TAは、このF/VコンバータFVCが出力したアナログ信号SAが入力されるようになっている。   The F / V converter FVC receives the pulse signal SP1 output from the speed sensor VS and outputs an analog signal SA having a voltage based on the frequency of the pulse signal SP1. An analog signal SA output from the F / V converter FVC is input to the analog / digital conversion input terminal TA.

アナログ入力回路AICは、各種センサXSが出力した信号が入力され、この信号に基づいた電圧のアナログ信号を出力するようになっている。そして、アナログ入力端子TXは、このアナログ入力回路AICが出力したアナログ信号が入力されるようになっている。   The analog input circuit AIC receives signals output from various sensors XS and outputs analog signals having voltages based on the signals. An analog signal output from the analog input circuit AIC is input to the analog input terminal TX.

ここで、マイクロコンピュータCONは、アナログ/デジタル変換入力端子TAを介して入力されたアナログ信号(電圧)SAに基づいたデジタル値を取得し、該デジタル値に基づいた値を算出し、この算出された値に応じて所定の制御を実行するようになっている。   Here, the microcomputer CON obtains a digital value based on the analog signal (voltage) SA input via the analog / digital conversion input terminal TA, calculates a value based on the digital value, and calculates the calculated value. Predetermined control is executed according to the determined value.

なお、アナログ信号(電圧)SAは、マイクロコンピュータCONのADコンバータ(図示せず)で読み込まれて、該デジタル値に変換される。また、所定の制御は、後述のように、車両のウインカーの点灯の制御や、車両のエンジンの制御等が含まれる。   The analog signal (voltage) SA is read by an AD converter (not shown) of the microcomputer CON and converted into the digital value. Further, the predetermined control includes lighting control of the turn signal of the vehicle, control of the engine of the vehicle, and the like, as will be described later.

そして、例えば、マイクロコンピュータCONは、該デジタル値に基づいて、車両の速度、車両の車輪の回転数、または、車両のエンジンの回転数を算出するようになっている。   For example, the microcomputer CON calculates the speed of the vehicle, the rotational speed of the vehicle wheel, or the rotational speed of the engine of the vehicle based on the digital value.

既述のように、速度センサVSは、例えば、車両の車輪の回転数または車両のエンジンの回転数に比例した周波数のパルス信号SP1を出力するように設定されている。   As described above, the speed sensor VS is set to output, for example, the pulse signal SP1 having a frequency proportional to the rotational speed of the vehicle wheel or the rotational speed of the vehicle engine.

この場合、マイクロコンピュータCONは、アナログ信号SAの電圧に比例した値を該デジタル値として取得し、該デジタル値に比例した値を車両の車輪の回転数または車両のエンジンの回転数として算出する。   In this case, the microcomputer CON obtains a value proportional to the voltage of the analog signal SA as the digital value, and calculates a value proportional to the digital value as the rotational speed of the vehicle wheel or the rotational speed of the engine of the vehicle.

そして、マイクロコンピュータCONは、回転数とアナログ信号SAとが比例関係にあることを前提として、速度=定数×デジタル値で車両の速度を求める。   The microcomputer CON obtains the speed of the vehicle by speed = constant × digital value on the assumption that the rotational speed and the analog signal SA are in a proportional relationship.

また、既述のように、速度センサVSは、車両の車輪の回転数または車両のエンジンの回転数の単調増加関数になる周波数のパルス信号SP1を出力するように設定されていてもよい。   Further, as described above, the speed sensor VS may be set to output a pulse signal SP1 having a frequency that is a monotonically increasing function of the rotational speed of the vehicle wheel or the rotational speed of the vehicle engine.

この場合、マイクロコンピュータCONは、アナログ信号SAの電圧に対応した値を該デジタル値として取得し、該デジタル値の単調増加関数として車両の車輪の回転数または車両のエンジンの回転数を算出することとなる。   In this case, the microcomputer CON acquires a value corresponding to the voltage of the analog signal SA as the digital value, and calculates the rotation speed of the vehicle wheel or the rotation speed of the vehicle engine as a monotonically increasing function of the digital value. It becomes.

また、マイクロコンピュータCONは、該デジタル値と車両の速度、車両の車輪の回転数、または、車両のエンジンの回転数との関係を規定する予め設定された変換テーブルに基づいて、該デジタル値から車両の速度、車両の車輪の回転数、または、車両のエンジンの回転数を算出するようにしてもよい。   Further, the microcomputer CON calculates the digital value from the digital value based on a preset conversion table that defines the relationship between the digital value and the vehicle speed, the vehicle wheel rotation speed, or the vehicle engine rotation speed. You may make it calculate the speed of a vehicle, the rotation speed of the wheel of a vehicle, or the rotation speed of the engine of a vehicle.

なお、該変換テーブルとしては、例えば、0〜300km/hの車両の速度とデジタル値とが一対一に対応した関係を規定したものや、0〜10000回転の車両のエンジンの回転数とデジタル値とが一対一に対応した関係を規定したもの等が想定される。   As the conversion table, for example, a one-to-one relationship between a vehicle speed of 0 to 300 km / h and a digital value is specified, or an engine speed and a digital value of a vehicle of 0 to 10,000 revolutions. Are defined that have a one-to-one correspondence relationship.

また、マイクロコンピュータCONは、算出した車両の速度、車両の車輪の回転数、または、車両のエンジンの回転数に基づいて、車両が停止状態にあるか否か、または、車両のエンジンの回転数が停止状態にあるか否かを判断するようになっている。   Further, the microcomputer CON determines whether or not the vehicle is stopped based on the calculated vehicle speed, the vehicle wheel rotation speed, or the vehicle engine rotation speed, or the vehicle engine rotation speed. It is determined whether or not is in a stopped state.

例えば、マイクロコンピュータCONは、算出した車両の速度、車両の車輪の回転数、または、車両のエンジンの回転数が、予め設定した閾値以下の場合は、車両が停止状態にある、または、車両のエンジンの回転数が停止状態にあると、判断する。そして、マイクロコンピュータCONは、この判断結果に基づいて、車両のエンジンを制御する。   For example, the microcomputer CON may stop the vehicle when the calculated vehicle speed, the vehicle wheel rotation speed, or the vehicle engine rotation speed is less than or equal to a preset threshold value, or the vehicle It is determined that the engine speed is stopped. The microcomputer CON controls the engine of the vehicle based on the determination result.

また、マイクロコンピュータCONは、算出した車両の速度、車両の車輪の回転数、または、車両のエンジンの回転数に基づいて、車両の負荷を制御するようにしてもよい。   The microcomputer CON may control the load of the vehicle based on the calculated vehicle speed, the number of rotations of the vehicle wheel, or the number of rotations of the engine of the vehicle.

より具体的には、マイクロコンピュータCONは、算出した車両の速度、車両の車輪の回転数、または、車両のエンジンの回転数に基づいて、車両のウインカーの点灯を制御する。   More specifically, the microcomputer CON controls lighting of the turn signal of the vehicle based on the calculated vehicle speed, the rotation speed of the vehicle wheel, or the rotation speed of the engine of the vehicle.

例えば、マイクロコンピュータCONは、算出した車両の速度、車両の車輪の回転数、または、車両のエンジンの回転数が予め設定された閾値を超えた場合には、第1から第4の負荷R1〜R4への信号(駆動電流)の供給を停止する(すなわち、車両の点灯しているウインカーを消灯する)ように制御する。   For example, when the calculated speed of the vehicle, the rotational speed of the vehicle wheel, or the rotational speed of the engine of the vehicle exceeds a preset threshold value, the microcomputer CON outputs the first to fourth loads R1 to R1. Control is performed so that the supply of a signal (drive current) to R4 is stopped (that is, the blinker that is lit on the vehicle is turned off).

また、マイクロコンピュータCONは、算出した車両の速度、車両の車輪の回転数、または、車両のエンジンの回転数に基づいて、車両のエンジンを制御するようになっている。   The microcomputer CON controls the engine of the vehicle based on the calculated vehicle speed, the rotation speed of the vehicle wheel, or the rotation speed of the vehicle engine.

さらに、マイクロコンピュータCONは、アナログ入力回路AICが出力したアナログ信号に基づいて、車両のハンドルの角度、車両のエンジンの吸気吸入量、吸気温、スロットル開度等の情報を取得するようになっている。そして、マイクロコンピュータCONは、この取得された情報に基づいて、例えば、車両のエンジン等の制御を実行するようになっている。   Furthermore, the microcomputer CON acquires information such as the angle of the steering wheel of the vehicle, the intake / intake amount of the engine of the vehicle, the intake air temperature, the throttle opening, etc., based on the analog signal output from the analog input circuit AIC. Yes. The microcomputer CON executes control of, for example, a vehicle engine based on the acquired information.

また、マイクロコンピュータCONは、第1の検出入力端子TD1を介して、検出信号を第1のスイッチ検出回路DC1から受けた場合(すなわち、車両の右側のウインカーを点灯するようにスイッチ回路SWがユーザにより操作された場合)、第1および第2の制御端子TO1、TO2から制御信号を第1および第2の出力回路OP1、OP2に出力して、第1および第2の出力回路OP1、OP2から第1および第2の負荷R1、R2に駆動電流を供給させるようになっている。   Further, when the microcomputer CON receives the detection signal from the first switch detection circuit DC1 via the first detection input terminal TD1, the switch circuit SW is turned on by the user so that the right turn signal on the vehicle is turned on. Control signals are output from the first and second control terminals TO1, TO2 to the first and second output circuits OP1, OP2, and from the first and second output circuits OP1, OP2. A drive current is supplied to the first and second loads R1 and R2.

これにより、第1および第2の負荷R1、R2に駆動電流が流れて、車両の右側のウインカーが点灯する。   As a result, a drive current flows through the first and second loads R1 and R2, and the turn signal on the right side of the vehicle is lit.

一方、マイクロコンピュータCONは、第2の検出入力端子TD2を介して、検出信号を第2のスイッチ検出回路DC2から受けた場合(すなわち、車両の左側のウインカーを点灯するようにスイッチ回路SWがユーザにより操作された場合)、第3および第4の制御端子TO3、TO4から制御信号を第3および第4の出力回路OP3、OP4に出力して、第3および第4の出力回路OP3、OP4から第3および第4の負荷R3、R4に駆動電流を供給させるようになっている。   On the other hand, when the microcomputer CON receives the detection signal from the second switch detection circuit DC2 via the second detection input terminal TD2, the switch circuit SW is turned on by the user so that the turn signal on the left side of the vehicle is turned on. Control signal is output from the third and fourth control terminals TO3 and TO4 to the third and fourth output circuits OP3 and OP4, and from the third and fourth output circuits OP3 and OP4. A driving current is supplied to the third and fourth loads R3 and R4.

これにより、第3および第4の負荷R3、R4に駆動電流が流れて、車両の左側のウインカーが点灯する。   As a result, a drive current flows through the third and fourth loads R3 and R4, and the blinker on the left side of the vehicle is turned on.

このようなマイクロコンピュータCONの制御動作により、点灯するウインカーが切り替えられるようになっている。   The blinker to be turned on can be switched by the control operation of the microcomputer CON.

次に、以上のような構成・機能を有する制御装置100の制御方法により車両の動作を制御する一例について、簡単にまとめて説明する。   Next, an example of controlling the operation of the vehicle by the control method of the control device 100 having the above-described configuration / function will be briefly described.

例えば、F/VコンバータFVCは、速度センサVSが出力したパルス信号SP1が入力されると、パルス信号SP1の周波数に基づいた電圧のアナログ信号SAを出力する。   For example, when the pulse signal SP1 output from the speed sensor VS is input, the F / V converter FVC outputs an analog signal SA having a voltage based on the frequency of the pulse signal SP1.

そして、マイクロコンピュータCONは、アナログ/デジタル変換入力端子TAを介して入力されたアナログ信号SAに基づいたデジタル値を取得し、該デジタル値に基づいて、車両の速度、車両の車輪の回転数、または、車両のエンジンの回転数を算出する。   The microcomputer CON acquires a digital value based on the analog signal SA input via the analog / digital conversion input terminal TA, and based on the digital value, the speed of the vehicle, the number of rotations of the wheels of the vehicle, Alternatively, the rotational speed of the vehicle engine is calculated.

なお、マイクロコンピュータCONは、既述のように、該デジタル値の単調増加関数として車両の車輪の回転数または車両のエンジンの回転数を算出するようにしてもよい。   As described above, the microcomputer CON may calculate the rotational speed of the vehicle wheel or the rotational speed of the vehicle engine as a monotonically increasing function of the digital value.

また、マイクロコンピュータCONは、既述のように、変換テーブルに基づいて、該デジタル値から車両の速度、車両の車輪の回転数、または、車両のエンジンの回転数を算出するようにしてもよい。   Further, as described above, the microcomputer CON may calculate the vehicle speed, the vehicle wheel rotation speed, or the vehicle engine rotation speed from the digital value based on the conversion table. .

そして、マイクロコンピュータCONは、算出した車両の速度、車両の車輪の回転数、または、車両のエンジンの回転数に基づいて、車両が停止状態にあるか否か、または、車両のエンジンの回転数が停止状態にあるか否かを判断する。   The microcomputer CON determines whether or not the vehicle is stopped based on the calculated vehicle speed, the vehicle wheel rotation speed, or the vehicle engine rotation speed, or the vehicle engine rotation speed. It is determined whether or not is in a stopped state.

また、マイクロコンピュータCONは、算出した車両の速度、車両の車輪の回転数、または、車両のエンジンの回転数に基づいて、車両の負荷を制御する。   The microcomputer CON controls the load of the vehicle based on the calculated vehicle speed, the rotation speed of the vehicle wheel, or the rotation speed of the engine of the vehicle.

また、マイクロコンピュータCONは、算出した車両の速度、車両の車輪の回転数、または、車両のエンジンの回転数に基づいて、車両のエンジンを制御する。   The microcomputer CON controls the vehicle engine based on the calculated vehicle speed, the vehicle wheel rotation speed, or the vehicle engine rotation speed.

このようなマイクロコンピュータCONの制御動作により、車両の動作が制御される。   The operation of the vehicle is controlled by such a control operation of the microcomputer CON.

以上のように、本発明の一態様に係る制御装置100は、速度センサVSが出力したパルス信号SP1が入力され、パルス信号SP1の周波数に基づいた電圧のアナログ信号SAを出力するF/VコンバータFVCと、F/VコンバータFVCが出力したアナログ信号SAが入力されるアナログ/デジタル変換入力端子TAを有し、アナログ/デジタル変換入力端子TAを介して入力されたアナログ信号SAに基づいたデジタル値を取得し、該デジタル値に基づいた値を算出し、この算出された値に応じて所定の制御を実行するマイクロコンピュータCONと、を備える。   As described above, the control device 100 according to one aspect of the present invention receives the pulse signal SP1 output from the speed sensor VS and outputs an analog signal SA having a voltage based on the frequency of the pulse signal SP1. FVC and an analog / digital conversion input terminal TA to which an analog signal SA output from the F / V converter FVC is input, and a digital value based on the analog signal SA input via the analog / digital conversion input terminal TA And a microcomputer CON that calculates a value based on the digital value and executes predetermined control in accordance with the calculated value.

そして、マイクロコンピュータCONは、例えば、アナログ信号SAの電圧に比例した値をデジタル値として取得し、デジタル値に比例した値を車両の車輪の回転数または車両のエンジンの回転数として算出する。   The microcomputer CON acquires, for example, a value proportional to the voltage of the analog signal SA as a digital value, and calculates a value proportional to the digital value as the rotational speed of the vehicle wheel or the rotational speed of the engine of the vehicle.

そして、マイクロコンピュータCONは、回転数とアナログ信号SAが比例関係にあることを前提に、速度=定数×デジタル値で車両の速度を求めることができる。   The microcomputer CON can determine the speed of the vehicle by speed = constant × digital value on the assumption that the rotational speed and the analog signal SA are in a proportional relationship.

また、回転数とアナログ信号SAが比例関係にない場合は、回転数とアナログ信号SAとの関係を規定する変換テーブルを用いて、速度と求めるようにしてもよい。   If the rotational speed and the analog signal SA are not in a proportional relationship, the speed may be obtained using a conversion table that defines the relationship between the rotational speed and the analog signal SA.

このように、本発明に係る制御装置100は、高速のタイマ入力でパルス波の周期をカウントすること無く、例えば、アナログ信号SAの電圧に比例した値をデジタル値に基づいて、車両の速度等を取得することができる。   As described above, the control device 100 according to the present invention does not count the period of the pulse wave with a high-speed timer input, for example, based on the digital value, the speed of the vehicle, etc. Can be obtained.

すなわち、本発明に係る制御装置100は、速度センサVSからのパルス信号SP1をアナログ信号SAに変換し、マイクロコンピュータCONのADコンバータで読み込むことで、演算処理時間の低減を図りつつ、停止状態を短時間で検出することができる。
実施例は例示であり、発明の範囲はそれらに限定されない。
That is, the control device 100 according to the present invention converts the pulse signal SP1 from the speed sensor VS into an analog signal SA and reads the analog signal SA with an AD converter of the microcomputer CON, thereby reducing the arithmetic processing time and setting the stop state. It can be detected in a short time.
The examples are illustrative and the scope of the invention is not limited thereto.

100、100A 制御装置
1000、1000A システム
VS 速度センサ
XS 各種センサ
SW スイッチ回路
R1 第1の負荷
R2 第2の負荷
R3 第3の負荷
R4 第4の負荷
B バッテリ(電源)
FVC F/Vコンバータ
CON マイクロコンピュータ
AIC アナログ入力回路
DC1 第1のスイッチ検出回路
DC2 第2のスイッチ検出回路
OP1 第1の出力回路
OP2 第2の出力回路
OP3 第3の出力回路
OP4 第4の出力回路
SC 電源回路
TS 電源入力端子
TD1 第1の検出入力端子
TD2 第2の検出入力端子
TA アナログ/デジタル変換入力端子
TX アナログ入力端子
TO1 第1の制御端子
TO2 第2の制御端子
TO3 第3の制御端子
TO4 第4の制御端子
TY パルス入力端子
100, 100A Controller 1000, 1000A System VS Speed sensor XS Various sensors SW Switch circuit R1 First load R2 Second load R3 Third load R4 Fourth load B Battery (power supply)
FVC F / V converter CON Microcomputer AIC Analog input circuit DC1 First switch detection circuit DC2 Second switch detection circuit OP1 First output circuit OP2 Second output circuit OP3 Third output circuit OP4 Fourth output circuit SC power supply circuit TS power input terminal TD1 first detection input terminal TD2 second detection input terminal TA analog / digital conversion input terminal TX analog input terminal TO1 first control terminal TO2 second control terminal TO3 third control terminal TO4 Fourth control terminal TY Pulse input terminal

Claims (10)

速度センサが出力したパルス信号が入力され、前記パルス信号の周波数に基づいた電圧のアナログ信号を出力するF/Vコンバータと、
前記F/Vコンバータが出力した前記アナログ信号が入力されるアナログ/デジタル変換入力端子を有し、前記アナログ/デジタル変換入力端子を介して入力された前記アナログ信号に基づいたデジタル値を取得し、前記デジタル値に基づいた値を算出し、この算出された値に応じて所定の制御を実行するマイクロコンピュータと、を備える
ことを特徴とする制御装置。
An F / V converter that receives the pulse signal output from the speed sensor and outputs an analog signal of a voltage based on the frequency of the pulse signal;
An analog / digital conversion input terminal to which the analog signal output from the F / V converter is input, and obtains a digital value based on the analog signal input through the analog / digital conversion input terminal; And a microcomputer that calculates a value based on the digital value and executes predetermined control in accordance with the calculated value.
前記速度センサは、
車両の速度、前記車両の車輪の回転数、または、前記車両のエンジンの回転数に応じて、前記パルス信号を出力し、
前記マイクロコンピュータは、
前記デジタル値に基づいて、前記車両の速度、前記車両の車輪の回転数、または、前記車両のエンジンの回転数を算出する
ことを特徴とする請求項1に記載の制御装置。
The speed sensor is
According to the speed of the vehicle, the rotation speed of the wheel of the vehicle, or the rotation speed of the engine of the vehicle, the pulse signal is output,
The microcomputer is
The control device according to claim 1, wherein the speed of the vehicle, the number of rotations of wheels of the vehicle, or the number of rotations of the engine of the vehicle is calculated based on the digital value.
前記速度センサは、
前記車両の車輪の回転数または前記車両のエンジンの回転数に比例した周波数の前記パルス信号を出力するように設定され、
前記マイクロコンピュータは、
前記アナログ信号の電圧に比例した値を前記デジタル値として取得し、前記デジタル値に比例した値を前記車両の車輪の回転数または前記車両のエンジンの回転数として算出する
ことを特徴とする請求項2に記載の制御装置。
The speed sensor is
It is set to output the pulse signal having a frequency proportional to the rotational speed of the vehicle wheel or the rotational speed of the engine of the vehicle,
The microcomputer is
The value proportional to the voltage of the analog signal is acquired as the digital value, and the value proportional to the digital value is calculated as the rotational speed of the wheel of the vehicle or the rotational speed of the engine of the vehicle. 2. The control device according to 2.
前記速度センサは、
前記車両の車輪の回転数または前記車両のエンジンの回転数の単調増加関数になる周波数の前記パルス信号を出力するように設定され、
前記マイクロコンピュータは、
前記アナログ信号の電圧に対応した値を前記デジタル値として取得し、前記デジタル値の単調増加関数として前記車両の車輪の回転数または前記車両のエンジンの回転数を算出する
ことを特徴とする請求項2に記載の制御装置。
The speed sensor is
Set to output the pulse signal at a frequency that is a monotonically increasing function of the vehicle wheel speed or the engine speed of the vehicle;
The microcomputer is
The value corresponding to the voltage of the analog signal is acquired as the digital value, and the rotation speed of the vehicle wheel or the rotation speed of the engine of the vehicle is calculated as a monotonically increasing function of the digital value. 2. The control device according to 2.
前記マイクロコンピュータは、
前記デジタル値と前記車両の速度、前記車両の車輪の回転数、または、前記車両のエンジンの回転数との関係を規定する予め設定された変換テーブルに基づいて、前記デジタル値から前記車両の速度、前記車両の車輪の回転数、または、前記車両のエンジンの回転数を算出する
ことを特徴とする請求項2に記載の制御装置。
The microcomputer is
The speed of the vehicle from the digital value based on a preset conversion table that defines the relationship between the digital value and the speed of the vehicle, the rotational speed of the wheel of the vehicle, or the rotational speed of the engine of the vehicle. The control device according to claim 2, wherein the number of rotations of a wheel of the vehicle or the number of rotations of an engine of the vehicle is calculated.
前記マイクロコンピュータは、
算出した前記車両の速度、前記車両の車輪の回転数、または、前記車両のエンジンの回転数に基づいて、前記車両が停止状態にあるか否か、または、前記車両のエンジンの回転数が停止状態にあるか否かを判断する
ことを特徴とする請求項2に記載の制御装置。
The microcomputer is
Based on the calculated speed of the vehicle, the number of rotations of the wheels of the vehicle, or the number of rotations of the engine of the vehicle, whether or not the vehicle is stopped or the number of rotations of the engine of the vehicle is stopped. It is judged whether it is in a state. The control device according to claim 2 characterized by things.
前記マイクロコンピュータは、
算出した前記車両の速度、前記車両の車輪の回転数、または、前記車両のエンジンの回転数に基づいて、前記車両の負荷を制御する
ことを特徴とする請求項2に記載の制御装置。
The microcomputer is
The control device according to claim 2, wherein the load of the vehicle is controlled based on the calculated speed of the vehicle, the number of rotations of a wheel of the vehicle, or the number of rotations of the engine of the vehicle.
前記マイクロコンピュータは、
算出した前記車両の速度、前記車両の車輪の回転数、または、前記車両のエンジンの回転数に基づいて、前記車両のウインカーの点灯を制御する
ことを特徴とする請求項2に記載の制御装置。
The microcomputer is
3. The control device according to claim 2, wherein lighting of the turn signal of the vehicle is controlled based on the calculated speed of the vehicle, the rotation speed of the wheel of the vehicle, or the rotation speed of the engine of the vehicle. .
前記マイクロコンピュータは、
算出した前記車両の速度、前記車両の車輪の回転数、または、前記車両のエンジンの回転数に基づいて、前記車両のエンジンを制御する
ことを特徴とする請求項2に記載の制御装置。
The microcomputer is
The control device according to claim 2, wherein the engine of the vehicle is controlled based on the calculated speed of the vehicle, the number of rotations of a wheel of the vehicle, or the number of rotations of the engine of the vehicle.
速度センサが出力したパルス信号が入力され、前記パルス信号の周波数に基づいた電圧のアナログ信号を出力するF/Vコンバータと、前記F/Vコンバータが出力した前記アナログ信号が入力されるアナログ/デジタル変換入力端子を有するマイクロコンピュータと、を備える制御装置の制御方法であって、
前記マイクロコンピュータは、前記アナログ/デジタル変換入力端子を介して入力された前記アナログ信号に基づいたデジタル値を取得し、前記デジタル値に基づいた値を算出し、この算出された値に応じて所定の制御を実行する
ことを特徴とする制御装置の制御方法。
A pulse signal output from the speed sensor is input, an F / V converter that outputs an analog signal of a voltage based on the frequency of the pulse signal, and an analog / digital input of the analog signal output from the F / V converter A control method comprising a microcomputer having a conversion input terminal,
The microcomputer acquires a digital value based on the analog signal input via the analog / digital conversion input terminal, calculates a value based on the digital value, and determines a predetermined value according to the calculated value. The control method of the control apparatus characterized by performing control of this.
JP2013089462A 2013-04-22 2013-04-22 Control device and control method of control device Pending JP2014214606A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013089462A JP2014214606A (en) 2013-04-22 2013-04-22 Control device and control method of control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013089462A JP2014214606A (en) 2013-04-22 2013-04-22 Control device and control method of control device

Publications (1)

Publication Number Publication Date
JP2014214606A true JP2014214606A (en) 2014-11-17

Family

ID=51940633

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013089462A Pending JP2014214606A (en) 2013-04-22 2013-04-22 Control device and control method of control device

Country Status (1)

Country Link
JP (1) JP2014214606A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58170836A (en) * 1982-03-31 1983-10-07 Hitachi Zosen Corp Control device for diesel engine
JPS61237863A (en) * 1985-04-12 1986-10-23 Chukei Asada Electronic control type internal-combustion engine
JPS61247843A (en) * 1985-04-25 1986-11-05 Masashi Yamakawa Monitoring safety device for tappet valve of electronic controlled internal-combustion engine
JPS6352636U (en) * 1986-09-26 1988-04-08
JP2006111164A (en) * 2004-10-15 2006-04-27 Honda Motor Co Ltd Vehicular turn indicator control device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58170836A (en) * 1982-03-31 1983-10-07 Hitachi Zosen Corp Control device for diesel engine
JPS61237863A (en) * 1985-04-12 1986-10-23 Chukei Asada Electronic control type internal-combustion engine
JPS61247843A (en) * 1985-04-25 1986-11-05 Masashi Yamakawa Monitoring safety device for tappet valve of electronic controlled internal-combustion engine
JPS6352636U (en) * 1986-09-26 1988-04-08
JP2006111164A (en) * 2004-10-15 2006-04-27 Honda Motor Co Ltd Vehicular turn indicator control device

Similar Documents

Publication Publication Date Title
WO2011037175A1 (en) Power supply control device
JP2008148468A (en) Vehicle battery current detection apparatus
CN107585118B (en) System for sharing battery with external device
JP2014190836A (en) Overcurrent anomaly determination device for electrical load control device, drive power distribution control device, and method and program for determining overcurrent anomaly
JP2015042526A (en) Electronic control device
JP5189261B2 (en) LED drive device
JP2011033632A (en) Stator of rotary electric machine
CN205365896U (en) Control system of double round balance car
US9559622B2 (en) Motor driving device, electronic appliance, and vehicle
JP5941718B2 (en) Signal processing circuit, in-vehicle electronic control device, and mounting method of signal processing circuit in in-vehicle electronic control device
JP2014214606A (en) Control device and control method of control device
JP2007097298A (en) Determination method for mounting charger battery
JP2006117131A5 (en)
JP5875426B2 (en) Sensor signal processing device and in-vehicle electronic control device
KR102371590B1 (en) Apparatus and Method for Controlling Hot Wire without Outside Sensor
US7078861B2 (en) Vehicle lamp controlling device and vehicle lamp controlling method
JP2009280111A (en) Power circuit
JP5752086B2 (en) Secondary battery monitoring device
JP5195518B2 (en) Short-circuit detection device
FR2824600B1 (en) MOTOR PUMP GROUP WHICH SHUT DOWN BY CURRENT ANALYSIS
CN105539662A (en) Control system for double-wheel balance vehicle
EP2361819A2 (en) Relay welding detecting device
KR100222190B1 (en) The driving apparatus of electric compressor for a car
JP6497215B2 (en) Resolver signal detection circuit
KR101567318B1 (en) Apparatus for detecting battery voltage of large vehicle

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151027

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160628

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20170110