JP2014074605A - Hysteresis circuit and resolver/digital converter - Google Patents

Hysteresis circuit and resolver/digital converter Download PDF

Info

Publication number
JP2014074605A
JP2014074605A JP2012221176A JP2012221176A JP2014074605A JP 2014074605 A JP2014074605 A JP 2014074605A JP 2012221176 A JP2012221176 A JP 2012221176A JP 2012221176 A JP2012221176 A JP 2012221176A JP 2014074605 A JP2014074605 A JP 2014074605A
Authority
JP
Japan
Prior art keywords
value
output signal
clock
signal value
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2012221176A
Other languages
Japanese (ja)
Inventor
Masayuki Nakamoto
正幸 中本
Kazuaki Kurooka
一晃 黒岡
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.)
Renesas Electronics Corp
Original Assignee
Renesas Electronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Renesas Electronics Corp filed Critical Renesas Electronics Corp
Priority to JP2012221176A priority Critical patent/JP2014074605A/en
Publication of JP2014074605A publication Critical patent/JP2014074605A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

PROBLEM TO BE SOLVED: To exclude influence caused by vibration and bit skip generated in an input signal value on an output signal value in a hysteresis circuit.SOLUTION: A hysteresis circuit 30 generates an output signal corresponding to hysteresis of an input signal from an A/D conversion part 30 synchronously with a clock. The hysteresis circuit 30 calculates a difference value between an input signal value before one clock and an output signal value before one clock and generates an output signal value of a present clock in accordance with the calculated difference value. The hysteresis circuit 30 determines a value obtained by adding one bit to the output signal value before one clock as the output signal value of the present clock when the difference value is a positive threshold or more, determines a value obtained by subtracting one bit from the output signal value before one clock when the difference value is a negative threshold or less, and determines the output signal value before one clock as the output signal value of the present clock when the difference value is less than the positive threshold and greater than the negative threshold.

Description

この発明は、ヒステリシス回路に関し、例えば、レゾルバから出力される電気信号をデジタルの角度信号に変換するレゾルバ/デジタルコンバータに好適に用いられるものである。   The present invention relates to a hysteresis circuit, and is suitably used for, for example, a resolver / digital converter that converts an electrical signal output from a resolver into a digital angle signal.

レゾルバ/デジタルコンバータ(以下、「R/Dコンバータ」と称する。)は、回転体の回転角度を検出するレゾルバから出力される電気信号をデジタル値に変換する(たとえば、特許文献1参照)。具体的には、レゾルバは、ロータに設けられた一次巻線と、ステータに設けられた2つの二次巻線とを含む。なお、2つの二次巻線は機械的に90°ずらして配置されている。一次巻線に正弦波の励磁信号を与えると、2つの二次巻線からは、ロータの回転角度に応じて変調された正弦波出力および余弦波出力がそれぞれ得られる。R/Dコンバータは、レゾルバの正弦波出力および余弦波出力を、所定のサンプルクロックに従ってデジタル値に変換する。   A resolver / digital converter (hereinafter referred to as “R / D converter”) converts an electrical signal output from a resolver that detects a rotation angle of a rotating body into a digital value (see, for example, Patent Document 1). Specifically, the resolver includes a primary winding provided on the rotor and two secondary windings provided on the stator. The two secondary windings are mechanically shifted by 90 °. When a sine wave excitation signal is applied to the primary winding, a sine wave output and a cosine wave output modulated according to the rotation angle of the rotor are obtained from the two secondary windings, respectively. The R / D converter converts the sine wave output and cosine wave output of the resolver into digital values according to a predetermined sample clock.

このようなR/Dコンバータとして、特許文献1には、レゾルバの正弦波出力および余弦波出力をアナログ/デジタル変換するA/Dコンバータと、A/Dコンバータからの正弦波値および余弦波値をヒステリシス補正する補正手段とを備えた構成が開示されている。この特許文献1では、A/Dコンバータ入力へのノイズ等の影響によってA/D変換値に生じる誤差を補償するために、A/D変換値にヒステリシス特性を持たせている。詳細には、補正手段は、1サンプル前と現在のA/D変換値の差が一定値以内のときには、A/D変換値を1サンプル前の値とする。   As such an R / D converter, Patent Document 1 discloses an A / D converter for analog / digital conversion of a sine wave output and a cosine wave output of a resolver, and a sine wave value and a cosine wave value from the A / D converter. A configuration including correction means for correcting hysteresis is disclosed. In Patent Document 1, in order to compensate for an error that occurs in an A / D conversion value due to the influence of noise or the like on the input of the A / D converter, the A / D conversion value has a hysteresis characteristic. Specifically, when the difference between the previous sample and the current A / D conversion value is within a certain value, the correction unit sets the A / D conversion value to the previous value.

特開2004−309285号公報JP 2004-309285 A 特開平4−353765号公報JP-A-4-353765

このようなR/Dコンバータにおいては、正弦波の励磁信号に同期してA/D変換値が振動することがある。上記の特許文献1に記載されるR/Dコンバータにおいて、A/D変換値が振動した場合、A/D変換値の振動幅が補正手段における一定値を上回ると、補正手段によってもこの振動を補償することができない。そのため、ヒステリシス補正された正弦波値および余弦波値も振動することとなる。   In such an R / D converter, the A / D conversion value may oscillate in synchronization with a sinusoidal excitation signal. In the R / D converter described in Patent Document 1 described above, when the A / D conversion value vibrates, if the vibration width of the A / D conversion value exceeds a certain value in the correction unit, the correction unit also detects this vibration. It cannot be compensated. Therefore, the hysteresis-corrected sine wave value and cosine wave value also vibrate.

また、上記の特許文献1では、A/D変換値は、補正手段によって1サンプル前の値および現在のA/D変換値のいずれかに設定される。そのため、A/D変換値が外乱ノイズ等に起因して1サンプルクロックごとに信号値が1ビットずつ遷移しない、いわゆる“ビット飛び”を起こした場合には、ヒステリシス補正された正弦波値および余弦波値にもそのままビット飛びが現れるという問題が生じてしまう。このような事態が生じると、R/Dコンバータから得られるロータの回転角度と実回転角度との間にずれが生じる可能性がある。その他の課題と新規な特徴は、本明細書の記述および添付図面から明らかになるであろう。   Further, in the above-mentioned Patent Document 1, the A / D conversion value is set to one of the value one sample before and the current A / D conversion value by the correcting means. Therefore, when the A / D conversion value causes a so-called “bit skip” in which the signal value does not change by 1 bit every sample clock due to disturbance noise or the like, the hysteresis-corrected sine wave value and cosine There arises a problem that a bit skip appears in the wave value as it is. When such a situation occurs, there is a possibility that a deviation occurs between the rotation angle of the rotor obtained from the R / D converter and the actual rotation angle. Other problems and novel features will become apparent from the description of the specification and the accompanying drawings.

一実施の形態によるレゾルバ/デジタルコンバータに設けられたヒステリシス回路は、レゾルバの出力信号を角度信号に変換するアナログ/デジタル変換部と、クロックに同期して、アナログ/デジタル変換部からの入力信号のヒステリシスに応じた出力信号を生成し、角度信号として出力するヒステリシス回路とを備える。ヒステリシス回路は、1クロック前の入力信号値と1クロック前の出力信号値との差分値を演算する減算回路と、減算回路からの差分値に従って現在のクロックの出力信号値を生成して出力する出力回路とを含む。出力回路は、差分値が正の閾値以上であるときに、1クロック前の出力信号値に1ビットを加算した値を、現在のクロックの出力信号値として出力し、差分値が負の閾値以下であるときに、1クロック前の出力信号値から1ビットを減算した値を、現在のクロックの出力信号値として出力し、差分値が正の閾値未満であって、かつ、負の閾値より大きいときに、1クロック前の出力信号値を、現在のクロックの出力信号値として出力する。   A hysteresis circuit provided in the resolver / digital converter according to the embodiment includes an analog / digital conversion unit that converts an output signal of the resolver into an angle signal, and an input signal from the analog / digital conversion unit in synchronization with the clock. A hysteresis circuit that generates an output signal corresponding to the hysteresis and outputs the output signal as an angle signal. The hysteresis circuit generates a difference signal between the input signal value one clock before and the output signal value one clock before, and generates and outputs the output signal value of the current clock according to the difference value from the subtraction circuit. Output circuit. When the difference value is greater than or equal to the positive threshold value, the output circuit outputs a value obtained by adding 1 bit to the output signal value one clock before as the output signal value of the current clock, and the difference value is equal to or less than the negative threshold value. In this case, a value obtained by subtracting one bit from the output signal value one clock before is output as the output signal value of the current clock, and the difference value is less than the positive threshold value and greater than the negative threshold value. Sometimes, the output signal value one clock before is output as the output signal value of the current clock.

上記の一実施の形態によれば、デジタルの入力信号値のヒステリシスに応じた出力信号値を生成するヒステリシス回路において、入力信号値に発生した振動およびビット飛びの影響を排除することができる。   According to the above-described embodiment, in the hysteresis circuit that generates the output signal value corresponding to the hysteresis of the digital input signal value, it is possible to eliminate the influence of the vibration and the bit skip generated in the input signal value.

一実施の形態によるR/Dコンバータの構成を示すブロック図である。It is a block diagram which shows the structure of the R / D converter by one embodiment. 励磁信号とA/D変換部から出力されるデジタル値との関係を示す図である。It is a figure which shows the relationship between an excitation signal and the digital value output from an A / D conversion part. 一実施の形態によるヒステリシス回路の構成を示すブロック図である。It is a block diagram which shows the structure of the hysteresis circuit by one Embodiment. 一実施の形態によるヒステリシス回路における入力信号値と出力信号値との関係を示す図である。It is a figure which shows the relationship between the input signal value and output signal value in the hysteresis circuit by one Embodiment. 図3のヒステリシス回路の変形例を示すブロック図である。It is a block diagram which shows the modification of the hysteresis circuit of FIG. 従来のヒステリシス回路の構成を示すブロック図である。It is a block diagram which shows the structure of the conventional hysteresis circuit. 従来のヒステリシス回路における入力信号値と出力信号値との関係を示す図である。It is a figure which shows the relationship between the input signal value and output signal value in the conventional hysteresis circuit.

