JPH0355049B2 - - Google Patents

Info

Publication number
JPH0355049B2
JPH0355049B2 JP60099308A JP9930885A JPH0355049B2 JP H0355049 B2 JPH0355049 B2 JP H0355049B2 JP 60099308 A JP60099308 A JP 60099308A JP 9930885 A JP9930885 A JP 9930885A JP H0355049 B2 JPH0355049 B2 JP H0355049B2
Authority
JP
Japan
Prior art keywords
circuit
output
waveform
level
detection circuit
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 - Lifetime
Application number
JP60099308A
Other languages
Japanese (ja)
Other versions
JPS61257015A (en
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 filed Critical
Priority to JP9930885A priority Critical patent/JPS61257015A/en
Publication of JPS61257015A publication Critical patent/JPS61257015A/en
Publication of JPH0355049B2 publication Critical patent/JPH0355049B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Manipulation Of Pulses (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はレベル設定回路に係り、特にモータ
(回転体)の回転検出信号などの交流出力(波形)
を或る設定レベルとレベル比較して所定の出力を
得るための設定レベル(比較入力レベル)を設定
するレベル設定回路に関する。
[Detailed Description of the Invention] (Industrial Application Field) The present invention relates to a level setting circuit, and particularly to an AC output (waveform) such as a rotation detection signal of a motor (rotating body).
The present invention relates to a level setting circuit that sets a setting level (comparison input level) for obtaining a predetermined output by comparing the level of a signal with a certain setting level.

(従来の技術) 本出願人は先に昭和60年3月20日、同年4月10
日及び同年4月12日付で、夫々、特許出願(発明
の名称「モータ駆動装置」)を行なつた。
(Prior art) The applicant previously filed the
Patent applications (title of the invention: ``Motor drive device'') were filed on April 12, 2007, and April 12, 2015, respectively.

これは、磁気記録再生装置(VTR)のドラム
モータ(直流無刷子モータ)の回転子と一体にな
つた回転体に所定のパターンの着磁を施し、この
着磁パターンをホール素子などのセンサで検出し
て回転検出信号を生成し、この回転検出信号に基
づいて、この信号波形を処理することにより、モ
ータの各相のコイルに流す駆動電流を出力させ、
更に、上記の回転体の位相情報信号及び速度情報
信号をも取出すようにしたものである。
This involves magnetizing a rotating body that is integrated with the rotor of the drum motor (DC brushless motor) of a magnetic recording/reproducing device (VTR) in a predetermined pattern, and then detecting this magnetization pattern using a sensor such as a Hall element. By detecting and generating a rotation detection signal, and processing this signal waveform based on this rotation detection signal, a drive current to be passed through the coils of each phase of the motor is output,
Furthermore, the phase information signal and velocity information signal of the rotating body are also extracted.

ここで、上記した本出願人の先の特許出願のう
ち昭和60年4月12日付で特許出願した「モータ駆
動装置」について、その大略を説明する。
Here, a general description will be given of the "motor drive device" filed on April 12, 1985, among the earlier patent applications by the present applicant.

なお、以下に説明する上記の発明の実施例の着
磁パターンについては、上記の昭和60年4月12日
付の特許出願の「モータ駆動装置」で示した実施
例のものとは多少異なる(変化点a1′の位置が異
なる)が、当然、それは、この発明の特許請求の
範囲の一実施例となり得るものである。
It should be noted that the magnetization pattern of the embodiment of the above invention described below is slightly different from that of the embodiment shown in the "motor drive device" of the patent application dated April 12, 1985 (changes). (the position of point a 1 ' is different), but this can naturally be an embodiment of the claimed scope of the invention.

第6図は上記した本出願人の発明によるモータ
駆動装置のブロツク系統図を示す。
FIG. 6 shows a block system diagram of the motor drive device according to the invention of the applicant mentioned above.

同図において、マーカ部1は、後述する条件に
より着磁が施された着磁パターン(磁極)を有す
るものであつて、例えば回転ドラム(シリンダ)
を駆動するモータの回転子と一体になつた回転体
に着磁を施すという形で構成されている。
In the figure, the marker section 1 has a magnetized pattern (magnetic pole) magnetized under the conditions described below, and is, for example, a rotating drum (cylinder).
It is constructed by magnetizing a rotating body that is integrated with the rotor of the motor that drives the motor.

センサ部2は、マーカ部1に常に近接する位置
に設けられていて、マーカ部1を構成る磁極の磁
束を検出する、例えば1個のホール素子(セン
サ)4を有している。このセンサ4で検出した出
力は差動増幅器5に供給される。この差動増幅器
5の出力は比較器6A,6B,6Cに供給され、
デイジタル信号処理回路7を通して、回転ドラム
の1回転毎に1回(発)の割合でパルス(PG信
号)を位相情報として出力すると共に、等間隔に
複数個の割合で存在するパルス(FG信号)を速
度情報として出力する。
The sensor section 2 is provided at a position always close to the marker section 1, and includes, for example, one Hall element (sensor) 4 that detects the magnetic flux of the magnetic poles forming the marker section 1. The output detected by this sensor 4 is supplied to a differential amplifier 5. The output of this differential amplifier 5 is supplied to comparators 6A, 6B, 6C,
Through the digital signal processing circuit 7, a pulse (PG signal) is output as phase information at a rate of once (emission) for each rotation of the rotating drum, and a plurality of pulses (FG signal) exist at equal intervals. is output as speed information.

なお、比較器6A,6B,6C及びデイジタル
信号処理回路7は、FG信号及びPG信号発生回路
3を構成するものである。
Note that the comparators 6A, 6B, 6C and the digital signal processing circuit 7 constitute the FG signal and PG signal generation circuit 3.

位相情報であるPG信号としては、第7図の波
形aに示すようなパルスが得られる。このパルス
は、その立上がりでトリガされ得るモノマルチ8
及び立下がりでトリガされるモノマルチ9を通す
ことによつて、第7図に示す波形b,cを得る。
そして、この波形b,cはフリツプフロツプ10
に供給され、このフリツプフロツプ10は波形b
の立下がりでセツトされ、波形cの立下がりでリ
セツトされる。従つて、回転ドラムが、例えば
30rpsで回転する時、繰返し周波数30Hz、50%の
デユーテイ比のビデオヘツドのスイツチング位置
に対応した、波形dのようなドラムパルス(DP)
を得る。
As the PG signal which is phase information, a pulse as shown in waveform a in FIG. 7 is obtained. This pulse can be triggered on its rising edge by a monomulti 8
By passing the signal through a monomulti 9 which is triggered at the falling edge, waveforms b and c shown in FIG. 7 are obtained.
These waveforms b and c are the flip-flop 10.
This flip-flop 10 is supplied with waveform b
It is set at the falling edge of waveform c, and reset at the falling edge of waveform c. Therefore, if the rotating drum is e.g.
Drum pulse (DP) like waveform d, corresponding to the switching position of the video head with a repetition rate of 30 Hz and a duty ratio of 50% when rotating at 30 rps.
get.

この波形dの信号(ドラムパルス)は、スイツ
チングパルスとして用いられると共に、台形波発
生器11に供給される。
This signal of waveform d (drum pulse) is used as a switching pulse and is also supplied to the trapezoidal wave generator 11.

この台形波発生器11は、波形dの信号に同期
した台形波を生成して、サンプルホールド回路1
2に供給する。
This trapezoidal wave generator 11 generates a trapezoidal wave synchronized with the signal of waveform d, and the sample and hold circuit 1
Supply to 2.

一方、複合映像信号13は、垂直同期信号分離
回路(V同期分離回路)14に供給される。そし
て、この垂直同期信号分離回路14により、60Hz
の垂直同期信号のみが取出され、1/2分周回路1
5に供給される。従つて、この1/2分周回路15
の出力には30Hzの映像信号に同期したパルスが出
力され、このパルスをスイツチ回路16の一方の
端子16a(REC)に供給する。
On the other hand, the composite video signal 13 is supplied to a vertical synchronization signal separation circuit (V synchronization separation circuit) 14. And, by this vertical synchronization signal separation circuit 14, 60Hz
Only the vertical synchronization signal of
5. Therefore, this 1/2 frequency divider circuit 15
A pulse synchronized with a 30 Hz video signal is outputted from the output of the switch circuit 16, and this pulse is supplied to one terminal 16a (REC) of the switch circuit 16.

また一方、基準となる周波数発振器17より発
生したパルスを分周回路18を通して、30Hzの基
準パルスを得て、この基準パルスをスイツチ回路
16の他方の端子16b(PB)に供給する。
On the other hand, the pulse generated by the reference frequency oscillator 17 is passed through the frequency dividing circuit 18 to obtain a 30 Hz reference pulse, and this reference pulse is supplied to the other terminal 16b (PB) of the switch circuit 16.

スイツチ回路16は、記録時には端子16a側
に、再生時には端子16b側に、それぞれ切換え
られることにより、前記の1/2分周回路15と分
周回路18からのパルスとを選択してモノマルチ
19に供給されるようにしている。
The switch circuit 16 is switched to the terminal 16a side during recording and to the terminal 16b side during playback, thereby selecting the pulses from the 1/2 frequency divider circuit 15 and the frequency divider circuit 18, and selects the pulses from the monomultiplier 19. We are trying to make sure that it is supplied to the public.

モノマルチ19により、記録時の映像信号の垂
直同期信号に対して、ある一定期間遅らせたサン
プリングパルスを作る。
A monomulti 19 generates a sampling pulse that is delayed by a certain period of time with respect to the vertical synchronization signal of the video signal during recording.

サンプルホールド回路12は、このサンプリン
グパルスで、台形波の傾斜部をサンプルし、かつ
ホールドして位相誤差電圧を得る。この位相誤差
電圧は、サーボループの過渡特性を向上させるこ
とを目的のするループフイルタ20に供給され、
その出力(位相誤差電圧)は混合増幅器21に供
給される。
The sample and hold circuit 12 samples and holds the slope part of the trapezoidal wave using this sampling pulse to obtain a phase error voltage. This phase error voltage is supplied to a loop filter 20 whose purpose is to improve the transient characteristics of the servo loop.
Its output (phase error voltage) is supplied to a mixing amplifier 21.

また、デイジタル信号処理回路7より出力され
るFG信号は、FGパルス増幅器22及びF/V
(周波数/電圧)変換器23を介して混合増幅器
21に供給される。また、このFG信号は、モー
タ駆動回路24にも供給される。すなわち、この
発明においては、モータのコイル電流の切換えの
タイミングに、FG信号を用いている。
Further, the FG signal output from the digital signal processing circuit 7 is transmitted to the FG pulse amplifier 22 and the F/V
It is supplied to the mixing amplifier 21 via a (frequency/voltage) converter 23. Further, this FG signal is also supplied to the motor drive circuit 24. That is, in this invention, the FG signal is used for the timing of switching the coil current of the motor.

モータ駆動回路24は、パルス発生回路25、
スイツチ回路手段26、波形変換回路27及びド
ライバ回路28とより構成される。また、ドライ
バ回路28の出力端にはモータ29のコイル〜
が接続される。
The motor drive circuit 24 includes a pulse generation circuit 25,
It is composed of a switch circuit means 26, a waveform conversion circuit 27, and a driver circuit 28. Further, the output terminal of the driver circuit 28 is connected to the coil of the motor 29.
is connected.

上記構成のモータ駆動回路24において、FG
信号及びPG信号発生回路3を構成するデイジタ
ル信号処理回路7の出力端から得られるFG信号
は、リトリガラブルモノマルチ30及び切換スイ
ツチ31の端子31aに供給される。
In the motor drive circuit 24 having the above configuration, FG
The FG signal obtained from the output end of the digital signal processing circuit 7 constituting the signal and PG signal generation circuit 3 is supplied to the retriggerable monomulti 30 and the terminal 31a of the changeover switch 31.

切換スイツチ31は、起動時あるいは低速時に
は、端子31bの側に切換わり、パルス発生回路
25からの出力がリングカウンタ32及び波形変
換論理回路33にそれぞれ供給される。従つて、
リングカウンタ32の出力端Q1,Q2,Q3には、
出力信号がQ1→Q2→Q3の順でパルスが出力され
る。そして、このパルスは波形変換論理回路33
を介して、トランジスタT1,T2,T3に印加さ
れ、更に、トランジスタT11,T12,T13を順次オ
ン(ON)させる。これにより、コイル,,
,,,…の順に駆動電流が切換わり、正回
転方向の回転磁界が生ずることになる。従つて、
モータの回転子の主磁極は、その発生する回転磁
界に同期して正回転方向に回転することになる。
At startup or at low speed, the changeover switch 31 is switched to the terminal 31b side, and the output from the pulse generation circuit 25 is supplied to the ring counter 32 and the waveform conversion logic circuit 33, respectively. Therefore,
At the output terminals Q 1 , Q 2 , Q 3 of the ring counter 32,
Pulses are output in the order of the output signal Q 1 → Q 2 → Q 3 . Then, this pulse is transmitted to the waveform conversion logic circuit 33.
The voltage is applied to transistors T 1 , T 2 , and T 3 via , and further turns on (ON) transistors T 11 , T 12 , and T 13 in sequence. As a result, the coil,,
The drive current is switched in the order of , , , . . . , and a rotating magnetic field in the forward rotation direction is generated. Therefore,
The main magnetic pole of the rotor of the motor rotates in the forward rotation direction in synchronization with the rotating magnetic field generated.

一方、モータがある速度以上(定常回転速度)
になれば、リトリガラブルモノマルチ30の出力
により、切換スイツチ31は、端子31aの側に
切換わり、FG信号がリングカウンタ32に供給
される。これにより、正回転方向に回転磁界を生
じると共に、正しい電流切換え点でもつてモータ
の駆動電流を切換えることができるので、モータ
の回転子は連続的に回転する。
On the other hand, the motor has a certain speed or higher (steady rotation speed)
Then, the changeover switch 31 is switched to the terminal 31a side by the output of the retriggerable monomulti 30, and the FG signal is supplied to the ring counter 32. As a result, a rotating magnetic field is generated in the forward rotation direction, and the drive current of the motor can be switched at the correct current switching point, so that the rotor of the motor rotates continuously.

また、この発明の実施例では、第8図に示すよ
うに、回転ドラム(シリンダ)と被駆動モータと
が直結されたダイレクト・ドライブ・モータによ
り、この回転ドラムの回転の制御を行なつてい
る。そして、被駆動モータの構造としては、主磁
極(メインマグネツト)34の設けられた回転子
(ロータ)35に一体的に取付けられた回転体3
6上に、後述するような条件を満足するように円
周上に着磁されたマーカ37がある。また、固定
子38には、電機子コイル(以下、コイルと呼
ぶ)〜を設け、更にマーカ37と対向する位
置にセンサ4が取付けられている。また、モータ
のシヤフト39により回転ドラム40が連結され
ており、この回転ドラム40には2個のビデオヘ
ツド(磁気ヘツド)41a,41bが180度の間
隔で取付けられている。
Further, in the embodiment of the present invention, as shown in FIG. 8, the rotation of the rotating drum is controlled by a direct drive motor in which the rotating drum (cylinder) and the driven motor are directly connected. . The structure of the driven motor includes a rotating body 3 integrally attached to a rotor 35 provided with a main magnetic pole (main magnet) 34.
6, there is a marker 37 that is magnetized on the circumference so as to satisfy the conditions described below. Further, the stator 38 is provided with an armature coil (hereinafter referred to as a coil), and further a sensor 4 is attached at a position facing the marker 37. Further, a rotating drum 40 is connected by a motor shaft 39, and two video heads (magnetic heads) 41a and 41b are attached to this rotating drum 40 at an interval of 180 degrees.

第9図は、第8図に示す被駆動モータの要部を
上から見た場合の配置関係を示す図であり、回転
子35の主磁極34の着磁状態、コイル〜の
配置、センサ4の位置、回転体36のマーカ37
の着磁状態を表わす。更に、2個のビデオヘツド
41a,41bの位置も記した。なお、同図にお
いて、モータの正回転方向は反時計回り(同図、
矢印Rで示す)とする。
FIG. 9 is a diagram showing the arrangement relationship when the main parts of the driven motor shown in FIG. position, marker 37 of rotating body 36
represents the magnetized state of Furthermore, the positions of the two video heads 41a and 41b are also noted. In addition, in the same figure, the forward rotation direction of the motor is counterclockwise (in the same figure,
(indicated by arrow R).

ここで、回転体36の円周上に着磁されるマー
カ37の着磁パターンには、次のような条件が要
求される。
Here, the following conditions are required for the magnetization pattern of the marker 37 magnetized on the circumference of the rotating body 36.

モータの逆回転方向に向かつてN極からS極
に変化する磁極変化点を順次a1,a2,…,a12
で表わすと、この磁極変化点a1からa12までの
間の磁極は等間隔に存在し、変化点a12とa1
の間にS極からN極に変化する変化点a1′が存
在すること。
The magnetic pole change points that change from N pole to S pole in the reverse rotation direction of the motor are sequentially a 1 , a 2 , ..., a 12
Expressed as , the magnetic poles between the magnetic pole change points a 1 and a 12 exist at equal intervals, and between the change points a 12 and a 1 there is a change point a 1 ′ that changes from the S pole to the N pole. To exist.

磁極変化点a1′に隣接するN極の磁束密度の
検出波形の極大値(出力波形が増加から減少に
変わるピーク値)は、マーカ37の他のN極の
磁束密度の検出波形の極大値よりも小さく、か
つ、磁極変化点a1′に隣接するSの磁束密度の
検出波形の極小値(出力波形が減少から増加に
変わるピーク値)は、マーカ37の他のS極の
磁束密度の検出波形の極小値よりも大きいこ
と。
The maximum value of the detected waveform of the magnetic flux density of the N pole adjacent to the magnetic pole change point a1 ' (the peak value at which the output waveform changes from increasing to decreasing) is the maximum value of the detected waveform of the magnetic flux density of the other N pole of marker 37. The minimum value of the detected waveform of the magnetic flux density of S (the peak value at which the output waveform changes from decreasing to increasing) that is smaller than and adjacent to the magnetic pole change point a 1 ' is the same as that of the magnetic flux density of the other S pole of the marker 37. Must be larger than the minimum value of the detected waveform.

すなわち、第10図に示すように、マーカ37
の着磁パターンをセンサ部2で検出した出力(差
動増幅器5の出力)である波形Aにおいては、マ
ーカ37のN極の磁束密度に対する検出の極大値
のうち、磁極変化点a1′に隣接するN極の磁束密
度に対する検出波形の極大値が他のN極の磁束密
度に対する検出波形の極大値よりも小さく、か
つ、また同様にして、マーカ37のS極の磁束密
度に対する検出波形の極小値のうち、磁極変化点
a1′に隣接するS極の磁束密度に対する検出波形
の極小値が他のS極の磁束密度に対する検出波形
の極小値よりも大きいことである。
That is, as shown in FIG.
In waveform A, which is the output of the sensor unit 2 (output of the differential amplifier 5) that detects the magnetization pattern of The maximum value of the detected waveform for the magnetic flux density of the adjacent north pole is smaller than the maximum value of the detected waveform for the magnetic flux density of the other north pole, and similarly, the detected waveform for the magnetic flux density of the south pole of the marker 37 is Among the minimum values, the magnetic pole change point
The minimum value of the detected waveform for the magnetic flux density of the S pole adjacent to a 1 ' is larger than the minimum value of the detected waveform for the magnetic flux density of the other S poles.

ここで、センサ部2の出力(差動増幅器出力)
は、比較器(レベルコンパレータ)6A,6B,
6Cにそれぞれ入力される。比較器6Aは、全て
の磁極変化点を検出することを目的とし、その目
的を達成するように電圧VBを比較入力レベルと
して設定される。すなわち、第10図のタイミン
グチヤートにおいて、比較器6Aの出力波形B
は、その立下がり部が、マーカ37の磁極変化
a11,a12,a1,a2,a3,…と正確に一致する。
Here, the output of sensor section 2 (differential amplifier output)
are comparators (level comparators) 6A, 6B,
6C respectively. The purpose of the comparator 6A is to detect all magnetic pole change points, and the voltage V B is set as the comparison input level to achieve this purpose. That is, in the timing chart of FIG. 10, the output waveform B of the comparator 6A
The falling part is the magnetic pole change of marker 37.
Exactly matches a 11 , a 12 , a 1 , a 2 , a 3 , ….

また、比較器6Bは、第10図の波形Aの極大
値のうち、他の極大値と比べて小となるレベルの
部分(マーカ37の磁極変化点a1′に隣接するN
極の部分)のみを検出するように、比較器6Bの
比較入力レベルが電圧VCのように設定される。
そして、比較器6Bの入力レベルが電圧VCより
も大ならば出力は“Hレベル”となり、小ならば
出力は“Lレベル”となるので、比較器6Bの出
力波形は第10図のタイミングチヤートにおい
て、波形Cのようになる。
Further, the comparator 6B detects a portion of the maximum value of the waveform A in FIG. 10 that is smaller than other maximum values (N
The comparison input level of the comparator 6B is set to voltage V C so as to detect only the polar portion.
If the input level of the comparator 6B is larger than the voltage V C , the output will be "H level", and if it is smaller, the output will be "L level", so the output waveform of the comparator 6B will change at the timing shown in FIG. The chart will look like waveform C.

また、比較器6Cは、第10図の波形Aの極小
値のうち、他の極小値と比べて大となるレベルの
部分(マーカ37の磁極変化点a1′に隣接するS
極の部分)のみを検出するように、比較器6Cの
比較入力レベルが電圧VDのように設定される。
そして、比較器6Cの入力レベルが電圧VDより
も大ならば出力は“Lレベル”となり、小ならば
出力は“Hレベル”となるので、その出力波形は
第10図のタイミングチヤートにおいて、波形D
のようになる。
Further, the comparator 6C detects a portion of the minimum value of the waveform A shown in FIG .
The comparison input level of the comparator 6C is set to the voltage V D so as to detect only the pole part).
If the input level of the comparator 6C is larger than the voltage V D , the output will be "L level", and if it is smaller, the output will be "H level", so the output waveform is as shown in the timing chart of FIG. Waveform D
become that way.

次に、これらの比較器6A,6B,6Cの出力
波形B,C,Dは、デイジタル信号処理回路7に
供給される。このデイジタル信号処理回路7の回
路構成は種々の方法が考えられるが、要するに、
第10図の波形B,C,Dを用いて、マーカ37
の磁極変化点a1〜a12に対応するタイミングのパ
ルスと、マーカ37の磁極変化点a1′に対応する
タイミングのパルスを取出している。
Next, the output waveforms B, C, and D of these comparators 6A, 6B, and 6C are supplied to the digital signal processing circuit 7. Various methods can be considered for the circuit configuration of this digital signal processing circuit 7, but in short,
Using waveforms B, C, and D in FIG.
Pulses at timings corresponding to the magnetic pole change points a 1 to a 12 of the marker 37 and pulses at timings corresponding to the magnetic pole change point a 1 ' of the marker 37 are extracted.

以上のように、このような条件によるマーカ3
7の着磁パターンをセンサ部2で検出した出力波
形Aを比較器6A,6B,6Cに供給し、その出
力波形B,C,Dを得ている。そして、これらの
出力波形B,C,Dに基づいて、これらの信号
(パルス)を、第6図に示すFG信号及びPG信号
発生回路3で処理することにより、モータの各相
のコイルに流す駆動電流を出力させ、更に、上記
のモータ(の回転子)の位相情報信号(PG信号)
及び速度情報信号(FG信号)をも取出すことが
できるものである。
As mentioned above, marker 3 under these conditions
The output waveform A obtained by detecting the magnetization pattern No. 7 by the sensor unit 2 is supplied to the comparators 6A, 6B, and 6C, and the output waveforms B, C, and D are obtained. Based on these output waveforms B, C, and D, these signals (pulses) are processed by the FG signal and PG signal generation circuit 3 shown in Fig. 6, and are sent to the coils of each phase of the motor. Outputs the drive current, and also outputs the phase information signal (PG signal) of the motor (rotor) mentioned above.
It is also possible to extract speed information signals (FG signals).

(発明が解決しようとする問題点) ところが、上記のようにマーカ37の着磁パタ
ーンをセンサ部2で検出する際に、例えば、セン
サ部2{のセンサ(ホール素子)4}にバラツキ
があつたとすれば、それは、センサ部2の検出出
力のバラツキ(変動)となつてあらわれる。
(Problems to be Solved by the Invention) However, when the magnetization pattern of the marker 37 is detected by the sensor unit 2 as described above, for example, variations may occur in the sensor (Hall element) 4 of the sensor unit 2. If so, it appears as a variation (fluctuation) in the detection output of the sensor section 2.

従つて、第10図に示したような、センサ部2
の出力波形Aは、第11図に示すような、その振
幅にバラツキのある波形A1′,A2′,A3′となつて
あらわれる。
Therefore, the sensor section 2 as shown in FIG.
The output waveform A appears as waveforms A 1 ', A 2 ', and A 3 ' whose amplitudes vary as shown in FIG.

ところが、前記したような本出願人によるモー
タ駆動回路においては、比較器6A,6B,6C
の比較電圧レベル(比較入力レベル)VC,VD
一定値であるので、上記したようにセンサ部2の
検出出力にバラツキがあると、比較器6B,6C
の出力も、それぞれ異なつた波形となつてしま
い、例えば、第11図の波形A3′の場合には、比
較器6B,6Cからの出力が全く得られないこと
になる。また、波形A1′の場合には、比較器6B,
6Cからの出力には、第11図における「↑」,
「↓」で示す部分に対応するタイミングにもパル
スが出力されてしまい、従つて、第10図に示す
正しい波形(パルス)C,Dがデイジタル信号処
理回路7に供給されず、よつて、正しいPG信号
が得られない。
However, in the motor drive circuit proposed by the applicant as described above, the comparators 6A, 6B, 6C
Since the comparison voltage levels (comparison input levels) V C and V D are constant values, if there is variation in the detection output of the sensor section 2 as described above, the comparators 6B and 6C
The outputs of the comparators 6B and 6C also have different waveforms. For example, in the case of the waveform A 3 ' in FIG. 11, no outputs are obtained from the comparators 6B and 6C. In addition, in the case of waveform A 1 ', comparator 6B,
The output from 6C includes "↑" in Figure 11,
Pulses are also output at the timing corresponding to the part indicated by "↓", so the correct waveforms (pulses) C and D shown in FIG. 10 are not supplied to the digital signal processing circuit 7, and therefore the correct PG signal cannot be obtained.

そこで、本発明は上記のことに鑑みて、例え
ば、センサ部のバラツキなどにより、その出力の
振幅にバラツキ(変動)があるような場合でも、
常に正しい設定レベル(比較入力レベル)によつ
て比較器の出力を得ることができるような適正な
設定レベル(比較入力レベル)を得ることができ
るレベル設定回路を提供することを目的とする。
Therefore, in view of the above, the present invention has been developed so that even when there are variations (variations) in the amplitude of the output due to variations in the sensor section,
It is an object of the present invention to provide a level setting circuit that can always obtain an appropriate setting level (comparison input level) so that the output of a comparator can be obtained at the correct setting level (comparison input level).

すなわち、例えば、第12図に示すようなセン
サ部の出力(波形A)の極大値のうちの最大値の
レベル(第12図中のVH)とそれより低いレベ
ルの極大値の(第12図中のVL)とを検出し、
その間のレベル(VC)を設定し、また、センサ
部の出力(波形)の極小値のうちの最小値のレベ
ル(第12図中のVl)とそれより高いレベルの
極小値の(第12図中のVh)とを検出し、その
間のレベル(VD)を設定することができるよう
なレベル設定回路を提供することを目的とする。
That is, for example, the level of the maximum value (V H in FIG. 12) among the maximum values of the output (waveform A) of the sensor section as shown in FIG. V L ) in the figure is detected,
The level (V C ) in between is set, and the level of the minimum value (Vl in Fig. 12) of the minimum values of the output (waveform) of the sensor section and the minimum value of the higher level (Vl) are set. It is an object of the present invention to provide a level setting circuit that can detect Vh) in the figure and set a level (V D ) therebetween.

(問題点を解決するための手段) 本発明は上記の目的を達成するために、振幅が
周期的に変化する交流信号波形の極大値(または
極小値;但し、括弧内を選択する場合は以下も同
様に選択する)のうちの最大値(または最小値)
とそれより低い(または高い)レベルの極大値
(または極小値)との間のレベルを設定するレベ
ル設定回路であつて、入力端子40を介して供給
される交流信号波形が、その信号波形の基準レベ
ルに対して大か小かを判別する第1の判別回路4
1と、第1の判別回路41より出力される信号波
形が前記基準レベルよりも大(または小)なる瞬
間を検出する第1の検出回路42と、第1の判別
回路41より出力される信号波形が前記基準レベ
ルよりも小(または大)なる瞬間を検出する第2
の検出回路43と、入力端子40を介して供給さ
れる交流信号波形の最大値(または最小値)を検
出し、第1の検出回路42の出力によりリセツト
される第3の検出回路44と、第3の検出回路4
4の出力を入力とし、第2の検出回路43の出力
によつてサンプルされるサンプルホールド回路4
5と、サンプルホールド回路45の出力を入力と
し、その信号波形の最小値(または最大値)を検
出する第4の検出回路46と、入力端子40を介
して供給される交流信号波形または第3の検出回
路44の出力を入力とし、その信号波形または出
力の最大値(または最小値)を検出する第5の検
出回路47と、第4の検出回路46の出力と第5
の検出回路47の出力とを加算し、所定の設定レ
ベルを出力する加算回路48と、入力端子40を
介して供給される交流信号波形が加算回路48か
らの出力設定レベルに対して大か小かを判別する
第2の判別回路49とよりなり、第2の判別回路
49の出力端より、前記加算回路48から出力さ
れた所定の設定レベルでレベル判別された所定の
出力を得るようにしたレベル設定回路を提供する
ものである。
(Means for Solving the Problems) In order to achieve the above object, the present invention provides the local maximum value (or local minimum value) of an AC signal waveform whose amplitude changes periodically; however, if the value in parentheses is selected, the following also select the maximum (or minimum) value of
This is a level setting circuit that sets a level between a maximum value (or minimum value) of a lower (or higher) level, and the AC signal waveform supplied via the input terminal 40 is A first discrimination circuit 4 that discriminates whether the level is higher or lower than the reference level.
1, a first detection circuit 42 that detects the moment when the signal waveform output from the first discrimination circuit 41 becomes larger (or smaller) than the reference level, and a signal output from the first discrimination circuit 41. A second detecting moment when the waveform becomes smaller (or larger) than the reference level.
a third detection circuit 44 that detects the maximum value (or minimum value) of the AC signal waveform supplied via the input terminal 40 and is reset by the output of the first detection circuit 42; Third detection circuit 4
A sample hold circuit 4 which takes the output of 4 as an input and is sampled by the output of the second detection circuit 43.
5, a fourth detection circuit 46 which receives the output of the sample and hold circuit 45 as an input and detects the minimum value (or maximum value) of the signal waveform; A fifth detection circuit 47 receives the output of the detection circuit 44 as an input and detects the maximum value (or minimum value) of the signal waveform or output;
An adder circuit 48 adds the output of the detection circuit 47 and outputs a predetermined set level, and the AC signal waveform supplied via the input terminal 40 is larger or smaller than the output set level from the adder circuit 48. A second discriminating circuit 49 is configured to determine whether the adder circuit 48 has a predetermined level or not, and from the output terminal of the second discriminating circuit 49, a predetermined output whose level has been discriminated based on a predetermined set level outputted from the adder circuit 48 is obtained. It provides a level setting circuit.

(作用) 上記の構成のレベル設定回路においては、振幅
が周期的に変化する交流信号波形に対して所定の
レベルを設定する際に、その処理信号波形の振幅
にバラツキ(変動)があつても、常に適正の設定
レベル即ち、交流信号波形の極大値のうちの最大
値とそれより低いレベルの極大値との間の設定レ
ベル(または交流信号波形の極小値のうちの最小
値とそれより高いレベルの極小値との間の設定レ
ベル)によつて、その処理信号波形を処理できる
ような設定レベルを得ることができる。
(Function) In the level setting circuit having the above configuration, when setting a predetermined level for an AC signal waveform whose amplitude changes periodically, even if there is variation (fluctuation) in the amplitude of the processed signal waveform, , always at an appropriate setting level, that is, a setting level between the maximum value of the local maximum values of the AC signal waveform and the local maximum value of a lower level (or the minimum value of the local minimum values of the AC signal waveform and higher Depending on the set level (between the minimum value of the level), a set level that can process the processed signal waveform can be obtained.

(発明の構成) 第1図は本発明になるレベル設定回路の構成を
示すブロツク系統図である。
(Configuration of the Invention) FIG. 1 is a block diagram showing the configuration of a level setting circuit according to the present invention.

同図において、40は入力信号として、例え
ば、前記したような第6図に示すモータ駆動装置
のセンサ部2の出力波形(第10図に示す波形
A)のような振幅が周期的に変化する交流信号波
形が供給される入力端子である。この入力端子4
0は判別回路41の入力端に接続され、この判別
回路41の出力端は検出回路42,43の入力端
にそれぞれ接続される。
In the figure, reference numeral 40 denotes an input signal whose amplitude changes periodically, such as the output waveform (waveform A shown in FIG. 10) of the sensor unit 2 of the motor drive device shown in FIG. 6 as described above. This is an input terminal to which an AC signal waveform is supplied. This input terminal 4
0 is connected to the input terminal of a discrimination circuit 41, and the output terminal of this discrimination circuit 41 is connected to the input terminals of detection circuits 42 and 43, respectively.

判別回路41は入力端子40を介して供給され
る信号波形(交流波形)が、その信号波形の基準
となる“基準レベル”に対して大か小かを判別す
る回路である。また、検出回路42は、供給され
る信号波形が前記の“基準レベル”よりも大きく
(または小さく)なる瞬間を検出する回路であり、
また、検出回路43は、供給される信号波形が前
記の“基準レベル”よりも小さく(または大き
く)なる瞬間を検出する回路である。
The determination circuit 41 is a circuit that determines whether the signal waveform (AC waveform) supplied via the input terminal 40 is larger or smaller than a "reference level" that is a reference for the signal waveform. Further, the detection circuit 42 is a circuit that detects the moment when the supplied signal waveform becomes larger (or smaller) than the above-mentioned "reference level",
Further, the detection circuit 43 is a circuit that detects the moment when the supplied signal waveform becomes smaller (or larger) than the above-mentioned "reference level".

検出回路42の出力端は検出回路44のリセツ
ト端子に接続され、また、この検出回路44の入
力端には入力端子40が接続される。更に、この
検出回路44の出力端は切換スイツチSの一方の
端子aに接続される一方、サンプルホールド回路
45の入力端に接続される。また、このサンプル
ホールド回路45のリセツト端子には検出回路4
3の出力端が接続される。
The output terminal of the detection circuit 42 is connected to the reset terminal of the detection circuit 44, and the input terminal 40 is connected to the input terminal of the detection circuit 44. Furthermore, the output terminal of this detection circuit 44 is connected to one terminal a of the changeover switch S, and is also connected to the input terminal of a sample and hold circuit 45. Further, the reset terminal of this sample and hold circuit 45 is connected to the detection circuit 4.
The output end of No. 3 is connected.

検出回路44は、入力端子40を介して供給さ
れる交流信号波形の最大値(または最小値)を検
出し、検出回路42の出力によりリセツトされ
る。また、サンプルホールド回路45は、検出回
路44の出力を入力とし、検出回路43の出力に
よつてサンプルされるサンプルホールド機能を有
するものである。
The detection circuit 44 detects the maximum value (or minimum value) of the AC signal waveform supplied via the input terminal 40, and is reset by the output of the detection circuit 42. Further, the sample and hold circuit 45 has a sample and hold function in which the output of the detection circuit 44 is input and the output of the detection circuit 43 is sampled.

サンプルホールド回路45の出力端は検出回路
46を介して加算回路48の一方の入力端に接続
される。
The output terminal of the sample and hold circuit 45 is connected to one input terminal of an adding circuit 48 via a detection circuit 46.

検出回路46は、サンプルホールド回路45の
出力を入力とし、その信号波形の最小値(または
最大値)を検出するものである。
The detection circuit 46 receives the output of the sample and hold circuit 45 as an input, and detects the minimum value (or maximum value) of the signal waveform.

一方、切換スイツツSの他方の端子bには入力
端子40が接続され、更に、切換スイツチSの可
動接片端子cは検出回路47を介して加算回路4
8の他方の入力端に接続される。
On the other hand, the input terminal 40 is connected to the other terminal b of the changeover switch S, and the movable contact terminal c of the changeover switch S is connected to the adder circuit 4 through the detection circuit 47.
It is connected to the other input terminal of 8.

検出回路47は入力端子40を介して供給され
る交流信号波形または検出回路44の出力を入力
とし、その信号波形または出力の最大値(または
最小値)を検出するものである。
The detection circuit 47 receives as input the AC signal waveform supplied via the input terminal 40 or the output of the detection circuit 44, and detects the maximum value (or minimum value) of the signal waveform or output.

加算回路48は、検出回路46の出力と検出回
路47の出力とを加算し、適正な設定レベルを出
力するものである。
The adder circuit 48 adds the output of the detection circuit 46 and the output of the detection circuit 47, and outputs an appropriate setting level.

そして、この加算回路48の出力端は判別回路
49の一方の入力端に接続され、また、判別回路
49の他方の入力端には入力端子40が接続され
る。
The output terminal of the adder circuit 48 is connected to one input terminal of a discrimination circuit 49, and the input terminal 40 is connected to the other input terminal of the discrimination circuit 49.

判別回路49は入力端子40を介して入力され
る信号波形が加算回路48からの出力設定レベル
に対して大か小かを判別する回路である。
The determination circuit 49 is a circuit that determines whether the signal waveform input via the input terminal 40 is larger or smaller than the output setting level from the adder circuit 48.

そして、判別回路49の出力端は出力端50に
接続され、この出力端子50には加算回路48か
ら出力された適正な設定レベルでレベル判別され
た所定の出力が得られる。なお、切換スイツチS
の可動接片は、どちらの側に切換わつていても良
い。
The output terminal of the discrimination circuit 49 is connected to an output terminal 50, and a predetermined output whose level has been discriminated based on the appropriate setting level outputted from the addition circuit 48 is obtained at this output terminal 50. In addition, the changeover switch S
The movable contact piece may be switched to either side.

以上が本発明になるレベル設定回路の構成であ
る。
The above is the configuration of the level setting circuit according to the present invention.

(実施例) 次に、上記した構成の本発明になるレベル設定
回路の一実施例について、以下に図面と共に説明
する。
(Example) Next, an example of the level setting circuit according to the present invention having the above-described configuration will be described below with reference to the drawings.

第2図は本発明になるレベル設定回路の具体的
回路例を示す図である。なお、同図において、第
1図中における構成部分と同一の構成部分につい
ては同一符号を付してある。
FIG. 2 is a diagram showing a specific circuit example of the level setting circuit according to the present invention. In this figure, the same components as those in FIG. 1 are designated by the same reference numerals.

今、前記した第6図に示すモータ駆動装置にお
けるマーカ部1をセンサ部2で検出して、その出
力波形を得ることについて考える。
Now, let us consider detecting the marker section 1 in the motor drive device shown in FIG. 6 with the sensor section 2 and obtaining its output waveform.

第3図には、上記のマーカ部1を構成するマー
カ37の着磁パターンを示し、更に、このマーカ
37をセンサ部2のセンサ4で検出した出力波形
Aをも示す。
FIG. 3 shows the magnetization pattern of the marker 37 constituting the marker section 1, and also shows an output waveform A when the marker 37 is detected by the sensor 4 of the sensor section 2.

第2図に示す回路は、第3図の波形Aに示す電
圧レベルVC(波形Aの極大値のうちの最大値のレ
ベルとそれより低い極大値のレベルとの間のレベ
ル)を得るため(設定するため)の回路である。
The circuit shown in FIG. 2 is used to obtain the voltage level V C shown in waveform A in FIG. This is a circuit (for setting).

第3図において、波形Aの「▲」で示した位置
からモータが回転し始めたと考える。但し、実際
は、マーカ37(磁石)が図面の左方向に動くの
であるが、ここでは、マーカ37に対して、セン
サが図面の右方向に動くと考え、それに対する検
出波形が第3図における「▲」で示した位置から
右方向の波形として得られる。
In FIG. 3, it is assumed that the motor starts rotating from the position indicated by "▲" in waveform A. However, in reality, the marker 37 (magnet) moves to the left in the drawing, but here we assume that the sensor moves to the right in the drawing with respect to the marker 37, and the detected waveform corresponding to this movement is as shown in FIG. The waveform is obtained in the right direction from the position indicated by ▲.

波形Bは、判別回路41を構成する比較器41
aの出力であり、前記した第10図のタイミング
チヤートにおける波形Bと同様に、比較器41a
の反転入力端子の電圧(基準レベル)VBを比較
入力レベルとして設定され、比較器41aの非反
転入力端子の入力レベルが電圧VBよりも大なら
ば出力は“Hレベル”となり、小ならば出力は
“Lレベル”となるので、第3図の波形Bが得ら
れる。
Waveform B is the comparator 41 that constitutes the discrimination circuit 41.
This is the output of comparator 41a, similar to waveform B in the timing chart of FIG.
The voltage (reference level) V B at the inverting input terminal of the comparator 41a is set as the comparison input level, and if the input level at the non-inverting input terminal of the comparator 41a is greater than the voltage V B , the output becomes "H level"; In this case, the output is at "L level", so waveform B in FIG. 3 is obtained.

この波形Bはモノマルチ42a,43aにそれ
ぞれ供給され、モノマルチ42aは波形Bの立上
がりでトリガされ、パルス幅(時定数)τのパル
ス(波形E)を出力し、また、モノマルチ43a
は波形Bの立下がりでトリガされ、同じくパルス
幅(時定数)τのパルス(波形F)を出力する。
ここで、波形E,Fをつくるためのモノマルチ4
2a,43aの時定数τは回転速度によつて決ま
る周期Tよりも十分に小さいものとする。
This waveform B is supplied to monomulti 42a and 43a, and monomulti 42a is triggered by the rising edge of waveform B and outputs a pulse (waveform E) with a pulse width (time constant) τ, and monomulti 43a
is triggered by the falling edge of waveform B, and similarly outputs a pulse (waveform F) with a pulse width (time constant) τ.
Here, mono multi 4 to create waveforms E and F.
It is assumed that the time constant τ of 2a and 43a is sufficiently smaller than the period T determined by the rotation speed.

検出回路(最大ピークホールド回路)44は入
力端子40を介して比較器44aの非反転入力端
子に入力される波形Aの最大ピーク値でホールド
(保持)され、モノマルチ42aより出力される
波形Eのタイミングでスイツチ44sがONされ
て、リセツトされる。従つて、検出回路44の出
力端44oには波形Gが得られる。
The detection circuit (maximum peak hold circuit) 44 holds (maintains) the maximum peak value of the waveform A input to the non-inverting input terminal of the comparator 44a via the input terminal 40, and the waveform E output from the monomulti 42a. At this timing, the switch 44s is turned on and reset. Therefore, a waveform G is obtained at the output terminal 44o of the detection circuit 44.

この波形Gはサンプルホールド回路45に供給
され、このサンプルホールド回路45の出力は波
形Hのようになる。すなわち、このサンプルホー
ルド回路45のスイツチ45sがモノマルチ43
より出力される波形FのタイミングでONされ
て、その時の入力波形Gのレベルがホールドさ
れ、波形Hとなる。そして、波形Hは、モータが
回転を始めて最初に波形Fのパルスが入る(すな
わち、波形Gのレベルが得られる)までは、電源
電圧Vccのレベルとなるよう比較器45aの非反
転入力端子に接続された抵抗R及びコンデンサC
は電源(Vcc)側に接続されている。
This waveform G is supplied to a sample and hold circuit 45, and the output of this sample and hold circuit 45 becomes a waveform H. That is, the switch 45s of this sample hold circuit 45 is the monomulti 43
It is turned ON at the timing of waveform F output from the input waveform G, and the level of the input waveform G at that time is held and becomes waveform H. The waveform H is input to the non-inverting input terminal of the comparator 45a so as to be at the level of the power supply voltage Vcc until the first pulse of the waveform F is input after the motor starts rotating (that is, the level of the waveform G is obtained). Connected resistor R and capacitor C
is connected to the power supply (Vcc) side.

波形Hは、検出回路(最小ピークホールド回
路)46の比較器46aの非反転入力端子に供給
され、この検出回路46の出力は、波形Hの最小
ピーク値がホールドされるので、波形Hの破線で
示す波形H0となり、以後、モータが回転してい
る限り、継続して、このレベルがホールド(保
持)される。
Waveform H is supplied to the non-inverting input terminal of comparator 46a of detection circuit (minimum peak hold circuit) 46, and since the minimum peak value of waveform H is held as the output of this detection circuit 46, the broken line of waveform H The waveform becomes H 0 as shown by , and from then on, this level is held (maintained) as long as the motor is rotating.

一方、検出回路44の出力である波形Gは検出
回路(最大ピークホールド回路)47の比較器4
7aの非反転入力端子に供給され、この検出回路
47の出力は、波形Gの最大ピーク値がホールド
されるので、波形Iとなる。また、検出回路47
の比較器47aの非反転入力端子に、入力端子4
0を介して入力される波形Aを、直接、供給して
も波形Iには変わらない。
On the other hand, the waveform G, which is the output of the detection circuit 44, is generated by the comparator 4 of the detection circuit (maximum peak hold circuit) 47.
The output of the detection circuit 47 becomes a waveform I since the maximum peak value of the waveform G is held. In addition, the detection circuit 47
The input terminal 4 is connected to the non-inverting input terminal of the comparator 47a.
Even if the waveform A input via 0 is directly supplied, it does not change to the waveform I.

そして、波形Iと波形H0は、加算回路48に
より加算されて、抵抗R1と抵抗R2との接続点よ
り出力され、判別回路49の比較器49aの反転
入力端子に供給される。
The waveform I and the waveform H 0 are added by the adder circuit 48 and output from the connection point between the resistors R 1 and R 2 , and supplied to the inverting input terminal of the comparator 49 a of the discrimination circuit 49 .

第2図の回路において、加算回路48の出力の
電圧レベルVJは次式で与えられる。
In the circuit of FIG. 2, the voltage level VJ of the output of the adder circuit 48 is given by the following equation.

VJ=R2・VI+R1・VH0/R1+R2 但し、VIは波形Iの電圧レベル、VH0は波形
H0の電圧レベルとする。
VJ=R 2・VI+R 1・VH 0 /R 1 +R 2 However, VI is the voltage level of waveform I, and VH 0 is the waveform
The voltage level is H 0 .

今、R1=R2であつたとすれば、 VJ=VI+VH0/2 となり、加算回路48の出力波形は、第3図の波
形Jとなる。
Now, if R 1 =R 2 , then VJ=VI+VH 0 /2, and the output waveform of the adder circuit 48 becomes waveform J in FIG.

従つて、マーカ37の磁極変化点a1をセンサ4
が通過した瞬間以降、判別回路49の比較器49
aの反転入力端子に波形Jとして供給される比較
入力レベルは、第3図の波形AにおけるVCのレ
ベルに保持される。すなわち、このVCのレベル
は波形Aの極大値のうちの最大値とそれより低い
レベルの極大値との間のレベルになつている。
Therefore, the magnetic pole change point a1 of the marker 37 is determined by the sensor 4.
From the moment when the comparator 49 of the discrimination circuit 49 passes
The comparison input level supplied as waveform J to the inverting input terminal of a is held at the level of V C in waveform A of FIG. That is, the level of V C is between the maximum value of the maximum values of waveform A and the maximum value of a lower level.

よつて、判別回路49は、その比較器49の反
転入力端子に供給される波形J(VCのレベル)と
非反転入力端子に入力端子40を介して供給され
る波形Aとのレベル比較が行なわれることによ
り、出力端子50aには、第10図の波形Cが得
られる。
Therefore, the discrimination circuit 49 compares the level of the waveform J (level of V C ) supplied to the inverting input terminal of the comparator 49 with the waveform A supplied to the non-inverting input terminal via the input terminal 40. As a result, a waveform C shown in FIG. 10 is obtained at the output terminal 50a.

そして、この波形Cと第3図及び第10図に示
す波形Bとを、例えば第13図に示すようなデイ
ジタル信号処理回路、すなわち、カウンタに入力
することにより、モータの2回転目以降は第3図
に示す波形Kが得られる。つまり、位相情報信号
が得られることになる。
By inputting this waveform C and the waveform B shown in FIGS. 3 and 10 into a digital signal processing circuit, that is, a counter, as shown in FIG. A waveform K shown in FIG. 3 is obtained. In other words, a phase information signal is obtained.

以上のように、センサ部のバラツキによるセン
サ部の出力(波形A)のレベルのバラツキ(変
動)があつたとしても、常に正しい位相情報が得
られる。
As described above, even if there is variation (fluctuation) in the level of the output (waveform A) of the sensor section due to variation in the sensor section, correct phase information can always be obtained.

以上は、比較器6Bに入力する比較入力レベル
VCを得るため(設定するため)の回路であるが、
次に、比較入力レベルVD(波形Aの極小値のうち
の最小値のレベルとそれより高いレベルの極小値
との間のレベル)を得るため(設定するため)の
回路について説明する。
The above is the comparison input level input to comparator 6B.
This is a circuit to obtain (set) V C , but
Next, a circuit for obtaining (setting) the comparison input level V D (a level between the level of the minimum value among the minimum values of waveform A and the minimum value of a higher level) will be described.

第4図は本発明になるレベル設定回路の具体的
回路例を示す図である。なお、同図において、第
1図中における構成部分と同一の構成部分につい
ては、同一符号を付してある。
FIG. 4 is a diagram showing a specific circuit example of the level setting circuit according to the present invention. In this figure, the same components as those in FIG. 1 are designated by the same reference numerals.

前述した第2図と同様に、今、前記した第6図
に示すモータ駆動装置におけるマーカ部1をセン
サ部2で検出して、その出力波形を得ることにつ
いて考える。
Similar to FIG. 2 described above, we will now consider detecting the marker section 1 in the motor drive device shown in FIG. 6 described above with the sensor section 2 and obtaining its output waveform.

第5図には、上記のマーカ部1を構成するマー
カ37′の着磁パターン(第3図で示したものと
は変化点a1′の位置が異なる)を示し、更に、こ
のマーカ37′をセンサ部2のセンサ4で検出し
た波形A′をも示す。
FIG. 5 shows the magnetization pattern of the marker 37' constituting the marker section 1 (the position of the change point a 1 ' is different from that shown in FIG. 3), and furthermore, this marker 37' A waveform A' detected by the sensor 4 of the sensor section 2 is also shown.

第4図に示す回路は、第5図の波形A′に示す
電圧レベルVD(波形Aの極小値のうちの最小値の
レベルとそれより高いレベルの極小値との間のレ
ベル)を得るため(設定するため)の回路であ
る。
The circuit shown in Figure 4 obtains the voltage level V D shown in waveform A' in Figure 5 (a level between the level of the minimum value of the minimum values of waveform A and the minimum value of a higher level). This is a circuit for setting (setting).

第5図において、波形A′の「▲」で示した位
置からモータが回転し始めたと考える。但し、実
際は、マーカ37′(磁石)が図面の左方向に動
くのであるが、ここでは、マーカ37′に対して、
センサが図面の右方向に動くと考え、それに対す
る検出波形が第5図における「▲」で示した位置
から右方向の波形として得られる。
In FIG. 5, it is assumed that the motor starts rotating from the position indicated by "▲" in waveform A'. However, in reality, the marker 37' (magnet) moves to the left in the drawing, but here, with respect to the marker 37',
Assuming that the sensor moves to the right in the drawing, a detected waveform corresponding to the movement is obtained as a rightward waveform from the position indicated by "▲" in FIG.

波形B′は、判別回路41を構成する比較器4
1aの出力であり、前記した第10図のタイミン
グチヤートにおける波形Bと同様に、比較器41
aの反転入力端子の電圧(基準レベル)VBを比
較入力レベルとして設定され、比較器41aの非
反転入力端子の入力レベルが電圧VBよりも大な
らば出力は“Hレベル”となり、小ならば出力は
“Lレベル”となるので、第5図の波形B′が得ら
れる。
Waveform B' is the comparator 4 that constitutes the discrimination circuit 41.
1a, and similar to the waveform B in the timing chart of FIG. 10 described above, the comparator 41
The voltage (reference level) V B at the inverting input terminal of comparator 41a is set as the comparison input level, and if the input level at the non-inverting input terminal of comparator 41a is higher than voltage V B , the output becomes "H level" and the In this case, the output becomes "L level", so that waveform B' shown in FIG. 5 is obtained.

この波形B′はモノマルチ42a,43aにそ
れぞれ供給され、モノマルチ42aは波形Bの立
下がりでトリガされ、パルス幅(時定数)τのパ
ルス(波形E′)を出力し、また、モノマルチ43
aは波形B′の立上がりでトリガされ、同じくパ
ルス幅(時定数)τのパルス(波形F′)を出力す
る。ここで、波形E′,F′をつくるためのモノマル
チ42a,43aの時定数τは回転速度によつて
決まる周期Tよりも十分に小さいものとする。
This waveform B' is supplied to monomulti 42a and 43a, and monomulti 42a is triggered by the falling edge of waveform B and outputs a pulse (waveform E') with a pulse width (time constant) τ. 43
A is triggered by the rising edge of waveform B', and similarly outputs a pulse (waveform F') with a pulse width (time constant) τ. Here, it is assumed that the time constant τ of the monomultis 42a and 43a for creating the waveforms E' and F' is sufficiently smaller than the period T determined by the rotation speed.

