JP2013186105A - Signal detection system, resolver signal processing system, and semiconductor integrated circuit - Google Patents

Signal detection system, resolver signal processing system, and semiconductor integrated circuit Download PDF

Info

Publication number
JP2013186105A
JP2013186105A JP2012054167A JP2012054167A JP2013186105A JP 2013186105 A JP2013186105 A JP 2013186105A JP 2012054167 A JP2012054167 A JP 2012054167A JP 2012054167 A JP2012054167 A JP 2012054167A JP 2013186105 A JP2013186105 A JP 2013186105A
Authority
JP
Japan
Prior art keywords
circuit
signal
voltage
processing unit
central processing
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
JP2012054167A
Other languages
Japanese (ja)
Inventor
Takahiro Ogata
孝浩 緒方
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 JP2012054167A priority Critical patent/JP2013186105A/en
Publication of JP2013186105A publication Critical patent/JP2013186105A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

PROBLEM TO BE SOLVED: To detect not only an abnormality of the output of an operation circuit but also an abnormality at a preceding stage when the operation circuit is operated by an AC voltage signal that is generated on the basis of a voltage control signal.SOLUTION: A data processing circuit outputs a voltage control signal, which is generated on the basis of a control value, to cause a power supply circuit to generate an AC voltage signal, and an operation circuit receives the voltage signal to be operated. The data processing circuit receives the voltage signal that is supplied to the operation circuit, determines whether the received voltage signal is within an allowable error range with respect to its corresponding control value, and makes a central processing unit execute required processing if the result of determination indicates it is not within the allowable error range.

Description

本発明は、制御信号に応じて生成された電圧信号で作動する回路の作動状態を判別するための信号検出システム、さらには、レゾルバの参照電圧信号の生成状態を監視可能なレゾルバ信号処理システム、そして、前記検出システム及びレゾルバ信号処理システムの好適なマイクロコンピュータなどの半導体集積回路に関し、例えばロータの回転角を検出するレゾルバの異常検出に適用して有効な技術に関する。   The present invention provides a signal detection system for determining an operation state of a circuit that operates with a voltage signal generated according to a control signal, and further a resolver signal processing system capable of monitoring a generation state of a reference voltage signal of a resolver, The present invention relates to a semiconductor integrated circuit such as a microcomputer suitable for the detection system and the resolver signal processing system, and relates to a technique effective when applied to, for example, an abnormality detection of a resolver that detects a rotation angle of a rotor.

回転変位を測定する方法として電磁誘導の変化を用いるレゾルバがあり、これは、例えば、ロータの回転角を検出してモータのサーボ制御などに用いられる。レゾルバは固定子巻き線とロータの回転子巻き線の何れか一方に交流電圧を加えると、電磁誘導によって他方の巻き線に同一周波数の交流電圧が誘起されることを原理とするものである。例えば回転子の一次巻き線に参照電圧信号として正弦波電圧信号を入力し、90℃の位相差をもって配置された2個の固定子の二次巻き線の夫々の両端には回転角に応じて振幅変調された90℃の位相差を持つ電圧信号としてのレゾルバ信号(Vsin,Vcos)を得る。このレゾルバ信号をA/D変換し、その変換結果に基づいてロータの回転角を演算する。   As a method for measuring the rotational displacement, there is a resolver that uses a change in electromagnetic induction, which is used for servo control of a motor by detecting the rotation angle of the rotor, for example. The resolver is based on the principle that when an AC voltage is applied to either the stator winding or the rotor winding of the rotor, an AC voltage having the same frequency is induced in the other winding by electromagnetic induction. For example, a sinusoidal voltage signal is input as a reference voltage signal to the primary winding of the rotor, and both ends of the secondary windings of the two stators arranged with a phase difference of 90 ° C. according to the rotation angle. A resolver signal (Vsin, Vcos) is obtained as a voltage signal having an amplitude-modulated 90 ° C. phase difference. The resolver signal is A / D converted, and the rotation angle of the rotor is calculated based on the conversion result.

レゾルバを用いて回転角を検出する装置について記載された文献の例として特許文献1がある。レゾルバの異常検出について、特許文献1ではCPUのソフトウェア処理でレゾルバ信号の二乗和演算を行って処理するようになっている。   There exists patent document 1 as an example of the literature described about the apparatus which detects a rotation angle using a resolver. With respect to the detection of the abnormality of the resolver, in Patent Document 1, the square sum operation of the resolver signal is performed by software processing of the CPU.

特開2003−031415号公報JP 2003-031415 A

本発明者はPWM信号のような電圧制御信号に基づいてインバータなどで生成される交流電圧信号によってレゾルバのような作動回路を作動させる場合に、作動回路の出力に基づく異常の検出だけでなく、その前段での異常による作動回路の動作精度の低下を事前に検出可能にすることについて検討した。   When the inventor operates an operating circuit such as a resolver by an AC voltage signal generated by an inverter or the like based on a voltage control signal such as a PWM signal, not only the detection of an abnormality based on the output of the operating circuit, The possibility of detecting in advance the deterioration of the operation accuracy of the operating circuit due to the abnormality in the previous stage was studied.

これによれば、例えば、レゾルバ信号処理システムにおいて、特許文献1のように、末端のレゾルバの出力異常を検出するだけでは、出力されたPWM信号を受けてから交流電圧信号を生成してレゾルバに供給するまでの経路上での異常がレゾルバの検出精度に影響を与えるような事態を事前に検出することができない。また、特許文献1のようにCPUによるソフトウェア処理に大きく依存する場合には検出に時間を要することになる。   According to this, for example, in a resolver signal processing system, as in Japanese Patent Application Laid-Open No. H10-133707, if only an output abnormality of a terminal resolver is detected, an AC voltage signal is generated after receiving the output PWM signal, It is impossible to detect in advance a situation in which an abnormality on the route up to the supply affects the detection accuracy of the resolver. Moreover, when it relies heavily on the software processing by CPU like patent document 1, time will be required for a detection.

このような課題を解決するための手段等を以下に説明するが、その他の課題と新規な特徴は本明細書の記述及び添付図面から明らかになるであろう。   Means for solving such problems will be described below, but other problems and novel features will become apparent from the description of the present specification and the accompanying drawings.

本願において開示される実施の形態のうち代表的なものの概要を簡単に説明すれば下記の通りである。   An outline of representative ones of the embodiments disclosed in the present application will be briefly described as follows.

すなわち、データ処理回路は制御値に基づいて生成した電圧制御信号を出力して、電源回路に交流の電圧信号を生成させ、前記電圧信号を作動回路が受け取って作動する。データ処理回路は、前記作動回路に供給される電圧信号を受け取り、受け取った電圧信号がこれに対応する制御値に対して許容誤差の範囲内にあるか否かを判別し、判別結果が前記許容誤差の範囲内にないとされた場合に必要な処理を前記中央処理装置に実行させる。   That is, the data processing circuit outputs a voltage control signal generated based on the control value, causes the power supply circuit to generate an AC voltage signal, and the operating circuit receives the voltage signal and operates. The data processing circuit receives the voltage signal supplied to the operating circuit, determines whether or not the received voltage signal is within the allowable error range for the corresponding control value, and the determination result is the allowable value The central processing unit is made to execute the necessary processing when it is determined that it is not within the error range.

本願において開示される実施の形態のうち代表的なものによって得られる効果を簡単に説明すれば下記のとおりである。   The effects obtained by the representative ones of the embodiments disclosed in the present application will be briefly described as follows.

すなわち、電圧制御信号に基づいて生成される交流電圧信号によって作動回路を作動させる場合に、作動回路の出力の異常ではなく、その前段での異常についても検出することができる。   That is, when the operation circuit is operated by an AC voltage signal generated based on the voltage control signal, it is possible to detect not only an abnormality in the output of the operation circuit but also an abnormality in the preceding stage.

図1は代表的な実施の形態に係るレゾルバ信号処理システムを例示するブロック図である。FIG. 1 is a block diagram illustrating a resolver signal processing system according to a representative embodiment. 図2はPWM波形によって生成されるアナログ電圧波形の一例を示す波形図である。FIG. 2 is a waveform diagram showing an example of an analog voltage waveform generated by the PWM waveform. 図3はトリガ遅延設定の意義を例示する説明図である。FIG. 3 is an explanatory diagram illustrating the significance of trigger delay setting.

1.実施の形態の概要
先ず、本願において開示される代表的な実施の形態について概要を説明する。代表的な実施の形態についての概要説明で括弧を付して参照する図面中の参照符号はそれが付された構成要素の概念に含まれるものを例示するに過ぎない。
1. First, an outline of a typical embodiment disclosed in the present application will be described. Reference numerals in the drawings referred to in parentheses in the outline description of the representative embodiments merely exemplify what are included in the concept of the components to which the reference numerals are attached.

〔1〕<信号検出システム>
代表的な実施の形態に係る信号検出システムは、図1に例示されるように、データ処理回路(1)と、前記データ処理回路で生成された電圧制御信号(Spwm)に基づいて交流の電圧信号(Vext)を生成する電源回路(2)と、前記電圧信号を受け取って作動される作動回路(3)と、を有する。前記データ処理回路は、プログラムを実行する中央処理装置(10)と、前記中央処理装置から指示される制御値(Ddty/Dcyc)に基づいて前記電圧制御信号を生成する電圧制御回路(20)と、前記電源回路から出力される電圧信号がこれに対応する制御値に対して許容誤差の範囲内にあるか否かを判別する判別回路(40)と、前記判別回路による判別結果が許容誤差の範囲内にないとされた場合に必要な処理を前記中央処理装置に実行させる検出制御回路(303)と、を有する。
[1] <Signal detection system>
As illustrated in FIG. 1, the signal detection system according to the representative embodiment includes a data processing circuit (1) and an AC voltage based on a voltage control signal (Spwm) generated by the data processing circuit. A power supply circuit (2) for generating a signal (Vext); and an operating circuit (3) operated by receiving the voltage signal. The data processing circuit includes a central processing unit (10) that executes a program, and a voltage control circuit (20) that generates the voltage control signal based on a control value (Ddty / Dcyc) instructed by the central processing unit. A determination circuit (40) for determining whether or not the voltage signal output from the power supply circuit is within an allowable error range with respect to a control value corresponding to the voltage signal; A detection control circuit (303) for causing the central processing unit to execute processing necessary when it is determined not to fall within the range.

