KR102481561B1 - Encoder and method of calculating rotational angle position - Google Patents

Encoder and method of calculating rotational angle position Download PDF

Info

Publication number
KR102481561B1
KR102481561B1 KR1020150157971A KR20150157971A KR102481561B1 KR 102481561 B1 KR102481561 B1 KR 102481561B1 KR 1020150157971 A KR1020150157971 A KR 1020150157971A KR 20150157971 A KR20150157971 A KR 20150157971A KR 102481561 B1 KR102481561 B1 KR 102481561B1
Authority
KR
South Korea
Prior art keywords
phase
land
rotational speed
signal
sensor
Prior art date
Application number
KR1020150157971A
Other languages
Korean (ko)
Other versions
KR20160059958A (en
Inventor
히로카츠 오쿠무라
Original Assignee
니혼 덴산 산쿄 가부시키가이샤
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 니혼 덴산 산쿄 가부시키가이샤 filed Critical 니혼 덴산 산쿄 가부시키가이샤
Publication of KR20160059958A publication Critical patent/KR20160059958A/en
Application granted granted Critical
Publication of KR102481561B1 publication Critical patent/KR102481561B1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/12Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
    • G01D5/14Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage
    • G01D5/142Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage using Hall-effect devices
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D18/00Testing or calibrating apparatus or arrangements provided for in groups G01D1/00 - G01D15/00
    • G01D18/001Calibrating encoders
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/12Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
    • G01D5/14Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage
    • G01D5/142Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage using Hall-effect devices
    • G01D5/145Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage using Hall-effect devices influenced by the relative movement between the Hall device and magnetic fields

Abstract

(과제) 검출되는 회전 각도 위치의 오차를 저감시키는 인코더를 제공한다.
(해결수단) 인코더부의 신호 처리부는, 회전 각도 위치 산출부 (110), 보정량 테이블 (120), 및 보정부 (130) 를 구비한다. 회전 각도 위치 산출부 (110) 는, 검출 소자의 신호로부터 회전 각도 위치를 검출한다. 보정량 테이블 (120) 은, 회전 속도에 비례하여 검출 소자의 신호에 중첩되는 오차를 없애기 위한 보정량을, 특정 회전 속도에 있어서의 1 회전 중에서 분할된 분할 각도 위치에 대응하여 기억한다. 보정부 (130) 는, 사용 상태에 있어서의 회전 속도와 특정 회전 속도의 속도비를 산출하고, 보정량 테이블 (120) 에 기억된 보정량으로부터, 산출된 속도비 및 분할 각도 위치에 대응한 보정값을 산출한다.
(Problem) To provide an encoder that reduces an error of a detected rotation angle position.
(Solution) The signal processing unit of the encoder unit includes a rotation angle position calculation unit 110, a correction amount table 120, and a correction unit 130. The rotation angle position calculation unit 110 detects the rotation angle position from the signal of the detection element. The correction amount table 120 stores a correction amount for eliminating an error superimposed on the signal of the detection element in proportion to the rotational speed corresponding to the divided angle positions divided during one rotation at a specific rotational speed. The correcting unit 130 calculates the speed ratio between the rotational speed in the use state and the specific rotational speed, and from the correction amount stored in the correction amount table 120, the calculated speed ratio and the correction values corresponding to the division angle positions are calculated. yield

Figure R1020150157971
Figure R1020150157971

Description

인코더 및 회전 각도 위치 산출 방법{ENCODER AND METHOD OF CALCULATING ROTATIONAL ANGLE POSITION}Encoder and rotation angle position calculation method {ENCODER AND METHOD OF CALCULATING ROTATIONAL ANGLE POSITION}

본 발명은, 인코더 및 회전 각도 위치 산출 방법에 관한 것이다.The present invention relates to an encoder and a rotation angle position calculation method.

종래부터, 모터 등의 축의 회전 각도 위치를 회전 각도 위치 데이터로서 검출 가능한 자기식 또는 광학식 인코더 (로터리 인코더) 라고 불리는 장치가 존재한다.BACKGROUND Conventionally, a device called a magnetic or optical encoder (rotary encoder) capable of detecting the rotational angular position of a shaft of a motor or the like as rotational angular position data exists.

또한, 인코더에는, 절대값의 회전 각도 위치 데이터를 인크리멘탈 신호 등으로 변환하여, A, B 상 (相) 이라고 불리는 2 개의 전송선을 사용하여 송신 가능한 것이 존재한다.In addition, encoders exist that can convert absolute value rotational angle position data into incremental signals or the like and transmit them using two transmission lines called A and B phases.

여기서, 특허문헌 1 에는, 자계를 발생시키는 자계 발생 수단과, 검출 대상의 회전에 따라 자계 발생 수단에 대하여 상대적으로 회전하는 기대 (基臺) 와, 기대에 설치되고, 자계 발생 수단과 기대의 상대적인 회전에 의해 변화되는 자계에 따른 출력 신호를 출력하는 자기 검출 소자와, 자기 검출 소자에 접속되고, 자기 검출 소자의 감도 방향과 대략 수직인 가상 평면 상을 회전축 방향으로 신장되는 배선부를 갖고, 자기 검출 소자의 출력 신호를 전송하는 1 세트의 도선과, 자기 검출 소자의 출력 신호의 위상에 기초하여 검출 대상의 회전 각도를 검출하는 제어 수단을 구비하는 인코더의 기술이 기재되어 있다.Here, in Patent Document 1, a magnetic field generating means for generating a magnetic field, a base that rotates relative to the magnetic field generating means in accordance with the rotation of the detection object, and a base provided on the base, and a relative relationship between the magnetic field generating means and the base A magnetic detection element for outputting an output signal corresponding to a magnetic field changed by rotation, and a wiring portion connected to the magnetic detection element and extending in a rotational axis direction on a virtual plane substantially perpendicular to a sensitivity direction of the magnetic detection element, the magnetic detection element comprising: A technique of an encoder is described comprising a set of wires for transmitting an output signal of an element and a control means for detecting a rotational angle of a detection target based on the phase of an output signal of a magnetic detection element.

일본 공개특허공보 2007-218592호Japanese Unexamined Patent Publication No. 2007-218592

여기서, 마그넷을 사용한 인코더의 경우, 기판의 근방에서 마그넷이 회전함으로써, 배선 패턴에 전압이 유기 (誘起) 된다.Here, in the case of an encoder using a magnet, when the magnet rotates near the substrate, a voltage is induced in the wiring pattern.

그러나, 특허문헌 1 에 기재된 장치와 같은 구성에서는, 이 유기되는 전압 (이하, 유도 전압이라고 한다.) 이 자기 센서의 출력에 중첩되었을 때의 노이즈를 충분히 삭감할 수 없고, 회전 각도 위치 검출의 정밀도가 낮아진다는 문제가 있었다.However, in a configuration such as the device described in Patent Literature 1, the noise when this induced voltage (hereinafter referred to as induced voltage) is superimposed on the output of the magnetic sensor cannot be sufficiently reduced, and the accuracy of rotation angle position detection There was a problem that was lowered.

본 발명은, 이러한 상황을 감안하여 이루어진 것이며, 회전 속도에 의해 유전 기전력이 변화된 경우라도, 충분히 노이즈를 삭감하고, 회전 각도 위치 검출의 정밀도를 높인 인코더를 제공하는 것을 목적으로 한다.The present invention has been made in view of such a situation, and an object of the present invention is to provide an encoder that sufficiently reduces noise and increases the accuracy of detecting the rotation angle position even when the dielectric electromotive force changes with the rotation speed.

본 발명의 인코더는, 검출 소자의 신호로부터 회전 각도 위치를 검출하는 회전 각도 위치 산출 수단을 구비한 인코더로서, 회전 속도에 비례하여 상기 검출 소자의 신호에 중첩되는 오차를 없애기 위한 보정량을, 특정 회전 속도에 있어서의 1 회전 중에서 분할된 분할 각도 위치에 대응하여 기억하는 보정량 테이블과, 사용 상태에 있어서의 회전 속도와 상기 특정 회전 속도의 속도비를 산출하고, 상기 보정량 테이블에 기억된 상기 보정량으로부터, 산출된 속도비 및 상기 분할 각도 위치에 대응한 보정값을 산출하고, 상기 회전 각도 위치 산출 수단에 의해 검출된 회전 각도 위치를 상기 보정값에 의해 보정하는 보정 수단을 구비하는 것을 특징으로 한다.The encoder of the present invention is an encoder equipped with a rotational angle position calculation means for detecting a rotational angle position from a signal of a detection element, and a correction amount for eliminating an error superimposed on the signal of the detection element in proportion to a rotational speed is set to a specific rotational speed. From the correction amount table stored corresponding to the division angle positions divided during one rotation in speed, the speed ratio between the rotational speed in use and the specific rotational speed calculated, and the correction amount stored in the correction amount table, Compensation means for calculating a correction value corresponding to the calculated speed ratio and the division angle position, and correcting the rotation angle position detected by the rotation angle position calculation means by the correction value.

이와 같이 구성함으로써, 회전 속도에 비례하여 중첩되는 오차의 보정을, 사용 상태의 회전 속도에 맞춰 환산하여 보정할 수 있고, 회전 각도 위치를 양호한 정밀도로 검출할 수 있다.By configuring in this way, it is possible to correct the error overlapping in proportion to the rotational speed by converting it according to the rotational speed in use, and the rotational angle position can be detected with good precision.

본 발명의 인코더는, 상기 검출 소자가, S 극과 N 극의 자극이 한 쌍 착자된 마그넷을 갖는 가동 피검출물과, 상기 마그넷에 대향하는 감자 (感磁) 센서가 실장된 고정체를 포함하고, 회전 속도에 비례하여 상기 검출 소자의 신호에 중첩되는 오차는, 상기 마그넷이 회전함으로써 상기 고정체에 유기되는 유도 전압인 것을 특징으로 한다.In the encoder of the present invention, the detection element includes a movable object having a magnet in which a pair of magnetic poles of S and N poles are magnetized, and a stationary body on which a magnetically sensitive sensor facing the magnet is mounted. And, the error superimposed on the signal of the detection element in proportion to the rotational speed is an induced voltage induced in the stationary body by rotation of the magnet.

이와 같이 구성함으로써, 유도 전압은 회전 속도에 비례하여 발생되기 때문에, 사용 상태에 있어서의 회전 속도와 특정 회전 속도의 속도비를 계산하고, 보정량 테이블로부터 보정값을 그 속도비에 따라 환산하면, 적절한 보정을 실시할 수 있다.With this configuration, since the induced voltage is generated in proportion to the rotational speed, by calculating the speed ratio between the rotational speed in use and the specific rotational speed, and converting the correction value from the correction amount table according to the speed ratio, an appropriate correction can be made.

본 발명의 인코더는, 상기 보정 수단은, 상기 사용 상태에 있어서의 회전 속도와 상기 특정 회전 속도의 속도비의 산출시, 상기 특정 회전 속도는, 하기의 식 (1) 의 관계이고,In the encoder of the present invention, the correction means, when calculating the speed ratio of the rotation speed in the use state and the specific rotation speed, the specific rotation speed is the relationship of the following formula (1),

ω = D/T/R × 60 …… 식 (1)ω = D/T/R × 60 … … Equation (1)

여기서, ω 는 특정 회전 속도 (rpm), R 은 각도 분해능, T 는 샘플링 주기 (초), D 는 특정한 각도 변위값이고,where ω is a specific rotational speed (rpm), R is an angular resolution, T is a sampling period (seconds), D is a specific angular displacement value,

상기 사용 상태에 있어서의 회전 속도를, 하기의 식 (2) 로 산출하고,The rotation speed in the use state is calculated by the following formula (2),

ω' = (D'/D) × ω …… 식 (2)ω' = (D'/D) × ω... … Equation (2)

여기서, ω' 는 사용 상태에 있어서의 회전 속도 (rpm), D' 는, 현재의 샘플링 시간에 있어서의 각도 변위값과 1 개 전의 샘플링 시간에 있어서의 각도 변위값의 차가 되는 분할 각도 차분값인 것을 특징으로 한다.Here, ω' is the rotational speed (rpm) in the use state, and D' is a division angular difference value that is the difference between the angular displacement value at the current sampling time and the angular displacement value at the previous sampling time. characterized by

이와 같이 구성함으로써, 1 개의 샘플링 주기 사이에서 분할 각도 차분값을 산출하는 것만으로 회전 속도가 구해지기 때문에, 사용 회전 속도에 있어서의 보정량을 간단히 산출할 수 있다.By configuring in this way, since the rotational speed is obtained only by calculating the division angle difference value between one sampling period, the amount of correction in the rotational speed to be used can be easily calculated.

본 발명의 인코더는, 상기 보정 수단이, 사용 상태에 있어서의 회전수의 전체 범위에서, 상기 회전 각도 위치를 보정하는 것을 특징으로 한다.The encoder of the present invention is characterized in that the correcting unit corrects the rotational angle position in the entire range of the rotational speed in the use condition.

이와 같이 구성함으로써, 회전 속도에 의해 보정의 실행 유무를 나눌 필요가 없어지기 때문에, 용이하게 보정을 할 수 있다.With this configuration, since it is not necessary to divide the presence or absence of correction by the rotational speed, the correction can be easily performed.

본 발명의 인코더는, 상기 검출 소자에 있어서, 상기 감자 센서가, 상기 가동 피검출물의 변위에 대응한 A 상 센서 및 B 상 센서를 포함하고, 상기 A 상 센서로부터는 정현파상의 A 상 신호가 출력되고, 상기 B 상 센서로부터는 정현파상의 B 상 신호가 출력되고, 상기 A 상 신호와 상기 B 상 신호의 위상차가 대략 π/2 이고, 상기 회전 각도 위치 산출 수단이, 상기 A 상 신호 및 상기 B 상 신호로부터 XY 평면 상의 리사주 파형을 산출하여 해석함으로써 상기 가동 피검출물의 각도 위치를 검출하고, 검출된 각도 위치에 의해 상기 회전 각도 위치를 산출하고, 상기 보정량 테이블이, 상기 A 상 신호 및 상기 B 상 신호의 각각에 대해 보정량을 기억하고, 상기 보정 수단이, 상기 보정량 테이블의 상기 A 상 신호 및 상기 B 상 신호의 각각의 보정량으로부터, 상기 A 상 신호 및 상기 B 상 신호의 각각에 대해 상기 보정값을 산출하여 보정하는 것을 특징으로 한다.In the encoder of the present invention, in the detection element, the potato sensor includes an A-phase sensor and a B-phase sensor corresponding to the displacement of the movable object to be detected, and a sinusoidal A-phase signal is output from the A-phase sensor. A phase B signal of a sine wave form is output from the B phase sensor, a phase difference between the A phase signal and the B phase signal is approximately π/2, and the rotation angle position calculation unit calculates the A phase signal and the B phase signal. By calculating and analyzing a Lissajous waveform on the XY plane from the phase signal, the angular position of the movable object to be detected is detected, the rotational angular position is calculated from the detected angular position, and the correction amount table is calculated based on the A phase signal and the above A correction amount is stored for each of the B-phase signals, and the correction means determines the correction amount for each of the A-phase signal and B-phase signal from the respective correction amounts of the A-phase signal and the B-phase signal in the correction amount table. It is characterized in that the correction value is calculated and corrected.

이와 같이 구성하면, A 상 신호와 B 상 신호의 양방에 보정 테이블이 있기 때문에, 회전 속도에 비례하여 중첩되는 오차가, A 상 신호와 B 상 신호에서 상이해도, 각각 최적의 보정값을 얻을 수 있고, 정밀도가 양호한 회전 각도 위치를 검출할 수 있다.With this configuration, since there are correction tables for both the A-phase signal and the B-phase signal, even if the overlapping errors in proportion to the rotational speed differ between the A-phase signal and the B-phase signal, each optimum correction value can be obtained. and can detect the rotation angle position with good accuracy.

본 발명의 인코더는, 상기 고정체가, 일방면측에 상기 감자 센서가 실장되고, 타방면측에 반도체 장치가 실장된 양면 기판을 갖고, 상기 반도체 장치는, 감자 센서로부터의 출력 신호를 증폭하는 증폭기부를 구비하고, 상기 감자 센서와 상기 반도체 장치는, 적어도 일부끼리가 상기 양면 기판의 두께 방향에 있어서 겹치는 위치에 배치되고, 상기 감자 센서와 상기 반도체 장치는, 상기 양면 기판에 있어서 상기 감자 센서 및 상기 반도체 장치의 적어도 일방에 상기 양면 기판의 두께 방향에서 겹치는 위치에 형성된 복수의 스루홀을 통해 전기적으로 접속되어 있는 것을 특징으로 한다.The encoder of the present invention, the fixed body has a double-sided substrate on which the magnetic sensor is mounted on one side and the semiconductor device is mounted on the other side, and the semiconductor device is an amplifier for amplifying the output signal from the magnetic sensor. A portion is provided, and the magnetic sensor and the semiconductor device are disposed at a position where at least a part overlaps with each other in the thickness direction of the double-sided board, and the magnetic sensor and the semiconductor device are disposed in the double-sided board. It is characterized by being electrically connected to at least one side of the semiconductor device through a plurality of through holes formed at overlapping positions in the thickness direction of the double-sided substrate.

이와 같이 구성하면, 스루홀은, 감자 센서 및 반도체 장치의 적어도 일방과 겹치는 위치에 형성되어 있기 때문에, 감자 센서로부터의 출력의 전송 경로가 짧아지고, 감자 센서로부터의 출력의 전송 경로에서 발생하는 유도 전압에 의한 노이즈가 작아지고, 유도 전압에 의한 노이즈의 영향을 완화시킬 수 있다.If configured in this way, since the through hole is formed at a position overlapping at least one of the magnetic sensor and the semiconductor device, the transmission path of the output from the magnetic sensor is shortened, and the induction generated in the transmission path of the output from the sensor is inductive. Noise due to voltage is reduced, and the influence of noise caused by induced voltage can be alleviated.

본 발명의 인코더는, 상기 감자 센서에 있어서, 감자막이 형성된 감자 센서측 칩과 제 1 출력 단자 사이의 감자 센서측 제 1 배선 및 상기 감자 센서측 칩과 제 2 출력 단자 사이의 감자 센서측 제 2 배선이 상기 마그넷의 자속과 쇄교함으로써 발생하는 제 1 유도 전압, 복수의 스루홀 중, 제 1 출력 단자에 대응하는 제 1 스루홀 및 제 2 출력 단자에 대응하는 제 2 스루홀이 상기 마그넷의 자속과 쇄교함으로써 발생하는 제 2 유도 전압, 및 상기 반도체 장치에 있어서, 상기 증폭기부가 형성된 증폭기측 칩과 제 1 출력 단자에 전기적으로 접속하는 제 1 입력 단자 사이의 증폭기측 제 1 배선, 및 상기 증폭기측 칩과 제 2 출력 단자에 전기적으로 접속하는 제 2 입력 단자 사이의 증폭기측 제 2 배선이 상기 마그넷의 자속과 쇄교함으로써 발생하는 제 3 유도 전압은, 어느 1 개의 유도 전압과 다른 2 개의 유도 전압이 없어지도록 형성되어 있는 것을 특징으로 한다.The encoder of the present invention, in the potato sensor, the potato sensor-side first wiring between the potato sensor-side chip and the first output terminal on which the potato film is formed and the potato sensor-side second between the potato sensor-side chip and the second output terminal A first induced voltage generated by linkage between wires and the magnetic flux of the magnet, among a plurality of through holes, a first through hole corresponding to a first output terminal and a second through hole corresponding to a second output terminal are magnetic flux of the magnet a second induced voltage generated by linking with and, in the semiconductor device, an amplifier side first wiring between an amplifier side chip on which the amplifier unit is formed and a first input terminal electrically connected to the first output terminal, and the amplifier side The third induced voltage generated when the second wiring on the amplifier side between the chip and the second input terminal electrically connected to the second output terminal is linked with the magnetic flux of the magnet is the induced voltage of one induced voltage and the other two induced voltages. It is characterized in that it is formed so that it disappears.

이와 같이 구성함으로써, 유도 전압끼리를 서로 상쇄시킬 수 있어, 유도 전압에 의한 노이즈의 영향을 완화시킬 수 있다.By configuring in this way, the induced voltages can be offset with each other, and the influence of noise caused by the induced voltage can be alleviated.

본 발명의 인코더는, 상기 보정 수단이, 샘플링 주기가 변경된 경우, 상기 특정 회전 속도의 샘플링 주기와 변경된 샘플링 주기에 대응하는 주기 조정값을 산출하고, 그 주기 조정값을 적용하여 보정값을 산출하는 것을 특징으로 한다.In the encoder of the present invention, the correction means, when the sampling period is changed, calculates a period adjustment value corresponding to the sampling period of the specific rotational speed and the changed sampling period, and calculates a correction value by applying the period adjustment value. characterized by

이와 같이 구성함으로써, 샘플링 주기를 변경할 필요가 있어도, 보정 테이블을 사용하여, 회전 각도 위치를 보정할 수 있다.With this configuration, even if it is necessary to change the sampling cycle, the rotation angle position can be corrected using the correction table.

본 발명의 회전 각도 위치 산출 방법은, 검출 소자의 신호로부터 회전 각도 위치를 검출하는 인코더에 의해 실행되는 회전 각도 위치 산출 방법으로서, 회전 속도에 비례하여 상기 검출 소자의 신호에 중첩되는 오차를 없애는 보정량을, 특정 회전 속도와, 1 회전 중에서 분할된 분할 각도 위치에 대응하여 보정량 테이블에 기억해 두고, 사용 상태에 있어서의 회전 속도와 상기 특정 회전 속도의 속도비를 산출하고, 상기 보정량 테이블에 기억된 상기 보정량으로부터, 산출된 속도비 및 상기 분할 각도 위치에 대응한 보정값을 산출하고, 그 보정값에 의해 상기 검출 소자의 신호를 보정하고, 보정된 상기 검출 소자의 신호에 의해 상기 회전 각도 위치를 산출하는 것을 특징으로 한다.A rotation angle position calculation method of the present invention is a rotation angle position calculation method executed by an encoder that detects a rotation angle position from a signal of a detection element, and a correction amount that eliminates an error superimposed on the signal of the detection element in proportion to a rotation speed. is stored in a correction amount table corresponding to a specific rotational speed and division angle positions divided in one rotation, a speed ratio between the rotational speed in use and the specific rotational speed is calculated, and the correction amount stored in the correction amount table is calculated. From the correction amount, a correction value corresponding to the calculated speed ratio and the division angle position is calculated, the signal of the detection element is corrected by the correction value, and the rotation angle position is calculated by the corrected signal of the detection element. It is characterized by doing.

이와 같이 구성함으로써, 회전 속도에 비례하여 중첩되는 오차의 보정을, 사용 상태의 회전 속도에 맞춰 환산하여 보정할 수 있고, 회전 각도 위치를 양호한 정밀도로 검출할 수 있다.By configuring in this way, it is possible to correct the error overlapping in proportion to the rotational speed by converting it according to the rotational speed in use, and the rotational angle position can be detected with good accuracy.

본 발명의 회전 각도 위치 산출 방법에 있어서, 상기 특정 회전 속도는, 하기 식 (1) 의 관계이고,In the rotation angle position calculation method of the present invention, the specific rotation speed is a relationship of the following formula (1),

ω = D/T/R × 60 …… 식 (1)ω = D/T/R × 60 … … Equation (1)

여기서, ω 는 특정 회전 속도 (rpm), R 은 각도 분해능, T 는 샘플링 주기 (초), D 는 특정한 각도 변위값이고,where ω is a specific rotational speed (rpm), R is an angular resolution, T is a sampling period (seconds), D is a specific angular displacement value,

상기 사용 상태에 있어서의 회전 속도는, 하기 식 (2) 로 나타내고,The rotational speed in the above use state is represented by the following formula (2),

ω' = (D'/D) × ω …… 식 (2)ω' = (D'/D) × ω... … Equation (2)

여기서, ω' 는 사용 상태에 있어서의 회전 속도 (rpm), D' 는, 현재의 샘플링 시간에 있어서의 각도 변위값과 1 개 전의 샘플링 시간에 있어서의 각도 변위값의 차가 되는 분할 각도 차분값이고,Here, ω' is the rotational speed (rpm) in the use state, D' is a division angular difference value that is the difference between the angular displacement value at the current sampling time and the angular displacement value at the previous sampling time, ,

상기 사용 상태에 있어서의 회전 속도와 상기 특정 회전 속도의 속도비를, (D'/D) 의 값으로서 산출하는 것을 특징으로 한다.It is characterized in that the speed ratio between the rotational speed in the use state and the specific rotational speed is calculated as a value of (D'/D).

이와 같이 구성함으로써, 1 개의 샘플링 주기 사이에서 분할 각도 차분값을 산출하는 것만으로 회전 속도가 구해지기 때문에, 사용 회전 속도에 있어서의 보정량을 간단히 산출할 수 있다.By configuring in this way, since the rotational speed is obtained only by calculating the division angle difference value between one sampling period, the amount of correction in the rotational speed to be used can be easily calculated.