検出回路(最大ピークホールド回路)44は入
力端子40を介して比較器44aの非反転入力端
子に入力される波形A′の最小ピーク値でホール
ド(保持)され、モノマルチ42aより出力され
る波形E′のタイミングでスイツチ44sがONさ
れて、リセツトされる。従つて、検出回路44の
出力端44oには波形G′が得られる。
The detection circuit (maximum peak hold circuit) 44 holds (maintains) the minimum peak value of the waveform A' input to the non-inverting input terminal of the comparator 44a via the input terminal 40, and outputs the waveform from the monomulti 42a. At timing E', switch 44s is turned on and reset. Therefore, a waveform G' is obtained at the output terminal 44o of the detection circuit 44.

この波形G′はサンプルホールド回路45に供
給され、このサンプルホールド回路45の出力は
波形H′のようになる。すなわち、このサンプル
ホールド回路45のスイツチ45sがモノマルチ
43より出力される波形F′のタイミングでONさ
れて、その時の入力波形G′のレベルがホールド
され、波形H′となる。そして、波形H′は、モー
タが回転を始めて最初に波形F′のパルスが入る
(すなわち、波形G′のレベルが得られる)まで
は、電地電圧0(V)となるよう比較器45aの
非反転入力端子に接続された抵抗R及びコンデン
サCはGND{0(V)}側に接続されている。
This waveform G' is supplied to a sample and hold circuit 45, and the output of this sample and hold circuit 45 becomes a waveform H'. That is, the switch 45s of the sample and hold circuit 45 is turned on at the timing of the waveform F' output from the monomulti 43, and the level of the input waveform G' at that time is held and becomes the waveform H'. The waveform H' is controlled by the comparator 45a so that the ground voltage is 0 (V) until the motor starts rotating and the first pulse of the waveform F' is input (that is, the level of the waveform G' is obtained). A resistor R and a capacitor C connected to the non-inverting input terminal are connected to the GND {0 (V)} side.