以下、一実施の形態について図面を参照して詳しく説明する。なお、同一または相当する部分には同一の参照符号を付して、その説明を繰返さない。   Hereinafter, an embodiment will be described in detail with reference to the drawings. The same or corresponding parts are denoted by the same reference numerals, and description thereof will not be repeated.

[R/Dコンバータの構成]
図1は、一実施の形態によるR/Dコンバータの構成を示すブロック図である。一実施の形態によるR/Dコンバータは、たとえば、図1に示すようなモータ制御システムに適用される。
[Configuration of R / D converter]
FIG. 1 is a block diagram illustrating a configuration of an R / D converter according to an embodiment. The R / D converter according to the embodiment is applied to, for example, a motor control system as shown in FIG.

図1を参照して、モータ制御システムは、交流モータM1への電流供給を制御するためのシステムであって、モータドライバ1と、モータ制御部2と、レゾルバ3と、R/Dコンバータ4とから構成される。   Referring to FIG. 1, the motor control system is a system for controlling current supply to AC motor M1, and includes motor driver 1, motor control unit 2, resolver 3, R / D converter 4, and the like. Consists of

モータドライバ1は、交流モータM1を駆動する。モータドライバ1は、直流電源からの直流電力をインバータによって交流電流に変換して交流モータM1を駆動する。   The motor driver 1 drives the AC motor M1. The motor driver 1 drives the AC motor M1 by converting DC power from a DC power source into AC current by an inverter.

モータ制御部2は、マイクロコンピュータにより構成される。モータ制御部2は、モータドライバ1から交流モータM1への電流供給を制御する。交流モータM1の通電制御において、モータ制御部2は、R/Dコンバータ4により検出されるロータ回転角度θに応じて、交流モータM1に供給する電流を制御する。   The motor control unit 2 is configured by a microcomputer. The motor control unit 2 controls current supply from the motor driver 1 to the AC motor M1. In the energization control of the AC motor M1, the motor control unit 2 controls the current supplied to the AC motor M1 according to the rotor rotation angle θ detected by the R / D converter 4.

レゾルバ3は、交流モータM1の回転角度を検出する回転角センサである。レゾルバ3は、ロータと、ステータと、一次巻線と、2つの二次巻線とを含む。ロータは、ステータの内周面とのギャップが円周方向に正弦波状に変化する外径を有する。一次巻線は、ロータに設けられ、正弦波の励磁信号VExをR/Dコンバータ4から受ける。   The resolver 3 is a rotation angle sensor that detects the rotation angle of the AC motor M1. The resolver 3 includes a rotor, a stator, a primary winding, and two secondary windings. The rotor has an outer diameter whose gap with the inner peripheral surface of the stator changes in a sine wave shape in the circumferential direction. The primary winding is provided in the rotor and receives a sinusoidal excitation signal VEx from the R / D converter 4.

Figure 2014074605
Figure 2014074605

2つの二次巻線はステータに設けられる。第1の二次巻線は、一次巻線から機械的に90°ずらされて配置される。第2の二次巻線は、第1の二次巻線からさらに機械的に90°ずらされて配置される。図2に示すように、正弦波の励磁信号VExが一次巻線に与えられると、第1および第2の二次巻線には、ロータの回転角度θに応じて変調された信号V1,V2がそれぞれ発生する。   Two secondary windings are provided on the stator. The first secondary winding is mechanically offset by 90 ° from the primary winding. The second secondary winding is further mechanically shifted by 90 ° from the first secondary winding. As shown in FIG. 2, when a sinusoidal excitation signal VEx is applied to the primary winding, the first and second secondary windings have signals V1, V2 modulated according to the rotational angle θ of the rotor. Each occurs.

Figure 2014074605
Figure 2014074605

R/Dコンバータ4は、レゾルバ3の2つの二次巻線から出力される上記の信号(アナログ信号)V1,V2を角度信号(デジタル信号)に変換する。R/Dコンバータ4は、変換した角度信号をモータ制御部2に出力する。具体的には、R/Dコンバータ4は、励磁信号発生部10と、A/D(アナログ/デジタル)変換部20と、ヒステリシス回路30とを備える。   The R / D converter 4 converts the signals (analog signals) V1 and V2 output from the two secondary windings of the resolver 3 into angle signals (digital signals). The R / D converter 4 outputs the converted angle signal to the motor control unit 2. Specifically, the R / D converter 4 includes an excitation signal generator 10, an A / D (analog / digital) converter 20, and a hysteresis circuit 30.

励磁信号発生部10は、上記の正弦波からなる励磁信号VExを発生し、その発生した励磁信号VExをレゾルバ3の一次巻線へ出力する。   The excitation signal generator 10 generates an excitation signal VEx composed of the above sine wave and outputs the generated excitation signal VEx to the primary winding of the resolver 3.

A/D変換部20は、レゾルバ3の2つの二次巻線からそれぞれ出力される信号V1,V2を、ロータの回転角度θに対応するデジタル値φに変換する。レゾルバ3の出力信号V1,V2をデジタル値φに変換する方法については、周知の一般的な技術を利用すればよいため、ここではさらなる説明は繰り返さない。なお、デジタル値φは複数ビットの信号であり、そのビット数はA/D変換部20の分解能に応じて変化する。   The A / D converter 20 converts the signals V1 and V2 respectively output from the two secondary windings of the resolver 3 into a digital value φ corresponding to the rotation angle θ of the rotor. The method for converting the output signals V1 and V2 of the resolver 3 into the digital value φ may be performed by using a known general technique. Therefore, further description will not be repeated here. The digital value φ is a multi-bit signal, and the number of bits varies according to the resolution of the A / D converter 20.

図2には、励磁信号VExとA/D変換部20から出力されるデジタル値φとの関係が示される。なお、図2に示すデジタル値φは、交流モータM1においてロータの回転が停止している状態におけるロータの回転角度θに対応している。   FIG. 2 shows the relationship between the excitation signal VEx and the digital value φ output from the A / D converter 20. 2 corresponds to the rotation angle θ of the rotor in a state where the rotation of the rotor in AC motor M1 is stopped.

図2を参照して、ロータの回転が停止している状態では、通常、ロータの回転角度θは一定値を示す。したがって、ロータの回転角度θに対応するデジタル値φも一定値を示すこととなる。しかしながら、デジタル値φは、当該一定値を中心として振動する波形を示す。この振動は、R/Dコンバータ4の励磁信号発生部10から出力される励磁信号の振動に同期している。また、デジタル値φの振動の振幅は、A/D変換部20の分解能に依存した大きさとなる。   Referring to FIG. 2, when the rotation of the rotor is stopped, the rotation angle θ of the rotor usually shows a constant value. Therefore, the digital value φ corresponding to the rotation angle θ of the rotor also shows a constant value. However, the digital value φ indicates a waveform that oscillates around the constant value. This vibration is synchronized with the vibration of the excitation signal output from the excitation signal generator 10 of the R / D converter 4. Further, the amplitude of the vibration of the digital value φ has a magnitude depending on the resolution of the A / D converter 20.

このように、A/D変換部20から出力されるデジタル値φが励磁信号に同期して振動すると、レゾルバ3によって検出される交流モータM1の回転角度θと実回転角度との間にずれが生じる可能性がある。このような事態となると、モータ制御部2における交流モータM1の通電制御の精度が低下してしまう虞がある。   As described above, when the digital value φ output from the A / D converter 20 vibrates in synchronization with the excitation signal, there is a shift between the rotation angle θ of the AC motor M1 detected by the resolver 3 and the actual rotation angle. It can happen. In such a situation, there is a possibility that the accuracy of the energization control of the AC motor M1 in the motor control unit 2 is lowered.

そこで、一実施の形態によるR/Dコンバータでは、ヒステリシス回路30は、A/D変換部20からデジタル値を受けて、この入力信号のヒステリシス(履歴)に応じた出力信号(デジタル値)を生成する。これにより、励磁信号の影響を抑制する。ヒステリシス回路30により生成された出力信号は、角度信号として、モータ制御部2に与えられる。   Therefore, in the R / D converter according to the embodiment, the hysteresis circuit 30 receives the digital value from the A / D converter 20 and generates an output signal (digital value) corresponding to the hysteresis (history) of the input signal. To do. Thereby, the influence of the excitation signal is suppressed. The output signal generated by the hysteresis circuit 30 is given to the motor control unit 2 as an angle signal.

[従来のヒステリシス回路の概略構成および問題点]
最初に、従来のヒステリシス回路の概略構成および問題点について、図面を用いて説明する。図6は、従来のヒステリシス回路の構成を示すブロック図である。
[Schematic configuration and problems of conventional hysteresis circuit]
First, a schematic configuration and problems of a conventional hysteresis circuit will be described with reference to the drawings. FIG. 6 is a block diagram showing a configuration of a conventional hysteresis circuit.

図6を参照して、従来のヒステリシス回路は、図示しないA/D変換部の出力信号(デジタル信号)outを入力信号とし、この入力信号のヒステリシスに応じて生成した信号out_hysを出力信号として出力する。以下の説明では、ヒステリシス回路に入力される出力信号outを「入力信号値」とも記し、ヒステリシス回路から出力される信号out_hysを「出力信号値」とも表記する。   Referring to FIG. 6, the conventional hysteresis circuit uses an output signal (digital signal) out of an A / D converter (not shown) as an input signal, and outputs a signal out_hys generated according to the hysteresis of the input signal as an output signal. To do. In the following description, the output signal out input to the hysteresis circuit is also referred to as “input signal value”, and the signal out_hys output from the hysteresis circuit is also referred to as “output signal value”.