본 발명의 회전 각도 위치 산출 방법에 있어서, 상기 검출 소자는, S 극과 N 극의 자극이 한 쌍 착자된 마그넷을 갖는 가동 피검출물과, 상기 마그넷에 대향하는 감자 센서가 실장된 고정체를 포함하고, 상기 감자 센서가, 상기 가동 피검출물의 변위에 대응한 A 상 센서 및 B 상 센서를 포함하고, 상기 A 상 센서로부터는 정현파상의 A 상 신호가 출력되고, 상기 B 상 센서로부터는 정현파상의 B 상 신호가 출력되고, 상기 A 상 신호와 상기 B 상 신호의 위상차가 대략 π/2 이고, 상기 보정량 테이블은, 상기 A 상 신호 및 상기 B 상 신호의 각각에 대해 보정량을 기억하고 있고, 상기 A 상 신호 및 상기 B 상 신호로부터 XY 평면 상의 리사주 파형을 산출하여 해석함으로써 상기 가동 피검출물의 각도 위치를 검출하고, 검출된 각도 위치에 의해 상기 회전 각도 위치를 산출하고, 상기 보정량 테이블의 상기 A 상 신호 및 상기 B 상 신호의 각각의 보정량으로부터, 상기 A 상 신호 및 상기 B 상 신호의 각각에 대해 상기 보정값을 산출하여 보정하는 것을 특징으로 한다.In the rotation angle position calculation method of the present invention, the detection element includes a moving object having a magnet in which a pair of magnetic poles of the S pole and the N pole are magnetized, and a fixed body in which a magnetic sensor facing the magnet is mounted. Including, wherein the magnetic sensor comprises an A-phase sensor and a B-phase sensor corresponding to the displacement of the movable object to be detected, and a sinusoidal phase A signal is output from the A-phase sensor, and a sinusoidal wave is output from the B-phase sensor. A phase B signal is output, a phase difference between the phase A signal and the phase B signal is approximately π/2, and the correction amount table stores correction amounts for each of the phase A signal and the phase B signal; The angular position of the movable object to be detected is detected by calculating and analyzing a Lissajous waveform on the XY plane from the A-phase signal and the B-phase signal, the rotation angular position is calculated by the detected angular position, and the correction amount table It is characterized in that the correction value is calculated and corrected for each of the phase A signal and the phase B signal from the respective correction amounts of the phase A signal and the phase B signal.

이와 같이 구성하면, A 상 신호와 B 상 신호의 양방에 보정 테이블이 있기 때문에, 회전 속도에 비례하여 중첩되는 오차가, A 상 신호와 B 상 신호에서 상이해도, 각각 최적의 보정값을 얻을 수 있고, 정밀도가 양호한 회전 각도 위치를 검출할 수 있다.With this configuration, since there are correction tables for both the A-phase signal and the B-phase signal, even if the overlapping errors in proportion to the rotational speed differ between the A-phase signal and the B-phase signal, each optimum correction value can be obtained. and can detect the rotation angle position with good accuracy.

본 발명의 회전 각도 위치 산출 방법에 있어서, 상기 샘플링 주기가 변경된 경우, 상기 특정 회전 속도의 샘플링 주기와 변경된 샘플링 주기에 대응하는 주기 조정값을 산출하고, 그 주기 조정값을 적용하여 보정값을 산출하는 것을 특징으로 한다.In the rotation angle position calculation method of the present invention, when the sampling period is changed, a period adjustment value corresponding to the sampling period of the specific rotation speed and the changed sampling period is calculated, and a correction value is calculated by applying the period adjustment value. It is characterized by doing.

이와 같이 구성함으로써, 샘플링 주기를 변경할 필요가 있어도, 보정 테이블을 사용하여, 회전 각도 위치를 보정할 수 있다.With this configuration, even if it is necessary to change the sampling cycle, the rotation angle position can be corrected using the correction table.

본 발명에 의하면, 회전 속도에 비례하여 중첩되는 유도 전압에 의한 오차를 보정하고, 회전 각도 위치의 산출 정밀도를 높인 인코더를 제공할 수 있다.According to the present invention, it is possible to provide an encoder that corrects an error due to an induced voltage overlapping in proportion to a rotational speed and increases the accuracy of calculating rotation angle position.

도 1 은 본 발명의 실시형태에 관련된 제어 시스템의 시스템 구성도이다.
도 2 는 본 발명의 실시형태에 관련된 인코더의 구성을 나타내는 도면이다.
도 3 은 본 발명의 실시형태에 관련된 인코더의 전기적 구성을 나타내는 도면이다.
도 4a 는 본 발명의 실시형태에 관련된 인코더의 검출 원리를 나타내는 도면이다.
도 4b 는 본 발명의 실시형태에 관련된 인코더의 검출 원리를 나타내는 도면이다.
도 4c 는 본 발명의 실시형태에 관련된 인코더의 검출 원리를 나타내는 도면이다.
도 4d 는 본 발명의 실시형태에 관련된 인코더의 검출 원리를 나타내는 도면이다.
도 5a 는 본 발명의 실시형태에 관련된 인코더의 감자 센서로부터 증폭기부로의 신호 경로의 도면이다.
도 5b 는 본 발명의 실시형태에 관련된 인코더의 감자 센서로부터 증폭기부로의 신호 경로의 도면이다.
도 6 은 본 발명의 실시형태에 관련된 인코더의 유도 전압을 없애는 구성을 나타내는 도면이다.
도 7a 는 본 발명의 실시형태에 관련된 신호 처리부의 제어 구성 및 보정량 테이블의 구성을 나타내는 블록도이다.
도 7b 는 본 발명의 실시형태에 관련된 신호 처리부의 제어 구성 및 보정량 테이블의 구성을 나타내는 블록도이다.
도 8 은 본 발명의 실시형태에 관련된 회전 각도 위치 검출 처리의 플로차트이다.
도 9a 는 본 발명의 비교예의 결과를 나타내는 그래프이다.
도 9b 는 본 발명의 실시예의 결과를 나타내는 그래프이다.
1 is a system configuration diagram of a control system related to an embodiment of the present invention.
Fig. 2 is a diagram showing the configuration of an encoder related to an embodiment of the present invention.
Fig. 3 is a diagram showing the electrical configuration of an encoder related to an embodiment of the present invention.
4A is a diagram showing a detection principle of an encoder related to an embodiment of the present invention.
Fig. 4B is a diagram showing a detection principle of an encoder related to an embodiment of the present invention.
4C is a diagram showing the detection principle of an encoder related to an embodiment of the present invention.
Fig. 4d is a diagram showing a detection principle of an encoder related to an embodiment of the present invention.
5A is a diagram of a signal path from a magnetic sensor of an encoder to an amplifier unit according to an embodiment of the present invention.
5B is a diagram of a signal path from a potato sensor to an amplifier section of an encoder related to an embodiment of the present invention.
Fig. 6 is a diagram showing a configuration for eliminating the induced voltage of the encoder according to the embodiment of the present invention.
Fig. 7A is a block diagram showing the control structure of the signal processing unit and the structure of the correction amount table according to the embodiment of the present invention.
Fig. 7B is a block diagram showing the control structure of the signal processing unit and the structure of the correction amount table according to the embodiment of the present invention.
8 is a flowchart of rotational angle position detection processing according to an embodiment of the present invention.
9A is a graph showing the results of a comparative example of the present invention.
9B is a graph showing the results of an embodiment of the present invention.

<실시형태><Embodiment>

도 1 을 참조하여, 본 발명의 실시형태에 관련된 제어 시스템 (X) 의 구성에 대해서 설명한다. 제어 시스템 (X) 은, 인코더부 (10), 모터 (11), 제어 장치 (12), 및 상위 기기 (13) 를 포함하여 구성된다.Referring to Fig. 1, the configuration of a control system X according to an embodiment of the present invention will be described. The control system X includes an encoder unit 10, a motor 11, a control device 12, and a host device 13.

이 중, 인코더부 (10) 와 제어 장치 (12) 는 본 실시형태의 인코더 장치 (1) 로서 기능한다.Of these, the encoder unit 10 and the control device 12 function as the encoder device 1 of the present embodiment.

인코더부 (10) 는, 회전 각도 위치를 검출 가능한 인코더이다.The encoder unit 10 is an encoder capable of detecting a rotational angular position.

인코더부 (10) 는, 모터 (11) 와 동축의 샤프트 등을 포함하는 회전체 (2) 의 각도를 회전 각도 위치 데이터로서 항상 검출하고 있다. 이 때문에, 인코더부 (10) 는, 모터 (11) 의 프레임 등에 대하여 고정된 고정체 (3) 를 구비하고 있다.The encoder unit 10 always detects the angle of the rotating body 2 including the shaft and the like coaxial with the motor 11 as rotation angle position data. For this reason, the encoder unit 10 is provided with a fixed body 3 fixed to the frame of the motor 11 or the like.

이 회전 각도 위치 데이터는, 회전체 (2) 의 회전한 횟수를 나타내는 다회전 데이터와, 회전체 (2) 의 각도를 나타내는 1 회전내 데이터를 포함하고 있다. 또한, 회전 각도 위치 데이터는, 다회전 데이터와 1 회전내 데이터가 연속된 비트열이 되는 데이터이다. 이 중, 다회전 데이터는, 수 비트 ∼ 수십 비트, 1 회전내 데이터는 수 비트 ∼ 수백 비트의 해상도이다.This rotation angle position data includes multi-rotation data indicating the number of rotations of the rotating body 2 and data within one rotation indicating the angle of the rotating body 2 . Further, the rotation angle position data is data in which multi-rotation data and data within one rotation are consecutive bit strings. Among these, multi-turn data has a resolution of several bits to several tens of bits, and data within one rotation has a resolution of several bits to hundreds of bits.

또한, 인코더부 (10) 는, 제어 장치 (12) 로부터의 지시에 따라, 회전 각도 위치 데이터를 제어 장치 (12) 로 출력한다.Further, the encoder unit 10 outputs rotation angle position data to the control device 12 according to instructions from the control device 12 .

인코더부 (10) 의 상세한 구성에 대해서는 후술한다.The detailed configuration of the encoder unit 10 will be described later.

제어 장치 (12) 는, 상위 기기 (13) 로부터의 제어 신호에 의해 모터 (11) 의 구동을 제어한다. 또한, 제어 장치 (12) 는, 예를 들어, 상위 기기 (13) 로부터의 제어 신호에 따라, 인코더부 (10) 로부터 회전 각도 위치 데이터를 취득하고, 상위 기기 (13) 에 전송한다.The control device 12 controls driving of the motor 11 according to a control signal from the host device 13 . In addition, the control device 12 obtains rotation angle position data from the encoder unit 10 according to a control signal from the host device 13, for example, and transmits it to the host device 13.

제어 장치 (12) 는, 예를 들어 마이크로 컨트롤러, DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit) 등을 포함하고 있다.The control device 12 includes, for example, a microcontroller, a digital signal processor (DSP), an application specific integrated circuit (ASIC), and the like.

모터 (11) 는, 제어 장치 (12) 로부터의 제어 신호에 의해, 회전 중심 축선 (L) 둘레에, 회전체 (2) 를 회전시킨다.The motor 11 rotates the rotating body 2 around the central axis of rotation L in response to a control signal from the control device 12 .

모터 (11) 는, 로터 (rotor), 베어링 (bearing), 스테이터 (stator), 브래킷 (bracket) 등을 구비하는 일반적인 서보 모터 등이다.The motor 11 is a general servo motor or the like provided with a rotor, a bearing, a stator, a bracket or the like.

상위 기기 (13) 는, 모터 (11) 를 제어하는 기기이다. 상위 기기 (13) 는, 검출된 회전 각도 위치 데이터를 취득하여, 취득한 회전 각도 위치 데이터에 대응한 제어 신호를 제어 장치 (12) 에 송신한다. 또한, 상위 기기 (13) 는, 예를 들어, 마이크로 컨트롤러를 구비한 각종 기기의 로직 보드 등이다.The host device 13 is a device that controls the motor 11 . The host device 13 acquires the detected rotation angle position data and transmits a control signal corresponding to the acquired rotation angle position data to the control device 12 . In addition, the host device 13 is, for example, a logic board or the like of various devices equipped with a microcontroller.

또한, 상위 기기 (13) 는, 예를 들어, 인크리멘탈 신호를 수신하는 전송선은, 위상이 각각 90 도 어긋난 신호의 HL (H 는 하이 레벨 신호, L 은 로우 레벨 신호를 나타낸다) 의 에지에서 송신하는 A 상, B 상의 2 개의 전송선 등으로 구성된다.In addition, the upper-level device 13, for example, transmits the incremental signal at the edge of the HL (H indicates a high level signal and L indicates a low level signal) of signals out of phase by 90 degrees, respectively. It is composed of two transmission lines on phase A and phase B to transmit.

[인코더부 (10) 의 구성][Configuration of Encoder Unit 10]

다음으로, 도 2 ∼ 도 6 에 의해, 본 발명의 실시형태에 관련된 인코더부 (10) (로터리 인코더) 의 전체의 배치 구성에 대해서 설명한다.Next, with reference to Figs. 2 to 6, the overall arrangement of the encoder section 10 (rotary encoder) according to the embodiment of the present invention will be described.

도 2 에 나타내는 인코더부 (10) 는, 고정체 (3) (도 1) 에 대한 회전체 (2) 의 축선 둘레 (회전 중심 축선 (L) 둘레) 의 회전을 자기적으로 검출하는 자기 센서 장치이다. 도 3 은, 본 발명의 실시형태에 관련된 자기 센서 장치의 전기적 구성을 나타내는 설명도이다.The encoder unit 10 shown in FIG. 2 is a magnetic sensor device that magnetically detects the rotation around the axis (around the central axis of rotation L) of the rotating body 2 with respect to the fixed body 3 (FIG. 1). to be. 3 is an explanatory diagram showing the electrical configuration of a magnetic sensor device according to an embodiment of the present invention.

회전체 (2) 는, 모터 (11) 의 회전 출력축 등에 연결된 상태에서 사용된다. 회전체 (2) 측에는, N 극과 S 극이 둘레 방향에 있어서 1 극씩 착자된 착자면 (21) 을 회전 중심 축선 (L) 방향의 일방측을 향하게 하는 마그넷 (20) (가동 피검출물) 이 유지되어 있다. 마그넷 (20) 은 회전체 (2) 와 일체로 회전 중심 축선 (L) 둘레에서 회전한다.The rotary body 2 is used in a state connected to the rotary output shaft of the motor 11 or the like. On the side of the rotating body 2, a magnet 20 (moving object to be detected) directs the magnetizing surface 21 in which the N pole and the S pole are magnetized one by one in the circumferential direction toward one side in the direction of the rotation center axis L. this is maintained The magnet 20 rotates around the rotation center axis L integrally with the rotating body 2.

도 2 및 도 3 에 나타내는 바와 같이, 고정체 (3) 측에는, 감자 센서 (4) 와, 반도체 장치 (9) (증폭기 IC) 가 형성되어 있다.As shown in FIG. 2 and FIG. 3, the magnetically sensitive sensor 4 and the semiconductor device 9 (amplifier IC) are provided in the stationary body 3 side.

감자 센서 (4) 는, 마그넷 (20) 의 착자면 (21) 에 대하여 회전 중심 축선 (L) 방향의 일방측에서 대향하여 배치되고, 마그넷 (20) 의 자속에 의한 자기 저항을 측정한다.The magnetic sensor 4 is arranged to oppose the magnetizing surface 21 of the magnet 20 on one side in the direction of the rotation center axis L, and measures the magnetic resistance by the magnetic flux of the magnet 20.

반도체 장치 (9) 는, 칩 (97) (증폭기측 칩, 반도체 장치의 칩), 및 신호 처리부 (100) 를 구비하고 있다.The semiconductor device 9 includes a chip 97 (amplifier side chip, semiconductor device chip) and a signal processing unit 100 .

칩 (97) 은, 감자 센서 (4) 로부터의 출력을 증폭하는 증폭기부 (90) (증폭기부 (90(+A)), 증폭기부 (90(-A)), 증폭기부 (90(+B)), 증폭기부 (90(-B))) 를 구비하고 있는 IC 등이다. 증폭기부 (90(+A)) 및 증폭기부 (90(-A)) 로부터 출력되는 신호가, A 상 신호가 된다. 또한, 증폭기부 (90(+B)) 및 증폭기부 (90(-B)) 로부터 출력되는 신호가, B 상 신호가 된다.The chip 97 includes an amplifier unit 90 (amplifier unit 90(+A)), amplifier unit 90(-A), and amplifier unit 90(+B) that amplify the output from the potato sensor 4 )), an IC having an amplifier section 90(-B)), and the like. Signals output from the amplifier section 90(+A) and the amplifier section 90(-A) become A-phase signals. Further, signals output from the amplifier section 90(+B) and the amplifier section 90(-B) become B-phase signals.

신호 처리부 (100) 는, 증폭기부 (90) 로부터의 출력을 A/D (Analog to Digital) 변환한다. 또한, 신호 처리부 (100) 는, A/D 변환 후의 신호에 기초하여, 회전체 (2) 의 회전 각도 위치나 회전 속도 등을 검출한다. 구체적으로는, 신호 처리부 (100) 는, 감자 센서 (4) 로부터 출력되는 정현파상의 A 상 신호 및 B 상 신호, 제 1 홀 소자 (61), 및 제 2 홀 소자 (62) 로부터의 출력의 신호에 기초하여, 보간 처리나 각종 연산 처리 등의 신호 처리를 실시한다. 이것에 의해 신호 처리부 (100) 는, 고정체 (3) 에 대한 회전체 (2) 의 회전 각도 위치를 산출한다.The signal processing unit 100 A/D (Analog to Digital) converts the output from the amplifier unit 90. Further, the signal processing unit 100 detects the rotational angular position, rotational speed, and the like of the rotating body 2 based on the signal after A/D conversion. Specifically, the signal processing unit 100 is a sinusoidal A-phase signal and a B-phase signal output from the potato sensor 4, the signal of the output from the 1st Hall element 61, and the 2nd Hall element 62 Based on this, signal processing such as interpolation processing and various arithmetic processing is performed. With this, the signal processing unit 100 calculates the rotation angle position of the rotating body 2 with respect to the fixed body 3 .

신호 처리부 (100) 의 상세한 구성에 대해서는 후술한다.A detailed configuration of the signal processing unit 100 will be described later.

또, 신호 처리부 (100) 는, 반도체 장치 (9) 에 내장되어 있지 않아도 된다.In addition, the signal processing unit 100 does not have to be incorporated in the semiconductor device 9 .

또한, 인코더부 (10) 는, 마그넷 (20) 에 대향하는 위치에, 제 1 홀 소자 (61) 와, 제 2 홀 소자 (62) 를 구비하고 있다. 제 1 홀 소자 (61) 와, 제 2 홀 소자 (62) 는, 둘레 방향에 있어서 기계각으로 90°(π/2) 어긋난 지점에 위치한다. 또한, 반도체 장치 (9) 의 내부 또는 반도체 장치 (9) 의 외부에는, 제 1 홀 소자 (61) 에 대한 증폭기부 (95) 나, 제 2 홀 소자 (62) 에 대한 증폭기부 (96) 가 형성되어 있다.Further, the encoder unit 10 is provided with a first Hall element 61 and a second Hall element 62 at positions facing the magnet 20 . The first Hall element 61 and the second Hall element 62 are located at positions deviated by 90° (π/2) from the mechanical angle in the circumferential direction. Further, inside the semiconductor device 9 or outside the semiconductor device 9, an amplifier section 95 for the first Hall element 61 and an amplifier section 96 for the second Hall element 62 are provided. is formed

또한, 마그넷 (20) 과, 감자 센서 (4), 제 1 홀 소자 (61), 및 제 2 홀 소자 (62) 를 포함하는 고정체 (3) 는, 회전 각도 위치를 검출하기 위한 검출 소자를 구성한다.In addition, the stationary body 3 including the magnet 20, the magnetic sensor 4, the first Hall element 61, and the second Hall element 62 includes a detection element for detecting the rotation angle position. make up

감자 센서 (4) 는, 자기 저항 소자의 센서 IC 인 칩 (40) (감자 센서측 칩) 으로서 구성되어 있다.The potato sensor 4 is configured as a chip 40 (a potato sensor side chip) that is a sensor IC of a magnetoresistive element.

칩 (40) 은, 내부에, 소자 기판 (45) 과, 마그넷 (20) 의 위상에 대하여 서로 90°(π/2) 의 위상차를 갖는 2 상의 감자막 (A 상 (SIN) 의 감자막, 및 B 상 (COS) 의 감자막) 을 구비하고 있다. 요컨대, 감자 센서 (4) 는, 가동 피검출물의 변위에 대응한 A 상 센서 (A 상의 감자막) 및 B 상 센서 (B 상의 감자막) 를 포함한다.Inside the chip 40, a two-phase magnetic film having a phase difference of 90° (π/2) with respect to the phases of the element substrate 45 and the magnet 20 (A-phase (SIN) magnetic film, and a B-phase (COS) magnetic film). In short, the magnetically sensitive sensor 4 includes an A-phase sensor (the magnetically sensitive film on A) and a B-phase sensor (the magnetically sensitive film on B) corresponding to the displacement of the movable to-be-detected object.

A 상의 감자막은, 180°(π) 의 위상차를 가지고 회전체 (2) 의 이동 검출을 실시하는 +A 상 (SIN+) 의 감자막 (43), 및 -A 상 (SIN-) 의 감자막 (41) 을 구비하고 있다. 또한, B 상의 감자막은, 180°(π) 의 위상차를 가지고 회전체 (2) 의 이동 검출을 실시하는 +B 상 (COS+) 의 감자막 (44), 및 -B 상 (COS-) 의 감자막 (42) 을 구비하고 있다. 요컨대, A 상 센서로부터는 정현파상의 A 상 신호 (sin) 가 출력되고, B 상 센서로부터는 정현파상의 B 상 신호 (cos) 가 출력된다. 또한, A 상 신호와 B 상 신호의 위상차는, 대략 π/2 가 된다.The magnetically sensitive film of the A phase is a +A phase (SIN+) magnetic film 43 and a -A phase (SIN-) magnetic film ( 41) is provided. In addition, the B-phase magnetic film has a phase difference of 180° (π), and the +B phase (COS+) magnetic film 44 and -B phase (COS-) sensing film 44 detect the movement of the rotating body 2. A subtitle 42 is provided. In short, a sinusoidal A-phase signal sin is output from the A-phase sensor, and a sinusoidal B-phase signal cos is output from the B-phase sensor. Further, the phase difference between the A-phase signal and the B-phase signal is approximately π/2.

+A 상의 감자막 (43) 및 -A 상의 감자막 (41) 은, 도 4a 에 나타내는 브리지 회로를 구성하고 있다. 이들은, 일방단이 전원 단자 (48(Vcc)) 에 접속되고, 타방단이 그라운드 단자 (48(GND)) 에 접속되어 있다. +A 상의 감자막 (43) 의 중점 위치에는, +A 상이 출력되는 출력 단자 (48(+A)) 가 형성되어 있다. -A 상의 감자막 (41) 의 중점 위치에는, -A 상이 출력되는 출력 단자 (48(-A)) 가 형성되어 있다.The +A phase magnetic film 43 and the -A phase magnetic film 41 constitute a bridge circuit shown in Fig. 4A. One end of these is connected to the power supply terminal 48 (Vcc), and the other end is connected to the ground terminal 48 (GND). An output terminal 48 (+A) from which the +A phase is output is formed at a midpoint position of the magnetic film 43 of the +A phase. At the midpoint position of the magnetic film 41 of the -A phase, an output terminal 48(-A) from which the -A phase is output is formed.

또한, +B 상의 감자막 (44) 및 -B 상의 감자막 (42) 도, +A 상의 감자막 (44) 및 -A 상의 감자막 (41) 과 동일하게, 도 4b 에 나타내는 브리지 회로를 구성하고 있다. 이들은, 일방단이 전원 단자 (48(Vcc)) 에 접속되고, 타방단이 그라운드 단자 (48(GND)) 에 접속되어 있다. +B 상의 감자막 (44) 의 중점 위치에는, +B 상이 출력되는 출력 단자 (48(+B)) 가 형성되어 있다. -B 상의 감자막 (42) 의 중점 위치에는, -B 상이 출력되는 출력 단자 (48(-B)) 가 형성되어 있다.In addition, the +B phase magnetic film 44 and -B phase magnetic film 42 also constitute the bridge circuit shown in FIG. 4B similarly to the +A phase magnetic film 44 and -A phase magnetic film 41. are doing One end of these is connected to the power supply terminal 48 (Vcc), and the other end is connected to the ground terminal 48 (GND). At the midpoint position of the magnetic film 44 of the +B phase, an output terminal 48 (+B) from which the +B phase is output is formed. At the midpoint position of the magnetic film 42 of the -B phase, an output terminal 48(-B) from which the -B phase is output is formed.

감자 센서 (4) 는, 도 2 에 나타내는 바와 같이, 마그넷 (20) 의 회전 중심 축선 (L) 상에 배치되어 있고, 마그넷 (20) 의 착자 경계 부분에 회전 중심 축선 (L) 방향에서 대향하고 있다.As shown in FIG. 2 , the magnetic sensor 4 is disposed on the central axis L of rotation of the magnet 20, and faces the magnetization boundary portion of the magnet 20 in the direction of the central axis L of rotation. there is.

이 때문에, 감자 센서 (4) 의 감자막 (41 ∼ 44) 은, 각 감자막 (41 ∼ 44) 의 저항값의 포화 감도 영역 이상의 자계 강도로, 착자면 (21) 의 면내 방향에서 방향이 변화되는 회전 자계를 검출할 수 있다. 즉, 착자 경계선 부분에서는, 각 감자막 (41 ∼ 44) 의 저항값의 포화 감도 영역 이상의 자계 강도로 면내 방향의 방향이 변화되는 회전 자계가 발생한다. 여기서, 포화 감도 영역이란, 일반적으로, 저항값 변화량 (k) 이, 자계 강도 (H) 와 근사적으로「k ∝ H2」의 식으로 나타낼 수 있는 영역 이외의 영역을 말한다.For this reason, the magnetic field intensity of the magnetically sensitive films 41 to 44 of the magnetically sensitive sensor 4 changes in the in-plane direction of the magnetizing surface 21 at a magnetic field intensity equal to or higher than the saturation sensitivity range of the resistance value of each of the magnetically sensitive films 41 to 44. A rotating magnetic field can be detected. That is, at the magnetic boundary line portion, a rotating magnetic field whose direction changes in the in-plane direction is generated at a magnetic field intensity equal to or higher than the saturation sensitivity range of the resistance of each magnetic film 41 to 44 . Here, the saturation sensitivity region generally refers to a region other than a region in which the amount of change in resistance value (k) can be approximated with the magnetic field strength (H) by the expression “k ∝ H 2 ”.

