JP3351654B2 - Trigonometric function data conversion circuit and meter device - Google Patents

Trigonometric function data conversion circuit and meter device

Info

Publication number
JP3351654B2
JP3351654B2 JP10093195A JP10093195A JP3351654B2 JP 3351654 B2 JP3351654 B2 JP 3351654B2 JP 10093195 A JP10093195 A JP 10093195A JP 10093195 A JP10093195 A JP 10093195A JP 3351654 B2 JP3351654 B2 JP 3351654B2
Authority
JP
Japan
Prior art keywords
data
function data
circuit
input
function
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.)
Expired - Fee Related
Application number
JP10093195A
Other languages
Japanese (ja)
Other versions
JPH08292201A (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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP10093195A priority Critical patent/JP3351654B2/en
Publication of JPH08292201A publication Critical patent/JPH08292201A/en
Application granted granted Critical
Publication of JP3351654B2 publication Critical patent/JP3351654B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、三角関数データ変換回
路およびそれを用いたメータ装置に係り、例えば自動車
の速度計、エンジン回転数指示用の回転計などに使用さ
れる。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a trigonometric function data conversion circuit and a meter device using the same, and is used, for example, in a speedometer of an automobile and a tachometer for indicating an engine speed.

【0002】[0002]

【従来の技術】自動車のスピードメータやタコメータ
は、速度情報あるいは回転数情報に応じた周波数を持つ
パルス信号が入力し、これを処理して別のデータに変換
する周波数データ変換装置を使用し、この周波数データ
変換装置の出力を用いてメータ指示を制御している。
2. Description of the Related Art Speedometers and tachometers of automobiles use a frequency data converter which receives a pulse signal having a frequency corresponding to speed information or rotation speed information, processes the pulse signal and converts it into another data. Meter output is controlled using the output of the frequency data converter.

【0003】図8は、自動車搭載用のアナログ指針式速
度メータ装置の従来例を示している。 ここで、70は
アナログ指針式メータ本体、80は集積回路化されたメ
ータ制御装置である。
FIG. 8 shows a conventional example of an analog pointer type speed meter device mounted on an automobile. Here, reference numeral 70 denotes an analog pointer type meter main body, and reference numeral 80 denotes an integrated circuit integrated meter control device.

【0004】図9は、図8中のメータ本体70の構造を
概略的に示す斜視図である。このアナログ指針式メータ
本体70は、直交するように配設された2つのボビンに
それぞれ対応して巻かれた電磁コイル71、72と、こ
れらに直交する向きに設けられた回転軸73と、この回
転軸73の中間部に取り付けられ、前記ボビン内に配置
された永久磁石74と、上記回転軸73の先端部に取り
付けられ、前記ボビン外に配置された指針75とを具備
する。
FIG. 9 is a perspective view schematically showing the structure of the meter main body 70 in FIG. The analog pointer type meter main body 70 includes electromagnetic coils 71 and 72 wound corresponding to two bobbins disposed orthogonal to each other, a rotating shaft 73 provided in a direction orthogonal to these, and It has a permanent magnet 74 attached to the middle part of the rotating shaft 73 and arranged inside the bobbin, and a pointer 75 attached to the tip of the rotating shaft 73 and arranged outside the bobbin.

【0005】前記メータ制御装置80において、周期カ
ウンタ81は、速度情報に応じた周期を有するパルス信
号(メータ制御信号)が入力し、この周期をカウント
し、周波数量を表わすデータを生成する。
In the meter control device 80, a cycle counter 81 receives a pulse signal (meter control signal) having a cycle corresponding to the speed information, counts the cycle, and generates data representing a frequency amount.

【0006】指示角量化データ生成回路82は、上記周
期カウンタ81の出力データの周波数量に応じてメータ
指示角に対応するデジタル量を表わすデータ(指示角量
化データ)を生成する。
The designated angle quantified data generation circuit 82 generates data (designated angle quantified data) representing a digital amount corresponding to the meter designated angle in accordance with the frequency amount of the output data of the period counter 81.

【0007】三角関数データ変換回路83は、前記指示
角量化データ生成回路82の出力データを三角関数デー
タ(SIN、COS)に変換するものであり、SIN関
数データを記憶したsin用のROM(読み出し専用メ
モリ)831とCOS関数データを記憶したcos用の
ROM832とからなる。なお、上記sin用のROM
831、cos用のROM832に代えて、入力データ
をデコードしてSIN関数データおよびCOS関数デー
タを出力するデコーダを用いる場合もある。
The trigonometric function data conversion circuit 83 converts the output data of the designated angle quantification data generation circuit 82 into trigonometric function data (SIN, COS), and stores a sin ROM (readout) storing the SIN function data. A dedicated memory 831 and a cos ROM 832 storing COS function data. ROM for the above sin
In some cases, a decoder that decodes input data and outputs SIN function data and COS function data may be used instead of the ROM 832 for the cos 831.

【0008】DA変換回路84は、前記三角関数データ
変換回路83の出力データをD/A変換(またはパルス
幅変調;PWM)により電流あるいは電圧に変換する。
メータ駆動回路85は、上記DA変換回路84の出力に
応じた電流量を前記メータ本体70の2つの電磁コイル
71、72に供給する。
The DA conversion circuit 84 converts the output data of the trigonometric function data conversion circuit 83 into a current or a voltage by D / A conversion (or pulse width modulation; PWM).
The meter driving circuit 85 supplies a current amount corresponding to the output of the DA conversion circuit 84 to the two electromagnetic coils 71 and 72 of the meter main body 70.

【0009】図10(A)は、前記指示角量化データ生
成回路82における指示角と出力データとの関係を示し
ており、図10(B)は、前記メータ本体70における
指示角と2つの電磁コイル71、72に流す電流量(S
INθ、COSθ)と向きとの関係を示している。上記
電磁コイル71、72により発生する磁界(X、Y)の
ベクトル和に応じて前記永久磁石74の回転位置が駆動
制御されることにより指針75の指示角が定まる。
FIG. 10A shows the relationship between the designated angle and the output data in the designated angle quantified data generating circuit 82, and FIG. 10B shows the relationship between the designated angle in the meter body 70 and two electromagnetic waves. The amount of current flowing through the coils 71 and 72 (S
INθ, COSθ) and the direction. The rotational angle of the permanent magnet 74 is drive-controlled in accordance with the vector sum of the magnetic fields (X, Y) generated by the electromagnetic coils 71 and 72, whereby the pointing angle of the pointer 75 is determined.

【0010】図11(A)および図11(B)は、図8
中の三角関数データ変換回路を示すブロック図およびそ
の動作例を示すタイミング図である。ところで、上記し
た従来の三角関数データ変換回路83は、sin用、c
os用のROMあるいは2つのデコーダを使用している
ので、コストが高くなるという問題がある。
FIGS. 11A and 11B show FIG.
FIG. 3 is a block diagram illustrating a trigonometric function data conversion circuit therein and a timing diagram illustrating an operation example thereof. By the way, the above-mentioned conventional trigonometric function data conversion circuit 83 is used for sin, c
Since the ROM for os or two decoders is used, there is a problem that the cost increases.

【0011】この問題を解決するために、例えば図12
に示すような三角関数の変数範囲0〜2πラジアンのう
ちの第1象限におけるSIN関数、COS関数の対象性
に着目し、0°〜90°(π/2)までのSIN関数デ
ータを90°〜0°までのCOS関数データとして流用
することにより、SIN関数データを記憶した1つのR
OMをcos用のROMとして兼用することが考えられ
る。
In order to solve this problem, for example, FIG.
Focusing on the symmetry of the SIN function and the COS function in the first quadrant of the variable range of the trigonometric function from 0 to 2π radians as shown in FIG. 5, the SIN function data from 0 ° to 90 ° (π / 2) is converted to 90 °. By diverting as COS function data of up to 0 °, one R
It is conceivable that the OM is also used as a ROM for cos.

【0012】この場合、変数を表わす複数ビットのバイ
リーデータにより指定されるアドレスに対応してSI
N関数データを記憶しておき、SIN関数データの読み
出しあるいはCOS関数データの読み出しに応じてアド
レス入力のバイナリーデータの論理レベルの反転/非反
転を制御して関数データの読み出しを行うことが考えら
れる。
[0012] In this case, in response to an address specified by the plurality of bits of the bi <br/> Na Li data representing the variables SI
Stores the N function data, considered that to read the function data by controlling the inversion / non-inversion of the logic level of the binary Lee data address inputs in response to a read of the read or COS function data of the SIN function data Can be

【0013】しかし、例えば4ビットバイナリーデータ
からなるアドレス入力により指定される16ステップの
変数(π/2)×/16(は0〜15)に対応する
SIN関数データおよびCOS関数データは、45°
(π/4)を中心にして観察した場合に対象ではない。
[0013] However, for example, 4 bit binary 16 steps of variable specified by the address input consisting of Li data (π / 2) × N / 16 (N is 0 to 15) SIN function data and COS function data corresponding to the 45 °
It is not a target when observed around (π / 4).

【0014】即ち、4ビットのアドレス入力が例えば
(0000)=0°の場合、SIN関数データの読み出
し時にはアドレス入力が反転しないとすると、SIN0
°のデータが読み出される。これに対して、COS関数
データの読み出し時にはアドレス入力が反転して(11
11)=90°×15/16になり、COS(90°×
15/16)のデータ(COS90°のデータではな
い)が読み出されるので、アドレス入力の1LSB分で
ある90°×1/16に対応する関数データの変換誤差
が生じる。
That is, if the 4-bit address input is, for example, (0000) = 0 °, if the address input is not inverted when reading the SIN function data, SIN0
° data is read. On the other hand, when reading the COS function data, the address input is inverted (11).
11) = 90 ° × 15/16, and COS (90 ° ×
15/16) (not COS 90 ° data) is read out, so that a conversion error occurs in the function data corresponding to 90 ° × 1/16, which is 1 LSB of the address input.

【0015】上記したように関数データの変換誤差が発
生すると、メータの指示誤差が発生するので、1つのR
OMをSIN用およびCOS用のROMとして兼用する
には回路的な工夫が必要になる。
As described above, when a conversion error of the function data occurs, a reading error of the meter occurs.
In order to use the OM as the ROM for the SIN and the ROM for the COS, it is necessary to devise a circuit.

【0016】[0016]

【発明が解決しようとする課題】上記したように従来の
三角関数データ変換回路およびそれを用いたメータ装置
は、SIN関数データあるいはCOS関数データを記憶
した1つのROMをSIN用およびCOS用のROMと
して兼用する場合に、一方の関数データを他方の関数デ
ータとして単純に流用したのでは三角関数データの変換
誤差が発生するという問題があった。
As described above, in the conventional trigonometric function data conversion circuit and the meter device using the same, one ROM storing the SIN function data or the COS function data is stored in the ROM for the SIN and the COS. In the case where the function data is also used, there is a problem that a conversion error of the trigonometric function data occurs if one function data is simply used as the other function data.

【0017】本発明は上記の問題点を解決すべくなされ
たもので、SIN関数データあるいはCOS関数データ
を記憶した1つのROMをSIN用およびCOS用のR
OMとして兼用して一方の関数データを他方の関数デー
タとして読み出す場合に、関数データの変換誤差の発生
量を極力抑制でき、コストダウンを図り得る三角関数デ
ータ変換回路およびそれを用いたメータ装置を提供する
ことを目的とする。
The present invention has been made in order to solve the above-mentioned problem. One ROM storing SIN function data or COS function data is stored in a ROM for SIN and COS.
When reading out one function data as the other function data also as the OM, a trigonometric function data conversion circuit and a meter device using the same can minimize the amount of conversion error of the function data and reduce the cost. The purpose is to provide.

【0018】[0018]

【課題を解決するための手段】本発明の三角関数データ
変換回路は、三角関数の変数範囲0〜2πラジアンのう
ちの1つの象限における変数を表わす複数(n)ビット
のバイナリーデータにより指定される入力に対応して、
上記1つの象限における変数の中間角を中心にして対象
になるようなSIN関数データおよびCOS関数データ
のうちの一方を出力するデータ出力回路と、上記データ
出力回路からSIN関数データを読み出すかCOS関数
データを読み出すかに応じてバイナリーデータ入力の論
理レベルの反転/非反転を制御して上記データ出力回路
に入力する入力反転制御回路と、前記データ出力回路か
ら読み出された関数データを上記入力反転制御回路にお
ける切換制御に対応してSIN関数データあるいはCO
S関数データとして分離するSIN・COS分離回路と
を具備することを特徴とする。
Means for Solving the Problems] trigonometric function data conversion circuit of the present invention is designated by the binary Lee data of a plurality (n) bits representing the variables in one quadrant of the variable range 0~2π radians trigonometric Corresponding to the input
A data output circuit for outputting one of the SIN function data and the COS function data which is targeted around the intermediate angle of the variable in the one quadrant; and reading the SIN function data from the data output circuit or the COS function an input inversion control circuit controls the logic level of the inversion / non-inversion of the binary Lee data input is input to the data output circuit depending on whether read data, the input function data read from the data output circuit In response to the switching control in the inversion control circuit, SIN function data or CO
A SIN / COS separation circuit for separating as S function data.

【0019】さらに、前記データ出力回路の読み出しサ
イクルの一定間隔毎に入力に対して所定量の補正を行う
ことにより、ある入力に対応して前記データ出力回路か
ら複数回読み出された関数データの平均値を理論角に対
応して読み出される関数データに近付けるアドレス入力
補正回路を具備することが望ましい。
Further, by performing a predetermined amount of correction on the input at regular intervals of a read cycle of the data output circuit, the function data read out from the data output circuit a plurality of times corresponding to a certain input can be obtained. It is desirable to have an address input correction circuit that brings the average value closer to the function data read out corresponding to the theoretical angle.

【0020】[0020]

【作用】データ出力回路として例えばROMを使用する
場合には、バイナリーデータによりアドレスが指定さ
れ、アドレスとSIN関数データとの対応関係およびア
ドレスとCOS関数データとの対応関係が上記1つの象
限における変数の中間角を中心にして対象になるような
SIN関数データおよびCOS関数データのうちの一方
を記憶しておき、指定アドレスに応じて上記関数データ
を出力する。
[Action] When using as a data output circuit, for example ROM is designated address by binary Lee data, in correspondence of one said quadrant between an address and SIN function data and the correspondence relationship and address and COS function data One of the SIN function data and the COS function data that are targeted around the intermediate angle of the variable is stored, and the function data is output according to the designated address.