従来のヒステリシス回路は、Dフリップフロップ1100と、出力信号値out_hysを生成するための出力回路1000とを備える。   The conventional hysteresis circuit includes a D flip-flop 1100 and an output circuit 1000 for generating an output signal value out_hys.

Dフリップフロップ1100は、遅延(Delay)型のフリップフロップであり、図示しないクロック生成回路により生成されたクロックCLKに基づいて動作する。Dフリップフロップ1100は、クロックCLKの立上りに応答して入力信号値outを取り込んで出力回路1000へ供給する。   The D flip-flop 1100 is a delay flip-flop, and operates based on a clock CLK generated by a clock generation circuit (not shown). The D flip-flop 1100 takes the input signal value out in response to the rising of the clock CLK and supplies it to the output circuit 1000.

出力回路1000には、クロックCLKに同期して、入力信号値outと、Dフリップフロップ1100によって1クロック分遅延させた入力信号値outとが入力される。以下の説明では、これら2つの入力信号値を区別するために、現在のクロックの入力信号値outを「入力信号値out」とも記し、1クロック分遅延させた入力信号値outを「入力信号値out_d1」とも表記する。この入力信号値out_d1は、1クロック前の入力信号値outに相当する。出力回路1000は、これら2つの入力信号値の差分値のヒステリシス(履歴)に応じた出力信号値out_hysを生成する。   The output circuit 1000 receives the input signal value out and the input signal value out delayed by one clock by the D flip-flop 1100 in synchronization with the clock CLK. In the following description, in order to distinguish these two input signal values, the input signal value out of the current clock is also referred to as “input signal value out”, and the input signal value out delayed by one clock is expressed as “input signal value”. Also referred to as “out_d1”. This input signal value out_d1 corresponds to the input signal value out one clock before. The output circuit 1000 generates an output signal value out_hys corresponding to the hysteresis (history) of the difference value between these two input signal values.

具体的には、出力回路1000は、入力信号値outから入力信号値out_d1を差し引いた差分値(=out−out_d1)を演算して保持する。この差分値は、1クロック前の入力信号値outに対する現在のクロックの入力信号値outの変化量を表わす。そして、出力回路1000は、1クロック前の差分値と現在のクロックの差分値とを比較し、その比較結果を下記の式(3)に照らし合わせることにより、現在のクロックの出力信号値out_hysを算出する。   Specifically, the output circuit 1000 calculates and holds a difference value (= out−out_d1) obtained by subtracting the input signal value out_d1 from the input signal value out. This difference value represents the amount of change in the input signal value out of the current clock with respect to the input signal value out one clock before. Then, the output circuit 1000 compares the difference value of the previous clock with the difference value of the current clock, and compares the comparison result with the following equation (3) to obtain the output signal value out_hys of the current clock. calculate.

Figure 2014074605
Figure 2014074605

詳細には、1クロック前の差分値が1ビットであり、かつ、現在のクロックの差分値が1ビットであるときには、出力回路1000は、1クロック前の入力信号値out_d1に1ビットを加算した値を出力信号値out_hysとする。そして、出力回路1000は、生成した出力信号値out_hysを、次のクロックの立上りに応答して出力する。すなわち、現在のクロックの入力信号値outが1クロック前の入力信号値outに対して1ビット増加するという遷移が連続して2回生じたときに(=入力信号値outが合計2ビット遷移したときに)、出力信号値号out_hysを1ビット増加させる。   Specifically, when the difference value of 1 clock before is 1 bit and the current clock difference value is 1 bit, the output circuit 1000 adds 1 bit to the input signal value out_d1 of 1 clock before Let the value be the output signal value out_hys. Then, the output circuit 1000 outputs the generated output signal value out_hys in response to the next rising edge of the clock. That is, when the transition that the input signal value out of the current clock increases by 1 bit with respect to the input signal value out of 1 clock before occurs twice (= the input signal value out has transitioned by 2 bits in total) Sometimes) increase the output signal value out_hys by one bit.

一方、1クロック前の差分値が−1ビットであり、かつ、現在のクロックの差分値が−1ビットであるときには、出力回路1000は、1クロック前の入力信号値out_d1から1ビットを減算した値を出力信号値out_hysとする。そして、出力回路1000は、生成した出力信号値out_hysを、次のクロックの立上りに応答して出力する。すなわち、現在のクロックの入力信号値outが1クロック前の入力信号値outに対して1ビット減少するという遷移が連続して2回生じたときに(=入力信号値outが合計−2ビット遷移したときに)、出力信号値out_hysを1ビット減少させる。   On the other hand, when the difference value one clock before is −1 bit and the current clock difference value is −1 bit, the output circuit 1000 subtracts 1 bit from the input signal value out_d1 one clock before. Let the value be the output signal value out_hys. Then, the output circuit 1000 outputs the generated output signal value out_hys in response to the next rising edge of the clock. That is, when the transition that the input signal value out of the current clock decreases by 1 bit with respect to the input signal value out of one clock before occurs twice (= the input signal value out is a total of −2 bits transition) The output signal value out_hys is decreased by 1 bit.

なお、出力回路1000は、複数クロック前の差分値が1ビットとなった後、連続して差分値が0となる複数のクロック期間を経て、現在のクロックの差分値が1ビットとなったとき、すなわち、差分値が0となる複数のクロック期間を挟んで入力信号値outが合計2ビット遷移したときにおいても、出力信号値out_hysを1ビット増加させる。   Note that the output circuit 1000 is configured such that the difference value of the current clock becomes 1 bit after a plurality of clock periods in which the difference value becomes 0 continuously after the difference value before a plurality of clocks becomes 1 bit. That is, the output signal value out_hys is increased by 1 bit even when the input signal value out transitions a total of 2 bits across a plurality of clock periods in which the difference value is 0.

同様に、1クロックごとの差分値が−1ビットとなった後、連続して差分値が0となる複数のクロック期間を経て、現在のクロックの差分値が−1ビットとなったとき、すなわち、差分値が0となる複数のクロック期間を挟んで入力信号値outが合計−2ビット遷移したときにおいても、出力信号値out_hysを1ビット減少させる。   Similarly, after the difference value for each clock becomes −1 bit, and after a plurality of clock periods in which the difference value becomes 0 continuously, the current clock difference value becomes −1 bit, that is, The output signal value out_hys is also decreased by 1 bit even when the input signal value out transits a total of −2 bits across a plurality of clock periods in which the difference value becomes 0.

このように、従来のヒステリシス回路では、現在のクロックの入力信号値outと1クロック前の入力信号値outとを比較することにより入力信号値outの遷移の方向を判定する。そして、その判定した遷移の方向に、出力信号値out_hysを1ビット変化させる。図7には、従来のヒステリシス回路における入力信号値outと出力信号値out_hysとの関係を示す。図7を参照して、入力信号値outが合計2ビット遷移したときには、入力信号値outが増加方向に遷移していると判定して、1クロック前の入力信号値out_d1に1ビットを加算した値を次のクロックの出力信号値out_hysとする。また、入力信号値outが合計−2ビット遷移したときには、入力信号値outが減少方向に遷移していると判定して、1クロック前の入力信号値out_d1から1ビットを減算した値を次のクロックの出力信号値out_hysとする。   As described above, in the conventional hysteresis circuit, the transition direction of the input signal value out is determined by comparing the input signal value out of the current clock with the input signal value out of one clock before. Then, the output signal value out_hys is changed by 1 bit in the determined transition direction. FIG. 7 shows the relationship between the input signal value out and the output signal value out_hys in the conventional hysteresis circuit. Referring to FIG. 7, when the input signal value out has transitioned by 2 bits in total, it is determined that the input signal value out has shifted in the increasing direction, and 1 bit is added to the input signal value out_d1 one clock before. The value is the output signal value out_hys of the next clock. Further, when the input signal value out has transitioned by a total of −2 bits, it is determined that the input signal value out has transitioned in a decreasing direction, and a value obtained by subtracting 1 bit from the input signal value out_d1 one clock before is calculated as follows. Assume that the output signal value of the clock is out_hys.

このような構成とすることにより、入力信号値outが2ビットの振動幅で振動している場合には、出力信号値out_hysは、入力信号値outの振動の影響を受けず、一定値(振動幅中心の信号値に対応)を示している。しかしながら、入力信号値outの振動幅が3ビットに増加すると、出力信号値out_hysは、入力信号値outの振動の影響を排除することができず、1ビットの振動幅で振動することとなる。すなわち、従来のヒステリシス回路では、入力信号値outの振動幅が2ビット以下である限りにおいて、安定した出力信号値out_hysを得ることができるが、入力信号値outの振動幅が2ビットを超えると、入力信号値outの振動の影響を受けて出力信号値out_hysが振動してしまう。   With such a configuration, when the input signal value out vibrates with a 2-bit vibration width, the output signal value out_hys is not affected by the vibration of the input signal value out and has a constant value (vibration). Corresponding to the signal value at the center of the width). However, when the vibration width of the input signal value out increases to 3 bits, the output signal value out_hys cannot be affected by the vibration of the input signal value out, and vibrates with a vibration width of 1 bit. That is, in the conventional hysteresis circuit, a stable output signal value out_hys can be obtained as long as the vibration width of the input signal value out is 2 bits or less. However, when the vibration width of the input signal value out exceeds 2 bits, The output signal value out_hys vibrates due to the influence of the vibration of the input signal value out.

