JP5067385B2 - AD converter, current detector using AD converter, and digital servo controller using current detector - Google Patents

AD converter, current detector using AD converter, and digital servo controller using current detector Download PDF

Info

Publication number
JP5067385B2
JP5067385B2 JP2009050136A JP2009050136A JP5067385B2 JP 5067385 B2 JP5067385 B2 JP 5067385B2 JP 2009050136 A JP2009050136 A JP 2009050136A JP 2009050136 A JP2009050136 A JP 2009050136A JP 5067385 B2 JP5067385 B2 JP 5067385B2
Authority
JP
Japan
Prior art keywords
conversion
signal
converter
digital
output
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.)
Expired - Fee Related
Application number
JP2009050136A
Other languages
Japanese (ja)
Other versions
JP2010206567A (en
Inventor
慎介 梶原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP2009050136A priority Critical patent/JP5067385B2/en
Publication of JP2010206567A publication Critical patent/JP2010206567A/en
Application granted granted Critical
Publication of JP5067385B2 publication Critical patent/JP5067385B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、アナログ信号をディジタル信号に変換するAD変換装置、前記AD変換装置を用いてモータ等の制御を行うための電流検出器及び前記電流検出器を用いたディジタルサーボ制御装置に関する。
The present invention relates to an AD converter for converting an analog signal into a digital signal, a current detector for controlling a motor or the like using the AD converter, and a digital servo controller using the current detector.

複数個のAD変換器で構成されるAD変換装置は、1個ずつ順次AD変換を行っていて、全てのAD変換が完了するまでに時間がかかるという課題があった。この課題を解決するために、従来のAD変換装置は、複数個のAD変換器を一斉に変換スタートさせ、AD変換完了時に発生する複数のAD変換完了信号の論理積をとり、ディジタル信号処理手段(上位演算器)への割込み信号として生成していた(例えば、特許文献1参照)。 An AD conversion apparatus including a plurality of AD converters sequentially performs AD conversion one by one, and there is a problem that it takes time to complete all AD conversions. In order to solve this problem, a conventional AD converter starts conversion of a plurality of AD converters all at once, calculates a logical product of a plurality of AD conversion completion signals generated when AD conversion is completed, and performs digital signal processing means. It was generated as an interrupt signal to the (high-order arithmetic unit) (for example, see Patent Document 1).

図5は従来技術におけるAD変換装置を示す回路図である。
図5において、ディジタル信号処理手段1はAD変換スタート信号4をAD変換器201,202,・・・20nに時刻toで与え,AD変換動作を開始させる。これにより,AD変換器201,202,・・・20nから出力される各AD変換完了信号301,302,・・・,30nは、ANDゲート3に入力され、論理積がとられる。ANDゲート3から出力される信号は、全てのAD変換器201,202,・・・20nがその変換動作を完了したことを意味し、ディジタル信号処理手段1に割込み信号2として入力される。
FIG. 5 is a circuit diagram showing an AD converter in the prior art.
In FIG. 5, the digital signal processing means 1 gives the AD conversion start signal 4 to the AD converters 201, 202,... 20n at time to and starts the AD conversion operation. Thus, the AD conversion completion signals 301, 302,..., 30n output from the AD converters 201, 202,... 20n are input to the AND gate 3 and ANDed. The signal output from the AND gate 3 means that all the AD converters 201, 202,... 20n have completed the conversion operation, and is input to the digital signal processing means 1 as the interrupt signal 2.

図6はこのような従来のAD変換装置における動作を示すタイミング図であり、時刻taからtbの期間においてAD変換完了信号301,302,・・・,30nの何れかがローレベルの状態であり、時刻tbに全てのAD変換完了信号301,302,・・・,30nがハイレベルの状態となったことを示す。 FIG. 6 is a timing chart showing the operation of such a conventional AD converter, and any of the AD conversion completion signals 301, 302,..., 30n is in a low level during the period from time ta to tb. , 30n indicate that all AD conversion completion signals 301, 302,..., 30n are at a high level at time tb.

このように、従来のAD変換装置は、一回の割込み信号により全てのAD変換器のAD変換データを読み込むので、効率よくAD変換データを収集できるようになっていた。 As described above, the conventional AD conversion apparatus reads the AD conversion data of all the AD converters by one interrupt signal, so that the AD conversion data can be efficiently collected.

また、AD変換装置の例として、AD変換器にΔΣ型AD変換器を用いるものがあった(例えば、特許文献2の図4参照)。このΔΣ型AD変換器は、一般的な逐次比較型AD変換器で構成されるAD変換装置がノイズの影響を受け易いということやAD変換器内部に出力ビットと同ビット数のDA変換器を内蔵しているため高価であるという問題を解決するものであった。 In addition, as an example of the AD converter, there is an AD converter that uses a ΔΣ AD converter (see, for example, FIG. 4 of Patent Document 2). This ΔΣ-type AD converter is based on the fact that an AD converter composed of a general successive approximation AD converter is susceptible to noise, and a DA converter having the same number of bits as the output bits is provided inside the AD converter. It was a solution to the problem of being expensive because it was built in.

図7は従来のΔΣ型AD変換器5の回路図である。
図7において、41はΔΣ変調器であり、アナログ信号EAを入力しΔΣ変調を行い、符号パルスEOを出力する。141はディジタルフィルタであり、符号パルスEOを入力とし、ディジタル信号として出力する。151は平均化回路であり、ディジタルフィルタ141から出力されるディジタル信号の、PWMキャリアの周期に等しい期間での平均値を求め、ディジタル信号EDとして出力する。
また、ΔΣ型変調器41はEAとEOの減算を行う減算回路401と、この減算結果を積分する積分回路411と、この積分結果と基準レベルを比較し、クロック421に同期して符号パルスEOを出力する比較回路431から構成される。
以上のように構成されるΔΣ変調器41の出力は、アナログ信号EAにノイズが発生しても、積分回路411により平均化されるため急激な変化はしない。
FIG. 7 is a circuit diagram of a conventional ΔΣ AD converter 5.
In FIG. 7, reference numeral 41 denotes a ΔΣ modulator, which receives an analog signal EA, performs ΔΣ modulation, and outputs a code pulse EO. Reference numeral 141 denotes a digital filter which receives the code pulse EO and outputs it as a digital signal. Reference numeral 151 denotes an averaging circuit, which calculates an average value of the digital signal output from the digital filter 141 in a period equal to the period of the PWM carrier, and outputs it as a digital signal ED.
Further, the ΔΣ modulator 41 compares the subtraction circuit 401 for subtracting EA and EO, the integration circuit 411 for integrating the subtraction result, the integration result and the reference level, and the sign pulse EO in synchronization with the clock 421. The comparator circuit 431 that outputs
Even if noise occurs in the analog signal EA, the output of the ΔΣ modulator 41 configured as described above is averaged by the integration circuit 411 and thus does not change rapidly.

このように、従来のΔΣ型AD変換器5を用いたAD変換装置は、アナログ信号にノイズが重畳した場合もディジタル信号出力への影響を軽減することができた。また、AD変換器をΔΣ型AD変換器とすることにより、安価なAD変換装置を提供することができた。
さらに、ΔΣ型AD変換器を用いたAD変換装置を、ディジタルサーボ制御装置の電流検出器に適用していた(例えば、特許文献2の図1参照)。これは、一般的な逐次比較型AD変換器で構成されるAD変換装置をディジタルサーボ制御装置の電流検出器に適用した場合、パワー素子のスイッチングノイズのディジタル電流検出信号への重畳を防ぐため、スイッチングを行わないタイミングで、各電流検出信号をサンプルホールドし、AD変換を行う必要があるという問題と、高価なAD変換器を用いるためディジタルサーボ制御装置のコストが増大するという問題を解決したものであった。
As described above, the AD converter using the conventional ΔΣ AD converter 5 can reduce the influence on the digital signal output even when noise is superimposed on the analog signal. In addition, an inexpensive AD converter can be provided by using a ΔΣ AD converter as the AD converter.
Furthermore, an AD conversion device using a ΔΣ AD converter has been applied to a current detector of a digital servo control device (see, for example, FIG. 1 of Patent Document 2). This is because, when an AD converter constituted by a general successive approximation AD converter is applied to a current detector of a digital servo controller, in order to prevent superposition of switching noise of a power element on a digital current detection signal, This solves the problem that it is necessary to sample and hold each current detection signal at the timing when switching is not performed and perform AD conversion, and the problem that the cost of the digital servo controller increases because an expensive AD converter is used. Met.

図8は従来の電流検出器を用いたディジタルサーボ制御装置のシステム構成図である。
図8において、電動機11は三相電動機を例にとっている。
まず、電流検出手段13は、三相電動機11に供給される三相の内2つの電流をアナログ的に検出し、第一の電流検出信号iA1,第二の電流検出信号iA2を出力する。
第一のΔΣ型AD変換器51と第二のΔΣ型AD変換器52はそれぞれ第一の電流検出信号iA1,第二の電流検出信号iA2を入力し、それぞれディジタル化を行い、第一のディジタル電流検出信号iD1,第二のディジタル電流検出信号iD2を出力する。
位置検出手段12は、電動機11の回転子と固定子の相対的な位置を検出し、その位置検出信号S1を出力する。
ディジタル信号処理手段9は、第一のディジタル電流検出信号iD1,第二のディジタル電流検出信号iD2,位置検出信号S1およびディジタル指令信号C1を入力し、これらを演算処理することにより第一のPWM指令信号P1,第二のPWM指令信号P2,第三のPWM指令信号P3,第四のPWM指令信号P4,第五のPWM指令信号P5,第六のPWM指令信号P6を出力する。また、ディジタル信号処理手段9は電流アンプ、速度アンプ、位置アンプとPWM発生回路とを含んだ回路をディジタル回路、またはDSPやマイコン等を用いたソフトウェアにより構成される。
電力変換手段10は、三相ブリッジ構成の6組のパワー素子と還流ダイオードにより構成され、それぞれに対応した第一,第二,第三,第四,第五,第六のPWM指令信号P1,P2,P3,P4,P5,P6に応じて電動機印加電圧をPWM制御する。
FIG. 8 is a system configuration diagram of a digital servo control apparatus using a conventional current detector.
In FIG. 8, the motor 11 is a three-phase motor as an example.
First, the current detection means 13 detects two currents of the three phases supplied to the three-phase motor 11 in an analog manner, and outputs a first current detection signal iA1 and a second current detection signal iA2.
The first ΔΣ type AD converter 51 and the second ΔΣ type AD converter 52 receive the first current detection signal iA1 and the second current detection signal iA2, respectively, digitize the first current detection signal iA1 and the second current detection signal iA2, respectively. The current detection signal iD1 and the second digital current detection signal iD2 are output.
The position detection means 12 detects the relative position between the rotor and the stator of the electric motor 11 and outputs a position detection signal S1.
The digital signal processing means 9 inputs the first digital current detection signal iD1, the second digital current detection signal iD2, the position detection signal S1 and the digital command signal C1, and performs arithmetic processing on these to thereby generate the first PWM command. The signal P1, the second PWM command signal P2, the third PWM command signal P3, the fourth PWM command signal P4, the fifth PWM command signal P5, and the sixth PWM command signal P6 are output. The digital signal processing means 9 is constituted by a circuit including a current amplifier, a speed amplifier, a position amplifier and a PWM generation circuit by a digital circuit or software using a DSP or a microcomputer.
The power conversion means 10 is composed of six sets of power elements and freewheeling diodes in a three-phase bridge configuration, and the first, second, third, fourth, fifth and sixth PWM command signals P1, The motor applied voltage is PWM controlled according to P2, P3, P4, P5 and P6.

以下に、従来の電流検出器を用いたディジタルサーボ制御装置の動作について説明する。
第一のΔΣ型AD変換器51と第二のΔΣ型AD変換器52は、ΔΣ型AD変換器5により構成され、それぞれ第一,第二の電流検出信号iA1,iA2をAD変換によりディジタル化を行い、第一,第二のディジタル電流検出信号iD1,iD2を出力する。このiD1,iD2と位置検出信号S1とディジタル指令信号C1により、電動機11のディジタル制御を行う。
The operation of a digital servo control device using a conventional current detector will be described below.
The first ΔΣ type AD converter 51 and the second ΔΣ type AD converter 52 are constituted by a ΔΣ type AD converter 5 and digitize the first and second current detection signals iA1 and iA2 by AD conversion, respectively. To output first and second digital current detection signals iD1 and iD2. Digital control of the motor 11 is performed by the iD1, iD2, the position detection signal S1, and the digital command signal C1.

図9は従来の電流検出器における動作を示すタイミング図である。第一,第二のΔΣ型AD変換器51,52に用いるΔΣ型AD変換器5がディジタル電流検出信号を出力する様子を、図9を用いて説明する。
図9に示す第一のPWM指令信号P1は、PWMキャリア毎に生成されるPWM信号であり、電流は第一の電流検出信号iA1である。
ΔΣ型AD変換器5は、上記PWMキャリアの周期に等しい期間に、iA1をディジタル化したディジタル信号を複数回サンプリングする。この図9では、例としてPWMキャリアの周期に等しい期間に4回のサンプリングを行う場合について示している。
すなわち、iA1のディジタル化したディジタル信号を4回サンプリングし、その4回のサンプリングの平均値を図7の平均化回路151で求め、これをディジタル電流検出信号iD1としている。
FIG. 9 is a timing chart showing the operation of the conventional current detector. The manner in which the ΔΣ AD converter 5 used in the first and second ΔΣ AD converters 51 and 52 outputs a digital current detection signal will be described with reference to FIG.
The first PWM command signal P1 shown in FIG. 9 is a PWM signal generated for each PWM carrier, and the current is the first current detection signal iA1.
The ΔΣ AD converter 5 samples a digital signal obtained by digitizing iA1 a plurality of times during a period equal to the period of the PWM carrier. FIG. 9 shows a case where sampling is performed four times in a period equal to the period of the PWM carrier as an example.
That is, the digitized digital signal of iA1 is sampled four times, and the average value of the four samplings is obtained by the averaging circuit 151 in FIG. 7, and this is used as the digital current detection signal iD1.

このように、従来の電流検出器を用いたディジタルサーボ制御装置は、ΔΣ型AD変換器がPWMキャリア周期に等しい期間に、電流検出信号のディジタル化した結果を複数回サンプリングし、その平均値をディジタル電流検出信号として出力する構成とすることにより、電動機に供給される駆動電流の平均値を求め、電動機の制御性の向上を実現した。
As described above, the digital servo control device using the conventional current detector samples the digitized result of the current detection signal a plurality of times during the period when the ΔΣ type AD converter is equal to the PWM carrier cycle, and calculates the average value thereof. By adopting a configuration for outputting as a digital current detection signal, the average value of the drive current supplied to the electric motor was obtained, and the controllability of the electric motor was improved.

特開昭59−211132号公報(第3頁、図4、図5)JP 59-2111132 (3rd page, FIG. 4, FIG. 5) 特許第3412434号(第6頁、図1、図4、第7頁、図5)Japanese Patent No. 3412434 (page 6, FIG. 1, FIG. 4, page 7, FIG. 5)

しかしながら、一般的にΔΣ型AD変換器は、1ビットのAD変換器でサンプリングを行い、平均化処理によりAD変換データを得る方式であるため、AD変換データには量子化誤差が含まれており、サンプリング回数が少ない程、AD変換精度が悪いことが知られている。
従来のΔΣ型AD変換器を用いたAD変換装置は、一定時間内でのサンプリング回数は限られており、アナログ信号EAに対するディジタル信号EDのAD変換精度が悪いという問題があった。これに対してAD変換精度を上げるためにサンプリング回数を増やすとAD変換時間が増大するという問題があった。
また、従来の電流検出器を用いたディジタルサーボ制御装置は、PWMキャリア周期内にAD変換を完了してディジタル信号EDを更新しなければならないので、サンプリング回数は限られており、このため電流検出精度が悪いという問題があった。
さらに、ΔΣ型AD変換器の各々変換時間にはばらつきがあり、複数のΔΣ型AD変換器を用いたAD変換装置では、従来のAD変換装置のように、単にAD変換完了信号の論理積をとるだけでは対応できない場合があり、どのAD変換器の変換時間が長いか、調整時に判別し、それにあわせて調整が必要など余分な作業が発生するなどの問題があった。
However, in general, the ΔΣ type AD converter is a method in which sampling is performed by a 1-bit AD converter and AD conversion data is obtained by an averaging process. Therefore, the AD conversion data includes a quantization error. It is known that the smaller the number of samplings, the worse the AD conversion accuracy.
A conventional AD converter using a ΔΣ AD converter has a problem that the number of samplings within a certain time is limited, and the AD conversion accuracy of the digital signal ED with respect to the analog signal EA is poor. On the other hand, when the number of times of sampling is increased in order to increase AD conversion accuracy, there is a problem that AD conversion time increases.
Also, since the digital servo control device using the conventional current detector has to complete the AD conversion and update the digital signal ED within the PWM carrier cycle, the number of times of sampling is limited. There was a problem of poor accuracy.
Furthermore, the conversion time of each ΔΣ AD converter varies, and in an AD converter using a plurality of ΔΣ AD converters, the logical product of AD conversion completion signals is simply calculated as in the conventional AD converter. In some cases, it is not possible to cope with the problem by simply taking it, and there is a problem in that it is necessary to determine which AD converter has a long conversion time at the time of adjustment, and extra work is necessary to adjust accordingly.

本発明はこのような問題点に鑑みてなされたものであり、精度の良いAD変換装置、前記AD変換装置を用いた電流検出器及び前記電流検出器を用いたディジタルサーボ制御装置を提供することを目的とする。
The present invention has been made in view of such problems, and provides a highly accurate AD converter, a current detector using the AD converter, and a digital servo control device using the current detector. With the goal.

上記問題を解決するため、本発明は、次のように構成したのである。
発明は、アナログ信号がそれぞれ入力され、AD変換スタート信号によりAD変換を開始し、AD変換の終了によりAD変換完了信号をそれぞれ出力する複数のΔΣ型AD変換器511,512,51nと、前記複数のΔΣ型AD変換器から出力されるAD変換完了信号71,72,7nから1つの割込み信号7を生成する論理回路と、前記割込み信号7の受信により前記複数のΔΣ型AD変換器511,512,51nのAD変換データ61,62,6nを読み込み演算処理を行うディジタル信号処理手段21とを備えたAD変換装置において、前記ΔΣ型AD変換器511,512,51nはΔΣ変調器41と前記ΔΣ変調器41の出力EOに複数並列に接続されたAD変換データ生成部181,182,18mと、前記ディジタル信号処理手段21から出力される起動トリガ23により動作を開始するタイミング生成回路20と、前記タイミング生成回路20から時間差をもって出力される複数のAD変換スタート信号121,122,12mと、前記AD変換スタート信号に基づき前記AD変換データ生成部181,182,18mから出力される複数のAD変換データ161,162,16mと、前記タイミング生成回路20から出力されるチャネル選択信号91に基づき前記複数のAD変換データ161,162,16mから1つのAD変換データ61を選択するAD変換データセレクタ241と、
前記複数のAD変換データ生成部から出力される複数のAD変換完了信号171,172,17mと、前記タイミング生成回路20から出力されるチャネル選択信号91に基づき前記複数のAD変換完了信号171,172,17mから1つのAD変換完了信号71を選択するAD変換完了信号セレクタ251と、前記AD変換スタート信号121入力によりカウントを開始するAD変換時間計測カウンタ221と、前記AD変換完了信号171によりAD変換時間を保持するAD変換時間保持部231を備え、前記論理回路は前記複数のΔΣ型AD変換器511,512,51nより出力される複数のAD変換時間81を比較し、前記AD変換時間が最も長いΔΣ型AD変換器を選択する比較器22と、
前記比較器22から出力される割込み選択信号8に基づき前記複数のΔΣ型AD変換器511,512,51mより出力される複数のAD変換完了信号71,72,77nから1つの割込み信号を選択する割込み信号セレクタ19で構成されたことを特徴とするものである。
また、発明は、前記AD変換データ生成部はディジタルフィルタ141と平均化回路151で構成され、ディジタルフィルタ141は前記ΔΣ変調器41の出力EOを複数回サンプリングし、平均化回路151はその平均値を出力することを特徴とするものである。
また、発明は、前記ΔΣ型変調器41はアナログ信号101と前記EOの減算を行う減算回路401と、この減算結果を積分する積分回路411と、この積分結果と基準レベルを比較し、クロック421に同期して符号パルスEOを出力する比較回路431から構成されることを特徴とするものである。
また、発明は、電動機11に供給される電流を検出し検出電流信号とディジタル指令信号C1に基づき演算処理を行うディジタル信号処理手段9と、前記ディジタル信号処理手段の演算処理結果に基づき電動機印加電圧をPWM制御する電力変換手段10とを備えたディジタルサーボ制御装置における電流検出器において、
前記電流検出器は前記電動機11に供給される電流をアナログ的に検出して電流検出信号iA1,iA2を出力する電流検出手段13と、前記電流検出信号をディジタル化してディジタル電流検出信号iD1,iD2を出力するAD変換装置からなり、前記AD変換装置が上記したAD変換装置から構成されたことを特徴とするものである。
また、発明は、電動機11と、前記電動機の回転子と固定子の相対的な位置を検出する位置検出手段と、前記電動機に供給される電流を検出する電流検出器と、検出電流信号とディジタル指令信号C1に基づき演算処理を行うディジタル信号処理手段9と、前記ディジタル信号処理手段の演算処理結果に基づき電動機印加電圧をPWM制御する電力変換手段10とを備えたディジタルサーボ制御装置において、前記電流検出器が上記した電流検出器からなることを特徴とするものである。
In order to solve the above problem, the present invention is configured as follows.
The present invention includes a plurality of ΔΣ AD converters 511, 512, and 51n each of which receives an analog signal, starts AD conversion by an AD conversion start signal, and outputs an AD conversion completion signal by the end of AD conversion, A logic circuit that generates one interrupt signal 7 from AD conversion completion signals 71, 72, and 7n output from a plurality of ΔΣ AD converters, and a plurality of ΔΣ AD converters 511, 11 by receiving the interrupt signal 7 In the AD conversion apparatus including the digital signal processing means 21 that reads the AD conversion data 61, 62, and 6n of 512 and 51n and performs arithmetic processing, the ΔΣ AD converters 511, 512, and 51n include the ΔΣ modulator 41 and the digital signal processing unit 21, respectively. A plurality of AD conversion data generation units 181, 182, 18 m connected in parallel to the output EO of the ΔΣ modulator 41, and the digital signal processing unit 21 based on a timing generation circuit 20 that starts an operation by a start trigger 23 output from 21, a plurality of AD conversion start signals 121, 122, 12 m output from the timing generation circuit 20 with a time difference, and the AD conversion start signal Based on the plurality of AD conversion data 161, 162, 16 m output from the AD conversion data generation units 181, 182, 18 m and the channel selection signal 91 output from the timing generation circuit 20, the plurality of AD conversion data 161, An AD conversion data selector 241 for selecting one AD conversion data 61 from 162, 16m;
The plurality of AD conversion completion signals 171 and 172 based on the plurality of AD conversion completion signals 171, 172 and 17 m output from the plurality of AD conversion data generation units and the channel selection signal 91 output from the timing generation circuit 20. , 17m, an AD conversion completion signal selector 251 for selecting one AD conversion completion signal 71, an AD conversion time measurement counter 221 that starts counting by the input of the AD conversion start signal 121, and AD conversion by the AD conversion completion signal 171 An AD conversion time holding unit 231 for holding time, and the logic circuit compares a plurality of AD conversion times 81 output from the plurality of ΔΣ AD converters 511, 512, and 51n, and the AD conversion time is the longest. A comparator 22 for selecting a long ΔΣ AD converter;
Based on the interrupt selection signal 8 output from the comparator 22, one interrupt signal is selected from the plurality of AD conversion completion signals 71, 72, 77n output from the plurality of ΔΣ AD converters 511, 512, 51m. It is characterized by comprising an interrupt signal selector 19.
Further, according to the present invention, the AD conversion data generation unit includes a digital filter 141 and an averaging circuit 151. The digital filter 141 samples the output EO of the ΔΣ modulator 41 a plurality of times, and the averaging circuit 151 A value is output.
In the present invention, the ΔΣ modulator 41 compares the subtraction circuit 401 that subtracts the analog signal 101 and the EO, the integration circuit 411 that integrates the subtraction result, the comparison result with the reference level, The comparison circuit 431 is configured to output a code pulse EO in synchronization with 421.
The present invention also includes a digital signal processing means 9 for detecting a current supplied to the motor 11 and performing arithmetic processing based on the detected current signal and the digital command signal C1, and applying the electric motor based on the arithmetic processing result of the digital signal processing means. In a current detector in a digital servo control device provided with power conversion means 10 for PWM control of voltage,
The current detector detects the current supplied to the motor 11 in an analog manner and outputs current detection signals iA1 and iA2, and digitizes the current detection signal to generate digital current detection signals iD1 and iD2. consists AD converter for outputting, the AD converter is characterized in that it has been constructed from the AD converter described above.
The present invention also includes the electric motor 11, position detecting means for detecting the relative position of the rotor and stator of the electric motor, a current detector for detecting the current supplied to the electric motor, and a detected current signal. In the digital servo control device comprising the digital signal processing means 9 for performing arithmetic processing based on the digital command signal C1, and the power conversion means 10 for performing PWM control of the motor applied voltage based on the arithmetic processing result of the digital signal processing means, The current detector includes the above-described current detector.

発明によると、ディジタル信号のサンプリング回数を増やすことができ、AD変換精度を向上させることができる。また、調整時にAD変換時間が最も長いAD変換器を選別するなど余分な作業を行わなくてよい。 According to the present invention, the number of digital signal samplings can be increased, and the AD conversion accuracy can be improved. Further, it is not necessary to perform extra work such as selecting an AD converter having the longest AD conversion time during adjustment.

また、発明によると、ディジタル信号のサンプリング回数を増やすことができ、AD変換精度を向上させることができる。
また、発明によると、高精度なAD変換装置を用いているので、精度良く電流検出を行うことができる。
また、発明によると、精度良く電流検出を行うことができるので、高精度なディジタルサーボ制御を行うことができる。
In addition, according to the present invention, the number of digital signal samplings can be increased, and AD conversion accuracy can be improved.
In addition, according to the present invention, since a highly accurate AD converter is used, current detection can be performed with high accuracy.
In addition, according to the present invention, current detection can be performed with high accuracy, so that highly accurate digital servo control can be performed.

本発明の第1実施例を示すAD変換装置の回路図1 is a circuit diagram of an AD conversion apparatus according to a first embodiment of the present invention. 第1実施例における動作を示すタイミング図Timing chart showing operation in the first embodiment 本発明の第2実施例を示す電流検出器を用いたディジタルサーボ制御装置のシステム構成図The system block diagram of the digital servo control apparatus using the current detector which shows 2nd Example of this invention 第2実施例における動作を示すタイミング図Timing chart showing operation in the second embodiment 従来のAD変換装置の回路図Circuit diagram of conventional AD converter 従来のAD変換装置における動作を示すタイミング図Timing diagram showing the operation of a conventional AD converter 従来のΔΣ型AD変換器の回路図Circuit diagram of a conventional ΔΣ AD converter 従来の電流検出器を用いたディジタルサーボ制御装置のシステム構成図System configuration diagram of a digital servo controller using a conventional current detector 従来の電流検出器における動作を示すタイミング図Timing diagram showing the operation of a conventional current detector

以下、本発明の実施の形態について図を参照して説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の第一実施例を示すAD変換装置の回路図である。
図1において、511はΔΣ型AD変換器で、アナログ信号101を入力しΔΣ変調器41にてΔΣ変調を行い、符号パルスEOを出力する。また、ΔΣ型変調器41はアナログ信号101とEOの減算を行う減算回路401と、この減算結果を積分する積分回路411と、この積分結果と基準レベルを比較し、クロック421に同期して符号パルスEOを出力する比較回路431から構成される。
141はディジタルフィルタであり、符号パルスEOを入力しディジタル信号として出力する。151は平均化回路であり、ディジタルフィルタ141から出力されるディジタル信号の、AD変換スタート信号121の入力からAD変換が完了しAD変換完了信号171が出力されるまでの期間での平均値を求め、AD変換データ161として出力する。181はAD変換データ生成部で、ディジタルフィルタ141と平均化回路151で構成される。
また、AD変換データ生成部181と同じ構成の回路が181,182,・・・,18mと複数チャネル並列に比較回路431の出力に接続されており、AD変換データ生成部182はAD変換スタート信号122を受けてAD変換完了信号172およびAD変換データ162を出力し、AD変換データ生成部18mはAD変換スタート信号12mを受けてAD変換完了信号17mおよびAD変換データ16mを出力する。20はタイミング生成回路であり、ディジタル信号処理手段21から入力される起動トリガ23により動作を開始し、AD変換スタート信号121,122,・・・,12mおよびチャネル選択信号91を出力する。241はAD変換データセレクタで、チャネル選択信号91 が1の時にAD変換データ161を,2の時にAD変換データ162を,・・・,mの時にAD変換データ16mを選択し、AD変換データ61を出力する。251はAD変換完了信号セレクタで、チャネル選択信号91が1の時に AD変換完了信号171を,2の時にAD変換完了信号172を,・・・,mの時にAD変換完了信号17mを選択し、AD変換完了信号71を出力する。221はAD変換時間計測カウンタであり、AD変換スタート信号121の立ち上がりで0値に一度クリアされ、その後システムクロックCPによりカウントアップを行い、AD変換完了信号171の立ち上がりでAD変換時間保持部231にカウンタ値を保持し、AD変換時間81を出力する。
FIG. 1 is a circuit diagram of an AD conversion apparatus showing a first embodiment of the present invention.
In FIG. 1, reference numeral 511 denotes a ΔΣ AD converter, which receives an analog signal 101, performs ΔΣ modulation by a ΔΣ modulator 41, and outputs a code pulse EO. The ΔΣ modulator 41 compares the subtraction circuit 401 that subtracts the analog signal 101 and EO, the integration circuit 411 that integrates the subtraction result, the integration result and the reference level, and the code is synchronized with the clock 421. The comparator 431 outputs a pulse EO.
Reference numeral 141 denotes a digital filter which inputs a code pulse EO and outputs it as a digital signal. Reference numeral 151 denotes an averaging circuit, which calculates an average value of a digital signal output from the digital filter 141 in a period from input of the AD conversion start signal 121 to completion of AD conversion and output of the AD conversion completion signal 171. , And output as AD conversion data 161. Reference numeral 181 denotes an AD conversion data generation unit which includes a digital filter 141 and an averaging circuit 151.
Further, a circuit having the same configuration as the AD conversion data generation unit 181 is connected to the output of the comparison circuit 431 in parallel with a plurality of channels 181, 182,..., 18 m, and the AD conversion data generation unit 182 receives the AD conversion start signal 122, the AD conversion completion signal 172 and the AD conversion data 162 are output, and the AD conversion data generation unit 18m receives the AD conversion start signal 12m and outputs the AD conversion completion signal 17m and the AD conversion data 16m. Reference numeral 20 denotes a timing generation circuit which starts its operation in response to a start trigger 23 input from the digital signal processing means 21 and outputs AD conversion start signals 121, 122,..., 12m and a channel selection signal 91. Reference numeral 241 denotes an AD conversion data selector which selects AD conversion data 161 when the channel selection signal 91 is 1, AD conversion data 162 when the channel selection signal 91 is 2, AD conversion data 16m when. Is output. Reference numeral 251 denotes an AD conversion completion signal selector which selects the AD conversion completion signal 171 when the channel selection signal 91 is 1, selects the AD conversion completion signal 172 when the channel selection signal 91 is 2, selects the AD conversion completion signal 17m when. An AD conversion completion signal 71 is output. Reference numeral 221 denotes an AD conversion time measurement counter which is once cleared to 0 value at the rising edge of the AD conversion start signal 121, then counted up by the system clock CP, and is sent to the AD conversion time holding unit 231 at the rising edge of the AD conversion completion signal 171. The counter value is held and AD conversion time 81 is output.

同様にΔΣ型AD変換器511と同じ構成の回路が511,512,・・・,51nと複数個並列に並んでおり、ΔΣ型AD変換器512はアナログ信号102と起動トリガ23を入力し、AD変換データ62とAD変換完了信号72とAD変換時間82を出力し、ΔΣ型AD変換器51nはアナログ信号10nと起動トリガ23を入力し、AD変換データ6nとAD変換完了信号7nとAD変換時間8nを出力する。
22は比較器で、AD変換時間81,82,・・・,8nを比較し、最もAD変換時間の遅いものを判別し、割込み選択信号8を出力する。19は割込み信号セレクタで、割込み信号8が1の時にAD変換完了信号71を,2の時にAD変換完了信号72を,・・・,nの時にAD変換完了信号7nを選択し、割込み信号7を出力する。ディジタル信号処理手段21は割込み信号7の立ち下がりを受けると、AD変換データ61,62,・・・,6nを読み込み、演算処理を行う。
Similarly, a plurality of circuits having the same configuration as the ΔΣ AD converter 511 are arranged in parallel with 511, 512,..., 51n, and the ΔΣ AD converter 512 inputs the analog signal 102 and the start trigger 23, The AD conversion data 62, the AD conversion completion signal 72, and the AD conversion time 82 are output, the ΔΣ AD converter 51n receives the analog signal 10n and the start trigger 23, and the AD conversion data 6n, the AD conversion completion signal 7n, and the AD conversion Output time 8n.
A comparator 22 compares the AD conversion times 81, 82,..., 8n, determines the one with the latest AD conversion time, and outputs the interrupt selection signal 8. An interrupt signal selector 19 selects an AD conversion completion signal 71 when the interrupt signal 8 is 1, an AD conversion completion signal 72 when the interrupt signal 8 is 2, an AD conversion completion signal 7n when the interrupt signal 8 is n, and an interrupt signal 7 Is output. Upon receiving the falling edge of the interrupt signal 7, the digital signal processing means 21 reads the AD conversion data 61, 62,..., 6n and performs arithmetic processing.

本発明が従来技術と異なる部分は、ΔΣ型AD変換器511がタイミング生成回路20とAD変換時間計測カウンタ221とAD変換時間保持部231とAD変換データセレクタ241とAD変換完了信号セレクタ251を備えた部分と、AD変換データ生成部が複数チャネル並列化された部分181,182,・・・,18mと、複数のΔΣ型AD変換器からなるAD変換装置において割込み信号を生成する論理回路が比較器22と割込み信号セレクタ19で構成されている部分である。 The difference between the present invention and the prior art is that the ΔΣ AD converter 511 includes a timing generation circuit 20, an AD conversion time measurement counter 221, an AD conversion time holding unit 231, an AD conversion data selector 241, and an AD conversion completion signal selector 251. , 18m in which the AD conversion data generation unit is parallelized in a plurality of channels, and a logic circuit that generates an interrupt signal in an AD conversion device including a plurality of ΔΣ AD converters This is a part composed of the device 22 and the interrupt signal selector 19.

次に本発明の動作について説明する。
図2は第一実施例における動作を示すタイミング図である。
図2において、AD変換スタート信号121の立ち上がりでΔΣ型AD変換器511における1チャネル目のAD変換が開始する。同様にAD変換スタート信号121から一定の時間差をもってAD変換スタート信号122,・・・,12mが発生し、2チャネル目,・・・,mチャネル目のAD変換が順次開始する。
1チャネル目のAD変換が完了した時、チャネル選択信号91は1チャネル目を選択しており、AD変換データ161はAD変換データ61へAD変換完了信号171はAD変換完了信号71へ出力される。
同様に2チャネル目,・・・,mチャネル目のAD変換が完了した時、チャネル選択信号91は2チャネル目,・・・,mチャネル目を選択しており、AD変換データ162,・・・,16mはAD変換データ61へAD変換完了信号172,・・・,17mはAD変換完了信号71へ出力される。また、AD変換時間81はAD変換完了信号171の立ち上がりで保持される。
Next, the operation of the present invention will be described.
FIG. 2 is a timing chart showing the operation in the first embodiment.
In FIG. 2, AD conversion of the first channel in the ΔΣ AD converter 511 starts at the rising edge of the AD conversion start signal 121. Similarly, AD conversion start signals 122,..., 12m are generated with a certain time difference from the AD conversion start signal 121, and AD conversion of the second channel,.
When AD conversion of the first channel is completed, the channel selection signal 91 selects the first channel, the AD conversion data 161 is output to the AD conversion data 61, and the AD conversion completion signal 171 is output to the AD conversion completion signal 71. .
Similarly, when AD conversion of the second channel,..., M channel is completed, the channel selection signal 91 selects the second channel,..., M channel, and the AD conversion data 162,. .., 16m is output to AD conversion data 61. AD conversion completion signals 172,..., 17m are output to AD conversion completion signal 71. The AD conversion time 81 is held at the rising edge of the AD conversion completion signal 171.

同様に、ΔΣ型AD変換器512,・・・,51nよりそれぞれAD変換データ62,・・・,6nおよびAD変換完了信号72,・・・,7nおよびAD変換時間82,・・・,8nが出力される。ここで、ΔΣ型AD変換器511,512,・・・,51nは製造バラツキによりAD変換時間にかなりの差を生じるが、割込み選択信号8により最も遅いAD変換完了信号が割込み信号7として選択されるので、全てのAD変換が完了したときにディジタル信号処理手段21に割込みをかけ、AD変換データ61,62,・・・,6nを読み込むことができる。
また、図に示すように、m回割込みが発生する間に1チャネルあたりAD変換を1回完了すればよいので、1チャネルあたりのAD変換時間を長く取ることができ、その分サンプリング回数を増やすことが可能になる。
Similarly, AD conversion data 62,..., 6n and AD conversion completion signals 72,..., 7n and AD conversion times 82,. Is output. Here, the ΔΣ type AD converters 511, 512,..., 51n cause a considerable difference in AD conversion time due to manufacturing variations, but the latest AD conversion completion signal is selected as the interrupt signal 7 by the interrupt selection signal 8. Therefore, when all AD conversions are completed, the digital signal processing means 21 can be interrupted to read the AD conversion data 61, 62,.
Also, as shown in the figure, since AD conversion only needs to be completed once per channel while m interrupts occur, the AD conversion time per channel can be increased, and the number of samplings is increased accordingly. It becomes possible.

このように、AD変換データ生成部181,182,・・・,18mを複数チャネル並列化した構成となっているので、サンプリング回数を増やすことでき、AD変換精度を向上させることができる。
As described above, since the AD conversion data generation units 181, 182,..., 18m are configured in parallel with a plurality of channels, the number of samplings can be increased, and the AD conversion accuracy can be improved.

図3は、本発明の第二実施例を示す電流検出器を用いたディジタルサーボ制御装置のシステム構成図である。
図3において、電動機11は、三相電動機を例にとって以下説明を行う。
まず、電流検出手段13は、三相電動機11に供給される三相の内2つの電流をアナログ的に検出し、第一の電流検出信号iA1,第二の電流検出信号iA2を出力する。
第一のΔΣ型AD変換器511と第二のΔΣ型AD変換器512はそれぞれ第一の電流検出信号iA1,第二の電流検出信号iA2を入力し、それぞれディジタル化を行い、第一のディジタル電流検出信号iD1,第二のディジタル電流検出信号iD2を出力する。
位置検出手段12は、電動機11の回転子と固定子の相対的な位置を検出し、その位置検出信号S1を出力する。
22は比較器で、AD変換時間81,82を比較し、AD変換時間の遅いものを判別し、割込み選択信号8を出力する。19は割込み信号セレクタで、割込み選択信号8が1の時にAD変換完了信号71を,2の時にAD変換完了信号72を選択し、割込み信号7を出力する。ディジタル信号処理手段9は第一のディジタル電流検出信号iD1,第二のディジタル電流検出信号iD2,位置検出信号S1およびディジタル指令信号C1を入力し、割込み信号7の立ち下がりを受けると、これらを演算処理することにより第一のPWM指令信号P1,第二のPWM指令信号P2,第三のPWM指令信号P3,第四のPWM指令信号P4,第五のPWM指令信号P5,第六のPWM指令信号P6を出力する。また、ディジタル信号処理手段9は電流アンプ、速度アンプ、位置アンプとPWM発生回路とを含んだ回路をディジタル回路、またはDSP,マイコン等を用いたソフトウェアにより構成される。
電力変換手段10は、三相ブリッジ構成の6組のパワー素子と還流ダイオードにより構成され、それぞれに対応した第一,第二,第三,第四,第五,第六のPWM指令信号P1,P2,P3,P4,P5,P6に応じて電動機印加電圧をPWM制御する。
本発明が従来技術と異なる部分は、タイミング生成回路20とAD変換時間計測カウンタ221とAD変換時間保持部231とAD変換データセレクタ241とAD変換完了信号セレクタ251を備え、AD変換データ生成部が複数チャネル並列化されたΔΣ型AD変換器181,182,・・・,18mを適用した部分と、
割込み信号を生成する論理回路が比較器22と割込み信号セレクタ19で構成されている部分である。
FIG. 3 is a system configuration diagram of a digital servo control device using a current detector showing a second embodiment of the present invention.
In FIG. 3, the electric motor 11 will be described below using a three-phase electric motor as an example.
First, the current detection means 13 detects two currents of the three phases supplied to the three-phase motor 11 in an analog manner, and outputs a first current detection signal iA1 and a second current detection signal iA2.
The first ΔΣ AD converter 511 and the second ΔΣ AD converter 512 receive the first current detection signal iA1 and the second current detection signal iA2, respectively, digitize them, and perform the first digital The current detection signal iD1 and the second digital current detection signal iD2 are output.
The position detection means 12 detects the relative position between the rotor and the stator of the electric motor 11 and outputs a position detection signal S1.
Reference numeral 22 denotes a comparator that compares the AD conversion times 81 and 82 to determine which AD conversion time is slow, and outputs an interrupt selection signal 8. An interrupt signal selector 19 selects the AD conversion completion signal 71 when the interrupt selection signal 8 is 1, selects the AD conversion completion signal 72 when the interrupt selection signal 8 is 2, and outputs an interrupt signal 7. The digital signal processing means 9 inputs the first digital current detection signal iD1, the second digital current detection signal iD2, the position detection signal S1 and the digital command signal C1, and calculates them when the falling edge of the interrupt signal 7 is received. By processing, the first PWM command signal P1, the second PWM command signal P2, the third PWM command signal P3, the fourth PWM command signal P4, the fifth PWM command signal P5, and the sixth PWM command signal. P6 is output. The digital signal processing means 9 is constituted by a circuit including a current amplifier, a speed amplifier, a position amplifier, and a PWM generation circuit by a digital circuit or software using a DSP, a microcomputer, or the like.
The power conversion means 10 is composed of six sets of power elements and freewheeling diodes in a three-phase bridge configuration, and the first, second, third, fourth, fifth and sixth PWM command signals P1, The motor applied voltage is PWM controlled according to P2, P3, P4, P5 and P6.
The present invention is different from the prior art in that it includes a timing generation circuit 20, an AD conversion time measurement counter 221, an AD conversion time holding unit 231, an AD conversion data selector 241, and an AD conversion completion signal selector 251, and the AD conversion data generation unit A portion to which ΔΣ AD converters 181, 182,.
A logic circuit that generates an interrupt signal is a part constituted by a comparator 22 and an interrupt signal selector 19.

次に本発明の動作について説明する。
図4は第二実施例における動作を示すタイミング図である。
図4において、第一のΔΣ型AD変換器511と第二のΔΣ型AD変換器512は、AD変換データ生成部181,182,183,184を4チャネル並列化した場合を例にとって以下説明を行う。
AD変換スタート信号121の立ち上がりでΔΣ型AD変換器511における1チャネル目のAD変換が開始する。同様にAD変換スタート信号121から一定の時間差をもってAD変換スタート信号122,・・・,124が発生し、2チャネル目,・・・,4チャネル目のAD変換が順次開始する。予めAD変換時間を予測して周期を設定しておき、設定値に従いチャネルを切り換えることによって1チャネル目のAD変換が完了した時、チャネル選択信号91は1チャネル目を選択し、AD変換データ161はAD変換データ61へAD変換完了信号171はAD変換完了信号71へ出力される。
同様に2チャネル目,・・・,4チャネル目のAD変換が完了した時、チャネル選択信号91は2チャネル目,・・・,4チャネル目を選択しており、AD変換データ162,・・・,164はAD変換データ61へAD変換完了信号172,・・・,174はAD変換完了信号71へ出力される。また、AD変換時間81はAD変換完了信号171の立ち上がりで保持される。
Next, the operation of the present invention will be described.
FIG. 4 is a timing chart showing the operation in the second embodiment.
In FIG. 4, the first ΔΣ type AD converter 511 and the second ΔΣ type AD converter 512 are described below with an example in which the AD conversion data generation units 181, 182, 183, and 184 are parallelized in four channels. Do.
At the rising edge of the AD conversion start signal 121, AD conversion of the first channel in the ΔΣ AD converter 511 starts. Similarly, AD conversion start signals 122,..., 124 are generated with a certain time difference from the AD conversion start signal 121, and AD conversion of the second channel,. When the AD conversion time for the first channel is completed by predicting the AD conversion time in advance and switching the channel according to the set value, the channel selection signal 91 selects the first channel, and the AD conversion data 161 Is converted to AD conversion data 61 and AD conversion completion signal 171 is output to AD conversion completion signal 71.
Similarly, when the AD conversion of the second channel,..., The fourth channel is completed, the channel selection signal 91 selects the second channel,..., The fourth channel, and the AD conversion data 162,. , 164 is output to the AD conversion data 61, and AD conversion completion signals 172,... 174 are output to the AD conversion completion signal 71. The AD conversion time 81 is held at the rising edge of the AD conversion completion signal 171.

同様に、ΔΣ型AD変換器512よりAD変換データ62およびAD変換完了信号72およびAD変換時間82が出力される。ここで、ΔΣ型AD変換器511,512は製造バラツキによりAD変換時間にかなりの差を生じるが、割込み選択信号8により遅い方のAD変換完了信号が割込み信号7として選択されるので、両方のAD変換が完了したときにディジタル信号処理手段9に割込みをかけ、ディジタル電流検出信号iD1,iD2を読み込むことができる。
第一のPWM指令信号P1は、PWMキャリア毎に生成されるPWM信号であり、電流は第一の電流検出信号iA1である。
ΔΣ型AD変換器511は、上記PWMキャリアの周期にADデータ生成部のチャネル数を掛けた期間に、iA1をディジタル化したディジタル信号を複数回サンプリングする。この図4では、例としてPWMキャリアの周期の4倍の期間に16回のサンプリングを行う場合について示している。
すなわち、iA1のディジタル化したディジタル信号を16回サンプリングし、その16回のサンプリングの平均値を平均化回路151が求め、これをディジタル電流検出信号iD1としている。
Similarly, the AD conversion data 62, the AD conversion completion signal 72, and the AD conversion time 82 are output from the ΔΣ AD converter 512. Here, the ΔΣ type AD converters 511 and 512 cause a considerable difference in AD conversion time due to manufacturing variations. However, since the later AD conversion completion signal is selected as the interrupt signal 7 by the interrupt selection signal 8, When the AD conversion is completed, the digital signal processing means 9 can be interrupted to read the digital current detection signals iD1, iD2.
The first PWM command signal P1 is a PWM signal generated for each PWM carrier, and the current is the first current detection signal iA1.
The ΔΣ AD converter 511 samples a digital signal obtained by digitizing iA1 a plurality of times in a period obtained by multiplying the period of the PWM carrier by the number of channels of the AD data generation unit. In FIG. 4, as an example, a case where sampling is performed 16 times in a period four times the period of the PWM carrier is shown.
That is, the digitized digital signal of iA1 is sampled 16 times, and the averaging circuit 151 obtains the average value of the 16 samplings, and this is used as the digital current detection signal iD1.

このように、AD変換データ生成部を4チャネル並列化した構成となっているので、サンプリング回数を4倍に増やすことでき、電流検出精度を向上させることができる。

As described above, since the AD conversion data generation unit is configured in parallel with four channels, the number of samplings can be increased four times, and the current detection accuracy can be improved.

1,9,21 ディジタル信号処理手段
2,7 割込み信号
3 ANDゲート
4,121,122,・・・,12m AD変換スタート信号
5,51,52,511,512,513 ΔΣ型AD変換器
8 割込み選択信号
10 電力変換手段
11 電動機
12 位置検出手段
13 電流検出手段
19 割込み信号セレクタ
20 タイミング生成回路
22 比較器
23 トリガ信号
41 ΔΣ変調器
61,62,・・・,6n,161,162,・・・,16m AD変換データ
71,72,・・・,7n AD変換完了信号
81,82,・・・,8n AD変換時間
91 チャネル選択信号
101,102,・・・,10n アナログ信号
141 ディジタルフィルタ
151 平均化回路
171,172,・・・,17m,301,302,・・・,30n AD変換完了信号
181,182,・・・,18m AD変換データ生成部
201,202,・・・,20n AD変換器
221 AD変換時間計測カウンタ
231 AD変換時間保持部
241 AD変換データセレクタ
251 AD変換完了信号セレクタ
401 減算回路
411 積分回路
421 クロック
431 比較回路
1, 9, 21 Digital signal processing means 2, 7 Interrupt signal 3 AND gate 4, 121, 122,..., 12m AD conversion start signal 5, 51, 52, 511, 512, 513 ΔΣ type AD converter 8 Interrupt Selection signal 10 Power conversion means 11 Electric motor 12 Position detection means 13 Current detection means 19 Interrupt signal selector 20 Timing generation circuit 22 Comparator 23 Trigger signal 41 ΔΣ modulators 61, 62,..., 6n, 161, 162,. ..., 16m AD conversion data 71, 72, ..., 7n AD conversion completion signals 81, 82, ..., 8n AD conversion time 91 Channel selection signals 101, 102, ..., 10n Analog signal 141 Digital filter 151 Averaging circuits 171, 172,..., 17m, 301, 302,. 81, 182,..., 18m AD conversion data generation unit 201, 202,..., 20n AD converter 221 AD conversion time measurement counter 231 AD conversion time holding unit 241 AD conversion data selector 251 AD conversion completion signal selector 401 Subtraction circuit 411 Integration circuit 421 Clock 431 Comparison circuit

Claims (5)

アナログ信号がそれぞれ入力され、AD変換スタート信号を受け付けるとAD変換を開始し、AD変換終了するとAD変換完了信号をそれぞれ出力する複数のΔΣ型AD変換器と、複数の前記ΔΣ型AD変換器からそれぞれ出力される前記AD変換完了信号から1つの割込み信号を生成する論理回路と、前記割込み信号の受信により複数の前記ΔΣ型AD変換器が生成したAD変換データを読み込んで演算処理を行うディジタル信号処理手段とを備えたAD変換装置において、
前記ΔΣ型AD変換器は、
ΔΣ変調器の出力側に並列に接続される複数のAD変換データ生成部と
前記AD変換スタート信号を複数の前記AD変換データ生成部に対して時間差をもって出力するとともに、複数の前記AD変換データ生成部のうちいずれか1つを順次指し示すチャネル選択信号を出力するタイミング生成回路と
前記チャネル選択信号が指し示す前記AD変換データ生成部によって生成された前記AD変換データを選択して前記ディジタル信号処理手段へ出力するAD変換データセレクタと
前記チャネル選択信号が指し示す前記AD変換データ生成部によって出力された前記AD変換完了信号を選択して前記論理回路へ出力するAD変換完了信号セレクタと
前記タイミング生成回路によって所定のAD変換データ生成部へ出力された前記AD変換スタート信号の受け付けから、当該AD変換データ生成部から出力された前記AD変換完了信号の受け付けまでの時間であるAD変換時間を保持するAD変換時間保持部と
を備え、
前記論理回路は
数の前記ΔΣ型AD変換器の前記AD変換時間保持部がそれぞれ保持する前記AD変換時間を比較することによって前記AD変換時間が最も長い前記ΔΣ型AD変換器を選択する比較器と
前記比較器によって選択された前記ΔΣ型AD変換器に対応する前記AD変換完了信号を前記割込み信号として選択する割込み信号セレクタと
を備えることを特徴とするAD変換装置。
When an analog signal is inputted, the AD conversion starts when accepting the AD conversion start signal, terminates Then a plurality of ΔΣ-type AD converter output the AD conversion completion signal, the ΔΣ-type AD converter of the multiple AD conversion a logic circuit for generating the AD conversion complete signal or al No. one interrupt signals outputted respectively from the vessel, the AD conversion data of the interrupt by Rifuku number of the reception of the signal the ΔΣ-type AD converter is generated in AD converter that includes a digital signal processing hand stage for performing write Nde processing read data,
The ΔΣ AD converter is
A plurality of AD conversion data generation unit that will be connected in parallel to the output side of the ΔΣ modulator,
Outputs with a time difference of the AD conversion start signal to the plurality of AD conversion data generation unit, a timing generation circuits for outputting sequentially indicate channel selection signal any one of a plurality of the AD conversion data generation unit And
And the AD conversion data selector to be outputted to the digital signal processing unit selects the AD conversion data generated by the AD conversion data generation unit, wherein the channel selection signal is indicated,
AD conversion completion signal selector to be output to the logic circuit selects the AD conversion completion signal outputted by the AD conversion data generation unit, wherein the channel selection signal is indicated,
An AD conversion time which is a time from reception of the AD conversion start signal output to the predetermined AD conversion data generation unit by the timing generation circuit until reception of the AD conversion completion signal output from the AD conversion data generation unit An AD conversion time holding unit for holding
Said logic circuit,
A comparator for the AD conversion time selects the longest the ΔΣ-type AD converter by the AD conversion time holding unit of the ΔΣ-type AD converter of multiple compares between the time the AD conversion for holding respectively,
And the interrupt signal selector for selecting the AD conversion completion signal corresponding to the ΔΣ-type AD converter which is selected by said comparator as said interrupt signal
AD converter, characterized in that it comprises a.
前記AD変換データ生成部は
記ΔΣ型変調器の力を複数回サンプリングするディジタルフィルタと、
前記ディジタルフィルタから出力される複数のサンプリングデータの平均値を出力する平均化回路と
を備えることを特徴とする請求項1に記載のAD変換装置。
The AD conversion data generation unit,
A digital filter for a plurality of times sampling the output of the previous SL ΔΣ modulator,
An averaging circuit for outputting an average value of a plurality of sampling data output from the digital filter;
AD converter according to claim 1, characterized in that it comprises a.
前記ΔΣ型変調器は
前記アナログ信号と前記ΔΣ変調器の出力との減算を行う減算回路と
前記減算回路による減算結果を積分する積分回路と
前記積分回路による積分結果と基準レベルを比較し、クロックに同期して符号パルスを出力する比較回路と
を備えることを特徴とする請求項1または2に記載のAD変換装置。
The ΔΣ modulator is
A subtraction circuitry for performing a subtraction between the output of the ΔΣ modulator and the analog signal,
A path integration times for integrating the subtraction result by the subtraction circuit,
Comparing with the reference-level integration result by the integrating circuit, a comparison circuitry for outputting a code pulse in synchronism with the clock
AD converter according to claim 1 or 2, characterized in that it comprises a.
電動機に供給される電流を検出し検出電流信号とディジタル指令信号とに基づいて演算処理を行うディジタル信号処理手段と、前記ディジタル信号処理手段の演算処理結果に基づいて電動機印加電圧をPWM制御する電力変換手段とを備えたディジタルサーボ制御装置における電流検出器であって、
記電動機に供給される電流をアナログ的に検出して電流検出信号を出力する電流検出手段と
前記電流検出信号をディジタル化してディジタル電流検出信号を出力する請求項1、2または3に記載のAD変換装置
を備えることを特徴とする電流検出器。
A digital signal processing hand stage for performing arithmetic processing based on the detection current signal and the digital command signal which detects the current supplied to the motor, applied electric motor based on the operation result of the digital signal processing means a current detector in the digital servo control device and a power conversion means to the PWM control voltage,
A current detecting means to output a current detection signal current supplied prior Symbol motor by analog detectable,
An AD converter according to claim 1, 2 or 3 outputs the digital current detection signal and digitizes the current detection signal
Current detector, characterized in that it comprises a.
電動機と、前記電動機の回転子と固定子の相対的な位置を検出する位置検出手段と、前記電動機供給される電流を検出する電流検出器と、検出電流信号とディジタル指令信号とに基づいて演算処理を行うディジタル信号処理手段と、前記ディジタル信号処理手段の演算処理結果に基づいて電動機印加電圧をPWM制御する電力変換手段とを備えたディジタルサーボ制御装置において、
前記電流検出器は、
請求項4に記載の電流検出器であることを特徴とするディジタルサーボ制御装置。
An electric motor, a position detecting means for detecting the relative position between the rotor and the stator of the motor, a current detector for detecting a current supplied to the electric motor, and the detected current signal and the digital command signal in digital servo control device including a digital signal processing hand stage for performing arithmetic processing have based, and a power conversion means to PWM control the motor applied voltage based on the operation result of the digital signal processing means,
The current detector is
5. A digital servo control device , comprising the current detector according to claim 4 .
JP2009050136A 2009-03-04 2009-03-04 AD converter, current detector using AD converter, and digital servo controller using current detector Expired - Fee Related JP5067385B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009050136A JP5067385B2 (en) 2009-03-04 2009-03-04 AD converter, current detector using AD converter, and digital servo controller using current detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009050136A JP5067385B2 (en) 2009-03-04 2009-03-04 AD converter, current detector using AD converter, and digital servo controller using current detector

Publications (2)

Publication Number Publication Date
JP2010206567A JP2010206567A (en) 2010-09-16
JP5067385B2 true JP5067385B2 (en) 2012-11-07

Family

ID=42967581

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009050136A Expired - Fee Related JP5067385B2 (en) 2009-03-04 2009-03-04 AD converter, current detector using AD converter, and digital servo controller using current detector

Country Status (1)

Country Link
JP (1) JP5067385B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6273459B2 (en) * 2013-09-17 2018-02-07 パナソニックIpマネジメント株式会社 Current detector

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3048007B2 (en) * 1991-05-24 2000-06-05 日本電信電話株式会社 A / D conversion circuit
JPH08172360A (en) * 1994-12-19 1996-07-02 Akiyufueezu Kk A/d converter
JP3412434B2 (en) * 1996-12-24 2003-06-03 松下電器産業株式会社 Digital servo controller
JP3463513B2 (en) * 1997-06-24 2003-11-05 松下電器産業株式会社 AD converter
JPH11112350A (en) * 1997-09-30 1999-04-23 Oki Electric Ind Co Ltd Deltasigma system ad converter
JP2000307384A (en) * 1999-04-22 2000-11-02 Hitachi Ltd Digital filter, oversampling analog/digital or digital/ analog converting device using the same
JP2002152043A (en) * 2000-11-15 2002-05-24 Rkc Instrument Inc Sigma delta form analog/digital converter
JP2006184192A (en) * 2004-12-28 2006-07-13 Shimadzu Corp Electronic balance

Also Published As

Publication number Publication date
JP2010206567A (en) 2010-09-16

Similar Documents

Publication Publication Date Title
JP3367260B2 (en) Encoder device and servo motor control device
CN101299591B (en) Method and system for motor control with delay compensation
Sorensen σδ-conversion used for motor control
CN107888119B (en) Control system and method of controlling an electric motor
JP2010022150A (en) Microcomputer, motor control system, and method for converting resolver signal into digital signal
US20120146561A1 (en) Electronically commutated electric motor featuring prediction of the rotor position and interpolation, and method
JPH10191678A (en) Digital servo control device
JP5067385B2 (en) AD converter, current detector using AD converter, and digital servo controller using current detector
EP1956380A1 (en) Method and related device for estimating two currents flowing simultaneously through respective windings of a poly-phase electrical load driven in SVM mode
JP5071497B2 (en) AD converter, current detector using AD converter, and digital servo controller using current detector
JP4894840B2 (en) Physical quantity detection device
CN116094409A (en) TC 397-based motor drive control system and method
CN102474210A (en) Electronically commutated electric motor featuring prediction of rotor position, and method
JPH0947065A (en) Motor drive controller
JP7108231B2 (en) Rotation angle detector and motor drive system
JP2002116058A (en) Encoder data conversion circuit
CN100359799C (en) Converter controller and its control method
KR100925274B1 (en) Circuit and apparatus for controlling multi-axis motion
CN109768784B (en) Decimation filter
JP5510639B2 (en) AD converter
JP2002152043A (en) Sigma delta form analog/digital converter
JP7396127B2 (en) Conversion processing device
JP2018207686A (en) Control circuit for power converter and power conversion device
JPH0974787A (en) Detection method for current of ac motor
JP2002368613A (en) Analog-to-digital conversion device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111118

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20120216

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120426

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120508

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120628

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120717

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120730

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

Free format text: PAYMENT UNTIL: 20150824

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees