[go: up one dir, main page]

JP2006138788A - Magnetic encoder and position detection method using the same - Google Patents

Magnetic encoder and position detection method using the same Download PDF

Info

Publication number
JP2006138788A
JP2006138788A JP2004330101A JP2004330101A JP2006138788A JP 2006138788 A JP2006138788 A JP 2006138788A JP 2004330101 A JP2004330101 A JP 2004330101A JP 2004330101 A JP2004330101 A JP 2004330101A JP 2006138788 A JP2006138788 A JP 2006138788A
Authority
JP
Japan
Prior art keywords
magnetic
sensor
magnetic pole
detected
moving body
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004330101A
Other languages
Japanese (ja)
Inventor
Yuichi Sakaguchi
友一 坂口
Seiya Sato
誠也 佐藤
Takashi Yanagisawa
貴史 柳沢
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2004330101A priority Critical patent/JP2006138788A/en
Publication of JP2006138788A publication Critical patent/JP2006138788A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

【課題】磁気センサへの電源投入時において、より速やかに移動体の位置を検出することのできる磁気式エンコーダ及び同エンコーダを用いた位置検出方法を提供する。
【解決手段】複数の磁極部a〜hを有する移動体と、各磁極部a〜hの磁束密度を検出する磁気センサ30とを備える磁気式エンコーダにおいて、各磁極部a〜hと磁気センサ30との間の距離Lが移動体の移動に伴って変化するように、各磁極部a〜hを設ける。この磁気式エンコーダによれば、磁気センサ30によって検出される磁束密度が移動体の移動に伴って一定の傾向にて変化するようになる。そして磁気センサ30にて検出される磁束密度が閾値を超えているか否かを示すセンサ信号を生成し、その生成されるセンサ信号のHi信号の幅に基づいて移動体の位置を検出する。
【選択図】 図5
A magnetic encoder capable of detecting the position of a moving body more quickly when power is supplied to a magnetic sensor and a position detection method using the encoder are provided.
In a magnetic encoder including a moving body having a plurality of magnetic pole portions a to h and a magnetic sensor 30 for detecting the magnetic flux density of each magnetic pole portion a to h, each magnetic pole portion a to h and the magnetic sensor 30 are provided. The magnetic pole portions a to h are provided such that the distance L between the two and the magnetic field portion changes as the moving body moves. According to this magnetic encoder, the magnetic flux density detected by the magnetic sensor 30 changes with a certain tendency as the moving body moves. Then, a sensor signal indicating whether or not the magnetic flux density detected by the magnetic sensor 30 exceeds the threshold value is generated, and the position of the moving body is detected based on the width of the Hi signal of the generated sensor signal.
[Selection] Figure 5

Description

本発明は、移動体の位置を検出する磁気式エンコーダ及び同エンコーダを用いた位置検出方法に関するものである。   The present invention relates to a magnetic encoder for detecting the position of a moving body and a position detection method using the encoder.

回転運動、あるいは直線運動する部材について、その位置を検出する機構の1つとして磁気式エンコーダが知られている。
この磁気式エンコーダは、特許文献1等に記載されるように、複数の磁極部を有して上記部材とともに移動する移動体と、各磁極部の通過を検出する磁気センサとから構成されている。同磁気センサは、磁極の磁気の強さに応じた出力電圧が得られるセンサであり、磁気が強くなるほどその出力値は大きくなる。そこで、その出力電圧が所定の閾値を超えたときにセンサ信号が生成されるように設定すると、各磁極部が磁気センサを通過する毎にセンサ信号が生成される。
A magnetic encoder is known as one of mechanisms for detecting the position of a member that rotates or linearly moves.
As described in Patent Document 1 and the like, this magnetic encoder includes a moving body that has a plurality of magnetic pole portions and moves together with the above members, and a magnetic sensor that detects passage of each magnetic pole portion. . The magnetic sensor is a sensor capable of obtaining an output voltage corresponding to the magnetic strength of the magnetic pole, and the output value increases as the magnetism increases. Therefore, if the sensor signal is set to be generated when the output voltage exceeds a predetermined threshold value, the sensor signal is generated every time each magnetic pole portion passes the magnetic sensor.

このような磁気式エンコーダにあって、上記移動体に基準位置を設定し、該基準位置を示す信号(基準信号)が検出された後の上記センサ信号の出力回数を計測することにより、基準位置からの移動体の移動量、すなわち同移動体の位置を検出することができ、この移動体とともに移動する上記部材の位置も把握することができる。
特開平5−52584号公報
In such a magnetic encoder, a reference position is set in the moving body, and the number of times the sensor signal is output after a signal indicating the reference position (reference signal) is detected, thereby obtaining a reference position. It is possible to detect the amount of movement of the moving body from the above, that is, the position of the moving body, and to grasp the position of the member that moves with the moving body.
JP-A-5-52584

ところで、上述したような磁気式エンコーダを用いた移動体の位置検出方法では、基準信号が検出された後のセンサ信号の出力回数を計測するようにしているため、磁気センサへの電源投入時では、基準信号が検出されるまで移動体の位置を検出することができない。すなわち電源投入時において速やかに移動体の位置を検出することができないといった不具合が生じてしまう。   By the way, in the moving body position detection method using the magnetic encoder as described above, the number of times the sensor signal is output after the reference signal is detected is measured. The position of the moving body cannot be detected until the reference signal is detected. That is, there is a problem that the position of the moving body cannot be detected promptly when the power is turned on.

本発明はこうした実情に鑑みてなされたものであって、その目的は、磁気センサへの電源投入時において、より速やかに移動体の位置を検出することのできる磁気式エンコーダ及び同エンコーダを用いた位置検出方法を提供することにある。   The present invention has been made in view of such circumstances, and an object of the present invention is to use a magnetic encoder and the same encoder that can detect the position of a moving body more quickly when power is supplied to a magnetic sensor. The object is to provide a position detection method.

以下、上記目的を達成するための手段及びその作用効果について記載する。
請求項1に記載の発明は、複数の磁極部を有する移動体と、前記各磁極部の磁気の強さを検出する磁気センサとを備える磁気式エンコーダにおいて、前記磁気センサによって検出される前記磁気の強さが前記移動体の移動に伴って一定の傾向にて変化するように前記各磁極部を設けたことをその要旨とする。
In the following, means for achieving the above object and its effects are described.
The invention according to claim 1 is a magnetic encoder comprising a moving body having a plurality of magnetic pole portions and a magnetic sensor for detecting the magnetic strength of each magnetic pole portion, and the magnetic force detected by the magnetic sensor. The gist of the invention is that each of the magnetic pole portions is provided such that the strength of the magnetic body changes with a certain tendency as the moving body moves.

同構成では、磁気センサによって検出される各磁極部の磁気の強さが移動体の移動に伴って一定の傾向にて変化するようにしている。そのため、その検出される磁気の強さに基づいて磁気センサが検出した磁極部を特定することができ、もって移動体の位置を検出することができるようになる。従って、同構成によれば、磁気センサへの電源投入時であっても、そのときに検出される磁気の強さに基づいて移動体の位置をより速やかに検出することができるようになる。なお、磁気の強さを検出する上記磁気センサとしては、ホール素子や磁気抵抗効果素子などが挙げられる。   In the configuration, the magnetic strength of each magnetic pole portion detected by the magnetic sensor is changed with a certain tendency as the moving body moves. For this reason, the magnetic pole portion detected by the magnetic sensor can be specified based on the detected magnetic strength, and the position of the moving body can be detected. Therefore, according to the configuration, even when the power to the magnetic sensor is turned on, the position of the moving body can be detected more promptly based on the magnetic strength detected at that time. In addition, as said magnetic sensor which detects the magnetic strength, a Hall element, a magnetoresistive effect element, etc. are mentioned.

請求項2に記載の発明は、請求項1に記載の磁気式エンコーダにおいて、前記各磁極部は、該各磁極部と前記磁気センサとの間の距離が前記移動体の移動に伴って変化するように設けられてなることをその要旨とする。   According to a second aspect of the present invention, in the magnetic encoder according to the first aspect, in each of the magnetic pole portions, the distance between the magnetic pole portion and the magnetic sensor changes as the moving body moves. The gist is that it is provided as described above.

同構成によれば、各磁極部と磁気センサとの間の距離が変化するように各磁極部が設けられるため、磁気センサによって検出される磁気の強さを移動体の移動に伴って確実に変化させることができるようになる。   According to this configuration, each magnetic pole part is provided so that the distance between each magnetic pole part and the magnetic sensor changes, so that the strength of the magnetism detected by the magnetic sensor is assured as the moving body moves. Can be changed.

なお、このように各磁極部と磁気センサとの間の距離を変化させる際には、請求項3に記載の発明によるように、前記距離が前記移動体の移動に伴って増大及び減少のうちのいずれか一方に段階的に変化するように前記各磁極部は設けられてなる、といった構成を採用することができる。この場合には、磁気センサと磁極部との間の距離が各段部毎に変化するようになるため、磁気センサによって検出される磁気の強さを各段部毎に明確に変化させることができるようになる。従って、磁気の強さに基づいて行われる各磁極部の特定について、その精度も向上するようになる。   When the distance between each magnetic pole part and the magnetic sensor is changed in this way, according to the invention described in claim 3, the distance increases or decreases as the moving body moves. It is possible to adopt a configuration in which the magnetic pole portions are provided so as to change in a stepwise manner. In this case, since the distance between the magnetic sensor and the magnetic pole portion changes for each step portion, the magnetic strength detected by the magnetic sensor can be clearly changed for each step portion. become able to. Therefore, the accuracy of the identification of each magnetic pole portion performed based on the magnetic strength is also improved.

請求項4に記載の発明は、請求項1に記載の磁気式エンコーダにおいて、前記各磁極部は、該各磁極部の磁気の強さが前記移動体の移動方向に沿って変化するように着磁されてなることをその要旨とする。   According to a fourth aspect of the present invention, in the magnetic encoder according to the first aspect, the magnetic pole portions are attached so that the magnetic strength of the magnetic pole portions changes along the moving direction of the movable body. The gist is that it is magnetized.

同構成によれば、各磁極部の磁気の強さが移動体の移動方向に沿って変化するように各磁極部は着磁されるため、磁気センサによって検出される磁気の強さを移動体の移動に伴って確実に変化させることができるようになる。   According to this configuration, since each magnetic pole portion is magnetized so that the magnetic strength of each magnetic pole portion changes along the moving direction of the moving body, the magnetic strength detected by the magnetic sensor is changed to the moving body. It becomes possible to change it reliably with the movement of.

なお、このように各磁極部の磁気の強さを変化させる際には、請求項5に記載の発明によるように、前記磁気の強さが前記移動体の移動方向に沿って増大及び減少のうちのいずれか一方に段階的に変化するように前記各磁極部は着磁されてなる、といった構成を採用することができる。この場合には、磁極部の磁気の強さが各段部毎に変化するようになるため、磁気センサによって検出される磁気の強さを明確に変化させることができるようになる。従って、磁気の強さに基づいて行われる各磁極部の特定について、その精度も向上するようになる。   When the magnetic strength of each magnetic pole portion is changed in this way, the magnetic strength is increased or decreased along the moving direction of the moving body as in the invention described in claim 5. It is possible to adopt a configuration in which each magnetic pole portion is magnetized so as to change in a stepwise manner. In this case, since the magnetic strength of the magnetic pole portion changes for each step portion, the magnetic strength detected by the magnetic sensor can be clearly changed. Therefore, the accuracy of the identification of each magnetic pole portion performed based on the magnetic strength is also improved.