波形H′は、検出回路(最大ピークホールド回
路)46の比較器46aの非反転入力端子に供給
され、この検出回路46の出力は、波形H′の最
大ピーク値がホールドされるので、波形H′の破
線で示す波形H′0となり、以後、モータが回転し
ている限り、継続して、このレベルがホールド
(保持)される。
The waveform H' is supplied to the non-inverting input terminal of the comparator 46a of the detection circuit (maximum peak hold circuit) 46, and since the maximum peak value of the waveform H' is held as the output of this detection circuit 46, the waveform H' is The waveform becomes H' 0 as indicated by the broken line at ', and from then on, this level is held (maintained) as long as the motor is rotating.

一方、検出回路44の出力である波形G′は検
出回路(最小ピークホールド回路)47の比較器
47aの非反転入力端子に供給され、この検出回
路47の出力は、波形G′の最小ピーク値がホー
ルドされるので、波形I′となる。また、検出回路
47の比較器47aの非反転入力端子に、入力端
子40を介して入力される波形A′を、直接、供
給しても波形I′には変わらない。
On the other hand, the waveform G' which is the output of the detection circuit 44 is supplied to the non-inverting input terminal of the comparator 47a of the detection circuit (minimum peak hold circuit) 47, and the output of this detection circuit 47 is the minimum peak value of the waveform G'. is held, so the waveform becomes I'. Further, even if the waveform A' input through the input terminal 40 is directly supplied to the non-inverting input terminal of the comparator 47a of the detection circuit 47, it does not change to the waveform I'.