또한, 포화 감도 영역 이상의 자계 강도로 회전 자계 (자기 벡터의 회전) 의 방향을 검출할 때의 원리는, 감자막 (41 ∼ 44) 에 통전한 상태에서, 저항값이 포화되는 자계 강도를 인가했을 때, 자계와 전류 방향이 이루는 각도 (θ) 와, 감자막 (41 ∼ 44) 의 저항값 (R) 사이에는, 하기의 식 (0) 으로 나타내는 관계가 있는 것을 이용하는 것이다 :The principle of detecting the direction of a rotating magnetic field (rotation of a magnetic vector) with a magnetic field intensity equal to or higher than the saturation sensitivity range is to apply a magnetic field intensity that saturates the resistance value while the magnetic films 41 to 44 are energized. At this time, the relationship between the angle θ formed by the magnetic field and the current direction and the resistance value R of the magnetic films 41 to 44 is used as shown by the following formula (0):

R = R0 - k × sin2θ …… 식 (0)R = R0 - k × sin2θ . … formula (0)

여기서, R0 은 무자계 중에서의 저항값, k 는 저항값 변화량 (포화 감도 영역 이상일 때에는 정수 (定數) 가 된다.) 을 나타낸다.Here, R0 represents the resistance value in a non-magnetic field, and k represents the amount of change in resistance value (it becomes a constant when it is over the saturation sensitivity range).

이러한 원리에 기초하여 회전 자계를 검출하면, 각도 (θ) 가 변화되면 저항값 (R) 이 정현파를 따라 변화된다. 이 때문에, 파형 품질이 높은 A 상 신호의 출력 및 B 상 신호의 출력을 얻을 수 있다.When a rotating magnetic field is detected based on this principle, when the angle θ is changed, the resistance value R is changed along a sinusoidal wave. For this reason, the output of the A-phase signal and the B-phase signal output of high waveform quality can be obtained.

(감자 센서 (4) 로부터 증폭기부 (90) 로의 신호 경로의 구성)(Configuration of signal path from potato sensor 4 to amplifier unit 90)

도 5 에 의해, 본 발명의 실시형태에 관련된 인코더부 (10) 에 있어서의 감자 센서 (4) 로부터 증폭기부 (90) 로의 신호 경로에 대해서 설명한다.With FIG. 5, the signal path from the potato sensor 4 in the encoder part 10 which concerns on embodiment of this invention to the amplifier part 90 is demonstrated.

도 5a, 도 5b 는, 양면 기판 (5) (회로 기판) 에 대한 감자 센서 (4) 및 반도체 장치 (9) 의 실장 구조를 나타내는 설명도, 및 양면 기판 (5) (회로 기판) 의 배선 패턴 등을 나타내는 설명도이다. 또, 도 5b 에는 배선 패턴 중, 본 실시형태에 관한 배선 패턴만을 나타내고 있다. 또한, 도 5b 에서는, 양면 기판 (5) 의 일방면 (501) 에 형성된 배선 패턴을 실선으로 나타내고, 양면 기판 (5) 의 타방면 (502) 에 형성된 배선 패턴을 일점쇄선으로 나타내고 있다. 또한, 도 5b 는, 감자 센서 (4) 를 점선으로 나타내고, 반도체 장치 (9) 를 이점쇄선으로 나타내고 있다.5A and 5B are explanatory diagrams showing a mounting structure of a magnetic sensor 4 and a semiconductor device 9 on a double-sided board 5 (circuit board), and a wiring pattern of the double-sided board 5 (circuit board) It is an explanatory diagram showing the etc. 5B shows only the wiring patterns according to the present embodiment among the wiring patterns. In Fig. 5B, a wiring pattern formed on one side 501 of the double-sided board 5 is indicated by a solid line, and a wiring pattern formed on the other side 502 of the double-sided board 5 is indicated by a dotted line. In addition, FIG. 5B shows the magnetic sensor 4 by the dotted line, and the semiconductor device 9 is shown by the chain dotted line.

도 3 및 도 5a 에 나타내는 바와 같이, 본 실시형태의 인코더부 (10) 에 있어서, 감자 센서 (4) 는, 칩 (40) 과, 칩 (40) 에 전기적으로 접속된 복수의 출력 단자 (48(+A), 48(-A), 48(+B), 48(-B)) 를 구비하고 있다.3 and 5A, in the encoder part 10 of this embodiment, the potato sensor 4 is a chip 40 and a plurality of output terminals 48 electrically connected to the chip 40 (+A), 48(-A), 48(+B), 48(-B)).

칩 (40) 과, 출력 단자 (48(+A), 48(-A), 48(+B), 48(-B)) 는, 감자 센서측 배선 (47(+A), 47(-A), 47(+B), 47(-B)) 에 의해서 전기적으로 접속되어 있다.The chip 40 and the output terminals 48(+A), 48(-A), 48(+B), 48(-B)) are wired to the magnetic sensor side (47(+A), 47(-A) ), 47(+B), 47(-B)) are electrically connected.

감자 센서 (4) 에 있어서, 본 실시형태에 있어서의 「제 1 출력 단자」「제 2 출력 단자」「감자 센서측 제 1 배선」 및 「감자 센서측 제 2 배선」은, 이하와 같이 대응한다.In the magnetic sensor 4, the "first output terminal", "second output terminal", "potential sensor side first wiring" and "potential sensor side second wiring" in the present embodiment correspond as follows. .

A 상용 (相用) :A common (phase use):

감자 센서 (4) 의 제 1 출력 단자 = 출력 단자 (48(+A))1st output terminal of potato sensor 4 = output terminal 48(+A)

감자 센서 (4) 의 제 2 출력 단자 = 출력 단자 (48(-A))2nd output terminal of potato sensor (4) = output terminal (48(-A))

감자 센서측 제 1 배선 = 감자 센서측 배선 (47(+A))1st wiring on the potato sensor side = wiring on the potato sensor side (47(+A))

감자 센서측 제 2 배선 = 감자 센서측 배선 (47(-A))2nd wiring on the potato sensor side = wiring on the potato sensor side (47(-A))

B 상용 :B Common:

감자 센서 (4) 의 제 1 출력 단자 = 출력 단자 (48(+B))1st output terminal of potato sensor 4 = output terminal (48(+B))

감자 센서 (4) 의 제 2 출력 단자 = 출력 단자 (48(-B))2nd output terminal of potato sensor (4) = output terminal (48(-B))

감자 센서측 제 1 배선 = 감자 센서측 배선 (47(+B))1st wiring on the potato sensor side = wiring on the potato sensor side (47(+B))

감자 센서측 제 2 배선 = 감자 센서측 배선 (47(-B))2nd wiring on the potato sensor side = wiring on the potato sensor side (47(-B))

또한, 반도체 장치 (9) 는, 증폭기부 (90) (증폭기부 (90(+A), 90(-A), 90(+B), 90(-B))) 를 구비한 칩 (97) 과, 칩 (97) 에 전기적으로 접속된 복수의 입력 단자 (98(+A), 98(-A), 98(+B), 98(-B)) 를 포함하고 있다. 칩 (97) 과 입력 단자 (98(+A), 98(-A), 98(+B), 98(-B)) 는, 증폭기측 배선 (93(+A), 93(-A), 93(+B), 93(-B)) 에 의해서 전기적으로 접속되어 있다.In addition, the semiconductor device 9 includes a chip 97 including an amplifier unit 90 (amplifier units 90(+A), 90(-A), 90(+B), 90(-B)) and a plurality of input terminals 98(+A), 98(-A), 98(+B), 98(-B) electrically connected to the chip 97. The chip 97 and the input terminals 98(+A), 98(-A), 98(+B), 98(-B) are connected to the amplifier side wiring 93(+A), 93(-A), 93(+B), 93(-B)) are electrically connected.

반도체 장치 (9) 에 있어서, 본 실시형태에 있어서의 「제 1 입력 단자」「제 2 입력 단자」「증폭기측 제 1 배선」 및 「증폭기측 제 2 배선」은, 이하와 같이 대응한다.In the semiconductor device 9, the "first input terminal", "second input terminal", "amplifier side first wiring" and "amplifier side second wiring" in the present embodiment correspond as follows.

A 상용 :A commercial:

반도체 장치 (9) 의 제 1 입력 단자 = 입력 단자 (98(+A))1st input terminal of semiconductor device 9 = input terminal 98(+A)

반도체 장치 (9) 의 제 2 입력 단자 = 입력 단자 (98(-A))Second input terminal of semiconductor device 9 = input terminal 98(-A)

증폭기측 제 1 배선 = 증폭기측 배선 (93(+A))Amplifier-side wiring 1 = Amplifier-side wiring (93(+A))

증폭기측 제 2 배선 = 증폭기측 배선 (93(-A))2nd wiring on the amplifier side = wiring on the amplifier side (93(-A))

B 상용 :B Common:

반도체 장치 (9) 의 제 1 입력 단자 = 입력 단자 (98(+B))1st input terminal of semiconductor device 9 = input terminal 98(+B)

반도체 장치 (9) 의 제 2 입력 단자 = 입력 단자 (98(-B))Second input terminal of semiconductor device 9 = input terminal 98(-B)

증폭기측 제 1 배선 = 증폭기측 배선 (93(+B))Amplifier-side wiring 1 = Amplifier-side wiring (93(+B))

증폭기측 제 2 배선 = 증폭기측 배선 (93(-B))2nd wiring on the amplifier side = wiring on the amplifier side (93(-B))

본 실시형태에서는, 감자 센서 (4) 와 반도체 장치 (9) 를 전기적으로 접속하는 데에 있어서, 양면 기판 (5) 이 사용되고 있다. 양면 기판 (5) 은, 페놀 기판이나 유리-에폭시 기판 등의 기판 본체의 양면에 동박 등으로 배선이 형성되고, 각 부가 실장되어 있다.In this embodiment, in electrically connecting the magnetic sensor 4 and the semiconductor device 9, the double-sided board|substrate 5 is used. In the double-sided board 5, wiring is formed of copper foil or the like on both sides of a main body of a board such as a phenol board or a glass-epoxy board, and each part is mounted.

구체적으로는, 양면 기판 (5) 의 일방면 (501) 측에는 감자 센서 (4) 가 실장되고, 타방면 (502) 측에는 반도체 장치 (9) 가 실장되어 있다. 양면 기판 (5) 은, 두께 방향 (화살표 T 로 나타내는 방향) 을 마그넷 (20) 의 회전 중심 축선 (L) 방향을 향하게 하고 있다.Specifically, the magnetic sensor 4 is mounted on one side 501 side of the double-sided substrate 5, and the semiconductor device 9 is mounted on the other side 502 side. The double-sided substrate 5 has its thickness direction (direction indicated by arrow T) directed toward the direction of the rotation center axis L of the magnet 20 .

감자 센서 (4) 와 반도체 장치 (9) 는, 적어도 일부끼리가 양면 기판 (5) 의 두께 방향에 있어서 겹치는 위치에 배치되어 있다. 또한, 감자 센서 (4) 및 반도체 장치 (9) 는, 일방을 양면 기판 (5) 의 두께 방향에 평행 투영한 영역의 내측에 위치하도록 배치되어 있다. 본 실시형태에서는, 반도체 장치 (9) 의 평면 사이즈는, 감자 센서 (4) 의 평면 사이즈보다 크다. 또한, 감자 센서 (4) 는, 반도체 장치 (9) 를 양면 기판 (5) 의 두께 방향에 평행 투영한 영역의 내측에 위치하도록 배치되어 있다. 양면 기판 (5) 은, 감자 센서 (4) 의 중심 (칩 (40)), 및 반도체 장치 (9) 의 중심 (칩 (97)) 이 회전 중심 축선 (L) 상에 위치하도록 배치되어 있다.The magnetic sensor 4 and the semiconductor device 9 are arrange|positioned at the position where at least one part mutually overlaps in the thickness direction of the double-sided board|substrate 5. Moreover, the magnetic sensor 4 and the semiconductor device 9 are arrange|positioned so that one may be located inside the area|region which parallel-projected to the thickness direction of the double-sided board|substrate 5. In this embodiment, the plane size of the semiconductor device 9 is larger than the plane size of the magnetic sensor 4. Moreover, the magnetic sensor 4 is arrange|positioned so that it may be located inside the area|region which parallel-projected the semiconductor device 9 to the thickness direction of the double-sided board|substrate 5. The double-sided board 5 is arranged so that the center of the magnetic sensor 4 (chip 40) and the center of the semiconductor device 9 (chip 97) are located on the rotation center axis L.

또, 감자 센서 (4) 의 평면 사이즈가 반도체 장치 (9) 의 평면 사이즈보다 커도 된다. 이 경우, 반도체 장치 (9) 는, 감자 센서 (4) 를 양면 기판 (5) 의 두께 방향에 평행 투영한 영역의 내측에 배치된다.Moreover, the plane size of the magnetic sensor 4 may be larger than the plane size of the semiconductor device 9. In this case, the semiconductor device 9 is arrange|positioned inside the area|region which parallel-projected the magnetic sensor 4 to the thickness direction of the double-sided board|substrate 5.

또한, 인코더부 (10) 에 있어서, 감자 센서 (4) 와 반도체 장치 (9) 는, 양면 기판 (5) 에 형성된 복수의 스루홀 (50) 을 통해 전기적으로 접속되어 있다. 또한, 복수의 스루홀 (50) 은, 감자 센서 (4) 및 반도체 장치 (9) 의 적어도 일방과 양면 기판 (5) 의 두께 방향에 있어서 겹치는 위치에 형성되어 있다.Moreover, in the encoder part 10, the potato sensor 4 and the semiconductor device 9 are electrically connected via the some through-hole 50 formed in the double-sided board|substrate 5. Moreover, the some through hole 50 is formed in the overlapping position in the thickness direction of at least one of the magnetic sensor 4 and the semiconductor device 9 and the double-sided board|substrate 5.

본 실시형태에 있어서, 복수의 스루홀 (50) 은, 감자 센서 (4) 와 양면 기판 (5) 의 두께 방향에 있어서 겹치는 위치에 형성되어 있다. 이 때문에, 복수의 스루홀 (50) 은, 감자 센서 (4) 및 반도체 장치 (9) 의 쌍방과, 양면 기판 (5) 의 두께 방향에 있어서 겹치는 위치에 형성되어 있다.In this embodiment, the some through hole 50 is formed in the overlapping position in the thickness direction of the magnetic sensor 4 and the double-sided board|substrate 5. For this reason, the some through-hole 50 is formed in the position overlapping in the thickness direction of both the magnetic sensor 4 and the semiconductor device 9 and the double-sided board|substrate 5.

(양면 기판 (5) 의 상세 구성)(Detailed configuration of the double-sided board 5)

이하, 도 3 및 도 5a, 도 5b 를 참조하여, 양면 기판 (5) 의 랜드나 배선 등을 설명한다. 양면 기판 (5) 은, 일방면 (501) 에, 감자 센서 (4) 가 실장되는 복수의 랜드 (51) 와, 랜드 (51) 로부터 연장되는 복수의 배선 (52) 이 형성되어 있다. 또한, 복수의 배선 (52) 의 각각의 선단부에 스루홀 (50) 이 형성되어 있다.Hereinafter, lands, wirings, and the like of the double-sided board 5 will be described with reference to FIGS. 3 and 5A and 5B. The double-sided board 5 has a plurality of lands 51 on which the magnetic sensor 4 is mounted, and a plurality of wirings 52 extending from the lands 51 are formed on one side 501 . In addition, a through hole 50 is formed at the tip of each of the plurality of wirings 52 .

본 실시형태에 있어서, 복수의 랜드 (51) 에는, 랜드 (51(Vcc)) 와, 랜드 (51(GND)) 가 포함되어 있다. 랜드 (51(Vcc)) 는, 감자 센서 (4) 의 전원 단자 (48(Vcc)) 가 실장되는 전원 단자용 랜드이다. 랜드 (51(GND)) 는, 감자 센서 (4) 의 그라운드 단자 (48(GND)) 가 실장되는 그라운드 단자용 랜드이다.In this embodiment, the plurality of lands 51 include a land 51 (Vcc) and a land 51 (GND). The land 51 (Vcc) is a land for power supply terminals on which the power supply terminal 48 (Vcc) of the magnetically sensitive sensor 4 is mounted. The land 51 (GND) is a land for ground terminals on which the ground terminal 48 (GND) of the potato sensor 4 is mounted.

또한, 복수의 랜드 (51) 에는, 랜드 (51(+A)) 와, 랜드 (51(-A)) 와, 랜드 (51(+B)) 와, 랜드 (51(-B)) 가 포함되어 있다.Further, the plurality of lands 51 include land 51(+A), land 51(-A), land 51(+B), and land 51(-B). has been

랜드 (51(+A)) 는, 감자 센서 (4) 의 출력 단자 (48(+A)) 가 실장되는 +A 상용 랜드이다. 랜드 (51(-A)) 는, 감자 센서 (4) 의 출력 단자 (48(-A)) 가 실장되는 -A 상용 랜드이다. 랜드 (51(+B)) 는, 감자 센서 (4) 의 출력 단자 (48(+B)) 가 실장되는 +B 상용 랜드이다. 랜드 (51(-B)) 는, 감자 센서 (4) 의 출력 단자 (48(-B)) 가 실장되는 -B 상용 랜드이다.The land 51 (+A) is a +A commercial land on which the output terminal 48 (+A) of the potato sensor 4 is mounted. Land 51 (-A) is -A commercial land on which the output terminal 48 (-A) of the potato sensor 4 is mounted. The land 51 (+B) is a +B commercial land on which the output terminal 48 (+B) of the potato sensor 4 is mounted. Land 51 (-B) is a -B commercial land on which the output terminal 48 (-B) of the potato sensor 4 is mounted.

복수의 배선 (52) 에는, 배선 (52(Vcc)) 과, 배선 (52(GND)) 이 포함되어 있다. 배선 (52(Vcc)) 은, 감자 센서 (4) 의 전원 단자 (48(Vcc)) 가 전기적으로 접속되는 전원 단자용 배선이다. 배선 (52(GND)) 은, 감자 센서 (4) 의 그라운드 단자 (48(GND)) 가 전기적으로 접속되는 그라운드 단자용 배선이다.The plurality of wirings 52 include a wiring 52 (Vcc) and a wiring 52 (GND). Wiring 52 (Vcc) is wiring for power supply terminals to which power supply terminal 48 (Vcc) of the magnetic sensor 4 is electrically connected. The wiring 52 (GND) is a wiring for ground terminals to which the ground terminal 48 (GND) of the potato sensor 4 is electrically connected.

또한, 복수의 배선 (52) 에는, 배선 (52(+A)) 과, 배선 (52(-A)) 과, 배선 (52(+B)) 과, 배선 (52(-B)) 이 포함되어 있다. 배선 (52(+A)) 은, 감자 센서 (4) 의 출력 단자 (48(+A)) 가 전기적으로 접속되는 +A 상용 배선이다. 배선 (52(-A)) 은, 감자 센서 (4) 의 출력 단자 (48(-A)) 가 전기적으로 접속되는 -A 상용 배선이다. 배선 (52(+B)) 은, 감자 센서 (4) 의 출력 단자 (48(+B)) 가 전기적으로 접속되는 +B 상용 배선이다. 배선 (52(-B)) 은, 감자 센서 (4) 의 출력 단자 (48(-B)) 가 전기적으로 접속되는 -B 상용 배선이다.Further, the plurality of wirings 52 include wiring 52(+A), wiring 52(-A), wiring 52(+B), and wiring 52(-B). has been Wiring 52 (+A) is +A commercial wiring to which output terminal 48 (+A) of potato sensor 4 is electrically connected. The wiring 52 (-A) is -A commercial wiring to which the output terminal 48 (-A) of the potato sensor 4 is electrically connected. The wiring 52 (+B) is a +B commercial wiring to which the output terminal 48 (+B) of the potato sensor 4 is electrically connected. Wiring 52 (-B) is -B commercial wiring to which output terminal 48 (-B) of the magnetic sensor 4 is electrically connected.

복수의 스루홀 (50) 에는, 스루홀 (50(Vcc)) 과, 스루홀 (50(GND)) 이 포함되어 있다. 스루홀 (50(Vcc)) 은, 감자 센서 (4) 의 전원 단자 (48(Vcc)) 가 전기적으로 접속되는 전원 단자용 스루홀이다. 스루홀 (50(GND)) 은, 감자 센서 (4) 의 그라운드 단자 (48(GND)) 가 전기적으로 접속되는 그라운드 단자용 스루홀이다.The plurality of through holes 50 include a through hole 50 (Vcc) and a through hole 50 (GND). The through hole 50 (Vcc) is a through hole for power supply terminals to which the power supply terminal 48 (Vcc) of the potato sensor 4 is electrically connected. The through hole 50 (GND) is a through hole for ground terminals to which the ground terminal 48 (GND) of the potato sensor 4 is electrically connected.

또한, 복수의 스루홀 (50) 에는, 스루홀 (50(+A)) 과, 스루홀 (50(-A)) 과, 스루홀 (50(+B)) 과, 스루홀 (50(-B)) 이 포함되어 있다. 스루홀 (50(+A)) 은, 감자 센서 (4) 의 출력 단자 (48(+A)) 가 전기적으로 접속되는 +A 상용 스루홀이다. 스루홀 (50(-A)) 은, 감자 센서 (4) 의 출력 단자 (48(-A)) 가 전기적으로 접속되는 -A 상용 스루홀이다. 스루홀 (50(+B)) 은, 감자 센서 (4) 의 출력 단자 (48(+B)) 가 전기적으로 접속되는 +B 상용 스루홀이다. 스루홀 (50(-B)) 은, 감자 센서 (4) 의 출력 단자 (48(-B)) 가 전기적으로 접속되는 -B 상용 스루홀이다.Further, in the plurality of through holes 50, through holes 50(+A), through holes 50(-A), through holes 50(+B), and through holes 50(- B)) is included. Through-hole 50 (+A) is +A common through-hole to which output terminal 48 (+A) of potato sensor 4 is electrically connected. Through-hole 50 (-A) is -A common through-hole to which output terminal 48 (-A) of potato sensor 4 is electrically connected. Through-hole 50 (+B) is +B common through-hole to which output terminal 48 (+B) of potato sensor 4 is electrically connected. Through-hole 50 (-B) is -B common through-hole to which output terminal 48 (-B) of potato sensor 4 is electrically connected.

또한, 양면 기판 (5) 의 타방면 (502) 에는, 반도체 장치 (9) 가 실장되는 복수의 랜드 (53) 와, 랜드 (53) 로부터 연장되는 복수의 배선 (54) 이 형성되어 있다. 복수의 배선 (54) 의 선단부는, 1 대 1 의 관계를 가지고, 복수의 배선 (52) 의 각각의 선단부에 겹쳐 있다. 이 겹친 부분에는, 스루홀 (50) 이 형성되어 있다.Further, on the other side 502 of the double-sided substrate 5, a plurality of lands 53 on which the semiconductor device 9 is mounted, and a plurality of wires 54 extending from the lands 53 are formed. The tips of the plurality of wires 54 overlap each of the tips of the plurality of wires 52 in a one-to-one relationship. A through hole 50 is formed in this overlapping portion.

복수의 랜드 (53) 에는, +A 상용 랜드 (53(+A)) 와, -A 상용 랜드 (53(-A)) 와, +B 상용 랜드 (53(+B)) 와, -B 상용 랜드 (53(-B)) 가 포함되어 있다. +A 상용 랜드 (53(+A)) 는, 감자 센서 (4) 의 출력 단자 (48(+A)) 에 대응한다. -A 상용 랜드 (53(-A)) 는, 감자 센서 (4) 의 출력 단자 (48(-A)) 에 대응한다. +B 상용 랜드 (53(+B)) 는, 감자 센서 (4) 의 출력 단자 (48(+B)) 에 대응한다. -B 상용 랜드 (53(-B)) 는, 감자 센서 (4) 의 출력 단자 (48(-B)) 에 대응한다.In the plurality of lands 53, +A commercial land 53(+A), -A commercial land 53(-A), +B commercial land 53(+B), and -B commercial land Land (53(-B)) is included. The +A commercial land 53(+A) corresponds to the output terminal 48(+A) of the potato sensor 4. -A commercial land 53 (-A) corresponds to the output terminal 48 (-A) of the potato sensor 4. The +B commercial land 53 (+B) corresponds to the output terminal 48 (+B) of the potato sensor 4. -B commercial land 53 (-B) corresponds to the output terminal 48 (-B) of the potato sensor 4.

또한, 랜드 (53) 중, 랜드 (53(+A)) 에는, 반도체 장치 (9) 의 증폭기부 (90(+A)) 에 전기적으로 접속하는 입력 단자 (98(+A)) 가 실장되어 있다. 또한, 랜드 (53(-A)) 에는, 반도체 장치 (9) 의 증폭기부 (90(-A)) 에 전기적으로 접속하는 입력 단자 (98(-A)) 가 실장되어 있다. 또한, 랜드 (53(+B)) 에는, 반도체 장치 (9) 의 증폭기부 (90(+B)) 에 전기적으로 접속하는 입력 단자 (98(+B)) 가 실장되어 있다. 또한, 랜드 (53(-B)) 에는, 반도체 장치 (9) 의 증폭기부 (90(-B)) 에 전기적으로 접속하는 입력 단자 (98(-B)) 가 실장되어 있다.Further, among the lands 53, an input terminal 98(+A) electrically connected to the amplifier unit 90(+A) of the semiconductor device 9 is mounted on the land 53(+A). there is. In addition, an input terminal 98 (-A) electrically connected to the amplifier section 90 (-A) of the semiconductor device 9 is mounted on the land 53 (-A). In addition, an input terminal 98 (+B) electrically connected to the amplifier section 90 (+B) of the semiconductor device 9 is mounted on the land 53 (+B). In addition, an input terminal 98 ( -B) electrically connected to the amplifier section 90 ( -B) of the semiconductor device 9 is mounted on the land 53 ( -B).