これによれば、データ処理回路の外部で生成された電圧信号をデータ処理回路にフィードバックし、フィードバックされた電圧信号が対応する制御値に対して許容誤差の範囲内にあるか否かの判別結果に基づいて、データ処理回路の外部における作動回路の前段までの異常を検出する事ができる。データ処理回路の中央処理装置はその判別結果に応ずる処理を実行すればよいので、その判別も中央処理装置のソフトウェア処理で行う場合に比べて、処理の高速化を実現することができる。   According to this, the voltage signal generated outside the data processing circuit is fed back to the data processing circuit, and the determination result of whether or not the fed back voltage signal is within the allowable error range with respect to the corresponding control value Based on the above, it is possible to detect an abnormality up to the previous stage of the operation circuit outside the data processing circuit. Since the central processing unit of the data processing circuit only needs to execute processing according to the determination result, the processing can be speeded up as compared with the case where the determination is also performed by software processing of the central processing unit.

〔2〕<電圧信号から制御データを再生>
項1の信号検出システムにおいて、前記判別回路は、前記電圧信号を受け取って前記制御値を再生する再生部(401,408)と、再生された再生制御値と前記中央処理装置が指示した対応する制御値との差が許容誤差の範囲内であるか否かを判別する判別部(402,403,404)と、を有する。
[2] <Reproducing control data from voltage signal>
In the signal detection system according to item 1, the determination circuit receives the voltage signal and reproduces the control value, and reproduces the reproduction control value, and the corresponding reproduction control value indicated by the central processing unit. And a discriminator (402, 403, 404) for discriminating whether or not the difference from the control value is within the allowable error range.

これによれば、データ処理回路の外部で生成された電圧信号から内部の対応する制御値を再生して判別処理に供するから、判別処理が容易になる。   According to this, since the corresponding control value inside is reproduced from the voltage signal generated outside the data processing circuit and used for the determination process, the determination process becomes easy.

〔3〕<PWM回路、インバータ>
項2の信号検出システムにおいて、前記電圧制御回路は、前記制御値としてデューティを決めるための制御データ(Ddty,Dcyc)によってPWM波形の電圧制御信号を生成するPWM回路(20)である。前記電源回路は、前記PWM波形に従って前記交流の電圧信号を生成するインバータ(2)である。
[3] <PWM circuit, inverter>
In the signal detection system according to Item 2, the voltage control circuit is a PWM circuit (20) that generates a voltage control signal having a PWM waveform based on control data (Ddty, Dcyc) for determining a duty as the control value. The power supply circuit is an inverter (2) that generates the AC voltage signal according to the PWM waveform.

これにより、PWM波形とインバータによって所要の交流電圧信号を容易に得ることができる。   Thereby, a required alternating voltage signal can be easily obtained by the PWM waveform and the inverter.

〔4〕<AD変換とデューティ算出>
項3の信号検出システムにおいて、前記再生部は、前記電圧信号をディジタル信号に変換するAD変換器(408)と、前記AD変換器によるAD変換結果を当該AD変換器による前記電圧信号の最大変換値で除してデューティを算出する演算器(401)とを有する。
[4] <AD conversion and duty calculation>
In the signal detection system according to Item 3, the reproduction unit converts an AD converter (408) that converts the voltage signal into a digital signal, and converts the AD conversion result by the AD converter into the maximum conversion of the voltage signal by the AD converter. And an arithmetic unit (401) that calculates the duty by dividing by the value.

これによれば、電圧信号のほかに制御値の再生に必要な情報はAD変換器による前記電圧信号の最大変換値であり、インバータの最大出力電圧の値といった外部情報を得ることを要しないので、判別のためのデューティの再生を容易に行うことができる。仮に、電圧制御回路に指示した制御値を電圧信号に変換して、フィードバックされた電圧信号との誤差を判別する場合には、インバータの最大出力電圧を個別的に得なければならない。   According to this, the information necessary for the regeneration of the control value in addition to the voltage signal is the maximum conversion value of the voltage signal by the AD converter, and it is not necessary to obtain external information such as the value of the maximum output voltage of the inverter. Therefore, it is possible to easily reproduce the duty for discrimination. If the control value instructed to the voltage control circuit is converted into a voltage signal to determine an error from the fed back voltage signal, the maximum output voltage of the inverter must be obtained individually.

〔5〕<AD変換のサンプルホールドタイミングの設定>
項4の信号検出システムにおいて、前記AD変換器は、前記電圧制御回路による前記電圧制御信号の周期単位の生成タイミングに対して、遅延設定レジスタ(300)に設定された遅延時間の経過を待って、電圧信号をサンプルホールドする。
[5] <A/D conversion sample hold timing setting>
In the signal detection system according to item 4, the AD converter waits for the delay time set in the delay setting register (300) to elapse with respect to the generation timing of the voltage control signal in units of cycles by the voltage control circuit. Sample and hold the voltage signal.

これによれば、データ処理回路の外部で電源回路によって生成されてフィードバックされる電圧信号の入力遅延に合わせたサンプルホールドタイミングを容易に設定することができる。   According to this, it is possible to easily set the sample hold timing according to the input delay of the voltage signal generated and fed back by the power supply circuit outside the data processing circuit.

〔6〕<許容誤差の設定>
項5の信号検出システムにおいて、無前記判別部は、前記電圧制御回路に与えられる制御データが指示するデューティに対して許容誤差レジスタ(301)の設定値で指定される範囲を許容誤差の範囲とする。
[6] <Setting tolerance>
In the signal detection system according to Item 5, the non-discrimination unit defines a range specified by a set value of the allowable error register (301) with respect to the duty indicated by the control data supplied to the voltage control circuit as an allowable error range. To do.

これによれば、電圧信号の精度低下が作動回路に与える影響の程度に応じて許容誤差を容易に設定することができる。   According to this, the allowable error can be easily set according to the degree of the influence that the accuracy of the voltage signal has on the operation circuit.

〔7〕<CPUによるプログラマブルレジスタ>
項6の信号検出システムにおいて、前記遅延設定レジスタ及び許容誤差レジスタは前記中央処理装置によって書き換え可能なレジスタである。
[7] <Programmable register by CPU>
In the signal detection system according to item 6, the delay setting register and the allowable error register are rewritable registers by the central processing unit.

これによれば、上記サンプルホールドタイミング及び許容誤差を中央処理装置のプログラムにしたがって容易に初期設定、若しくは設定変更することができる。   According to this, the sample hold timing and the allowable error can be easily set or changed according to the program of the central processing unit.

〔8〕<割込み要求>
項1の信号検出システムにおいて、前記検出制御回路は、前記判別回路から許容誤差の範囲外である判別結果を所定回数取得したとき前記中央処理装置に割り込み要求(IRQ)を行う。
[8] <Interrupt request>
In the signal detection system according to Item 1, the detection control circuit issues an interrupt request (IRQ) to the central processing unit when a determination result that is out of the allowable error range is acquired from the determination circuit a predetermined number of times.

これによれば、電圧信号の異常に対する処理をプログラムで規定された所望の割込み処理によって対処することができる。また、割込み処理を要する異常とみなす状態を、許容誤差の逸脱を検出した回数に応じて決定することができ、異常検出に対して融通性が高い。   According to this, it is possible to cope with the processing for the abnormality of the voltage signal by the desired interrupt processing defined by the program. In addition, a state that is regarded as an abnormality requiring interrupt processing can be determined according to the number of times that a deviation of the allowable error is detected, and the flexibility in detecting an abnormality is high.

〔9〕<CPUによって参照可能なフラグ操作>
項1の信号検出システムにおいて、前記検出制御回路は、前記判別回路から許容誤差の範囲外である判別結果を所定回数取得したとき前記中央処理装置によって参照可能なフラグをセットする。
[9] <Flag operation that can be referred to by the CPU>
In the signal detection system according to item 1, the detection control circuit sets a flag that can be referred to by the central processing unit when a determination result that is out of the allowable error range is obtained from the determination circuit a predetermined number of times.

これによれば、割り込みによって中央処理装置の処理が中断されることなく、検出された異常に対処することができる。セットされたフラグは中央処理装置がポーリングなどによって参照すればよい。   According to this, the detected abnormality can be dealt with without interrupting the processing of the central processing unit due to the interruption. The set flag may be referred to by the central processing unit by polling or the like.

〔10〕<レゾルバ>
項1の信号検出システムにおいて、前記作動回路は、モータ(4)のロータに結合される回転検出軸の回転角度に応じて前記電圧信号を振幅変調したレゾルバ信号(Vsin,Vcos)を生成するレゾルバ(3)である。前記中央処理装置は、前記レゾルバ信号に基づいてロータの回転角を検出すると共に、前記モータの回転駆動制御を行う。
[10] <Resolver>
In the signal detection system of item 1, the operating circuit generates a resolver signal (Vsin, Vcos) obtained by amplitude-modulating the voltage signal in accordance with a rotation angle of a rotation detection shaft coupled to a rotor of a motor (4). (3). The central processing unit detects the rotation angle of the rotor based on the resolver signal and performs rotation drive control of the motor.

これによれば、レゾルバによって回転角を検出してモータの駆動制御を行うシステムにおいて、レゾルバ信号の異常に至る前に、それが参照する電圧信号の誤差に応じて、システムの異常を判別することが可能になる。   According to this, in a system in which the rotation angle is detected by a resolver to control the drive of the motor, the abnormality of the system is discriminated according to the error of the voltage signal to which reference is made before the resolver signal becomes abnormal. Is possible.