また、出力信号値out_hysは、1クロック前の入力信号値out_d1に1ビットを加算した値、または1クロック前の入力信号値out_d1から1ビットを減算した値に設定されるため、入力信号値outが、外乱ノイズ等に起因して1クロックごとに信号値が1ビットずつ遷移しない、いわゆる“ビット飛び”を起こした場合には、出力信号値out_hysにもそのままビット飛びが現れるという問題が生じる。   The output signal value out_hys is set to a value obtained by adding 1 bit to the input signal value out_d1 one clock before, or a value obtained by subtracting one bit from the input signal value out_d1 one clock before. However, when a so-called “bit skip” occurs in which the signal value does not transition by one bit every clock due to disturbance noise or the like, there arises a problem that the bit skip appears in the output signal value out_hys as it is.

さらに、出力信号値out_hysは、1クロック前の入力信号値out_d1に1ビットを加算/減算することにより生成されるため、入力信号値outに対して最低でも1ビットの偏差を常に有している。そのため、出力信号値out_hysは最終的に入力信号値outに一致することなく遷移が完了してしまう。   Further, since the output signal value out_hys is generated by adding / subtracting 1 bit to the input signal value out_d1 one clock before, the output signal value out_hys always has a deviation of at least 1 bit with respect to the input signal value out. . Therefore, the transition is completed without the output signal value out_hys finally matching the input signal value out.

以下に詳しく説明するように、一実施の形態によるヒステリシス回路は、入力信号値outに振動またはビット飛びが生じた場合でも、安定した出力信号値out_hysが得られるように構成されている。また、一実施の形態によるヒステリシス回路は、出力信号値out_hysを最終的に入力信号値outに一致させることが可能に構成されている。   As will be described in detail below, the hysteresis circuit according to the embodiment is configured to obtain a stable output signal value out_hys even when vibration or bit skip occurs in the input signal value out. Further, the hysteresis circuit according to the embodiment is configured to be able to finally match the output signal value out_hys with the input signal value out.

[一実施の形態によるヒステリシス回路の構成]
図3は、一実施の形態によるヒステリシス回路の構成を示すブロック図である。一実施の形態によるヒステリシス回路30は、A/D変換部20(図1)からの出力信号outを入力信号とし、この入力信号のヒステリシスに応じて生成した信号out_hysを出力信号として出力する。よって、図5に示す従来のヒステリシス回路と同様に、ヒステリシス回路30に入力される出力信号outを「入力信号値」とも記し、ヒステリシス回路30から出力される信号out_hysを「出力信号値」とも表記する。
[Configuration of Hysteresis Circuit According to One Embodiment]
FIG. 3 is a block diagram illustrating a configuration of a hysteresis circuit according to an embodiment. The hysteresis circuit 30 according to the embodiment uses an output signal out from the A / D converter 20 (FIG. 1) as an input signal, and outputs a signal out_hys generated according to the hysteresis of the input signal as an output signal. Therefore, similarly to the conventional hysteresis circuit shown in FIG. 5, the output signal out input to the hysteresis circuit 30 is also referred to as “input signal value”, and the signal out_hys output from the hysteresis circuit 30 is also referred to as “output signal value”. To do.

図3を参照して、一実施の形態によるヒステリシス回路30は、Dフリップフロップ50,52と、減算回路60と、出力回路70とを備える。ヒステリシス回路30は、分類回路80と、Dフリップフロップ54と、RSフリップフロップ91〜97と、演算回路100と、指令生成回路110と、論理積回路120,122とをさらに備える。   Referring to FIG. 3, hysteresis circuit 30 according to one embodiment includes D flip-flops 50 and 52, a subtraction circuit 60, and an output circuit 70. The hysteresis circuit 30 further includes a classification circuit 80, a D flip-flop 54, RS flip-flops 91 to 97, an arithmetic circuit 100, a command generation circuit 110, and logical product circuits 120 and 122.

Dフリップフロップ50は、図示しないクロック生成回路により生成されたクロックCLKに基づいて動作する。Dフリップフロップ50は、クロックCLKの立上りに応答して入力信号値outを取り込んで減算回路60へ供給する。   The D flip-flop 50 operates based on a clock CLK generated by a clock generation circuit (not shown). The D flip-flop 50 takes in the input signal value out in response to the rise of the clock CLK and supplies it to the subtraction circuit 60.

Dフリップフロップ52は、クロックCLKに基づいて動作する。Dフリップフロップ52は、クロックCLKの立上りに応答して出力信号値out_hysを取り込んで減算回路60へ供給する。   The D flip-flop 52 operates based on the clock CLK. The D flip-flop 52 takes in the output signal value out_hys in response to the rise of the clock CLK and supplies it to the subtraction circuit 60.

減算回路60には、クロックCLKに同期して、Dフリップフロップ50によって1クロック分遅延させた入力信号値outと、Dフリップフロップ52によって1クロック分遅延させた出力信号値out_hysとが入力される。以下の説明では、1クロック分遅延させた入力信号値outを「入力信号値out_d」とも記し、1クロック分遅延させた出力信号値out_hysを「出力信号値out_hys_d」とも表記する。入力信号値out_dおよび出力信号値out_hys_dは、それぞれ、1クロック前の入力信号値outおよび出力信号値out_hysに相当する。   In synchronization with the clock CLK, the input signal value out delayed by one clock by the D flip-flop 50 and the output signal value out_hys delayed by one clock by the D flip-flop 52 are input to the subtraction circuit 60. . In the following description, the input signal value out delayed by one clock is also referred to as “input signal value out_d”, and the output signal value out_hys delayed by one clock is also referred to as “output signal value out_hys_d”. The input signal value out_d and the output signal value out_hys_d correspond to the input signal value out and the output signal value out_hys one clock before, respectively.

減算回路60は、下記の式(4)により、入力信号値out_dから出力信号値out_hys_dを差し引いた差分値SUB(=out_d−out_hys_d)を演算する。減算回路60は、その演算結果SUBを出力回路70へ出力する。この差分値SUBは、1クロック前の入力信号値outと1クロック前の出力信号値out_hysとの差分値を表わす。   The subtraction circuit 60 calculates a difference value SUB (= out_d−out_hys_d) obtained by subtracting the output signal value out_hys_d from the input signal value out_d by the following equation (4). The subtraction circuit 60 outputs the calculation result SUB to the output circuit 70. The difference value SUB represents a difference value between the input signal value out one clock before and the output signal value out_hys one clock before.

Figure 2014074605
Figure 2014074605

出力回路70は、Dフリップフロップ52から出力信号値out_hys_dを受け、減算回路60から差分値SUBを受ける。出力回路70は、差分値SUBを下記の式(5)に照らし合わせることにより、現在のクロックの出力信号値out_hysを算出する。   The output circuit 70 receives the output signal value out_hys_d from the D flip-flop 52 and receives the difference value SUB from the subtraction circuit 60. The output circuit 70 calculates the output signal value out_hys of the current clock by comparing the difference value SUB with the following equation (5).

Figure 2014074605
Figure 2014074605

詳細には、出力回路70は、差分値SUBについて、正の閾値および負の閾値を予め設定する。そして、出力回路70は、1クロックCLKごとに、差分値SUBと正の閾値および負の閾値とを比較する。出力回路70は、差分値SUBが正の閾値以上となったとき、出力信号値out_hys_dに1ビットを加算した値を、現在のクロックの出力信号値out_hysとする。すなわち、入力信号値outが出力信号値out_hysよりも正の閾値以上大きくなったときに、出力信号値out_hysを1ビット増加させる。   Specifically, the output circuit 70 presets a positive threshold value and a negative threshold value for the difference value SUB. The output circuit 70 compares the difference value SUB with the positive threshold value and the negative threshold value for each clock CLK. When the difference value SUB is equal to or greater than the positive threshold value, the output circuit 70 sets a value obtained by adding 1 bit to the output signal value out_hys_d as the output signal value out_hys of the current clock. That is, when the input signal value out becomes larger than the output signal value out_hys by a positive threshold or more, the output signal value out_hys is increased by 1 bit.

また、出力回路70は、差分値SUBが負の閾値以下となったとき、出力信号値out_hys_dから1ビットを減算した値を、現在のクロックの出力信号値out_hysとする。すなわち、入力信号値outが出力信号値out_hysよりも負の閾値以下小さくなったときに、出力信号値out_hysを1ビット減少させる。   Further, when the difference value SUB is equal to or smaller than the negative threshold value, the output circuit 70 sets a value obtained by subtracting 1 bit from the output signal value out_hys_d as the output signal value out_hys of the current clock. That is, when the input signal value out becomes smaller than the output signal value out_hys by a negative threshold or less, the output signal value out_hys is decreased by 1 bit.

ここで、上記の正の閾値および負の閾値は、入力信号値outの振動幅に応じて設定される。正の閾値および負の閾値は、各々の絶対値が、入力信号値outの振動幅の半分の値に1ビットを加算した値に設定される。例えば、入力信号値outの振動幅が6ビットである場合、正の閾値は4ビットに設定され、負の閾値は−4ビットに設定される。   Here, the positive threshold value and the negative threshold value are set according to the vibration width of the input signal value out. Each of the positive threshold value and the negative threshold value is set to a value obtained by adding one bit to a half value of the vibration width of the input signal value out. For example, when the vibration width of the input signal value out is 6 bits, the positive threshold value is set to 4 bits and the negative threshold value is set to -4 bits.

そして、差分値SUBが4ビット以上であるときに、出力回路70は、出力信号値out_hys_dに1ビットを加算した値を、現在のクロックの出力信号値out_hysとする。一方、差分値SUBが−4ビット以下であるときに、出力回路70は、出力信号値out_hys_dから1ビットを減算した値を、現在のクロックの出力信号値out_hysとする。出力回路70は、生成した出力信号値out_hysを、次のクロックCLKの立上りに応答して出力する。   When the difference value SUB is 4 bits or more, the output circuit 70 sets a value obtained by adding 1 bit to the output signal value out_hys_d as the output signal value out_hys of the current clock. On the other hand, when the difference value SUB is −4 bits or less, the output circuit 70 sets the value obtained by subtracting 1 bit from the output signal value out_hys_d as the output signal value out_hys of the current clock. The output circuit 70 outputs the generated output signal value out_hys in response to the next rising edge of the clock CLK.