복수의 배선 (54) 에는, 배선 (54(+A)) 과, 배선 (54(-A)) 과, 배선 (54(+B)) 과, 배선 (54(-B)) 이 포함되어 있다. 배선 (54(+A)) 은, 감자 센서 (4) 의 출력 단자 (48(+A)) 에 대응하는 +A 상용 배선이다. 배선 (54(-A)) 은, 감자 센서 (4) 의 출력 단자 (48(-A)) 에 대응하는 -A 상용 배선이다. 배선 (54(+B)) 은, 감자 센서 (4) 의 출력 단자 (48(+B)) 에 대응하는 +B 상용 배선이다. 배선 (54(-B)) 은, 감자 센서 (4) 의 출력 단자 (48(-B)) 에 대응하는 -B 상용 배선이다.The plurality of wirings 54 include wiring 54(+A), wiring 54(-A), wiring 54(+B), and wiring 54(-B). . The wiring 54 (+A) is a +A commercial wiring corresponding to the output terminal 48 (+A) of the potato sensor 4. Wiring 54 (-A) is -A commercial wiring corresponding to the output terminal 48 (-A) of the potato sensor 4. The wiring 54 (+B) is a +B commercial wiring corresponding to the output terminal 48 (+B) of the potato sensor 4 . Wiring 54 (-B) is a -B commercial wiring corresponding to output terminal 48 (-B) of potato sensor 4.

또한, 배선 (54) 중, 배선 (54(+A)) 과 배선 (52(+A)) 의 겹친 부분에는 스루홀 (50(+A)) 이 형성되어 있다. 또한, 배선 (54(-A)) 과 배선 (52(-A)) 의 겹친 부분에는 스루홀 (50(-A)) 이 형성되어 있다. 또한, 배선 (54(+B)) 과 배선 (52(+B)) 의 겹친 부분에는 스루홀 (50(+B)) 이 형성되어 있다. 또한, 배선 (54(-B)) 과 배선 (52(-B)) 의 겹친 부분에는 스루홀 (50(-B)) 이 형성되어 있다.Further, in the wiring 54, a through hole 50(+A) is formed in the overlapped portion of the wiring 54(+A) and the wiring 52(+A). Further, a through hole 50(-A) is formed in the overlapped portion of the wiring 54(-A) and the wiring 52(-A). Further, a through hole 50(+B) is formed in the overlapped portion of the wiring 54(+B) and the wiring 52(+B). Further, a through hole 50(-B) is formed in the overlapped portion of the wiring 54(-B) and the wiring 52(-B).

또, 양면 기판 (5) 의 타방면 (502) 에서는, 랜드 (55(Vcc)) 및 랜드 (55(GND)) 가, 다른 랜드 (53) 로부터 이간되어 스루홀 (50(Vcc)), 및 스루홀 (50(GND)) 과 겹치는 위치에만 형성되어 있다. 랜드 (55(Vcc)) 는, 감자 센서 (4) 의 전원 단자 (48(Vcc)) 가 접속되는 랜드이다. 랜드 (55(GND)) 는, 감자 센서 (4) 의 그라운드 단자 (48(GND)) 가 접속되는 랜드이다.Further, on the other side 502 of the double-sided board 5, the land 55 (Vcc) and the land 55 (GND) are spaced apart from the other land 53 to form a through hole 50 (Vcc) and a through hole 50 (Vcc). It is formed only at the position overlapping the hole 50 (GND). The land 55 (Vcc) is a land to which the power supply terminal 48 (Vcc) of the magnetically sensitive sensor 4 is connected. The land 55 (GND) is a land to which the ground terminal 48 (GND) of the potato sensor 4 is connected.

또한, 인코더부 (10) 에 있어서, 본 실시형태에 있어서의 「감자 센서용 제 1 랜드」 및 「감자 센서용 제 2 랜드」는 이하와 같이 대응한다.In the encoder unit 10, the "first land for magnetic sensors" and the "second land for magnetic sensors" in the present embodiment correspond as follows.

A 상용 :A commercial:

감자 센서용 제 1 랜드 = 랜드 (51(+A))1st land for potato sensor = land (51(+A))

감자 센서용 제 2 랜드 = 랜드 (51(-A))2nd Land for Potential Sensor = Land (51(-A))

B 상용 :B Common:

감자 센서용 제 1 랜드 = 랜드 (51(+B))1st land for potato sensor = land (51(+B))

감자 센서용 제 2 랜드 = 랜드 (51(-B))2nd Land for Potential Sensor = Land (51(-B))

또한, 본 실시형태에 있어서의 「제 1 스루홀」 및 「제 2 스루홀」은 이하와 같이 대응한다.In addition, the "first through hole" and the "second through hole" in the present embodiment correspond as follows.

A 상용 :A commercial:

제 1 스루홀 = 스루홀 (50(+A))1st through hole = through hole (50(+A))

제 2 스루홀 = 스루홀 (50(-A))2nd through hole = through hole (50(-A))

B 상용 :B Common:

제 1 스루홀 = 스루홀 (50(+B))1st through hole = through hole (50(+B))

제 2 스루홀 = 스루홀 (50(-B))2nd through hole = through hole (50(-B))

또한, 본 실시형태에 있어서의 「반도체 장치용 제 1 랜드」 및 「반도체 장치용 제 2 랜드」는 이하와 같이 대응한다.In addition, the "first land for semiconductor devices" and the "second land for semiconductor devices" in the present embodiment correspond as follows.

A 상용 :A commercial:

반도체 장치용 제 1 랜드 = 랜드 (53(+A))1st land for semiconductor device = land (53(+A))

반도체 장치용 제 2 랜드 = 랜드 (53(-A))2nd land for semiconductor device = land (53(-A))

B 상용 :B Common:

반도체 장치용 제 1 랜드 = 랜드 (53(+B))1st land for semiconductor device = land (53(+B))

반도체 장치용 제 2 랜드 = 랜드 (53(-B))2nd land for semiconductor device = land (53(-B))

(A 상에 있어서의 유도 전압 대책)(Measures against induced voltage in phase A)

다음으로, 도 6 을 참조하여, 본 발명의 실시형태에 관련된 인코더부 (10) 의 A 상에 있어서, 유도 전압을 회로에 의해 효과적으로 없애기 위한 구성에 대해서 설명한다.Next, with reference to Fig. 6, a configuration for effectively canceling an induced voltage by a circuit in phase A of the encoder unit 10 according to the embodiment of the present invention will be described.

먼저, 인코더부 (10) 에 사용한 양면 기판 (5) 에 있어서, 감자 센서용 제 1 랜드 (랜드 (51(+A))) 와, 감자 센서용 제 2 랜드 (랜드 (51(-A))) 를 연결하는 가상선이 연장되는 방향에 대해서 설명한다. 여기서, 감자 센서용 제 1 랜드 (랜드 (51(+A))) 는, 일방면 (501) 측에서 감자 센서 (4) 의 제 1 출력 단자 (출력 단자 (48(+A))) 가 전기적으로 접속된다. 감자 센서용 제 2 랜드 (랜드 (51(-A))) 는, 일방면 (501) 측에서 감자 센서 (4) 에 있어서 제 1 출력 단자 (출력 단자 (48(+A))) 와 쌍을 이루는 제 2 출력 단자 (출력 단자 (48(-A))) 가 전기적으로 접속된다.First, in the double-sided substrate 5 used for the encoder unit 10, a first land for a magnetic sensor (land 51(+A)) and a second land for a magnetic sensor (land 51(-A)) ), the extension direction of the imaginary line connecting them will be described. Here, the first land (land 51 (+A)) for the sensor is electrically connected to the first output terminal (output terminal 48 (+A)) of the sensor 4 on one side (501). connected to The second land (land (51(-A))) for the magnetic sensor is paired with the first output terminal (output terminal (48(+A))) of the magnetic sensor (4) on the one side (501) side. The second output terminal (output terminal 48(-A)) formed is electrically connected.

이 방향에 있어서는, 타방면 (502) 측에서 감자 센서용 제 1 랜드 (랜드 (51(+A))) 에 전기적으로 접속되는 반도체 장치용 제 1 랜드 (랜드 (53(+A))) 에 대하여 타방면 (502) 측에서 감자 센서용 제 2 랜드 (랜드 (51(-A))) 에 전기적으로 접속되는 반도체 장치용 제 2 랜드 (랜드 (53(-A))) 가 위치하는 방향은, 감자 센서용 제 1 랜드 (랜드 (51(+A))) 에 대하여 감자 센서용 제 2 랜드 (랜드 (51(-A))) 가 위치하는 방향과 반대이다.In this direction, with respect to the first land (land 53(+A)) for the semiconductor device electrically connected to the first land (land 51(+A)) for the magnetic sensor on the other side 502 side. The direction in which the second land for the semiconductor device (land 53(-A)) electrically connected to the second land for the magnetic sensor (land 51(-A)) on the other side 502 is located is It is opposite to the direction in which the second land (land 51(-A)) for the sensor is located with respect to the first land (land 51(+A)) for the sensor.

보다 구체적으로는, 양면 기판 (5) 의 타방면 (502) 에서, +A 상용 배선 (54(+A)) 은, 스루홀 (50(+A)) 로부터 스루홀 (50(-A)) 이 위치하는 측으로 연장된다. 또한, -A 상용 배선 (54(-A)) 은, 스루홀 (50(-A)) 로부터 스루홀 (50(+A)) 이 위치하는 측으로 연장되어 있다. 이 때문에, A 상용에 있어서, 감자 센서 (4) 의 감자 센서용 제 1 랜드 (랜드 (51(+A))) 와, 감자 센서 (4) 의 감자 센서용 제 2 랜드 (랜드 (51(-A))) 를 연결하는 가상선이 연장되는 방향에 있어서, 반도체 장치용 제 1 랜드 (랜드 (53(+A))) 에 대하여 반도체 장치용 제 2 랜드 (랜드 (53(-A))) 가 위치하는 방향은, 감자 센서용 제 1 랜드 (랜드 (51(+A))) 에 대하여 감자 센서용 제 2 랜드 (랜드 (51(-A))) 가 위치하는 방향과 반대이다. 즉, 감자 센서용 제 1 랜드 (랜드 (51(+A))) 로부터 반도체 장치용 제 1 랜드 (랜드 (53(+A))) 로의 전송 경로와, 감자 센서용 제 2 랜드 (랜드 (51(-A))) 로부터 반도체 장치용 제 2 랜드 (랜드 (53(-A))) 로의 전송 경로는, 도중에서 위치가 전환되어 있다.More specifically, on the other side 502 of the double-sided board 5, the +A commercial wiring 54(+A) is connected from the through hole 50(+A) to the through hole 50(-A). It extends to the side where it is located. Further, the -A commercial wiring 54(-A) extends from the through hole 50(-A) to the side where the through hole 50(+A) is located. For this reason, in A phase, the first land (land 51 (+A)) for the magnetic sensor of the magnetic sensor 4 and the second land (land 51 (-) for the magnetic sensor of the magnetic sensor 4) In the direction in which the imaginary line connecting A))) extends, the second land (land 53(-A)) for the semiconductor device is relative to the first land (land 53(+A)) for the semiconductor device. The direction in which is located is opposite to the direction in which the second land (land 51 (-A)) for the potato sensor is located with respect to the first land (land (51 (+A))) for the potato sensor. That is, a transmission path from the first land (land 51 (+A)) for the magnetic sensor to the first land (land (53 (+A))) for the semiconductor device, and the second land (land (51 The transmission path from (-A))) to the second land (land 53 (-A)) for semiconductor devices is switched midway.

여기서, 본 실시형태에 있어서, 마그넷 (20) 이 회전했을 때, 주로 이하의 제 1 유도 전압, 제 2 유도 전압, 및 제 3 유도 전압이 발생한다. 제 1 유도 전압은, 감자 센서 (4) 에 있어서 칩 (40) 과 출력 단자 (48(+A), 48(-A)) 사이의 배선 (47(+A), 47(-A)) 이 마그넷 (20) 의 자속과 쇄교함으로써 발생하는 유도 전압이다. 제 2 유도 전압은, 스루홀 (50(+A), 50(-A)) 이 마그넷 (20) 의 자속과 쇄교함으로써 발생하는 유도 전압이다. 제 3 유도 전압은, 반도체 장치 (9) 의 칩 (97) 과 입력 단자 (98(+A)), 입력 단자 (98(-A)) 사이의 배선 (93(+A)), 및 배선 (93(-A)) 이 마그넷 (20) 의 자속과 쇄교함으로써 발생하는 유도 전압이다.Here, in the present embodiment, when the magnet 20 rotates, the following first induced voltage, second induced voltage, and third induced voltage are mainly generated. The 1st induced voltage is the wiring 47(+A), 47(-A) between the chip 40 and the output terminal 48(+A), 48(-A) in the potato sensor 4 It is an induced voltage generated by linkage with the magnetic flux of the magnet 20. The second induced voltage is an induced voltage generated when the through holes 50 (+A) and 50 (-A) interlink with the magnetic flux of the magnet 20 . The third induced voltage is applied to the wiring 93(+A) between the chip 97 of the semiconductor device 9 and the input terminal 98(+A) and the input terminal 98(-A), and the wiring ( 93(-A)) is an induced voltage generated by linkage with the magnetic flux of the magnet 20.

그러나, 이들 제 1 유도 전압, 제 2 유도 전압, 및 제 3 유도 전압은, 상기 서술한 구성에 의해, 어느 1 개의 유도 전압과 다른 2 개의 유도 전압이 없어지게 된다. 요컨대, 본 실시형태에서는, 감자 센서용 제 1 랜드 (랜드 (51(+A))) 로부터 반도체 장치용 제 1 랜드 (랜드 (53(+A))) 로의 전송 경로와, 감자 센서용 제 2 랜드 (랜드 (51(-A))) 로부터 반도체 장치용 제 2 랜드 (랜드 (53(-A))) 로의 전송 경로는, 양면 기판 (5) 의 타방면 (502) 에서 위치가 전환되어 있다. 이 때문에, 제 3 유도 전압을, 제 1 유도 전압과 제 2 유도 전압에 의해 없앨 수 있다.However, these first induced voltages, the second induced voltages, and the third induced voltages have no one induced voltage and two other induced voltages due to the above-described configuration. In short, in the present embodiment, the transmission path from the first land (land 51 (+A)) for the magnetic sensor to the first land (land (53 (+A))) for the semiconductor device, and the second land for the magnetic sensor The position of the transmission path from the land (land 51(-A)) to the second land (land 53(-A)) for semiconductor devices is switched on the other side 502 of the double-sided substrate 5. Therefore, the third induced voltage can be canceled by the first induced voltage and the second induced voltage.

또한, 회전 중심 축선 (L) 방향에서 보았을 때, 반도체 장치용 제 1 랜드 (랜드 (53(+A))) 와 반도체 장치용 제 2 랜드 (랜드 (53(-A))) 를 연결하는 가상선, 제 1 스루홀 (스루홀 (50(+A))) 과 제 2 스루홀 (스루홀 (50(-A))) 을 연결하는 가상선, 및 감자 센서용 제 1 랜드 (랜드 (51(+A))) 와 감자 센서용 제 2 랜드 (랜드 (51(-A))) 를 연결하는 가상선 중의 적어도 2 개의 가상선은, 평행하게 연장되어 있다. 이 때문에, 제 1 유도 전압, 제 2 유도 전압 및 제 3 유도 전압 중의 적어도 2 개의 유도 전압의 위상을 맞출 수 있다. 따라서, 유도 전압끼리를 서로 상쇄시키는 데에 적합하다.In addition, when viewed from the direction of the rotational center axis L, a virtual connection between the first land (land 53(+A)) for the semiconductor device and the second land (land 53(-A)) for the semiconductor device is provided. A line, a virtual line connecting the first through hole (through hole (50 (+A))) and the second through hole (through hole (50 (-A))), and the first land (land (51 (+A))) and at least two virtual lines among the virtual lines which connect the 2nd land (land 51(-A)) for magnetic sensors are extended in parallel. Therefore, the phases of at least two of the first induced voltage, the second induced voltage, and the third induced voltage can be matched. Therefore, it is suitable for mutually canceling induced voltages.

본 실시형태에서는, 제 3 유도 전압을 제 1 유도 전압과 제 2 유도 전압에 의해 없앤다. 이 때문에, 반도체 장치용 제 1 랜드 (랜드 (53(+A))) 와 반도체 장치용 제 2 랜드 (랜드 (53(-A))) 를 연결하는 가상선에 대하여, 제 1 스루홀 (스루홀 (50(+A))) 과 제 2 스루홀 (스루홀 (50(-A))) 을 연결하는 가상선, 및 감자 센서용 제 1 랜드 (랜드 (51(+A))) 와 감자 센서용 제 2 랜드 (랜드 (51(-A))) 를 연결하는 가상선 중의 적어도 일방의 가상선은, 평행하게 연장되어 있다. 보다 구체적으로는, A 상에서는, 반도체 장치용 제 1 랜드 (랜드 (53(+A))) 와 반도체 장치용 제 2 랜드 (랜드 (53(-A))) 를 연결하는 가상선과, 제 1 스루홀 (스루홀 (50(+A))) 과 제 2 스루홀 (스루홀 (50(-A))) 을 연결하는 가상선이 평행하게 연장되어 있다. 이 때문에, 제 2 유도 전압과 제 3 유도 전압의 위상을 맞출 수 있기 때문에, 제 3 유도 전압을 제 2 유도 전압에 의해서 저감시킬 수 있다. 또, 감자 센서용 제 1 랜드 (랜드 (51(+A))) 와 감자 센서용 제 2 랜드 (랜드 (51(-A))) 를 연결하는 가상선은, 상기 가상선에 대하여 경사 방향으로 연장되어 있다. 그러나, 그 경사는 30°이하이다. 따라서, 제 1 유도 전압과 제 3 유도 전압의 위상을 가깝게 할 수 있기 때문에, 제 3 유도 전압을 제 1 유도 전압에 의해서 저감시킬 수 있다.In this embodiment, the third induced voltage is canceled by the first induced voltage and the second induced voltage. Therefore, with respect to a virtual line connecting the first land (land 53(+A)) for semiconductor devices and the second land (land 53(-A)) for semiconductor devices, the first through hole (through hole) A virtual line connecting the hole (50(+A))) and the second through hole (through hole (50(-A))), and the first land (land (51(+A))) for the demagnetizing sensor and the demagnetizing line At least one virtual line among the virtual lines connecting the 2nd land for a sensor (land 51(-A)) extends in parallel. More specifically, on phase A, a virtual line connecting the first land for semiconductor devices (land 53(+A)) and the second land for semiconductor devices (land 53(-A)), and the first through An imaginary line connecting the hole (through hole 50(+A)) and the second through hole (through hole 50(-A)) extends in parallel. For this reason, since the phases of the second induced voltage and the third induced voltage can be matched, the third induced voltage can be reduced by the second induced voltage. In addition, a virtual line connecting the first land (land 51 (+A)) for the potato sensor and the second land (land (51 (-A))) for the potato sensor is inclined in an oblique direction with respect to the virtual line. has been extended However, the inclination is less than 30°. Accordingly, since the phases of the first induced voltage and the third induced voltage can be brought closer, the third induced voltage can be reduced by the first induced voltage.

특히 본 실시형태에서는, 도 6 에 나타내는 바와 같이, 각 루프의 단면적과 유도 전압의 크기가 비례한다. 이것에 의해, 스루홀 (50(+A)) 과 스루홀 (50(-A)) 의 간격을 최적화하고, 감자 센서 (4) 에 있어서 칩 (40) 과 출력 단자 (48(+A), 48(-A)) 에 의해 구획되는 면적 (S4A) 과, 스루홀 (50(+A), 50(-A)) 이 구획하는 면적 (S50A) 의 합이, 반도체 장치 (9) 의 증폭기부 (90(+A), 90(-A)) 의 칩 (97) 과 입력 단자 (98(+A), 98(-A)) 에 의해 구획되는 면적 (S9A) 과 동일하게 설정되어 있다. 이 때문에, 전송 경로가 도중에서 전환됨으로써, 제 3 유도 전압을 제 1 유도 전압 및 제 2 유도 전압에 의해서 상쇄할 수 있다. 따라서, 유도 노이즈의 발생을 억제할 수 있다.In particular, in this embodiment, as shown in Fig. 6, the cross-sectional area of each loop is proportional to the magnitude of the induced voltage. Thereby, the distance between the through hole 50 (+A) and the through hole 50 (-A) is optimized, and in the magnetic sensor 4, the chip 40 and the output terminal 48 (+A), The sum of the area S4A partitioned by 48(-A)) and the area S50A partitioned by through holes 50(+A) and 50(-A) is the amplifier unit of semiconductor device 9 It is set equal to the area S9A partitioned by the chip 97 of (90(+A), 90(-A)) and the input terminals 98(+A), 98(-A). For this reason, the third induced voltage can be canceled by the first induced voltage and the second induced voltage by switching the transmission path midway. Therefore, generation of inductive noise can be suppressed.

(B 상에 있어서의 유도 전압 대책)(Measures against induced voltage in phase B)

또한, B 상에 관해서도, A 상과 동일한 구성이다. 양면 기판 (5) 에 있어서, 일방면 (501) 측에서 감자 센서 (4) 의 제 1 출력 단자 (출력 단자 (48(+B))) 가 전기적으로 접속되는 감자 센서용 제 1 랜드 (랜드 (51(+B))) 와, 일방면 (501) 측에서 감자 센서 (4) 에 있어서 제 1 출력 단자 (출력 단자 (48(+B))) 와 쌍을 이루는 제 2 출력 단자 (출력 단자 (48(-B))) 가 전기적으로 접속되는 감자 센서용 제 2 랜드 (랜드 (51(-B))) 를 연결하는 가상선이 연장되는 방향에 있어서, 타방면 (502) 측에서 감자 센서용 제 1 랜드 (랜드 (51(+B))) 에 전기적으로 접속하는 반도체 장치용 제 1 랜드 (랜드 (53(+B))) 에 대하여 타방면 (502) 측에서 감자 센서용 제 2 랜드 (랜드 (51(-B))) 에 전기적으로 접속하는 반도체 장치용 제 2 랜드 (랜드 (53(-B))) 가 위치하는 방향은, 감자 센서용 제 1 랜드 (랜드 (51(+B))) 에 대하여 감자 센서용 제 2 랜드 (랜드 (51(-B))) 가 위치하는 방향과 반대이다.In addition, regarding the B phase, it has the same structure as the A phase. In the double-sided board 5, on one side 501 side, a first land (land ( 51 (+B))) and the second output terminal (output terminal (output terminal ( 48 (-B))) is electrically connected to the second land (land 51 (-B)) for the potato sensor in the direction in which the imaginary line connecting it extends, on the other side (502) side. The second land (land (land ( The direction in which the second land (land 53 (-B)) for the semiconductor device electrically connected to 51 (-B)) is located is the first land (land 51 (+B)) for the magnetic sensor. It is opposite to the direction in which the second land (land 51(-B)) for the potato sensor is located.

보다 구체적으로는, 양면 기판 (5) 의 타방면 (502) 에서, +B 상용 배선 (54(+B)) 은, 스루홀 (50(+B)) 로부터 스루홀 (50(-B)) 이 위치하는 측으로 연장된다. 또한, -B 상용 배선 (54(-B)) 은, 스루홀 (50(-B)) 로부터 스루홀 (50(+B)) 이 위치하는 측으로 연장되어 있다. 이 때문에, B 상용에 있어서, 감자 센서 (4) 의 감자 센서용 제 1 랜드 (랜드 (51(+B))) 와, 감자 센서 (4) 의 감자 센서용 제 2 랜드 (랜드 (51(-B))) 를 연결하는 가상선이 연장되는 방향에 있어서, 반도체 장치용 제 1 랜드 (랜드 (53(+B))) 에 대하여 반도체 장치용 제 2 랜드 (랜드 (53(-B))) 가 위치하는 방향은, 감자 센서용 제 1 랜드 (랜드 (51(+B))) 에 대하여 감자 센서용 제 2 랜드 (랜드 (51(-B))) 가 위치하는 방향과 반대이다. 즉, 감자 센서용 제 1 랜드 (랜드 (51(+B))) 로부터 반도체 장치용 제 1 랜드 (랜드 (53(+B))) 로의 전송 경로와, 감자 센서용 제 2 랜드 (랜드 (51(-B))) 로부터 반도체 장치용 제 2 랜드 (랜드 (53(-B))) 로의 전송 경로는, 도중에서 위치가 전환되어 있다.More specifically, on the other side 502 of the double-sided board 5, the +B commercial wiring 54(+B) is connected from the through hole 50(+B) to the through hole 50(-B). It extends to the side where it is located. In addition, the -B commercial wiring 54(-B) extends from the through hole 50(-B) to the side where the through hole 50(+B) is located. For this reason, in the B phase, the first land (land (51 (+B))) for the magnetic sensor of the magnetic sensor 4 and the second land (land (51 (-)) for the magnetic sensor of the magnetic sensor 4 In the direction in which the imaginary line connecting B))) extends, the second land (land 53(-B)) for the semiconductor device is relative to the first land (land 53(+B)) for the semiconductor device. The direction in which is located is opposite to the direction in which the second land (land 51 (-B)) for the potato sensor is located with respect to the first land (land (51 (+B))) for the potato sensor. That is, a transmission path from the first land (land 51 (+B)) for the magnetic sensor to the first land (land (53 (+B))) for the semiconductor device, and the second land (land (51 (-B))) to the second land (land 53 (-B)) for semiconductor devices, the transmission path is switched midway.

따라서, 마그넷 (20) 이 회전했을 때, 감자 센서 (4) 에 있어서 칩 (40) 과 출력 단자 (48(+B), 48(-B)) 사이의 배선 (47(+B), 47(-B)) 이 마그넷 (20) 의 자속과 쇄교함으로써 발생하는 제 1 유도 전압, 스루홀 (50(+B), 50(-B)) 이 마그넷 (20) 의 자속과 쇄교함으로써 발생하는 제 2 유도 전압, 및 반도체 장치 (9) 의 칩 (97) 과 입력 단자 (98(+B), 98(-B)) 사이의 배선 (93(+B), 93(-B)) 이 마그넷 (20) 의 자속과 쇄교함으로써 발생하는 제 3 유도 전압은, 어느 1 개의 유도 전압과 다른 2 개의 유도 전압이 없어지게 된다. 본 실시형태에서는, 감자 센서용 제 1 랜드 (랜드 (51(+B))) 로부터 반도체 장치용 제 1 랜드 (랜드 (53(+B))) 로의 전송 경로와, 감자 센서용 제 2 랜드 (랜드 (51(-B))) 로부터 반도체 장치용 제 2 랜드 (랜드 (53(-B))) 로의 전송 경로는, 양면 기판 (5) 의 타방면 (502) 에서 위치가 전환되어 있기 때문에, 제 3 유도 전압을, 제 1 유도 전압과 제 2 유도 전압에 의해 없앨 수 있다.Therefore, when the magnet 20 rotates, the wire 47 (+B), 47 ( between the chip 40 and the output terminals 48 (+B), 48 (-B)) -B)) 1st induced voltage generated by linking with the magnetic flux of the magnet 20, 2nd induced voltage generated by linking the through-holes (50(+B), 50(-B)) with the magnetic flux of the magnet 20 induced voltage, and wirings 93(+B), 93(-B) between the chip 97 and the input terminals 98(+B), 98(-B) of the semiconductor device 9 are connected to the magnet 20 ), the third induced voltage generated by linking with the magnetic flux of one of the induced voltages and the other two induced voltages disappear. In the present embodiment, a transmission path from the first land (land 51 (+B)) for the magnetic sensor to the first land (land (53 (+B))) for the semiconductor device, and the second land ( Since the position of the transmission path from the land 51(-B)) to the second land (land 53(-B)) for the semiconductor device is switched on the other side 502 of the double-sided substrate 5, 3 The induced voltage can be eliminated by the first induced voltage and the second induced voltage.