〔11〕<レゾルバ信号処理装置>
別の実施の形態に係るレゾルバ信号処理装置は、マイクロコンピュータ(1)と、前記マイクロコンピュータで生成された電圧制御信号(Spwm)のPWM波形に従って交流の電圧信号(Vext)を生成するインバータ(2)と、モータ(4)のロータに結合される回転検出軸の回転角度に応じて前記電圧信号を振幅変調してレゾルバ信号(Vsin,Vcos)を生成するレゾルバ(3)と、を有する。前記マイクロコンピュータは以下の回路を有する。プログラムを実行する中央処理装置(10)。前記中央処理装置から与えられる、デューティを決めるための制御データ(Ddty,Dcyc)によってPWM波形の電圧制御信号(Spwm)を生成するPWM回路(20)。前記レゾルバ信号を入力してディジタル信号に変換する第1AD変換回路(50)。前記電圧信号をディジタル信号に変換する第2AD変換回路(408)。前記第2AD変換回路によるAD変換結果(Dadc)を当該第2AD変換回路による前記電圧信号の最大変換値(Dmax)で除してデューティを算出する演算回路(401)。前記演算回路で演算されたデューティとこれに対応する制御データで指定されるデューティとの差が許容誤差の範囲内であるか否かを判別する判別回路(402,403,404)。前記判別回路による判別結果を前記中央処理装置に認識させる検出制御回路(303)。上記中央処理装置は、前記レゾルバ信号に基づいてロータの回転角を検出する処理、前記モータの回転駆動を制御する処理、及び、前記検出制御回路を介して認識した判別結果に応ずる処理を行う。
[11] <Resolver signal processing device>
A resolver signal processing device according to another embodiment includes a microcomputer (1) and an inverter (2) that generates an AC voltage signal (Vext) according to a PWM waveform of a voltage control signal (Spwm) generated by the microcomputer. And a resolver (3) that generates a resolver signal (Vsin, Vcos) by amplitude-modulating the voltage signal in accordance with the rotation angle of the rotation detection shaft coupled to the rotor of the motor (4). The microcomputer has the following circuits. Central processing unit (10) for executing the program. A PWM circuit (20) for generating a voltage control signal (Spwm) having a PWM waveform based on control data (Ddty, Dcyc) for determining a duty given from the central processing unit. A first AD converter circuit (50) for inputting the resolver signal and converting it into a digital signal. A second AD converter circuit (408) for converting the voltage signal into a digital signal; An arithmetic circuit (401) that calculates a duty by dividing an AD conversion result (Dadc) by the second AD conversion circuit by a maximum conversion value (Dmax) of the voltage signal by the second AD conversion circuit. A discriminating circuit (402, 403, 404) for discriminating whether or not the difference between the duty calculated by the arithmetic circuit and the duty specified by the control data corresponding thereto is within an allowable error range. A detection control circuit (303) for causing the central processing unit to recognize a discrimination result by the discrimination circuit; The central processing unit performs processing for detecting the rotation angle of the rotor based on the resolver signal, processing for controlling the rotational drive of the motor, and processing according to the determination result recognized via the detection control circuit.

これによれば、項1乃至項4、及び項9と同様の作用効果を奏する。   According to this, there exists an effect similar to claim | item 1 thru | or claim | item 4, and claim | item 9.

〔12〕<AD変換のサンプルホールドタイミングの設定、許容誤差の設定>
項11のレゾルバ信号処理システムにおいて、前記第2AD変換回路は、前記電圧制御回路による前記電圧制御信号の周期単位の生成タイミングに対して、遅延設定レジスタ(300)に設定された遅延時間の経過を待って、参照電圧信号をサンプルホールドする。前記判別回路は、前記電圧制御回路に与えられる制御データが指示するデューティに対して許容誤差レジスタ(301)の設定値で指定される範囲を許容誤差の範囲とする。
[12] <Setting of AD hold sample hold timing and allowable error>
In the resolver signal processing system according to item 11, the second AD converter circuit determines the passage of the delay time set in the delay setting register (300) with respect to the generation timing of the voltage control signal in units of cycles by the voltage control circuit. Wait and sample and hold the reference voltage signal. The determination circuit sets a range specified by a set value of the allowable error register (301) for a duty indicated by control data supplied to the voltage control circuit as a range of allowable error.

これによれば、項5及び6と同様の作用効果を奏する。   According to this, there exists an effect similar to item 5 and 6.

〔13〕<CPUによるプログラマブルレジスタ>
項12のレゾルバ信号処理回路において、前記遅延設定レジスタ及び許容誤差レジスタは前記中央処理装置によって書き換え可能なレジスタである。
[13] <Programmable register by CPU>
In the resolver signal processing circuit according to item 12, the delay setting register and the allowable error register are rewritable registers by the central processing unit.

これによれば、項7と同様の作用効果を奏する。   According to this, there exists an effect similar to item 7.

〔14〕<割込み要求>
項11のレゾルバ信号処理システムにおいて、前記検出制御回路は、前記判別回路から許容誤差の範囲外である判別結果を所定回数取得したとき前記中央処理装置に割り込み要求(IRQ)を行う。
[14] <Interrupt request>
In the resolver signal processing system according to item 11, the detection control circuit issues an interrupt request (IRQ) to the central processing unit when a determination result that is out of an allowable error range is acquired from the determination circuit a predetermined number of times.

これによれば、項8と同様の作用効果を奏する。   According to this, there exists an effect similar to item 8.

〔15〕<CPUによって参照可能なフラグ操作>
項11のレゾルバ信号処理システムにおいて、前記検出制御回路は、前記判別回路から許容誤差の範囲外である判別結果を所定回数取得したとき前記中央処理装置によって参照可能なフラグをセットする。
[15] <Flag operation that can be referred to by the CPU>
In the resolver signal processing system according to item 11, the detection control circuit sets a flag that can be referred to by the central processing unit when a determination result that is out of the allowable error range is acquired from the determination circuit a predetermined number of times.

これによれば、項9と同様の作用効果を奏する。   According to this, there exists an effect similar to item 9.

〔16〕<半導体集積回路>
別の実施の形態にかかる半導体集積回路(1)は、電圧制御信号(Spwm)を出力し、その電圧制御信号によって外部回路(2)で生成される交流の電圧信号(Vext)の生成状態を検出可能とするものである。この半導体集積回路は以下の回路を有する。プログラムを実行する中央処理装置(10)。前記中央処理装置から指示される制御値によって前記電圧制御信号を生成する電圧制御回路(20)。前記外部回路で生成される前記電圧信号がこれに対応する制御値に対して許容誤差の範囲にあるか否かを判別する判別回路(40)。前記判別回路による判別結果が許容誤差の範囲内にないとされた場合に必要な処理を前記中央処理装置に実行させる検出制御回路(303)。
[16] <Semiconductor integrated circuit>
The semiconductor integrated circuit (1) according to another embodiment outputs the voltage control signal (Spwm), and indicates the generation state of the AC voltage signal (Vext) generated by the external circuit (2) by the voltage control signal. It can be detected. This semiconductor integrated circuit has the following circuits. Central processing unit (10) for executing the program. A voltage control circuit (20) for generating the voltage control signal according to a control value instructed by the central processing unit; A determination circuit (40) for determining whether or not the voltage signal generated by the external circuit is within an allowable error range with respect to a control value corresponding to the voltage signal. A detection control circuit (303) for causing the central processing unit to execute a necessary process when a determination result by the determination circuit is not within an allowable error range;

これによれば、項1のデータ処理回路の容易な実現に資することができる。すなわち、半導体集積回路の外部で生成された電圧信号を当該半導体集積回路にフィードバックし、フィードバックされた電圧信号が対応する制御値に対して許容誤差の範囲内にあるか否かの判別結果に基づいて、同半導体集積回路の外部において外部回路で生成される電圧信号の異常を検出する事ができる。前記半導体集積回路の中央処理装置はその判別結果に応ずる処理を実行すればよいので、その判別も中央処理装置のソフトウェア処理で行う場合に比べて、処理の高速化に資することができる。   According to this, it can contribute to easy realization of the data processing circuit of item 1. That is, a voltage signal generated outside the semiconductor integrated circuit is fed back to the semiconductor integrated circuit, and based on a determination result of whether or not the fed back voltage signal is within an allowable error range with respect to a corresponding control value. Thus, the abnormality of the voltage signal generated by the external circuit can be detected outside the semiconductor integrated circuit. Since the central processing unit of the semiconductor integrated circuit only needs to execute processing according to the determination result, the determination can also contribute to speeding up the processing compared to the case where the determination is performed by software processing of the central processing unit.

〔17〕<電圧信号から制御データを再生>
項16の半導体集積回路において、前記判別回路は、外部から前記電圧信号を受け取って前記制御値を再生する再生部(401,408)と、再生された再生制御値と前記中央処理装置が指示した対応する制御値との差が許容誤差の範囲内であるか否かを判別する判別部(402,403,408)と、を有する。
[17] <Reproducing control data from voltage signal>
Item 16. The semiconductor integrated circuit according to Item 16, wherein the discriminating circuit receives the voltage signal from the outside and reproduces the control value, and reproduces the reproduction control value and the central processing unit instructed by the reproduction unit (401, 408). A discriminator (402, 403, 408) for discriminating whether or not the difference from the corresponding control value is within an allowable error range.

これによれば項2と同様に判別処理が容易になる。   According to this, the discrimination process becomes easy as in the case of item 2.

〔18〕<PWM回路、インバータ>
項17の半導体集積回路において、前記電圧制御回路は、周期とデューティを指示する制御データ(Ddty,Dcyc)によってPWM波形の電圧制御信号を生成するPWM回路である。
[18] <PWM circuit, inverter>
In the semiconductor integrated circuit of Item 17, the voltage control circuit is a PWM circuit that generates a voltage control signal having a PWM waveform based on control data (Ddty, Dcyc) indicating a cycle and a duty.

これによれば、項3と同様に外部回路で交流の電圧信号を生成するのに好適である。   This is suitable for generating an AC voltage signal in an external circuit, as in item 3.