【0021】この場合、nビットのアドレス入力により
指定されるSIN関数あるいはCOS関数の変数範囲9
0°を2分割した角度毎に、分割した最小角の1/2
の量を加算した角度に対応するSIN関数データあるい
はCOS関数データを記憶した1つのROMをSIN用
およびCOS用のROMとして兼用し、アドレス入力の
反転制御を行うことにより一方の関数データを他方の関
数データとして読み出すことにより、アドレス入力とS
IN関数データとの対応関係およびアドレス入力とCO
S関数データとの対応関係が変数の中間角を中心にして
対象になるようなほぼ正確な関数データを読み出すこと
が可能になる。しかも、このために必要な回路構成は簡
単であり、コストダウンを図ることができる。また、ア
ドレス入力補正回路を付加することにより、関数データ
の変換誤差の発生量を極力抑制することができる。
In this case, the variable range 9 of the SIN function or COS function specified by the n-bit address input
For each angle at which 0 ° is divided into 2 n , 最小 of the minimum angle divided
One ROM storing the SIN function data or the COS function data corresponding to the angle obtained by adding the amount of SIN is also used as the ROM for the SIN and the ROM for the COS, and by performing the inversion control of the address input, one function data is converted to the other. By reading as function data, address input and S
Correspondence with IN function data and address input and CO
Almost accurate function data can be read such that the correspondence with the S function data is targeted around the middle angle of the variable. In addition, the circuit configuration required for this is simple, and the cost can be reduced. Further, by adding the address input correction circuit, the generation amount of the conversion error of the function data can be suppressed as much as possible.

【0022】[0022]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。図1は、本発明の三角関数データ変換回路
の第1実施例を示している。この三角関数データ変換回
路は、アドレス入力反転制御回路20と、1つのROM
30と、SIN・COS分離回路40とを具備する。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 shows a first embodiment of a trigonometric function data conversion circuit according to the present invention. This trigonometric function data conversion circuit includes an address input inversion control circuit 20 and one ROM.
30 and a SIN / COS separation circuit 40.

【0023】上記ROM30は、三角関数の変数範囲0
〜2πラジアンのうちの1つの象限(本例では第1象
限)における変数を表わす複数(n)ビットのバイナ
データにより指定されるアドレスに対応してSIN関
数データおよびCOS関数データのうちの一方を記憶し
ておき、指定アドレスに応じて上記関数データを出力す
るものである。
The ROM 30 stores a variable range 0 of the trigonometric function.
(In this example the first quadrant) one quadrant of ~2π radians plurality representing the variables in (n) of the bit binary
In response to an address specified by chromatography data is stored one of SIN function data and COS function data, and outputs the function data in accordance with the specified address.

【0024】この場合、上記ROM30は、図2に示す
ように、アドレス(変数)とSIN関数データとの対応
関係およびアドレスとCOS関数データとの対応関係が
変数の中間角(本例では45°)を中心にして対象にな
るようなほぼ正確な関数データを記憶している。
In this case, as shown in FIG. 2, the ROM 30 stores the correspondence between the address (variable) and the SIN function data and the correspondence between the address and the COS function data at the intermediate angle of the variable (45 ° in this example). ) stores almost exact function data such that the subject around the.

【0025】即ち、SIN関数データを記憶しておく場
合には、SIN{90°×(N/2n)+90°×(1
/2n)×(1/2)}に比例したデータを記憶してお
き、COS関数データを記憶しておく場合には、COS
{90°×(N/2n)+90°×(1/2n)×(1/
2)}に比例したデータを記憶しておく。
That is, when storing the SIN function data, SIN {90 ° × (N / 2 n ) + 90 ° × (1
/ 2 n ) × (1/2)}, and when storing COS function data, COS
{90 ° × (N / 2 n ) + 90 ° × (1/2 n ) × (1 /
2) Store data proportional to}.

【0026】ここで、n=4の場合の記憶データは、 SIN{90°×N/2n+90°×(1/2n)×(1/2)} =SIN{90°×N/16+45°/16} ……(1) COS{90°×N/2n+90°×(1/2n)×(1/2)} =COS{90°×N/16+45°/16} ……(2) である。 つまり、図2に示した関数データは、nビッ
トのアドレス入力により指定されるSIN関数あるいは
COS関数の変数範囲90°を2n分割した角度毎に、
分割した最小角(アドレス入力の1LSBの角度=90
°/2n)の1/2の量を加算した角度に対応するSI
N関数データあるいはCOS関数データである。
Here, the storage data when n = 4 is: SIN {90 ° × N / 2 n + 90 ° × (1/2 n ) × (1/2)} = SIN {90 ° × N / 16 + 45 ° / 16} (1) COS {90 ° × N / 2 n + 90 ° × (1 / n ) × (1/2)} = COS {90 ° × N / 16 + 45 ° / 16}} 2) That is, the function data shown in FIG. 2 is obtained by dividing the variable range 90 ° of the SIN function or COS function designated by n-bit address input into 2 n divided angles.
Divided minimum angle (angle of 1 LSB of address input = 90
SI corresponding to the angle obtained by adding 1/2 of ° / 2 n )
This is N function data or COS function data.

【0027】これにより、 SIN{90°×N/16+45°/16} =COS{90°×(15−N)/16+45°/16} となる。As a result, SIN {90 ° × N / 16 + 45 ° / 16} = COS {90 ° × (15−N) / 16 + 45 ° / 16}.

【0028】なお、本例では、ROM30はSIN関数
データを記憶しているものとする。また、上記ROM3
0に代えて、他の記憶手段とか、入力データをデコード
して上記したようなSIN関数データおよびCOS関数
データを出力するデコーダを用いることも可能である。
In this embodiment, it is assumed that the ROM 30 stores SIN function data. The ROM 3
Instead of 0, it is also possible to use another storage means or a decoder that decodes input data and outputs the above-described SIN function data and COS function data.

【0029】前記アドレス入力反転制御回路20は、上
記ROM30に記憶された関数データをSIN関数デー
タとして読み出すかCOS関数データとして読み出すか
に応じてアドレス入力のバイナリーデータの論理レベル
の反転/非反転を制御するものである。
[0029] The address input inversion control circuit 20, the ROM30 in the stored function data of the logical level of the binary Lee data address inputs depending on whether read as either COS function data read out as SIN function data inversion / non-inversion Is controlled.

【0030】上記アドレス入力反転制御回路20の一具
体例としては、図3に示すように、アドレス入力を排他
的オアゲート回路21群の各一方の入力端に入力し、S
IN関数データとして読み出すかCOS関数データとし
て読み出すかを指定するための切換制御信号c/sを上
記排他的オアゲート回路21群の各他方の入力端に入力
し、上記排他的オアゲート回路21群の各出力を前記R
OM30に入力するように構成されている。
As a specific example of the address input inversion control circuit 20, as shown in FIG. 3, an address input is input to one input terminal of each of a group of exclusive OR gate circuits 21.
A switching control signal c / s for specifying whether to read as IN function data or to read as COS function data is input to the other input terminal of each of the exclusive OR gate circuits 21 and each of the exclusive OR gate circuits 21 is Output the R
It is configured to input to the OM 30.