そして、波形I′と波形H′0は、加算回路48に
より加算されて、抵抗R1と抵抗R2との接続点よ
り出力され、判別回路49の比較器49aの反転
入力端子に供給される。
The waveform I' and the waveform H'0 are added by the adder circuit 48, outputted from the connection point between the resistor R1 and the resistor R2 , and supplied to the inverting input terminal of the comparator 49a of the discrimination circuit 49. .

第4図の回路において、加算回路48の出力の
電圧レベルVJ′は次式で与えられる。
In the circuit of FIG. 4, the voltage level VJ' of the output of the adder circuit 48 is given by the following equation.

VJ′=R2・VI′+R1・VH′0/R1+R2 但し、VI′は波形I′の電圧レベル、VH′0は波形
H′0の電圧レベルとする。
VJ′=R 2・VI′+R 1・VH′ 0 /R 1 +R 2 However, VI′ is the voltage level of waveform I′, and VH′ 0 is the waveform
The voltage level is H′ 0 .

今、R1=R2であつたとすれば、 VJ′=VI′+VH′0/2 となり、加算回路48の出力波形は、第5図の波
形J′となる。
Now, if R 1 =R 2 , then VJ'=VI'+ VH'0 /2, and the output waveform of the adder circuit 48 becomes waveform J' in FIG.