〔19〕<AD変換とデューティ算出>
項18の半導体集積回路において、前記再生する回路は、前記電圧信号をディジタル信号に変換するAD変換器(408)と、前記AD変換器によるAD変換結果を当該AD変換器による前記電圧信号の最大変換値で除してデューティを算出する演算器(401)とを有する。
[19] <AD conversion and duty calculation>
Item 18. The semiconductor integrated circuit of Item 18, wherein the circuit to be reproduced includes an AD converter (408) that converts the voltage signal into a digital signal, and an AD conversion result obtained by the AD converter. And an arithmetic unit (401) that calculates the duty by dividing by the converted value.

これによれば、項4と同様に判別のためのデューティの再生を容易に行うことができる。   According to this, similarly to the item 4, it is possible to easily reproduce the duty for discrimination.

〔20〕<AD変換のサンプルホールドタイミングの設定>
項19の半導体集積回路において、前記AD変換器は、前記電圧制御回路による前記電圧制御信号の周期単位の生成タイミングに対して、遅延設定レジスタ(300)に設定された遅延時間の経過を待って、電圧信号をサンプルホールドする。
[20] <AD conversion sample hold timing setting>
In the semiconductor integrated circuit of Item 19, the AD converter waits for the elapse of the delay time set in the delay setting register (300) with respect to the generation timing of the voltage control signal in units of cycles by the voltage control circuit. Sample and hold the voltage signal.

これによれば、項5と同様に、外部で生成されてフィードバックされる電圧信号の入力遅延に合わせたサンプルホールドタイミングを容易に設定することができる。   According to this, similarly to the item 5, it is possible to easily set the sample hold timing in accordance with the input delay of the voltage signal generated and fed back externally.

〔21〕<許容誤差の設定>
項20の半導体集積回路において、前記判別部は、前記電圧制御回路に与えられる制御データが指示するデューティに対して許容誤差レジスタ(301)の設定値で指定される範囲を許容誤差の範囲とする。
[21] <Setting tolerance>
In the semiconductor integrated circuit of item 20, the determination unit sets a range specified by a setting value of the allowable error register (301) with respect to the duty indicated by the control data supplied to the voltage control circuit as a range of allowable error. .

これによれば、項6と同様に、電圧信号の精度低下が与える影響の程度に応じて許容誤差を容易に設定することができる。   According to this, like the item 6, the allowable error can be easily set according to the degree of the influence of the decrease in the accuracy of the voltage signal.

〔22〕<CPUによるプログラマブルレジスタ>
項21の半導体集積回路において、前記遅延設定レジスタ及び許容誤差レジスタは前記中央処理装置によって書き換え可能なレジスタである。
[22] <Programmable register by CPU>
In the semiconductor integrated circuit of item 21, the delay setting register and the allowable error register are registers rewritable by the central processing unit.

これによれば、項7と同様の作用効果を得る。   According to this, the same effect as that of Item 7 is obtained.

〔23〕<割込み要求>
項16の半導体集積回路において、前記検出制御回路は、前記判別回路から許容誤差の範囲外である判別結果を所定回数取得したとき前記中央処理装置に割り込み要求(IRQ)を行う。
[23] <Interrupt request>
In the semiconductor integrated circuit of item 16, the detection control circuit makes an interrupt request (IRQ) to the central processing unit when a determination result that is out of the allowable error range is acquired from the determination circuit a predetermined number of times.

これによれば、項8と同様の作用効果を奏する。   According to this, there exists an effect similar to item 8.

〔24〕<CPUによって参照可能なフラグ操作>
項16の半導体集積回路において、前記検出制御回路は、前記判別回路から許容誤差の範囲外である判別結果を所定回数取得したとき前記中央処理装置によって参照可能なフラグをセットする。
[24] <Flag operation that can be referred to by CPU>
In the semiconductor integrated circuit of item 16, the detection control circuit sets a flag that can be referred to by the central processing unit when a determination result outside the allowable error range is acquired from the determination circuit a predetermined number of times.

これによれば、項9と同様の作用効果を奏する。   According to this, there exists an effect similar to item 9.

〔25〕<レゾルバ>
項16の半導体集積回路は、前記外部の電源回路で生成される交流電圧信号がモータ軸の回転角度に応じて振幅変調されたレゾルバ信号(Vsin,Vcos)をレゾルバ(3)から入力する。前記中央処理装置は、前記レゾルバ信号に基づいて前記モータ軸の回転角を検出すると共に、前記モータの回転駆動制御を行う。
[25] <Resolver>
In the semiconductor integrated circuit of Item 16, a resolver signal (Vsin, Vcos) in which an AC voltage signal generated by the external power supply circuit is amplitude-modulated according to the rotation angle of the motor shaft is input from the resolver (3). The central processing unit detects a rotation angle of the motor shaft on the basis of the resolver signal and performs rotation drive control of the motor.

これによれば、項10と同様に、レゾルバによって回転角を検出してモータの駆動制御を行うシステムに適用すれば、半導体集積回路は、レゾルバ信号の異常に至る前に、それが参照する電圧信号の誤差に応じて、システムの異常を判別可能にする。   According to this, similarly to the item 10, when applied to a system that detects the rotation angle by the resolver and controls the drive of the motor, the semiconductor integrated circuit can detect the voltage that it refers to before the resolver signal becomes abnormal. The system abnormality can be determined according to the signal error.

2.実施の形態の詳細
実施の形態について更に詳述する。
2. Details of Embodiments Embodiments will be further described in detail.

図1には一実施の形態に係るレゾルバ信号処理装置が例示される。同図に示されるレゾルバ信号処理装置は電磁誘導の変化を用いて回転変位を測定する装置であって、特に制限されないが、電動式パワーステアリング(EPS:Electric Power Steering)の操舵アシストトルクの発生に用いるモータの回転角をレゾルバを用いて検出する信号検出システムを適用したものである。   FIG. 1 illustrates a resolver signal processing device according to an embodiment. The resolver signal processing device shown in the figure is a device that measures the rotational displacement using a change in electromagnetic induction, and is not particularly limited, but it generates a steering assist torque for electric power steering (EPS). A signal detection system that detects a rotation angle of a motor to be used by using a resolver is applied.

レゾルバ信号処理装置は、CAN(Controller Area Network)などの車載系LAN(Local Area Network)に接続されたEPS用のECU(electronic control unit)を構成するマイクロコンピュータ1と共に、電源回路の一例であるDC−AC型のインバータ2及びレゾルバ3を有する。マイクロコンピュータ1は電圧制御信号としてPWM信号Spwmをインバータ2に与える。インバータ2は、レゾルバ2にレゾルバ励磁信号として例えば正弦波の電圧信号(レゾルバ励磁電圧信号とも称する)Vextを与える。レゾルバ2の構成は公知であるからここではその詳細について説明を省略するが、モータ4の回転軸に結合されたロータの回転子巻き線にレゾルバ励磁電圧信号Vextを与えると、90℃の位相差をもって配置された2個の固定子巻き線の夫々にロータの回転角に応じて振幅変調された90℃の位相差を持つレゾルバ信号Vsin,Vcosを得る。マイクロコンピュータ1はそのレゾルバ信号Vsin,Vcosに基づいてモータ4の回転角度を検出して、モータ4の駆動を制御する。更にマイクロコンピュータ1は、レゾルバ励磁電圧信号Vextを入力して、レゾルバ励磁電圧信号Vextそれ自体の異常を検出するための処理を行う。即ち、この検出処理は、マイクロコンピュータ1から出力されたPWM信号Spwmをインバータ2が入力し、これによってインバータ2が生成したレゾルバ励磁電圧信号Vextがレゾルバ伝達されるまでの経路に何らか異常もしくは電圧生成動作精度を低下させる何らかの要因が発生しているかを検出することになる。マイクロコンピュータ1はその検出結果に応じて必要な処理を行うことになる。   The resolver signal processing device is a DC that is an example of a power supply circuit together with a microcomputer 1 that constitutes an ECU (electronic control unit) for EPS connected to an in-vehicle LAN (Local Area Network) such as a CAN (Controller Area Network). -It has AC type inverter 2 and resolver 3. The microcomputer 1 gives a PWM signal Spwm to the inverter 2 as a voltage control signal. The inverter 2 supplies the resolver 2 with, for example, a sine wave voltage signal (also referred to as a resolver excitation voltage signal) Vext as a resolver excitation signal. Since the configuration of the resolver 2 is well known, detailed description thereof will be omitted here. However, when the resolver excitation voltage signal Vext is applied to the rotor winding of the rotor coupled to the rotating shaft of the motor 4, a phase difference of 90 ° C. Resolver signals Vsin and Vcos having a phase difference of 90 ° C. that are amplitude-modulated in accordance with the rotation angle of the rotor are obtained for each of the two stator windings arranged in the above. The microcomputer 1 detects the rotation angle of the motor 4 based on the resolver signals Vsin and Vcos, and controls the driving of the motor 4. Further, the microcomputer 1 receives the resolver excitation voltage signal Vext and performs processing for detecting an abnormality in the resolver excitation voltage signal Vext itself. That is, in this detection process, the PWM signal Spwm output from the microcomputer 1 is input to the inverter 2, so that there is some abnormality or voltage on the path until the resolver excitation voltage signal Vext generated by the inverter 2 is transmitted to the resolver. It is detected whether any factor that reduces the generation operation accuracy occurs. The microcomputer 1 performs necessary processing according to the detection result.

上記検出処理について更に詳述する。   The detection process will be further described in detail.

マイクロコンピュータ1は、特に制限されないが、単結晶シリコンのような1個の半導体基板に公知のCMOS集積回路製造技術によって形成される。   The microcomputer 1 is not particularly limited, but is formed on a single semiconductor substrate such as single crystal silicon by a known CMOS integrated circuit manufacturing technique.

マイクロコンピュータ1はプログラムを実行する中央処理装置10を有する。ここでは中央処理装置10はプロセッサコアとして把握してもよく、所謂CPUのほかに、浮動小数点演算ニットなどのアクセラレータ、キャッシュメモリ及びアドレス変換バッファなどを更に備えていてもよい。CPU10が実行するプログラムを格納するプログラムメモリ及びワークRAMは図示を省略している。   The microcomputer 1 has a central processing unit 10 that executes a program. Here, the central processing unit 10 may be grasped as a processor core, and may further include an accelerator such as a floating point arithmetic unit, a cache memory, and an address conversion buffer in addition to a so-called CPU. A program memory for storing a program executed by the CPU 10 and a work RAM are not shown.