【0031】SIN・COS分離回路40は、上記切換
制御信号c/sによる切換制御に対応して前記ROM3
0から読み出された関数データをSIN関数データある
いはCOS関数データとして分離するものであり、上記
切換制御信号c/sにより制御される。
The SIN / COS separation circuit 40 stores the ROM 3 in response to the switching control by the switching control signal c / s.
The function data read from 0 is separated as SIN function data or COS function data, and is controlled by the switching control signal c / s.

【0032】なお、上記アドレス入力反転制御回路20
およびSIN・COS分離回路40は、ROM30と同
一チップ上に形成しても別チップに形成してもよい。図
4は、図1の三角関数データ変換回路における各部の動
作例のタイミングを示している。
The address input inversion control circuit 20
The SIN / COS separation circuit 40 may be formed on the same chip as the ROM 30 or on a separate chip. FIG. 4 shows the timing of an operation example of each unit in the trigonometric function data conversion circuit of FIG.

【0033】上記第1実施例の三角関数データ変換回路
によれば、nビットのアドレス入力により指定されるS
IN関数あるいはCOS関数の変数範囲90°を2n分
割した角度毎に、分割した最小角の1/2の量を加算し
た角度に対応するSIN関数データを記憶した1つのR
OM30をSIN用およびCOS用のROMとして兼用
し、アドレス入力の反転制御を行うことにより一方の関
数データを他方の関数データとして読み出すことによ
り、アドレス入力とSIN関数データとの対応関係およ
びアドレス入力とCOS関数データとの対応関係が変数
の中間角45°を中心にして対象になるようなほぼ正確
な関数データを読み出すことが可能になる。しかも、こ
のために必要な回路構成は簡単であり、コストダウンを
図ることができる。
According to the trigonometric function data conversion circuit of the first embodiment, S designated by an n-bit address input
One R that stores SIN function data corresponding to an angle obtained by adding 1/2 of the minimum angle obtained by dividing the variable range 90 ° of the IN function or COS function by 2n into 2n.
The OM 30 is also used as the ROM for the SIN and the ROM for the COS, and the inversion control of the address input is performed to read out one function data as the other function data. Almost accurate function data can be read such that the correspondence with the COS function data is targeted around the intermediate angle 45 ° of the variable. In addition, the circuit configuration required for this is simple, and the cost can be reduced.

【0034】前記ROM30から図2に示した関数デー
タが読み出された場合には、アドレス入力(横軸)と関
数データ(縦軸)との対応関係がSIN関数変数あるい
はCOS関数の変数の理論角に対してアドレス入力の1
LSBの1/2だけ、つまり、90°×(1/2n)×
(1/2)だけずれている(加算されている)ことに伴
って変換誤差が含まれる。この点を解決するための第2
実施例を以下に示す。
When the function data shown in FIG. 2 is read from the ROM 30, the correspondence between the address input (horizontal axis) and the function data (vertical axis) is based on the theoretical value of the SIN function variable or the COS function variable. Address input 1 for the corner
Only one half of the LSB, that is, 90 ° × (1/2 n ) ×
A conversion error is included due to being shifted (added) by (1/2). The second to solve this point
Examples are shown below.

【0035】図5(A)は、本発明の三角関数データ変
換回路の第2実施例を示している。この三角関数データ
変換回路は、前記変換誤差を補正するために、第1実施
例の三角関数データ変換回路の入力側にアドレス入力補
正回路10が付加された点が異なり、その他は図1中と
同一符号を付している。
FIG. 5A shows a second embodiment of the trigonometric function data conversion circuit of the present invention. This trigonometric function data conversion circuit is different in that an address input correction circuit 10 is added to the input side of the trigonometric function data conversion circuit of the first embodiment in order to correct the conversion error. The same reference numerals are given.

【0036】上記アドレス入力補正回路10は、ROM
30から関数データを繰り返し読み出す際に、読み出し
サイクルの一定間隔毎(2サイクル毎)にアドレス入力
に対して所定量の補正を行う(本例では90°/
加算する)ことにより、あるアドレス入力に対応してR
OM30から複数回読み出された関数データの平均値
を、理論角に対応してROM30から読み出される関数
データに近付けるものである。
The address input correction circuit 10 includes a ROM
When the function data is repeatedly read from the address 30, a predetermined amount of correction is performed on the address input at regular intervals (every two cycles) of the read cycle (in this example, 90 ° / 2 n is added). R corresponding to a certain address input
The average value of the function data read multiple times from the OM 30 is approximated to the function data read from the ROM 30 corresponding to the theoretical angle.

【0037】即ち、ある読み出しサイクルで読み出され
た関数データは90°×(1/2)×(1/2)のず
れに対応する変換誤差が含まれるとしても、次の読み出
しサイクルで読み出された関数データは90°/
ずれに対応する変換誤差が含まれる。
That is, even if the function data read in a certain read cycle contains a conversion error corresponding to a shift of 90 ° × (1 / n ) × (1 /), the function data read in the next read cycle is read. The output function data includes a conversion error corresponding to a shift of 90 ° / 2n .

【0038】これにより、上記2つのアドレス入力に各
対応して読み出された関数データの平均値をとる処理
(例えば読み出された関数データをDAした後に積分す
る処理)を行えば、結果的に変換誤差がほぼなくなるも
のとみなせる。
Thus, if the processing for taking the average value of the function data read corresponding to each of the two address inputs (for example, the processing of integrating the read function data after DA) is performed, It can be considered that the conversion error almost disappears.

【0039】上記アドレス入力補正回路10の一具体例
としては、アドレス入力を加算回路11の一方の入力端
Aに入力し、読み出しサイクル毎に交互に0または−1
を上記加算回路11の他方の入力端Bに入力し、上記加
算回路11の出力D(=D0〜D3)を前記排他的オア
ゲート回路21群の各一方の入力端に入力するように構
成されている。なお、上記アドレス入力補正回路10
は、アドレス入力反転制御回路20と同一チップ上に形
成しても別チップに形成してもよい。
As a specific example of the address input correction circuit 10, an address input is input to one input terminal A of the adder circuit 11, and is alternately set to 0 or -1 every read cycle.
Is input to the other input terminal B of the adder circuit 11, and the output D (= D0 to D3) of the adder circuit 11 is input to each one input terminal of the exclusive OR gate circuit 21 group. I have. The address input correction circuit 10
May be formed on the same chip as the address input inversion control circuit 20 or on a separate chip.