なお、差分値SUBが−3ビット以上3ビット以下であるときには、出力回路70は、後述する加算指令UPおよび減算指令DNのいずれかが活性化している場合を除いて、出力信号値out_hys_dをそのまま現在のクロックの出力信号値out_hysとする。これにより、入力信号値outの振動の影響を排除することができる。   When the difference value SUB is not less than −3 bits and not more than 3 bits, the output circuit 70 uses the output signal value out_hys_d as it is, except when either an addition command UP or a subtraction command DN described later is activated. The output signal value out_hys of the current clock is assumed. Thereby, the influence of the vibration of the input signal value out can be eliminated.

このように、出力回路70は、入力信号値outが入力信号値outの振動幅を超えて増加または減少したときに、出力信号値out_hysを1ビット増加または減少させる。したがって、励磁信号の影響を受けて入力信号値outが振動している場合には、出力信号値out_hysを変化させない。よって、出力信号値out_hysは振動することなく、一定値に保たれる。   Thus, the output circuit 70 increases or decreases the output signal value out_hys by 1 bit when the input signal value out increases or decreases beyond the oscillation width of the input signal value out. Therefore, when the input signal value out vibrates due to the influence of the excitation signal, the output signal value out_hys is not changed. Therefore, the output signal value out_hys is kept at a constant value without vibrating.

一方、入力信号値outが入力信号値outの振動幅を超えて増加または減少したときには、出力回路70は、1クロック前の出力信号値out_hys(出力信号値out_hys_d)に1ビットを加算または減算するように構成されるため、出力信号値out_hysは常に1ビットずつ遷移する。よって、入力信号値outにビット飛びが生じた場合であっても、出力信号値outの遷移は1ビットに止まる。これにより、出力信号値out_hysにビット飛びが生じるのを防止できる。   On the other hand, when the input signal value out increases or decreases beyond the oscillation width of the input signal value out, the output circuit 70 adds or subtracts 1 bit to the output signal value out_hys (output signal value out_hys_d) one clock before. Thus, the output signal value out_hys always changes bit by bit. Therefore, even if a bit skip occurs in the input signal value out, the transition of the output signal value out is limited to 1 bit. As a result, it is possible to prevent bit skipping in the output signal value out_hys.

なお、上記のように、従来のヒステリシス回路は、入力信号値outの遷移の方向を判定し、その判定結果に基づいて入力信号値outに1ビットを加算/減算した値を出力信号値out_hysとするものである。これに対して、一実施の形態によるヒステリシス回路は、入力信号値outの遷移の大きさを判定し、入力信号値outが入力信号値outの振動幅を超えて遷移したと判定されたときに、出力信号値out_hys_dに1ビットを加算/減算した値を出力信号値out_hysとする。   As described above, the conventional hysteresis circuit determines the transition direction of the input signal value out, and based on the determination result, the value obtained by adding / subtracting 1 bit to the input signal value out is set as the output signal value out_hys. To do. In contrast, the hysteresis circuit according to the embodiment determines the magnitude of the transition of the input signal value out, and determines that the input signal value out has transitioned beyond the vibration width of the input signal value out. A value obtained by adding / subtracting 1 bit to / from the output signal value out_hys_d is defined as an output signal value out_hys.

以上説明したように、ヒステリシス回路30において、Dフリップフロップ50、減算回路60、出力回路70、およびDフリップフロップ52は、出力信号値out_hysの振動およびビット飛びを防止して、出力信号値out_hysを安定化させるための安定化回路を構成する。   As described above, in the hysteresis circuit 30, the D flip-flop 50, the subtracting circuit 60, the output circuit 70, and the D flip-flop 52 prevent the output signal value out_hys from oscillating and skipping the bit, thereby reducing the output signal value out_hys. A stabilization circuit for stabilization is configured.

これに対して、以下に説明するように、分類回路80、Dフリップフロップ54、RSフリップフロップ91〜97、演算回路100、および指令生成回路110は、出力信号値out_hysを最終的に入力信号値outに一致させるための追従回路を構成する。   On the other hand, as will be described below, the classification circuit 80, the D flip-flop 54, the RS flip-flops 91 to 97, the arithmetic circuit 100, and the command generation circuit 110 finally convert the output signal value out_hys to the input signal value. A tracking circuit for matching with out is configured.

この追従回路では、クロックCLKの複数倍の周期を有するサブクロックreclrを用いる。追従回路は、サブクロックreclrの1周期における差分値SUBの変移に基づいて、入力信号値outと出力信号値out_hysとの大小関係を判定する。そして、その判定結果に基づいて、入力信号値outに近づけるように、サブクロックreclrに同期して出力信号値out_hysを1ビットずつ増加/減少させる。   In this follow-up circuit, a sub-clock reclr having a cycle that is a multiple of the clock CLK is used. The follow-up circuit determines the magnitude relationship between the input signal value out and the output signal value out_hys based on the transition of the difference value SUB in one cycle of the sub clock reclr. Based on the determination result, the output signal value out_hys is increased / decreased bit by bit in synchronism with the subclock recr so as to approach the input signal value out.

具体的には、分類回路80は、1クロックCLKごとに減算回路60から差分値SUB(=out_d−out_hys_d)を受ける。分類回路80は、下記の式(6)に従って、差分値SUBの値に応じて出力値OUT3,OUT2,OUT1,OUT0,OUTM1,OUTM2,OUTM3(以下、総称して出力値OUTとも称する。)のいずれか1つを「1」に設定する。なお、出力値OUTは初期値が「0」に設定されている。   Specifically, the classification circuit 80 receives the difference value SUB (= out_d−out_hys_d) from the subtraction circuit 60 every clock CLK. The classification circuit 80 outputs the output values OUT3, OUT2, OUT1, OUT0, OUTM1, OUTM2, and OUTM3 (hereinafter collectively referred to as the output value OUT) according to the difference value SUB in accordance with the following equation (6). Either one is set to “1”. The initial value of the output value OUT is set to “0”.

例えば、差分値SUBが3以上のときには出力値OUT3を「1」に設定し、差分値SUBが2のときには出力値OUT2を「1」に設定する。また、差分値SUBが−3以下のときには出力値OUTM3を「1」に設定し、差分値SUBが−2のときには出力値OUTM2を「1」に設定する。   For example, when the difference value SUB is 3 or more, the output value OUT3 is set to “1”, and when the difference value SUB is 2, the output value OUT2 is set to “1”. When the difference value SUB is −3 or less, the output value OUTM3 is set to “1”, and when the difference value SUB is −2, the output value OUTM2 is set to “1”.

Figure 2014074605
Figure 2014074605

分類回路80によって「1」または「0」に設定された出力値OUT3,OUT2,OUT1,OUT0,OUTM1,OUTM2,OUTM3は、後段のRSフリップフロップ91〜97にそれぞれ与えられる。   The output values OUT3, OUT2, OUT1, OUT0, OUTM1, OUTM2, and OUTM3 set to “1” or “0” by the classification circuit 80 are respectively provided to the subsequent stage RS flip-flops 91 to 97.

RSフリップフロップ91〜97は、セットリセット型のフリップフロップである。RSフリップフロップ91〜97の各々は、セット端子に対応する出力値OUTを受け、リセット端子にサブクロックreclrを受ける。RSフリップフロップ91〜97の各々は、対応する出力値OUTが0から1に切替わったときにセット状態になり、出力端子Qから信号値1を出力する。また、RSフリップフロップ91〜97の各々は、サブクロックreclrの立上りに応答してリセット状態になり、出力端子Qから信号値0を出力する。RSフリップフロップ91〜97から出力される信号値(「1」または「0」)は、それぞれ入力値LT3,LT2,LT1,LT0,LTM1,LTM2,LTM3として演算回路100に入力される。このように、RSフリップフロップ91〜97は、サブクロックreclrの1周期における差分値SUBの変移を保持して演算回路100に出力する働きをする。   The RS flip-flops 91 to 97 are set-reset type flip-flops. Each of the RS flip-flops 91 to 97 receives the output value OUT corresponding to the set terminal, and receives the sub clock reclr at the reset terminal. Each of the RS flip-flops 91 to 97 is set when the corresponding output value OUT is switched from 0 to 1, and outputs a signal value 1 from the output terminal Q. In addition, each of the RS flip-flops 91 to 97 enters a reset state in response to the rising edge of the sub clock reclr, and outputs a signal value 0 from the output terminal Q. The signal values (“1” or “0”) output from the RS flip-flops 91 to 97 are input to the arithmetic circuit 100 as input values LT3, LT2, LT1, LT0, LTM1, LTM2, and LTM3, respectively. As described above, the RS flip-flops 91 to 97 serve to hold the change of the difference value SUB in one cycle of the sub clock reclr and output it to the arithmetic circuit 100.

演算回路100は、入力値LT3,LT2,LT1,LT0,LTM1,LTM2,LTM3に基づいて、差分値SUBの最大値および最小値を算出する。演算回路100は、算出した最大値および最小値を、それぞれ出力値OUTP,OUTMとして指令生成回路110に送出する。具体的には、演算回路100は、下記の式(7)を用いて、差分値SUBの最大値である出力値OUTPを算出する。また、演算回路100は、下記の式(8)を用いて、差分値SUBの最小値である出力値OUTMを算出する。   The arithmetic circuit 100 calculates the maximum value and the minimum value of the difference value SUB based on the input values LT3, LT2, LT1, LT0, LTM1, LTM2, and LTM3. The arithmetic circuit 100 sends the calculated maximum value and minimum value to the command generation circuit 110 as output values OUTP and OUTM, respectively. Specifically, the arithmetic circuit 100 calculates the output value OUTP which is the maximum value of the difference value SUB using the following formula (7). In addition, the arithmetic circuit 100 calculates an output value OUTM that is the minimum value of the difference value SUB by using the following equation (8).