CPU10には各種周辺回路が接続され、ここではレゾルバ3及びモータ4を制御するための回路が代表的に図示される。20はPWM回路、30は制御回路、40は判別回路、50はアナログディジタル変換回路(ADC)、60はモータ駆動制御回路、70は車載ネットワークに接続されるネットワークインタフェースである。   Various peripheral circuits are connected to the CPU 10, and here, a circuit for controlling the resolver 3 and the motor 4 is typically shown. 20 is a PWM circuit, 30 is a control circuit, 40 is a discrimination circuit, 50 is an analog-digital conversion circuit (ADC), 60 is a motor drive control circuit, and 70 is a network interface connected to an in-vehicle network.

PWM回路20は中央処理装置10からデューティを決めるための制御データとしてデューティカウント値Ddtyが逐次設定されるデューティカウント値レジスタ200と、周期カウント値Dcycが逐次設定される周期カウント値レジスタ201を有する。周期カウント値DcycはPWM信号Spwmの周期を規定し、デューティカウント値DdtyはPWM信号Spwmのハイレベル期間を規定する。カウンタ203はPWM信号Spwmの最大周期に応ずる周期カウント値Dcycを計数するのに充分なカウントビット数を有する。比較回路202はカウンタ203のカウント値を夫々のレジスタ200,201の設定値と比較し、比較結果に応じて、PWM信号Spwmを出力する出力回路204の出力動作とカウンタの計数動作を制御する。即ち、カウンタ203が初期値ゼロにクリアされると比較回路202は出力回路204にPWM信号Spwmをハイレベルにさせる。カウンタ203のカウント値がデューティカウント値Ddtyに一致すると、比較回路202は出力回路204にPWM信号Spwmをローレベルに反転させる。カウンタ203のカウント値が周期カウント値Dcycに一致すると、比較回路202はカウンタ203のカウント値を初期値ゼロにクリアし、これによって出力回路204はPWM信号Spwmをハイレベルに反転して、PWM信号SpwmのPWM波形の1周期を完結する。CPU10はPWM信号Spwmの周期単位で逐次レジスタ200,201の値を設定変更する。PWM信号Spwmの周期を固定とする場合には、周期カウント値Dcycは初期設定するだけでよい。これにより、例えば図2に例示されるように、PWM信号Spwmのデューティに応じて、インバータ2から正弦波のレゾルバ励磁電圧信号Vextが出力される。   The PWM circuit 20 has a duty count value register 200 in which the duty count value Ddty is sequentially set as control data for determining the duty from the central processing unit 10, and a cycle count value register 201 in which the cycle count value Dcyc is sequentially set. The cycle count value Dcyc defines the cycle of the PWM signal Spwm, and the duty count value Ddty defines the high level period of the PWM signal Spwm. The counter 203 has a sufficient number of count bits to count the cycle count value Dcyc corresponding to the maximum cycle of the PWM signal Spwm. The comparison circuit 202 compares the count value of the counter 203 with the set values of the respective registers 200 and 201, and controls the output operation of the output circuit 204 that outputs the PWM signal Spwm and the count operation of the counter according to the comparison result. That is, when the counter 203 is cleared to the initial value zero, the comparison circuit 202 causes the output circuit 204 to set the PWM signal Spwm to the high level. When the count value of the counter 203 matches the duty count value Ddty, the comparison circuit 202 causes the output circuit 204 to invert the PWM signal Spwm to a low level. When the count value of the counter 203 coincides with the cycle count value Dcyc, the comparison circuit 202 clears the count value of the counter 203 to the initial value zero, whereby the output circuit 204 inverts the PWM signal Spwm to the high level, and the PWM signal One cycle of the Spwm PWM waveform is completed. The CPU 10 sequentially changes the values of the registers 200 and 201 in units of the period of the PWM signal Spwm. When the period of the PWM signal Spwm is fixed, the period count value Dcyc need only be initialized. As a result, for example, as illustrated in FIG. 2, a sine wave resolver excitation voltage signal Vext is output from the inverter 2 in accordance with the duty of the PWM signal Spwm.

判別回路40は、PWM回路20に設定された制御データ(デューティカウント値Ddty、周期カウント値Dcyc)が指示する制御値としてのデューティを算出するためのデューティ算出回路400と、レゾルバ励磁電圧信号Vextに基づいてデューティを再生するためのアナログディジタル変換回路(ADC)408及びデューティ算出回路401を有する。アナログディジタル変換回路(ADC)408はレゾルバ励磁電圧信号Vextをディジタル電圧データDadcに変換する。デューティ算出回路401はディジタル電圧データDadcをその最大電圧データ(デューティ100%の場合のVextに対応するディジタル電圧データDadc)Dmaxで除算して、デューティを再生する。再生されたデューティを再生デューティDTY_Rとも称する。デューティ算出回路400は、レジスタ200に設定されたデューティカウント値Ddtyをレジスタ201に設定された周期カウント値Dcycで除算することによって、制御データが指示するデューティDTY_Iを得る。   The determination circuit 40 includes a duty calculation circuit 400 for calculating a duty as a control value indicated by control data (duty count value Ddty, cycle count value Dcyc) set in the PWM circuit 20, and a resolver excitation voltage signal Vext. An analog-digital conversion circuit (ADC) 408 and a duty calculation circuit 401 for reproducing the duty based on the above are included. An analog-digital conversion circuit (ADC) 408 converts the resolver excitation voltage signal Vext into digital voltage data Dadc. The duty calculation circuit 401 divides the digital voltage data Dadc by the maximum voltage data (digital voltage data Dadc corresponding to Vext when the duty is 100%) Dmax to reproduce the duty. The reproduced duty is also referred to as a reproduction duty DTY_R. The duty calculation circuit 400 obtains the duty DTY_I indicated by the control data by dividing the duty count value Ddty set in the register 200 by the cycle count value Dcyc set in the register 201.

再生デューティDTY_RをデューティDTY_Iに対応させるために、ADC408によるレゾルバ励磁電圧信号Vextのサンプルホールドタイミングを遅延させる遅延回路407とその遅延時間を設定するトリガ遅延値レジスタ300が設けられる。遅延回路407は、例えばトリガ遅延値レジスタ300に設定された遅延値がプリセットされるダウンカウンタによって構成される。ダウンカウンタ407はカウントトリガ信号Strgcが活性化されるとダウンカウントを開始し、カウント値がゼロに達したとき、信号Strgsを活性化してADC408にレゾルバ励磁電圧信号Vextをサンプルホールドさせる。カウント値がゼロに達したとき、ダウンカウンタ407の計数値はプリセット値に復帰され、次のダウンカウント動作に備える。トリガ遅延値レジスタ300に設定される遅延値は図3に例示される遅延時間をダウンカウンタ407のダウンカウント動作によって確保するためのカウント値データである。この遅延時間は、図1の装置が実装される配線基板の特性、配線遅延、インバータ2の動作特性に依存して決定される。これにより、マイクロコンピュータ1の外部でインバータ2によって生成されてフィードバックされるレゾルバ励磁電圧信号Vextの入力遅延に合わせてADC408のサンプルホールドタイミングを容易に設定することができる。   In order to make the reproduction duty DTY_R correspond to the duty DTY_I, a delay circuit 407 for delaying the sample hold timing of the resolver excitation voltage signal Vext by the ADC 408 and a trigger delay value register 300 for setting the delay time are provided. The delay circuit 407 is configured by, for example, a down counter in which a delay value set in the trigger delay value register 300 is preset. The down counter 407 starts down counting when the count trigger signal Strgc is activated. When the count value reaches zero, the down counter 407 activates the signal Strgs and causes the ADC 408 to sample and hold the resolver excitation voltage signal Vext. When the count value reaches zero, the count value of the down counter 407 is returned to the preset value to prepare for the next down count operation. The delay value set in the trigger delay value register 300 is count value data for securing the delay time illustrated in FIG. 3 by the down-counting operation of the down counter 407. This delay time is determined depending on the characteristics of the wiring board on which the apparatus of FIG. 1 is mounted, the wiring delay, and the operating characteristics of the inverter 2. Thereby, the sample hold timing of the ADC 408 can be easily set according to the input delay of the resolver excitation voltage signal Vext generated and fed back by the inverter 2 outside the microcomputer 1.

判別回路40は、前記再生デューティDTY_Rとこれに対応するデューティDTY_Iとの差が許容誤差の範囲内であるか否かを判別するために上限デューティレジスタ402、下限デューティレジスタ403及び比較回路404を有する。許容誤差は許容誤差レジスタ301に設定された許容誤差データによって決まる。許容誤差データはデューティと同じディメンションのデータとされ、再生デューティDTY_R及びデューティDTY_Iがパーセントを単位とすれば、それと同じである。加算器405は誤差データをデューティDTY_Iに加算してレジスタ402にセットし、減算器406はデューティDTY_Iから誤差データを減算してレジスタ403にセットする。比較回路404は、再生デューティDTY_Rがレジスタ403の設定値よりも大きく且つレジスタ402の設定値よりも小さい場合を許容誤差範囲とし、再生デューティDTY_Rが許容誤差範囲内か否かを判別する。許容誤差範囲外を検出する毎にエラー信号ERRを活性化する。   The determination circuit 40 includes an upper limit duty register 402, a lower limit duty register 403, and a comparison circuit 404 to determine whether or not the difference between the reproduction duty DTY_R and the duty DTY_I corresponding to the reproduction duty DTY_R is within the allowable error range. . The allowable error is determined by the allowable error data set in the allowable error register 301. The allowable error data is data of the same dimension as the duty, and if the reproduction duty DTY_R and the duty DTY_I are in units of percent, they are the same. The adder 405 adds the error data to the duty DTY_I and sets it in the register 402, and the subtractor 406 subtracts the error data from the duty DTY_I and sets it in the register 403. The comparison circuit 404 sets the allowable error range when the reproduction duty DTY_R is larger than the set value of the register 403 and smaller than the set value of the register 402, and determines whether or not the reproduction duty DTY_R is within the allowable error range. The error signal ERR is activated every time when it is outside the allowable error range.