【0040】図5(B)は、図5(A)の三角関数デー
タ変換回路における各部の動作例を示している。上記第
2実施例の三角関数データ変換回路においても、前記第
1実施例の三角関数データ変換回路と同様に、nビット
のアドレス入力により指定されるSIN関数あるいはC
OS関数の変数範囲90°を2n分割した角度毎に、分
割した最小角の1/2の量を加算した角度に対応するS
IN関数データあるいはCOS関数データを記憶した1
つのROMをSIN用およびCOS用のROM30とし
て兼用し、アドレス入力の反転制御を行うことにより一
方の関数データを他方の関数データとして読み出すこと
により、アドレス入力とSIN関数データとの対応関係
およびアドレス入力とCOS関数データとの対応関係が
変数の中間角45°を中心にして対象になるようなほぼ
正確な関数データを読み出すことが可能になる。しか
も、アドレス入力補正回路10を付加しているので、関
数データの変換誤差の発生量を極力抑制することができ
る。
FIG. 5B shows an operation example of each unit in the trigonometric function data conversion circuit of FIG. 5A. Also in the trigonometric function data conversion circuit of the second embodiment, similarly to the trigonometric function data conversion circuit of the first embodiment, the SIN function or the CIN function specified by the n-bit address input is used.
For each angle obtained by dividing the variable range 90 ° of the OS function by 2n, S corresponding to the angle obtained by adding 量 of the minimum angle obtained by the division
1 that stores IN function data or COS function data
One ROM is also used as the ROM 30 for the SIN and the COS, and the inversion control of the address input is performed to read out one function data as the other function data, so that the correspondence between the address input and the SIN function data and the address input are performed. It is possible to read out almost accurate function data such that the correspondence between the COS function data and the COS function data is targeted around the intermediate angle 45 ° of the variable. In addition, since the address input correction circuit 10 is added, the generation amount of the conversion error of the function data can be suppressed as much as possible.

【0041】図6は、上記第2実施例の三角関数データ
変換回路において、補正前のアドレス入力(理論上の入
力角)、補正後のアドレス入力(実際の入力角θ)、S
IN関数データ、COS関数データ、θt=tan
-1(SINθ/COSθ)、変換誤差(θt−θ)の対
応関係を検証した結果を示している。
FIG. 6 shows an address input before correction (theoretical input angle), an address input after correction (actual input angle θ), and S in the trigonometric function data conversion circuit of the second embodiment.
IN function data, COS function data, θt = tan
The result of verifying the correspondence between -1 (SINθ / COSθ) and the conversion error (θt−θ) is shown.

【0042】さらに、上記各実施例において、例えば8
ビットのアドレス入力のうち、上位2ビットがSIN関
数あるいはCOS関数の変数範囲のうちの1つの象限を
指定するための象限指定データであり、残りの下位ビッ
トが上記1つの象限内の変数を指定するためのデータで
ある場合には、前記ROMから読み出された関数データ
の極性(+−)を前記象限指定データに応じて処理する
極性処理回路を前記SIN・COS分離回路の出力側に
付加することが可能である。
Further, in each of the above embodiments, for example, 8
Of the bit address input, the upper two bits are quadrant designating data for designating one quadrant of the variable range of the SIN function or COS function, and the remaining lower bits designate variables in the one quadrant. If the data is data to be processed, a polarity processing circuit for processing the polarity (+-) of the function data read from the ROM according to the quadrant designation data is added to the output side of the SIN / COS separation circuit. It is possible to

【0043】即ち、第1象限が指定されている場合に
は、ROMから読み出された関数データの極性を+とし
て処理する。また、第2象限が指定されている場合に
は、ROMからSIN関数データとして読み出されたデ
ータの極性を+として処理し、COS関数のデータとし
て読み出されたデータの極性を−として処理する。ま
た、第3象限が指定されている場合には、ROMから読
み出された関数データの極性を−として処理する。ま
た、第4象限が指定されている場合には、ROMからS
IN関数データとして読み出されたデータの極性を−と
して処理し、COS関数のデータとして読み出されたデ
ータの極性を+として処理する。
That is, when the first quadrant is designated, processing is performed with the polarity of the function data read from the ROM set to +. When the second quadrant is designated, the polarity of the data read from the ROM as the SIN function data is processed as +, and the polarity of the data read as the COS function data is processed as-. . If the third quadrant is designated, the polarity data of the function data read from the ROM is processed as-. If the fourth quadrant is designated, the ROM
The polarity of the data read as the IN function data is processed as-, and the polarity of the data read as the COS function data is processed as +.

【0044】なお、前記極性処理回路は、ROMから読
み出された関数データに対してデジタル的に処理するこ
とも可能であるが、ROMから読み出されたデータを例
えばDA変換してメータ駆動回路に印加する場合の印加
極性を制御するなどのように間接的に処理することも可
能である。又はROMの代わりにデコーダにて三角関数
を出力するさせるようにしても良い。
The polarity processing circuit can digitally process the function data read from the ROM. It is also possible to perform the processing indirectly, for example, by controlling the polarity of the applied voltage. Alternatively, a decoder may output a trigonometric function instead of the ROM.

【0045】図7(A)は、本発明の三角関数データ変
換回路を車載用のスピードメータあるいはタコメータな
どに適用したメータ装置の一例のブロック構成を示す。
図7(A)において、アナログ指針式のメータ本体70
は、図9に示したように、直交するように配設された2
つの電磁コイルに流れる電流により発生する磁界のベク
トル和に応じて指針の指示角が定まるように構成されて
いる。
FIG. 7A shows a block configuration of an example of a meter device in which the trigonometric function data conversion circuit of the present invention is applied to a vehicle speedometer or tachometer.
In FIG. 7A, an analog pointer type meter main body 70 is shown.
Are 2 arranged orthogonally as shown in FIG.
The pointing angle of the pointer is determined according to the vector sum of the magnetic fields generated by the currents flowing through the two electromagnetic coils.

【0046】デジタルデータ処理回路76は、メータ指
示対象となる情報に応じた周期を有するパルス信号が入
力し、このパルス信号の周期に応じたメータ指示角量を
有するバイナリーデータに変換するものである。
The digital data processing circuit 76 receives a pulse signal having a cycle corresponding to the information to be indicated by the meter, and converts the pulse signal into binary data having a meter indicating angle corresponding to the cycle of the pulse signal. .

【0047】上記デジタルデータ処理回路76におい
て、周期カウンタ81は、速度情報に応じた周期を有す
るパルス信号(メータ制御信号)が入力し、この周期を
カウントし、周波数量を表わすデータを生成する。指示
角量化データ生成回路82は、上記周期カウンタ81の
出力データの周波数量に応じてメータ指示角に対応する
デジタル量を表わすデータ(指示角量化データ)を生成
する。
In the digital data processing circuit 76, the cycle counter 81 receives a pulse signal (meter control signal) having a cycle corresponding to the speed information, counts the cycle, and generates data representing a frequency amount. The indicated angle quantified data generation circuit 82 generates data (indicated angle quantified data) representing a digital amount corresponding to the meter indicated angle in accordance with the frequency amount of the output data of the period counter 81.

【0048】三角関数データ変換回路77は、上記デジ
タルデータ処理回路76により得られたバイナリーデー
タに応じて前記指針の指示角を指定するためのSIN、
COSの三角関数データに変換するものであり、図5
(A)を参照して前述したような実施例の構成を有す
る。
The trigonometric function data conversion circuit 77 has an SIN for designating the pointing angle of the pointer according to the binary data obtained by the digital data processing circuit 76,
The data is converted into COS trigonometric function data, and FIG.
It has the configuration of the embodiment described above with reference to FIG.

【0049】DA変換回路(またはPWM回路)84
は、上記三角関数データ変換回路77から出力するSI
N関数データおよびCOS関数データをD/A変換(ま
たはPWM)により電流あるいは電圧に変換する。
DA conversion circuit (or PWM circuit) 84
Is the SI output from the trigonometric function data conversion circuit 77.
The N function data and the COS function data are converted into current or voltage by D / A conversion (or PWM).