Figure 2014074605
Figure 2014074605

Figure 2014074605
Figure 2014074605

例えば、入力値LT3=1のときには、入力値LT2,LT1の値にかかわらず、出力値OUTPを「3」とする。なお、入力値LT3=1は、サブクロックreclrの1周期の間に差分値SUBが3以上となったことを示している。この場合、演算回路100は、差分値SUBの最大値である出力値OUTPを「3」に決定する。   For example, when the input value LT3 = 1, the output value OUTP is set to “3” regardless of the values of the input values LT2 and LT1. Note that the input value LT3 = 1 indicates that the difference value SUB is 3 or more during one cycle of the subclock reclr. In this case, the arithmetic circuit 100 determines the output value OUTP, which is the maximum value of the difference value SUB, to “3”.

一方、入力値LT3=0であって、かつ、入力値LT2=1のときには、入力値LT1の値にかかわらず、出力値OUTPを「2」とする。入力値LT3=0かつLT2=1は、サブクロックreclrの1周期の間に差分値SUBが最大で2となったことを示している。この場合、演算回路100は、差分値SUBの最大値である出力値OUTPを「2」に決定する。   On the other hand, when the input value LT3 = 0 and the input value LT2 = 1, the output value OUTP is set to “2” regardless of the value of the input value LT1. The input values LT3 = 0 and LT2 = 1 indicate that the difference value SUB is 2 at the maximum during one cycle of the subclock reclr. In this case, the arithmetic circuit 100 determines the output value OUTP, which is the maximum value of the difference value SUB, to “2”.

また、入力値LT3およびLT2がともに0であって、かつ、入力値LT1=1のときには、出力値OUTPを「1」とする。入力値LT3=LT2=0かつLT1=1は、サブクロックreclrの1周期の間に差分値SUBが最大で1となったことを示している。この場合、演算回路100は、差分値SUBの最大値である出力値OUTPを「1」に決定する。   Further, when the input values LT3 and LT2 are both 0 and the input value LT1 = 1, the output value OUTP is set to “1”. The input values LT3 = LT2 = 0 and LT1 = 1 indicate that the difference value SUB is 1 at the maximum during one cycle of the subclock reclr. In this case, the arithmetic circuit 100 determines the output value OUTP, which is the maximum value of the difference value SUB, to “1”.

演算回路100は、差分値SUBの最小値である出力値OUTMについても、入力値LTM3,LTM2,LTM1に基づいて同様の方法によって算出する。これにより、出力値OUTMは、−3,−2,−1,0のうちのいずれかの値に決定される。   The arithmetic circuit 100 also calculates the output value OUTM, which is the minimum value of the difference value SUB, by a similar method based on the input values LTM3, LTM2, and LTM1. As a result, the output value OUTM is determined to be one of −3, −2, −1, and 0.

指令生成回路110には、クロックCLKに同期して、演算回路100により算出された出力値OUTP,OUTMが入力される。指令生成回路110は、出力値OUTPおよびOUTMに応じて、出力信号値out_hysを1ビット増加させるための加算指令UPと、出力信号値out_hysを1ビット減少させるための減算指令DNとを生成する。具体的には、指令生成回路110は、下記の式(9)により、出力値OUTPと出力値OUTMとを加算する。   The command generation circuit 110 receives the output values OUTP and OUTM calculated by the arithmetic circuit 100 in synchronization with the clock CLK. The command generation circuit 110 generates an addition command UP for increasing the output signal value out_hys by 1 bit and a subtraction command DN for decreasing the output signal value out_hys by 1 bit according to the output values OUTP and OUTM. Specifically, the command generation circuit 110 adds the output value OUTP and the output value OUTM according to the following equation (9).

Figure 2014074605
Figure 2014074605

出力値OUTPの絶対値が出力値OUTMの絶対値よりも大きい場合、加算結果は1以上の値を示す。この加算結果は、サブクロックreclrの1周期において出力信号値out_hysが入力信号値outを下回る状態であることを示している。したがって、指令生成回路110は、出力信号値out_hysを入力信号値outに近づけるために、加算指令UPを「1」に活性化する。   When the absolute value of the output value OUTP is larger than the absolute value of the output value OUTM, the addition result indicates a value of 1 or more. This addition result indicates that the output signal value out_hys is lower than the input signal value out in one cycle of the sub clock reclr. Therefore, the command generation circuit 110 activates the addition command UP to “1” in order to bring the output signal value out_hys closer to the input signal value out.

これに対して、出力値OUTMの絶対値が出力値OUTPの絶対値よりも大きい場合、加算結果が−1以下の値を示す。この加算結果は、サブクロックreclrの1周期において出力信号値out_hysが入力信号値outを上回る状態であることを示している。したがって、指令生成回路110は、出力信号値out_hysを入力信号値outに近づけるために、減算指令DNを「1」に活性化する。   On the other hand, when the absolute value of the output value OUTM is larger than the absolute value of the output value OUTP, the addition result indicates a value of −1 or less. This addition result indicates that the output signal value out_hys is in a state exceeding the input signal value out in one cycle of the sub-clock reclr. Therefore, the command generation circuit 110 activates the subtraction command DN to “1” in order to bring the output signal value out_hys closer to the input signal value out.

指令生成回路110により生成された加算指令UPは、論理積回路120の一方の入力端子に入力される。論理積回路120は、加算指令UPとサブクロックreclrとの論理積を出力回路70へ出力する。論理積回路120によって加算指令UPは、サブクロックreclrがHレベルとなる期間において「1」に活性化される指令に変換される。   The addition command UP generated by the command generation circuit 110 is input to one input terminal of the AND circuit 120. The logical product circuit 120 outputs the logical product of the addition command UP and the sub clock reclr to the output circuit 70. The addition command UP is converted by the AND circuit 120 into a command that is activated to “1” during the period when the sub clock reclr is at the H level.

指令生成回路110により生成された減算指令DNは、論理積回路122の一方の入力端子に入力される。論理積回路122は、減算指令DNとサブクロックreclrとの論理積を出力回路70へ出力する。論理積回路122によって減算指令DNは、サブクロックreclrがHレベルとなる期間において「1」に活性化される指令に変換される。   The subtraction instruction DN generated by the instruction generation circuit 110 is input to one input terminal of the AND circuit 122. The logical product circuit 122 outputs a logical product of the subtraction command DN and the sub clock reclr to the output circuit 70. The subtraction command DN is converted by the AND circuit 122 into a command that is activated to “1” during the period when the sub clock reclr is at the H level.

出力回路70は、論理積回路120,122からそれぞれ出力される加算指令UPおよび減算指令DNに従って、出力信号値out_hysを1ビット増加/減少させる。なお、この加算指令UPおよび減算指令DNに基づいた出力信号値out_hysの調整は、上述した差分値SUBに基づいた出力信号値out_hysの生成と比較して、処理の優先度が低く設定されている。したがって、差分値SUBが−3ビット以上かつ3ビット以下であるときに、出力回路70は、下記の式(10)により、加算指令UPおよび減算指令DNに従って、出力信号値out_hysの調整を行なう。すなわち、出力回路70は、加算指令UPが「1」に活性化している場合、出力信号値out_hys_dに1ビットを加算した値を、現在のクロックの出力信号値out_hysとする。すなわち、加算指令UPに応答して出力信号値out_hysを1ビット増加させる。   The output circuit 70 increases / decreases the output signal value out_hys by 1 bit according to the addition command UP and the subtraction command DN output from the AND circuits 120 and 122, respectively. The adjustment of the output signal value out_hys based on the addition command UP and the subtraction command DN has a lower processing priority than the generation of the output signal value out_hys based on the difference value SUB described above. . Therefore, when the difference value SUB is −3 bits or more and 3 bits or less, the output circuit 70 adjusts the output signal value out_hys according to the addition command UP and the subtraction command DN according to the following equation (10). That is, when the addition command UP is activated to “1”, the output circuit 70 sets a value obtained by adding 1 bit to the output signal value out_hys_d as the output signal value out_hys of the current clock. That is, the output signal value out_hys is increased by 1 bit in response to the addition command UP.

Figure 2014074605
Figure 2014074605

一方、減算指令DNが「1」に活性化している場合、出力回路70は、出力信号値out_hys_dから1ビットを減算した値を、現在のクロックの出力信号値out_hysとする。すなわち、減算指令DNに応答して出力信号値out_hysを1ビット減少させる。   On the other hand, when the subtraction command DN is activated to “1”, the output circuit 70 sets a value obtained by subtracting 1 bit from the output signal value out_hys_d as the output signal value out_hys of the current clock. That is, the output signal value out_hys is decreased by 1 bit in response to the subtraction command DN.

図4は、一実施の形態によるヒステリシス回路における入力信号値outと出力信号値out_hysとの関係を示す図である。また、図4には、サブクロックreclrを合わせて示す。   FIG. 4 is a diagram illustrating a relationship between the input signal value out and the output signal value out_hys in the hysteresis circuit according to the embodiment. FIG. 4 also shows the sub-clock recr.