検出制御回路303は判別回路40によるエラー信号ERRによる判別結果を中央処理装置10に認識させる。例えば、検出制御回路303は、判別回路40から許容誤差の範囲外である判別結果を所定回数取得したときCPU10に割り込み要求信号IRQによって割り込みを要求する。これにより、レゾルバ励磁電圧信号Vextの異常に対する処理をプログラムで規定された所望の割込み処理によって対処することができる。また、割込み処理を要する異常とみなす状態を、許容誤差の逸脱を検出した回数に応じて決定することができ、異常検出に対して融通性が高い。そのような検出回数については検出回数レジスタ302の設定値で指示すればよい。前記検出回数レジスタ302はトリガ遅延値レジスタ300及び許容誤差レジスタ301と共にCPU10によって書き換え可能なレジスタマッピングを有する。したがって、上記サンプルホールドタイミング及び許容誤差をCPU10のプログラムにしたがって容易に初期設定、若しくは設定変更することができる。   The detection control circuit 303 causes the central processing unit 10 to recognize the determination result by the error signal ERR by the determination circuit 40. For example, the detection control circuit 303 requests an interrupt to the CPU 10 by the interrupt request signal IRQ when the determination result that is outside the allowable error range is obtained from the determination circuit 40 a predetermined number of times. Thereby, the processing for the abnormality of the resolver excitation voltage signal Vext can be dealt with by a desired interrupt processing defined by the program. In addition, a state that is regarded as an abnormality requiring interrupt processing can be determined according to the number of times that a deviation of the allowable error is detected, and the flexibility in detecting an abnormality is high. Such a detection count may be indicated by a set value of the detection count register 302. The detection number register 302 has a register mapping that can be rewritten by the CPU 10 together with the trigger delay value register 300 and the allowable error register 301. Accordingly, the sample hold timing and allowable error can be easily set or changed according to the program of the CPU 10.

特に図示はしないが、前記検出制御回路303は、前記判別回路40から許容誤差の範囲外である判別結果を所定回数取得したときCPU10によって参照可能なフラグをセットすることにより、エラー信号ERRによる判別結果をCPU10に認識可能にしてもよい。割り込みによってCPU10の処理が中断されることなく、検出された異常に対処することができる。セットされたフラグはCPU10がポーリングなどによって参照すればよい。   Although not specifically shown, the detection control circuit 303 sets a flag that can be referred to by the CPU 10 when a determination result that is outside the allowable error range is obtained from the determination circuit 40 a predetermined number of times, thereby determining the error signal ERR. The result may be recognized by the CPU 10. The detected abnormality can be dealt with without interrupting the processing of the CPU 10 by the interruption. The set flag may be referred to by the CPU 10 by polling or the like.

モータ駆動制御回路60はタイマ及びモータドライバなどによって構成され、例えばタイマを使って3相などのモータ駆動信号を生成してモータ4に与える。アナログディジタル変換回路50はレゾルバ3から出力されるレゾルバ信号Vsin,Vcosをディジタル信号に変換してCPU10に与える。CPU10はそれに基づいてモータ4の回転角を演算し、それに基づいてモータの回転速度や回転位置の制御を行う。このとき、レゾルバ励磁電圧信号Vextの異常は判別回路40及び検出制御回路303を介してCPU10に伝達可能であり、CPU10に大きな負担を与えない。当然、検出したモータの回転角度に基づいて、レゾルバ励磁電圧信号Vextの異常を検出することは可能であるが、CPU10のソフトウェア処理に大きな負担をかけることになり、モータの回転駆動制御と並行しなければならない性質上、異常を検出するのに多くのデータ処理時間を要することが想定される。したがって、この実施の形態によれば、PWM信号Spwmの発生からレゾルバ励磁電圧信号Vextの伝播までの異常発生を迅速に検知することができるようになる。   The motor drive control circuit 60 includes a timer, a motor driver, and the like. For example, the motor drive control circuit 60 generates a three-phase motor drive signal using the timer and supplies it to the motor 4. The analog-digital conversion circuit 50 converts the resolver signals Vsin and Vcos output from the resolver 3 into digital signals and gives them to the CPU 10. The CPU 10 calculates the rotation angle of the motor 4 based on it, and controls the rotation speed and rotation position of the motor based on it. At this time, the abnormality of the resolver excitation voltage signal Vext can be transmitted to the CPU 10 via the determination circuit 40 and the detection control circuit 303, and a large burden is not imposed on the CPU 10. Naturally, it is possible to detect the abnormality of the resolver excitation voltage signal Vext based on the detected rotation angle of the motor, but this places a heavy burden on the software processing of the CPU 10, and in parallel with the rotation drive control of the motor. Due to the nature that must be present, it is assumed that it takes a lot of data processing time to detect an abnormality. Therefore, according to this embodiment, it is possible to quickly detect the occurrence of abnormality from the generation of the PWM signal Spwm to the propagation of the resolver excitation voltage signal Vext.

特に、レゾルバ励磁電圧信号Vextの異常をレゾルバ信号Vsin,Vcosに基づいて専らソフトウェ処理で検出する場合には、レゾルバ3から出力される情報を蓄積して異常の判定を行う必要があり、またその異常がインバータ2なのか、レゾルバ3またはモータ4なのかの切り分けが難しかった。この点で、ソフトウェア処理においてレゾルバ励磁電圧信号Vextの異常を切り分けるソフトウェア処理を全く必要としないので、特に、短時間に異常を検出してセーフティ処理を実施する必要のあるEPSシステムにおいて、本実施の形態による信号検出システムは好適である。   In particular, when the abnormality of the resolver excitation voltage signal Vext is detected exclusively by software processing based on the resolver signals Vsin and Vcos, it is necessary to accumulate the information output from the resolver 3 and determine the abnormality. It was difficult to determine whether the abnormality was the inverter 2 or the resolver 3 or the motor 4. In this respect, software processing that isolates the abnormality of the resolver excitation voltage signal Vext in software processing is not required at all. Therefore, in the EPS system that needs to detect an abnormality in a short time and perform safety processing, A signal detection system according to form is preferred.

上記実施の形態では、マイクロコンピュータ1の外部で生成されたレゾルバ励磁電圧信号Vextからマイクロコンピュータ1の内部制御に用いたデューティを再生して異常の判別処理に供するから、判別処理が容易になる。   In the above embodiment, since the duty used for the internal control of the microcomputer 1 is reproduced from the resolver excitation voltage signal Vext generated outside the microcomputer 1 and used for the abnormality determination process, the determination process becomes easy.

特に、レゾルバ励磁電圧信号VextのAD変換結果Dadcの他に、デューティの再生に必要な情報はADC408による前記電圧信号の最大変換値Dmaxであり、インバータ2の最大出力電圧の値といった外部情報を得ることを要しないので、判別のためのデューティの再生を容易に行うことができる。仮に、PWM回路20に与えた制御データDdty,Dcycを電圧信号に変換して、フィードバックされたレゾルバ励磁電圧信号Vextとの誤差を判別する場合には、インバータ2の最大出力電圧を個別的に得なければならない。   In particular, in addition to the AD conversion result Dadc of the resolver excitation voltage signal Vext, information necessary for duty recovery is the maximum conversion value Dmax of the voltage signal by the ADC 408, and external information such as the maximum output voltage value of the inverter 2 is obtained. Therefore, it is possible to easily reproduce the duty for discrimination. If the control data Ddty and Dcyc given to the PWM circuit 20 are converted into voltage signals to determine an error from the fed back resolver excitation voltage signal Vext, the maximum output voltage of the inverter 2 is obtained individually. There must be.

本発明は上記実施の形態に限定されるものではなく、その要旨を逸脱しない範囲において種々変更可能であることは言うまでもない。   It goes without saying that the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the scope of the invention.

例えば、図示はしないが、比較回路202におけるトリガ信号の発生は、PWM周期毎とする場合に限定されず、所定回数毎とすることも可能である。例えば図1のトリガ信号Strgcを計数するカウンタを設け、当該カウンタのカウント値が所定値に達したときダウンカウンタ407に対するダウンカウント動作の開始を指示すればよい。これにより、レゾルバ励磁電圧信号Vextに対する定期的なヘルスチェック機構として使用することも可能になる。レゾルバ励磁電圧信号Vextの異常検出については、随時行うことに限定されず、初期不良テスト、初期診断、障害診断などのときに、テストモードの設定に連動して動作可能にしてもよい。   For example, although not shown, the generation of the trigger signal in the comparison circuit 202 is not limited to each PWM cycle, and can be performed every predetermined number of times. For example, a counter that counts the trigger signal Strgc in FIG. 1 may be provided, and when the count value of the counter reaches a predetermined value, the start of the downcount operation for the downcounter 407 may be indicated. As a result, it can be used as a periodic health check mechanism for the resolver excitation voltage signal Vext. The abnormality detection of the resolver excitation voltage signal Vext is not limited to being performed at any time, and may be operable in conjunction with the test mode setting at the time of initial failure test, initial diagnosis, failure diagnosis, and the like.

また、遅延回路407はダウンカウンタに限定されず適宜変更可能である。   The delay circuit 407 is not limited to a down counter and can be changed as appropriate.

PWM波形とインバータによってレゾルバ励磁電圧信号Vextを容易に取得したが、交流電圧信号の生成はそれに限定されず、階段状の制御電圧を逓倍して交流電圧信号を生成する電源回路を用いてもよい。   Although the resolver excitation voltage signal Vext is easily acquired by the PWM waveform and the inverter, the generation of the AC voltage signal is not limited thereto, and a power supply circuit that generates the AC voltage signal by multiplying the stepped control voltage may be used. .