【0050】メータ駆動回路85は、上記DA変換回路
(またはPWM回路)84の出力に応じた電流量(つま
り、前記SIN関数データおよびCOS関数データに応
じた電流量)を前記メータ本体70の2つの電磁コイル
71、72に供給する。
The meter drive circuit 85 outputs a current amount corresponding to the output of the DA conversion circuit (or PWM circuit) 84 (that is, a current amount corresponding to the SIN function data and the COS function data) to the meter main body 70. To the two electromagnetic coils 71 and 72.

【0051】図7(B)は、本発明の三角関数データ変
換回路を車載用の燃料メータあるいは温度メータなどに
適用したメータ装置の一例のブロック構成を示す。図7
(B)に示すメータ装置は、図7(A)に示したメータ
装置と比べて、デジタルデータ処理回路76に代えてア
ナログデータ処理回路78が用いられている点が異な
り、その他は同じであるので図7(A)中と同一符号を
付している。上記アナログデータ処理回路78は、メー
タ指示対象となる情報に応じたレベルを有するアナログ
信号が入力し、このアナログ信号のレベルに応じたメー
タ指示角量を有するバイナリーデータに変換するもので
ある。
FIG. 7B shows a block configuration of an example of a meter device in which the trigonometric function data conversion circuit of the present invention is applied to a vehicle-mounted fuel meter or temperature meter. FIG.
7B is different from the meter device shown in FIG. 7A in that an analog data processing circuit 78 is used instead of the digital data processing circuit 76, and the other components are the same. Therefore, the same reference numerals as those in FIG. The analog data processing circuit 78 receives an analog signal having a level corresponding to the information to be indicated by the meter and converts the analog signal into binary data having a meter indicating angle corresponding to the level of the analog signal.

【0052】なお、この発明は上記実施例に限定される
ものではなく種々の変形が可能であることはいうまでも
ない。例えばメータ本体としてステッピングモータを利
用したものもあり、このステッピングモータを利用した
メータ本体においても上記と同様な制御方式で制御が可
能である。
It is needless to say that the present invention is not limited to the above-described embodiment, but can be variously modified. For example, there is a meter body using a stepping motor, and the meter body using the stepping motor can be controlled by the same control method as described above.

【0053】[0053]

【発明の効果】上述したように本発明の三角関数データ
変換回路およびそれを用いたメータ装置によれば、SI
N関数データあるいはCOS関数データを記憶した1つ
のROMをSIN用およびCOS用のROMとして兼用
して一方の関数データを他方の関数データとして読み出
す場合に、簡単な回路構成でコストダウンを図ると共に
関数データの変換誤差の発生量を極力抑制することがで
きる。
As described above, according to the trigonometric function data conversion circuit of the present invention and the meter device using the same, the SI
When one ROM storing the N function data or the COS function data is also used as the ROM for the SIN and the ROM for the COS and one function data is read as the other function data, the cost can be reduced with a simple circuit configuration and the function can be reduced. The amount of data conversion errors can be minimized.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の三角関数データ変換回路の一実施例を
示すブロック図。
FIG. 1 is a block diagram showing an embodiment of a trigonometric function data conversion circuit according to the present invention.

【図2】図1中のROMに入力するアドレスとSIN関
数データとの対応関係およびアドレスとCOS関数デー
タとの対応関係を説明するために示す図。
FIG. 2 is a view for explaining the correspondence between an address input to a ROM in FIG. 1 and SIN function data and the correspondence between an address and COS function data;

【図3】図1中のアドレス入力反転制御回路の一具体例
を示す回路図。
FIG. 3 is a circuit diagram showing a specific example of an address input inversion control circuit in FIG. 1;

【図4】図1の三角関数データ変換回路における各部の
動作例を示すタイミング図。
FIG. 4 is a timing chart showing an operation example of each unit in the trigonometric function data conversion circuit of FIG. 1;

【図5】本発明の三角関数データ変換回路の第2実施例
を示すブロック図および各部の動作例を示すタイミング
図。
FIG. 5 is a block diagram showing a second embodiment of the trigonometric function data conversion circuit of the present invention and a timing chart showing an operation example of each unit.

【図6】図5の三角関数データ変換回路における変換誤
差を検証した結果を示す図。
FIG. 6 is a diagram showing a result of verifying a conversion error in the trigonometric function data conversion circuit of FIG. 5;

【図7】本発明の三角関数データ変換回路の応用例に係
るメータ装置の相異なる例を示すブロック図。
FIG. 7 is a block diagram showing different examples of a meter device according to an application example of the trigonometric function data conversion circuit of the present invention.

【図8】自動車搭載用のアナログ指針式速度メータ装置
の従来例を示すブロック図。
FIG. 8 is a block diagram showing a conventional example of an analog pointer type speed meter device mounted on a vehicle.

【図9】図8中のメータ本体の構造を概略的に示す斜視
図。
FIG. 9 is a perspective view schematically showing a structure of a meter main body in FIG. 8;

【図10】図8中の指示角量化データ生成回路における
指示角と出力データとの関係および図8中のメータ本体
における指示角と電磁コイルに流す電流量と向きとの関
係を示す特性図。
10 is a characteristic diagram showing the relationship between the designated angle and the output data in the designated angle quantification data generation circuit in FIG. 8, and the relationship between the designated angle in the meter main body in FIG. 8 and the amount of current flowing through the electromagnetic coil and the direction;

【図11】図8中の三角関数データ変換回路を示すブロ
ック図およびその動作例を示すタイミング図。
11 is a block diagram showing a trigonometric function data conversion circuit in FIG. 8 and a timing chart showing an operation example thereof.

【図12】図8中の三角関数データ変換回路の変形例と
してSIN関数データを記憶した1つのROMをCOS
用のROMとして兼用する場合におけるSIN関数、C
OS関数の対象性を説明するために示す図。
FIG. 12 shows a modified example of the trigonometric function data conversion circuit shown in FIG.
Function and C when shared as ROM
FIG. 4 is a diagram shown to explain the symmetry of an OS function.

【符号の説明】[Explanation of symbols]

10…アドレス入力補正回路、11…加算回路、20…
アドレス入力反転制御回路、30…ROM、40…SI
N・COS分離回路、70…アナログ指針式のメータ本
体、71、72…電磁コイル、73…回転軸、74…永
久磁石、75…指針、76…デジタルデータ処理回路、
77…三角関数データ変換回路、78…アナログデータ
処理回路、81…周期カウンタ、82…指示角量化デー
タ生成回路、85…メータ駆動回路。
10 ... Address input correction circuit, 11 ... Addition circuit, 20 ...
Address input inversion control circuit, 30 ... ROM, 40 ... SI
N / COS separation circuit, 70: analog pointer type meter main body, 71, 72: electromagnetic coil, 73: rotating shaft, 74: permanent magnet, 75: pointer, 76: digital data processing circuit,
77: Trigonometric function data conversion circuit, 78: Analog data processing circuit, 81: Period counter, 82: Designated angle quantified data generation circuit, 85: Meter driving circuit

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G01P 3/489 G01D 5/20 Continuation of front page (58) Field surveyed (Int.Cl. 7 , DB name) G01P 3/489 G01D 5/20