請求項6に記載の発明は、請求項1〜5のいずれか1項に記載の磁気式エンコーダを用いて前記移動体の位置を検出する方法であって、前記磁気センサにて検出される磁気の強さが予め設定された閾値を超えているか否かを示すセンサ信号を生成し、その生成されるセンサ信号の幅に基づいて前記移動体の位置を検出することをその要旨とする。   Invention of Claim 6 is a method of detecting the position of the said moving body using the magnetic encoder of any one of Claims 1-5, Comprising: Magnetic detected by the said magnetic sensor The gist of the present invention is to generate a sensor signal indicating whether or not the strength of the signal exceeds a preset threshold value and detect the position of the moving body based on the width of the generated sensor signal.

磁気センサにて検出される磁気の強さが予め設定された閾値を超えているか否かを示すセンサ信号を生成する場合、検出される磁気の強さが増大してその変化速度が速くなるほど、該磁気の強さはより早い時期に閾値を超えるようになる。従って、このようなときには、磁気の強さが予め設定された閾値を超えていることを示すセンサ信号の幅は長くなる一方、該閾値を超えていないことを示すセンサ信号の幅は短くなる。ここで、上記請求項1〜5のいずれか1項に記載の磁気式エンコーダによれば、磁気センサによって検出される磁気の強さが上記移動体の移動に伴って変化するため、上記態様でセンサ信号を生成するようにした場合、磁気センサにより検出される磁気の強さの変化速度は移動体の位置に応じて異なるようになり、そのセンサ信号の幅も変化するようになる。従って、このセンサ信号の幅に基づいて上記移動体の位置を検出することができ、請求項6に記載の構成によれば、請求項1〜5のいずれか1項に記載の磁気式エンコーダを用いて速やかに、且つ確実に移動体の位置を検出することができるようになる。なお、上記センサ信号については、ホール素子と波形整形回路とから構成されるホールIC等を用いることで容易に生成することができる。   When generating a sensor signal indicating whether or not the magnetic strength detected by the magnetic sensor exceeds a preset threshold value, the detected magnetic strength increases and the rate of change increases. The strength of the magnetism exceeds the threshold value at an earlier time. Accordingly, in such a case, the width of the sensor signal indicating that the magnetic strength exceeds a preset threshold value is increased, while the width of the sensor signal indicating that the magnetic strength is not exceeded is shortened. Here, according to the magnetic encoder according to any one of claims 1 to 5, the magnetic strength detected by the magnetic sensor changes with the movement of the moving body. When the sensor signal is generated, the rate of change of the magnetic strength detected by the magnetic sensor differs depending on the position of the moving body, and the width of the sensor signal also changes. Therefore, the position of the moving body can be detected based on the width of the sensor signal. According to the configuration of claim 6, the magnetic encoder according to any one of claims 1 to 5 is used. This makes it possible to detect the position of the moving body quickly and reliably. The sensor signal can be easily generated by using a Hall IC composed of a Hall element and a waveform shaping circuit.

ところで、上記移動体が移動しているときには、その移動速度に応じて各磁極部の磁気センサ通過時間は変化する。そのため、上記センサ信号の幅を時間にて計測する場合には、同移動速度に応じて上記センサ信号の出力時間は変化してしまい、各磁極部の特定、すなわち移動体の位置検出が困難になるおそれがある。そこで、請求項7に記載の発明によるように、前記センサ信号の幅を時間にて計測するとともに、前記移動体の移動中にあっては、その移動速度と前記センサ信号の出力時間とに基づいて前記移動体の位置を検出する、といった構成を採用することにより、移動速度の違いに起因するセンサ信号の出力時間の変化が考慮された状態で移動体の位置を検出することができるようになり、移動体の移動中であっても該移動体の位置を検出することができるようになる。なお、移動体の移動速度は、別途設けられた速度センサによって検出したり、上記センサ信号の生成間隔から算出したりすることで把握することができる。   By the way, when the moving body is moving, the magnetic sensor passage time of each magnetic pole portion changes according to the moving speed. Therefore, when the width of the sensor signal is measured in time, the output time of the sensor signal changes according to the moving speed, and it is difficult to specify each magnetic pole part, that is, to detect the position of the moving body. There is a risk. Therefore, according to the invention of claim 7, the width of the sensor signal is measured in time, and when the moving body is moving, based on the moving speed and the output time of the sensor signal. By adopting a configuration in which the position of the moving body is detected, the position of the moving body can be detected in a state in which a change in the output time of the sensor signal due to the difference in moving speed is taken into consideration. Thus, the position of the moving body can be detected even while the moving body is moving. The moving speed of the moving body can be grasped by detecting it with a separately provided speed sensor or calculating it from the sensor signal generation interval.

請求項8に記載の発明は、請求項1〜5のいずれか1項に記載の磁気式エンコーダを用いて前記移動体の位置を検出する方法であって、前記各磁極部毎の前記磁気センサの最大出力値に基づいて前記移動体の位置を検出することをその要旨とする。   The invention according to claim 8 is a method of detecting the position of the moving body using the magnetic encoder according to any one of claims 1 to 5, wherein the magnetic sensor for each magnetic pole part. The gist is to detect the position of the moving body based on the maximum output value.

上記請求項1〜5のいずれか1項に記載の磁気式エンコーダによれば、磁気センサによって検出される磁気の強さが上記移動体の移動に伴って変化するため、磁気センサによって検出される磁気の強さに応じて、換言すれば移動体の位置に応じて磁気センサの最大出力値は変化するようになる。従って、各磁極部毎の磁気センサの最大出力値に基づいて上記移動体の位置を検出することもでき、請求項8に記載の構成によれば、請求項1〜5のいずれか1項に記載の磁気式エンコーダを用いて速やかに、且つ確実に移動体の位置を検出することができるようになる。   According to the magnetic encoder according to any one of claims 1 to 5, since the magnetic strength detected by the magnetic sensor changes with the movement of the moving body, it is detected by the magnetic sensor. The maximum output value of the magnetic sensor changes according to the magnetic strength, in other words, according to the position of the moving body. Therefore, it is possible to detect the position of the moving body based on the maximum output value of the magnetic sensor for each magnetic pole part. According to the configuration of claim 8, according to any one of claims 1 to 5. The position of the moving body can be detected quickly and reliably using the magnetic encoder described.

請求項9に記載の発明は、請求項1〜5のいずれか1項に記載の磁気式エンコーダを用いて前記移動体の位置を検出する方法であって、前記各磁極部毎の前記磁気センサの出力値についてその変化速度に基づき前記移動体の位置を検出することをその要旨とする。   A ninth aspect of the present invention is a method for detecting the position of the moving body using the magnetic encoder according to any one of the first to fifth aspects, wherein the magnetic sensor for each of the magnetic pole portions. The gist of the present invention is to detect the position of the moving body based on the change speed of the output value.

上記請求項1〜5のいずれか1項に記載の磁気式エンコーダによれば、磁気センサによって検出される磁気の強さが上記移動体の移動に伴って変化するため、磁気センサによって検出される磁気の強さに応じて、換言すれば移動体の位置に応じて磁気センサの出力値の変化速度は異なるようになる。従って、各磁極部毎の磁気センサの出力値の変化速度に基づいて上記移動体の位置を検出することもでき、請求項8に記載の構成によっても、請求項1〜5のいずれか1項に記載の磁気式エンコーダを用いて速やかに、且つ確実に移動体の位置を検出することができるようになる。   According to the magnetic encoder according to any one of claims 1 to 5, since the magnetic strength detected by the magnetic sensor changes with the movement of the moving body, it is detected by the magnetic sensor. Depending on the strength of the magnetism, in other words, the change rate of the output value of the magnetic sensor differs depending on the position of the moving body. Therefore, the position of the moving body can also be detected based on the changing speed of the output value of the magnetic sensor for each magnetic pole part, and the configuration according to claim 8 also provides any one of claims 1 to 5. The position of the moving body can be detected promptly and reliably using the magnetic encoder described in (1).

(第1の実施形態)
以下、この発明にかかる磁気式エンコーダ及び同エンコーダを用いた位置検出方法を、回転体の回転位置を検出する磁気式エンコーダに適用した第1の実施形態について、図1〜図5を併せ参照して説明する。
(First embodiment)
Hereinafter, a first embodiment in which a magnetic encoder and a position detection method using the encoder according to the present invention are applied to a magnetic encoder that detects the rotational position of a rotating body will be described with reference to FIGS. I will explain.

図1に示されるように、本実施形態における磁気式エンコーダは、移動体である円板状のディスク10、同ディスク10の軸方向におけるディスク面に対向して設けられた磁気センサ30等から構成されている。   As shown in FIG. 1, the magnetic encoder according to the present embodiment includes a disk-shaped disk 10 that is a moving body, a magnetic sensor 30 that is provided to face the disk surface in the axial direction of the disk 10, and the like. Has been.

磁気センサ30はホール素子等から構成されている。このホール素子は、磁束密度といった磁気の強さや磁極に応じてその出力電圧が変化する磁気センサであり、例えば図2に示すように、N極側の磁束密度が大きくなるにつれて(N極までの距離が短くなるにつれて)その出力電圧はプラス側に大きくなる。一方、S極側の磁束密度が大きくなるにつれて(S極までの距離が短くなるにつれて)その出力電圧はマイナス側に大きくなるといった出力特性を有している。   The magnetic sensor 30 is composed of a Hall element or the like. This Hall element is a magnetic sensor whose output voltage changes in accordance with magnetic strength such as magnetic flux density and magnetic poles. For example, as shown in FIG. 2, as the magnetic flux density on the N pole side increases (up to N pole). The output voltage increases to the positive side (as the distance decreases). On the other hand, as the magnetic flux density on the S pole side becomes larger (as the distance to the S pole becomes shorter), the output voltage has an output characteristic that becomes larger on the negative side.

上記ディスク10の中心部には、同ディスク10とともに回転する軸20が設けられており、この軸20は、回転位置の検出対象となる部材に適宜固定される。
また、ディスク10の軸方向におけるディスク面にあってはその外周縁部には、所定の角度毎に交互に異なる極性にて着磁された複数の磁極部a〜hが周方向に沿って順に設けられており、これら磁極部に対向するように上記ホールICは設けられている。なお、本実施形態では、ディスク10の外周縁部の周方向において45°毎に各磁極部a〜hの磁極を異ならせるようにしているが、この角度は磁気式エンコーダの要求分解能に応じて適宜変更してもよい。また、本実施形態では各磁極部a、c、e、gがN極となるように、また各磁極部b、d、f、hがS極になるようにそれぞれ着磁させているが、磁極を入れ替えてもよい。
A shaft 20 that rotates together with the disk 10 is provided at the center of the disk 10, and this shaft 20 is appropriately fixed to a member whose rotation position is to be detected.
Further, on the disk surface in the axial direction of the disk 10, a plurality of magnetic pole parts a to h magnetized with different polarities alternately at predetermined angles are sequentially arranged along the circumferential direction on the outer peripheral edge thereof. The Hall IC is provided so as to face these magnetic pole portions. In this embodiment, the magnetic poles of the magnetic pole portions a to h are made different every 45 ° in the circumferential direction of the outer peripheral edge of the disk 10, but this angle depends on the required resolution of the magnetic encoder. You may change suitably. Further, in this embodiment, each magnetic pole part a, c, e, g is magnetized so as to be an N pole, and each magnetic pole part b, d, f, h is magnetized so as to be an S pole. The magnetic poles may be replaced.

また、磁気センサ30によって検出される各磁極部a〜hの磁束密度がディスク10の回転に伴って一定の傾向にて変化するように各磁極部a〜hは設けられている。より具体的には、図3に示すように、各磁極部a〜hの高さRは磁極部aから磁極部hに向けて段階的に高くなっており、これにより、ディスク10が時計回りに回転すると各磁極部a〜hと磁気センサ30との間の距離Lは磁極部aから磁極部hに向けて段階的に減少するようになっている。   The magnetic pole portions a to h are provided so that the magnetic flux densities of the magnetic pole portions a to h detected by the magnetic sensor 30 change with a certain tendency as the disk 10 rotates. More specifically, as shown in FIG. 3, the height R of each of the magnetic pole portions a to h is increased stepwise from the magnetic pole portion a to the magnetic pole portion h, so that the disk 10 rotates clockwise. , The distance L between the magnetic pole portions a to h and the magnetic sensor 30 decreases stepwise from the magnetic pole portion a toward the magnetic pole portion h.

このように構成される本実施形態の磁気式エンコーダでは、磁気センサ30によって検出される磁束密度がディスク10の回転に伴って一定の傾向にて変化するようになっている。そのため、その検出された磁束密度に基づいて磁気センサ30が検出した磁極部を特定することができ、もってディスク10の回転位置を検出することができるようになる。従って、磁気センサ30への電源投入時でも、そのときに検出される磁束密度に基づいてディスク10の回転位置を検出することができ、上述したように基準信号が入力されるまで回転位置を特定することができない従来の磁気式エンコーダと比較して、磁気センサへの電源投入時における移動体の位置検出をより速やかに行うことができるようになる。   In the magnetic encoder of this embodiment configured as described above, the magnetic flux density detected by the magnetic sensor 30 changes with a certain tendency as the disk 10 rotates. Therefore, the magnetic pole portion detected by the magnetic sensor 30 can be specified based on the detected magnetic flux density, and the rotational position of the disk 10 can be detected. Therefore, even when the power to the magnetic sensor 30 is turned on, the rotational position of the disk 10 can be detected based on the magnetic flux density detected at that time, and the rotational position is specified until the reference signal is input as described above. Compared to conventional magnetic encoders that cannot be used, the position of the moving body can be detected more quickly when power is supplied to the magnetic sensor.

また、本実施形態では、各磁極部a〜hと磁気センサ30との間の距離Lがディスク10の回転に伴って変化するように各磁極部a〜hを設けている。そのため、磁気センサ30によって検出される磁束密度がディスク10の回転に伴って確実に変化するようになる。   In the present embodiment, the magnetic pole portions a to h are provided so that the distance L between the magnetic pole portions a to h and the magnetic sensor 30 changes as the disk 10 rotates. Therefore, the magnetic flux density detected by the magnetic sensor 30 is surely changed as the disk 10 rotates.

さらに、各磁極部a〜hと磁気センサ30との間の距離Lがディスク10の回転に伴って段階的に減少するように各磁極部a〜hを設けている。そのため、磁気センサ30と各磁極部a〜hとの間の距離Lが各磁極部の段部毎に明確に変化するようになり、磁気センサ30によって検出される磁束密度も明確に変化するようになる。従って、磁束密度に基づいて行われる各磁極部a〜hの特定について、その精度も向上するようになる。   Furthermore, the magnetic pole portions a to h are provided so that the distance L between the magnetic pole portions a to h and the magnetic sensor 30 decreases stepwise as the disk 10 rotates. Therefore, the distance L between the magnetic sensor 30 and each magnetic pole part ah changes clearly for every step part of each magnetic pole part, and the magnetic flux density detected by the magnetic sensor 30 also changes clearly. become. Therefore, the accuracy of the identification of the magnetic pole portions a to h performed based on the magnetic flux density is also improved.

次に、このような磁気式エンコーダを用いた位置検出方法についてその一態様を説明する。
本実施形態にかかる位置検出方法では、まず、ホール素子によって検出される磁束密度が所定の閾値αを超えているか否かを示すセンサ信号を生成するようにしている。より具体的には、同磁束密度が閾値αを超えている間「Hi」となり、同磁束密度が閾値αを下回っている間「Lo」となるパルス状のセンサ信号を生成するようにしている。なお、このセンサ信号は、上記磁気センサ30を構成するホール素子に波形整形回路等を接続することにより生成することができ、本実施形態では、上記磁気センサ30として、ホール素子や波形整形回路等から構成されるホールICを用いるようにしている。ちなみに、磁気センサ30をホール素子のみで構成し、その出力端子を別途用意された波形整形回路に接続するようにしてもよい。
Next, an aspect of a position detection method using such a magnetic encoder will be described.
In the position detection method according to the present embodiment, first, a sensor signal indicating whether or not the magnetic flux density detected by the Hall element exceeds a predetermined threshold value α is generated. More specifically, a pulsed sensor signal that is “Hi” while the magnetic flux density exceeds the threshold value α and “Lo” while the magnetic flux density is lower than the threshold value α is generated. . The sensor signal can be generated by connecting a waveform shaping circuit or the like to the Hall element constituting the magnetic sensor 30. In the present embodiment, the Hall sensor, the waveform shaping circuit, or the like is used as the magnetic sensor 30. Hall IC composed of the following is used. Incidentally, the magnetic sensor 30 may be configured by only a Hall element, and its output terminal may be connected to a separately prepared waveform shaping circuit.

このようにホール素子からの出力は波形整形回路にてパルス信号に変換され、このパルス信号が磁気センサ30のセンサ信号として出力される。そしてこのセンサ信号は中央処理装置や記憶装置などを備える制御装置に入力され、同制御装置によって本実施形態にかかる位置検出方法は実行される。   Thus, the output from the Hall element is converted into a pulse signal by the waveform shaping circuit, and this pulse signal is output as a sensor signal of the magnetic sensor 30. And this sensor signal is input into a control apparatus provided with a central processing unit, a memory | storage device, etc., and the position detection method concerning this embodiment is performed by the same control apparatus.

図4は、N極とS極とが交互に磁気センサ30の近傍を通過するときに該磁気センサ30から出力されるセンサ信号の出力態様を示している。なお、同図4では、磁気センサ30にN極及びS極のうちの一方が近づくときに増大する磁束密度を「+」、同磁気センサ30にN極及びS極のうちの他方が近づくときに増大する磁束密度を「−」にて示している。また、同図4において実線にて示される線は、磁極と磁気センサ30との間の距離(ギャップ)を所定の距離L1にしたときの態様を示しており、二点鎖線にて示される線は、磁極と磁気センサ30との間の距離(ギャップ)を上記距離L1よりも短い距離L2にしたときの態様を示している。   FIG. 4 shows an output mode of the sensor signal output from the magnetic sensor 30 when the N pole and the S pole alternately pass in the vicinity of the magnetic sensor 30. In FIG. 4, the magnetic flux density that increases when one of the N and S poles approaches the magnetic sensor 30 is “+”, and the other of the N and S poles approaches the magnetic sensor 30. The increasing magnetic flux density is indicated by “−”. In addition, a line indicated by a solid line in FIG. 4 indicates an aspect when the distance (gap) between the magnetic pole and the magnetic sensor 30 is set to a predetermined distance L1, and is a line indicated by a two-dot chain line. Shows a mode when the distance (gap) between the magnetic pole and the magnetic sensor 30 is set to a distance L2 shorter than the distance L1.

この図4に実線にて示されるように、磁気センサ30に一方の磁極が近づくにつれて、ホール素子にて検出される磁束密度はプラス側へ増大していき、該磁束密度が所定の閾値αを超えると、換言すればホール素子の出力電圧が閾値αに対応する電圧を超えると、上記波形整形回路によって磁気センサ30のセンサ信号は「Hi」となる。そしてその後、磁気センサ30から一方の磁極が遠ざかっていくと、ホール素子にて検出される磁束密度は減少していき、該磁束密度が上記閾値αを下回ると、換言すればホール素子の出力電圧が閾値αに対応する電圧を下回ると、上記波形整形回路によって磁気センサ30のセンサ信号は「Lo」となる。このように、ホール素子によって検出される磁束密度が閾値αを超えている間は、磁気センサ30から幅T2のHi信号が出力され、同磁束密度が閾値αを下回っている間は、磁気センサ30から幅T1のLo信号が出力される。   As shown by a solid line in FIG. 4, as one magnetic pole approaches the magnetic sensor 30, the magnetic flux density detected by the Hall element increases to the plus side, and the magnetic flux density reaches a predetermined threshold value α. In other words, when the output voltage of the Hall element exceeds the voltage corresponding to the threshold value α, the sensor signal of the magnetic sensor 30 becomes “Hi” by the waveform shaping circuit. After that, when one magnetic pole moves away from the magnetic sensor 30, the magnetic flux density detected by the Hall element decreases, and when the magnetic flux density falls below the threshold value α, in other words, the output voltage of the Hall element. Falls below the voltage corresponding to the threshold value α, the sensor signal of the magnetic sensor 30 becomes “Lo” by the waveform shaping circuit. As described above, while the magnetic flux density detected by the Hall element exceeds the threshold value α, the Hi signal having the width T2 is output from the magnetic sensor 30, and while the magnetic flux density is lower than the threshold value α, the magnetic sensor. 30 outputs a Lo signal having a width T1.

ここで、同図4に二点鎖線にて示されるように、磁極と磁気センサ30との間の距離(ギャップ)が短くなると、ホール素子によって検出される磁束密度は大きくなるとともにその変化速度も速くなるため、同検出される磁束密度はより早い時期に上記閾値αを超えるようになる。換言すれば、磁極と磁気センサ30との間の距離(ギャップ)が短くなると、ホール素子の最大出力電圧は大きくなるとともに出力電圧の変化速度も速くなるため、同出力電圧はより早い時期に上記閾値αに対応する電圧を超えるようになる。従って、このときに磁気センサ30から出力されるHi信号の幅T2’は、上記幅T2よりも長くなる。また、このHi信号の幅T2’の増大によって、Lo信号の幅T1’は上記幅T1よりも逆に短くなる。このように各磁極部a〜hと磁気センサ30との間の距離に応じて、換言すればホール素子によって検出される磁束密度の大きさに応じて該磁束密度の変化速度は異なるようになり、もって磁気センサ30から出力されるセンサ信号の幅は変化する。   Here, as indicated by a two-dot chain line in FIG. 4, when the distance (gap) between the magnetic pole and the magnetic sensor 30 is shortened, the magnetic flux density detected by the Hall element is increased and the rate of change thereof is also increased. Since the speed is increased, the detected magnetic flux density exceeds the threshold value α at an earlier time. In other words, when the distance (gap) between the magnetic pole and the magnetic sensor 30 is shortened, the maximum output voltage of the Hall element is increased and the change rate of the output voltage is also increased. The voltage corresponding to the threshold value α is exceeded. Accordingly, the width T2 'of the Hi signal output from the magnetic sensor 30 at this time is longer than the width T2. Further, the increase in the width T2 'of the Hi signal makes the width T1' of the Lo signal shorter than the width T1. Thus, according to the distance between each magnetic pole part ah and the magnetic sensor 30, in other words, according to the magnitude | size of the magnetic flux density detected by a Hall element, the change speed of this magnetic flux density will become different. Therefore, the width of the sensor signal output from the magnetic sensor 30 changes.