図4を参照して、入力信号値outは6ビットの振動幅で振動する。出力回路70では、正の閾値が4ビットに設定し、負の閾値は−4ビットに設定される。これにより、入力信号値out_dと出力信号値out_hys_dとの差分値SUBが4ビット以上になったときに、出力信号値out_hysが1ビット増加する。また、差分値SUBが−4ビット以下になったときにと、出力信号値out_hysが1ビット減少する。   Referring to FIG. 4, the input signal value out vibrates with a vibration width of 6 bits. In the output circuit 70, the positive threshold is set to 4 bits, and the negative threshold is set to -4 bits. Thus, when the difference value SUB between the input signal value out_d and the output signal value out_hys_d becomes 4 bits or more, the output signal value out_hys increases by 1 bit. Further, when the difference value SUB becomes -4 bits or less, the output signal value out_hys decreases by 1 bit.

なお、入力信号値outが6ビットの振動幅で振動している場合には、出力信号値out_hysは、入力信号値outの振動の影響を受けず、一定値(振動幅中心の信号値に対応)を示している。   When the input signal value out vibrates with a 6-bit vibration width, the output signal value out_hys is not affected by the vibration of the input signal value out, and is a constant value (corresponding to the signal value at the center of the vibration width). ).

上記の出力信号値out_hysの生成と並行して、サブクロックreclrの1周期における入力信号値outと出力信号値out_hysとの大小関係が判定される。図4に示すように、サブクロックreclrの1周期において入力信号値outが出力信号値out_hysを上回る状態が生じたときには、1サブクロックreclrごとに、出力信号値out_hysが1ビットずつ増加する。これにより、最終的に出力信号値out_hysが入力信号値outに一致する。   In parallel with the generation of the output signal value out_hys, the magnitude relationship between the input signal value out and the output signal value out_hys in one cycle of the sub clock reclr is determined. As shown in FIG. 4, when the input signal value out exceeds the output signal value out_hys in one cycle of the sub clock reclr, the output signal value out_hys increases by 1 bit for each sub clock reclr. As a result, the output signal value out_hys finally matches the input signal value out.

このように、一実施の形態によるヒステリシス回路によれば、入力信号値outに振動またはビット飛びが生じた場合でも、安定した出力信号値out_hysを得ることができる。また、一実施の形態によるヒステリシス回路によれば、出力信号値out_hysを最終的に入力信号値outに一致させることができる。   As described above, according to the hysteresis circuit according to the embodiment, a stable output signal value out_hys can be obtained even when the input signal value out has a vibration or a bit skip. Further, according to the hysteresis circuit according to the embodiment, the output signal value out_hys can be finally matched with the input signal value out.

[ヒステリシス回路の変形例]
図3のヒステリシス回路30において、出力回路70が差分値SUBとの比較に用いる正の閾値および負の閾値は、入力信号値outの振動幅に応じて設定することができる。詳細には、正の閾値および負の閾値は、各々の絶対値が、入力信号値outの振動幅の半分の値に1ビットを加算した値に設定される。例えば、入力信号値outの振動幅が8ビットの場合、正の閾値は5ビットに設定され、負の閾値は−5ビットに設定される。
[Modification of hysteresis circuit]
In the hysteresis circuit 30 of FIG. 3, the positive threshold value and the negative threshold value that the output circuit 70 uses for comparison with the difference value SUB can be set according to the vibration width of the input signal value out. Specifically, each of the positive threshold value and the negative threshold value is set to a value obtained by adding one bit to a half value of the vibration width of the input signal value out. For example, when the vibration width of the input signal value out is 8 bits, the positive threshold value is set to 5 bits and the negative threshold value is set to -5 bits.

このように、正の閾値および負の閾値を入力信号値outの振動幅に応じて可変に設定することにより、入力信号値outの振動の影響を確実に排除することができる。なお、入力信号値outの振動幅は、前段のA/D変換部20の分解能に依存した大きさとなる。したがって、図1に示すモータ制御システムを動作させて入力信号値outの振動幅を予め評価しておき、その評価した入力信号値outの振動幅に基づいて正の閾値および負の閾値を設定することができる。   Thus, by setting the positive threshold value and the negative threshold value variably according to the vibration width of the input signal value out, it is possible to reliably eliminate the influence of the vibration of the input signal value out. Note that the vibration width of the input signal value out has a magnitude depending on the resolution of the A / D converter 20 in the previous stage. Therefore, the motor control system shown in FIG. 1 is operated to evaluate the vibration width of the input signal value out in advance, and the positive threshold value and the negative threshold value are set based on the evaluated vibration width of the input signal value out. be able to.

図5は、図3のヒステリシス回路30の変形例を示すブロック図である。図5を参照して、本変形例によるヒステリシス回路30Aは、図3に示した一実施の形態によるヒステリシス回路30において、出力回路70がレジスタ210から正の閾値および負の閾値を読み込むように構成したものである。マイクロコンピュータ(マイコン)200は、図1のモータ制御システムを動作させることにより、入力信号値outの振動幅を予め取得する。そして、マイコン200は、その取得した入力信号値outの振動幅に基づいて正の閾値および負の閾値を設定する。設定された正の閾値および負の閾値は、レジスタ210に格納される。モータ制御システムの起動時に、格納された正の閾値および負の閾値がレジスタ210から出力回路70に読み込まれる。   FIG. 5 is a block diagram showing a modification of the hysteresis circuit 30 of FIG. Referring to FIG. 5, hysteresis circuit 30 </ b> A according to this modification is configured such that output circuit 70 reads a positive threshold value and a negative threshold value from register 210 in hysteresis circuit 30 according to the embodiment shown in FIG. 3. It is a thing. The microcomputer 200 acquires in advance the vibration width of the input signal value out by operating the motor control system of FIG. Then, the microcomputer 200 sets a positive threshold value and a negative threshold value based on the obtained vibration width of the input signal value out. The set positive threshold value and negative threshold value are stored in the register 210. When the motor control system is activated, the stored positive threshold value and negative threshold value are read from the register 210 into the output circuit 70.

なお、上記の一実施の形態では、本発明によるヒステリシス回路がR/Dコンバータに適用される構成について説明したが、本発明の適用はR/Dコンバータに限定されるものではない。具体的には、デジタル信号を入力として、入力信号のヒステリシスに応じた出力信号を生成するヒステリシス回路に対して本発明を適用することが可能である点について確認的に記載する。   In the above embodiment, the configuration in which the hysteresis circuit according to the present invention is applied to the R / D converter has been described. However, the application of the present invention is not limited to the R / D converter. Specifically, the fact that the present invention can be applied to a hysteresis circuit that takes a digital signal as an input and generates an output signal corresponding to the hysteresis of the input signal will be described.

以上、本発明者によってなされた発明を実施の形態に基づき具体的に説明したが、本発明は上記実施の形態に限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。   As mentioned above, the invention made by the present inventor has been specifically described based on the embodiment. However, the present invention is not limited to the above embodiment, and various modifications can be made without departing from the scope of the invention. Needless to say.

1 モータドライバ、2 モータ制御部、3 レゾルバ、4 R/Dコンバータ、10 励磁信号発生部、20 A/D変換部、30,30A ヒステリシス回路、50,52,54 Dフリップフロップ、60 減算回路、70 出力回路、80 分類回路、91〜97 RSフリップフロップ、100 演算回路、110 指令生成回路、120,122 論理積回路、M1 交流モータ。   1 motor driver, 2 motor control unit, 3 resolver, 4 R / D converter, 10 excitation signal generation unit, 20 A / D conversion unit, 30, 30A hysteresis circuit, 50, 52, 54 D flip-flop, 60 subtraction circuit, 70 output circuit, 80 classification circuit, 91-97 RS flip-flop, 100 arithmetic circuit, 110 command generation circuit, 120, 122 AND circuit, M1 AC motor.

Claims (9)