Claims (9)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 三角関数の変数範囲0〜2πラジアンの
うちの1つの象限における変数を表わす複数(n)ビッ
トのバイナリーデータにより指定される入力に対応し
て、上記1つの象限における変数の中間角を中心にして
対象になるようなSIN関数データおよびCOS関数デ
ータのうちの一方を出力するデータ出力回路と、 上記データ出力回路からSIN関数データを読み出すか
COS関数データを読み出すかに応じてバイナリーデー
タ入力の論理レベルの反転/非反転を制御して上記デー
タ出力回路に入力する入力反転制御回路と、 前記データ出力回路から読み出された関数データを上記
入力反転制御回路における切換制御に対応してSIN関
数データあるいはCOS関数データとして分離するSI
N・COS分離回路とを具備することを特徴とする三角
関数データ変換回路。
1. A corresponding to input specified by the binary Lee data of a plurality (n) bits representing the variables in one quadrant of the variable range 0~2π radians trigonometric function, the variables in the one quadrant A data output circuit that outputs one of the SIN function data and the COS function data that are targeted around the intermediate angle, and whether the SIN function data or the COS function data is read from the data output circuit. an input inversion control circuit for input to the data output circuit by controlling the inversion / non-inversion of the logic level of the binary Lee data <br/> data input, the input inversion control function data read out from the data output circuit SI separated as SIN function data or COS function data in response to switching control in a circuit
A trigonometric function data conversion circuit, comprising: an N · COS separation circuit.
【請求項2】 請求項1記載の三角関数データ変換回路
において、前記データ出力回路は、前記バイナリーデー
タにより指定されるアドレスに対応してSIN関数デー
タおよびCOS関数データのうちの一方として、アドレ
スとSIN関数データとの対応関係およびアドレスとC
OS関数データとの対応関係が上記1つの象限における
変数の中間角を中心にして対象になるような関数データ
を記憶しておき、指定アドレスに応じて上記関数データ
を出力する読み出し専用メモリ(ROM)又はデコーダ
であることを特徴とする三角関数データ変換回路。
2. A trigonometric function data conversion circuit according to claim 1, wherein the data output circuit, of the SIN function data and COS function data in response to an address specified by the binary Lee data <br/> data As one of them, the correspondence between the address and the SIN function data and the address and C
A read-only memory (ROM) that stores function data in which the correspondence with the OS function data is targeted around the middle angle of the variable in the one quadrant, and outputs the function data according to a designated address. ) Or a decoder.
【請求項3】 請求項2記載の三角関数データ変換回路
において、前記ROMに記憶されている関数データは、
nビットのアドレスにより指定されるSIN関数あるい
はCOS関数の変数範囲90°を2n分割した角度毎
に、分割した最小角の1/2の量を加算した角度に対応
する関数データであることを特徴とする三角関数データ
変換回路。
3. The trigonometric function data conversion circuit according to claim 2, wherein the function data stored in the ROM is:
For each angle obtained by dividing the variable range 90 ° of the SIN function or COS function designated by the n-bit address into 2 n , the function data corresponds to an angle obtained by adding 1/2 of the minimum angle obtained by the division. Characteristic trigonometric function data conversion circuit.
【請求項4】 請求項2または3記載の三角関数データ
変換回路において、前記ROMは、アドレスNに対応し
てSIN{90°×(N/2n)+90°×(1/2n
×(1/2)}に比例したSIN関数データを記憶して
いることを特徴とする三角関数データ変換回路。
4. The trigonometric function data conversion circuit according to claim 2, wherein said ROM stores SIN {90 ° × (N / 2 n ) + 90 ° × (1/2 n ) corresponding to an address N.
A trigonometric function data conversion circuit storing SIN function data proportional to × (1 /)}.
【請求項5】 請求項2乃至4のいずれか1に記載の三
角関数データ変換回路において、さらに、前記ROMの
読み出しサイクルの一定間隔毎にアドレス入力に対して
所定量の補正を行うことにより、あるアドレス入力に対
応して前記ROMから複数回読み出された関数データの
平均値を理論角に対応して前記ROMから読み出される
関数データに近付けるアドレス入力補正回路を具備する
ことを特徴とする三角関数データ変換回路。
5. The trigonometric function data conversion circuit according to claim 2, further comprising: performing a predetermined amount of correction on an address input at predetermined intervals of a read cycle of the ROM. A triangle comprising an address input correction circuit for making an average value of function data read from the ROM a plurality of times corresponding to a certain address input closer to function data read from the ROM corresponding to a theoretical angle. Function data conversion circuit.
【請求項6】 請求項5記載の三角関数データ変換回路
において、前記アドレス入力補正回路は、前記ROMか
ら関数データを繰り返し読み出す際に、読み出しサイク
ルの2サイクル毎にアドレス入力に対して90°/
を加算することことを特徴とする三角関数データ変換回
路。
6. A trigonometric function data conversion circuit according to claim 5, wherein said address input correction circuit, when reading repeatedly function data from the ROM, and to the address input for each two cycles of the read cycle 90 ° / 2 n
And a trigonometric function data conversion circuit.
【請求項7】 請求項2乃至6いずれか1に記載の三角
関数データ変換回路において、前記アドレスを指定する
複数ビットのバイナリーデータのうち上位2ビットがS
IN関数あるいはCOS関数の変数範囲である4象限の
うちの1つの象限を指定するための象限指定データであ
り、残りの下位ビットが上記1つの象限内の変数を指定
するためのデータであり、前記ROMから読み出された
関数データの極性を前記象限指定データに応じて処理す
ることを特徴とする三角関数データ変換回路。
7. A trigonometric function data conversion circuit according to any one of claims 2 to 6 1, upper 2 bits of the binary Lee data of a plurality of bits that specify the address is S
Quadrant designating data for designating one of the four quadrants that are the variable range of the IN function or COS function, and the remaining lower bits are data for designating a variable in the one quadrant. A trigonometric function data conversion circuit for processing the polarity of the function data read from the ROM according to the quadrant designating data.
【請求項8】 2つの電磁コイルに流れる電流により発
生する磁界と指針軸上にある永久磁石の磁界とで指針の
指示角が定まるように構成されたアナログ指針式のメー
タ本体と、 メータ指示対象となる情報に応じた周期を有するパルス
信号が入力し、このパルス信号の周期に応じたメータ指
示角量を有するバイナリーデータに変換するデジタルデ
ータ処理回路と、 三角関数の変数範囲0〜2πラジアンのうちの1つの象
限における変数を表わす複数(n)ビットのバイナリー
データにより指定される入力に対応して、上記1つの象
限における変数の中間角を中心にして対象になるような
SIN関数データおよびCOS関数データのうちの一方
を出力するデータ出力回路と、 上記データ出力回路からある入力に対応して複数回読み
出された関数データの平均値を理論角に対応して読み出
される関数データに近付けるために設けられ、前記デジ
タルデータ処理回路から入力するバイナリーデータに対
して所定量の補正を行う入力補正回路と、 前記データ出力回路からSIN関数データを読み出すか
COS関数データを読み出すかに応じてバイナリーデー
タ入力の論理レベルの反転/非反転を制御して上記デー
タ出力回路に入力する入力反転制御回路と、 前記データ出力回路から読み出された関数データを上記
入力反転制御回路における切換制御に対応してSIN関
数データあるいはCOS関数データとして分離するSI
N・COS分離回路と、 上記SIN・COS分離回路から出力するSIN関数デ
ータおよびCOS関数データに応じた電流量を前記メー
タ本体の2つの電磁コイルに供給するメータ駆動回路と
を具備することを特徴とするメータ装置。
8. An analog pointer-type meter main body configured such that a pointing angle of a pointer is determined by a magnetic field generated by a current flowing through two electromagnetic coils and a magnetic field of a permanent magnet on the pointer axis, and a meter pointing object. A digital data processing circuit for receiving a pulse signal having a cycle corresponding to the information to be converted into binary data having a meter indicating angle corresponding to the cycle of the pulse signal; and a triangular function variable range of 0 to 2π radians. out in response to input specified by the binary Lee <br/> data of a plurality (n) bits representing the variables in one quadrant of, such that the subject around the middle angle variables in said one quadrant A data output circuit for outputting one of the SIN function data and the COS function data; and a plurality of data read out corresponding to a certain input from the data output circuit. An input correction circuit provided to approximate the average value of the numerical data to the function data read corresponding to the theoretical angle, and performing a predetermined amount of correction on binary data input from the digital data processing circuit; and an input inversion control circuit for input to the data output circuit by controlling the inversion / non-inversion of the logic level of the binary Lee data <br/> data input depending on whether read or COS function data read out SIN function data from the circuit An SI for separating function data read from the data output circuit as SIN function data or COS function data in accordance with the switching control in the input inversion control circuit;
An N · COS separation circuit; and a meter driving circuit that supplies a current amount corresponding to the SIN function data and the COS function data output from the SIN / COS separation circuit to two electromagnetic coils of the meter main body. Meter device.
【請求項9】 2つの電磁コイルに流れる電流により発
生する磁界と指針軸上にある永久磁石の磁界とで指針の
指示角が定まるように構成されたアナログ指針式のメー
タ本体と、 メータ指示対象となる情報に応じたレベルを有するアナ
ログ信号が入力し、このアナログ信号のレベルに応じた
メータ指示角量を有するバイナリーデータに変換するア
ナログデータ処理回路と、 三角関数の変数範囲0〜2πラジアンのうちの1つの象
限における変数を表わす複数(n)ビットのバイナリー
データにより指定される入力に対応して、上記1つの象
限における変数の中間角を中心にして対象になるような
SIN関数データおよびCOS関数データのうちの一方
を出力するデータ出力回路と、 上記データ出力回路からある入力に対応して複数回読み
出された関数データの平均値を理論角に対応して読み出
される関数データに近付けるために設けられ、前記アナ
ログデータ処理回路から入力するバイナリーデータに対
して所定量の補正を行う入力補正回路と、 前記データ出力回路からSIN関数データを読み出すか
COS関数データを読み出すかに応じてバイナリーデー
タ入力の論理レベルの反転/非反転を制御して上記デー
タ出力回路に入力する入力反転制御回路と、 前記データ出力回路から読み出された関数データを上記
入力反転制御回路における切換制御に対応してSIN関
数データあるいはCOS関数データとして分離するSI
N・COS分離回路と、 上記SIN・COS分離回路から入力するSIN関数デ
ータおよびCOS関数データに応じた電流量を前記メー
タ本体の2つの電磁コイルに供給するメータ駆動回路と
を具備することを特徴とするメータ装置。
9. An analog pointer-type meter main body configured such that a pointing angle of a pointer is determined by a magnetic field generated by a current flowing through two electromagnetic coils and a magnetic field of a permanent magnet on the pointer axis, and a meter pointing object. An analog data processing circuit for inputting an analog signal having a level corresponding to the information to be converted into binary data having a meter indicating angle according to the level of the analog signal; and a triangular function variable range of 0 to 2π radians. out in response to input specified by the binary Lee <br/> data of a plurality (n) bits representing the variables in one quadrant of, such that the subject around the middle angle variables in said one quadrant A data output circuit that outputs one of the SIN function data and the COS function data; and a plurality of readings corresponding to a certain input from the data output circuit. An input correction circuit provided to approximate the average value of the performed function data to the function data read corresponding to the theoretical angle, and performing a predetermined amount of correction on binary data input from the analog data processing circuit; input inversion control by controlling the inversion / non-inversion of the logic level of the binary Lee data <br/> data input is input to the data output circuit according the data output circuit to read or whether COS function data read out SIN function data A circuit for separating the function data read from the data output circuit into SIN function data or COS function data in accordance with the switching control in the input inversion control circuit;
An N · COS separation circuit; and a meter driving circuit that supplies a current amount corresponding to the SIN function data and the COS function data input from the SIN / COS separation circuit to two electromagnetic coils of the meter main body. Meter device.
JP10093195A 1995-04-25 1995-04-25 Trigonometric function data conversion circuit and meter device Expired - Fee Related JP3351654B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10093195A JP3351654B2 (en) 1995-04-25 1995-04-25 Trigonometric function data conversion circuit and meter device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10093195A JP3351654B2 (en) 1995-04-25 1995-04-25 Trigonometric function data conversion circuit and meter device

Publications (2)

Publication Number Publication Date
JPH08292201A JPH08292201A (en) 1996-11-05
JP3351654B2 true JP3351654B2 (en) 2002-12-03

Family

ID=14287102

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10093195A Expired - Fee Related JP3351654B2 (en) 1995-04-25 1995-04-25 Trigonometric function data conversion circuit and meter device

Country Status (1)

Country Link
JP (1) JP3351654B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5606668B2 (en) * 2008-06-10 2014-10-15 横河電機株式会社 Synchronous tester
JP5854677B2 (en) * 2011-07-22 2016-02-09 キヤノンプレシジョン株式会社 Motor speed detection device and motor control device

Also Published As

Publication number Publication date
JPH08292201A (en) 1996-11-05

Similar Documents

Publication Publication Date Title
JPH1194512A (en) Angle sensor, position sensor and automobile
US7965004B2 (en) Electric motor
US6232739B1 (en) High-resolution incremental position sensor with pulse switching strategy
EP0076519A2 (en) Encoder with position detecting device
JP2001050703A (en) Magnetic type displacement detecting device
US8378664B2 (en) Arrangement comprising a magnetic-field-dependent angle sensor
JPS6216381B2 (en)
EP1219005A2 (en) Tachometer apparatus and method for motor velocity measurement
KR100253600B1 (en) Drive apparatus for stepping motor type meter
US5994893A (en) Driving apparatus for stepping motor type instrument
EP0451839A2 (en) Direction finding apparatus
JP3351654B2 (en) Trigonometric function data conversion circuit and meter device
US4890057A (en) Instrument with crossed-coil type movable magnet
JPH01201168A (en) Driving circuit for cross coil type instrument
US5063344A (en) Mode selectable interface circuit for an air core gage controller
US5942863A (en) Three-phase brushless servo motor
JPH01187463A (en) Driving device for cross coil meter
JP2002524754A (en) Precision position encoder with coarse position indicator
JPH1019602A (en) Magnetic encoder
JPH01150864A (en) Gauge driving device
JPH0580066A (en) Commutation sensor combined with encoding function
JPH06249881A (en) Three-phase coil type revolution driving device
JP3098580B2 (en) Drive circuit for cross-coil instrument
JPH0734382Y2 (en) Drive device for crossed coil type instrument
JP2947039B2 (en) Cross-coil instrument

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020903

LAPS Cancellation because of no payment of annual fees