信号検出システムやマイクロコンピュータ1はEPSに適用する場合に限定されない。その他のモータ制御システム、交流電圧を駆動電源とするシステムなどに広く適用することができる。   The signal detection system and the microcomputer 1 are not limited to application to EPS. The present invention can be widely applied to other motor control systems and systems using AC voltage as a drive power source.

1 マイクロコンピュータ
2 インバータ
3 レゾルバ
Spwm PWM信号
Vext レゾルバ励磁電圧信号
4 モータ
Vsin,Vcos レゾルバ信号
10 中央処理装置
20 PWM回路
30 制御回路
40 判別回路
50 アナログディジタル変換回路
60 モータ駆動制御回路
70 ネットワークインタフェース
Ddty デューティカウント値
200 デューティカウント値レジスタ
Dcyc 周期カウント値
201 周期カウント値レジスタ
202 比較回路
203 カウンタ
204 出力回路
400,401 デューティ算出回路
Dadc ディジタル電圧データ
Dmax 最大電圧データ
408 アナログディジタル変換回路
700 ダウンカウンタ
DTY_R 再生デューティ
DTY_I 再生デューティに対応するデューティ
402 上限デューティレジスタ
403 下限デューティレジスタ
404比較回路
303 検出制御回路
302 検出回数レジスタ
DESCRIPTION OF SYMBOLS 1 Microcomputer 2 Inverter 3 Resolver Spwm PWM signal Vext Resolver excitation voltage signal 4 Motor Vsin, Vcos Resolver signal 10 Central processing unit 20 PWM circuit 30 Control circuit 40 Discriminating circuit 50 Analog digital conversion circuit 60 Motor drive control circuit 70 Network interface Ddty Duty Count value 200 Duty count value register Dcyc Period count value 201 Period count value register 202 Comparison circuit 203 Counter 204 Output circuit 400, 401 Duty calculation circuit Dadc Digital voltage data Dmax Maximum voltage data 408 Analog-digital conversion circuit 700 Down counter DTY_R Reproduction duty DTY_I Duty corresponding to playback duty Duty register 403 lower duty register 404 comparator circuit 303 detects the control circuit 302 detects the number of registers

Claims (25)

データ処理回路と、
前記データ処理回路で生成された電圧制御信号に基づいて交流の電圧信号を生成する電源回路と、
前記電圧信号を受け取って作動される作動回路と、を有し、
前記データ処理回路は、プログラムを実行する中央処理装置と、
前記中央処理装置から指示される制御値に基づいて前記電圧制御信号を生成する電圧制御回路と、
前記電源回路から出力される電圧信号がこれに対応する制御値に対して許容誤差の範囲内にあるか否かを判別する判別回路と、
前記判別回路による判別結果が許容誤差の範囲内にないとされた場合に必要な処理を前記中央処理装置に実行させる検出制御回路と、を有する信号検出システム。
A data processing circuit;
A power supply circuit that generates an alternating voltage signal based on the voltage control signal generated by the data processing circuit;
An actuating circuit actuated upon receiving the voltage signal,
The data processing circuit includes a central processing unit that executes a program;
A voltage control circuit that generates the voltage control signal based on a control value instructed from the central processing unit;
A determination circuit for determining whether or not a voltage signal output from the power supply circuit is within an allowable error range with respect to a corresponding control value;
A signal detection system comprising: a detection control circuit that causes the central processing unit to execute processing necessary when a determination result by the determination circuit is not within an allowable error range.
前記判別回路は、前記電圧信号を受け取って前記制御値を再生する再生部と、
再生された再生制御値と前記中央処理装置が指示した対応する制御値との差が許容誤差の範囲内であるか否かを判別する判別部と、を有する請求項1記載の信号検出システム。
The discrimination circuit receives the voltage signal and reproduces the control value;
The signal detection system according to claim 1, further comprising: a determination unit that determines whether or not a difference between the reproduced reproduction control value and a corresponding control value instructed by the central processing unit is within an allowable error range.
前記電圧制御回路は、前記制御値としてデューティを決めるための制御データによってPWM波形の電圧制御信号を生成するPWM回路であり、
前記電源回路は、前記PWM波形に従って前記交流の電圧信号を生成するインバータである、請求項2記載の信号検出システム。
The voltage control circuit is a PWM circuit that generates a voltage control signal having a PWM waveform based on control data for determining a duty as the control value,
The signal detection system according to claim 2, wherein the power supply circuit is an inverter that generates the AC voltage signal according to the PWM waveform.
前記再生部は、前記電圧信号をディジタル信号に変換するAD変換器と、前記AD変換器によるAD変換結果を当該AD変換器による前記電圧信号の最大変換値で除してデューティを算出する演算器とを有する、請求項3記載の信号検出システム。   The reproduction unit includes an AD converter that converts the voltage signal into a digital signal, and an arithmetic unit that calculates a duty by dividing an AD conversion result by the AD converter by a maximum conversion value of the voltage signal by the AD converter. The signal detection system according to claim 3. 前記AD変換器は、前記電圧制御回路による前記電圧制御信号の周期単位の生成タイミングに対して、遅延設定レジスタに設定された遅延時間の経過を待って、電圧信号をサンプルホールドする、請求項4記載の信号検出システム。   5. The AD converter samples and holds a voltage signal after a delay time set in a delay setting register elapses with respect to a generation timing of the voltage control signal in a cycle unit by the voltage control circuit. The signal detection system described. 前記判別部は、前記電圧制御回路に与えられる制御データが指示するデューティに対して許容誤差レジスタの設定値で指定される範囲を許容誤差の範囲とする、請求項5記載の信号検出システム。   The signal detection system according to claim 5, wherein the determination unit sets a range specified by a set value of an allowable error register for a duty indicated by control data supplied to the voltage control circuit as a range of allowable error. 前記遅延設定レジスタ及び許容誤差レジスタは前記中央処理装置によって書き換え可能なレジスタである、請求項6記載の信号検出システム。   The signal detection system according to claim 6, wherein the delay setting register and the allowable error register are rewritable registers by the central processing unit. 前記検出制御回路は、前記判別回路から許容誤差の範囲外である判別結果を所定回数取得したとき前記中央処理装置に割り込み要求を行う、請求項1記載の信号検出システム。   The signal detection system according to claim 1, wherein the detection control circuit issues an interrupt request to the central processing unit when a determination result that is out of an allowable error range is acquired from the determination circuit a predetermined number of times. 前記検出制御回路は、前記判別回路から許容誤差の範囲外である判別結果を所定回数取得したとき前記中央処理装置によって参照可能なフラグをセットする、請求項1記載の信号検出システム。   The signal detection system according to claim 1, wherein the detection control circuit sets a flag that can be referred to by the central processing unit when a determination result that is out of the allowable error range is acquired a predetermined number of times from the determination circuit. 前記作動回路は、モータのロータに結合される回転検出軸の回転角度に応じて前記電圧信号を振幅変調したレゾルバ信号を生成するレゾルバであり、
前記中央処理装置は、前記レゾルバ信号に基づいてロータの回転角を検出すると共に、前記モータの回転駆動制御を行う、請求項1記載の信号検出システム。
The operating circuit is a resolver that generates a resolver signal obtained by amplitude-modulating the voltage signal in accordance with a rotation angle of a rotation detection shaft coupled to a rotor of a motor.
2. The signal detection system according to claim 1, wherein the central processing unit detects a rotation angle of the rotor based on the resolver signal and controls rotation drive of the motor.
マイクロコンピュータと、
前記マイクロコンピュータで生成された電圧制御信号のPWM波形に従って交流の電圧信号を生成するインバータと、
モータのロータに結合される回転検出軸の回転角度に応じて前記電圧信号を振幅変調してレゾルバ信号を生成するレゾルバと、を有し、
前記マイクロコンピュータは、プログラムを実行する中央処理装置と、
前記中央処理装置から与えられる、デューティを決めるための制御データによってPWM波形の電圧制御信号を生成するPWM回路と、
前記レゾルバ信号を入力してディジタル信号に変換する第1AD変換回路と、
前記電圧信号をディジタル信号に変換する第2AD変換回路と、
前記第2AD変換回路によるAD変換結果を当該第2AD変換回路による前記電圧信号の最大変換値で除してデューティを算出する演算回路と、
前記演算回路で演算されたデューティとこれに対応する制御データで指定されるデューティとの差が許容誤差の範囲内であるか否かを判別する判別回路と、
前記判別回路による判別結果を前記中央処理装置に認識させる検出制御回路と、を有し、
前記中央処理装置は、前記レゾルバ信号に基づいてロータの回転角を検出する処理、前記モータの回転駆動を制御する処理、及び、前記検出制御回路を介して認識した判別結果に応ずる処理を行う、レゾルバ信号処理システム。
A microcomputer,
An inverter that generates an AC voltage signal according to a PWM waveform of the voltage control signal generated by the microcomputer;
A resolver that generates a resolver signal by amplitude-modulating the voltage signal according to a rotation angle of a rotation detection shaft coupled to a rotor of a motor;
The microcomputer includes a central processing unit that executes a program;
A PWM circuit that generates a voltage control signal of a PWM waveform according to control data for determining a duty given from the central processing unit;
A first AD converter circuit for inputting the resolver signal and converting it into a digital signal;
A second AD converter circuit for converting the voltage signal into a digital signal;
An arithmetic circuit that calculates a duty by dividing an AD conversion result by the second AD conversion circuit by a maximum conversion value of the voltage signal by the second AD conversion circuit;
A discriminating circuit for discriminating whether or not the difference between the duty calculated by the arithmetic circuit and the duty specified by the control data corresponding to the duty is within the allowable error range;
A detection control circuit that causes the central processing unit to recognize a determination result by the determination circuit;
The central processing unit performs processing for detecting the rotation angle of the rotor based on the resolver signal, processing for controlling the rotational drive of the motor, and processing according to the determination result recognized through the detection control circuit. Resolver signal processing system.
前記第2AD変換回路は、前記電圧制御回路による前記電圧制御信号の周期単位の生成タイミングに対して、遅延設定レジスタに設定された遅延時間の経過を待って、参照電圧信号をサンプルホールドし、
前記判別回路は、前記電圧制御回路に与えられる制御データが指示するデューティに対して許容誤差レジスタの設定値で指定される範囲を許容誤差の範囲とする、請求項11記載のレゾルバ信号処理システム。
The second AD converter circuit samples and holds the reference voltage signal after the delay time set in the delay setting register elapses with respect to the generation timing of the voltage control signal in the period by the voltage control circuit,
12. The resolver signal processing system according to claim 11, wherein the determination circuit sets a range specified by a set value of an allowable error register for a duty indicated by control data supplied to the voltage control circuit as a range of allowable error.
前記遅延設定レジスタ及び許容誤差レジスタは前記中央処理装置によって書き換え可能なレジスタである、請求項12記載のレゾルバ信号処理システム。   The resolver signal processing system according to claim 12, wherein the delay setting register and the allowable error register are registers rewritable by the central processing unit. 前記検出制御回路は、前記判別回路から許容誤差の範囲外である判別結果を所定回数取得したとき前記中央処理装置に割り込み要求を行う、請求項11記載のレゾルバ信号処理システム。   The resolver signal processing system according to claim 11, wherein the detection control circuit issues an interrupt request to the central processing unit when a determination result that is out of an allowable error range is acquired a predetermined number of times from the determination circuit. 前記検出制御回路は、前記判別回路から許容誤差の範囲外である判別結果を所定回数取得したとき前記中央処理装置によって参照可能なフラグをセットする、請求項11記載のレゾルバ信号処理システム。   12. The resolver signal processing system according to claim 11, wherein the detection control circuit sets a flag that can be referred to by the central processing unit when a determination result that is out of an allowable error range is acquired a predetermined number of times from the determination circuit. 電圧制御信号を出力し、その電圧制御信号によって外部回路で生成される交流の電圧信号の生成状態を検出可能とする半導体集積回路であって、
プログラムを実行する中央処理装置と、
前記中央処理装置から指示される制御値によって前記電圧制御信号を生成する電圧制御回路と、
前記外部回路で生成される前記電圧信号がこれに対応する制御値に対して許容誤差の範囲にあるか否かを判別する判別回路と、
前記判別回路による判別結果が許容誤差の範囲内にないとされた場合に必要な処理を前記中央処理装置に実行させる検出制御回路と、を有する半導体集積回路。
A semiconductor integrated circuit that outputs a voltage control signal and enables detection of a generation state of an AC voltage signal generated by an external circuit based on the voltage control signal,
A central processing unit for executing the program;
A voltage control circuit that generates the voltage control signal according to a control value instructed by the central processing unit;
A determination circuit for determining whether or not the voltage signal generated by the external circuit is within an allowable error range with respect to a control value corresponding thereto;
And a detection control circuit that causes the central processing unit to execute a necessary process when a determination result by the determination circuit is not within an allowable error range.
前記判別回路は、外部から前記電圧信号を受け取って前記制御データを再生する再生部と、
再生された再生制御値と前記中央処理装置が指示した対応する制御値との差が許容誤差の範囲内であるか否かを判別する判別部と、を有する請求項16記載の半導体集積回路。
The discrimination circuit receives the voltage signal from the outside and reproduces the control data;
17. The semiconductor integrated circuit according to claim 16, further comprising: a discriminator that discriminates whether or not a difference between the reproduced reproduction control value and a corresponding control value instructed by the central processing unit is within an allowable error range.
前記電圧制御回路は、前記制御値としてデューティを決めるための制御データによってPWM波形の電圧制御信号を生成するPWM回路である、請求項17記載の半導体集積回路。   18. The semiconductor integrated circuit according to claim 17, wherein the voltage control circuit is a PWM circuit that generates a voltage control signal having a PWM waveform based on control data for determining a duty as the control value. 前記再生する回路は、前記電圧信号をディジタル信号に変換するAD変換器と、前記AD変換器によるAD変換結果を当該AD変換器による前記電圧信号の最大変換値で除してデューティを算出する演算器とを有する、請求項18記載の半導体集積回路。   The reproducing circuit includes an AD converter that converts the voltage signal into a digital signal, and an operation for calculating a duty by dividing an AD conversion result by the AD converter by a maximum conversion value of the voltage signal by the AD converter. The semiconductor integrated circuit according to claim 18, further comprising: 前記AD変換器は、前記電圧制御回路による前記電圧制御信号の周期単位の生成タイミングに対して、遅延設定レジスタに設定された遅延時間の経過を待って、電圧信号をサンプルホールドする、請求項19記載の半導体集積回路。   The AD converter samples and holds the voltage signal after the delay time set in the delay setting register elapses with respect to the generation timing of the voltage control signal in units of cycles by the voltage control circuit. The semiconductor integrated circuit as described. 前記判別部は、前記電圧制御回路に与えられる制御データが指示するデューティに対して許容誤差レジスタの設定値で指定される範囲を許容誤差の範囲とする、請求項20記載の半導体集積回路。   21. The semiconductor integrated circuit according to claim 20, wherein the determination unit sets a range specified by a set value of an allowable error register for a duty indicated by control data supplied to the voltage control circuit as a range of allowable error. 前記遅延設定レジスタ及び許容誤差レジスタは前記中央処理装置によって書き換え可能なレジスタである、請求項21記載の半導体集積回路。   23. The semiconductor integrated circuit according to claim 21, wherein the delay setting register and the allowable error register are rewritable registers by the central processing unit. 前記検出制御回路は、前記判別回路から許容誤差の範囲外である判別結果を所定回数取得したとき前記中央処理装置に割り込み要求を行う、請求項16記載の半導体集積回路。   17. The semiconductor integrated circuit according to claim 16, wherein the detection control circuit issues an interrupt request to the central processing unit when a determination result that is out of an allowable error range is obtained a predetermined number of times from the determination circuit. 前記検出制御回路は、前記判別回路から許容誤差の範囲外である判別結果を所定回数取得したとき前記中央処理装置によって参照可能なフラグをセットする、請求項16記載の半導体集積回路。   The semiconductor integrated circuit according to claim 16, wherein the detection control circuit sets a flag that can be referred to by the central processing unit when a determination result that is out of an allowable error range is obtained a predetermined number of times from the determination circuit. 前記外部の電源回路で生成される交流電圧信号がモータ軸の回転角度に応じて振幅変調されたレゾルバ信号をレゾルバから入力し、
前記中央処理装置は、前記レゾルバ信号に基づいて前記モータ軸の回転角を検出すると共に、前記モータの回転駆動制御を行う、請求項16記載の半導体集積回路。
The resolver signal in which the AC voltage signal generated by the external power supply circuit is amplitude-modulated according to the rotation angle of the motor shaft is input from the resolver,
17. The semiconductor integrated circuit according to claim 16, wherein the central processing unit detects a rotation angle of the motor shaft based on the resolver signal and performs rotation drive control of the motor.
JP2012054167A 2012-03-12 2012-03-12 Signal detection system, resolver signal processing system, and semiconductor integrated circuit Pending JP2013186105A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012054167A JP2013186105A (en) 2012-03-12 2012-03-12 Signal detection system, resolver signal processing system, and semiconductor integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012054167A JP2013186105A (en) 2012-03-12 2012-03-12 Signal detection system, resolver signal processing system, and semiconductor integrated circuit