クロックに同期して、デジタルの入力信号のヒステリシスに応じた出力信号の生成を行なうヒステリシス回路であって、
1クロック前の入力信号値と1クロック前の出力信号値との差分値を演算する減算回路と、
前記減算回路からの差分値に従って現在のクロックの出力信号値を生成して出力する出力回路とを備え、
前記出力回路は、
前記差分値が正の閾値以上であるときに、前記1クロック前の出力信号値に1ビットを加算した値を、前記現在のクロックの出力信号値として出力し、
前記差分値が負の閾値以下であるときに、前記1クロック前の出力信号値から1ビットを減算した値を、前記現在のクロックの出力信号値として出力し、
前記差分値が前記正の閾値未満であって、かつ、前記負の閾値より大きいときに、前記1クロック前の出力信号値を、前記現在のクロックの出力信号値として出力する、ヒステリシス回路。
A hysteresis circuit that generates an output signal corresponding to the hysteresis of a digital input signal in synchronization with a clock,
A subtraction circuit for calculating a difference value between an input signal value one clock before and an output signal value one clock before;
An output circuit that generates and outputs an output signal value of a current clock according to a difference value from the subtracting circuit;
The output circuit is
When the difference value is greater than or equal to a positive threshold value, a value obtained by adding 1 bit to the output signal value one clock before is output as the output signal value of the current clock;
When the difference value is equal to or less than a negative threshold value, a value obtained by subtracting 1 bit from the output signal value of the previous clock is output as the output signal value of the current clock;
A hysteresis circuit that outputs the output signal value of the previous clock as the output signal value of the current clock when the difference value is less than the positive threshold value and greater than the negative threshold value.
前記正の閾値および前記負の閾値は、前記入力信号値の振動幅に応じて設定される、請求項1に記載のヒステリシス回路。   The hysteresis circuit according to claim 1, wherein the positive threshold value and the negative threshold value are set according to a vibration width of the input signal value. 前記正の閾値および前記負の閾値は、各々の絶対値が、前記入力信号値の振動幅の半分の値に1ビットを加算した値に設定される、請求項2に記載のヒステリシス回路。   3. The hysteresis circuit according to claim 2, wherein each of the positive threshold value and the negative threshold value is set to a value obtained by adding one bit to a half value of a vibration width of the input signal value. 前記クロックの複数倍の周期を有するサブクロックに同期して動作し、前記サブクロックの1周期における前記差分値の最大値および最小値を演算する演算回路と、
前記演算回路からの前記差分値の最大値と前記差分値の最小値とを加算するとともに、その加算結果が1以上である場合に加算指令を発生する一方で、その加算結果が−1以下である場合に減算指令を発生する指令生成回路とをさらに備え、
前記出力回路は、
前記差分値が前記正の閾値未満であって、かつ、前記負の閾値より大きいときに、前記加算指令を受けた場合には、前記1クロック前の出力信号値に1ビットを加算した値を、前記現在のクロックの出力信号値をして出力し、
前記差分値が前記正の閾値未満であって、かつ、前記負の閾値より大きいときに、前記減算指令を受けた場合には、前記1クロック前の出力信号値から1ビットを減算した値を、前記現在のクロックの出力信号値として出力する、請求項1から3のいずれか1項に記載のヒステリシス回路。
An operation circuit that operates in synchronization with a subclock having a period that is a multiple of the clock, and that calculates a maximum value and a minimum value of the difference value in one period of the subclock;
The maximum value of the difference value from the arithmetic circuit and the minimum value of the difference value are added and an addition command is generated when the addition result is 1 or more, while the addition result is -1 or less. A command generation circuit for generating a subtraction command in some cases;
The output circuit is
When the addition command is received when the difference value is less than the positive threshold value and greater than the negative threshold value, a value obtained by adding one bit to the output signal value one clock before is obtained. , Output the current clock output signal value,
When the subtraction command is received when the difference value is less than the positive threshold value and greater than the negative threshold value, a value obtained by subtracting one bit from the output signal value one clock before is obtained. The hysteresis circuit according to any one of claims 1 to 3, wherein the hysteresis circuit outputs the output signal value of the current clock.
回転体の回転角度を検出するレゾルバの出力信号をデジタルの角度信号に変換するためのレゾルバ/デジタルコンバータであって、
前記レゾルバの出力信号を前記角度信号に変換するアナログ/デジタル変換部と、
クロックに同期して、前記アナログ/デジタル変換部からの入力信号のヒステリシスに応じた出力信号を生成し、前記角度信号として出力するヒステリシス回路とを備え、
前記ヒステリシス回路は、
1クロック前の入力信号値と1クロック前の出力信号値との差分値を演算する減算回路と、
前記減算回路からの差分値に従って現在のクロックの出力信号値を生成して出力する出力回路とを含み、
前記出力回路は、
前記差分値が正の閾値以上であるときに、前記1クロック前の出力信号値に1ビットを加算した値を、前記現在のクロックの出力信号値として出力し、
前記差分値が負の閾値以下であるときに、前記1クロック前の出力信号値から1ビットを減算した値を、前記現在のクロックの出力信号値として出力し、
前記差分値が前記正の閾値未満であって、かつ、前記負の閾値より大きいときに、前記1クロック前の出力信号値を、前記現在のクロックの出力信号値として出力する、レゾルバ/デジタルコンバータ。
A resolver / digital converter for converting an output signal of a resolver that detects a rotation angle of a rotating body into a digital angle signal,
An analog / digital converter that converts the output signal of the resolver into the angle signal;
In synchronization with the clock, an output signal corresponding to the hysteresis of the input signal from the analog / digital conversion unit is generated, and a hysteresis circuit that outputs the angle signal is provided.
The hysteresis circuit is:
A subtraction circuit for calculating a difference value between an input signal value one clock before and an output signal value one clock before;
An output circuit that generates and outputs an output signal value of a current clock according to a difference value from the subtracting circuit,
The output circuit is
When the difference value is greater than or equal to a positive threshold value, a value obtained by adding 1 bit to the output signal value one clock before is output as the output signal value of the current clock;
When the difference value is equal to or less than a negative threshold value, a value obtained by subtracting 1 bit from the output signal value of the previous clock is output as the output signal value of the current clock;
A resolver / digital converter that outputs the output signal value of the previous clock as the output signal value of the current clock when the difference value is less than the positive threshold value and greater than the negative threshold value. .
前記正の閾値および前記負の閾値は、前記入力信号値の振動幅に応じて設定される、請求項5に記載のレゾルバ/デジタルコンバータ。   The resolver / digital converter according to claim 5, wherein the positive threshold value and the negative threshold value are set according to a vibration width of the input signal value. 前記正の閾値および前記負の閾値は、各々の絶対値が、前記入力信号値の振動幅の半分の値に1ビットを加算した値に設定される、請求項6に記載のレゾルバ/デジタルコンバータ。   The resolver / digital converter according to claim 6, wherein each of the positive threshold value and the negative threshold value is set to a value obtained by adding one bit to a half value of a vibration width of the input signal value. . 前記クロックの複数倍の周期を有するサブクロックに同期して動作し、前記サブクロックの1周期における前記差分値の最大値および最小値を演算する演算回路と、
前記演算回路からの前記差分値の最大値と前記差分値の最小値とを加算するとともに、その加算結果が1以上である場合に加算指令を発生する一方で、その加算結果が−1以下である場合に減算指令を発生する指令生成回路とをさらに備え、
前記出力回路は、
前記差分値が前記正の閾値未満であって、かつ、前記負の閾値より大きいときに、前記加算指令を受けた場合には、前記1クロック前の出力信号値に1ビットを加算した値を、前記現在のクロックの出力信号値をして出力し、
前記差分値が前記正の閾値未満であって、かつ、前記負の閾値より大きいときに、前記減算指令を受けた場合には、前記1クロック前の出力信号値から1ビットを減算した値を、前記現在のクロックの出力信号値として出力する、請求項5から7のいずれか1項に記載のレゾルバ/デジタルコンバータ。
An operation circuit that operates in synchronization with a subclock having a period that is a multiple of the clock, and that calculates a maximum value and a minimum value of the difference value in one period of the subclock;
The maximum value of the difference value from the arithmetic circuit and the minimum value of the difference value are added and an addition command is generated when the addition result is 1 or more, while the addition result is -1 or less. A command generation circuit for generating a subtraction command in some cases;
The output circuit is
When the addition command is received when the difference value is less than the positive threshold value and greater than the negative threshold value, a value obtained by adding one bit to the output signal value one clock before is obtained. , Output the current clock output signal value,
When the subtraction command is received when the difference value is less than the positive threshold value and greater than the negative threshold value, a value obtained by subtracting one bit from the output signal value one clock before is obtained. The resolver / digital converter according to any one of claims 5 to 7, wherein the resolver / digital converter outputs the output signal value of the current clock.
前記サブクロックは、前記レゾルバに入力される励磁信号の周期の複数倍の周期を有する、請求項8に記載のレゾルバ/デジタルコンバータ。   The resolver / digital converter according to claim 8, wherein the sub clock has a period that is a multiple of a period of an excitation signal input to the resolver.
JP2012221176A 2012-10-03 2012-10-03 Hysteresis circuit and resolver/digital converter Pending JP2014074605A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012221176A JP2014074605A (en) 2012-10-03 2012-10-03 Hysteresis circuit and resolver/digital converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012221176A JP2014074605A (en) 2012-10-03 2012-10-03 Hysteresis circuit and resolver/digital converter

Publications (1)

Publication Number Publication Date
JP2014074605A true JP2014074605A (en) 2014-04-24

Family

ID=50748850

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012221176A Pending JP2014074605A (en) 2012-10-03 2012-10-03 Hysteresis circuit and resolver/digital converter

Country Status (1)

Country Link
JP (1) JP2014074605A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117595266A (en) * 2024-01-18 2024-02-23 深圳市海思瑞科电气技术有限公司 Harmonic wave treatment method, device, equipment and storage medium based on APF device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117595266A (en) * 2024-01-18 2024-02-23 深圳市海思瑞科电气技术有限公司 Harmonic wave treatment method, device, equipment and storage medium based on APF device
CN117595266B (en) * 2024-01-18 2024-03-26 深圳市海思瑞科电气技术有限公司 Harmonic wave treatment method, device, equipment and storage medium based on APF device

Similar Documents

Publication Publication Date Title
KR100473813B1 (en) Digital duty cycle correction circuit for multi-phase clock and method thereof
JP2010115066A (en) Pwm control circuit
JP5291997B2 (en) Ultrasonic motor controller
JP6186726B2 (en) PWM signal generation circuit, printer, and PWM signal generation method
JP2014074605A (en) Hysteresis circuit and resolver/digital converter
JP5025395B2 (en) Method for adjusting initial position of position detector and motor drive device using this method
JP2013238431A (en) Resolver device
JP6380229B2 (en) Demodulator
JP2015135283A (en) Rotation angle detection device and pulse signal generation circuit
JP2018072271A (en) Self-excited resonance circuit
US9780703B2 (en) Power supply for multiphase motor providing recirculation compensation features and related methods
JP2017003467A (en) Rotation detection device, rotation drive device, image formation apparatus and rotation detection method
JP2012100161A (en) A/d conversion device
US11804797B2 (en) Motor controller, motor system and method for controlling motor
JP5946359B2 (en) Motor control device and motor control method
US10581366B2 (en) Calculation apparatus and processing apparatus
JP4398475B2 (en) Clock duty correction circuit
JP2009194981A (en) Instantaneous voltage drop compensator
JP2016187299A (en) Motor control device and motor control method
JP2006138822A (en) Encoder position detecting circuit
JP2010068024A (en) Thermoregulator
JP2009033554A (en) Pulse width controller
US11716045B2 (en) Motor controller, motor system and method for controlling motor
JP7301611B2 (en) POWER SUPPLY DEVICE AND CONTROL METHOD OF POWER SUPPLY DEVICE
JP2019054433A (en) Measurement voltage output device