또한, 회전 중심 축선 (L) 방향에서 보았을 때, 반도체 장치용 제 1 랜드 (랜드 (53(+B))) 와 반도체 장치용 제 2 랜드 (랜드 (53(-B))) 를 연결하는 가상선, 제 1 스루홀 (스루홀 (50(+B))) 과 제 2 스루홀 (스루홀 (50(-B))) 을 연결하는 가상선, 및 감자 센서용 제 1 랜드 (랜드 (51(+B))) 와 감자 센서용 제 2 랜드 (랜드 (51(-B))) 를 연결하는 가상선 중의 적어도 2 개의 가상선은, 평행하게 연장되어 있다. 이 때문에, 제 1 유도 전압, 제 2 유도 전압, 및 제 3 유도 전압 중의 적어도 2 개의 유도 전압의 위상을 맞출 수 있다. 따라서, 유도 전압끼리를 서로 상쇄시키는 데에 적합하다.In addition, when viewed from the direction of the rotation center axis L, a virtual connection between the first land (land 53(+B)) for the semiconductor device and the second land (land 53(-B)) for the semiconductor device is provided. A line, a virtual line connecting the first through hole (through hole (50 (+B))) and the second through hole (through hole (50 (-B))), and the first land (land (51 (+B))) and at least two virtual lines among the virtual lines which connect the 2nd land (land 51(-B)) for magnetic sensors are extended in parallel. Therefore, the phases of at least two of the first induced voltage, the second induced voltage, and the third induced voltage can be matched. Therefore, it is suitable for mutually canceling induced voltages.

본 실시형태에서는, 제 3 유도 전압을 제 1 유도 전압과 제 2 유도 전압에 의해 없앤다. 이 때문에, 반도체 장치용 제 1 랜드 (랜드 (53(+B))) 와 반도체 장치용 제 2 랜드 (랜드 (53(-B))) 를 연결하는 가상선에 대하여, 제 1 스루홀 (스루홀 (50(+B))) 과 제 2 스루홀 (스루홀 (50(-B))) 을 연결하는 가상선, 및 감자 센서용 제 1 랜드 (랜드 (51(+B))) 와 감자 센서용 제 2 랜드 (랜드 (51(-B))) 를 연결하는 가상선 중의 적어도 일방의 가상선은, 평행하게 연장되어 있다.In this embodiment, the third induced voltage is canceled by the first induced voltage and the second induced voltage. Therefore, with respect to a virtual line connecting the first land (land 53(+B)) for semiconductor devices and the second land (land 53(-B)) for semiconductor devices, the first through hole (through hole) A virtual line connecting the hole (50(+B))) and the second through hole (through hole (50(-B))), and the first land (land (51(+B))) and the demagnetizing sensor for the demagnetizing sensor. At least one virtual line among the virtual lines connecting the 2nd land for a sensor (land 51(-B)) is extended in parallel.

보다 구체적으로는, B 상에서는, 반도체 장치용 제 1 랜드 (랜드 (53(+B))) 와 반도체 장치용 제 2 랜드 (랜드 (53(-B))) 를 연결하는 가상선과, 제 1 스루홀 (스루홀 (50(+B))) 과 제 2 스루홀 (스루홀 (50(-B))) 을 연결하는 가상선이 평행하게 연장되어 있다. 이 때문에, 제 2 유도 전압과 제 3 유도 전압의 위상을 맞출 수 있기 때문에, 제 3 유도 전압을, 제 2 유도 전압에 의해서 저감시킬 수 있다. 또한, 감자 센서용 제 1 랜드 (랜드 (51(+A))) 와 감자 센서용 제 2 랜드 (랜드 (51(-A))) 를 연결하는 가상선은, 상기 가상선에 대하여 평행하게 연장되어 있다. 이 때문에, 제 1 유도 전압과 제 3 유도 전압의 위상을 가깝게 할 수 있다. 따라서, 제 3 유도 전압을 제 1 유도 전압에 의해서 저감시킬 수 있다.More specifically, on B, a virtual line connecting the first land for semiconductor devices (land 53(+B)) and the second land for semiconductor devices (land 53(-B)), and the first through An imaginary line connecting the hole (through hole 50(+B)) and the second through hole (through hole 50(-B)) extends in parallel. For this reason, since the phases of the second induced voltage and the third induced voltage can be matched, the third induced voltage can be reduced by the second induced voltage. In addition, a virtual line connecting the first land (land 51 (+A)) for the potato sensor and the second land (land (51 (-A))) for the potato sensor extends parallel to the virtual line. has been For this reason, the phase of the 1st induced voltage and the 3rd induced voltage can be made close. Therefore, the third induced voltage can be reduced by the first induced voltage.

특히 본 실시형태에서는, 도 6 에 나타내는 바와 같이, 각 루프의 단면적과 유도 전압의 크기가 비례하므로, 스루홀 (50(+B)) 과 스루홀 (50(-B)) 의 간격을 최적화하고, 감자 센서 (4) 에 있어서 칩 (40) 과 출력 단자 (48(+B), 48(-B)) 에 의해 구획되는 면적 (S4B) 과, 스루홀 (50(+B), 50(-B)) 이 구획하는 면적 (S50B) 의 합이, 반도체 장치 (9) 의 증폭기부 (90(+B), 90(-B)) 의 칩 (97) 과 입력 단자 (98(+B), 98(-B)) 에 의해 구획되는 면적 (S9B) 과 동일하게 설정되어 있다. 이 때문에, 전송 경로가 도중에서 전환됨으로써, 제 3 유도 전압을 제 1 유도 전압 및 제 2 유도 전압에 의해서 상쇄할 수 있다. 따라서, 유도 노이즈의 발생을 억제할 수 있다.In particular, in this embodiment, as shown in FIG. 6, since the cross-sectional area of each loop and the magnitude of the induced voltage are proportional, the spacing between the through holes 50(+B) and the through holes 50(-B) is optimized, , In the potato sensor 4, the area S4B partitioned by the chip 40 and the output terminals 48(+B) and 48(-B), and the through holes 50(+B) and 50(- B)) The sum of the areas S50B partitioned is the chip 97 and the input terminal 98 (+B) of the amplifier sections 90 (+B) and 90 (-B) of the semiconductor device 9, 98(-B)) is set equal to the area S9B. For this reason, the third induced voltage can be canceled by the first induced voltage and the second induced voltage by switching the transmission path midway. Therefore, generation of inductive noise can be suppressed.

이상 설명한 바와 같이, 본 실시형태의 인코더부 (10) 에서는, 일방면 (501) 측에 감자 센서 (4) 가 실장되고, 타방면 (502) 측에 반도체 장치 (9) 가 실장된 양면 기판 (5) 을 사용하고, 감자 센서 (4) 와 반도체 장치 (9) 는, 양면 기판 (5) 의 스루홀 (50) 을 통해 전기적으로 접속되어 있다. 이 때문에, 마그넷 (20) 의 주변에 큰 스페이스를 확보하지 않아도 된다. 또한, 감자 센서 (4) 와 반도체 장치 (9) 는, 적어도 일부끼리가 양면 기판 (5) 의 두께 방향에 있어서 겹치는 위치에 배치되고, 또한, 스루홀 (50) 은, 감자 센서 (4) 및 반도체 장치 (9) 의 적어도 일방과 겹치는 위치에 형성되어 있다.As described above, in the encoder unit 10 of this embodiment, the magnetic sensor 4 is mounted on one side 501 side, and the double-sided board 5 on which the semiconductor device 9 is mounted on the other side 502 side ) is used, and the magnetic sensor 4 and the semiconductor device 9 are electrically connected via the through hole 50 of the double-sided board 5. For this reason, it is not necessary to secure a large space around the magnet 20. In addition, the magnetic sensor 4 and the semiconductor device 9 are arranged at a position where at least a part overlaps each other in the thickness direction of the double-sided substrate 5, and the through hole 50 is the magnetic sensor 4 and It is formed in the position overlapping with at least one side of the semiconductor device 9.

특히 본 실시형태에 있어서, 스루홀 (50) 은, 감자 센서 (4) 및 반도체 장치 (9) 의 쌍방에 양면 기판 (5) 의 두께 방향에서 겹치는 위치에 형성되어 있다. 이 때문에, 감자 센서 (4) 로부터 반도체 장치 (9) 로의 전송 경로가 짧아지고, 자속과 쇄교하는 면적이 좁아진다. 따라서, 감자 센서 (4) 로부터의 출력의 전송 경로에서 발생하는 유도 전압이 낮아진다. 결과적으로, 감자 센서 (4) 로부터의 출력의 전송 경로에서 발생하는 유도 전압에 의한 노이즈가 작아지고, 검출 결과에 대한 유도 전압에 의한 노이즈의 영향을 완화시킬 수 있다.In particular, in this embodiment, the through hole 50 is formed in the position which overlaps with both the magnetic sensor 4 and the semiconductor device 9 in the thickness direction of the double-sided board|substrate 5. For this reason, the transmission path|route from the magnetically sensitive sensor 4 to the semiconductor device 9 becomes short, and a magnetic flux and the area which crosslinks become narrow. Therefore, the induced voltage which arises in the transmission path of the output from the potato sensor 4 becomes low. As a result, the noise by the induced voltage which arises in the transmission path of the output from the potato sensor 4 becomes small, and the influence of the noise by the induced voltage on the detection result can be alleviated.

또한, 감자 센서 (4) 는, 마그넷 (20) 의 회전 중심 축선 상에 형성되고, 양면 기판 (5) 은, 두께 방향을 마그넷 (20) 의 회전 중심 축선 방향을 향하게 하여 배치되어 있다. 이 때문에, 도 5a 에 나타내는 바와 같이, 자속은 양면 기판 (5) 을 따라 형성된다. 따라서, 양면 기판 (5) 에 형성되어 있는 배선 (52, 54) 의 루프가 자속과 쇄교하는 분량이 적다. 이 때문에, 감자 센서 (4) 로부터의 출력의 전송 경로에서 발생하는 유도 노이즈가 작아진다.Moreover, the magnetic sensor 4 is formed on the rotation center axis line of the magnet 20, and the double-sided board|substrate 5 directs the thickness direction to the rotation center axis direction of the magnet 20, and is arrange|positioned. For this reason, as shown in Fig. 5A, magnetic flux is formed along the double-sided board 5. Therefore, the loops of the wirings 52 and 54 formed on the double-sided board 5 are small in amount of linkage with the magnetic flux. For this reason, the induction noise which arises in the transmission path of the output from the magnetically sensitive sensor 4 becomes small.

또한, 감자 센서 (4) 의 중심, 및 반도체 장치 (9) 의 중심이 회전 중심 축선 (L) 상에 위치한다. 이 때문에, 감자 센서 (4) 로부터 반도체 장치 (9) 로의 전송 경로를 회전 중심 축선 (L) 근방에 배치할 수 있다. 따라서, 전송 경로와 쇄교하는 자속의 시간적 변화가 작기 때문에, 감자 센서 (4) 로부터의 출력의 전송 경로에서 발생하는 유도 전압이 낮다. 따라서, 유도 노이즈를 저감시킬 수 있다.In addition, the center of the potato sensor 4 and the center of the semiconductor device 9 are located on the rotation center axis line L. For this reason, the transmission path|route from the magnetically sensitive sensor 4 to the semiconductor device 9 can be arrange|positioned in the vicinity of the rotation center axis line L. Therefore, since the temporal change of the magnetic flux linking with the transmission route is small, the induced voltage generated in the transmission route of the output from the magnetically sensitive sensor 4 is low. Therefore, induced noise can be reduced.

또한, 본 실시형태에서는, 감자 센서 (4) 로부터 반도체 장치 (9) 로의 전송 경로가 +A 상과 -A 상 사이에서 위치가 교체되고, 감자 센서 (4) 로부터 반도체 장치 (9) 로의 전송 경로가 +B 상과 -B 상 사이에서도 위치가 교체되고 있다. 따라서, 양면 기판 (5) 의 구성을 변경하는 것만으로, 감자 센서 (4) 로부터 반도체 장치 (9) 를 향하는 루프의 방향을 역전시킬 수 있다. 이 때문에, 유도 전압의 극성을 도중에서 반전시켜 서로 상쇄시킬 수 있고, 유도 노이즈의 영향을 완화시킬 수 있다.In addition, in this embodiment, the position of the transmission path from the magnetic sensor 4 to the semiconductor device 9 is switched between the +A phase and the -A phase, and the transmission path from the magnetic sensor 4 to the semiconductor device 9 The position is also swapped between the +B phase and the -B phase. Therefore, the direction of the loop toward the semiconductor device 9 from the magnetic sensor 4 can be reversed only by changing the structure of the double-sided board 5. For this reason, the polarities of the induced voltages can be inverted midway to cancel each other out, and the influence of the induced noise can be alleviated.

[신호 처리부 (100) 의 구성][Configuration of Signal Processing Unit 100]

다음으로, 도 7a 를 참조하여, 신호 처리부 (100) 에 의해, 회전 각도 위치를 보정할 때의 상세한 구성에 대해서 설명한다.Next, with reference to FIG. 7A , the detailed configuration at the time of correcting the rotation angle position by the signal processing unit 100 will be described.

신호 처리부 (100) 는, RAM 이나 ROM 이나 플래시 메모리 등의 기록 매체를 구비한, CPU, 마이크로 컨트롤러, DSP, ASIC 등이다. 신호 처리부 (100) 는, 검출 소자의 신호로부터 회전 각도 위치를 검출한다.The signal processing unit 100 is a CPU, microcontroller, DSP, ASIC, or the like equipped with a recording medium such as RAM, ROM, or flash memory. The signal processing unit 100 detects the rotation angle position from the signal of the detection element.

보다 상세하게 설명하면, 신호 처리부 (100) 는, 회전 각도 위치 산출부 (110) (회전 각도 위치 산출 수단), 보정량 테이블 (120), 및 보정부 (130) (보정 수단) 를 구비하고 있다.More specifically, the signal processing unit 100 includes a rotation angle position calculation unit 110 (rotation angle position calculation means), a correction amount table 120, and a correction unit 130 (correction means).

회전 각도 위치 산출부 (110) 는, 검출 소자의 신호에 의해 회전 각도 위치를 산출한다.The rotation angle position calculation unit 110 calculates the rotation angle position according to the signal of the detection element.

구체적으로는, 회전 각도 위치 산출부 (110) 는, A 상 신호 및 B 상 신호로부터 XY 평면 상의 리사주 파형을 산출하여 해석함으로써, 가동 피검출물의 각도 위치 (θ) 를 검출한다. 이 때, 회전 각도 위치 산출부 (110) 는, 제 1 홀 소자 (61) 와 제 2 홀 소자 (62) 에 의해, A 상 신호 (정현파 신호 sin), B 상 신호 (정현파 신호 cos) 의 어느 구간에 위치하는지를 산출한다. 회전 각도 위치 산출부 (110) 는, 가동 피검출물의 각도 위치 (θ) 와, 이 구간으로부터 회전 각도 위치를 산출한다. 이 회전 각도 위치는, 앱솔루트값 (절대값) 이고, 1 둘레를 각도 분해능 (R) 으로 분해한 값을 단위로서 나타낸 정수값이다. 이 각도 분해능 (R) 의 값은, 20 비트의 분해능의 검출 소자를 사용한 경우에는 2^20 = 1048576 이 된다. 또한, 이 정수값에 대해서는, 부호가 1 비트분 포함되는 2 의 보수 (補數) 를 사용해도 된다.Specifically, the rotation angle position calculation unit 110 detects the angular position θ of the movable object to be detected by calculating and analyzing a Lissajous waveform on the XY plane from the A-phase signal and the B-phase signal. At this time, the rotation angle position calculation unit 110 determines which of the A-phase signal (sinusoidal signal sin) and the B-phase signal (sinusoidal signal cos) by the first Hall element 61 and the second Hall element 62. Calculate whether it is located in the interval. The rotation angle position calculation unit 110 calculates the rotation angle position from the angular position θ of the movable to-be-detected object and this section. This rotation angle position is an absolute value (absolute value), and is an integer value representing a value obtained by decomposing one circumference by an angular resolution (R) as a unit. The value of this angular resolution R is 2^20 = 1048576 when a detection element with a resolution of 20 bits is used. In addition, for this integer value, you may use 2's complement in which the code is included for 1 bit.

또한, 회전 각도 위치 산출부 (110) 는, 샘플링 주기 (T) (초) 사이의 회전 각도 위치의 변위를 각도 변위값 (D') 으로서 산출한다. 회전 각도 위치 산출부 (110) 는, 요컨대, 현재의 샘플링 시간에 있어서의 회전 각도 위치와, 1 개 전의 샘플링 시간에 있어서의 회전 각도 위치의 차를 각도 변위값 (D') 으로서 산출한다. 이 각도 변위값 (D') 은, 예를 들어 1 회전을 각도 분해능 (R) 으로 분할한 값을 단위로 하는 정수의 값이 된다. 요컨대, R 이 1048576 인 경우, D 가 1048576 에서 1 회전을 나타내는 값이 된다. 또한, 샘플링 주기 (T) 는, 수 μ초 ∼ 수백 μ초 등의 값이며, 후술하는 바와 같이 가변이다.Further, the rotation angle position calculation unit 110 calculates the displacement of the rotation angle position during the sampling period T (seconds) as an angular displacement value D'. In short, the rotational angle position calculation unit 110 calculates the difference between the rotational angle position at the current sampling time and the rotational angle position at the previous sampling time as the angular displacement value D'. This angular displacement value D' becomes, for example, an integer value whose unit is a value obtained by dividing one rotation by the angular resolution R. In short, when R is 1048576, D becomes a value representing one rotation at 1048576. In addition, the sampling period T is a value such as several microseconds to hundreds of microseconds, and is variable as will be described later.

보정량 테이블 (120) 은, 회전 속도에 비례하여 검출 소자의 신호에 중첩되는 오차를 없애기 위한 보정량을, 특정 회전 속도 (ω) 에 있어서의 1 회전을 특정한 분할수로 분할한 분할 각도 위치에 대응하여 기억한다. 여기서, 상기 서술한 유도 전압에 의한 오차는, 회전 속도에 비례하여 증가한다. 이 때문에, 하기에서 설명하는 바와 같이, 특정 회전 속도 (ω) 에 있어서의 보정량을 기억해 두면, 실제의 회전수와의 속도비를 산출함으로써, 보정값을 산출할 수 있다. 이 특정 회전 속도 (ω) 는, 인코더부 (10) 의 상용의 회전수보다 높고, 유도 기전력이 커지는 회전수, 예를 들어, 수천 rpm 이상의 값을 기준으로서 사용하도록 한다. 또한, 보정량 테이블 (120) 은, A 상 신호 테이블 (121) 및 B 상 신호 테이블 (122) 을 포함하고 있다.The correction amount table 120 corresponds to a division angle position obtained by dividing one rotation at a specific rotation speed ω by a specific number of divisions for eliminating an error superimposed on the signal of the detection element in proportion to the rotation speed. remember Here, the error due to the induced voltage described above increases in proportion to the rotational speed. For this reason, as described below, if the correction amount in the specific rotational speed ω is stored, the correction value can be calculated by calculating the speed ratio with the actual rotational speed. This specific rotational speed ω is higher than the usual rotational speed of the encoder section 10, and a rotational speed at which the induced electromotive force becomes large, for example, a value of several thousand rpm or more is used as a reference. Further, the correction amount table 120 includes an A-phase signal table 121 and a B-phase signal table 122 .

이 보정량 테이블 (120) 의 상세에 대해서는, 후술한다.Details of this correction amount table 120 will be described later.

보정부 (130) 는, 사용 상태에 있어서의 회전 속도와 특정 회전 속도 (ω) 의 속도비를 산출한다. 또한, 보정부 (130) 는, 현재의 회전 각도 위치로부터 분할 각도 위치를 산출하고, 이 분할 각도 위치에 있어서의 보정량을, 보정량 테이블 (120) 로부터 판독한다. 보정부 (130) 는, 판독된 보정량에, 산출된 속도비를 곱해 보정값을 산출한다. 보정부 (130) 는, 당해 보정값에 의해 검출 소자의 신호를 보정한다. 요컨대, 유도 전압에 의한 오차는 회전 속도에 비례하기 때문에, 보정부 (130) 는, 수천 rpm 인 특정 회전 속도 (ω) 를 기준으로 하여, 현재의 회전 속도와의 속도비를 사용하여, 실제의 보정값을 산출한다.Correction unit 130 calculates a speed ratio between the rotational speed in the use state and the specific rotational speed ω. Further, the correcting unit 130 calculates the divided angular position from the current rotation angle position, and reads the correction amount at the divided angular position from the correction amount table 120 . Correction unit 130 calculates a correction value by multiplying the read correction amount by the calculated speed ratio. Correction unit 130 corrects the signal of the detection element by the correction value. In short, since the error due to the induced voltage is proportional to the rotational speed, the correcting unit 130 uses the speed ratio with the current rotational speed based on the specific rotational speed ω of several thousand rpm as a standard to obtain the actual Calculate the correction value.

또한, 보정부 (130) 는, 사용 상태에 있어서의 회전 속도와 특정 회전 속도의 속도비의 산출시,In addition, the correction unit 130, when calculating the speed ratio of the rotation speed in the use state and the specific rotation speed,

특정 회전 속도 (ω) (rpm) 는, 하기의 식 (1) 의 관계이고,The specific rotational speed (ω) (rpm) is the relationship of the following formula (1),

ω = D/T/R × 60 …… 식 (1)ω = D/T/R × 60 … … Equation (1)

여기서, R 은 각도 분해능, T 는 샘플링 주기 (초), D 는 특정한 각도 변위값이다.Here, R is the angular resolution, T is the sampling period (seconds), and D is the specific angular displacement value.

또한, 이 특정 회전 속도 (ω) 에 있어서, 사용 상태에 있어서의 회전 속도 (ω') (현재의 회전 속도) 를, 하기의 식 (2) 로 산출한다.In addition, in this specific rotational speed (omega), the rotational speed (omega') (current rotational speed) in a use state is computed by the following formula (2).

ω' = (D'/D) × ω …… 식 (2)ω' = (D'/D) × ω... … Equation (2)

여기서, D' 는, 현재의 샘플링 시간에 있어서의 각도 변위값과 1 개 전의 샘플링 시간에 있어서의 각도 변위값의 차가 되는 분할 각도 차분값이다.Here, D' is a divisional angular difference value that is the difference between the angular displacement value at the current sampling time and the angular displacement value at the previous sampling time.

또한, 보정부 (130) 는, 회전 각도 위치 산출부 (110) 에 의해 산출된 회전 각도 위치로부터, 보정량 테이블 (120) 용 분할 각도 위치를 산출한다. 보정부 (130) 는, 후술하는 바와 같이, 비트 시프트에 의해 이 산출을 고속으로 실행 가능하다.Further, the correction unit 130 calculates the division angle position for the correction amount table 120 from the rotation angle position calculated by the rotation angle position calculation unit 110 . Correction unit 130 can perform this calculation at high speed by bit shifting, as will be described later.

또한, 보정부 (130) 는, 샘플링 주기가 변경된 경우, 특정 회전 속도 (ω) 의 샘플링 주기 (T) 와 변경된 샘플링 주기 (T') 의 비에 대응하는 주기 조정값을 산출하고, 당해 주기 조정값을 적용하여 보정값을 산출한다. 요컨대, 샘플링 주기 (T') 가, 특정 회전 속도 (ω) 의 샘플링 주기 (T) 와 동일한 경우, 주기 조정값은 1 이 된다.Further, when the sampling period is changed, the correction unit 130 calculates a period adjustment value corresponding to the ratio of the sampling period T of the specific rotational speed ω and the changed sampling period T', and adjusts the period. Calculate the correction value by applying the value. In short, when the sampling period T' is equal to the sampling period T of the specific rotational speed ω, the period adjustment value becomes 1.

또한, 보정부 (130) 는, 최종적인 보정값을, 하기의 식 (3) 으로 산출한다 :Further, the correction unit 130 calculates the final correction value by the following equation (3):

보정값 = 보정량 × 속도비 × 주기 조정값/(특정한 라운딩값)…… 식 (3)Correction value = correction amount × speed ratio × cycle adjustment value/(specific rounding value)… … Equation (3)

여기서, 특정한 라운딩값은, 특정 회전 속도 (ω) 에 있어서의 1 회전의 특정한 분할수와, 각도 분해능 (R) 의 관계로 결정되는 값이다. 예를 들어, 특정한 분할수가 256 이고, 각도 분해능 (R) 이 20 비트인 경우, 특정한 라운딩값은 8192 가 된다.Here, the specific rounding value is a value determined by the relationship between a specific division number of one rotation at a specific rotational speed ω and the angular resolution R. For example, when the specific division number is 256 and the angular resolution (R) is 20 bits, the specific rounding value becomes 8192.

또한, 보정부 (130) 는, 사용 상태에 있어서의 회전수의 전체 범위에서, 검출 소자의 신호를 보정한다. 구체적으로는, 보정부 (130) 는, 상기 서술한 사용 상태에 있어서의 회전 속도 (ω') 가 0 (rpm) 으로부터, 검출 상한의 속도의 경우까지, 신호를 보정한다. 또, 보정부 (130) 는, 회전 속도 (ω') 가, 특정한 속도보다 낮은 경우에는, 신호를 보정하지 않도록 구성하는 것도 가능하다.Further, the correction unit 130 corrects the signal of the detection element in the entire range of the rotation speed in the use state. Specifically, the correcting unit 130 corrects the signal from the rotational speed ω' in the above-described use state of 0 (rpm) to the upper detection limit speed. In addition, the correction unit 130 can be configured so as not to correct the signal when the rotational speed ω' is lower than a specific speed.

또한, 보정부 (130) 는, 보정량 테이블 (120) 의 A 상 신호 및 B 상 신호의 각각의 보정량으로부터, A 상 신호 및 B 상 신호의 각각에 대해 보정값을 산출하여 보정한다. 요컨대, 보정부 (130) 는, A 상 신호에 대해서는, A 상 신호 테이블 (121) 의 보정량으로부터 보정값을 산출한다. 또한, 보정부 (130) 는, B 상 신호에 대해서는, B 상 신호 테이블 (122) 의 보정량으로부터 보정값을 산출한다.Further, the correction unit 130 calculates and corrects a correction value for each of the A-phase signal and B-phase signal from the respective correction amounts of the A-phase signal and B-phase signal in the correction amount table 120 . In short, the correction unit 130 calculates a correction value for the A-phase signal from the correction amount of the A-phase signal table 121 . Further, the correction unit 130 calculates a correction value from the correction amount of the B-phase signal table 122 for the B-phase signal.

(보정량 테이블 (120) 의 상세)(Details of correction amount table 120)

여기서, 도 7b 를 참조하여, 보정량 테이블 (120) 의 상세에 대해서 설명한다.Here, with reference to Fig. 7B, details of the correction amount table 120 will be described.

상기 서술한 바와 같이, 보정량 테이블 (120) 은, 검출 소자의 신호에 중첩되는 오차를 없애기 위한 보정량이 기억된 테이블이다. 여기서, 검출 소자는, S 극과 N 극의 자극이 한 쌍 착자된 마그넷 (20) 을 갖는 가동 피검출물과, 마그넷 (20) 에 대향하는 감자 센서 (4) 가 실장된 고정체 (3) 를 포함하고 있다. 이 때문에, 마그넷 (20) 이 회전함으로써 고정체 (3) 에 유기되는 유도 전압이, 회전 속도에 비례하여 검출 소자의 신호에 중첩되는 오차가 된다. 이 오차는, A 상 신호와 B 상 신호에서는, 양면 기판 (5) (도 3) 상의 패턴의 형상이나 두께나 배치의 오차 등의 관계에서, 상이한 값이 중첩된다. 이 때문에, 보정량 테이블 (120) 은, A 상 신호와 B 상 신호 각각에 대해, A 상 신호 테이블 (121) 과 B 상 신호 테이블 (122) 로서 기억된다.As described above, the correction amount table 120 is a table in which correction amounts for eliminating errors superimposed on signals of detection elements are stored. Here, the detecting element is a fixed body 3 mounted with a movable object to be detected having a magnet 20 magnetized with a pair of magnetic poles of S and N poles, and a magnetic sensor 4 opposing the magnet 20. contains For this reason, the induced voltage induced in the stationary body 3 when the magnet 20 rotates becomes an error that is superimposed on the signal of the detection element in proportion to the rotational speed. In the A-phase signal and the B-phase signal, different values of this error overlap in relation to the shape, thickness, or arrangement error of the pattern on the double-sided substrate 5 (FIG. 3). For this reason, the correction amount table 120 is stored as the A-phase signal table 121 and the B-phase signal table 122 for the A-phase signal and the B-phase signal, respectively.

또한, 보정량 테이블 (120) 에서는, 특정 회전 속도 (ω) 에 있어서의 A 상 신호 및 B 상 신호 각각의 오차의 값을 보정량으로 하여, 1 회전을 특정한 분할수로 분할한 분할 각도 위치에 대응하여 기억한다. 또한, 이 분할 각도 위치의 특정한 분할수는, 상기 서술한 식 (1) 의 각도 분해능 (R) 보다 작은 값으로 함으로써, 기억 매체의 기억 영역을 절약할 수 있다. 예를 들어, 도 7b 의 예에서는, 특정한 분할수를 256 으로 하고 있다. 또한, 이 특정한 분할수를 2 의 거듭제곱으로 함으로써, 비트 연산에 의해 고속으로 보정값을 산출하는 것이 가능하다.Further, in the correction amount table 120, the error value of each of the A-phase signal and the B-phase signal at a specific rotational speed ω is taken as the correction amount, and corresponding to the division angle position obtained by dividing one rotation by a specific number of divisions, remember In addition, the storage area of a storage medium can be saved by making the specific division number of this division angular position into a value smaller than the angular resolution R of Formula (1) mentioned above. For example, in the example of FIG. 7B, the specific division number is set to 256. Further, by making this specific division number a power of 2, it is possible to calculate the correction value at high speed by bit arithmetic.

또한, 보정량 테이블 (120) 은, 예를 들어, 축을 정지시킨 상태에서 검출된 A 상 신호 및 B 상 신호 각각의 값과, 특정 회전 속도 (ω) 에 있어서 검출된 A 상 신호 및 B 상 신호 각각의 값을 비교하여 산출하는 것이 가능하다. 도 7b 의 예에서는, A 상 신호 테이블 (121) 과 B 상 신호 테이블 (122) 의 각각에 대해, 1 회전 중의 분할 각도 위치인 0 ∼ 255 에 대응하여, 보정량의 값이 각각 기억되어 있다.In addition, the correction amount table 120 is, for example, the value of each of the A-phase signal and the B-phase signal detected in the state in which the shaft is stopped, and each of the A-phase signal and B-phase signal detected at a specific rotational speed ω It is possible to calculate by comparing the value of In the example of FIG. 7B , for each of the A-phase signal table 121 and the B-phase signal table 122, correction amount values corresponding to 0 to 255, which are division angular positions during one rotation, are stored, respectively.

[회전 각도 위치 검출 처리][Rotation angle position detection processing]

다음으로, 도 8 에 의해, 본 발명의 실시형태에 관련된 인코더부 (10) 에 의한 회전 각도 위치 검출 처리의 설명을 실시한다.Next, with reference to FIG. 8, the rotation angle position detection process by the encoder unit 10 according to the embodiment of the present invention will be described.

본 실시형태의 회전 각도 위치 검출 처리에서는, 현재의 회전 속도를 산출하고, 이 현재의 회전 속도와 특정 회전 속도의 속도비를 산출한다. 또한, 분할 각도 위치에 대응한 보정량을 보정량 테이블 (120) 로부터 판독하여, 산출된 속도비와 곱하여 보정값을 산출한다. 이 보정값에 의해, 보정부 (130) 에 의해 회전 각도 위치를 보정한다. 또한, 샘플링 주파수가 변경된 경우에는, 주기 조정값을 변경한다.In the rotational angle position detection processing of the present embodiment, the current rotational speed is calculated, and the speed ratio between the current rotational speed and the specific rotational speed is calculated. Further, the correction amount corresponding to the divided angular position is read from the correction amount table 120 and multiplied by the calculated speed ratio to calculate a correction value. The rotation angle position is corrected by the correcting unit 130 based on this correction value. In addition, when the sampling frequency is changed, the period adjustment value is changed.

본 실시형태의 회전 각도 위치 검출 처리는, 주로 신호 처리부 (100) 가, 기억 매체에 기억된 제어 프로그램 (도시하지 않음) 을, 각 부와 협동하고 하드웨어 자원을 사용하여 실행한다.The rotational angle position detection process of the present embodiment is mainly executed by the signal processing unit 100 using hardware resources in cooperation with the control program (not shown) stored in the storage medium.

이하에서, 도 8 의 플로차트에 의해, 회전 각도 위치 검출 처리의 상세를 스텝마다 설명한다.Hereinafter, details of the rotational angle position detection processing are explained step by step according to the flow chart of FIG. 8 .

(스텝 S101)(Step S101)

먼저, 회전 각도 위치 산출부 (110) 가, 회전 각도 위치 산출 처리를 실시한다.First, the rotation angle position calculation unit 110 performs rotation angle position calculation processing.

회전체 (2) (도 2) 가 1 회전하면, 감자 센서 (4) (자기 저항 소자) 로부터는, 도 4c 에 나타내는 A 상 신호 (정현파 신호 sin), B 상 신호 (정현파 신호 cos) 가 2 주기분 출력된다. 회전 각도 위치 산출부 (110) 는, 증폭기부 (90) (증폭기부 (90(+A), 90(-A), 90(+B), 90(-B))) 에서 증폭된 이들 A 상 신호 및 B 상 신호로부터, 도 4d 에 나타내는 리사주 도형을 산출하고, 정현파 신호 sin, cos 로부터 θ = tan-1 (sin/cos) 를 산출하고, 가동 피검출물의 각도 위치 (θ) 를 산출한다. 또한, 본 실시형태에서는, 마그넷 (20) 의 중심으로부터 보아 90°(π/2) 어긋난 위치에 제 1 홀 소자 (61) 및 제 2 홀 소자 (62) 가 배치되어 있다. 이 때문에, 제 1 홀 소자 (61) 및 제 2 홀 소자 (62) 의 출력의 조합에 의해, 현재 위치가 정현파 신호 sin, cos 의 어느 구간에 위치하는지를 알 수 있다. 따라서, 인코더부 (10) 는, 감자 센서 (4) 에서의 검출 결과, 제 1 홀 소자 (61) 에서의 검출 결과, 및 제 2 홀 소자 (62) 에서의 검출 결과에 기초하여 회전체 (2) 의 절대 각도 위치 정보로서 회전 각도 위치를 산출한다. 이것에 의해, 앱솔루트 동작을 실시할 수 있다.When the rotating body 2 (FIG. 2) rotates once, the A-phase signal (sine wave signal sin) and the B-phase signal (sinusoidal wave signal cos) shown in FIG. periodic output. The rotational angle position calculating section 110 uses these A phases amplified by the amplifier section 90 (amplifier sections 90(+A), 90(-A), 90(+B), 90(-B))). The Lissajous figure shown in FIG. 4D is calculated from the signal and the B-phase signal, θ = tan -1 (sin/cos) is calculated from the sinusoidal signal sin, cos, and the angular position (θ) of the moving object is calculated. . Further, in the present embodiment, the first Hall element 61 and the second Hall element 62 are disposed at positions shifted by 90° (π/2) as viewed from the center of the magnet 20. For this reason, by combining the outputs of the first Hall element 61 and the second Hall element 62, it is possible to know which section of the sinusoidal signal sin, cos the current position is located. Therefore, the encoder unit 10, based on the detection result in the potato sensor 4, the detection result in the first Hall element 61, and the detection result in the second Hall element 62, the rotating body 2 ) calculates the rotation angle position as absolute angular position information. Thereby, absolute operation can be performed.

또한, 회전 각도 위치 산출부 (110) 는, 현재의 샘플링 시간에 있어서의 회전 각도 위치와, 1 개 전의 샘플링 시간에 있어서의 회전 각도 위치의 차를 각도 변위값 (D') 으로서 산출한다.Further, the rotational angle position calculation unit 110 calculates the difference between the rotational angle position at the current sampling time and the rotational angle position at the previous sampling time as the angular displacement value D'.

(스텝 S102)(Step S102)

다음으로, 보정부 (130) 가, 속도비 산출 처리를 실시한다.Next, the correction unit 130 performs a speed ratio calculation process.

상기 서술한 바와 같이, 보정부 (130) 는, 특정 회전 속도 (ω) 에 있어서, 사용 상태에 있어서의 회전 속도 (ω') (현재의 회전 속도) 를, 하기의 식 (2) 로 산출 가능하다.As described above, the correction unit 130 can calculate the rotational speed ω' (current rotational speed) in the use state in the specific rotational speed ω by the following formula (2) Do.

ω' = (D'/D) × ω …… 식 (2)ω' = (D'/D) × ω... … Equation (2)

여기서, 각도 변위값 (D) 은, 상기 서술한 바와 같이, 특정 회전 속도 (ω) 에 관련된 특정한 각도 변위값이다.Here, the angular displacement value D is a specific angular displacement value related to a specific rotational speed ω, as described above.

구체적으로는, 보정부 (130) 는, D'/D 의 값을 속도비로서 산출한다.Specifically, the correction unit 130 calculates the value of D'/D as a speed ratio.

(스텝 S103)(Step S103)

다음으로, 보정부 (130) 가, 보정값 산출 처리를 실시한다.Next, the correction unit 130 performs a correction value calculation process.

보정부 (130) 는, 먼저, 회전 각도 위치 산출부 (110) 에 의해 회전 각도 위치를 특정한 라운딩값으로 나누어, 보정량 테이블 (120) 에 대응한 분할 각도 위치를 산출한다. 보정부 (130) 는, 상기 서술한 예와 같이, 각도 분해능 (R) 이 20 비트인 경우, 회전 각도 위치를 특정한 라운딩값으로서 8192 로 나눔으로써, 0 ∼ 255 까지의 분할 각도 위치를 산출한다. 보정부 (130) 는, 8192 로 나누는 것 대신에, 회전 각도 위치를 14 비트 우측 시프트함으로써, 이 산출을 고속화할 수 있다. 보정부 (130) 는, 이 분할 각도 위치에 대응한 보정량을, A 상 신호에 대해서는 A 상 신호 테이블 (121) 로부터, B 상 신호에 대해서는 B 상 신호 테이블 (122) 로부터 각각 취득한다.The correction unit 130 first divides the rotation angle position by the rotation angle position calculation unit 110 by a specific rounding value, and calculates the division angle position corresponding to the correction amount table 120 . As in the example described above, when the angular resolution R is 20 bits, the correction unit 130 divides the rotation angular position by 8192 as a specific rounding value to calculate divided angular positions from 0 to 255. Correction unit 130 can speed up this calculation by right-shifting the rotation angle position by 14 bits instead of dividing by 8192. The correction unit 130 obtains the correction amount corresponding to the division angle position from the A-phase signal table 121 for the A-phase signal and from the B-phase signal table 122 for the B-phase signal, respectively.

또한, 보정부 (130) 는, 하기의 식 (3) 에 의해, 최종적인 보정값을 산출한다 :Further, the correction unit 130 calculates the final correction value by the following equation (3):

보정값 = 보정량 × 속도비 × 주기 조정값/(특정한 라운딩값) …… 식 (3)Correction value = correction amount × speed ratio × cycle adjustment value/(specific rounding value) … … Equation (3)

이 때, 보정부 (130) 는, A 상 신호 및 B 상 신호에 대해서, 각각 보정값을 산출한다.At this time, the correcting unit 130 calculates correction values for the A-phase signal and the B-phase signal, respectively.

(스텝 S104)(Step S104)

다음으로, 보정부 (130) 가, 샘플링 주기가 변경되었는지의 여부를 판정한다. 보정부 (130) 는, 상위 기기 (13) 나 제어 장치 (12) 로부터의 제어 신호 등에 의해 샘플링 주기가 변경된 경우에, 예라고 판정한다. 보정부 (130) 는, 그것 이외의 경우에는, 아니오라고 판정한다.Next, the correction unit 130 determines whether or not the sampling period has changed. The correcting unit 130 determines YES when the sampling period is changed by a control signal or the like from the host device 13 or the control device 12. Correction unit 130 determines NO in other cases.

예의 경우, 보정부 (130) 는, 처리를 스텝 S105 로 진행한다.In the case of YES, the correction unit 130 proceeds the process to step S105.

아니오의 경우, 보정부 (130) 는, 회전 각도 위치 검출 처리를 종료한다.In the case of NO, the correction unit 130 ends the rotation angle position detection process.

(스텝 S105)(Step S105)

샘플링 주기가 변경된 경우, 보정부 (130) 가, 주기 조정값 산출 처리를 실시한다.When the sampling period is changed, the correction unit 130 performs a period adjustment value calculation process.

보정부 (130) 는, 샘플링 주기가 변경된 경우, 특정 회전 속도 (ω) 의 샘플링 주기 (T) 에 기초하여 주기 조정값을 산출한다.When the sampling period is changed, the correcting unit 130 calculates a period adjustment value based on the sampling period T of the specific rotational speed ω.

예를 들어, 보정부 (130) 는, 특정 회전 속도 (ω) 의 샘플링 주기 (T) 가 62.5 μ초였던 경우, 이것을 40 μ초로 변경하는 경우에, 62.5/40 = 25/16 으로 하여 주기 조정값을 산출한다.For example, when the sampling period T of the specific rotation speed ω is 62.5 μsec, the correction unit 130 adjusts the period as 62.5/40 = 25/16 when changing this to 40 μsec. Calculate the value.

또한, 보정부 (130) 는, 동일하게 샘플링 주기를 50 μ초로 변경하는 경우에는 5/4, 80 μ초의 경우에는 25/32, 100 μ초의 경우에는 5/8, 125 μ초의 경우에는 1/2 등으로 하여, 주기 조정값을 산출한다. 이와 같이, 주기 조정값의 분모를 2 의 거듭제곱의 값으로 함으로써, 보정부 (130) 는, 상기 서술한 식 (3) 을 비트 시프트로 고속으로 연산하는 것이 가능해진다.In addition, the correction unit 130 similarly changes the sampling period to 50 μsec, 5/4, 80 μsec, 25/32, 100 μsec, 5/8, 125 μsec, 1/ 2, etc., the period adjustment value is calculated. In this way, by setting the denominator of the cycle adjustment value to a value of a power of 2, the correction unit 130 can calculate the above-described equation (3) at high speed by bit shifting.

또한, 보정부 (130) 는, 다음의 보정값의 산출시부터, 산출된 주기 조정값을 적용하여 보정값을 산출한다.Further, the correction unit 130 calculates a correction value by applying the calculated cycle adjustment value from the time of calculating the next correction value.

이상에 의해, 본 발명의 실시형태에 관련된 회전 각도 위치 검출 처리를 종료한다.With the above, the rotation angle position detection process according to the embodiment of the present invention is ended.

[본 발명의 실시형태에 관련된 주된 효과][Main Effects Related to Embodiments of the Invention]

이상과 같이 구성함으로써, 이하와 같은 효과를 얻을 수 있다.By configuring as above, the following effects can be obtained.

종래, 자기식 인코더에서는, 동작시에 출력값에 오차 (속도 리플) 가 발생하는 것이 문제로 되어 있었다. 이것은, 마그넷이 기판의 근방에서 회전함으로써 배선 패턴에 발전이 발생하고, 그 유도 전압이 자기 센서의 출력에 중첩되기 때문이었다.[0003] Conventionally, magnetic encoders have been problematic in that an error (velocity ripple) occurs in an output value during operation. This is because power generation occurs in the wiring pattern when the magnet rotates near the substrate, and the induced voltage is superimposed on the output of the magnetic sensor.

이것에 대하여, 본 발명의 실시형태에 관련된 인코더부 (10) 는, 검출 소자의 신호로부터 회전 각도 위치를 검출하는 회전 각도 위치 산출부 (110) 를 구비하고, 회전 속도에 비례하여 검출 소자의 신호에 중첩되는 오차를 없애기 위한 보정량을, 특정 회전 속도에 있어서의 1 회전 중에서 분할된 분할 각도 위치에 대응하여 기억하는 보정량 테이블 (120) 과, 사용 상태에 있어서의 회전 속도와 특정 회전 속도의 속도비를 산출하고, 보정량 테이블 (120) 에 기억된 보정량으로부터, 산출된 속도비 및 분할 각도 위치에 대응한 보정값을 산출하는 보정부 (130) 를 구비하는 것을 특징으로 한다.In contrast, the encoder unit 10 according to the embodiment of the present invention includes a rotation angle position calculation unit 110 that detects the rotation angle position from the signal of the detection element, and the signal of the detection element is proportional to the rotation speed. A correction amount table 120 for storing correction amounts for eliminating errors overlapping in correspondence to division angle positions divided during one rotation at a specific rotational speed, and a speed ratio between the rotational speed and the specific rotational speed in use and a correction unit 130 that calculates a correction value corresponding to the calculated speed ratio and division angle position from the correction amount stored in the correction amount table 120.

이와 같이 구성함으로써, 회전 속도에 비례하여 중첩되는 오차의 보정을, 사용 상태의 회전 속도에 맞춰 환산하여 보정하는 것이 가능해진다. 이것에 의해, 사용 상태에 대응한 회전 각도 위치의 보정을 할 수 있고, 회전 각도 위치의 검출 정밀도를 높일 수 있다.By configuring in this way, it becomes possible to correct the error overlapping in proportion to the rotational speed by converting it according to the rotational speed in the use state. In this way, it is possible to correct the rotational angle position corresponding to the usage condition, and increase the detection accuracy of the rotational angle position.

또한, 본 발명의 실시형태에 관련된 인코더부 (10) 는, 검출 소자가, S 극과 N 극의 자극이 한 쌍 착자된 마그넷 (20) 을 갖는 가동 피검출물과, 마그넷 (20) 에 대향하는 감자 센서 (4) 가 실장된 고정체 (3) 를 포함하고, 회전 속도에 비례하여 검출 소자의 신호에 중첩되는 오차는, 마그넷 (20) 이 회전함으로써 고정체 (3) 에 유기되는 유도 전압인 것을 특징으로 한다.Further, in the encoder unit 10 according to the embodiment of the present invention, the detecting element faces a movable object to be detected having a magnet 20 in which a pair of magnetic poles of the S pole and the N pole are magnetized, and the magnet 20 is opposed. The error superimposed on the signal of the detection element in proportion to the rotational speed is induced voltage induced in the stationary body 3 by the rotation of the magnet 20. It is characterized by being

이와 같이 구성함으로써, 하기와 같은 효과가 얻어진다. 여기서, 회전 자속에 의해 유기되는 유도 전압은 회전 속도에 비례하여 발생한다. 이 때문에, 특정 회전 속도에서의 보정량을 보정 테이블에 기억해 두고, 사용 상태에 있어서의 회전 속도와 특정 회전 속도의 속도비를 계산함으로써, 그 속도비에 따라 환산하면, 용이하게 적절한 보정을 실시할 수 있다. 또한, 특정 회전 속도에서의 보정량만을 보정량 테이블 (120) 에 기억해 두면 되므로, 보정량 테이블 (120) 의 작성 시간을 적게 하여, 기억 매체의 비용을 삭감할 수 있다.By configuring in this way, the following effects are obtained. Here, the induced voltage induced by the rotating magnetic flux is generated in proportion to the rotating speed. For this reason, by storing the correction amount at a specific rotational speed in a correction table and calculating the speed ratio between the rotational speed and the specific rotational speed in use, and converting according to the speed ratio, appropriate correction can be easily performed. there is. In addition, since only the correction amount at a specific rotational speed needs to be stored in the correction amount table 120, the creation time of the correction amount table 120 can be reduced, and the cost of the storage medium can be reduced.

또한, 본 발명의 실시형태에 관련된 인코더부 (10) 는, 보정부 (130) 가, 사용 상태에 있어서의 회전 속도와 특정 회전 속도의 속도비의 산출시, 특정 회전 속도 (ω) (rpm) 를, 하기의 식 (1) 로 산출하고,Further, in the encoder unit 10 according to the embodiment of the present invention, when the correction unit 130 calculates the speed ratio between the rotation speed in use and the specific rotation speed, the specific rotation speed ω (rpm) is calculated by the following formula (1),