さて、上述した本実施形態にかかる磁気式エンコーダによれば、ホール素子によって検出される磁束密度がディスク10の回転に伴って変化する。そのため、上記態様でパルス信号を生成するようにした場合、同ホール素子によって検出される磁束密度の変化速度(ホール素子の出力電圧の変化速度)はディスク10の回転位置に応じて異なるようになり、パルス信号の幅は変化するようになる。従って、このパルス信号の幅に基づいてディスク10の回転位置を検出することができる。すなわち、本実施形態にかかる位置検出方法によれば、上記磁気式エンコーダを用いて速やかに、且つ確実にディスク10の回転位置を検出することができるようになる。   Now, according to the magnetic encoder according to this embodiment described above, the magnetic flux density detected by the Hall element changes as the disk 10 rotates. For this reason, when the pulse signal is generated in the above-described manner, the changing speed of the magnetic flux density detected by the Hall element (the changing speed of the output voltage of the Hall element) varies depending on the rotational position of the disk 10. The width of the pulse signal changes. Therefore, the rotational position of the disk 10 can be detected based on the width of the pulse signal. That is, according to the position detection method according to the present embodiment, the rotational position of the disk 10 can be detected quickly and reliably using the magnetic encoder.

図5は、上記ディスク10の回転に伴って各磁極部a〜hが磁気センサ30を通過するときのセンサ信号の出力態様を示している。なお、この一態様では、N極を検出したときに磁気センサ30からHi信号が出力されるようになっている。   FIG. 5 shows an output mode of sensor signals when the magnetic pole portions a to h pass the magnetic sensor 30 as the disk 10 rotates. In this aspect, the Hi signal is output from the magnetic sensor 30 when the N pole is detected.

この図5に示されるように、磁極部a、磁極部c、磁極部e、磁極部gがそれぞれ磁気センサ30を通過すると、同磁気センサ30からは各磁極部の検出毎にセンサ信号が出力される。ここで、磁気センサ30と各磁極部a、c、e、gとの間の距離は、ディスク10の回転に伴って変化するようになっているため、ホール素子によって検出される磁束密度もディスク10の回転に伴って変化する。すなわち、磁気センサ30と各磁極部a、c、e、gとの間の距離は、「a>c>e>g」の順で段階的に短くなるように設定されているため、ホール素子によって検出される磁束密度は「a<c<e<g」の順で段階的に大きくなっていく。そのため、磁気センサ30から出力されるHi信号の幅T2は各磁極部a、c、e、gの磁束密度の大きさに応じたものとなる。具体的には、磁極部aを検出したときのHi信号の幅T2aが最も短くなり、磁極部cを検出したときのHi信号の幅T2c、磁極部eを検出したときのHi信号の幅T2e、磁極部gを検出したときのHi信号の幅T2gの順で各Hi信号の幅は長くなる。   As shown in FIG. 5, when the magnetic pole part a, the magnetic pole part c, the magnetic pole part e, and the magnetic pole part g pass through the magnetic sensor 30, a sensor signal is output from the magnetic sensor 30 for each detection of each magnetic pole part. Is done. Here, since the distance between the magnetic sensor 30 and each of the magnetic pole portions a, c, e, and g changes with the rotation of the disk 10, the magnetic flux density detected by the Hall element is also the disk. It changes with 10 rotations. That is, since the distance between the magnetic sensor 30 and each magnetic pole part a, c, e, g is set to be reduced stepwise in the order of “a> c> e> g”, the Hall element The magnetic flux density detected by is gradually increased in the order of “a <c <e <g”. Therefore, the width T2 of the Hi signal output from the magnetic sensor 30 depends on the magnitude of the magnetic flux density of each magnetic pole part a, c, e, g. Specifically, the width T2a of the Hi signal when the magnetic pole part a is detected is the shortest, the width T2c of the Hi signal when the magnetic pole part c is detected, and the width T2e of the Hi signal when the magnetic pole part e is detected. The width of each Hi signal becomes longer in the order of the width T2g of the Hi signal when the magnetic pole part g is detected.

このように磁気センサ30から出力されるHi信号の幅は、各磁極部a、c、e、gの検出に対応して変化するため、そのHi信号の幅に基づいて該磁気センサ30が検出した磁極部を特定することができる。すなわち、磁気センサ30から出力されるHi信号の幅に基づいてディスク10の回転位置を検出することができる。そのため、例えば磁気センサ30への電源投入時に最初に検出されたHi信号の幅に基づき、ディスク10の回転位置を検出することができる。   Thus, since the width of the Hi signal output from the magnetic sensor 30 changes corresponding to the detection of each magnetic pole part a, c, e, g, the magnetic sensor 30 detects based on the width of the Hi signal. It is possible to specify the magnetic pole part. That is, the rotational position of the disk 10 can be detected based on the width of the Hi signal output from the magnetic sensor 30. Therefore, for example, the rotational position of the disk 10 can be detected based on the width of the Hi signal detected first when the magnetic sensor 30 is turned on.

また、本実施形態にかかる磁気式エンコーダによれば、磁気センサ30によって検出される磁束密度がディスク10の回転に伴って一定の傾向にて変化するようになっている。そのため、その検出された磁束密度の変化傾向に基づいてディスク10の回転方向を検出することもできる。より具体的には、上記センサ信号にあってそのHi信号の幅T2が各磁極部を検出する毎に大きくなる場合には、ディスク10が時計回りに回転しており、同幅T2が各磁極部を検出する毎に小さくなる場合には、ディスク10が反時計回りに回転していると判断することができる。   Further, according to the magnetic encoder according to the present embodiment, the magnetic flux density detected by the magnetic sensor 30 changes with a certain tendency as the disk 10 rotates. Therefore, the rotation direction of the disk 10 can be detected based on the detected change tendency of the magnetic flux density. More specifically, when the width T2 of the Hi signal increases each time each magnetic pole portion is detected in the sensor signal, the disk 10 is rotated clockwise, and the same width T2 is equal to each magnetic pole portion. If it becomes smaller each time a part is detected, it can be determined that the disk 10 is rotating counterclockwise.

なお、本実施形態にかかる位置検出方法では、磁気センサ30の出力値に基づいて生成されるセンサ信号のうち、Hi信号の幅T2に基づいて各磁極部a、c、e、gを特定するようにしたが、上述したように、ホール素子によって検出される磁束密度が大きくなるほどHi信号の幅T2は大きくなる一方、Lo信号の幅T1は小さくなる傾向にある。従って、本実施形態にかかる位置検出方法は、Lo信号の幅T1に基づいて行うこともできる。   In the position detection method according to the present embodiment, among the sensor signals generated based on the output value of the magnetic sensor 30, the magnetic pole portions a, c, e, and g are specified based on the width T2 of the Hi signal. However, as described above, as the magnetic flux density detected by the Hall element increases, the width T2 of the Hi signal tends to increase while the width T1 of the Lo signal tends to decrease. Therefore, the position detection method according to the present embodiment can also be performed based on the Lo signal width T1.

例えば、先の図5に示すように、磁気センサ30が磁極部aを検出した後、センサ信号のレベルは一旦「Lo」になり、同磁気センサ30が磁極部cを検出すると、センサ信号のレベルは再び「Hi」になる。この間のLo信号の幅T1cは、磁極部cの検出に対応した特有の値となる。同様に、磁極部cを検出した後、磁極部eを検出までの間のLo信号の幅T1eは、磁極部eの検出に対応した特有の値となる。また、磁極部eを検出した後、磁極部gを検出までの間のLo信号の幅T1gも磁極部gの検出に対応した特有の値となり、磁極部gを検出した後、磁極部aを検出までの間のLo信号の幅T1aも磁極部aの検出に対応した特有の値となる。従って、これらLo信号の幅に基づいて該磁気センサ30が検出した磁極部を特定することができる。すなわち、磁気センサ30から出力されるLo信号の幅に基づいてディスク10の回転位置を検出することができる。そのため、例えば磁気センサ30への電源投入時に最初に検出されたLo信号の幅に基づき、ディスク10の回転位置を検出することもできるようになる。   For example, as shown in FIG. 5, after the magnetic sensor 30 detects the magnetic pole part a, the level of the sensor signal once becomes “Lo”, and when the magnetic sensor 30 detects the magnetic pole part c, The level becomes “Hi” again. The Lo signal width T1c during this period is a specific value corresponding to the detection of the magnetic pole part c. Similarly, the width T1e of the Lo signal from when the magnetic pole part c is detected until the magnetic pole part e is detected becomes a specific value corresponding to the detection of the magnetic pole part e. In addition, the width T1g of the Lo signal until the magnetic pole part g is detected after the magnetic pole part e is detected is also a specific value corresponding to the detection of the magnetic pole part g. The Lo signal width T1a until the detection is also a specific value corresponding to the detection of the magnetic pole part a. Therefore, the magnetic pole portion detected by the magnetic sensor 30 can be specified based on the width of these Lo signals. That is, the rotational position of the disk 10 can be detected based on the width of the Lo signal output from the magnetic sensor 30. Therefore, for example, the rotational position of the disk 10 can be detected based on the width of the Lo signal first detected when the power to the magnetic sensor 30 is turned on.

以上説明したように、本実施形態よれば、次のような効果を得ることができる。
(1)複数の磁極部a〜hを有するディスク10と、各磁極部a〜hの磁束密度(磁気の強さ)を検出する磁気センサ30とを備える磁気式エンコーダにおいて、磁気センサ30によって検出される磁束密度がディスク10の回転に伴って一定の傾向にて変化するように各磁極部a〜hを設けるようにしている。そのため、磁気センサ30への電源投入時であっても、磁気センサ30によって検出される磁束密度に基づいてより速やかにディスク10の回転位置を検出することができるようになる。
As described above, according to the present embodiment, the following effects can be obtained.
(1) In a magnetic encoder provided with a disk 10 having a plurality of magnetic pole portions a to h and a magnetic sensor 30 for detecting the magnetic flux density (magnetic strength) of each magnetic pole portion a to h, the magnetic sensor 30 detects the magnetic encoder. The magnetic pole portions a to h are provided so that the magnetic flux density to be changed changes with a certain tendency as the disk 10 rotates. Therefore, even when the power to the magnetic sensor 30 is turned on, the rotational position of the disk 10 can be detected more quickly based on the magnetic flux density detected by the magnetic sensor 30.

(2)各磁極部a〜hと磁気センサ30との間の距離Lがディスク10の回転に伴って変化するように各磁極部a〜hを設けるようにしている。そのため、磁気センサ30によって検出される磁束密度をディスク10の回転に伴って確実に変化させることができるようになる。   (2) The magnetic pole portions a to h are provided so that the distance L between the magnetic pole portions a to h and the magnetic sensor 30 changes as the disk 10 rotates. Therefore, the magnetic flux density detected by the magnetic sensor 30 can be reliably changed as the disk 10 rotates.

(3)各磁極部a〜hと磁気センサ30との間の距離Lを変化させる際には、該距離Lがディスク10の回転に伴って段階的に減少するように各磁極部a〜hを設けるようにしている。そのため、磁気センサ30と各磁極部a〜hとの間の距離Lが各段部毎に変化するようになるため、同磁気センサ30によって検出される磁束密度を各磁極部毎に明確に変化させることができるようになり、各磁極部a〜hの特定についてその精度を向上させることもできる。   (3) When changing the distance L between the magnetic pole portions a to h and the magnetic sensor 30, the magnetic pole portions a to h so that the distance L gradually decreases as the disk 10 rotates. Is provided. Therefore, since the distance L between the magnetic sensor 30 and each magnetic pole part ah changes for every step part, the magnetic flux density detected by the magnetic sensor 30 changes clearly for every magnetic pole part. The accuracy of identifying the magnetic pole portions a to h can also be improved.

