JPH04350330A - Driving signal conversion method for instrument - Google Patents
Driving signal conversion method for instrumentInfo
- Publication number
- JPH04350330A JPH04350330A JP3172991A JP3172991A JPH04350330A JP H04350330 A JPH04350330 A JP H04350330A JP 3172991 A JP3172991 A JP 3172991A JP 3172991 A JP3172991 A JP 3172991A JP H04350330 A JPH04350330 A JP H04350330A
- Authority
- JP
- Japan
- Prior art keywords
- period
- value
- constant
- cylinders
- engine
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims description 5
- 238000006243 chemical reaction Methods 0.000 title description 2
- 238000005070 sampling Methods 0.000 claims abstract description 17
- 230000003247 decreasing effect Effects 0.000 abstract 1
- 230000000630 rising effect Effects 0.000 description 4
- 230000007423 decrease Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Combined Controls Of Internal Combustion Engines (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は、交差コイル式計器等ア
ナログ式計器の指示角度変換方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for converting the indicated angle of an analog meter such as a crossed coil meter.
【0002】0002
【従来の技術】一般的に、エンジンの回転数をアナログ
式計器を用いて指示する場合、エンジンの火点プラグの
出力する信号の周期を測定し、θ=K・(1/T)(θ
:指示角度,T:火点プラグ周期,K:比例定数)の式
によって角度変換している。定数Kは1/T(=f)に
対し指示角度θを決める比例定数であり、周波数fに対
する指示角度θの特性を決めるものである。[Prior Art] Generally, when the engine speed is indicated using an analog meter, the cycle of the signal output from the spark plug of the engine is measured, and θ=K・(1/T)(θ
: indicated angle, T: spark plug period, K: constant of proportionality). The constant K is a proportional constant that determines the indicated angle θ with respect to 1/T (=f), and determines the characteristics of the indicated angle θ with respect to the frequency f.
【0003】したがって指示角度θを指示させるために
はまず定数Kを定めなくてはならない。この値は、例え
ば5000回転/分で180度を指示する計器を設定し
た場合、5000回転時の周期Tとその時の指示角度θ
(=180度)から一意的にK=T・180度として求
められる。[0003] Therefore, in order to indicate the indicated angle θ, it is first necessary to determine the constant K. For example, if a meter is set to indicate 180 degrees at 5000 rotations/minute, this value is the period T at 5000 rotations and the indicated angle θ at that time.
(=180 degrees), it can be uniquely determined as K=T・180 degrees.
【0004】0004
【発明が解決しようとする課題】ところがエンジンの種
類、この場合気筒数が変化すると、同一回転数同一指示
角度特性の計器(ある回転数に対して指示角度が決定さ
れる計器)は前記定数Kの値を換えてやらなくてはなら
ない。具体的に説明すると、気筒数の違いによりエンジ
ンのプラグから出力される信号を1回転あたりのパルス
数、すなわちパルスレートPとして表すと、3気筒で1
.5(pulse/rev )、4気筒で2.0(pu
lse/rev )、5気筒で2.5(pulse/r
ev )、・・・と変化していく。ここで指示角度θを
回転数Rの関数としてみた場合、θ=K′・Rと表され
るが、この式は、θ=K′・R
=K′・(f/P)
=K′・(1/P)・(1/T)
と式変換でき、前記θ=K・(1/T)の定数KはK=
K′・(1/P)となる。すなわち定数Kは気筒数の増
減で変化する定数となってしまい、多種のエンジンに用
いる場合はそれぞれのエンジンに合った定数を持たなく
てはいけない。[Problem to be Solved by the Invention] However, when the type of engine, in this case the number of cylinders, changes, an instrument with the same rotation speed and the same indication angle characteristic (an instrument whose indication angle is determined for a certain rotation speed) changes to the constant K. You have to change the value of . To explain specifically, if the signal output from the engine plug due to the difference in the number of cylinders is expressed as the number of pulses per revolution, that is, the pulse rate P, the signal output from the engine plug due to the difference in the number of cylinders is expressed as the number of pulses per revolution, or the pulse rate P.
.. 5 (pulse/rev), 2.0 (pu
lse/rev ), 2.5 (pulse/r
ev),... Here, when we look at the indicated angle θ as a function of the rotation speed R, it is expressed as θ=K'・R, and this formula is: θ=K'・R =K'・(f/P) =K'・(1/P)・(1/T), and the constant K of the above θ=K・(1/T) is K=
K'・(1/P). In other words, the constant K becomes a constant that changes as the number of cylinders increases or decreases, and when used in various types of engines, it is necessary to have a constant suitable for each engine.
【0005】これらの処理をデジタル回路カスタムIC
又はCPUなどで行う場合、定数Kを多く持つことは回
路又はプログラムデータROMが大きくなりコスト増に
なり適当でない。よって定数Kはある範囲内での限られ
た値となるのが通常である。例えば同一回転数同一指示
角度の計器、具体的にパルスレートPが2.0(pul
se/rev )で、200(Hz)の入力に対し、文
字板のデザイン上6000回転/分の数字の位置を数字
0度の位置を基準として200度から2度のステップで
300度までのいずれかの位置に設定する場合、θ=K
・fより、定数Kは1.00から0.01ステップで1
.50までの51個のデータを持たなくてはならない。
すなわち[0005] These processes are carried out using a digital circuit custom IC.
Alternatively, in the case of using a CPU or the like, it is not appropriate to have a large number of constants K because the circuit or program data ROM becomes large and the cost increases. Therefore, the constant K usually has a limited value within a certain range. For example, a meter with the same rotation speed and the same indicated angle, specifically a pulse rate P of 2.0 (pul
se/rev), in response to an input of 200 (Hz), the position of the 6000 revolutions per minute number on the dial design can be changed from 200 degrees to 300 degrees in 2 degree steps based on the 0 degree position of the number. When setting at this position, θ=K
・From f, the constant K is 1 in steps of 0.01 from 1.00.
.. Must have 51 pieces of data up to 50. i.e.
【0006】ところが、パルスレートPが2.
0(pulse/rev )と2.5(pulse/r
ev )の2種類となると、それぞれの周波数は200
(Hz) と250(Hz) と変化する。このときそ
れぞれが252度を指示する場合、パルスレートPが2
.0(pulse/rev )の定数Kは1.26であ
るのに対し、パルスレートPが2.5(pulse/r
ev )の定数Kは
252(度)=1.008・250(Hz)を満たすK
=1.008となる。However, if the pulse rate P is 2.
0(pulse/rev) and 2.5(pulse/r
ev ), each frequency is 200
(Hz) and 250 (Hz). At this time, if each indicates 252 degrees, the pulse rate P is 2
.. The constant K of 0 (pulse/rev) is 1.26, while the pulse rate P is 2.5 (pulse/r
The constant K of ev ) satisfies 252 (degrees) = 1.008・250 (Hz)
=1.008.
【0007】しかし前記定数Kは0.01ステップで設
定したので、このときのK=1.008はこの設定下で
は実現することができない。したがって定数Kを0.0
01ステップにすることが考えられるが、この分ROM
データが増加してしまうし、K=1.008を丸め込ん
でK=1.00にすると、指示精度が落ちてしまう。However, since the constant K is set in steps of 0.01, K=1.008 cannot be realized under this setting. Therefore, the constant K is 0.0
It is possible to set it to 01 steps, but this minute ROM
The data will increase, and if K=1.008 is rounded to K=1.00, the instruction accuracy will decrease.
【0008】[0008]
【課題を解決するための手段】本発明は指示計器の指示
角度θを回転数Rの関数としてみたとき、すなわち、θ
=K・R
=K・(f/P)
=K・(1/P)・(1/T)
=K・(1/P・T)
と式変換できることに着目すると、パルスレートPと、
点火プラグの周期の積、すなわちP(pulse/re
v )×T(min/pulse )は1回転あたりの
時間(min/rev)となる。この時間は、一定周期
のサンプリングクロック毎にエンジンの気筒数によって
決まる基準信号nを計数加算(カウントアップ)するこ
とによって決定される。[Means for Solving the Problems] The present invention provides that when the indicating angle θ of the indicating instrument is viewed as a function of the rotation speed R, that is, θ
=K・R =K・(f/P) =K・(1/P)・(1/T) =K・(1/P・T) If we focus on the formula conversion, we can calculate the pulse rate P and
The product of spark plug periods, i.e. P(pulse/re
v)×T(min/pulse) is the time per revolution (min/rev). This time is determined by adding up (counting up) a reference signal n determined by the number of cylinders of the engine every sampling clock of a constant period.
【0009】[0009]
【作用】前記1回転あたりの時間はパルスレートPの変
化、すなわち気筒数Bの変化に左右されない値となるた
め、定数KはパルスレートPの変化に関係なく任意の指
示角度θとこのときの計数値Nを代入して一意に求める
ことができる。この一意に決定された定数Kに前記信号
数の逆数1/Nを掛け合わせるだけでどの気筒数にも適
用できる指示計器を得ることができる。尚、先行文献と
して特公昭61−57580を参照。[Operation] Since the time per revolution is a value that is not affected by changes in the pulse rate P, that is, changes in the number of cylinders B, the constant K is set at any indicated angle θ and at this time regardless of changes in the pulse rate P. It can be uniquely determined by substituting the count value N. An indicating instrument that can be applied to any number of cylinders can be obtained by simply multiplying this uniquely determined constant K by the reciprocal 1/N of the number of signals. In addition, please refer to Japanese Patent Publication No. 61-57580 as a prior document.
【0010】0010
【実施例】本発明の好適な実施例を図1,図2を用いて
説明する。図1、1はサンプリングクロック回路で、一
定周期のパルス信号(サンプリング信号)を出力する。
2は基準信号回路で、気筒数を設定する端子またはスイ
ッチが設けられ、この端子またはスイッチに気筒数に関
するデータを入力もしくは切り換えることで基準信号n
が設定される。3は周期カウンタで、サンプリング信号
が出力されるたびに基準信号nを加算し、総加算値Nを
算出する。4はリセット回路で、エンジンの点火プラグ
が出力する信号を入力し、この点火信号のほぼ周期毎に
周期カウンタ3の計数値Nをリセットする。このリセッ
トされる前の計数値Nを、前述したθ=K・(1/N)
に代入し、指示計器を指示させる。[Embodiment] A preferred embodiment of the present invention will be described with reference to FIGS. 1 and 2. 1 shows a sampling clock circuit which outputs a pulse signal (sampling signal) with a constant period. 2 is a reference signal circuit, which is provided with a terminal or switch for setting the number of cylinders, and by inputting or switching data regarding the number of cylinders to this terminal or switch, the reference signal n
is set. 3 is a period counter which adds a reference signal n every time a sampling signal is output, and calculates a total addition value N. Reference numeral 4 denotes a reset circuit which inputs a signal output from the ignition plug of the engine and resets the count value N of the period counter 3 approximately every cycle of this ignition signal. The count value N before being reset is the aforementioned θ=K・(1/N)
and make the indicating instrument indicate the value.
【0011】図2は図1の動作説明図である。点火信号
の周期とは無関係に一定周期でサンプリング信号が出力
されている。点火信号の立ち上がりAを含んだサンプリ
ング信号の次のサンプリング信号の立ち上がりaで、周
期カウンタに基準信号nを加算させ、周期カウンタ3か
ら計数値Nを出力し、周期カウンタ3をリセットする。
さらに次のサンプリング信号の立ち上がりbとともに周
期カウンタ3は計数加算を開始し、点火信号の次の立ち
上がりBがあるまで加算を繰り返し、前記立ち上がりA
の出力時と同様計数値Nを出力した後リセットされる。FIG. 2 is an explanatory diagram of the operation of FIG. A sampling signal is output at a constant cycle regardless of the cycle of the ignition signal. At the rising edge a of the sampling signal next to the sampling signal including the rising edge A of the ignition signal, the reference signal n is added to the period counter, the count value N is outputted from the period counter 3, and the period counter 3 is reset. Furthermore, the period counter 3 starts counting and adding at the next rising edge b of the sampling signal, and repeats the addition until there is the next rising edge B of the ignition signal.
It is reset after outputting the count value N in the same way as when outputting.
【0012】すなわち、点火信号の周期をT、サンプリ
ング信号の周期をT(SK)とすると、周期カウンタ3
での計数値Nは
N=(T/T(SK))・n
で表される。That is, if the period of the ignition signal is T and the period of the sampling signal is T (SK), the period counter 3
The count value N at is expressed as N=(T/T(SK))·n.
【0013】具体例として、1気筒の点火信号周期T(
1)を2.0(msec/pulse)、基準信号n(
1)を1に設定し、さらに2気筒の点火信号周期T(2
)を1.0(msec/pulse)、基準信号n(2
)を2に設定したとき、サンプリング信号周期T(SK
)は両気筒とも一定だから、このときの計数値Nはそれ
ぞれ N(1)=(2.0/T
(SK))・1=2.0/T(SK)
N(2)=(1.0/T(SK))・2=2.
0/T(SK)となり、N(1)=N(2)であること
が分かる。この計数値Nはどの気筒数においても等しく
なり、前記指示計器の指示角度θと回転数Rとの関係式
θ=K・R、すなわちその変形式θ=K・(1/N)よ
り、Kはどの気筒数に対してもK=θ・N=θ・(2.
0/T(SK))と一意に設定することができ、各気筒
数によって異なっていたパルスレートPに無関係の値と
なる。As a specific example, the ignition signal period T(
1) at 2.0 (msec/pulse), the reference signal n(
1) is set to 1, and the ignition signal period T(2
) is 1.0 (msec/pulse), and the reference signal n (2
) is set to 2, the sampling signal period T(SK
) is constant for both cylinders, so the count value N at this time is N(1) = (2.0/T
(SK))・1=2.0/T(SK)
N(2)=(1.0/T(SK))・2=2.
0/T(SK), and it can be seen that N(1)=N(2). This count value N is the same for any number of cylinders, and from the relational expression θ=K・R between the indicated angle θ of the indicator and the rotation speed R, that is, its modified form θ=K・(1/N), K is K=θ・N=θ・(2.
0/T(SK)), and is a value that is unrelated to the pulse rate P, which differs depending on the number of cylinders.
【0014】尚、前記実施例は、サンプリング信号毎に
基準信号nを周期カウンタ3に加算するようにしていた
が、要はサンプリング信号の周期内に気筒数によって決
定される値が周期カウンタ3に計数されればよく、この
値に対応するパルス信号を計数加算して計数値Nを算出
する方法を取ってもよい。In the above embodiment, the reference signal n is added to the period counter 3 for each sampling signal, but the point is that the value determined by the number of cylinders is added to the period counter 3 within the period of the sampling signal. It is sufficient if the number is counted, and a method may be used in which the counted value N is calculated by counting and adding pulse signals corresponding to this value.
【0015】[0015]
【発明の効果】本発明は、指示計器の指示角度θを回転
数Rの関数としてとらえ、θ=K・(1/N)と式変形
させたときNは気筒数の増減によらない数として算出で
きるから、定数Kを一意に定決することができるため、
ROMを増加させずに指示計器の指示角設定を容易に行
い得る。また、定数Kを変えることより、エンジンの回
転数に対する指示角度を容易に設定できる。さらに、パ
ルスレートPが違ってもエンジンの回転数や車速が等し
ければ、点火信号の一周期間の計数値Nが等しいので、
各種エンジンの回転数や車速の判定に使用できる。[Effects of the Invention] The present invention takes the indicated angle θ of the indicating instrument as a function of the rotation speed R, and when the formula is transformed to θ=K・(1/N), N is a number that does not depend on the increase or decrease in the number of cylinders. Since it can be calculated, the constant K can be uniquely determined.
The indicating angle of the indicating instrument can be easily set without increasing the ROM. Furthermore, by changing the constant K, the designated angle relative to the engine speed can be easily set. Furthermore, even if the pulse rate P is different, if the engine speed and vehicle speed are the same, the count value N during one period of the ignition signal is the same, so
It can be used to determine the rotation speed of various engines and vehicle speed.
【図1】本考案の好適な実施例を示すブロック図である
。FIG. 1 is a block diagram showing a preferred embodiment of the present invention.
【図2】図1の動作説明をするための図である。FIG. 2 is a diagram for explaining the operation of FIG. 1;
1 サンプリングクロック回路 2 基準信号回路 3 周期カウンタ 4 リセット回路 1 Sampling clock circuit 2 Reference signal circuit 3 Period counter 4 Reset circuit
Claims (1)
よって出力される信号の周期間に出力された基準信号n
を計数し、この計数値Nに基づいて指示計器の回転角度
θをθ=K・(1/N)(Kは定数)によって変換し、
エンジンの回転数を指示計器に指示するようにしたもの
において、前記基準信号nはエンジンの気筒数によって
決定され、前記計数値Nは、前記エンジンの回転によっ
て出力される信号とは無関係に一定周期で出力されるサ
ンプリングクロックの周期毎に基準信号nを計数加算さ
れることを特徴とする指示計器の指示角度変換方法。Claim 1: A reference signal n output during a period of a signal output due to engine rotation, such as a plug ignition signal.
, and based on this count value N, convert the rotation angle θ of the indicating instrument by θ=K・(1/N) (K is a constant),
The reference signal n is determined by the number of cylinders of the engine, and the count value N has a constant period regardless of the signal outputted by the rotation of the engine. 1. A method for converting an indicating angle of an indicating instrument, characterized in that a reference signal n is counted and added for each period of a sampling clock outputted by a sampling clock.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3172991A JP2720608B2 (en) | 1991-01-31 | 1991-01-31 | Instrument angle conversion method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3172991A JP2720608B2 (en) | 1991-01-31 | 1991-01-31 | Instrument angle conversion method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH04350330A true JPH04350330A (en) | 1992-12-04 |
JP2720608B2 JP2720608B2 (en) | 1998-03-04 |
Family
ID=12339133
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3172991A Expired - Fee Related JP2720608B2 (en) | 1991-01-31 | 1991-01-31 | Instrument angle conversion method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2720608B2 (en) |
-
1991
- 1991-01-31 JP JP3172991A patent/JP2720608B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2720608B2 (en) | 1998-03-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2953502B2 (en) | Driving device for stepping motor type instrument | |
JPH04350330A (en) | Driving signal conversion method for instrument | |
US4188820A (en) | Device for measuring rotational angles of a rotating shaft | |
EP0505826B1 (en) | Meter driving method | |
JPH01320468A (en) | Method and apparatus for measuring revolutions of machine | |
JPS5895230A (en) | Method and apparatus for electronic type temperature measurement | |
KR100537265B1 (en) | Method for driving meter | |
JP2000018975A (en) | Device for stepping motor type instrument | |
JPH04233467A (en) | Method and apparatus for measuring speed of motor | |
SU926111A1 (en) | Device for measuring warp feed in warp-kitting machines | |
JP2778314B2 (en) | Indicating instrument | |
JPH07294286A (en) | Driver for instrument | |
JPS60210768A (en) | Display apparatus | |
JPH051959A (en) | Measuring device | |
JPH034174A (en) | Speed detecting device for vehicle | |
JPH0560808A (en) | Period measuring instrument, frequency measuring instrument, period and frequency measuring method, and meter driving device | |
JPH0376427B2 (en) | ||
SU1439423A1 (en) | Disbalance vector meter | |
JPS61284664A (en) | Measuring method for rotational frequency | |
JPH0355107Y2 (en) | ||
JPH0540137A (en) | Measuring circuit | |
JPH0541411Y2 (en) | ||
JPH05344795A (en) | Instrument for vehicle | |
JPH0690224B2 (en) | Control device for crossed coil type instrument | |
SU763797A1 (en) | Digital measuring instrument for determining relative velocity difference |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |