JP4793642B2 - Pulse signal conversion control device and pulse signal conversion control method - Google Patents

Pulse signal conversion control device and pulse signal conversion control method Download PDF

Info

Publication number
JP4793642B2
JP4793642B2 JP2006133757A JP2006133757A JP4793642B2 JP 4793642 B2 JP4793642 B2 JP 4793642B2 JP 2006133757 A JP2006133757 A JP 2006133757A JP 2006133757 A JP2006133757 A JP 2006133757A JP 4793642 B2 JP4793642 B2 JP 4793642B2
Authority
JP
Japan
Prior art keywords
pulse
pulse signal
rotation
output
pulses
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2006133757A
Other languages
Japanese (ja)
Other versions
JP2007306731A5 (en
JP2007306731A (en
Inventor
義宏 青崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NSK Ltd
Original Assignee
NSK Ltd
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 NSK Ltd filed Critical NSK Ltd
Priority to JP2006133757A priority Critical patent/JP4793642B2/en
Publication of JP2007306731A publication Critical patent/JP2007306731A/en
Publication of JP2007306731A5 publication Critical patent/JP2007306731A5/ja
Application granted granted Critical
Publication of JP4793642B2 publication Critical patent/JP4793642B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、1回転毎にPNパルスを発生する基準パルス信号を出力するモータ位置検出器から出力される基準パルス信号の1回転分のパルス数PNとは異なる1回転分のパルス数PMを発生する変換パルス信号を出力するパルス信号変換制御装置に関する。   The present invention generates a pulse number PM for one rotation different from the pulse number PN for one rotation of the reference pulse signal output from the motor position detector that outputs a reference pulse signal for generating a PN pulse for each rotation. The present invention relates to a pulse signal conversion control device that outputs a converted pulse signal.

モータ等の回転体の回転状態(回転速度、回転角(回転位置))は、その駆動軸等の出力回転体に対峙するように位置検出手段を設けることで判別している。位置検出手段としては、レゾルバ、ホール素子、ロータリエンコーダ等が代表的である。以下、一例として、レゾルバについて説明する。   The rotation state (rotation speed, rotation angle (rotation position)) of a rotating body such as a motor is determined by providing a position detection means so as to face the output rotating body such as the drive shaft. As the position detecting means, a resolver, a Hall element, a rotary encoder and the like are typical. Hereinafter, a resolver will be described as an example.

レゾルバ、特に、VR型レゾルバでは、ロータとステータ間のギャップパーミアンスが回転角度で正弦波状に変化するようなロータ外径形状をしており、ロータは鉄心のみでステータに入出力巻線を施した極めてシンプルな構造となっている。多極のモータに対応するため、軸倍角×2、×3、×4等が標準的に存在している。このようなVR型レゾルバは、構造的に扁平、薄型が可能であり高速性にも優れた回転角度センサということができる。   The resolver, particularly the VR type resolver, has a rotor outer diameter shape in which the gap permeance between the rotor and the stator changes in a sine wave shape at the rotation angle, and the rotor is provided with input / output windings only on the iron core It has a very simple structure. In order to correspond to a multi-pole motor, shaft double angles x2, x3, x4, etc. exist as standard. Such a VR resolver can be said to be a rotational angle sensor that can be flattened and thinned structurally and is excellent in high speed.

なお、参考として、車両における電動パワーステアリングユニットの駆動源であるモータに、回転位置を検出するためのレゾルバが内蔵された技術がある(特許文献1、特許文献2参照)。   For reference, there is a technique in which a resolver for detecting a rotational position is incorporated in a motor that is a drive source of an electric power steering unit in a vehicle (see Patent Document 1 and Patent Document 2).

特許文献1及び特許文献2に記載のモータでは、当該モータの出力軸(駆動軸)側に取り付けられたレゾルバロータの回転を、当該レゾルバロータの外周に対応して配置されたレゾルバ検出部によって検出し、レゾルバハーネスによってモータ外部のコントローラ等と電気信号として送出している。   In the motors described in Patent Document 1 and Patent Document 2, the rotation of the resolver rotor attached to the output shaft (drive shaft) side of the motor is detected by a resolver detection unit arranged corresponding to the outer periphery of the resolver rotor. Then, it is sent as an electrical signal to a controller outside the motor by a resolver harness.

上記電気信号は、パルス信号であり、モータ1回転のパルス数は、レゾルバ検出部に依存されるため、異なるパルス数/1回転に変換するために、分周回路を用いる場合がある。この分周回路によって、レゾルバ検出部から出力されるパルス信号の1回転のパルス数を所望のパルス数に変換することができる。
特開2004−322814公報 特開2002−354755公報
The electric signal is a pulse signal, and the number of pulses per motor rotation depends on the resolver detection unit. Therefore, a frequency dividing circuit may be used to convert the number of pulses to a different number of pulses per rotation. With this frequency dividing circuit, the number of pulses per rotation of the pulse signal output from the resolver detector can be converted into a desired number of pulses.
JP 2004-322814 A JP 2002-354755 A

しかしながら、分周回路では、2X(Xは、正の整数、或いは正の整数分の1)であることが前提であり、これを逸脱する分周回路は複雑な回路構成となり実用的ではない。 However, the frequency divider circuit is premised on 2 X (X is a positive integer or a fraction of a positive integer), and a frequency divider circuit that deviates from this has a complicated circuit configuration and is not practical. .

このため、前記モータ(レゾルバ検出部)からの出力に応じて当該モータ或いは他のアクチュエータの位置決めは速度を制御するために最も最適なパルス信号(所望の繰り返しパルス数)に変換することができない場合があった。   For this reason, when the positioning of the motor or other actuator cannot be converted into the most suitable pulse signal (desired number of repetitive pulses) for controlling the speed according to the output from the motor (resolver detection unit). was there.

本発明は上記事実を考慮し、モータ検出回路に依存することなく、当該モータ検出回路から出力される基準パルス信号を所望のパルス信号に変換することができ、後工程の制御を容易に行うことができるパルス信号変換制御装置及びその方法を得ることが目的である。   In consideration of the above fact, the present invention can convert the reference pulse signal output from the motor detection circuit into a desired pulse signal without depending on the motor detection circuit, and can easily control the subsequent process. An object of the present invention is to obtain a pulse signal conversion control apparatus and method capable of performing the same.

本発明は、1回転毎にPNパルスを発生する基準パルス信号を出力するモータ位置検出器から出力される基準パルス信号の1回転分のパルス数PNとは異なる1回転分のパルス数PMを発生する変換パルス信号を出力するパルス信号変換制御装置であって、所定のタイミングで、前記モータ位置検出器からの基準パルス信号における現在の出力パルス値PN1を取り込む取込手段と、取り込んだパルス値P1、並びに基準パルス信号の1回転分のパルス数PN、変換パルス信号の1回転分のパルス数PMに基づいて、前記取り込んだパルス値PN1に対応する、変換パルス信号の1回転分のパルス数PMの下でのパルス値PM1を演算する演算手段と、前記演算手段で演算された今回のパルス値PM1(n)から、前回演算されたパルス値PM1(n−1)を減算することで、出力パルス数POを決定する決定手段と、前記変換パルス信号として、前記決定手段で決定された出力パルス数PO分、前記モータ位置検出器から取り込まれる基準パルス信号の周期と同一の周期で出力する変換パルス出力手段と、変換パルス出力手段で出力された変換パルス信号を、前記モータ位置検出器から取り込まれる基準パルス信号から読み取られる回転方向信号に基づいて、互いに位相の異なる複数の変換パルス信号を生成する異相変換パルス信号生成手段と、を有している。 The present invention generates a pulse number PM for one rotation different from the pulse number PN for one rotation of the reference pulse signal output from the motor position detector that outputs a reference pulse signal for generating a PN pulse for each rotation. A pulse signal conversion control device for outputting a conversion pulse signal to be received, a capture means for capturing a current output pulse value PN1 in a reference pulse signal from the motor position detector at a predetermined timing, and a captured pulse value P Based on N 1, the number of pulses PN for one rotation of the reference pulse signal, and the number of pulses PM for one rotation of the converted pulse signal, a pulse for one rotation of the converted pulse signal corresponding to the captured pulse value PN1 The calculation means for calculating the pulse value PM1 under a few PM, and the pulse calculated last time from the current pulse value PM1 (n) calculated by the calculation means By subtracting PM1 (n-1), a determination means for determining the number of output pulses PO, and the output pulse number PO determined by the determination means as the conversion pulse signal are captured from the motor position detector. Based on the rotation direction signal read from the reference pulse signal fetched from the motor position detector, the converted pulse output means that outputs at the same cycle as the cycle of the reference pulse signal, and the converted pulse signal output from the converted pulse output means And different-phase conversion pulse signal generation means for generating a plurality of conversion pulse signals having different phases from each other.

本発明によれば、所定のタイミングで、前記モータ位置検出器からの基準パルス信号における現在の出力パルス値PN1を取り込む。   According to the present invention, the current output pulse value PN1 in the reference pulse signal from the motor position detector is captured at a predetermined timing.

この取り込んだパルス値P1、並びに基準パルス信号の1回転分のパルス数PN、変換パルス信号の1回転分のパルス数PMに基づいて、前記取り込んだパルス値PN1に対応する、変換パルス信号の1回転分のパルス数PMの下でのパルス値PM1を演算する。例えば、取り込んだパルス値P1×変換パルス信号の1回転分のパルス数PM/基準パルス信号の1回転分のパルス数PNの結果が、前記取り込んだパルス値PN1に対応する、変換パルス信号の1回転分のパルス数PMの下でのパルス値PM1となる。 Based on the captured pulse value P N 1, the number of pulses PN for one rotation of the reference pulse signal, and the number of pulses PM for one rotation of the converted pulse signal, the converted pulse signal corresponding to the captured pulse value PN1 The pulse value PM1 under the number of pulses PM for one rotation is calculated. For example, a conversion pulse signal in which the result of the acquired pulse value P N 1 × number of pulses PM for one rotation of the converted pulse signal / number of pulses PN for one rotation of the reference pulse signal corresponds to the acquired pulse value PN1. Becomes the pulse value PM1 under the number of pulses PM for one rotation.

次に、今回のパルス値PM1(n)から、前回演算されたパルス値PM1(n−1)を減算することで、出力パルス数POを決定する。   Next, the number of output pulses PO is determined by subtracting the previously calculated pulse value PM1 (n-1) from the current pulse value PM1 (n).

ここで、変換パルス信号として、前記出力パルス数PO分、前記モータ位置検出器から取り込まれる基準パルス信号の周期と同一の周期として出力する。また、このとき、モータ位置検出器から取り込まれる基準パルス信号から読み取られる回転方向信号に基づいて、互いに位相の異なる複数の変換パルス信号を生成することで、回転方向の情報を加味することができる。   Here, the converted pulse signal is output as the same period as the period of the reference pulse signal taken in from the motor position detector for the number of output pulses PO. Further, at this time, by generating a plurality of converted pulse signals having different phases based on the rotation direction signal read from the reference pulse signal fetched from the motor position detector, information on the rotation direction can be taken into consideration. .

以上説明した如く本発明では、モータ検出回路に依存することなく、当該モータ検出回路から出力される基準パルス信号を所望のパルス信号に変換することができ、後工程の制御を容易に行うことができるという優れた効果を有する。   As described above, in the present invention, the reference pulse signal output from the motor detection circuit can be converted into a desired pulse signal without depending on the motor detection circuit, and the subsequent process can be easily controlled. It has an excellent effect of being able to.

図1には、本実施の形態に係るパルス信号変換制御装置10が示されている。   FIG. 1 shows a pulse signal conversion control device 10 according to the present embodiment.

パルス信号変換制御装置10は、モータ12に搭載される位置検出装置14からの信号に基づいて、当該モータ12の回転状態に基づく信号(パルス信号)を出力するものである。   The pulse signal conversion control device 10 outputs a signal (pulse signal) based on the rotation state of the motor 12 based on a signal from the position detection device 14 mounted on the motor 12.

位置検出装置14としては、例えば、モータ回転軸に取り付けられたレゾルバロータ16と、このレゾルバロータ16の周囲に対峙するように配置されたレゾルバ検出部18とで構成されている。   The position detection device 14 includes, for example, a resolver rotor 16 attached to a motor rotation shaft and a resolver detection unit 18 arranged so as to face the periphery of the resolver rotor 16.

レゾルバ検出部18からは、モータ回転に応じて、1回転のパルス数PN(ここでは、5242880/1回転)のパルス信号(以下、「基準パルス信号」という)が出力され、パルス信号変換制御装置10を構成するMPU20に入力されるようになっている(図2参照)
MPU20では、この基準パルス信号から現在位置座標、回転方向を認識すると共に、所望の(ユーザーによる設定の)1回転のパルス数PM(ここでは、360000/1回転)のパルス信号(以下、「変換パルス信号」という)に変換する演算処理等が実行され、その結果は、このMPU20と共にパルス信号変換制御装置10を構成するCPLD22へ送出される(図2参照)。
From the resolver detection unit 18, a pulse signal (hereinafter referred to as “reference pulse signal”) having a pulse number PN (here, 5242880/1 rotation) per rotation is output according to the motor rotation, and the pulse signal conversion control device 10 is input to the MPU 20 constituting the network 10 (see FIG. 2).
The MPU 20 recognizes the current position coordinates and rotation direction from the reference pulse signal, and at the same time the pulse signal (hereinafter referred to as “conversion”) of a desired number of pulses (one set by the user) PM (here, 360,000 rotations). The calculation process or the like is converted to a “pulse signal” and the result is sent to the CPLD 22 constituting the pulse signal conversion control device 10 together with the MPU 20 (see FIG. 2).

CPLD22では、入力された変換パルス信号を出力するが、このとき、回転方向を判別するためにA相/B相に分離して出力する(A相とB相とは90°位相ずれ)。   The CPLD 22 outputs the input converted pulse signal. At this time, the CPLD 22 separates and outputs the A-phase / B-phase in order to determine the rotational direction (90-degree phase shift between the A-phase and the B-phase).

すなわち、従来、分周回路等によりパルス信号の周波数(周期)の変換を行っているのに対し、本実施の形態では、入力される基準パルス信号に対して、新たに変換パルス信号を生成することにある。また、このとき、分周回路では、基準パルス信号に対して2X(Xは、正の整数、或いは正の整数分の1)の周波数しか生成することができないのに対し、本実施の形態のパルス信号変換制御装置10では、任意の周波数(すなわち、基準パルス信号の1回転のパルス数の倍数ではない)の変換パルス信号を生成することができる。 In other words, the frequency (period) of the pulse signal is conventionally converted by a frequency dividing circuit or the like, whereas in this embodiment, a converted pulse signal is newly generated for the input reference pulse signal. There is. At this time, the frequency dividing circuit can generate only a frequency of 2 X (X is a positive integer or a fraction of a positive integer) with respect to the reference pulse signal. The pulse signal conversion control device 10 can generate a conversion pulse signal having an arbitrary frequency (that is, not a multiple of the number of pulses of one rotation of the reference pulse signal).

図3は、前記MPU20及びCPLD22における、前記変換パルス信号生成のための機能ブロック図が示されている。   FIG. 3 is a functional block diagram for generating the converted pulse signal in the MPU 20 and the CPLD 22.

位置検出装置14のレゾルバ検出部16は、MPU20の基準パルス信号入力部24に入力される。   The resolver detection unit 16 of the position detection device 14 is input to the reference pulse signal input unit 24 of the MPU 20.

この基準パルス信号入力部24では、当該入力された信号を分散して、パルス数PN1取込部26、回転方向検出部28、周期検出部30のそれぞれへ送出する。   In the reference pulse signal input unit 24, the input signal is distributed and sent to each of the pulse number PN 1 acquisition unit 26, the rotation direction detection unit 28, and the cycle detection unit 30.

パルス数PN1取込部26では位置情報を判別し、回転方向検出部28では回転方向を判別し、周期検出部30では周期を判別する。   The pulse number PN1 acquisition unit 26 determines position information, the rotation direction detection unit 28 determines the rotation direction, and the cycle detection unit 30 determines the cycle.

パルス数PN1取込部26は、パルス数PM1(n)演算部32に接続されている。このパルス数PM1(n)演算部32には、レゾルバ検出部16における1回転パルス数を記憶するPN記憶部34及び設定された出力パルス数を記憶するPM記憶部36が接続され、前記パルス数PN1が取り込まれると、PN記憶部34からレゾルバ検出部16における1回転パルス数PNが読み出され、一方、PM記憶部36から設定された出力パルス数PMが読み出され、以下の演算式(1)によって変換パルス信号PMの下での位置座標を示すパルス数PM1が演算される。   The pulse number PN1 acquisition unit 26 is connected to the pulse number PM1 (n) calculation unit 32. The pulse number PM1 (n) calculation unit 32 is connected to a PN storage unit 34 that stores the number of one rotation pulse in the resolver detection unit 16 and a PM storage unit 36 that stores the set number of output pulses. When PN1 is captured, the number of one rotation pulse PN in the resolver detection unit 16 is read from the PN storage unit 34, while the output pulse number PM set from the PM storage unit 36 is read, and the following arithmetic expression ( 1), the number of pulses PM1 indicating the position coordinates under the converted pulse signal PM is calculated.

PM1=PN1×(PM/PN)・・・(1)
なお、本実施の形態では、P1×(360000/5242880)となる。
PM1 = PN1 × (PM / PN) (1)
In this embodiment, P N 1 × (360000/5242880).

この演算結果は、PM1(n)として、出力パルス数PO演算部38へ送出される。   The calculation result is sent to the output pulse number PO calculation unit 38 as PM1 (n).

前記設定出力パルス数PM記憶部36には、出力パルス数PM指定操作部40が接続され、ユーザーにより任意の出力パルス数(1回転分)が指定できる。   An output pulse number PM designation operation unit 40 is connected to the set output pulse number PM storage unit 36, and an arbitrary number of output pulses (for one rotation) can be designated by the user.

出力パルス数PO演算部38では、前記演算式(1)によって前回演算された結果(PM1(
n−1)をパルス数PM1(n−1)記憶部42から読み出して、その差POを演算する(演算式(2)参照)。
In the output pulse number PO calculation section 38, the result (PM1 (
n-1) is read from the pulse number PM1 (n-1) storage unit 42, and the difference PO is calculated (see the calculation formula (2)).

PO=PM1(n)−PM1(n−1)・・・(2)
すなわち、MPU20の取込間隔(処理能力による)毎に(以下、「ブロック」という)に周期、回転方向、位置情報等を判別し、ブロック単位で変換パルス信号PMを生成していく。
PO = PM1 (n) -PM1 (n-1) (2)
That is, the period, rotation direction, position information, and the like are determined at each capture interval (depending on processing capability) of the MPU 20 (hereinafter referred to as “block”), and the conversion pulse signal PM is generated in units of blocks.

前記出力パルス数PO演算部における演算が終了すると、この演算で適用したPM(n)をパルス数PM1更新部44へ送出する。パルス数PM1更新部44では、入力されたPM1(n)をPM1(n−1)に置き換えて、パルス数PM1(n−1)記憶部42に更新記憶する。 When the calculation in the output pulse number PO calculation unit is completed, PM 1 (n) applied in this calculation is sent to the pulse number PM1 update unit 44. The pulse number PM1 update unit 44 replaces the input PM1 (n) with PM1 (n-1) and updates and stores it in the pulse number PM1 (n-1) storage unit 42.

前記出力パルスPO演算部38で演算された出力パルス数POは出力部46へ送出される。   The output pulse number PO calculated by the output pulse PO calculation unit 38 is sent to the output unit 46.

この出力部46には、前記回転方向検出部28から回転方向情報が入力され、周期検出部30から周期情報が入力され、これらの情報(出力パルス数PO、回転方向情報、周期情報)がCPLD22の情報解析部50へ送出される。   The output unit 46 receives the rotation direction information from the rotation direction detection unit 28 and the cycle information from the cycle detection unit 30, and these pieces of information (number of output pulses PO, rotation direction information, cycle information) are the CPLD 22. Are sent to the information analysis unit 50.

情報解析部50には、パルスカウント数PO設定部52、周期設定部54、A/B相分配部56が接続されている。   A pulse count number PO setting unit 52, a cycle setting unit 54, and an A / B phase distribution unit 56 are connected to the information analysis unit 50.

パルスカウント数PO設定部52には、前記出力パルスPOが入力され、これから出力するパルスカウント値をPOに設定し、パルス信号出力制御部58へ送出する。   The pulse count number PO setting unit 52 receives the output pulse PO, sets the pulse count value to be output to PO to be sent to the pulse signal output control unit 58.

このパルス信号出力制御部58には、発振部60が接続されている。この発振部60には、前記周期設定部54から周期情報が入力され、当該設定された周期に基づくパルス信号が生成され発振する。   An oscillation unit 60 is connected to the pulse signal output control unit 58. The oscillating unit 60 receives the cycle information from the cycle setting unit 54, generates a pulse signal based on the set cycle, and oscillates.

パルス信号出力制御部58では、前記発振部60から入力される所定の周期のパルス信号をPOカウント分、A/B相分配部56へ送出する。   The pulse signal output control unit 58 sends out a pulse signal having a predetermined period input from the oscillation unit 60 to the A / B phase distribution unit 56 by the PO count.

A/B相分配部56では、前記情報解析部50から出力される回転方向情報に基づいて、互いに90°位相が異なる(異なる方向が回転方向によって相反するものとなる)2種類の信号が生成され(A相、B相)、出力される。   The A / B phase distribution unit 56 generates two types of signals that are 90 ° out of phase with each other (different directions are contradictory depending on the rotation direction) based on the rotation direction information output from the information analysis unit 50. (A phase, B phase) and output.

以下に本実施の形態の作用を図4のフローチャートに従い説明する。   The operation of the present embodiment will be described with reference to the flowchart of FIG.

ステップ100では、モータ12が駆動中か否かが判断され、肯定判定されると、ステップ102へ移行して基準パルス信号の1回転のパルス数PNを読み出し、次いでステップ104へ移行して変換パルス信号の1回転のパルス数PMを読み出して、ステップ106へ移行する。   In step 100, it is determined whether or not the motor 12 is being driven. If an affirmative determination is made, the process proceeds to step 102 to read the number of pulses PN of one rotation of the reference pulse signal, and then the process proceeds to step 104 to convert the pulse. The number of pulses PM of one rotation of the signal is read, and the process proceeds to step 106.

ステップ106では、現在のパルス数PN1を取り込み、次いでステップ108へ移行して演算式(1)に基づいて、変換パルス信号の下での位置座標を示すパルス数PM1を求める。   In step 106, the current number of pulses PN1 is taken, and then the process proceeds to step 108, where the number of pulses PM1 indicating the position coordinates under the converted pulse signal is obtained based on the calculation formula (1).

次のステップ110では、前記ステップ108で求めたパルス数PM1をPM1(n)に代入し、次いでステップ112で前回の演算結果(PM1(n−1))を読み出して、ステップ114へ移行する。   In the next step 110, the number of pulses PM1 obtained in step 108 is substituted into PM1 (n), and in step 112, the previous calculation result (PM1 (n-1)) is read, and the process proceeds to step 114.

ステップ114では、演算式(2)によって、出力パルス数POを演算し、ステップ116へ移行する。   In step 114, the number of output pulses PO is calculated by the calculation formula (2), and the routine proceeds to step 116.

ステップ116では、周期を読み出し、次いでステップ118で回転方向を読み出して、次のステップ120において、変換パルス信号をパルス数PO分、発振(出力)し、ステップ122でA相及びB相に分離して、出力する(ステップ124)。   In step 116, the cycle is read, and then in step 118, the rotation direction is read. In the next step 120, the converted pulse signal is oscillated (output) by the number of pulses PO, and in step 122, it is separated into A phase and B phase. To output (step 124).

上記工程をモータ駆動中繰り返すことで、モータ12に搭載された位置検出装置14からの基準パルス信号を任意(ユーザー所望)の変換パルス信号に変換した形で出力することができる。   By repeating the above steps while the motor is being driven, the reference pulse signal from the position detection device 14 mounted on the motor 12 can be output in a form converted to an arbitrary (user desired) converted pulse signal.

例えば、1回転のパルスを360の倍数(360000パルス)とすることで、回転角1°を単純に1000パルスとすることができ、後工程(モータ12へのフィードバックも含む)の速度制御や位置決め制御等が容易となる。   For example, by setting a single rotation pulse to a multiple of 360 (360,000 pulses), a rotation angle of 1 ° can be simply set to 1000 pulses, and speed control and positioning in a subsequent process (including feedback to the motor 12). Control and the like are facilitated.

なお、本実施の形態では、MPU20及びCPLD22による演算処理を行っているため、実際の出力に対してタイムラグが発生する場合があるが、速度制御に関しては何ら支障はなく、また、予めこのタイムラグを考慮しておけば、位置決め制御にも十分適用することができる。   In this embodiment, since the arithmetic processing by the MPU 20 and the CPLD 22 is performed, a time lag may occur with respect to the actual output. However, there is no problem with respect to the speed control, and this time lag is set in advance. If this is taken into consideration, the present invention can be sufficiently applied to positioning control.

以上説明したように本実施の形態では、モータ12に搭載された位置検出装置14からのパルス信号(基準パルス信号)を、ユーザーが所望する任意のパルス信号(変換パルス信号)に変換して、出力することができるため、後工程の速度制御や位置決め制御が簡便となる。   As described above, in the present embodiment, the pulse signal (reference pulse signal) from the position detection device 14 mounted on the motor 12 is converted into an arbitrary pulse signal (converted pulse signal) desired by the user, Since it can output, speed control and positioning control of a post process become simple.

本実施の形態に係る位置検出制御装置のハード構成図である。It is a hardware block diagram of the position detection control apparatus which concerns on this Embodiment. MPU及びCPLDによる任意の位置決め用パルス信号生成のための機能ブロック図である。It is a functional block diagram for arbitrary positioning pulse signal generation by MPU and CPLD. 基準パルス信号と変換パルス信号の相対関係を示す信号出力特性図である。It is a signal output characteristic figure showing the relative relation between a reference pulse signal and a conversion pulse signal. 任意の位置決め用パルス信号生成のための制御の流れを示すフローチャートである。It is a flowchart which shows the flow of control for the generation of arbitrary positioning pulse signals.

符号の説明Explanation of symbols

10 パルス信号変換制御装置
12 モータ
14 位置検出装置
16 レゾルバロータ
18 レゾルバ検出部
20 MPU
22 CPLD
24 基準パルス信号入力部
26 パルス数PN1取込部(取込手段)
28 回転方向検出部
30 周期検出部
32 パルス数PM1(n)演算部(演算手段)
34 PN記憶部
36 PM記憶部
38 出力パルス数PO演算部(決定手段)
40 出力パルス数PM指定操作部
42 パルス数PM1(n−1)記憶部
44 パルス数PM1更新部
46 出力部(変換パルス出力手段)
50 情報解析部
52 パルスカウント数PO設定部
54 周期設定部
56 A/B相分配部(異相変換パルス信号生成手段)
58 パルス信号出力制御部
60 発振部
DESCRIPTION OF SYMBOLS 10 Pulse signal conversion control apparatus 12 Motor 14 Position detection apparatus 16 Resolver rotor 18 Resolver detection part 20 MPU
22 CPLD
24 Reference pulse signal input section 26 Number of pulses PN1 capture section (capture means)
28 Rotation direction detection unit 30 Period detection unit 32 Number of pulses PM1 (n) calculation unit (calculation means)
34 PN storage unit 36 PM storage unit 38 Number of output pulse PO calculation unit (determination means)
40 Output Pulse Number PM Designation Operation Unit 42 Pulse Number PM1 (n-1) Storage Unit 44 Pulse Number PM1 Update Unit 46 Output Unit (Conversion Pulse Output Unit)
50 Information Analysis Unit 52 Pulse Count Number PO Setting Unit 54 Period Setting Unit 56 A / B Phase Distribution Unit (Different Phase Conversion Pulse Signal Generation Unit)
58 Pulse signal output controller 60 Oscillator

Claims (2)

1回転毎にPNパルスを発生する基準パルス信号を出力するモータ位置検出器から出力される基準パルス信号の1回転分のパルス数PNとは異なる1回転分のパルス数PMを発生する変換パルス信号を出力するパルス信号変換制御装置であって、
所定のタイミングで、前記モータ位置検出器からの基準パルス信号における現在の出力パルス値P1を取り込む取込手段と、
取り込んだパルス値P1、並びに基準パルス信号の1回転分のパルス数PN、変換パルス信号の1回転分のパルス数PMに基づいて、前記取り込んだパルス値PN1に対応する、変換パルス信号の1回転分のパルス数PMの下でのパルス値PM1を演算する演算手段と、
前記演算手段で演算された今回のパルス値PM1(n)から、前回演算されたパルス値PM1(n−1)を減算することで、出力パルス数POを決定する決定手段と、
前記変換パルス信号として、前記決定手段で決定された出力パルス数PO分、前記モータ位置検出器から取り込まれる基準パルス信号の周期と同一の周期で出力する変換パルス出力手段と、
変換パルス出力手段で出力された変換パルス信号を、前記モータ位置検出器から取り込まれる基準パルス信号から読み取られる回転方向信号に基づいて、互いに位相の異なる複数の変換パルス信号を生成する異相変換パルス信号生成手段と、
を有するパルス信号変換制御装置。
A conversion pulse signal for generating a pulse number PM for one rotation different from the pulse number PN for one rotation of the reference pulse signal output from the motor position detector that outputs a reference pulse signal for generating a PN pulse for each rotation. A pulse signal conversion control device that outputs
Capture means for capturing a current output pulse value P N 1 in a reference pulse signal from the motor position detector at a predetermined timing;
Based on the captured pulse value P N 1, the number of pulses PN for one rotation of the reference pulse signal, and the number of pulses PM for one rotation of the converted pulse signal, the converted pulse signal corresponding to the captured pulse value PN1 A calculation means for calculating a pulse value PM1 under the number of pulses PM for one rotation;
Determining means for determining the output pulse number PO by subtracting the previously calculated pulse value PM1 (n-1) from the current pulse value PM1 (n) calculated by the calculating means;
As the converted pulse signal, the converted pulse output means for outputting the output pulse number PO determined by the determining means at the same cycle as the cycle of the reference pulse signal fetched from the motor position detector;
An out-of-phase conversion pulse signal for generating a plurality of conversion pulse signals having different phases from each other based on a rotation direction signal read from a reference pulse signal acquired from the motor position detector. Generating means;
A pulse signal conversion control device.
1回転毎にPNパルスを発生する基準パルス信号を出力するモータ位置検出器から出力される基準パルス信号の1回転分のパルス数PNとは異なる1回転分のパルス数PMを発生する変換パルス信号を出力するパルス信号変換制御方法であって、
所定のタイミングで、前記モータ位置検出器からの基準パルス信号における現在の出力パルス値PN1を取り込み、
取り込んだパルス値P1×変換パルス信号の1回転分のパルス数PM/基準パルス信号の1回転分のパルス数PNを演算して、前記取り込んだパルス値PN1に対応する、変換パルス信号の1回転分のパルス数PMの下でのパルス値PM1を求め、
今回のパルス値PM1(n)から、前回演算されたパルス値PM1(n−1)を減算することで、出力パルス数POを決定し、
前記変換パルス信号として、前記出力パルス数PO分、前記モータ位置検出器から取り込まれる基準パルス信号の周期と同一の周期として出力し、
前記モータ位置検出器から取り込まれる基準パルス信号から読み取られる回転方向信号に基づいて、互いに位相の異なる複数の変換パルス信号を生成する、
ことを特徴とするパルス信号変換制御方法。
A conversion pulse signal for generating a pulse number PM for one rotation different from the pulse number PN for one rotation of the reference pulse signal output from the motor position detector that outputs a reference pulse signal for generating a PN pulse for each rotation. A pulse signal conversion control method for outputting
At a predetermined timing, the current output pulse value PN1 in the reference pulse signal from the motor position detector is captured,
The acquired pulse value P N 1 × the number of pulses PM for one rotation of the converted pulse signal / the number of pulses PN for one rotation of the reference pulse signal is calculated, and the converted pulse signal corresponding to the acquired pulse value PN1 is calculated. Obtain the pulse value PM1 under the number of pulses PM for one rotation,
By subtracting the previously calculated pulse value PM1 (n-1) from the current pulse value PM1 (n), the number of output pulses PO is determined,
As the converted pulse signal, the output pulse number PO is output as the same period as the period of the reference pulse signal taken from the motor position detector,
Based on a rotation direction signal read from a reference pulse signal captured from the motor position detector, a plurality of converted pulse signals having different phases are generated.
And a pulse signal conversion control method.
JP2006133757A 2006-05-12 2006-05-12 Pulse signal conversion control device and pulse signal conversion control method Active JP4793642B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006133757A JP4793642B2 (en) 2006-05-12 2006-05-12 Pulse signal conversion control device and pulse signal conversion control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006133757A JP4793642B2 (en) 2006-05-12 2006-05-12 Pulse signal conversion control device and pulse signal conversion control method

Publications (3)

Publication Number Publication Date
JP2007306731A JP2007306731A (en) 2007-11-22
JP2007306731A5 JP2007306731A5 (en) 2009-06-25
JP4793642B2 true JP4793642B2 (en) 2011-10-12

Family

ID=38840195

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006133757A Active JP4793642B2 (en) 2006-05-12 2006-05-12 Pulse signal conversion control device and pulse signal conversion control method

Country Status (1)

Country Link
JP (1) JP4793642B2 (en)

Also Published As

Publication number Publication date
JP2007306731A (en) 2007-11-22

Similar Documents

Publication Publication Date Title
JP5494662B2 (en) Rotation angle detector
JP5131318B2 (en) Motor control device
JP2008233069A (en) Rotation detecting apparatus and bearing provided therewith
CN104682786B (en) Method and apparatus for determining the position data of the rotor of motor
JP2005172721A (en) Absolute magnetic encoder
JP5172833B2 (en) AC servo motor rotational position detection method and simple encoder
JP2005172720A (en) Motor encoder
JP6844617B2 (en) Motor modules, motor step motion control systems, and motor controls
JP4793642B2 (en) Pulse signal conversion control device and pulse signal conversion control method
JPH09292264A (en) Absolute encoder
JP4162008B2 (en) Magnetic pole position detection method for linear servo system
JP5690700B2 (en) Method and apparatus for detecting rotor position of brushless DC motor
JPH10127078A (en) Linear servo system and method for detecting pole position
JP5736968B2 (en) Encoder device, drive device, and robot system
JP2000209889A (en) Three-phase position detector
KR101345305B1 (en) Commutation signal detecting device and an encoder using the same
JP3288822B2 (en) Control method of brushless motor
JP2526855B2 (en) Brushless motor controller
JPH0854205A (en) Rotational position detector for electric rotating
JP2011153863A (en) Rotational position detection device, and motor driving system using the same
JPH07218290A (en) Multiple-rotation type absolute encoder
JP4045028B2 (en) Servo motor demagnetization inspection method
KR100284496B1 (en) Rotor Position Detection Method of Synchronous Reluctance Motor
JP2002323911A (en) Sequence controller
JP2004304740A (en) Encoder output dividing device and r/d converter

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090508

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090508

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110615

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110630

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110713

R150 Certificate of patent or registration of utility model

Ref document number: 4793642

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140805

Year of fee payment: 3