(4)磁気センサ30にて検出される磁束密度が予め設定された閾値αを超えているか否かを示すセンサ信号を生成し、その生成されるセンサ信号の幅に基づいてディスク10の回転位置を検出するようにしている。ここで、本実施形態にかかる磁気式エンコーダによれば、磁気センサ30によって検出される磁束密度がディスク10の回転に伴って変化するため、上記態様でセンサ信号を生成するようにした場合、磁気センサ30により検出される磁束密度の変化速度はディスク10の回転位置に応じて異なるようになり、センサ信号の幅は変化するようになる。従って、このセンサ信号の幅に基づいてディスク10の回転位置を検出することができ、本実施形態にかかる位置検出方法によれば、本実施形態にかかる磁気式エンコーダを用いて速やかに、且つ確実にディスク10の回転位置を検出することができるようになる。
(第2の実施形態)
次に、この発明にかかる磁気式エンコーダ及び同エンコーダを用いた位置検出方法を、同じく回転体の回転位置を検出する磁気式エンコーダに適用した第2の実施形態について、図6及び図7を併せ参照して説明する。
(4) A sensor signal indicating whether or not the magnetic flux density detected by the magnetic sensor 30 exceeds a preset threshold value α is generated, and the rotational position of the disk 10 is based on the width of the generated sensor signal. To detect. Here, according to the magnetic encoder according to the present embodiment, the magnetic flux density detected by the magnetic sensor 30 changes as the disk 10 rotates. The changing speed of the magnetic flux density detected by the sensor 30 varies depending on the rotational position of the disk 10, and the width of the sensor signal changes. Therefore, the rotational position of the disk 10 can be detected based on the width of the sensor signal. According to the position detection method according to this embodiment, the magnetic encoder according to this embodiment can be used quickly and reliably. In addition, the rotational position of the disk 10 can be detected.
(Second Embodiment)
Next, a second embodiment in which the magnetic encoder according to the present invention and the position detection method using the encoder are applied to a magnetic encoder that similarly detects the rotational position of the rotating body will be described with reference to FIGS. The description will be given with reference.

本実施形態では、第1の実施形態とは異なる位置検出方法を用いてディスク10の回転位置を検出するようにしている。より具体的には、第1の実施形態とは異なる態様で磁気センサ30のセンサ信号を生成するようにしており、この点以外は第1の実施形態と同様である。そこで、以下では、本実施形態におけるセンサ信号の生成態様を中心にして説明する。   In the present embodiment, the rotational position of the disk 10 is detected using a position detection method different from that in the first embodiment. More specifically, the sensor signal of the magnetic sensor 30 is generated in a manner different from that of the first embodiment, and the other points are the same as those of the first embodiment. Therefore, in the following, description will be made focusing on the sensor signal generation mode in the present embodiment.

本実施形態では、まず、磁気センサ30を構成するホール素子の出力端子を全波整流回路に接続するようにしており、これによりホール素子から出力されるマイナス側の電圧をプラス側に反転させるようにしている。そして、この全波整流回路に第1の実施形態で説明したような波形整形回路を接続するようにしており、これら磁気センサ30、全波整流回路、及び波形整形回路にて磁気センサ部を構成するようにしている。そして、本実施形態でも、この磁気センサ部から出力されるセンサ信号が上述したような制御装置に入力され、同制御装置によって本実施形態にかかる位置検出方法は実行される。   In this embodiment, first, the output terminal of the Hall element constituting the magnetic sensor 30 is connected to the full-wave rectifier circuit so that the negative voltage output from the Hall element is inverted to the positive side. I have to. The waveform shaping circuit as described in the first embodiment is connected to the full wave rectification circuit, and the magnetic sensor 30, the full wave rectification circuit, and the waveform shaping circuit constitute a magnetic sensor unit. Like to do. Also in the present embodiment, the sensor signal output from the magnetic sensor unit is input to the control device as described above, and the position detection method according to the present embodiment is executed by the control device.

図6は、N極とS極とが交互に磁気センサ30の近傍を通過するときに上記磁気センサ部から出力されるセンサ信号の出力態様を示している。なお、先の図4と同様にこの図6でも、磁気センサ30にN極及びS極のうちの一方が近づくときに増大する磁束密度を「+」、同磁気センサ30にN極及びS極のうちの他方が近づくときに増大する磁束密度を「−」にて示している。また、同図6において実線にて示される線は、磁極と磁気センサ30との間の距離(ギャップ)を所定の距離L1にしたときの態様を示しており、二点鎖線にて示される線は、磁極と磁気センサ30との間の距離(ギャップ)を上記距離L1よりも短い距離L2にしたときの態様を示している。   FIG. 6 shows an output mode of the sensor signal output from the magnetic sensor unit when the N pole and the S pole alternately pass in the vicinity of the magnetic sensor 30. As in FIG. 4, in FIG. 6, the magnetic flux density that increases when one of the N pole and the S pole approaches the magnetic sensor 30 is “+”, and the magnetic sensor 30 has the N pole and the S pole. The magnetic flux density that increases when the other of the two approaches is indicated by “−”. Further, the solid line in FIG. 6 indicates a mode when the distance (gap) between the magnetic pole and the magnetic sensor 30 is set to a predetermined distance L1, and is a line indicated by a two-dot chain line. Shows a mode when the distance (gap) between the magnetic pole and the magnetic sensor 30 is set to a distance L2 shorter than the distance L1.

この図6に実線にて示されるように、磁気センサ30に一方の磁極が近づくにつれて、ホール素子にて検出される磁束密度はプラス側へ増大していき、該ホール素子の出力電圧VL1もプラス側に増大していく。そしてその出力電圧が上述したような閾値αに対応する電圧を超えると、その磁気センサ30の出力に基づいてセンサ信号は「Hi」に設定される。そしてその後、磁気センサ30から一方の磁極が遠ざかっていくと、ホール素子にて検出される磁束密度は減少していき、ホール素子の出力電圧が上記閾値αに対応する電圧を下回ると、その磁気センサ30の出力に基づいてセンサ信号は「Lo」に設定される。   As indicated by a solid line in FIG. 6, as one magnetic pole approaches the magnetic sensor 30, the magnetic flux density detected by the Hall element increases to the plus side, and the output voltage VL1 of the Hall element also increases. Will increase to the side. When the output voltage exceeds the voltage corresponding to the threshold value α as described above, the sensor signal is set to “Hi” based on the output of the magnetic sensor 30. Then, when one of the magnetic poles moves away from the magnetic sensor 30, the magnetic flux density detected by the Hall element decreases, and when the output voltage of the Hall element falls below the voltage corresponding to the threshold value α, the magnetism Based on the output of the sensor 30, the sensor signal is set to “Lo”.

その後、一方の磁極に隣り合う他方の磁極が磁気センサ30に近づくにつれて、ホール素子にて検出される磁束密度はマイナス側へ増大していき、ホール素子の出力電圧はマイナス側に増大していく。ここで、本実施形態では、ホール素子から出力されるマイナス側の電圧が上記全波整流回路によってプラス側に反転される。そのため、磁気センサ30に他方の磁極が近づくにつれて全波整流されたホール素子の出力電圧VL1はプラス側に増大していき、その電圧が上述したような閾値αに対応する電圧を超えると、この磁気センサ30の出力に基づいてセンサ信号は「Hi」に設定される。そしてその後、磁気センサ30から他方の磁極が遠ざかっていくと、ホール素子にて検出される磁束密度は減少していき、全波整流されたホール素子の出力電圧が上記閾値αに対応する電圧を下回ると、その磁気センサ30の出力に基づいてセンサ信号は「Lo」に設定される。   Thereafter, as the other magnetic pole adjacent to one magnetic pole approaches the magnetic sensor 30, the magnetic flux density detected by the Hall element increases to the negative side, and the output voltage of the Hall element increases to the negative side. . Here, in the present embodiment, the negative side voltage output from the Hall element is inverted to the positive side by the full-wave rectifier circuit. Therefore, as the other magnetic pole approaches the magnetic sensor 30, the full-wave rectified Hall element output voltage VL1 increases to the plus side, and when the voltage exceeds a voltage corresponding to the threshold value α as described above, The sensor signal is set to “Hi” based on the output of the magnetic sensor 30. After that, as the other magnetic pole moves away from the magnetic sensor 30, the magnetic flux density detected by the Hall element decreases, and the output voltage of the Hall element subjected to full-wave rectification becomes a voltage corresponding to the threshold value α. If it falls below, the sensor signal is set to “Lo” based on the output of the magnetic sensor 30.

このように本実施形態では、全波整流されたホール素子の出力電圧を波形整形することにより、N極及びS極といった双方の磁極を検出したときに「Hi」となるセンサ信号を生成するようにしている。すなわち、ホール素子によって検出される磁束密度の絶対値が閾値αを超えている間は、磁気センサ30から幅T2のHi信号が出力され、同磁束密度の絶対値が閾値αを下回っている間は、磁気センサ30から幅T1のLo信号が出力される。   As described above, in the present embodiment, the output voltage of the Hall element that has been subjected to full-wave rectification is shaped so that a sensor signal that becomes “Hi” is generated when both magnetic poles such as the N pole and the S pole are detected. I have to. That is, while the absolute value of the magnetic flux density detected by the Hall element exceeds the threshold value α, a Hi signal having a width T2 is output from the magnetic sensor 30 and the absolute value of the magnetic flux density is below the threshold value α. Outputs a Lo signal having a width T1 from the magnetic sensor 30.

ここで、同図6に二点鎖線にて示されるように、磁極と磁気センサ30との間の距離(ギャップ)が短くなると、ホール素子によって検出される磁束密度は大きくなるとともにその絶対値の変化速度も速くなるため、同検出される磁束密度はより早い時期に上記閾値αを超えるようになる。換言すれば、磁極と磁気センサ30との間の距離(ギャップ)が短くなると、ホール素子の最大出力電圧の絶対値は大きくなるとともに出力電圧VL2の変化速度も速くなるため、同出力電圧VL2はより早い時期に上記閾値αに対応する電圧を超えるようになる。従って、このときのHi信号の幅T2’は、上記幅T2よりも長くなるとともに、Lo信号の幅T1’は、上記幅T1よりも短くなる。このように各磁極部a〜hと磁気センサ30との間の距離に応じて、換言すればホール素子によって検出される磁束密度の大きさに応じて該磁束密度の絶対値の変化速度は異なるようになり、もって磁気センサ30の出力に基づいて生成されるセンサ信号の幅は変化する。   Here, as indicated by a two-dot chain line in FIG. 6, when the distance (gap) between the magnetic pole and the magnetic sensor 30 is shortened, the magnetic flux density detected by the Hall element is increased and the absolute value thereof is increased. Since the speed of change is also increased, the detected magnetic flux density exceeds the threshold value α at an earlier time. In other words, when the distance (gap) between the magnetic pole and the magnetic sensor 30 is shortened, the absolute value of the maximum output voltage of the Hall element is increased and the changing speed of the output voltage VL2 is also increased. Therefore, the output voltage VL2 is The voltage corresponding to the threshold value α is exceeded earlier. Accordingly, the width T2 'of the Hi signal at this time is longer than the width T2, and the width T1' of the Lo signal is shorter than the width T1. Thus, according to the distance between each magnetic pole part ah and the magnetic sensor 30, in other words, according to the magnitude | size of the magnetic flux density detected by a Hall element, the change speed of the absolute value of this magnetic flux density changes. Thus, the width of the sensor signal generated based on the output of the magnetic sensor 30 changes.

図7は、上記ディスク10の回転に伴って各磁極部a〜hが磁気センサ30を通過するときに上記磁気センサ部から出力されるセンサ信号の出力態様を示している。
この図7に示されるように、磁極部a、磁極部b、磁極部c、磁極部d、磁極部e、磁極部f、磁極部gがそれぞれ磁気センサ30を通過すると、同磁気センサ30の出力に基づいて各磁極部の検出毎にHi信号が出力される。ここで、磁気センサ30と各磁極部a、b、c、d、e、f、gとの間の距離は、ディスク10の回転に伴って変化するようになっているため、ホール素子によって検出される磁束密度もディスク10の回転に伴って変化する。すなわち、磁気センサ30と各磁極部a、b、c、d、e、f、gとの間の距離は、「a>b>c>d>e>f>g」の順で段階的に短くなるように設定されているため、ホール素子によって検出される磁束密度の絶対値は「a<b<c<d<e<f<g」の順で段階的に大きくなっていく。そのため、磁気センサ30から出力されるHi信号の幅T2は各磁極部a、b、c、d、e、f、gの磁束密度の絶対値の大きさに応じたものとなる。具体的には、磁極部aを検出したときのHi信号の幅T2aが最も短くなり、磁極部b検出時のHi信号の幅T2b、磁極部c検出時のHi信号の幅T2c、磁極部d検出時のHi信号の幅T2d、磁極部e検出時のHi信号の幅T2e、磁極部f検出時のHi信号の幅T2f、磁極部g検出時のHi信号の幅T2gの順で長くなる。
FIG. 7 shows an output mode of a sensor signal output from the magnetic sensor unit when each of the magnetic pole units a to h passes the magnetic sensor 30 as the disk 10 rotates.
As shown in FIG. 7, when the magnetic pole part a, the magnetic pole part b, the magnetic pole part c, the magnetic pole part d, the magnetic pole part e, the magnetic pole part f, and the magnetic pole part g pass through the magnetic sensor 30, respectively, A Hi signal is output for each detection of each magnetic pole based on the output. Here, since the distance between the magnetic sensor 30 and each magnetic pole part a, b, c, d, e, f, g changes with the rotation of the disk 10, it is detected by the Hall element. The magnetic flux density to be changed also changes as the disk 10 rotates. That is, the distance between the magnetic sensor 30 and each magnetic pole part a, b, c, d, e, f, g is stepwise in the order of “a>b>c>d>e>f> g”. Since it is set to be shorter, the absolute value of the magnetic flux density detected by the Hall element increases stepwise in the order of “a <b <c <d <e <f <g”. Therefore, the width T2 of the Hi signal output from the magnetic sensor 30 corresponds to the absolute value of the magnetic flux density of each magnetic pole part a, b, c, d, e, f, g. Specifically, the width T2a of the Hi signal when detecting the magnetic pole part a is the shortest, the width T2b of the Hi signal when detecting the magnetic pole part b, the width T2c of the Hi signal when detecting the magnetic pole part c, and the magnetic pole part d. The width T2d of the Hi signal at the time of detection, the width T2e of the Hi signal at the time of detecting the magnetic pole part e, the width T2f of the Hi signal at the time of detecting the magnetic pole part f, and the width T2g of the Hi signal at the time of detecting the magnetic pole part g increase.

このように磁気センサ30から出力されるHi信号の幅は、各磁極部a、b、c、d、e、f、gの検出に対応して変化するため、そのHi信号の幅に基づいて該磁気センサ30が検出した磁極部を特定することができる。すなわち、磁気センサ30から出力されるHi信号の幅に基づいてディスク10の回転位置を検出することができる。そのため、例えば磁気センサ30への電源投入時に最初に検出されたHi信号の幅に基づき、ディスク10の回転位置を検出することができる。   Thus, since the width of the Hi signal output from the magnetic sensor 30 changes corresponding to the detection of each magnetic pole part a, b, c, d, e, f, g, based on the width of the Hi signal. The magnetic pole portion detected by the magnetic sensor 30 can be specified. That is, the rotational position of the disk 10 can be detected based on the width of the Hi signal output from the magnetic sensor 30. Therefore, for example, the rotational position of the disk 10 can be detected based on the width of the Hi signal detected first when the magnetic sensor 30 is turned on.

このように本実施形態にかかる位置検出方法によっても、第1の実施形態にかかる磁気式エンコーダを用いて速やかに、且つ確実にディスク10の回転位置を検出することができるようになる。特に本実施形態では、N極の磁極部(a、c、e、g)のみならず、S極の磁極部(b、d、f、h)を検出したときにもHi信号が出力されるため、より速やかにディスク10の回転位置を検出することができるようになる。   As described above, also by the position detection method according to the present embodiment, the rotational position of the disk 10 can be detected quickly and reliably using the magnetic encoder according to the first embodiment. In particular, in the present embodiment, the Hi signal is output not only when the magnetic pole part (a, c, e, g) of N pole but also the magnetic pole part (b, d, f, h) of S pole is detected. Therefore, the rotational position of the disk 10 can be detected more quickly.

ちなみに、本実施形態にかかる位置検出方法では、磁気センサ30の出力値に基づいて生成されるセンサ信号のうち、Hi信号の幅T2に基づいて各磁極部a〜hを特定するようにしたが、上述したように、ホール素子によって検出される磁束密度が大きくなるほどHi信号の幅T2は大きくなる一方、Lo信号の幅T1は小さくなる傾向にある。従って、本実施形態にかかる位置検出方法も、Lo信号の幅T1に基づいて行うことができる。   Incidentally, in the position detection method according to the present embodiment, among the sensor signals generated based on the output value of the magnetic sensor 30, the magnetic pole portions a to h are specified based on the width T2 of the Hi signal. As described above, as the magnetic flux density detected by the Hall element increases, the width T2 of the Hi signal tends to increase while the width T1 of the Lo signal tends to decrease. Therefore, the position detection method according to the present embodiment can also be performed based on the Lo signal width T1.

例えば、先の図7に示すように、磁気センサ30が磁極部aを検出した後、センサ信号のレベルは一旦「Lo」になり、同磁気センサ30が磁極部bを検出すると、センサ信号のレベルは再び「Hi」になる。この間のLo信号の幅T1bは、磁極部bの検出に対応した特有の値となる。同様に、磁極部bを検出した後、磁極部cを検出までの間のLo信号の幅T1cは、磁極部cの検出に対応した特有の値となる。また、磁極部cを検出した後、磁極部dを検出までの間のLo信号の幅T1dも磁極部dの検出に対応した特有の値となり、磁極部dを検出した後、磁極部eを検出までの間のLo信号の幅T1eも磁極部eの検出に対応した特有の値となる。以下、同様に、Lo信号の幅T1f、T1g、T1h、T1aもそれぞれ磁極部f、g、h、aの検出に対応した特有の値となる。従って、これらLo信号の幅に基づいて該磁気センサ30が検出した磁極部を特定することができる。すなわち、磁気センサ30から出力されるLo信号の幅に基づいてディスク10の回転位置を検出することができる。そのため、例えば磁気センサ30への電源投入時に最初に検出されたLo信号の幅に基づき、ディスク10の回転位置を検出することができる。   For example, as shown in FIG. 7, after the magnetic sensor 30 detects the magnetic pole part a, the level of the sensor signal once becomes “Lo”, and when the magnetic sensor 30 detects the magnetic pole part b, The level becomes “Hi” again. The Lo signal width T1b during this period is a specific value corresponding to the detection of the magnetic pole part b. Similarly, the width T1c of the Lo signal after the magnetic pole part b is detected and before the magnetic pole part c is detected becomes a specific value corresponding to the detection of the magnetic pole part c. In addition, the width T1d of the Lo signal until the magnetic pole part d is detected after the magnetic pole part c is detected is also a specific value corresponding to the detection of the magnetic pole part d. The Lo signal width T1e until the detection is also a specific value corresponding to the detection of the magnetic pole part e. Hereinafter, similarly, the widths T1f, T1g, T1h, and T1a of the Lo signal also have specific values corresponding to the detection of the magnetic pole portions f, g, h, and a, respectively. Therefore, the magnetic pole portion detected by the magnetic sensor 30 can be specified based on the width of these Lo signals. That is, the rotational position of the disk 10 can be detected based on the width of the Lo signal output from the magnetic sensor 30. Therefore, for example, the rotational position of the disk 10 can be detected based on the width of the Lo signal detected first when the magnetic sensor 30 is powered on.

なお、上記各実施形態は以下のように変更して実施することもできる。
・各実施形態おける磁気式エンコーダでは、ディスク10の回転に伴って各磁極部a〜hと磁気センサ30との間の距離Lが減少するように該各磁極部a〜hを設けるようにしたが、ディスク10の回転に伴って同距離Lが増大するように該各磁極部a〜hを設けるようにしてもよい。この場合でも、上記各実施形態と同様な作用効果を得ることができる。
In addition, each said embodiment can also be changed and implemented as follows.
In the magnetic encoder in each embodiment, the magnetic pole portions a to h are provided so that the distance L between the magnetic pole portions a to h and the magnetic sensor 30 decreases as the disk 10 rotates. However, the magnetic pole portions a to h may be provided so that the same distance L increases as the disk 10 rotates. Even in this case, the same effects as those of the above embodiments can be obtained.

・各実施形態おける磁気式エンコーダでは、磁気センサ30によって検出される磁束密度をディスク10の回転に伴って一定の傾向にて変化させるために、各磁極部a〜hと磁気センサ30との間の距離Lを変化させるようにした。この他にも、図8に示すように、各磁極部a〜hと磁気センサ30との間の距離Lを一定とし、該各磁極部a〜hの磁束密度がディスクの回転方向に沿って変化するように、各磁極部a〜hを着磁するようにしてもよい。この場合にも、各磁極部a〜hの磁束密度がディスクの回転方向に沿って変化するようになるため、磁気センサ30によって検出される磁束密度をディスクの回転に伴って確実に変化させることができるようになる。   In the magnetic encoder according to each embodiment, in order to change the magnetic flux density detected by the magnetic sensor 30 with a certain tendency as the disk 10 rotates, the magnetic encoder 30 is arranged between the magnetic pole portions a to h and the magnetic sensor 30. The distance L was changed. In addition, as shown in FIG. 8, the distance L between each magnetic pole part ah and the magnetic sensor 30 is made constant, and the magnetic flux density of each magnetic pole part ah is along the rotation direction of the disk. You may make it magnetize each magnetic pole part ah so that it may change. Also in this case, the magnetic flux density of each of the magnetic pole portions a to h changes along the rotation direction of the disk, so that the magnetic flux density detected by the magnetic sensor 30 is reliably changed as the disk rotates. Will be able to.

なお、この場合には、磁束密度がディスクの回転方向に沿って増大及び減少のうちのいずれか一方に段階的に変化するように、例えば同図8に示すように、各磁極部a〜hの磁束密度が磁極部aから磁極部hに向けて段階的に大きくなるように着磁することにより、各磁極部a〜hの磁束密度は各段部毎に変化するようになる。そのため、磁気センサ30によって検出される磁束密度を明確に変化させることができるようになる。従って、各磁極部a〜hと磁気センサ30との間の距離Lを段階的に変化させるようにした上記各実施形態と同様に、この変形例においても、磁束密度に基づいて行われる各磁極部a〜hの特定について、その精度が向上するようになる。   In this case, as shown in FIG. 8, for example, as shown in FIG. 8, the magnetic pole portions a to h are used so that the magnetic flux density changes stepwise in either of increasing and decreasing directions along the disk rotation direction. The magnetic flux density of each of the magnetic pole portions a to h changes for each step portion by magnetizing the magnetic flux portions so as to increase stepwise from the magnetic pole portion a toward the magnetic pole portion h. Therefore, the magnetic flux density detected by the magnetic sensor 30 can be changed clearly. Therefore, similarly to the above-described embodiments in which the distance L between the magnetic pole portions a to h and the magnetic sensor 30 is changed stepwise, in this modified example, each magnetic pole performed based on the magnetic flux density is also provided. The accuracy of specifying the parts a to h is improved.

・各実施形態おける磁気式エンコーダでは、ディスク10のディスク面に設けられた各磁極部a〜hについてその高さRを変えるようにした。この他にも、ディスク10の径方向における外周端面が段階的に変化するように、すなわちディスク10の半径が所定角度毎に増大及び減少のうちのいずれか一方に変化するように該ディスク10を形成し、その形成された各段部をそれぞれ磁極部とするようにしても同様な作用効果が得られる。   In the magnetic encoder in each embodiment, the height R of each magnetic pole part a to h provided on the disk surface of the disk 10 is changed. In addition to this, the disk 10 is set so that the outer peripheral end face in the radial direction of the disk 10 changes stepwise, that is, the radius of the disk 10 changes to either one of increase or decrease at every predetermined angle. Even if the step is formed and each step portion thus formed is used as a magnetic pole portion, the same effect can be obtained.

例えば図9に示すように、回転体であるディスク110の径方向における外周端面に、所定の角度毎に交互に異なる極性にて着磁された複数の磁極部a〜hを周方向に沿って順に設ける。また、各磁極部a〜hにおけるディスク110の半径が、磁極部aから磁極部hに向けて段階的に大きくなるように該ディスク110を形成する。そして、ディスク110の径方向において各磁極部a〜hと対向するように上記磁気センサ30を設ける。このような変形例でも、ディスク110が時計回りに回転する場合には、各磁極部a〜hと磁気センサ30との間の距離Lが磁極部aから磁極部hに向けて段階的に減少するようになるため、上記各実施形態と同様な作用効果を得ることができる。   For example, as shown in FIG. 9, a plurality of magnetic pole portions a to h magnetized with different polarities at predetermined angles on the outer peripheral end surface in the radial direction of the disk 110 that is a rotating body along the circumferential direction. Provide in order. Further, the disk 110 is formed so that the radius of the disk 110 in each of the magnetic pole portions a to h increases stepwise from the magnetic pole portion a to the magnetic pole portion h. The magnetic sensor 30 is provided so as to face the magnetic pole portions a to h in the radial direction of the disk 110. Even in such a modification, when the disk 110 rotates clockwise, the distance L between the magnetic pole portions a to h and the magnetic sensor 30 decreases stepwise from the magnetic pole portion a to the magnetic pole portion h. Therefore, the same effects as those of the above embodiments can be obtained.

なお、この変形例も、先の図8に示したような態様で変更することができる。すなわち、図10に示すように、回転体であるディスク120にあって各磁極部a〜hにおける半径を一定とし、該各磁極部a〜hの磁束密度がディスク120の回転方向に沿って変化するように、各磁極部a〜hを着磁するようにしてもよい。この場合にも、各磁極部a〜hの磁束密度がディスク120の回転方向に沿って変化するようになるため、磁気センサ30によって検出される磁束密度をディスク120の回転に伴って確実に変化させることができるようになる。   This modification can also be changed in the manner shown in FIG. That is, as shown in FIG. 10, in the disk 120 which is a rotating body, the radii at the magnetic pole portions a to h are constant, and the magnetic flux density of the magnetic pole portions a to h changes along the rotation direction of the disk 120. As described above, the magnetic pole portions a to h may be magnetized. Also in this case, the magnetic flux density of each of the magnetic pole portions a to h changes along the rotation direction of the disk 120, so that the magnetic flux density detected by the magnetic sensor 30 is reliably changed as the disk 120 rotates. To be able to.

また、この場合にも、磁束密度がディスク120の回転方向に沿って増大及び減少のうちのいずれか一方に段階的に変化するように、例えば同図10に示すように、各磁極部a〜hの磁束密度が磁極部aから磁極部hに向けて段階的に大きくなるように着磁することにより、各磁極部a〜hの磁束密度は各段部毎に変化するようになる。従って、磁気センサ30によって検出される磁束密度を明確に変化させることができるようになる。そのためこの変形例においても、磁束密度に基づいて行われる各磁極部a〜hの特定について、その精度が向上するようになる。   Also in this case, as shown in FIG. 10, for example, as shown in FIG. By magnetizing the magnetic flux density of h so as to increase stepwise from the magnetic pole part a toward the magnetic pole part h, the magnetic flux density of the magnetic pole parts a to h changes for each step part. Therefore, the magnetic flux density detected by the magnetic sensor 30 can be clearly changed. Therefore, also in this modified example, the accuracy of specifying the magnetic pole portions a to h performed based on the magnetic flux density is improved.

・上述したようなディスクが回転しているときには、その回転速度に応じて各磁極部の磁気センサ通過時間は変化する。そのため、上記センサ信号の幅(Hi信号の幅T2やLo信号の幅T1)を時間にて計測する場合には、同回転速度に応じて上記センサ信号の出力時間(Hi信号の出力時間やLo信号の出力時間)は変化してしまい、各磁極部の特定が困難になるおそれがある。そこで、このようにセンサ信号の幅を時間にて計測する場合には、ディスクの回転速度と上記センサ信号の出力時間とに基づいて該ディスクの回転位置を検出するようにしてもよい。この場合には、回転速度の違いに起因するセンサ信号の出力時間の変化を考慮した状態でディスクの回転位置が検出されるようになるため、ディスクの回転中であっても該ディスクの回転位置を確実に検出することができるようになる。ちなみに、ディスクの回転速度は、別途設けられた速度センサによって検出したり、上記センサ信号の生成間隔から算出したりすることで把握することができる。   When the disk as described above is rotating, the magnetic sensor passage time of each magnetic pole portion changes according to the rotation speed. Therefore, when the width of the sensor signal (Hi signal width T2 or Lo signal width T1) is measured in time, the sensor signal output time (Hi signal output time or Lo Signal output time) changes, and it may be difficult to identify each magnetic pole portion. Therefore, when the width of the sensor signal is measured in this way, the rotational position of the disk may be detected based on the rotational speed of the disk and the output time of the sensor signal. In this case, since the rotational position of the disk is detected in consideration of the change in the output time of the sensor signal due to the difference in rotational speed, the rotational position of the disk can be detected even while the disk is rotating. Can be reliably detected. Incidentally, the rotational speed of the disk can be grasped by detecting it with a separately provided speed sensor or calculating it from the sensor signal generation interval.

・上記各実施形態における位置検出方法では、ホール素子の出力値に基づいてパルス状のセンサ信号を生成し、そのセンサ信号の幅に基づいてディスクの回転位置を検出するようにした。この他にも、以下の(a)、(b)のような方法でディスクの回転位置を検出するようにしてもよい。   In the position detection method in each of the above embodiments, a pulsed sensor signal is generated based on the output value of the Hall element, and the rotational position of the disk is detected based on the width of the sensor signal. In addition, the rotational position of the disk may be detected by the following methods (a) and (b).

(a)各磁極部a〜h毎の磁気センサ30の最大出力値に基づいてディスクの回転位置を検出するようにしてもよい。
上述したように、本発明にかかる磁気式エンコーダによれば、磁気センサ30によって検出される磁束密度がディスクの回転に伴って変化するため、図11に示すように、磁気センサ30によって検出される磁束密度に応じて、換言すればディスクの回転位置に応じて磁気センサ30の最大出力値は変化するようになる。従って、各磁極部a〜h毎の磁気センサ30の最大出力値に基づいてディスクの回転位置を検出することができ、このような位置検出方法によっても、本発明にかかる磁気式エンコーダを用いて速やかに、且つ確実にディスクの回転位置を検出することができるようになる。なお、磁気センサ30の最大出力値の検出については、ホール素子の出力電圧をサンプリングするなどしてその最大出力電圧を求めるようにすればよい。
(A) The rotational position of the disk may be detected based on the maximum output value of the magnetic sensor 30 for each of the magnetic pole portions a to h.
As described above, according to the magnetic encoder of the present invention, the magnetic flux density detected by the magnetic sensor 30 changes with the rotation of the disk, so that it is detected by the magnetic sensor 30 as shown in FIG. The maximum output value of the magnetic sensor 30 changes according to the magnetic flux density, in other words, according to the rotational position of the disk. Accordingly, the rotational position of the disk can be detected based on the maximum output value of the magnetic sensor 30 for each of the magnetic pole portions a to h, and the magnetic encoder according to the present invention is also used by such a position detection method. The rotational position of the disk can be detected promptly and reliably. Note that the maximum output value of the magnetic sensor 30 may be detected by obtaining the maximum output voltage by sampling the output voltage of the Hall element.

(b)各磁極部a〜h毎の磁気センサ30の出力値についてその変化速度に基づき、ディスクの回転位置を検出するようにしてもよい。
上述したように、本発明にかかる磁気式エンコーダによれば、磁気センサ30によって検出される磁束密度がディスクの回転に伴って変化するため、図12に示すように、磁気センサ30によって検出される磁束密度に応じて、換言すればディスクの回転位置に応じて磁気センサ30の出力値の変化速度は異なるようになる。従って、各磁極部a〜h毎の磁気センサ30の出力値の変化速度に基づいてディスクの回転位置を検出することができ、このような位置検出方法によっても、本発明にかかる磁気式エンコーダを用いて速やかに、且つ確実にディスクの回転位置を検出することができるようになる。なお、同出力値の変化速度の検出については、ホール素子の出力電圧をサンプリングするなどしてその単位時間当たりの電圧変化量を求めるようにすればよい。
(B) The rotational position of the disk may be detected based on the change speed of the output value of the magnetic sensor 30 for each of the magnetic pole portions a to h.
As described above, according to the magnetic encoder of the present invention, the magnetic flux density detected by the magnetic sensor 30 changes with the rotation of the disk, so that it is detected by the magnetic sensor 30 as shown in FIG. In accordance with the magnetic flux density, in other words, the change rate of the output value of the magnetic sensor 30 differs depending on the rotational position of the disk. Accordingly, the rotational position of the disk can be detected based on the changing speed of the output value of the magnetic sensor 30 for each of the magnetic pole portions a to h, and the magnetic encoder according to the present invention can also be detected by such a position detection method. As a result, the rotational position of the disk can be detected promptly and reliably. For detecting the change rate of the output value, the voltage change amount per unit time may be obtained by sampling the output voltage of the Hall element.

・上記各実施形態及びその変形例では、磁気式エンコーダが備える磁気センサ30をホール素子としたが、この磁気センサは磁束密度といった磁極の磁気の強さを検出することのできるセンサであればよく、例えば磁気抵抗効果素子を用いるようにしてもよい。   In each of the above embodiments and modifications thereof, the magnetic sensor 30 included in the magnetic encoder is a Hall element. However, the magnetic sensor may be any sensor that can detect the magnetic strength of the magnetic pole such as the magnetic flux density. For example, a magnetoresistive effect element may be used.

・上記各実施形態及びその変形例では、回転体の回転位置を検出する磁気式エンコーダに本発明にかかる磁気式エンコーダを適用した場合について説明したが、この他の移動体の位置、例えば直線運動する直線移動体の位置を検出する磁気式エンコーダにも、本発明は同様に適用することができる。   In each of the above embodiments and the modifications thereof, the case where the magnetic encoder according to the present invention is applied to the magnetic encoder that detects the rotational position of the rotating body has been described. The present invention can be similarly applied to a magnetic encoder that detects the position of a linear moving body.