ω = D/T/R × 60 …… 식 (1)ω = D/T/R × 60 … … Equation (1)

여기서, R 은 각도 분해능, T 는 샘플링 주기 (초), D 는 각도 변위값이고,where R is the angular resolution, T is the sampling period (seconds), D is the angular displacement value,

이 특정 회전 속도 (ω) 에 있어서, 사용 상태에 있어서의 회전 속도 (ω') 를, 하기의 식 (2) 로 산출한다.In this specific rotational speed (ω), the rotational speed (ω') in the use state is calculated by the following formula (2).

ω' = (D'/D) × ω …… 식 (2)ω' = (D'/D) × ω... … Equation (2)

여기서, D' 는, 현재의 샘플링 시간에 있어서의 각도 변위값과 1 개 전의 샘플링 시간에 있어서의 각도 변위값의 차가 되는 분할 각도 차분값인 것을 특징으로 한다.Here, D' is characterized by being a division angular difference value that is a difference between an angular displacement value at the current sampling time and an angular displacement value at one previous sampling time.

이와 같이 구성함으로써, 1 샘플링 주기 사이의 분할 각도 차분값을 산출하는 것만으로, 사용 상태에 있어서의 회전 속도를 산출할 수 있다. 이 때문에, 사용 상태의 회전 속도에 있어서의 보정량을 용이하게 산출할 수 있다.By configuring in this way, the rotational speed in the use state can be calculated only by calculating the division angle difference value between one sampling period. For this reason, the amount of correction in the rotational speed in a used state can be easily calculated.

또한, 본 발명의 실시형태에 관련된 인코더부 (10) 는, 보정부 (130) 가, 사용 상태에 있어서의 회전수의 전체 범위에서, 회전 각도 위치를 보정하는 것을 특징으로 한다.Further, the encoder unit 10 according to the embodiment of the present invention is characterized in that the correction unit 130 corrects the rotational angle position in the entire range of the number of revolutions in the use state.

이와 같이 구성함으로써, 사용 상태의 회전 속도에 의해, 회전 각도 위치의 보정을 실행하는지의 여부를 경우에 따라 구분할 필요가 없어진다. 이 때문에, 보정의 연산을 용이하게 할 수 있어, 비용을 삭감할 수 있다.With this configuration, it is not necessary to distinguish depending on the case whether or not the rotational angle position is corrected according to the rotational speed in the use state. For this reason, calculation of correction can be made easy, and cost can be reduced.

또한, 유도 기전력에 의한 오차는 회전 속도에 비례하기 때문에, 회전수가 낮을 때에는 보정량도 작아진다. 이 때문에, 사용 상태에 있어서의 회전수의 전체 범위에서 보정을 해도, 오차를 늘리는 일이 없다. 또한, 경우에 따른 구분에 의한 오차 특성의 차 등을 감소시킬 수도 있다.Further, since the error due to the induced electromotive force is proportional to the rotational speed, the amount of correction also decreases when the rotational speed is low. For this reason, even if the correction is performed in the entire range of the rotation speed in the use condition, the error is not increased. In addition, it is possible to reduce differences in error characteristics due to classification according to cases.

또한, 본 발명의 실시형태에 관련된 인코더부 (10) 는, 검출 소자가, 감자 센서 (4) 가, 가동 피검출물의 변위에 대응한 A 상 센서 및 B 상 센서를 포함하고, A 상 센서로부터는 정현파상의 A 상 신호가 출력되고, B 상 센서로부터는 정현파상의 B 상 신호가 출력되고, A 상 신호와 B 상 신호의 위상차가 대략 π/2 이고, 회전 각도 위치 산출부 (110) 가, A 상 신호 및 B 상 신호로부터 XY 평면 상의 리사주 파형을 산출하여 해석함으로써 가동 피검출물의 각도 위치를 검출하고, 검출된 각도 위치에 의해 회전 각도 위치를 산출하고, 보정량 테이블 (120) 이, A 상 신호 및 B 상 신호의 각각에 대해 보정량을 기억하고, 보정부 (130) 가, 보정량 테이블 (120) 의 A 상 신호 및 B 상 신호의 각각의 보정량으로부터, A 상 신호 및 B 상 신호의 각각에 대해 보정값을 산출하여 보정하는 것을 특징으로 한다.In addition, the encoder part 10 concerning the embodiment of the present invention, the detecting element, the magnetic sensor 4 includes an A-phase sensor and a B-phase sensor corresponding to the displacement of the movable object to be detected, and from the A-phase sensor A sine wave phase A signal is output, a sine wave phase B signal is output from the B phase sensor, the phase difference between the A phase signal and the B phase signal is approximately π/2, and the rotation angle position calculation unit 110, By calculating and analyzing the Lissajous waveform on the XY plane from the A-phase signal and the B-phase signal, the angular position of the movable object to be detected is detected, the rotational angular position is calculated from the detected angular position, and the correction amount table 120 is A A correction amount is stored for each of the phase signal and the B-phase signal, and the correction unit 130 calculates each of the A-phase signal and the B-phase signal from the correction amount of the A-phase signal and the B-phase signal in the correction amount table 120. It is characterized in that a correction value is calculated and corrected for .

이와 같이 구성함으로써, 회전 속도에 비례하여 중첩되는 오차가 A 상 신호와 B 상 신호에서 상이해도, A 상 신호와 B 상 신호의 양방에 보정 테이블이 있기 때문에, 각각 최적의 보정값을 얻는 것이 가능해진다. 따라서, 회전 각도 위치의 검출 정밀도를 높일 수 있다.With this configuration, even if the overlapping error in proportion to the rotational speed differs between the A-phase signal and the B-phase signal, since both the A-phase signal and the B-phase signal have correction tables, it is possible to obtain an optimum correction value for each. It happens. Therefore, the detection accuracy of the rotation angle position can be improved.

또한, 본 발명의 실시형태에 관련된 인코더부 (10) 는, 고정체 (3) 가, 일방면측에 감자 센서 (4) 가 실장되고, 타방면측에 반도체 장치 (9) 가 실장된 양면 기판 (5) 을 갖고, 반도체 장치 (9) 가, 감자 센서 (4) 로부터의 출력 신호를 증폭하는 증폭기부 (90) 를 구비하고, 감자 센서 (4) 와 반도체 장치 (9) 는, 적어도 일부끼리가 양면 기판 (5) 의 두께 방향에 있어서 겹치는 위치에 배치되고, 감자 센서 (4) 와 반도체 장치 (9) 는, 양면 기판에 있어서 감자 센서 및 반도체 장치의 적어도 일방에 양면 기판 (5) 의 두께 방향에서 겹치는 위치에 형성된 복수의 스루홀 (50) 을 통해 전기적으로 접속되어 있는 것을 특징으로 한다.In addition, the encoder unit 10 according to the embodiment of the present invention is a fixed body 3, the magnetic sensor 4 is mounted on one side, and the double-sided substrate on which the semiconductor device 9 is mounted on the other side ( 5), and the semiconductor device 9 is provided with an amplifier unit 90 that amplifies the output signal from the magnetic sensor 4, and the magnetic sensor 4 and the semiconductor device 9 are at least part of each other Arranged at overlapping positions in the thickness direction of the double-sided board 5, the magnetic sensor 4 and the semiconductor device 9 are at least one of the magnetic sensor and the semiconductor device in the double-sided board in the thickness direction of the double-sided board 5 It is characterized in that it is electrically connected through a plurality of through holes (50) formed at overlapping positions in

이와 같이 구성함으로써, 스루홀 (50) 은, 감자 센서 (4) 및 반도체 장치 (9) 의 적어도 일방과 겹치는 위치에 형성되어 있기 때문에, 감자 센서 (4) 로부터의 출력의 전송 경로가 짧아진다. 이 때문에, 감자 센서 (4) 로부터의 출력의 전송 경로에서 발생하는 유도 노이즈가 작아지고, 유도 전압에 기인하는 노이즈의 영향을 완화시킬 수 있다.By comprising in this way, since the through hole 50 is formed in the position overlapping with at least one of the magnetically sensitive sensor 4 and the semiconductor device 9, the transmission path of the output from the magnetically sensitive sensor 4 becomes short. For this reason, the induced noise which arises in the transmission path of the output from the magnetically sensitive sensor 4 can become small, and the influence of the noise resulting from an induced voltage can be alleviated.

또한, 본 발명의 실시형태에 관련된 인코더부 (10) 는, 감자 센서 (4) 에 있어서, 감자막이 형성된 감자 센서측 칩과 제 1 출력 단자 사이의 감자 센서측 제 1 배선 및 감자 센서측 칩과 제 2 출력 단자 사이의 감자 센서측 제 2 배선이 마그넷 (20) 의 자속과 쇄교함으로써 발생하는 제 1 유도 전압, 복수의 스루홀 중, 제 1 출력 단자에 대응하는 제 1 스루홀 및 제 2 출력 단자에 대응하는 제 2 스루홀이 마그넷 (20) 의 자속과 쇄교함으로써 발생하는 제 2 유도 전압, 및 반도체 장치 (9) 에 있어서, 증폭기부 (90) 가 형성된 증폭기측 칩과 제 1 출력 단자에 전기적으로 접속하는 제 1 입력 단자 사이의 증폭기측 제 1 배선, 및 증폭기측 칩과 제 2 출력 단자에 전기적으로 접속하는 제 2 입력 단자 사이의 증폭기측 제 2 배선이 마그넷 (20) 의 자속과 쇄교함으로써 발생하는 제 3 유도 전압은, 어느 1 개의 유도 전압과 다른 2 개의 유도 전압이 없어지도록 형성되어 있는 것을 특징으로 한다.In addition, the encoder unit 10 according to the embodiment of the present invention, in the potato sensor 4, the potato sensor side first wiring and the potato sensor side chip between the potato sensor side chip and the first output terminal on which the potato film is formed The first induced voltage generated by linking the second wire on the magnetic sensor side between the second output terminals with the magnetic flux of the magnet 20, the first through hole and the second output corresponding to the first output terminal among the plurality of through holes The second induced voltage generated when the second through hole corresponding to the terminal links with the magnetic flux of the magnet 20, and in the semiconductor device 9, to the amplifier side chip on which the amplifier section 90 is formed and to the first output terminal The first wiring on the amplifier side between the first input terminal electrically connected and the second wiring on the amplifier side between the second input terminal electrically connected to the chip on the amplifier side and the second output terminal are linked with the magnetic flux of the magnet 20 The third induced voltage generated by doing this is characterized in that it is formed so that one induced voltage and two other induced voltages disappear.

이와 같이 구성함으로써, 유도 전압끼리를 서로 상쇄시킬 수 있어, 유도 전압에 기인하는 노이즈의 영향을 완화시킬 수 있다.By configuring in this way, the induced voltages can be canceled with each other, and the influence of noise caused by the induced voltage can be alleviated.