Publications (1)

Publication Number Publication Date
JP2013186105A true JP2013186105A (en) 2013-09-19

Family

ID=49387629

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012054167A Pending JP2013186105A (en) 2012-03-12 2012-03-12 Signal detection system, resolver signal processing system, and semiconductor integrated circuit

Country Status (1)

Country Link
JP (1) JP2013186105A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2896533A1 (en) * 2014-01-20 2015-07-22 Renesas Electronics Corporation Semiconductor device and driving apparatus
JP7130091B1 (en) * 2021-05-12 2022-09-02 三菱電機株式会社 Rotation angle detection device and inverter control device
US20230392958A1 (en) * 2020-12-11 2023-12-07 Mabuchi Motor Co., Ltd. Control device of rotation detector

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2896533A1 (en) * 2014-01-20 2015-07-22 Renesas Electronics Corporation Semiconductor device and driving apparatus
US20230392958A1 (en) * 2020-12-11 2023-12-07 Mabuchi Motor Co., Ltd. Control device of rotation detector
JP7130091B1 (en) * 2021-05-12 2022-09-02 三菱電機株式会社 Rotation angle detection device and inverter control device

Similar Documents

Publication Publication Date Title
JP5148394B2 (en) Microcomputer, motor control system
JP5409678B2 (en) Electric motor control device
JP2007263943A (en) Resolver/digital converter and control system using resolver/digital converter
JP2010246327A (en) Fault diagnostic device for inverter
JP2012175891A (en) Motor control apparatus for performing overload protection
JP2013186105A (en) Signal detection system, resolver signal processing system, and semiconductor integrated circuit
US10444288B2 (en) Abnormality diagnosing device and abnormality diagnosing method
JP6967470B2 (en) Control device
JP2015136272A (en) semiconductor device and drive unit
JP2012029347A (en) Open-phase diagnostic system and open-phase diagnostic method
JP6457583B2 (en) Abnormality diagnosis apparatus and abnormality diagnosis method
JP2017208989A (en) Motor control apparatus
JP2003319682A (en) Controller for permanent magnet synchronous motor
JP7449950B2 (en) Power conversion device and predictive diagnosis method used therefor
JP6758494B2 (en) Rotation angle detector and AC rotor control device
JP2004023920A (en) Ac motor controller
JP2017158230A (en) Motor controller
JP2009139096A (en) Rotation angle detector
JP6454881B2 (en) Motor control device
JP4804290B2 (en) Method for determining abnormality of current detection means, control device for three-phase AC motor using the method, and electric vehicle control system using the device
JP4840339B2 (en) Control device
JP2007166687A (en) Motor unit and motor drive control device
JP2009005478A (en) Induction machine controller
JP6943640B2 (en) Semiconductor integrated circuits, cooling devices, electronic devices
JP2017158374A (en) Motor control device