本発明の第1の実施形態にかかる磁気式エンコーダについてその構造を示す概略図。BRIEF DESCRIPTION OF THE DRAWINGS Schematic which shows the structure about the magnetic encoder concerning the 1st Embodiment of this invention. 同実施形態における磁気センサの出力特性を示すグラフ。The graph which shows the output characteristic of the magnetic sensor in the embodiment. 同実施形態において、各磁極部と磁気センサとの間の距離を示す模式図。The schematic diagram which shows the distance between each magnetic pole part and a magnetic sensor in the embodiment. 同実施形態において、磁気センサから出力されるセンサ信号の出力態様を示す概念図。The conceptual diagram which shows the output mode of the sensor signal output from a magnetic sensor in the embodiment. 同実施形態において、ディスクの回転に伴って各磁極部が磁気センサを通過するときのセンサ信号の出力態様を示す概念図。In the same embodiment, the conceptual diagram which shows the output mode of a sensor signal when each magnetic pole part passes a magnetic sensor with rotation of a disk. 第2の実施形態において、磁気センサから出力されるセンサ信号の出力態様を示す概念図。The conceptual diagram which shows the output mode of the sensor signal output from a magnetic sensor in 2nd Embodiment. 同実施形態において、ディスクの回転に伴って各磁極部が磁気センサを通過するときのセンサ信号の出力態様を示す概念図。In the same embodiment, the conceptual diagram which shows the output mode of a sensor signal when each magnetic pole part passes a magnetic sensor with rotation of a disk. 第1及び第2の実施形態における磁気式エンコーダの変形例を示す模式図。The schematic diagram which shows the modification of the magnetic encoder in 1st and 2nd embodiment. 第1及び第2の実施形態における磁気式エンコーダの変形例を示す模式図。The schematic diagram which shows the modification of the magnetic encoder in 1st and 2nd embodiment. 第1及び第2の実施形態における磁気式エンコーダの変形例を示す模式図。The schematic diagram which shows the modification of the magnetic encoder in 1st and 2nd embodiment. 磁気センサによって検出される磁束密度の大きさと該磁気センサの最大出力値との関係を示すグラフ。The graph which shows the relationship between the magnitude | size of the magnetic flux density detected with a magnetic sensor, and the maximum output value of this magnetic sensor. 磁気センサによって検出される磁束密度の大きさと該磁気センサの出力値の変化速度との関係を示すグラフ。The graph which shows the relationship between the magnitude | size of the magnetic flux density detected with a magnetic sensor, and the change speed of the output value of this magnetic sensor.

符号の説明Explanation of symbols

10…ディスク、20…軸、30…磁気センサ、110、120…ディスク、a〜h…磁極部。   DESCRIPTION OF SYMBOLS 10 ... Disk, 20 ... Axis, 30 ... Magnetic sensor, 110, 120 ... Disk, ah ... Magnetic pole part.

Claims (9)

複数の磁極部を有する移動体と、前記各磁極部の磁気の強さを検出する磁気センサとを備える磁気式エンコーダにおいて、
前記磁気センサによって検出される前記磁気の強さが前記移動体の移動に伴って一定の傾向にて変化するように前記各磁極部を設けた
ことを特徴とする磁気式エンコーダ。
In a magnetic encoder comprising a moving body having a plurality of magnetic pole portions, and a magnetic sensor for detecting the magnetic strength of each magnetic pole portion,
The magnetic encoder, wherein the magnetic pole portions are provided so that the magnetic intensity detected by the magnetic sensor changes with a certain tendency as the moving body moves.
前記各磁極部は、該各磁極部と前記磁気センサとの間の距離が前記移動体の移動に伴って変化するように設けられてなる
請求項1に記載の磁気式エンコーダ。
The magnetic encoder according to claim 1, wherein each of the magnetic pole portions is provided such that a distance between the magnetic pole portion and the magnetic sensor changes as the moving body moves.
前記距離が前記移動体の移動に伴って増大及び減少のうちのいずれか一方に段階的に変化するように前記各磁極部は設けられてなる
請求項2に記載の磁気式エンコーダ。
3. The magnetic encoder according to claim 2, wherein each of the magnetic pole portions is provided so that the distance changes stepwise in either one of an increase and a decrease as the moving body moves.
前記各磁極部は、該各磁極部の磁気の強さが前記移動体の移動方向に沿って変化するように着磁されてなる
請求項1に記載の磁気式エンコーダ。
The magnetic encoder according to claim 1, wherein each magnetic pole part is magnetized so that the magnetic strength of each magnetic pole part changes along the moving direction of the movable body.
前記磁気の強さが前記移動体の移動方向に沿って増大及び減少のうちのいずれか一方に段階的に変化するように前記各磁極部は着磁されてなる
請求項4に記載の磁気式エンコーダ。
The magnetic type according to claim 4, wherein the magnetic pole portions are magnetized so that the magnetic strength changes stepwise in either of increasing and decreasing directions along the moving direction of the moving body. Encoder.
請求項1〜5のいずれか1項に記載の磁気式エンコーダを用いて前記移動体の位置を検出する方法であって、
前記磁気センサにて検出される磁気の強さが予め設定された閾値を超えているか否かを示すセンサ信号を生成し、その生成されるセンサ信号の幅に基づいて前記移動体の位置を検出する
ことを特徴とする磁気式エンコーダを用いた位置検出方法。
A method for detecting the position of the moving body using the magnetic encoder according to any one of claims 1 to 5,
A sensor signal indicating whether or not the magnetic strength detected by the magnetic sensor exceeds a preset threshold is generated, and the position of the moving body is detected based on the width of the generated sensor signal. A position detection method using a magnetic encoder.
前記センサ信号の幅を時間にて計測するとともに、前記移動体の移動中にあっては、その移動速度と前記センサ信号の出力時間とに基づいて前記移動体の位置を検出する
請求項6に記載の磁気式エンコーダを用いた位置検出方法。
The width of the sensor signal is measured in time, and when the moving body is moving, the position of the moving body is detected based on the moving speed and the output time of the sensor signal. A position detection method using the magnetic encoder described above.
請求項1〜5のいずれか1項に記載の磁気式エンコーダを用いて前記移動体の位置を検出する方法であって、
前記各磁極部毎の前記磁気センサの最大出力値に基づいて前記移動体の位置を検出する
ことを特徴とする磁気式エンコーダを用いた位置検出方法。
A method for detecting the position of the moving body using the magnetic encoder according to any one of claims 1 to 5,
A position detection method using a magnetic encoder, wherein the position of the moving body is detected based on a maximum output value of the magnetic sensor for each magnetic pole part.
請求項1〜5のいずれか1項に記載の磁気式エンコーダを用いて前記移動体の位置を検出する方法であって、
前記各磁極部毎の前記磁気センサの出力値についてその変化速度に基づき、前記移動体の位置を検出する
ことを特徴とする磁気式エンコーダを用いた位置検出方法。
A method for detecting the position of the moving body using the magnetic encoder according to any one of claims 1 to 5,
A position detection method using a magnetic encoder, wherein the position of the moving body is detected based on a change speed of an output value of the magnetic sensor for each magnetic pole portion.
JP2004330101A 2004-11-15 2004-11-15 Magnetic encoder and position detection method using the same Pending JP2006138788A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004330101A JP2006138788A (en) 2004-11-15 2004-11-15 Magnetic encoder and position detection method using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004330101A JP2006138788A (en) 2004-11-15 2004-11-15 Magnetic encoder and position detection method using the same

Publications (1)

Publication Number Publication Date
JP2006138788A true JP2006138788A (en) 2006-06-01

Family

ID=36619707

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004330101A Pending JP2006138788A (en) 2004-11-15 2004-11-15 Magnetic encoder and position detection method using the same

Country Status (1)

Country Link
JP (1) JP2006138788A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011080907A (en) * 2009-10-08 2011-04-21 Tokai Rika Co Ltd Rotation angle detection device
WO2016157811A1 (en) * 2015-04-01 2016-10-06 株式会社デンソー Magnetic ring and rotation sensor comprising same

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54158255A (en) * 1978-06-05 1979-12-13 Toshiba Corp Angular displacement detector
JPS63163213A (en) * 1986-12-15 1988-07-06 サンドストランド・コーポレーシヨン Position transducer
JP2000088600A (en) * 1998-09-11 2000-03-31 Toshiba Corp Actuator and moving position detection method
JP2001183166A (en) * 1999-12-22 2001-07-06 Next:Kk Rotation angle detecting device and rotation angle transmitting device using it
JP2002162252A (en) * 2000-09-18 2002-06-07 Mitsubishi Electric Corp Rotational position detector
JP2004053589A (en) * 2002-05-29 2004-02-19 Nsk Ltd Rotation state detection device and rolling device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54158255A (en) * 1978-06-05 1979-12-13 Toshiba Corp Angular displacement detector
JPS63163213A (en) * 1986-12-15 1988-07-06 サンドストランド・コーポレーシヨン Position transducer
JP2000088600A (en) * 1998-09-11 2000-03-31 Toshiba Corp Actuator and moving position detection method
JP2001183166A (en) * 1999-12-22 2001-07-06 Next:Kk Rotation angle detecting device and rotation angle transmitting device using it
JP2002162252A (en) * 2000-09-18 2002-06-07 Mitsubishi Electric Corp Rotational position detector
JP2004053589A (en) * 2002-05-29 2004-02-19 Nsk Ltd Rotation state detection device and rolling device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011080907A (en) * 2009-10-08 2011-04-21 Tokai Rika Co Ltd Rotation angle detection device
WO2016157811A1 (en) * 2015-04-01 2016-10-06 株式会社デンソー Magnetic ring and rotation sensor comprising same
JP2016194486A (en) * 2015-04-01 2016-11-17 株式会社デンソー Magnetic ring and rotation sensor including the same

Similar Documents

Publication Publication Date Title
EP0611952B1 (en) Position detector
JP6382503B2 (en) Magnetizing apparatus and magnetizing method for magnet for magnetic encoder
JPH08136558A (en) Rotation speed detector
JP2007024738A (en) Rotational angle detector
JP2009025163A (en) Magnetic encoder
US20190265073A1 (en) System for determining at least one rotation parameter of a rotating member
US20120001584A1 (en) Motor control device and out-of-step detecting method
JP2006138788A (en) Magnetic encoder and position detection method using the same
JP2010008367A (en) Rotation detection device
EP3136112A1 (en) Rotation sensor
JP2004340771A (en) Magnetic rubber encoder
JP2016194487A (en) Magnetic ring and rotation sensor having the magnetic ring
US20230221147A1 (en) Rotation angle detector
US11512980B2 (en) Absolute position detection device and detection method of rotating body
JP2003257738A (en) Permanent magnet, method of manufacturing permanent magnet, and position sensor
JP2003270257A (en) Pulser ring and bearing unit with sensor
JP3764103B2 (en) Rotation angle sensor
JP4912595B2 (en) Position detection device
JP2009229314A (en) Rotation angle detector
JP4145807B2 (en) Rotation angle detector
JP2005300216A (en) Rotation angle detecting device and manufacturing method of rotation angle detecting device
JP2007093554A (en) Pulse signal generator
JP2005249545A (en) Bearing with rotation sensor
JP2006029517A (en) Bearing with sensor
TWI727708B (en) Rotor positioning motor and detection method per se thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070710

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091215

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100420