従つて、マーカ37′の磁極変化点a1′をセンサ
4が通過した瞬間以降、判別回路49の比較器4
9aの反転入力端子に波形J′として供給される比
較入力レベルは、第5図の波形A′におけるVD
レベルに保持される。すなわち、このVDのレベ
ルは波形A′の極小値のうちの最小値とそれより
高いレベルの極小値との間のレベルになつてい
る。
Therefore, from the moment when the sensor 4 passes the magnetic pole change point a 1 ' of the marker 37', the comparator 4 of the discrimination circuit 49
The comparison input level supplied as waveform J' to the inverting input terminal of 9a is held at the level of V D in waveform A' of FIG. That is, the level of V D is between the minimum value of the minimum values of waveform A' and the minimum value of a higher level.

よつて、判別回路49は、その比較器49の非
反転入力端子に供給される波形J′(VDのレベル)
と反転入力端子に入力端子40を介して供給され
る波形A′とのレベル比較が行なわれることによ
り、出力端子50bには、第10図の波形Dが得
られる。
Therefore, the discrimination circuit 49 determines the waveform J' (level of V D ) supplied to the non-inverting input terminal of the comparator 49.
By comparing the levels of the signal and the waveform A' supplied to the inverting input terminal via the input terminal 40, the waveform D shown in FIG. 10 is obtained at the output terminal 50b.

