JP2012127829A - Resolver/digital converter - Google Patents
Resolver/digital converter Download PDFInfo
- Publication number
- JP2012127829A JP2012127829A JP2010280078A JP2010280078A JP2012127829A JP 2012127829 A JP2012127829 A JP 2012127829A JP 2010280078 A JP2010280078 A JP 2010280078A JP 2010280078 A JP2010280078 A JP 2010280078A JP 2012127829 A JP2012127829 A JP 2012127829A
- Authority
- JP
- Japan
- Prior art keywords
- rotational position
- delay
- time
- circuit
- resolver
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/06—Continuously compensating for, or preventing, undesired influence of physical parameters
- H03M1/0617—Continuously compensating for, or preventing, undesired influence of physical parameters characterised by the use of methods or means not specific to a particular type of detrimental influence
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/12—Analogue/digital converters
- H03M1/64—Analogue/digital converters with intermediate conversion to phase of sinusoidal or similar periodical signals
- H03M1/645—Analogue/digital converters with intermediate conversion to phase of sinusoidal or similar periodical signals for position encoding, e.g. using resolvers or synchros
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Transmission And Conversion Of Sensor Element Output (AREA)
Abstract
Description
本発明の実施形態は、レゾルバ/デジタル変換器に関する。 Embodiments described herein relate generally to a resolver / digital converter.
回転磁界により回転子を回転させる同期電動機(以後、単にモータという)は、回転子の位置(角度)を検出し、この検出位置をもとにして回転子の外周部に設けられた電機子巻線に流れる電流を制御することにより駆動される。 A synchronous motor (hereinafter simply referred to as a motor) that rotates a rotor by a rotating magnetic field detects the position (angle) of the rotor, and an armature winding provided on the outer periphery of the rotor based on the detected position. It is driven by controlling the current flowing through the line.
制御に必要な回転子の位置は、モータの回転軸に取付けられた回転位置センサ(レゾルバ)により検出される。レゾルバとは回転子の位置を電気信号に変換するセンサで、基本的にモータと同じ構造を有し、回転する回転子の位置を検出し、回転子の位置に対応するアナログ信号を出力する。 The position of the rotor necessary for control is detected by a rotational position sensor (resolver) attached to the rotating shaft of the motor. A resolver is a sensor that converts the position of a rotor into an electrical signal, which basically has the same structure as a motor, detects the position of a rotating rotor, and outputs an analog signal corresponding to the position of the rotor.
レゾルバ/デジタル変換器とは、レゾルバから出力されるアナログ信号をデジタル信号に変換し、各種処理を施して回転位置を算出する装置である。 A resolver / digital converter is an apparatus that converts an analog signal output from a resolver into a digital signal, performs various processes, and calculates a rotational position.
レゾルバ/デジタル変換器の出力に基づいて回転磁界を制御するための駆動信号が生成され、電機子巻線の各相に所定のタイミングで所定の交流電流を流すインバータが駆動される。これにより、回転磁界が生成され、回転子が回転する。 A drive signal for controlling the rotating magnetic field is generated based on the output of the resolver / digital converter, and an inverter that drives a predetermined alternating current to each phase of the armature winding at a predetermined timing is driven. As a result, a rotating magnetic field is generated and the rotor rotates.
レゾルバ/デジタル変換器が行う処理には、アナログ・デジタル変換、デジタル信号の同期検波、比例積分(PI)制御、加減算、乗算、積分、正弦波/余弦波発生などの各種処理が含まれている。これらの処理には有限の時間ΔTが必要である。 The processing performed by the resolver / digital converter includes various processing such as analog-digital conversion, digital signal synchronous detection, proportional integration (PI) control, addition / subtraction, multiplication, integration, and sine / cosine wave generation. . These processes require a finite time ΔT.
レゾルバ/デジタル変換器が時刻Tで算出したデジタル信号の値は、時刻T−ΔTにレゾルバが出力したアナログ出力信号の値である。その結果、レゾルバが出力したアナログ出力信号とレゾルバ/デジタル変換器が算出したデジタル信号値との間には、処理時間ΔTに起因する時間遅れが生じる問題がある。 The value of the digital signal calculated by the resolver / digital converter at time T is the value of the analog output signal output by the resolver at time T−ΔT. As a result, there is a problem that a time delay caused by the processing time ΔT occurs between the analog output signal output from the resolver and the digital signal value calculated by the resolver / digital converter.
モータの回転数が高くなると、この時間遅れが無視できなくなり、安定した回転数制御が行えないという問題がある。 When the rotational speed of the motor increases, this time delay cannot be ignored, and there is a problem that stable rotational speed control cannot be performed.
本発明は、処理時間に起因する時間遅れを補償できるレゾルバ/デジタル変換器を提供する。 The present invention provides a resolver / digital converter capable of compensating for a time delay due to processing time.
一つの実施形態によれば、レゾルバ/デジタル変換器では、回転位置算出手段は、電動機に含まれる回転子の回転位置を検出する回転位置センサから出力されたセンサ値が入力されると、所定の処理時間を要して、前記センサ値に前記回転位置を求めるための処理を施し、前記処理結果を第1回転位置として出力する。回転位置補正手段は、前記第1回転位置を前記処理時間以下の遅延時間だけ遅延させた遅延値を求め、前記第1回転位置と前記遅延値との差分を求め、前記差分に前記処理時間と前記遅延時間の比に等しい第1補正係数を乗算した結果を前記第1回転位置に加算して第2回転位置を求め、前記第2回転位置を前記回転位置として出力する。 According to one embodiment, in the resolver / digital converter, when the rotational position calculation means receives a sensor value output from a rotational position sensor that detects the rotational position of the rotor included in the electric motor, a predetermined value is input. Processing time is required, processing for obtaining the rotational position is performed on the sensor value, and the processing result is output as the first rotational position. The rotational position correcting means obtains a delay value obtained by delaying the first rotational position by a delay time equal to or shorter than the processing time, obtains a difference between the first rotational position and the delay value, and adds the difference between the processing time and the processing time. A result obtained by multiplying a first correction coefficient equal to the delay time ratio is added to the first rotational position to obtain a second rotational position, and the second rotational position is output as the rotational position.
以下、本発明の実施例について図面を参照しながら説明する。 Embodiments of the present invention will be described below with reference to the drawings.
本実施例に係るレゾルバ/デジタル変換器について図1および図2を用いて説明する。図1は本実施例のレゾルバ/デジタル変換器の構成を示すブロック図、図2は遅延回路を示す回路図である。 A resolver / digital converter according to this embodiment will be described with reference to FIGS. FIG. 1 is a block diagram showing the configuration of the resolver / digital converter of this embodiment, and FIG. 2 is a circuit diagram showing a delay circuit.
図1に示すように本実施例のレゾルバ/デジタル変換器10は、回転位置算出手段11と、回転位置補正手段12とで構成されている。
As shown in FIG. 1, the resolver / digital converter 10 of this embodiment includes a rotational
回転位置算出手段11は、レゾルバ(図示せず)から入力されたセンサ値S1=sinτ・sinφ、S2=sinτ・cosφをデジタル値に変換し、各種処理を施して回転位置(回転角度)を算出し、第1回転位置θcalcを出力する。 The rotational position calculation means 11 converts the sensor values S1 = sinτ · sinφ and S2 = sinτ · cosφ input from a resolver (not shown) into digital values, and performs various processes to calculate the rotational position (rotation angle). Then, the first rotation position θcalc is output.
回転位置算出手段11にセンサ値S1、S2が入力されてから、回転位置算出手段11から第1回転位置θcalcが出力されるまでに、有限の処理時間ΔTを要している。
A finite processing time ΔT is required from when the sensor values S1 and S2 are input to the rotational
回転位置算出手段11が時刻Tで出力した第1回転位置θcalcは、レゾルバが時刻T−ΔTで出力したセンサ値S1、S2を基に算出された値である。その結果、時刻T−ΔTと時刻Tの間にレゾルバが出力したセンサ値S1、S2が変化した場合、回転位置算出手段11が時刻Tで出力した第1回転位置θcalcは、時刻Tでレゾルバが出力しているセンサ値S1、S2とは異なっている。
The first rotational position θcalc output by the rotational position calculation means 11 at time T is a value calculated based on the sensor values S1 and S2 output by the resolver at time T−ΔT. As a result, when the sensor values S1 and S2 output by the resolver change between the time T-ΔT and the time T, the first rotational position θcalc output by the rotational
回転位置補正手段12は、回転位置算出手段11から入力された第1回転位置θcalcに、処理時間ΔTに起因する時間遅れを補償する処理を施し、補償された第1回転位置θcalcを第2回転位置θcompとして出力する。
The rotational position correcting means 12 performs a process for compensating for a time delay caused by the processing time ΔT on the first rotational position θcalc input from the rotational position calculating
レゾルバ/デジタル変換器10は、各種のデジタル信号処理回路で構成されており、周期Tsのクロック信号に同期して作動する。回転位置算出手段11は、クロック信号に同期して回転位置を求める処理を実行し、回転位置補正手段12は、クロック信号に同期して時間遅れを補償する処理を実行する。 The resolver / digital converter 10 includes various digital signal processing circuits and operates in synchronization with a clock signal having a period Ts. The rotational position calculation means 11 executes a process for obtaining the rotational position in synchronization with the clock signal, and the rotational position correction means 12 executes a process for compensating for the time delay in synchronization with the clock signal.
回転位置算出手段11の構成および動作は周知であるが、以下簡単に説明する。回転位置算出手段11では、励磁信号発生回路13は、励磁信号sinτを発生させ、励磁信号sinτをレゾルバの励磁側巻線(ロータ)および後述する検波回路に供給する。ここで、τは励磁信号の励磁角である。 The configuration and operation of the rotational position calculation means 11 are well known, but will be briefly described below. In the rotational position calculation means 11, the excitation signal generation circuit 13 generates an excitation signal sin τ and supplies the excitation signal sin τ to the excitation side winding (rotor) of the resolver and a detection circuit described later. Here, τ is the excitation angle of the excitation signal.
アナログ・デジタル変換器(AD変換器)14は、レゾルバの出力側巻線(ステータ)のサイン側の出力信号S1をAD変換する。AD変換器15は、レゾルバの出力側巻線のコサイン側の出力信号S2をAD変換する。ここで、φはレゾルバの軸の回転位置を示している。
The analog / digital converter (AD converter) 14 AD-converts the output signal S1 on the sign side of the output side winding (stator) of the resolver. The
AD変換器14、15は、例えば12bitの逐次比較型のAD変換器で、クロック周期Tsより速いサンプリングレートを有するAD変換器が適している。
The
乗算回路16は、AD変換器14の出力とcosθ算出回路17の出力を乗算し、sinτ・sinφ・cosθの値を出力する。乗算回路18は、AD変換器15の出力とsinθ算出回路19の出力を乗算し、sinτ・cosφ・sinθの値を出力する。
The
減算回路20は、乗算回路16の出力から乗算回路18の出力を減算し、sinτ・sinφ・cosθ−sinτ・cosφ・sinθ=sinτ・sin(θ−φ)の値を出力する。
The
検波回路21は、減算回路20の出力に励磁信号sinτを乗算して位相検波を行い、sin2τ・sin(θ−φ)の値を出力する。
The
角速度算出部22は、入力に対して比例積分演算を行うPI(比例積分)制御回路である。角速度算出部22は、sin2τ・sin(θ−φ)に対して比例積分演算を行ない、sin(θ−φ)=0、即ちθ−φ=0となるように角速度ωの値を定める。
The angular
積分回路27は、角速度算出部22から出力された角速度ωを積分して出力角度θを求める。出力角度θは、レゾルバの角度φに対してθ−φ=0となるように制御されているので、θ=φとなる。回転位置算出手段11は、このθをモータの回転位置として出力する。このθが第1回転位置θcalcである。
The integrating
なお、cosθ算出回路17は、角度θに対するcosθの値を計算して、乗算回路16に出力している。sinθ算出回路19は、角度θに対するsinθの値を計算して、乗算回路18に出力している。
The cos θ
上述した処理時間ΔTには、AD変換器14、15のAD変換時間、乗算回路16から積分回路27までの演算時間の他に、角速度算出部22および積分回路27での信号の位相遅れなどが含まれている。
The processing time ΔT described above includes the AD conversion time of the
処理時間ΔTは、回転位置算出手段11の回路構成およびクロック周波数(1/Ts)に依存するが、例えば3から4クロック程度と見積もられる。処理時間ΔTは、いくつかの手法により求めることができる。 The processing time ΔT depends on the circuit configuration of the rotational position calculation means 11 and the clock frequency (1 / Ts), but is estimated to be about 3 to 4 clocks, for example. The processing time ΔT can be obtained by several methods.
回路構成が確定した段階で、シミュレーションにより事前に見積もることができる。実際のモータの回転位置を光学エンコーダなどで検出し、第1回転位置θcalcと比較することにより求めることができる。 When the circuit configuration is finalized, it can be estimated in advance by simulation. The actual rotational position of the motor can be detected by an optical encoder or the like and compared with the first rotational position θcalc.
また、遅延回路31を回転位置算出手段11と同じ構成にすることにより、本体の回転位置算出手段11が動作中に動的に測定することも可能である。この場合、AD変換は行えないので、AD変換器14、15と同じ遅延を与える別の遅延回路を用意する。この遅延時間の間に、sinτ・sinθcalc、sinτ・cosθcalcを計算しておく。
Further, by making the
例えば、クロック周波数が250kHz(Ts=4μs)、モータの回転数が240000rpmであるとする。モータが一回転するのに要する時間は250μsなので、モータは1クロックの間に360°×4μs/250μs=5.76°回転する。処理時間ΔTが3から4クロックのとき、その間に、モータは17°から23°先に進んでしまうことになる。 For example, assume that the clock frequency is 250 kHz (Ts = 4 μs) and the motor rotation speed is 240000 rpm. Since the time required for one rotation of the motor is 250 μs, the motor rotates 360 ° × 4 μs / 250 μs = 5.76 ° during one clock. When the processing time ΔT is 3 to 4 clocks, the motor advances from 17 ° to 23 ° during that time.
ここでは、モータの回転数は一定であり、処理時間ΔTはクロック周期Tsの整数倍、例えば3倍に等しいものとして説明する(ΔT=3Ts)。 Here, it is assumed that the rotation speed of the motor is constant and the processing time ΔT is equal to an integral multiple of the clock cycle Ts, for example, three times (ΔT = 3Ts).
回転位置補正手段12では、遅延回路31は、第1回転位置θcalcを処理時間ΔTに等しい遅延時間ΔT1だけ遅延させて得られる遅延値θdelay1を出力する。
In the rotational position correcting means 12, the
減算回路32は、第1回転位置θcalcから遅延値θdelay1を減算し、差分Δθ1を出力する。
The
補正係数乗算回路33は、差分Δθ1に処理時間ΔTと遅延時間ΔT1の比ΔT/ΔT1に等しい第1補正係数m1を乗算する。ここでは、処理時間ΔTは遅延時間ΔT1に等しいので、第1補正係数m1は1である。
The correction
加算回路34は、乗算結果m1・Δθを第1回転位置θcalcに加算して、処理時間ΔTに起因する時間遅れが補償された第2回転位置θcompを求め、第2回転位置θcompをレゾルバの回転位置として出力する。
The
図2は遅延回路31を示す回路図である。図2に示すように、遅延回路31は4段のレジスタ35で構成され、第1回転位置θcalcにクロック周期Tsの3倍の遅延を与える遅延回路である。レジスタ35はフリップフロップであり、クロック信号Tsに同期して第1回転位置θcalcを通過させる。
FIG. 2 is a circuit diagram showing the
上述したレゾルバ/デジタル変換器10は、センサ値S1、S2が入力されてから、第1回転位置θcalcが出力されるまでに要する処理時間ΔTに起因する時間遅れを補償するように構成されている。 The resolver / digital converter 10 described above is configured to compensate for a time delay caused by the processing time ΔT required from the input of the sensor values S1 and S2 to the output of the first rotational position θcalc. .
次に、回転位置補正手段12の動作について説明する。図3は回転位置補正手段12の動作を説明するための図である。図3において、横軸は経過時間、縦軸はモータの回転位置を示している。実線41は、モータの実際の回転位置θを示している。破線42は、第1回転位置θcalcを示している。
Next, the operation of the rotational
図3に示すように、モータの回転数は一定であり、回転位置θは時間に対して直線的に変化し、一回転すると元の位置に戻る。第1回転位置θcalcは回転位置θよりも処理時間ΔTだけ遅延して追随しているものとする。 As shown in FIG. 3, the rotational speed of the motor is constant, and the rotational position θ changes linearly with respect to time, and returns to the original position after one revolution. It is assumed that the first rotation position θcalc follows the rotation position θ with a delay of the processing time ΔT.
時間tnにおいて、遅延回路31は、第1回転位置θcalc(n)を遅延時間ΔT1だけ遅延した遅延値θdelay1として、時間tn−1における第1回転位置θcalc(n−1)を出力する。
At time tn, the
減算回路32は、θcalc(n)からθdelay1を減算し、差分Δθ1=θcalc(n)−θdelay1=θcalc(n)−θcalc(n−1)を出力する。
The
補正係数乗算回路33は、第1補正係数m1=1なので、差分Δθ1をそのまま出力する。加算回路34は、差分Δθ1を第1回転位置θcalc(n)に加算し、第2回転位置θcomp(n)=θcalc(n)+Δθ1を出力する。
Since the first correction coefficient m1 = 1, the correction
その結果、モータの実際の回転位置θ(n)に等しい第2回転位置θcomp(n)を得る事が可能である。 As a result, it is possible to obtain a second rotational position θcomp (n) equal to the actual rotational position θ (n) of the motor.
モータの回転数が一定である限り、Δθ1は一定である。但し、モータがちょうど一回転したとき、即ち時間tnが一回転に要する時間Tより大きく、時間tn−1が時間Tより小さい場合、見掛け上差分Δθ1が負になる。 As long as the rotational speed of the motor is constant, Δθ1 is constant. However, when the motor has just made one revolution, that is, when the time tn is greater than the time T required for one revolution and the time tn−1 is smaller than the time T, the apparent difference Δθ1 becomes negative.
図4は見掛け上差分Δθ1が負になる場合の処理を示すフローチャートである。モータの回転方向が逆回転の場合も扱えるように、差分Δθ1は±180°の範囲のみ許すこととする。 FIG. 4 is a flowchart showing processing when the apparent difference Δθ1 becomes negative. The difference Δθ1 is allowed only in a range of ± 180 ° so that the motor can be handled in the reverse direction.
図4に示すように、差分Δθ1を求め(ステップS01)、差分Δθ1が−180°より小さいか否かを判定する(ステップS02)。 As shown in FIG. 4, a difference Δθ1 is obtained (step S01), and it is determined whether or not the difference Δθ1 is smaller than −180 ° (step S02).
差分Δθ1が−180°より小さい場合(ステップS02のYes)、差分Δθ1に360°を加算し(ステップS03)、第2回転位置θcompを求める(ステップS04)。差分Δθ1が180°より大きい場合(ステップS02のNo)、ステップS05へ行く。 When the difference Δθ1 is smaller than −180 ° (Yes in step S02), 360 ° is added to the difference Δθ1 (step S03), and the second rotational position θcomp is obtained (step S04). If the difference Δθ1 is greater than 180 ° (No in step S02), the process proceeds to step S05.
次に、差分Δθ1が180°より大きいか否かを判定する(ステップS05)。差分Δθ1が180°より大きい場合(ステップS05のYes)、差分Δθ1から360°を減算し(ステップS06)、第2回転位置θcompを求める(ステップS06)。差分Δθ1が180°より大きい場合(ステップS05のNo)、ステップS04へ行く。 Next, it is determined whether or not the difference Δθ1 is greater than 180 ° (step S05). If the difference Δθ1 is greater than 180 ° (Yes in step S05), 360 ° is subtracted from the difference Δθ1 (step S06) to obtain the second rotational position θcomp (step S06). If the difference Δθ1 is greater than 180 ° (No in step S05), the process proceeds to step S04.
以上説明したように、本実施例のレゾルバ/デジタル変換器10では、回転位置補正手段12は、第1回転位置θcalcに、処理時間ΔTに等しい遅延時間ΔT1だけ遅延させた遅延値θdelay1を求め、第1回転位置θcalcと遅延値θdelay1の差分Δθ1を求め、差分Δθ1を第1回転位置θcalcに加算して第2回転位置θcompを求めている。
As described above, in the resolver / digital converter 10 of the present embodiment, the rotational
その結果、センサ値S1、S2が入力されてから第1回転位置θcalcが出力されるまでに要する処理時間ΔTに起因する時間遅れを補償することができる。従って、処理時間に起因する時間遅れを補償できるレゾルバ/デジタル変換器が得られる。 As a result, it is possible to compensate for the time delay due to the processing time ΔT required from the input of the sensor values S1 and S2 to the output of the first rotational position θcalc. Therefore, a resolver / digital converter capable of compensating for the time delay due to the processing time can be obtained.
ここでは、処理時間ΔTがクロック周期Tsの整数倍に等しい場合について説明したが、処理時間がクロック周期Tsの整数倍と異なっていても構わない。 Although the case where the processing time ΔT is equal to an integer multiple of the clock cycle Ts has been described here, the processing time may be different from an integer multiple of the clock cycle Ts.
角速度算出部22および積分回路27での信号の位相遅れは、モータの回転数に依存する。その結果、処理時間ΔTは一定ではなく、モータの回転数に応じて変化する。
The phase delay of the signals in the angular
最初の設定では、処理時間ΔTがクロック周期Tsの整数倍である条件を満たしていても、モータの回転数を大きく変更すると、その条件を満たさなくなる。 In the initial setting, even when the condition that the processing time ΔT is an integral multiple of the clock cycle Ts is satisfied, the condition is not satisfied when the number of rotations of the motor is greatly changed.
その場合は、図5に示すように、処理時間ΔT=ΔT1+δと表わしたとき、第1補正係数m1=1+δ/ΔTとすればよい。ここで、δは0より大きく、Tsより小さい値である。 In this case, as shown in FIG. 5, when the processing time is expressed as ΔT = ΔT1 + δ, the first correction coefficient m1 = 1 + δ / ΔT may be set. Here, δ is larger than 0 and smaller than Ts.
また、回転位置補正手段12は、特定用途向け集積回路(ASIC:Application Specific Integrated Circuit)によりハードウェアで実行する場合について説明したが、一連の補正処理をCPUによりソフトウェアで実行するようにしても構わない。 Moreover, although the rotation position correction | amendment means 12 demonstrated the case where it performed by hardware by an application specific integrated circuit (ASIC: Application Specific Integrated Circuit), you may make it perform a series of correction processes by software by CPU. Absent.
図6はCPUによりソフトウェアで実行される回転位置補正手段を示すブロック図である。図6に示すように、回転位置補正手段50では、I/Oインターフェース51は、回転位置算出手段11から出力された第1回転位置θcalcをクロック周期Tsに同期して取り込み、CPU(Central Processing Unit)52へ送出する。 FIG. 6 is a block diagram showing rotational position correction means executed by software by the CPU. As shown in FIG. 6, in the rotational position correcting means 50, the I / O interface 51 takes in the first rotational position θcalc output from the rotational position calculating means 11 in synchronization with the clock cycle Ts, and CPU (Central Processing Unit) ) 52.
CPU52は、第1回転位置θcalcをRAM(Random Access Memory)53に格納し、カウンタ54をして遅延時間ΔTを計測させ、第1回転位置θcalcを遅延時間ΔTだけ遅延させた遅延値θdelay1を求める。
The
次に、第1回転位置θcalcから遅延値θdelay1を減算して差分Δθを求め、差分Δθに第1補正係数m1を乗算し、乗算結果を第1回転位置θcalcに加算して第2回転位置θcompを求める。 Next, the delay value θdelay1 is subtracted from the first rotational position θcalc to obtain the difference Δθ, the difference Δθ is multiplied by the first correction coefficient m1, and the multiplication result is added to the first rotational position θcalc to obtain the second rotational position θcomp. Ask for.
I/Oインターフェース55は、得られた第2回転位置θcompを外部に出力する。ROM(Read Only Memory)56には、CPU52の動作を制御するプログラムや、演算のアルゴリズム、各種初期値などが格納されている。
The I /
本発明の実施例2に係るレゾルバ/デジタル変換器について図7および図8を用いて説明する。図7は本実施例の回転位置補正手段を示すブロック図、図8は遅延回路を示す回路図である。 A resolver / digital converter according to a second embodiment of the present invention will be described with reference to FIGS. FIG. 7 is a block diagram showing the rotational position correcting means of this embodiment, and FIG. 8 is a circuit diagram showing a delay circuit.
本実施例において、上記実施例1と同一の構成部分には同一符号を付してその部分の説明は省略し、異なる部分について説明する。本実施例が実施例1と異なる点は、遅延時間を処理時間より短くしたことにある。 In the present embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, description thereof will be omitted, and different portions will be described. This embodiment is different from the first embodiment in that the delay time is shorter than the processing time.
即ち、図7に示すように、本実施例の回転位置補正手段60では、遅延時間ΔT2が処理時間ΔTより短く、例えばΔT2=Tsに設定されている。遅延回路61は、第1回転位置θcalcを遅延時間ΔT2だけ遅延させた遅延値θdelay2を出力する。
That is, as shown in FIG. 7, in the rotational position correcting means 60 of this embodiment, the delay time ΔT2 is shorter than the processing time ΔT, for example, ΔT2 = Ts. The
減算回路32は第1回転位置θcalcから遅延値θdelay2を減算し、差分Δθ2を出力する。
The
補正係数乗算回路33は、差分Δθ2に処理時間ΔTと遅延時間ΔT2の比ΔT/ΔT2に等しい第1補正係数m1を乗算する。ここでは、処理時間ΔT=3Ts、遅延時間ΔT2=Tsなので、第1補正係数m1は3である。
The correction
加算回路34は、乗算結果m1・Δθ2を第1回転位置θcalcに加算して、処理時間ΔTに起因する時間遅れが補償された第2回転位置θcompを求め、第2回転位置θcompをレゾルバの回転位置として出力する。
The
図8は遅延回路61を示す回路図である。図8に示すように、遅延回路61は2段のレジスタ35で構成され、第1回転位置θcalcにクロック周期Tsに等しい遅延を与える遅延回路である。
FIG. 8 is a circuit diagram showing the
次に、回転位置補正手段60の動作について説明する。図9は回転位置補正手段60の動作を説明するための図である。
Next, the operation of the rotational position correcting means 60 will be described. FIG. 9 is a diagram for explaining the operation of the rotational
図9に示すように、時間tnにおいて、遅延回路61は、第1回転位置θcalc(n)を遅延時間ΔT2だけ遅延した遅延値θdelay2として、時間tn−1/3における第1回転位置θcalc(n−1/3)を出力する。減算回路32は、θcalc(n)からθdelay2を減算し、差分Δθ2=θcalc(n)−θdelay2=θcalc(n)−θcalc(n−1/3)を出力する。
As shown in FIG. 9, at time tn, the
補正係数乗算回路33は、第1補正係数m1=3なので、差分Δθ2をm1倍してm1Δθ2を出力する。加算回路34は、差分Δθ2を第1回転位置θcalc(n)に加算し、第2回転位置θcomp(n)=θcalc(n)+m1Δθ2を出力する。
Since the first correction coefficient m1 = 3, the correction
その結果、モータの実際の回転位置θ(n)に等しい第2回転位置θcomp(n)を得る事が可能である。第2回転位置θcomp(n)は、モータの回転数が一定である限り、実施例1に示す第2回転位置θcomp(n)と等しくなる。 As a result, it is possible to obtain a second rotational position θcomp (n) equal to the actual rotational position θ (n) of the motor. The second rotational position θcomp (n) is equal to the second rotational position θcomp (n) shown in the first embodiment as long as the rotational speed of the motor is constant.
遅延回路61は遅延回路31に比べてレジスタ35が少なくて済むので、回転位置補正手段60の回路規模を回転位置補正手段12の回路規模より小さくすることが可能である。
Since the
図10はモータの回転数が途中で変更されたときの回転位置補正手段60の動作を、回転位置補正手段12と対比して説明するための図である。図10において、実線71は、モータの回転数が変更された後のモータの実際の回転位置θを示している。破線72は、モータの回転数が変更された後の第1回転位置θcalcを示している。
FIG. 10 is a view for explaining the operation of the rotational position correcting means 60 when the rotational speed of the motor is changed in the middle, in comparison with the rotational
図10に示すように、モータの回転数が時間tn−2と時間tn−1の間で増加したとする。これにより、モータの実際の回転位置θは、時間tn−2と時間tn−1の間で折れ曲がる実線41、71で表わされる。第1回転位置θcalcは処理時間ΔTだけ遅れて時間tn−1と時間tnの間で折れ曲がる破線42、72で表わされる。
As shown in FIG. 10, it is assumed that the rotation speed of the motor increases between time tn-2 and time tn-1. Thus, the actual rotational position θ of the motor is represented by
始めに、回転位置補正手段12の動作について説明する。回転位置補正手段12は、上述したように、黒丸で示す第2回転位置θcomp(n)=θcalc(n)+Δθ1を出力する。この第2回転位置θcomp(n)は、モータの実際の回転位置θ(n)より小さいので、誤差が生じている。遅延値θdelay1=θcalc(n−1)が、モータの回転数が増加する前の値のためである。
First, the operation of the rotational
一方、回転位置補正手段60は、上述したように、白丸で示す第2回転位置θcomp(n)=θcalc(n)+3Δθ2を出力する。この第2回転位置θcomp(n)は、モータの実際の回転位置θ(n)に等しく、誤差は生じていない。遅延値θdelay2=θcalc(n−1/3)が、モータの回転数が増加した後の値のためである。 On the other hand, as described above, the rotational position correcting means 60 outputs the second rotational position θcomp (n) = θcalc (n) + 3Δθ2 indicated by a white circle. The second rotational position θcomp (n) is equal to the actual rotational position θ (n) of the motor, and no error has occurred. This is because the delay value θdelay2 = θcalc (n−1 / 3) is a value after the number of rotations of the motor is increased.
回転位置補正手段60は、モータ回転数の増加に対して回転位置補正手段12より早く応答できる。その結果、処理時間ΔTに起因する時間遅れをより正確に補償することが可能である。モータの回転数が減少する場合についても同様であり、その説明は省略する。 The rotational position correcting means 60 can respond faster than the rotational position correcting means 12 to the increase in the motor rotational speed. As a result, it is possible to more accurately compensate for the time delay caused by the processing time ΔT. The same applies to the case where the rotational speed of the motor decreases, and the description thereof is omitted.
以上説明したように、本実施例のレゾルバ/デジタル変換器では、回転位置補正手段60は、遅延時間ΔT2を処理時間ΔTより小さく、第1補正係数を1より大きくしている。その結果、遅延回路61は遅延回路31に比べてレジスタ35が少なくて済み、回転位置補正手段60の回路規模を小さくすることができる利点がある。
As described above, in the resolver / digital converter of this embodiment, the rotational position correcting means 60 sets the delay time ΔT2 to be shorter than the processing time ΔT and the first correction coefficient to be larger than 1. As a result, the
更に、回転位置補正手段60は、モータ回転数の増減に対して回転位置補正手段12より早く応答するので、処理時間ΔTに起因する時間遅れをより正確に補償することができる利点がある。モータの回転数を繁雑に増減させる場合に適した構成である。 Furthermore, since the rotational position correction means 60 responds faster to the increase / decrease in the motor rotational speed than the rotational position correction means 12, there is an advantage that the time delay caused by the processing time ΔT can be more accurately compensated. This configuration is suitable when the number of rotations of the motor is increased or decreased in a complicated manner.
ここでは、遅延時間ΔT2=Tsである場合について説明したが、ΔT2=2Tsとすることもできる。その場合、第1補正係数m1は1.5となる。遅延時間ΔT2に応じて回転位置補正手段60の応答を調整することができる。 Although the case where the delay time ΔT2 = Ts has been described here, ΔT2 = 2Ts may be used. In that case, the first correction coefficient m1 is 1.5. The response of the rotational position correcting means 60 can be adjusted according to the delay time ΔT2.
本発明の実施例3に係るレゾルバ/デジタル変換器について図11を用いて説明する。図11は本実施例のレゾルバ/デジタル変換器を示すブロック図である。 A resolver / digital converter according to a third embodiment of the present invention will be described with reference to FIG. FIG. 11 is a block diagram showing the resolver / digital converter of this embodiment.
本実施例において、上記実施例1と同一の構成部分には同一符号を付してその部分の説明は省略し、異なる部分について説明する。本実施例が実施例1と異なる点は、レゾルバと回転位置算出手段を接続する配線による遅延を補償するようにしたことにある。 In the present embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, description thereof will be omitted, and different portions will be described. The difference between the present embodiment and the first embodiment is that the delay due to the wiring connecting the resolver and the rotational position calculating means is compensated.
即ち、図11に示すように、モータ80に取り付けられたレゾルバ81と回転位置算出手段11が一対の配線ケーブル82で接続されている。レゾルバ81から出力されたセンサ値S1、S2は、配線ケーブル82を伝播して回転位置算出手段11に入力される。
That is, as shown in FIG. 11, the
回転位置補正手段12から出力された第2回転位置θcompは、モータ制御回路83に帰還される。モータ制御回路83は、モータ80を駆動するインバータ回路、インバータを制御する制御信号生成回路などを含み、モータ80の回転数を制御している。
The second rotational position θcomp output from the rotational position correction means 12 is fed back to the
配線ケーブル82は、ケーブル長さLに応じた伝播時間ΔTLを有している。配線ケーブル82の伝播時間ΔTLは、ケーブル長Lおよび特性インピーダンスを基に求めることができる。
The
モータ80の回転数が高い場合、配線ケーブル82が長い場合など、モータ80の回転数のフィードバック制御において伝播時間ΔTLが無視できないときは、伝播時間ΔTLに起因する時間遅れを補償することが必要である。
When the propagation time ΔTL cannot be ignored in the feedback control of the rotation speed of the
それには、回転位置補正手段12において、差分Δθ1に伝播時間ΔTLに起因する時間遅れを補償するための第2補正係数m2を乗算し、第1回転位置θcalcに加算すればよい。 For this purpose, the rotational position correcting means 12 may multiply the difference Δθ1 by the second correction coefficient m2 for compensating for the time delay caused by the propagation time ΔTL and add it to the first rotational position θcalc.
第2補正係数m2は、伝播時間ΔTLと遅延時間ΔT1の比(ΔTL/ΔT1)で表わされる。トータルの補正係数mは、第1補正係数m1と第2補正係数m2の和となり、次式で表わされる。 The second correction coefficient m2 is represented by a ratio (ΔTL / ΔT1) between the propagation time ΔTL and the delay time ΔT1. The total correction coefficient m is the sum of the first correction coefficient m1 and the second correction coefficient m2, and is expressed by the following equation.
m=(ΔT+ΔTL)/ΔT1=ΔT/ΔT1+ΔTL/ΔT1=m1+m2 (1)
以上説明したように、本実施例のレゾルバ/デジタル変換器では、レゾルバ81と回転位置算出手段11を接続する配線ケーブル82による伝播時間ΔTLに起因する時間遅れを、第2補正係数m2により補償している。
m = (ΔT + ΔTL) / ΔT1 = ΔT / ΔT1 + ΔTL / ΔT1 = m1 + m2 (1)
As described above, in the resolver / digital converter of the present embodiment, the time delay caused by the propagation time ΔTL caused by the
モータ80の回転数が高い場合、配線ケーブル82が長い場合など、モータ80の回転数のフィードバック制御において無視できない伝播時間ΔTLの影響を低減できる利点がある。
There is an advantage that the influence of the propagation time ΔTL that cannot be ignored in the feedback control of the rotational speed of the
本実施例は、実施例2で説明したレゾルバ/デジタル変換器において、同様に適用できることは言うまでもない。 Needless to say, this embodiment can be similarly applied to the resolver / digital converter described in the second embodiment.
本発明の実施例4に係るレゾルバ/デジタル変換器について図12および図13を用いて説明する。図12は本実施例の回転位置補正手段を示すブロック図、図13は遅延回路を示す回路図である。 A resolver / digital converter according to Embodiment 4 of the present invention will be described with reference to FIGS. FIG. 12 is a block diagram showing the rotational position correcting means of this embodiment, and FIG. 13 is a circuit diagram showing a delay circuit.
本実施例において、上記実施例1と同一の構成部分には同一符号を付してその部分の説明は省略し、異なる部分について説明する。本実施例が実施例1と異なる点は、複数の遅延時間を有することにある。 In the present embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, description thereof will be omitted, and different portions will be described. This embodiment is different from the first embodiment in that it has a plurality of delay times.
即ち、図12に示すように、本実施例のレゾルバ/デジタル変換器では、回転位置補正手段90は、平均遅延回路91が遅延時間ΔT31を有する遅延回路92、遅延時間ΔT32を有する遅延回路93、遅延時間ΔT33を有する遅延回路94および平均回路95で構成されている。
That is, as shown in FIG. 12, in the resolver / digital converter of this embodiment, the rotational position correcting means 90 includes a
遅延回路92は、第1回転位置θcalcを遅延時間ΔT31だけ遅延させた遅延値θdelay31を出力する。遅延回路93は、第1回転位置θcalcを遅延時間ΔT32だけ遅延させた遅延値を出力する。遅延回路94は、第1回転位置θcalcを遅延時間ΔT33だけ遅延させた遅延値θdelay33を出力する。
The
平均回路95は、遅延値θdelay31、遅延値θdelay32および遅延値θdelay33の平均値を求め、得られた平均値を平均遅延値θdelay3として出力する。
The
即ち、平均遅延回路91は、第1回転位置θcalcを平均遅延時間ΔT3だけ遅延させた平均遅延値θdelay3を求めるものである。平均遅延時間ΔT3、平均遅延値θdelay3は次式で表わされる。
That is, the
ΔT3=(ΔT31+ΔT32+ΔT33)/3 (2)
θdelay3=(θdelay31+θdelay32+θdelay33)/3 (3)
減算器32は、第1回転位置θcalcから平均遅延値θdelay3を減算し、平均差分Δθ3を出力する。補正係数乗算回路33は、処理時間ΔTと平均遅延時間ΔT3の比(ΔT/ΔT3)を第1補正係数m1として、平均差分Δθ3に第1補正係数m1を乗算し、乗算結果m1・Δθ3を出力する。加算器34は、乗算結果m1・Δθ3を第1回転位置θcalcに加算し、加算結果を第2回転位置θcompとして出力する。
ΔT3 = (ΔT31 + ΔT32 + ΔT33) / 3 (2)
θdelay3 = (θdelay31 + θdelay32 + θdelay33) / 3 (3)
The
例えば、遅延時間ΔT31、ΔT32、ΔT33を、ΔT31=Ts、ΔT32=2Ts、ΔT33=3Tsとすると、平均遅延時間ΔT3=2Ts、第1補正係数m1=1.5となる。 For example, if the delay times ΔT31, ΔT32, and ΔT33 are ΔT31 = Ts, ΔT32 = 2Ts, and ΔT33 = 3Ts, the average delay time ΔT3 = 2Ts and the first correction coefficient m1 = 1.5.
図13に示すように、遅延回路92、93、94は、クロック信号に同期して第1回転位置θcalcを出力する4段のレジスタ35で実現される。2乃至4段目のレジスタの出力が遅延回路92、93、94の出力に対応する。
As shown in FIG. 13, the
次に、回転位置補正手段90の動作について説明する。図14は回転位置補正手段90の動作を説明するための図である。
Next, the operation of the rotational position correction means 90 will be described. FIG. 14 is a diagram for explaining the operation of the rotational
図14に示すように、時間tnにおいて、第1回転位置θcalc(n)を遅延時間ΔT31だけ遅延した遅延値θdelay31として、時間tn−1/3における第1回転位置θcalc(n−1/3)が求められる。第1回転位置θcalc(n)を遅延時間ΔT32だけ遅延した遅延値θdelay32として、時間tn−2/3における第1回転位置θcalc(n−2/3)が求められる。第1回転位置θcalc(n)を遅延時間ΔT33だけ遅延した遅延値θdelay33として、時間tn−1における第1回転位置θcalc(n−1)が求められる。 As shown in FIG. 14, at time tn, the first rotational position θcalc (n−1 / 3) at time tn−1 / 3 is defined as a delay value θdelay31 obtained by delaying the first rotational position θcalc (n) by the delay time ΔT31. Is required. The first rotation position θcalc (n−2 / 3) at time tn−2 / 3 is obtained as a delay value θdelay32 obtained by delaying the first rotation position θcalc (n) by the delay time ΔT32. The first rotation position θcalc (n−1) at time tn−1 is obtained as a delay value θdelay33 obtained by delaying the first rotation position θcalc (n) by the delay time ΔT33.
更に、遅延値θdelay31、遅延値θdelay32および遅延値θdelay33の平均遅延値θdelay3が求められる。平均遅延値θdelay3は、遅延値θdelay31、遅延値θdelay32および遅延値θdelay33の移動平均値でもある。 Further, an average delay value θdelay3 of the delay value θdelay31, the delay value θdelay32, and the delay value θdelay33 is obtained. The average delay value θdelay3 is also a moving average value of the delay value θdelay31, the delay value θdelay32, and the delay value θdelay33.
第1回転位置θcalc(n)と平均遅延値θdelay3の平均差分Δθ3が求められ、平均差分Δθ3に第1補正係数m1が乗算される。乗算結果m1・Δθ3が第1回転位置θcalc(n)に加算され、第2回転位置θcompが求められる。 An average difference Δθ3 between the first rotational position θcalc (n) and the average delay value θdelay3 is obtained, and the average difference Δθ3 is multiplied by the first correction coefficient m1. The multiplication result m1 · Δθ3 is added to the first rotational position θcalc (n) to obtain the second rotational position θcomp.
回転位置補正手段90は、実施例1で説明した回転位置補正手段12の応答特性および実施例2で説明した回転位置補正手段60の応答特性の中間の応答特性を有している。モータ回転数の増減に対する応答性およびノイズに対する耐性を持たせることが可能である。 The rotational position correcting means 90 has a response characteristic intermediate between the response characteristics of the rotational position correcting means 12 described in the first embodiment and the response characteristics of the rotational position correcting means 60 described in the second embodiment. It is possible to provide responsiveness to increase / decrease in motor rotation speed and resistance to noise.
モータの回転数が一定である限り、本実施例の第2回転位置θcompは、実施例1および実施例2の第2回転位置θcompに等しい値を示す。 As long as the rotation speed of the motor is constant, the second rotational position θcomp of the present embodiment shows a value equal to the second rotational position θcomp of the first and second embodiments.
以上説明したように、本実施例のレゾルバ/デジタル変換器では、回転位置補正手段90は、第1回転位置θcalcを平均遅延時間ΔT3だけ遅延させた平均遅延値θdelay3を出力する平均遅延回路91を備えている。
As described above, in the resolver / digital converter of this embodiment, the rotational position correcting means 90 includes the
その結果、回転位置補正手段90は回転位置補正手段12、60の応答特性の中間の応答特性を有するので、モータ回転数の増減に対する応答性およびノイズに対する耐性を持たせることができる利点がある。 As a result, the rotational position correction means 90 has a response characteristic that is intermediate between the response characteristics of the rotational position correction means 12 and 60, so that there is an advantage that it can have responsiveness to fluctuations in the motor rotation speed and resistance to noise.
本発明の実施例5に係るレゾルバ/デジタル変換器について図15を用いて説明する。図15は本実施例の遅延回路を示す回路図である。 A resolver / digital converter according to Embodiment 5 of the present invention will be described with reference to FIG. FIG. 15 is a circuit diagram showing the delay circuit of this embodiment.
本実施例において、上記実施例1と同一の構成部分には同一符号を付してその部分の説明は省略し、異なる部分について説明する。本実施例が実施例1と異なる点は、遅延時間を可変できるようにしたことにある。 In the present embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, description thereof will be omitted, and different portions will be described. This embodiment is different from the first embodiment in that the delay time can be varied.
即ち、図15に示すように、本実施例の可変遅延回路100は、4段のレジスタ35と、いずれかのレジスタ35を選択する選択回路101とで構成されている。選択回路101は、選択信号Vslに基づいて2段乃至4段目のレジスタ35のいずれかを選択し、選択したレジスタ35の出力を遅延値θdelayとして出力する。
That is, as shown in FIG. 15, the
4段目のレジスタ35を選択した場合、遅延時間ΔT4=3Tsであり、実施例1に示す遅延回路31の遅延時間ΔT1に等しくなる。2段目のレジスタ35を選択した場合、遅延時間ΔT4=Tsであり、実施例2に示す遅延回路61の遅延時間ΔT2に等しくなる。
When the fourth-
可変遅延回路100は、回路規模が大きくなるものの、目的に応じて遅延時間をプログラマブルに可変することが可能である。例えば、オフラインでモータの回転数を変更するときに、併せて適切な遅延時間を選択したい場合に適した構成である。なお、レジスタ35の段数には特に制限はない。
Although the
以上説明したように、本実施例のレゾルバ/デジタル変換器では、回転位置補正手段は可変遅延回路100を備えているので、目的に応じて遅延時間をプログラマブルに可変することができる利点がある。
As described above, in the resolver / digital converter of the present embodiment, the rotational position correcting means includes the
本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Although several embodiments of the present invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.
本発明は、以下の付記に記載されているような構成が考えられる。
(付記1) 前記遅延回路に、前記複数段のレジスタの出力の平均値を求め、前記平均値を前記遅延値として出力する平均回路を具備する請求項4に記載のレゾルバ/デジタル変換器。
The present invention can be configured as described in the following supplementary notes.
(Supplementary note 1) The resolver / digital converter according to claim 4, further comprising: an average circuit that obtains an average value of the outputs of the plurality of registers in the delay circuit and outputs the average value as the delay value.
(付記2) 電動機に含まれる回転子の回転位置を検出する回転位置センサから出力されたセンサ値が入力されると、所定の処理時間を要して、前記センサ値に前記回転位置を求めるための処理を施し、前記処理結果を第1回転位置として出力するステップと、
前記第1回転位置を前記処理時間以下の遅延時間だけ遅延させた遅延値を求め、前記第1回転位置と前記遅延値との差分を求め、前記差分に前記処理時間と前記遅延時間の比に等しい第1補正係数を乗算した結果を前記第1回転位置に加算して第2回転位置を求め、前記第2回転位置を前記回転位置として出力するステップと、
を具備するレゾルバ/デジタル変換方法。
(Additional remark 2) When the sensor value output from the rotational position sensor which detects the rotational position of the rotor contained in an electric motor is input, in order to require the predetermined processing time and to obtain the rotational position from the sensor value Performing the process, and outputting the processing result as a first rotational position;
A delay value obtained by delaying the first rotation position by a delay time equal to or less than the processing time is obtained, a difference between the first rotation position and the delay value is obtained, and the difference is a ratio of the processing time and the delay time. Adding a result obtained by multiplying an equal first correction coefficient to the first rotational position to obtain a second rotational position, and outputting the second rotational position as the rotational position;
A resolver / digital conversion method comprising:
(付記3) 電動機に含まれる回転子の回転位置を検出する回転位置センサから出力されたセンサ値から前記回転位置を算出し、前記センサ値が入力されてから前記回転位置が出力されるまでの処理時間による時間遅れを補償する処理をコンピュータに実行させるためのプログラムを記録したコンピュータ読取り可能な記録媒体であって、
前記処理は、前記センサ値に前記回転位置を求めるための処理を施し、前記処理結果を第1回転位置として出力するステップと、
前記第1回転位置を前記処理時間以下の遅延時間だけ遅延させた遅延値を求め、前記第1回転位置と前記遅延値との差分を求め、前記差分に前記処理時間と前記遅延時間の比に等しい第1補正係数を乗算した結果を前記第1回転位置に加算して第2回転位置を求め、前記第2回転位置を前記回転位置として出力するステップと、
を具備するコンピュータ読取り可能な記録媒体。
(Supplementary Note 3) The rotation position is calculated from the sensor value output from the rotation position sensor that detects the rotation position of the rotor included in the electric motor, and the rotation position is output after the sensor value is input. A computer-readable recording medium recording a program for causing a computer to execute processing for compensating for a time delay due to processing time,
The process performs a process for obtaining the rotational position on the sensor value, and outputs the processing result as a first rotational position;
A delay value obtained by delaying the first rotation position by a delay time equal to or less than the processing time is obtained, a difference between the first rotation position and the delay value is obtained, and the difference is a ratio of the processing time and the delay time. Adding a result obtained by multiplying an equal first correction coefficient to the first rotational position to obtain a second rotational position, and outputting the second rotational position as the rotational position;
A computer-readable recording medium comprising:
10 レゾルバ/デジタル変換器
11 回転位置算出手段
12、50、60、90 回転位置補正手段
20、32 減算回路
22 角速度算出部
31、61、92、93、94 遅延回路
33 補正係数乗算回路
34 加算回路
35 レジスタ
80 モータ
81 レゾルバ
82 配線ケーブル
83 モータ制御回路
91 平均遅延回路
95 平均回路
100 可変遅延回路
101 選択回路
τ 励磁角
φ レゾルバ角度
θ 出力角度
ΔT 処理時間
ΔT1、ΔT2、ΔT31、ΔT32、ΔT33 遅延時間
ΔTL 信号伝播遅延時間
ΔT3 平均遅延時間
θcalc 第1回転位置
θdelay1、θdelay2 遅延値
θdelay3 平均遅延値
Δθ1、Δθ2 差分
Δθ3 平均差分
θcomp 第2回転位置
m1 第1補正係数
m2 第2補正係数
Ts クロック周期
L ケーブル長
Vsl 選択信号
DESCRIPTION OF SYMBOLS 10 Resolver /
Claims (5)
前記第1回転位置を前記処理時間以下の遅延時間だけ遅延させた遅延値を求め、前記第1回転位置と前記遅延値との差分を求め、前記差分に前記処理時間と前記遅延時間の比に等しい第1補正係数を乗算した結果を前記第1回転位置に加算して第2回転位置を求め、前記第2回転位置を前記回転位置として出力する回転位置補正手段と、
を具備することを特徴とするレゾルバ/デジタル変換器。 When a sensor value output from a rotational position sensor that detects the rotational position of the rotor included in the electric motor is input, a predetermined processing time is required and processing for obtaining the rotational position is performed on the sensor value. Rotation position calculation means for outputting the processing result as a first rotation position;
A delay value obtained by delaying the first rotation position by a delay time equal to or less than the processing time is obtained, a difference between the first rotation position and the delay value is obtained, and the difference is a ratio of the processing time and the delay time. A rotational position correcting means for obtaining a second rotational position by adding a result obtained by multiplying an equal first correction coefficient to the first rotational position, and outputting the second rotational position as the rotational position;
A resolver / digital converter.
前記回転位置補正手段は、
前記クロック信号に同期して前記第1回転位置を通過させる複数段のレジスタを有する遅延回路と、
前記第1回転位置と前記遅延値との差分を求める減算回路と、
前記差分に前記処理時間と前記遅延時間の比に等しい第1補正係数を乗算する乗算回路と、
前記乗算結果を前記第1回転位置に加算する加算回路と、
を具備することを特徴とする請求項1に記載のレゾルバ/デジタル変換器。 The rotational position calculating means and the rotational position correcting means operate in synchronization with a clock signal,
The rotational position correcting means includes
A delay circuit having a plurality of registers that pass through the first rotational position in synchronization with the clock signal;
A subtraction circuit for obtaining a difference between the first rotation position and the delay value;
A multiplication circuit that multiplies the difference by a first correction coefficient equal to a ratio of the processing time and the delay time;
An addition circuit for adding the multiplication result to the first rotation position;
The resolver / digital converter according to claim 1, comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010280078A JP2012127829A (en) | 2010-12-16 | 2010-12-16 | Resolver/digital converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010280078A JP2012127829A (en) | 2010-12-16 | 2010-12-16 | Resolver/digital converter |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2012127829A true JP2012127829A (en) | 2012-07-05 |
Family
ID=46645031
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010280078A Pending JP2012127829A (en) | 2010-12-16 | 2010-12-16 | Resolver/digital converter |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2012127829A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2782259A3 (en) * | 2013-03-21 | 2015-01-07 | Hamilton Sundstrand Corporation | Resolver-to-digital converter |
JP2016206050A (en) * | 2015-04-24 | 2016-12-08 | 多摩川精機株式会社 | Rotation signal processor and output advance method of the same |
JP6594600B1 (en) * | 2019-02-22 | 2019-10-23 | 三菱電機株式会社 | Motor drive control device, connection control system, and motor drive control method |
CN112665617A (en) * | 2019-10-16 | 2021-04-16 | 多摩川精机株式会社 | Rotating equipment control system and encoder |
-
2010
- 2010-12-16 JP JP2010280078A patent/JP2012127829A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2782259A3 (en) * | 2013-03-21 | 2015-01-07 | Hamilton Sundstrand Corporation | Resolver-to-digital converter |
US9059732B2 (en) | 2013-03-21 | 2015-06-16 | Hamilton Sundstrand Corporation | Resolver-to-digital converter |
JP2016206050A (en) * | 2015-04-24 | 2016-12-08 | 多摩川精機株式会社 | Rotation signal processor and output advance method of the same |
JP6594600B1 (en) * | 2019-02-22 | 2019-10-23 | 三菱電機株式会社 | Motor drive control device, connection control system, and motor drive control method |
WO2020170440A1 (en) * | 2019-02-22 | 2020-08-27 | 三菱電機株式会社 | Motor drive control device, coupling control system, and motor drive control method |
CN113454909A (en) * | 2019-02-22 | 2021-09-28 | 三菱电机株式会社 | Motor drive control device, connection control system, and motor drive control method |
CN112665617A (en) * | 2019-10-16 | 2021-04-16 | 多摩川精机株式会社 | Rotating equipment control system and encoder |
CN112665617B (en) * | 2019-10-16 | 2024-04-19 | 多摩川精机株式会社 | Rotary equipment control system and encoder |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5802588B2 (en) | Angle detection device and motor drive control device | |
JP6598563B2 (en) | Signal converter and control device | |
JP6317437B2 (en) | Position sensor device for detecting the position of a moving body | |
JP2014228413A (en) | Rotation angle detector, image processor and rotation angle detection method | |
JP5173962B2 (en) | Resolver / digital conversion apparatus and resolver / digital conversion method | |
WO2016139849A1 (en) | Resolver device | |
US20100176975A1 (en) | RD Converter and Angle Detecting Apparatus | |
JPH09126809A (en) | Position detecting phase difference detection device and position detection system and its method | |
JP6667320B2 (en) | Signal processor and control device | |
JP2012127829A (en) | Resolver/digital converter | |
JP2016138870A (en) | Semiconductor device | |
JP2019002942A (en) | Rotation detection device and rotation detection method | |
JP2010216961A (en) | Encoder output signal correction apparatus and method | |
JP2016052166A (en) | Position estimation device, motor drive control device, position estimation method and program | |
JP2013238431A (en) | Resolver device | |
JPH07336979A (en) | Method and apparatus for detecting position | |
JP6205683B2 (en) | Rotation angle detection device, image processing device, and rotation angle detection method | |
JP2004333156A (en) | Encoder signal interpolation divider | |
US10797624B2 (en) | Rotation angle correction device and motor control system | |
JP2005224051A (en) | Motor controller | |
JP2000329505A (en) | Method and apparatus for generating position detection data | |
JP6788512B2 (en) | Control device | |
JP2005147729A (en) | Rotational angle detector | |
JPH10117489A (en) | Phase controller | |
JP4710634B2 (en) | Motor control device |