또한, 본 발명의 실시형태에 관련된 인코더부 (10) 는, 보정부 (130) 가, 샘플링 주기가 변경된 경우, 특정 회전 속도 (ω) 의 샘플링 주기 (T) 와 변경된 샘플링 주기 (T') 에 대응하는 주기 조정값을 산출하고, 당해 주기 조정값을 적용하여 보정값을 산출하는 것을 특징으로 한다.Further, in the encoder unit 10 according to the embodiment of the present invention, the correcting unit 130 determines the sampling period T of the specific rotational speed ω and the changed sampling period T' when the sampling period is changed. A corresponding period adjustment value is calculated, and a correction value is calculated by applying the period adjustment value.

이와 같이 구성함으로써, 설계 단계에서의 변경이나, 사용시의 동작 모드의 변경 등에 의해 샘플링 주기를 변경할 필요가 있어도, 먼저 작성한 보정 테이블을 용이하게 사용하여, 회전 각도 위치를 보정할 수 있다. 이 때문에, 개발 비용을 삭감할 수 있다.With this configuration, even if it is necessary to change the sampling cycle due to a change in the design stage or a change in operation mode during use, the rotation angle position can be corrected by easily using the previously created correction table. For this reason, development cost can be reduced.

(실시예)(Example)

다음으로, 도 9a, 도 9b 를 참조하여, 본 실시형태의 회로의 배치 구성에 있어서의 인코더부 (10) 의 출력을, 신호 처리부 (100) 에 의해 보정한 실시예에 대해서 설명한다. 또, 이하의 실시예는, 본 발명을 한정하는 것은 아니다.Next, with reference to FIGS. 9A and 9B , an example in which the signal processing unit 100 corrects the output of the encoder unit 10 in the circuit layout of the present embodiment will be described. In addition, the following examples do not limit the present invention.

회전 속도 5859 rpm 으로, 타장치에 의한 구동으로 모터를 회전시키고, 샘플링 주기 (T) 를 80 μ초 주기로 A 상 신호 (sin), B 상 신호 (cos) 의 값을 동시 취득하였다. 취득한 A 상 신호, B 상 신호의 리사주 도형으로부터, 각도 오차를 계산하였다. 이 리사주 도형의 파형에, 1 주기의 SIN 파를 중첩시켜 다시 오차를 계산하였다.At a rotational speed of 5859 rpm, the motor was rotated by driving by another device, and the values of the A-phase signal (sin) and B-phase signal (cos) were simultaneously acquired at a sampling period (T) of 80 µsec. An angular error was calculated from the Lissajous figure of the acquired A-phase signal and B-phase signal. On the waveform of this Lissajous figure, a SIN wave of one cycle was superimposed, and the error was calculated again.

또한, 중첩시키는 파형의 위상·진폭을 변화시키고, 오차가 최소가 되는 값을 유도 전압의 발전 전압으로서 산출하였다.In addition, the phase and amplitude of the superimposed waveform were changed, and the value at which the error was minimized was calculated as the generated voltage of the induced voltage.

도 9a 는, 비교예이고, 신호 처리부 (100) 에 의해 보정을 하지 않은 상태에서 회전 속도를 변화시켰을 때의 발전 전압을 산출한 결과의 그래프이다. 가로축은, 회전 각도 위치의 값을 나타낸다. 세로축은, 발전 전압을 A/D 변환한 값 (디지트) 을 나타낸다. 오차 보정을 하지 않은 경우, 회전 속도에 비례하여 발전 전압이 발생하는 것을 알 수 있다. 이 때, 8000 rpm 에서 COS 발전 전압에 의한 오차의 최대값은, 진폭 : 3250 디지트/20 비트 해상도, 위상 : 14.75°가 되고, SIN 발전 전압에 의한 오차의 최대값은, 진폭 : 3575 디지트/20 비트 해상도이며, 위상 : -48.875°가 되었다.FIG. 9A is a comparative example and is a graph of a result of calculating the generated voltage when the rotational speed is changed in a state where correction is not performed by the signal processing unit 100. FIG. The horizontal axis represents the value of the rotation angle position. The vertical axis represents the value (digit) obtained by A/D conversion of the generated voltage. When error correction is not performed, it can be seen that the generated voltage is generated in proportion to the rotation speed. At this time, at 8000 rpm, the maximum value of the error due to the COS generation voltage is amplitude: 3250 digits/20 bit resolution, phase: 14.75°, and the maximum value of the error due to the SIN generation voltage is amplitude: 3575 digits/20 bits. bit resolution, and phase: became -48.875°.

도 9b 는, 실시예이고, 신호 처리부 (100) 에 의해 보정을 한 상태에서 회전 속도를 변화시켰을 때의 발전 전압을 산출한 결과의 그래프이다. 보정을 실시함으로써, 회전 속도에 비례하는 유도 전압에 의한 오차의 영향을 완화시킬 수 있었던 것을 알 수 있다. 결과적으로, COS 발전 전압 및 SIN 발전 전압에 의한 오차를, 최대값의 1/5 이하로 삭감할 수 있었다.9B is an example, and is a graph of a result of calculating the generated voltage when the rotational speed is changed in a state of correction by the signal processing unit 100. It is understood that the effect of the error due to the induced voltage proportional to the rotational speed could be mitigated by performing the correction. As a result, the error due to the COS power generation voltage and the SIN power generation voltage could be reduced to 1/5 or less of the maximum value.

[다른 실시형태][Other Embodiments]

또, 상기 서술한 실시형태에서는, 감자 센서 (4) 가 마그넷 (20) 에 대하여 회전 중심 축선 (L) 방향에서 대향하고 있는 예에 대해서 기재하였다. 그러나, 링상의 마그넷 (20) 의 외주면 또는 외주면에 감자 센서 (4) 가 대향하고 있는 인코더부 (10) 에 본 실시형태의 회로를 적용해도 된다.Moreover, in the above-mentioned embodiment, the magnetic sensor 4 described about the example facing the magnet 20 in the direction of the rotation center axis line L. However, you may apply the circuit of this embodiment to the encoder part 10 in which the magnetic sensor 4 opposes the outer peripheral surface or outer peripheral surface of the ring-shaped magnet 20.

이와 같이 구성함으로써, 인코더부 (10) 의 구성의 배리에이션을 늘리고, 설계를 용이하게 할 수 있다.By configuring in this way, variations in the configuration of the encoder section 10 can be increased and design can be facilitated.

또한, 상기 실시형태에서는, 감자 센서용 제 1 랜드 (랜드 (51(+A))) 로부터 반도체 장치용 제 1 랜드 (랜드 (53(+A))) 로의 전송 경로와, 감자 센서용 제 2 랜드 (랜드 (51(-A))) 로부터 반도체 장치용 제 2 랜드 (랜드 (53(-A))) 로의 전송 경로는, 양면 기판 (5) 의 타방면 (502) 에서 위치가 전환되어 있다. 이 때문에, 제 3 유도 전압을 제 1 유도 전압과 제 2 유도 전압에 의해 없애고 있다. 이것에 대하여, 감자 센서용 제 1 랜드 (랜드 (51(+A))) 로부터 반도체 장치용 제 1 랜드 (랜드 (53(+A))) 로의 전송 경로와, 감자 센서용 제 2 랜드 (랜드 (51(-A))) 로부터 반도체 장치용 제 2 랜드 (랜드 (53(-A))) 로의 전송 경로는, 양면 기판 (5) 의 일방면 (501) 에서 위치가 전환되어 있는 구성을 채용해도 된다. 이 경우, 제 1 유도 전압을 제 2 유도 전압과 제 3 유도 전압에 의해 없애게 된다. 이러한 경우, 회전 중심 축선 (L) 방향에서 보았을 때, 감자 센서용 제 1 랜드 (랜드 (51(+A))) 와 감자 센서용 제 2 랜드 (랜드 (51(-A))) 를 연결하는 가상선에 대하여, 반도체 장치용 제 1 랜드 (랜드 (53(+A))) 와 반도체 장치용 제 2 랜드 (랜드 (53(-A))) 를 연결하는 가상선, 및 제 1 스루홀 (스루홀 (50(+A))) 과 제 2 스루홀 (스루홀 (50(-A))) 을 연결하는 가상선 중의 적어도 1 세트의 가상선이 평행하게 연장되어 있는 구성으로 한다. 설명을 생략하지만, B 상도 동일하다.Further, in the above embodiment, the transmission path from the first land (land 51 (+A)) for the magnetic sensor to the first land (land (53 (+A))) for the semiconductor device, and the second land for the magnetic sensor The position of the transmission path from the land (land 51(-A)) to the second land (land 53(-A)) for semiconductor devices is switched on the other side 502 of the double-sided substrate 5. For this reason, the third induced voltage is canceled by the first induced voltage and the second induced voltage. In contrast, the transmission path from the first land (land 51 (+A)) for the magnetic sensor to the first land (land (53 (+A))) for the semiconductor device, and the second land (land 51 (+A)) for the magnetic sensor The transmission path from 51(-A)) to the second land for semiconductor devices (land 53(-A)) adopts a configuration in which the position is switched on one side 501 of the double-sided substrate 5. You can do it. In this case, the first induced voltage is canceled by the second induced voltage and the third induced voltage. In this case, when viewed from the direction of the rotation center axis (L), connecting the first land (land (51 (+A))) for the magnetic sensor and the second land (land (51 (-A))) for the magnetic sensor Regarding the virtual line, a virtual line connecting the first land (land 53(+A)) for the semiconductor device and the second land (land 53(-A)) for the semiconductor device, and the first through hole ( At least one set of virtual lines among the virtual lines connecting the through hole 50(+A) and the second through hole (through hole 50(-A)) extends in parallel. The description is omitted, but the B phase is also the same.

이와 같이 구성하는 것으로, 유도 전압의 발생을 유연하게 억제하도록 설계를 최적화하여, 오차를 적게 할 수 있다.With this configuration, the design can be optimized so as to flexibly suppress the generation of the induced voltage, and the error can be reduced.

또한, 상기 서술한 실시형태에 있어서는, 회로의 배치 구성과 신호 처리부 (100) 의 구성에 의해, 유도 전압에 의한 오차의 영향을 삭감하였다. 그러나, 신호 처리부 (100) 의 구성에 의해서만, 오차의 영향을 삭감하는 것도 가능하다.Further, in the above-described embodiment, the influence of the error due to the induced voltage is reduced by the layout of the circuit and the structure of the signal processing unit 100. However, it is also possible to reduce the influence of the error only by the configuration of the signal processing unit 100.

이와 같이 구성함으로써, 기판의 설계 등을 유연화할 수 있고, 비용을 삭감할 수 있다.By configuring in this way, the design of the board can be made flexible, and the cost can be reduced.

또한, 상기 서술한 실시형태에 있어서는, A 상 신호와 B 상 신호의 각각에 대해, 보정 테이블을 준비한 예에 대해서 기재하였다. 그러나, A 상 신호와 B 상 신호로부터 산출된 리사주 도형의 각도에 대응한 하나의 보정 테이블을 준비해도 된다.In addition, in the embodiment described above, an example in which a correction table was prepared for each of the A-phase signal and the B-phase signal was described. However, one correction table corresponding to the angle of the Lissajous figure calculated from the A-phase signal and the B-phase signal may be prepared.

이와 같이 구성함으로써, 기억 매체의 보정 테이블의 용량을 삭감할 수 있고, 연산 자원도 삭감할 수 있기 때문에 비용을 삭감할 수 있다.With this configuration, the capacity of the correction table in the storage medium can be reduced, and since computational resources can also be reduced, cost can be reduced.

또, 상기 실시형태의 구성 및 동작은 예이며, 본 발명의 취지를 일탈하지 않는 범위에서 적절히 변경하여 실행할 수 있는 것은 말할 필요도 없다.In addition, the configuration and operation of the above embodiment are examples, and it goes without saying that they can be appropriately changed and implemented within a range not departing from the spirit of the present invention.

1 : 인코더 장치
2 : 회전체
3 : 고정체
4 : 감자 센서 (센서 IC)
5 : 양면 기판
9 : 반도체 장치 (증폭기 IC)
10 : 인코더부
11 : 모터
12 : 제어 장치
13 : 상위 기기
20 : 마그넷
21 : 착자면
40 : 칩 (감자 센서측 칩)
41 ∼ 44 : 감자막
45 : 소자 기판
47 : 감자 센서의 소자 기판 (칩) 과 출력 단자 사이의 감자 센서측 배선
47(+A) : 감자 센서측 배선 (감자 센서측 제 1 배선)
47(-A) : 감자 센서측 배선 (감자 센서측 제 2 배선)
47(+B) : 감자 센서측 배선 (감자 센서측 제 1 배선)
47(-B) : 감자 센서측 배선 (감자 센서측 제 2 배선)
48 : 감자 센서의 출력 단자
48(+A) : 출력 단자 (감자 센서의 제 1 출력 단자)
48(-A) : 출력 단자 (감자 센서의 제 2 출력 단자)
48(+B) : 출력 단자 (감자 센서의 제 1 출력 단자)
48(-B) : 출력 단자 (감자 센서의 제 2 출력 단자)
48(Vcc) : 전원 단자
48(GND) : 그라운드 단자
50 : 스루홀
50(+A) : 제 1 스루홀
50(-A) : 제 2 스루홀
50(+B) : 제 1 스루홀
50(-B) : 제 2 스루홀
51 : 감자 센서측 랜드
51(+A) : 랜드 (감자 센서용 제 1 랜드)
51(-A) : 랜드 (감자 센서용 제 2 랜드)
51(+B) : 랜드 (감자 센서용 제 1 랜드)
51(-B) : 랜드 (감자 센서용 제 2 랜드)
52 : 양면 기판의 배선
53 : 반도체 장치측 랜드
53(+A) : 랜드 (반도체 장치용 제 1 랜드)
53(-A) : 랜드 (반도체 장치용 제 2 랜드)
53(+B) : 랜드 (반도체 장치용 제 1 랜드)
53(-B) : 랜드 (반도체 장치용 제 2 랜드)
54 : 양면 기판의 배선
55 : 랜드
61 : 제 1 홀 소자
62 : 제 2 홀 소자
90, 95, 96 : 증폭기부
93 : 반도체 장치의 칩과 입력 단자 사이의 증폭기측 배선
93(+A) : 증폭기측 배선 (증폭기측 제 1 배선)
93(-A) : 증폭기측 배선 (증폭기측 제 2 배선)
93(+B) : 증폭기측 배선 (증폭기측 제 1 배선)
93(-B) : 증폭기측 배선 (증폭기측 제 2 배선)
97 : 칩 (증폭기측 칩)
98 : 입력 단자 (반도체 장치의 입력 단자)
98(+A) : 입력 단자 (반도체 장치의 제 1 입력 단자)
98(-A) : 입력 단자 (반도체 장치의 제 2 입력 단자)
98(+B) : 입력 단자 (반도체 장치의 제 1 입력 단자)
98(-B) : 입력 단자 (반도체 장치의 제 2 입력 단자)
100 : 신호 처리부
110 : 회전 각도 위치 산출부
120 : 보정량 테이블
121 : A 상 신호 테이블
122 : B 상 신호 테이블
130 : 보정부
501 : 일방면
502 : 타방면
L : 회전축
X : 제어 시스템
1: Encoder device
2: rotating body
3 : fixture
4: Potato sensor (Sensor IC)
5: double-sided board
9: semiconductor device (amplifier IC)
10: encoder unit
11: motor
12: control device
13: Parent device
20: Magnet
21: magnetizing surface
40: chip (potato sensor side chip)
41 to 44: Potato film
45: element substrate
47: wiring on the magnetic sensor side between the element board (chip) of the potato sensor and the output terminal
47(+A): Potato sensor side wiring (potato sensor side 1st wiring)
47(-A): Potato sensor side wiring (potato sensor side 2nd wiring)
47(+B): Potato sensor side wiring (potato sensor side 1st wiring)
47(-B): Potato sensor side wiring (potato sensor side 2nd wiring)
48: output terminal of potato sensor
48(+A): output terminal (first output terminal of potato sensor)
48(-A): output terminal (second output terminal of potato sensor)
48(+B): output terminal (first output terminal of potato sensor)
48(-B): output terminal (second output terminal of potato sensor)
48(Vcc) : Power terminal
48(GND): ground terminal
50: through hole
50(+A): 1st through hole
50(-A): 2nd through hole
50 (+B): 1st through hole
50(-B): 2nd through hole
51: Potato sensor side land
51(+A): land (first land for sensor sensor)
51(-A): land (second land for sensor sensor)
51 (+B): land (first land for sensor sensor)
51(-B): land (second land for sensor sensor)
52: wiring of double-sided board
53: semiconductor device side land
53 (+A): land (first land for semiconductor devices)
53(-A): land (second land for semiconductor devices)
53 (+B): land (first land for semiconductor devices)
53(-B): land (second land for semiconductor devices)
54: wiring of double-sided board
55: Rand
61: first hall element
62: second hall element
90, 95, 96: amplifier unit
93 Amplifier-side wiring between the chip of the semiconductor device and the input terminal
93 (+A): amplifier side wiring (amplifier side 1st wiring)
93(-A): amplifier side wiring (amplifier side second wiring)
93 (+B): amplifier side wiring (amplifier side 1st wiring)
93(-B): amplifier side wiring (amplifier side second wiring)
97: chip (amplifier side chip)
98: input terminal (input terminal of semiconductor device)
98 (+A): input terminal (first input terminal of semiconductor device)
98(-A): input terminal (second input terminal of semiconductor device)
98 (+B): input terminal (first input terminal of semiconductor device)
98(-B): input terminal (second input terminal of semiconductor device)
100: signal processing unit
110: rotation angle position calculation unit
120: correction amount table
121: phase A signal table
122: phase B signal table
130: correction unit
501: one way
502: other side
L: axis of rotation
X : control system

Claims (16)

검출 소자의 신호로부터 회전 각도 위치를 검출하는 회전 각도 위치 산출 수단을 구비한 인코더로서,
회전 속도에 비례하여 상기 검출 소자의 신호에 중첩되는 오차를 없애기 위한 보정량을, 특정 회전 속도에 있어서의 1 회전 중에서 분할된 분할 각도 위치에 대응하여 기억하는 보정량 테이블과,
사용 상태에 있어서의 회전 속도와 상기 특정 회전 속도의 속도비를 산출하고, 상기 보정량 테이블에 기억된 상기 보정량으로부터, 산출된 속도비 및 상기 분할 각도 위치에 대응한 보정값을 산출하고, 상기 회전 각도 위치 산출 수단에 의해 검출된 상기 회전 각도 위치를 상기 보정값에 의해 보정하는 보정 수단을 구비하고,
상기 검출 소자는,
S 극과 N 극의 자극이 한 쌍 착자된 마그넷을 갖는 가동 피검출물과, 상기 마그넷에 대향하는 감자 센서가 실장된 고정체를 포함하고,
회전 속도에 비례하여 상기 검출 소자의 신호에 중첩되는 오차는, 상기 마그넷이 회전함으로써 상기 고정체에 유기되는 유도 전압이고,
상기 감자 센서가, 상기 가동 피검출물의 변위에 대응한 A 상 센서 및 B 상 센서를 포함하고,
상기 A 상 센서로부터는 정현파상의 A 상 신호가 출력되고, 상기 B 상 센서로부터는 정현파상의 B 상 신호가 출력되고,
상기 A 상 신호와 상기 B 상 신호의 위상차가 π/2 이고,
상기 회전 각도 위치 산출 수단은,
상기 A 상 신호 및 상기 B 상 신호로부터 XY 평면 상의 리사주 파형을 산출하여 해석함으로써 상기 가동 피검출물의 각도 위치를 검출하고, 검출된 각도 위치에 의해 상기 회전 각도 위치를 산출하고,
상기 보정량 테이블은,
상기 A 상 신호 및 상기 B 상 신호의 각각에 대해 보정량을 기억하고,
상기 보정 수단은,
상기 보정량 테이블의 상기 A 상 신호 및 상기 B 상 신호의 각각의 보정량으로부터, 상기 A 상 신호 및 상기 B 상 신호의 각각에 대해 상기 보정값을 산출하여 보정하는 것을 특징으로 하는 인코더.
An encoder provided with a rotation angle position calculating means for detecting a rotation angle position from a signal of a detection element, comprising:
A correction amount table for storing a correction amount for eliminating an error superimposed on the signal of the detection element in proportion to the rotational speed in correspondence with divided angular positions during one rotation at a specific rotational speed;
A speed ratio between a rotational speed in a use state and the specific rotational speed is calculated, a correction value corresponding to the calculated speed ratio and the division angle position is calculated from the correction amount stored in the correction amount table, and the rotation angle is calculated. correction means for correcting the rotation angle position detected by the position calculation means by the correction value;
The detection element,
It includes a movable object having a magnet in which a pair of magnetic poles of the S pole and the N pole are magnetized, and a stationary body on which a magnetic sensor facing the magnet is mounted,
The error superimposed on the signal of the detection element in proportion to the rotational speed is an induced voltage induced in the stationary body by rotation of the magnet,
The magnetic sensor includes an A-phase sensor and a B-phase sensor corresponding to the displacement of the movable object to be detected,
A sine wave-type A-phase signal is output from the A-phase sensor, and a sine-wave-type B-phase signal is output from the B-phase sensor;
The phase difference between the phase A signal and the phase B signal is π/2,
The rotation angle position calculation means,
Detecting an angular position of the movable object to be detected by calculating and analyzing a Lissajous waveform on an XY plane from the A-phase signal and the B-phase signal, and calculating the rotational angular position based on the detected angular position;
The correction amount table,
A correction amount is stored for each of the A-phase signal and the B-phase signal;
The correction means,
and calculating and correcting the correction value for each of the A-phase signal and the B-phase signal from the respective correction amounts of the A-phase signal and the B-phase signal in the correction amount table.
삭제delete 제 1 항에 있어서,
상기 보정 수단은,
상기 사용 상태에 있어서의 회전 속도와 상기 특정 회전 속도의 속도비의 산출시,
상기 특정 회전 속도는, 하기의 식 (1) 의 관계이고,
ω = D/T/R × 60 …… 식 (1)
여기서, ω 는 특정 회전 속도 (rpm), R 은 각도 분해능, T 는 샘플링 주기 (초), D 는 특정한 각도 변위값이고,
상기 사용 상태에 있어서의 회전 속도를, 하기의 식 (2) 로 산출하고,
ω' = (D'/D) × ω …… 식 (2)
여기서, ω' 는 사용 상태에 있어서의 회전 속도 (rpm), D' 는, 현재의 샘플링 시간에 있어서의 각도 변위값과 1 개 전의 샘플링 시간에 있어서의 각도 변위값의 차가 되는 분할 각도 차분값인 것을 특징으로 하는 인코더.
According to claim 1,
The correction means,
When calculating the speed ratio of the rotational speed in the use state and the specific rotational speed,
The specific rotational speed is the relationship of the following formula (1),
ω = D/T/R × 60 … … Equation (1)
where ω is a specific rotational speed (rpm), R is an angular resolution, T is a sampling period (seconds), D is a specific angular displacement value,
The rotation speed in the use state is calculated by the following formula (2),
ω' = (D'/D) × ω... … Equation (2)
Here, ω' is the rotational speed (rpm) in the use state, and D' is a division angular difference value that is the difference between the angular displacement value at the current sampling time and the angular displacement value at the previous sampling time. Encoder characterized in that.
제 3 항에 있어서,
상기 보정 수단은,
사용 상태에 있어서의 회전수의 전체 범위에서, 상기 회전 각도 위치를 보정하는 것을 특징으로 하는 인코더.
According to claim 3,
The correction means,
An encoder characterized in that it corrects the rotational angular position in the entire range of the rotational speed in the use condition.
삭제delete 제 1 항에 있어서,
상기 고정체는,
일방면측에 상기 감자 센서가 실장되고, 타방면측에 반도체 장치가 실장된 양면 기판을 갖고,
상기 반도체 장치는, 감자 센서로부터의 출력 신호를 증폭하는 증폭기부를 구비하고,
상기 감자 센서와 상기 반도체 장치는, 적어도 일부끼리가 상기 양면 기판의 두께 방향에 있어서 겹치는 위치에 배치되고,
상기 감자 센서와 상기 반도체 장치는, 상기 양면 기판에 있어서 상기 감자 센서 및 상기 반도체 장치의 적어도 일방에 상기 양면 기판의 두께 방향에서 겹치는 위치에 형성된 복수의 스루홀을 통해 전기적으로 접속되어 있는 것을 특징으로 하는 인코더.
According to claim 1,
The fixture is
Having a double-sided board on which the magnetic sensor is mounted on one side and a semiconductor device is mounted on the other side,
The semiconductor device includes an amplifier unit for amplifying the output signal from the potato sensor,
The magnetic sensor and the semiconductor device are disposed at a position where at least a part overlaps each other in the thickness direction of the double-sided board,
The magnetic sensor and the semiconductor device are electrically connected to at least one of the magnetic sensor and the semiconductor device in the double-sided board through a plurality of through-holes formed at overlapping positions in the thickness direction of the double-sided board. Encoder to do.
제 6 항에 있어서,
상기 감자 센서에 있어서, 감자막이 형성된 감자 센서측 칩과 제 1 출력 단자 사이의 감자 센서측 제 1 배선 및 상기 감자 센서측 칩과 제 2 출력 단자 사이의 감자 센서측 제 2 배선이 상기 마그넷의 자속과 쇄교함으로써 발생하는 제 1 유도 전압,
복수의 스루홀 중, 제 1 출력 단자에 대응하는 제 1 스루홀 및 제 2 출력 단자에 대응하는 제 2 스루홀이 상기 마그넷의 자속과 쇄교함으로써 발생하는 제 2 유도 전압, 및
상기 반도체 장치에 있어서, 상기 증폭기부가 형성된 증폭기측 칩과 제 1 출력 단자에 전기적으로 접속하는 제 1 입력 단자 사이의 증폭기측 제 1 배선, 및 상기 증폭기측 칩과 제 2 출력 단자에 전기적으로 접속하는 제 2 입력 단자 사이의 증폭기측 제 2 배선이 상기 마그넷의 자속과 쇄교함으로써 발생하는 제 3 유도 전압은,
어느 1 개의 유도 전압과 다른 2 개의 유도 전압이 없어지도록 형성되어 있는 것을 특징으로 하는 인코더.
According to claim 6,
In the magnetic sensor, the magnetic sensor-side first wiring between the potato sensor-side chip and the first output terminal on which the magnetic film is formed and the magnetic sensor-side second wiring between the potato sensor-side chip and the second output terminal are magnetic flux of the magnet A first induced voltage generated by linking with
A second induced voltage generated when a first through hole corresponding to a first output terminal and a second through hole corresponding to a second output terminal among the plurality of through holes interlink with the magnetic flux of the magnet; and
In the semiconductor device, an amplifier-side first wiring between an amplifier-side chip formed with the amplifier unit and a first input terminal electrically connected to the first output terminal, and electrically connected to the amplifier-side chip and a second output terminal. The third induced voltage generated when the second wiring on the amplifier side between the second input terminals interlinks with the magnetic flux of the magnet,
An encoder characterized in that it is formed so that one of the induced voltages and the other two induced voltages disappear.
삭제delete 삭제delete 삭제delete 삭제delete 제 1 항, 제 3 항, 제 4 항, 제 6 항 및 제 7 항 중 어느 한 항에 있어서,
상기 보정 수단은,
샘플링 주기가 변경된 경우, 상기 특정 회전 속도의 샘플링 주기와 변경된 샘플링 주기에 대응하는 주기 조정값을 산출하고, 그 주기 조정값을 적용하여 보정값을 산출하는 것을 특징으로 하는 인코더.
The method of any one of claims 1, 3, 4, 6 and 7,
The correction means,
When the sampling period is changed, the period adjustment value corresponding to the sampling period of the specific rotational speed and the changed sampling period is calculated, and a correction value is calculated by applying the period adjustment value.
검출 소자의 신호로부터 회전 각도 위치를 검출하는 인코더에 의해 실행되는 회전 각도 위치 산출 방법으로서,
회전 속도에 비례하여 상기 검출 소자의 신호에 중첩되는 오차를 없애는 보정량을, 특정 회전 속도와, 1 회전 중에서 분할된 분할 각도 위치에 대응하여 보정량 테이블에 기억해 두고,
사용 상태에 있어서의 회전 속도와 상기 특정 회전 속도의 속도비를 산출하고, 상기 보정량 테이블에 기억된 상기 보정량으로부터, 산출된 속도비 및 상기 분할 각도 위치에 대응한 보정값을 산출하고, 그 보정값에 의해 상기 검출 소자의 신호를 보정하고,
보정된 상기 검출 소자의 신호에 의해 상기 회전 각도 위치를 산출하고,
상기 검출 소자는, S 극과 N 극의 자극이 한 쌍 착자된 마그넷을 갖는 가동 피검출물과, 상기 마그넷에 대향하는 감자 센서가 실장된 고정체를 포함하고,
상기 감자 센서가, 상기 가동 피검출물의 변위에 대응한 A 상 센서 및 B 상 센서를 포함하고,
상기 A 상 센서로부터는 정현파상의 A 상 신호가 출력되고, 상기 B 상 센서로부터는 정현파상의 B 상 신호가 출력되고,
상기 A 상 신호와 상기 B 상 신호의 위상차가 π/2 이고,
상기 보정량 테이블은, 상기 A 상 신호 및 상기 B 상 신호의 각각에 대해 보정량을 기억하고 있고,
상기 A 상 신호 및 상기 B 상 신호로부터 XY 평면 상의 리사주 파형을 산출하여 해석함으로써 상기 가동 피검출물의 각도 위치를 검출하고, 검출된 각도 위치에 의해 상기 회전 각도 위치를 산출하고,
상기 보정량 테이블의 상기 A 상 신호 및 상기 B 상 신호의 각각의 보정량으로부터, 상기 A 상 신호 및 상기 B 상 신호의 각각에 대해 상기 보정값을 산출하여 보정하는 것을 특징으로 하는 회전 각도 위치 산출 방법.
A rotation angle position calculation method executed by an encoder that detects a rotation angle position from a signal of a detection element, comprising:
A correction amount that eliminates an error superimposed on the signal of the detection element in proportion to the rotational speed is stored in a correction amount table corresponding to a specific rotational speed and divided angular positions divided during one rotation,
A speed ratio between a rotational speed in use and the specific rotational speed is calculated, a correction value corresponding to the calculated speed ratio and the division angle position is calculated from the correction amount stored in the correction amount table, and the correction value By correcting the signal of the detection element,
Calculate the rotation angle position by the corrected signal of the detecting element;
The detection element includes a movable object having a magnet magnetized with a pair of S and N poles, and a fixed body mounted with a magnetic sensor facing the magnet,
The magnetic sensor includes an A-phase sensor and a B-phase sensor corresponding to the displacement of the movable object to be detected,
A sine wave-type A-phase signal is output from the A-phase sensor, and a sine-wave-type B-phase signal is output from the B-phase sensor;
The phase difference between the phase A signal and the phase B signal is π/2,
The correction amount table stores correction amounts for each of the A-phase signal and the B-phase signal,
Detecting an angular position of the movable object to be detected by calculating and analyzing a Lissajous waveform on an XY plane from the A-phase signal and the B-phase signal, and calculating the rotational angular position based on the detected angular position;
The rotation angle position calculation method characterized by calculating and correcting the correction value for each of the A-phase signal and the B-phase signal from the respective correction amounts of the A-phase signal and the B-phase signal in the correction amount table.
제 13 항에 있어서,
상기 특정 회전 속도는, 하기의 식 (1) 의 관계이고,
ω = D/T/R × 60 …… 식 (1)
여기서, ω 는 특정 회전 속도 (rpm), R 은 각도 분해능, T 는 샘플링 주기 (초), D 는 특정한 각도 변위값이고,
상기 사용 상태에 있어서의 회전 속도는, 하기의 식 (2) 로 나타내고,
ω' = (D'/D) × ω …… 식 (2)
여기서, ω' 는 사용 상태에 있어서의 회전 속도 (rpm), D' 는, 현재의 샘플링 시간에 있어서의 각도 변위값과 1 개 전의 샘플링 시간에 있어서의 각도 변위값의 차가 되는 분할 각도 차분값이고,
(D'/D) 의 값을 상기 속도비로서 산출하는 것을 특징으로 하는 회전 각도 위치 산출 방법.
According to claim 13,
The specific rotational speed is the relationship of the following formula (1),
ω = D/T/R × 60 … … Equation (1)
where ω is a specific rotational speed (rpm), R is an angular resolution, T is a sampling period (seconds), D is a specific angular displacement value,
The rotation speed in the use state is represented by the following formula (2),
ω' = (D'/D) × ω... … Equation (2)
Here, ω' is the rotational speed (rpm) in the use state, D' is a division angular difference value that is the difference between the angular displacement value at the current sampling time and the angular displacement value at the previous sampling time, ,
A rotation angle position calculation method characterized in that the value of (D'/D) is calculated as the speed ratio.
삭제delete 제 14 항에 있어서,
상기 샘플링 주기가 변경된 경우, 상기 특정 회전 속도의 샘플링 주기와 변경된 샘플링 주기에 대응하는 주기 조정값을 산출하고, 그 주기 조정값을 적용하여 보정값을 산출하는 것을 특징으로 하는 회전 각도 위치 산출 방법.
15. The method of claim 14,
When the sampling period is changed, calculating the sampling period of the specific rotational speed and a period adjustment value corresponding to the changed sampling period, and calculating a correction value by applying the period adjustment value.
KR1020150157971A 2014-11-19 2015-11-11 Encoder and method of calculating rotational angle position KR102481561B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JPJP-P-2014-234673 2014-11-19
JP2014234673A JP6484008B2 (en) 2014-11-19 2014-11-19 Encoder and rotation angle position calculation method

Publications (2)

Publication Number Publication Date
KR20160059958A KR20160059958A (en) 2016-05-27
KR102481561B1 true KR102481561B1 (en) 2022-12-26

Family

ID=55986156

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020150157971A KR102481561B1 (en) 2014-11-19 2015-11-11 Encoder and method of calculating rotational angle position

Country Status (4)

Country Link
JP (1) JP6484008B2 (en)
KR (1) KR102481561B1 (en)
CN (1) CN105606019B (en)
TW (1) TWI663383B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6394399B2 (en) * 2015-01-09 2018-09-26 株式会社デンソー Rotation angle detector
CN106390344A (en) * 2016-08-24 2017-02-15 常州博电电子科技有限公司 Plugging cover, monitoring system and monitoring method
JP6842943B2 (en) * 2017-02-14 2021-03-17 日本電産サンキョー株式会社 Rotary encoder
JP6877169B2 (en) * 2017-02-14 2021-05-26 日本電産サンキョー株式会社 Rotary encoder
CN108426587B (en) * 2017-02-14 2020-09-18 日本电产三协株式会社 Rotary encoder
KR102010673B1 (en) * 2017-12-22 2019-08-13 현대트랜시스 주식회사 Method and apparatus for distortion correction of motor shaft position signal in motor system with angle sensor during vehicle drive
JPWO2019230203A1 (en) * 2018-06-01 2021-07-29 ミネベアミツミ株式会社 Magnetic detector unit, angle detector, position detector, motor control device, motor unit and motor control method
JP7173706B2 (en) * 2019-08-29 2022-11-16 トヨタ自動車株式会社 Resolver device
JP2021047033A (en) * 2019-09-17 2021-03-25 ファナック株式会社 Encoder and encoder control method
CN110531103B (en) * 2019-09-30 2021-08-10 浙江海洋大学 Light velocity measuring method and device based on lissajous figures
TWI730564B (en) 2019-12-26 2021-06-11 財團法人工業技術研究院 Encoder and signal processing method using the same
CN112781484B (en) * 2020-12-22 2022-11-08 广州极飞科技股份有限公司 Rotor angle calibration method and device of linear Hall sensor and electronic equipment
KR102575733B1 (en) * 2021-02-19 2023-09-08 현대자동차주식회사 Apparatus and method for improving position accuracy of ridar motor
KR102460007B1 (en) * 2021-08-30 2022-10-27 박성현 Magnetic encoder

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001165707A (en) * 1999-09-30 2001-06-22 Sanyo Denki Co Ltd Method and device for correcting phase error of resolver
JP2006234671A (en) * 2005-02-25 2006-09-07 Ishida Co Ltd Metering device
JP2013011538A (en) * 2011-06-30 2013-01-17 Hitachi Automotive Systems Ltd Rotation angle measuring device, controller and rotary machine system using those
JP2014044218A (en) * 2008-08-26 2014-03-13 Nikon Corp Encoder system and signal processing method
JP2014194385A (en) * 2013-03-29 2014-10-09 Nidec Sankyo Corp Magnetic sensor device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07253317A (en) * 1994-03-15 1995-10-03 Nikon Corp Angle of rotation reader
JP3365063B2 (en) * 1994-07-25 2003-01-08 神鋼電機株式会社 Rotation angle detection method
JP2007107886A (en) * 2005-10-11 2007-04-26 Yaskawa Electric Corp Error compensation device for encoder and the encoder
JP4640708B2 (en) 2006-02-14 2011-03-02 株式会社デンソー Rotation angle detector
JP5198761B2 (en) * 2006-12-11 2013-05-15 株式会社ミツトヨ Rotational displacement correction device and displacement detection device
JP5239025B2 (en) * 2009-03-11 2013-07-17 株式会社ミツトヨ Inductive detection type rotary encoder
US8384570B2 (en) * 2009-05-27 2013-02-26 Active Precision, Inc. Encoder interpolator with enhanced precision
JP5096442B2 (en) * 2009-11-17 2012-12-12 株式会社日立製作所 Rotation angle measuring device, motor system and electric power steering system
DE112010005022B4 (en) * 2009-12-28 2014-09-18 Showa Corporation Relative angle detection device, rotation angle detection device, relative angle detection method and rotation angle detection method
JP5718081B2 (en) * 2011-02-14 2015-05-13 日本電産サンキョー株式会社 Motor with magnetic sensor unit and encoder
JP2012231648A (en) * 2011-04-27 2012-11-22 Aisan Ind Co Ltd Motor rotor and motor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001165707A (en) * 1999-09-30 2001-06-22 Sanyo Denki Co Ltd Method and device for correcting phase error of resolver
JP2006234671A (en) * 2005-02-25 2006-09-07 Ishida Co Ltd Metering device
JP2014044218A (en) * 2008-08-26 2014-03-13 Nikon Corp Encoder system and signal processing method
JP2013011538A (en) * 2011-06-30 2013-01-17 Hitachi Automotive Systems Ltd Rotation angle measuring device, controller and rotary machine system using those
JP2014194385A (en) * 2013-03-29 2014-10-09 Nidec Sankyo Corp Magnetic sensor device

Also Published As

Publication number Publication date
JP6484008B2 (en) 2019-03-13
TWI663383B (en) 2019-06-21
TW201629436A (en) 2016-08-16
CN105606019B (en) 2018-05-15
KR20160059958A (en) 2016-05-27
CN105606019A (en) 2016-05-25
JP2016099164A (en) 2016-05-30

Similar Documents

Publication Publication Date Title
KR102481561B1 (en) Encoder and method of calculating rotational angle position
US7965004B2 (en) Electric motor
JP5613839B2 (en) Method and apparatus for absolute positioning of a moving object
US9030194B2 (en) Position encoder apparatus
TWI650528B (en) Rotation angle detecting device and rotation angle detecting method
KR102195533B1 (en) Rotary encoder and angle correction method of rotary encoder
US20110025312A1 (en) Magnetic encoder and method of detecting absolute rotational position
KR20120088677A (en) Method for analyzing signals from an angle sensor
US11733260B2 (en) Angle based speed sensor device
JP2012093215A (en) Rotation angle detecting device
US9742425B2 (en) Rotation detector and rotation detection method
CN108426587B (en) Rotary encoder
KR102071753B1 (en) Magnetism-sensor device
KR20160007166A (en) Multi-layer division magnetization permanent magnet type high resolution encoder and signal processing method thereof
CN110388943B (en) Encoder for encoding a video signal
JP2018132357A (en) Rotary encoder
US20220349730A1 (en) Reliable position sensor
WO2011070391A1 (en) Method for estimating the angular position, measuring device and sensor bearing
EP3875913B1 (en) Hybrid position sensor
JP7081969B2 (en) Encoder
JP7242352B2 (en) A system for determining at least one rotational parameter of a rotating member
JP2020153980A (en) System for determining at least one rotation parameter of rotating member
JP5593731B2 (en) Magnetic encoder
JP2006197684A (en) Brushless motor
JP2016033476A (en) Non-contact rotation angle sensor

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E902 Notification of reason for refusal
GRNT Written decision to grant