そして、この波形Dと第5図及び第10図に示
す波形B′とを、例えば第13図に示すようなデ
イジタル信号処理回路、すなわち、カウンタに入
力することにより、モータの2回転目以降は第5
図に示す波形K′が得られる。つまり、位相情報
信号が得られることになる。
By inputting this waveform D and the waveform B' shown in FIGS. 5 and 10 into a digital signal processing circuit, that is, a counter, as shown in FIG. Fifth
A waveform K' shown in the figure is obtained. In other words, a phase information signal is obtained.

以上のように、センサ部のバラツキによるセン
サ部の出力(波形A′)のレベルのバラツキ(変
動)があつたとしても、常に正しい位相情報が得
られる。
As described above, even if there is variation (fluctuation) in the level of the output of the sensor section (waveform A') due to variation in the sensor section, correct phase information can always be obtained.

以上のように、前記した第2図の回路及び第4
図の回路を用いることにより、比較器の比較入力
レベルとなるVC,VDは、センサ部の出力(波形
A,A′)にバラツキがあつたとしても、適正の
値(設定レベル)にすることができ、これを、例
えば、第6図に示すモータ駆動装置に適用して、
その装置のFG信号及びPG信号発生回路3を構成
する比較器の比較入力レベルを適正の値(設定レ
ベル)にすることができる。
As mentioned above, the circuit of FIG. 2 and the circuit of FIG.
By using the circuit shown in the figure, V C and V D , which are the comparison input levels of the comparator, can be maintained at appropriate values (set levels) even if there are variations in the sensor output (waveforms A and A'). For example, by applying this to the motor drive device shown in FIG.
The comparison input level of the comparator constituting the FG signal and PG signal generation circuit 3 of the device can be set to an appropriate value (set level).

また同様に、本出願人が先に昭和60年3月20日
及び同年4月10日付で特許出願したモータ駆動装
置のような被検出部(マーカ部)をもつた回転体
のマーカ部をセンサ部で検出して、その出力波形
を得ることについても、この回転体のマーカ部を
検出するセンサ部の出力のバラツキがあつたとし
ても、比較器の比較入力レベルVC,VDを適正な
値(設定レベル)に設定でき、従つて、正しい回
転速度情報及び回転位相情報を得ることができ
る。
Similarly, the present applicant previously applied for patents on March 20, 1985 and April 10, 1985, for which a sensor is used to detect a marker portion of a rotating body, such as a motor drive device, which has a detected portion (marker portion). Even if there are variations in the output of the sensor section that detects the marker section of the rotating body, the comparison input levels V C and V D of the comparator must be adjusted to an appropriate level. value (setting level), and therefore correct rotational speed information and rotational phase information can be obtained.

(発明の効果) 以上の如く、本発明のレベル設定回路によれ
ば、振幅が周期的に変化する交流信号波形に対し
て所定のレベルを設定する際に、その処理信号波
形の振幅にバラツキ(変動)があつても、常に適
正な設定レベル即ち、交流信号波形の極大値のう
ちの最大値とそれより低いレベルの極大値との間
の設定レベル(または交流信号波形の極小値のう
ちの最小値とそれより高いレベルの極小値との間
の設定レベル)によつて、その処理信号波形を処
理できるような設定レベルを得ることができる等
の特長を有する。
(Effects of the Invention) As described above, according to the level setting circuit of the present invention, when setting a predetermined level for an AC signal waveform whose amplitude changes periodically, variations in the amplitude of the processed signal waveform ( Even if there is a fluctuation), the setting level is always at an appropriate setting level (or one of the minimum values of the AC signal waveform), that is, between the maximum value of the local maximum values of the AC signal waveform and the local maximum value of a lower level. It has the advantage of being able to obtain a setting level that can process the processed signal waveform by setting a level between the minimum value and a higher level minimum value.

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

第1図は本発明になるレベル設定回路の構成を
示すブロツク系統図、第2図及び第4図はそれぞ
れ本発明になるレベル設定回路の具体的回路例を
示す図、第3図及び第5図はそれぞれ第2図及び
第4図の本発明の具体的回路の動作説明用の着磁
パターン及び信号波形図、第6図は本出願人が先
に特許出願したモータ駆動装置のブロツク系統
図、第7図は第6図に示すモータ駆動装置の動作
説明用の信号波形図、第8図及び第9図は第6図
に示すモータ駆動装置の被駆動モータの構造の一
例を示す図、第10図は第6図に示すモータ駆動
装置の動作説明図の着磁パターン及び信号波形
図、第11図は従来技術の問題点を説明するため
の信号波形図、第12図は本発明になるレベル設
定回路の構成を説明するための信号波形図、第1
3図及び第14図は位相情報信号を得るためのデ
イジタル信号処理回路の例を示す図である。 40……入力端子、41,49……判別回路、
41a,44a,45a,46a,47a,49
a……比較器、42,43,44,46,47…
…検出回路、42a,43a……モノマルチ、4
4s,45s……スイツチ、45……サンプルホ
ールド回路、48……加算回路、50,50a,
50b……出力端子、S……切換スイツチ、R1
R2,R……抵抗、C……コンデンサ。
FIG. 1 is a block system diagram showing the configuration of the level setting circuit according to the present invention, FIGS. 2 and 4 are diagrams showing specific circuit examples of the level setting circuit according to the present invention, and FIGS. The figures are magnetization patterns and signal waveform diagrams for explaining the operation of the specific circuit of the present invention shown in Figs. 2 and 4, respectively, and Fig. 6 is a block system diagram of a motor drive device for which the present applicant previously applied for a patent. , FIG. 7 is a signal waveform diagram for explaining the operation of the motor drive device shown in FIG. 6, FIGS. 8 and 9 are diagrams showing an example of the structure of the driven motor of the motor drive device shown in FIG. 6, FIG. 10 is a magnetization pattern and signal waveform diagram for explaining the operation of the motor drive device shown in FIG. 6, FIG. 11 is a signal waveform diagram for explaining the problems of the prior art, and FIG. Signal waveform diagram for explaining the configuration of the level setting circuit, Part 1
3 and 14 are diagrams showing examples of digital signal processing circuits for obtaining phase information signals. 40...Input terminal, 41, 49...Discrimination circuit,
41a, 44a, 45a, 46a, 47a, 49
a... Comparator, 42, 43, 44, 46, 47...
...Detection circuit, 42a, 43a...Mono multi, 4
4s, 45s...Switch, 45...Sample hold circuit, 48...Addition circuit, 50, 50a,
50b...Output terminal, S...Selector switch, R 1 ,
R 2 , R...resistance, C... capacitor.

Claims (1)

【特許請求の範囲】 1 振幅が周期的に変化する交流信号波形の極大
値(または微小値;但し、括弧内を選択する場合
は以下も同様に選択する)のうちの最大値(また
は最小値)とそれより低い(または高い)レベル
の極大値(または極小値)との間のレベルを設定
するレベル設定回路であつて、 入力端子を介して供給される前記交流信号波形
が、その信号波形の基準レベルに対して大か小か
を判別する第1の判別回路と、 前記第1の判別回路より出力される信号波形が
前記基準レベルよりも大(または小)なる瞬間を
検出する第1の検出回路と、 前記第1の判別回路より出力される信号波形が
前記基準レベルよりも小(または大)なる瞬間を
検出する第2の検出回路と、 前記入力端子を介して供給される前記交流信号
波形の最大値(または最小値)を検出し、前記第
1の検出回路の出力によりリセツトされる第3の
検出回路と、 前記第3の検出回路の出力を入力とし、前記第
2の検出回路の出力によつてサンプルされるサン
プルホールド回路と、 前記サンプルホールド回路の出力を入力とし、
その信号波形の最小値(または最大値)を検出す
る第4の検出回路と、 前記入力端子を介して供給される交流信号波形
または前記第3の検出回路の出力を入力とし、そ
の信号波形または出力の最大値(または最小値)
を検出する第5の検出回路と、 前記第4の検出回路の出力と前記第5の検出回
路の出力とを加算し、所定の設定レベルを出力す
る加算回路と、 前記入力端子を介して供給される交流信号波形
が前記加算回路からの出力設定レベルに対して大
か小かを判別する第2の判別回路とよりなり、 前記第2の判別回路の出力端より、前記加算回
路から出力された所定の設定レベルでレベル判別
された所定の出力を得るようにしたレベル設定回
路。
[Claims] 1. The maximum value (or minimum value) among the maximum values (or minimum values; however, if the value in parentheses is selected, the following values are selected in the same manner) of an AC signal waveform whose amplitude changes periodically. ) and a local maximum value (or minimum value) of a lower (or higher) level, the AC signal waveform supplied via the input terminal is a first discrimination circuit that discriminates whether the signal waveform is larger than or smaller than the reference level; and a first discrimination circuit that detects the moment when the signal waveform output from the first discrimination circuit becomes larger (or smaller) than the reference level. a second detection circuit that detects the moment when the signal waveform output from the first discrimination circuit becomes smaller (or larger) than the reference level; a third detection circuit that detects the maximum value (or minimum value) of the AC signal waveform and is reset by the output of the first detection circuit; a sample and hold circuit sampled by the output of the detection circuit; and an output of the sample and hold circuit as input,
a fourth detection circuit that detects the minimum value (or maximum value) of the signal waveform; and a fourth detection circuit that receives the AC signal waveform supplied via the input terminal or the output of the third detection circuit; Maximum (or minimum) output value
a fifth detection circuit that detects; an addition circuit that adds the output of the fourth detection circuit and the output of the fifth detection circuit and outputs a predetermined set level; and a supply via the input terminal. a second discrimination circuit that discriminates whether the AC signal waveform to be output is larger or smaller than the output setting level from the adder circuit, and from the output terminal of the second discrimination circuit, the AC signal waveform output from the adder circuit is A level setting circuit configured to obtain a predetermined output whose level is determined at a predetermined set level.
JP9930885A 1985-05-10 1985-05-10 Level setting circuit Granted JPS61257015A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9930885A JPS61257015A (en) 1985-05-10 1985-05-10 Level setting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9930885A JPS61257015A (en) 1985-05-10 1985-05-10 Level setting circuit

Publications (2)

Publication Number Publication Date
JPS61257015A JPS61257015A (en) 1986-11-14
JPH0355049B2 true JPH0355049B2 (en) 1991-08-22

Family

ID=14244001

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9930885A Granted JPS61257015A (en) 1985-05-10 1985-05-10 Level setting circuit

Country Status (1)

Country Link
JP (1) JPS61257015A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002368591A (en) * 2001-06-12 2002-12-20 Sony Corp Peak hold circuit

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5023758A (en) * 1973-06-22 1975-03-14

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5023758A (en) * 1973-06-22 1975-03-14

Also Published As

Publication number Publication date
JPS61257015A (en) 1986-11-14

Similar Documents

Publication Publication Date Title
US4631459A (en) Brushless DC motor
US4922169A (en) Method and apparatus for driving a brushless motor
US4409526A (en) Brushless DC motor
US6313601B1 (en) Speed control of a motor
US4672274A (en) Motor control circuit for video tape recorders
US5115174A (en) Method of controlling brushless DC motor
US5990656A (en) Frequency detector
US4361856A (en) Video tape recorder
US4605976A (en) Recording and/or reproducing system for a 4-head type recording and/or reproducing apparatus
KR900001524B1 (en) Reproduced signal switching circuit of producing apparatus having rotary load for special reproduction
JPS6322158B2 (en)
JPH0355049B2 (en)
JP3687732B2 (en) Motor speed control signal generator
JP2667216B2 (en) Drive circuit for brushless motor
JPH09326159A (en) Index signal forming circuit
JP2536854B2 (en) Method and apparatus for generating rotation speed information for controlling rotation speed of brushless DC motor
KR890004254B1 (en) Magnetic record reproducing device
KR890005111B1 (en) Arrangement for starting brushless motor
JPH061994B2 (en) Motor drive
JPS61236384A (en) Motor drive device
JPH061993B2 (en) Motor drive
JPS5948407B2 (en) Rotational phase detection circuit
JPS6235354B2 (en)
JP2744195B2 (en) Video tape recorder
JP2619239B2 (en) Rotating head type recording / reproducing device