JP7341841B2 - AD converter - Google Patents

AD converter Download PDF

Info

Publication number
JP7341841B2
JP7341841B2 JP2019188437A JP2019188437A JP7341841B2 JP 7341841 B2 JP7341841 B2 JP 7341841B2 JP 2019188437 A JP2019188437 A JP 2019188437A JP 2019188437 A JP2019188437 A JP 2019188437A JP 7341841 B2 JP7341841 B2 JP 7341841B2
Authority
JP
Japan
Prior art keywords
data
signal
comparison
dac
converter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2019188437A
Other languages
Japanese (ja)
Other versions
JP2021064873A (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.)
Rohm Co Ltd
Original Assignee
Rohm Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Rohm Co Ltd filed Critical Rohm Co Ltd
Priority to JP2019188437A priority Critical patent/JP7341841B2/en
Publication of JP2021064873A publication Critical patent/JP2021064873A/en
Application granted granted Critical
Publication of JP7341841B2 publication Critical patent/JP7341841B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Analogue/Digital Conversion (AREA)

Description

本発明は、ADコンバータに関する。 The present invention relates to an AD converter.

従来、アナログ信号をデジタル信号に変換するADC(ADコンバータ)は、様々なシステムに適用されている。ADCの一種として、逐次比較型ADCが存在する。このようなADCが正しく動作しているかを検出する回路として、例えば特許文献1に、次のようなADCセルフテスト回路が開示されている。 Conventionally, ADCs (AD converters) that convert analog signals into digital signals have been applied to various systems. A successive approximation type ADC exists as a type of ADC. As a circuit for detecting whether such an ADC is operating correctly, for example, Patent Document 1 discloses the following ADC self-test circuit.

特許文献1のADCセルフテスト回路は、ADCのダイナミックレンジを超えるテスト信号と上記ダイナミックレンジ範囲内の基準信号をコンパレータに入力してハイレベルが出力されることを確認するとともに、上記ダイナミックレンジ未満のテスト信号と上記ダイナミックレンジ範囲内の基準信号をコンパレータに入力してローレベルが出力されることを確認する。これにより、基準信号を出力するローカルDAC(DAコンバータ)の全ての出力レベルについて異常が生じていないことを確認する。 The ADC self-test circuit of Patent Document 1 inputs a test signal exceeding the dynamic range of the ADC and a reference signal within the above dynamic range to a comparator to confirm that a high level is output, and also confirms that a high level is output. Input the test signal and the reference signal within the above dynamic range to the comparator and confirm that a low level is output. This confirms that no abnormality has occurred in any of the output levels of the local DAC (DA converter) that outputs the reference signal.

特開2016-220172号公報Japanese Patent Application Publication No. 2016-220172

しかしながら、上記特許文献1では、コンパレータの異常を検出することはできるが、コンパレータの出力をデジタル出力に変換する制御回路の異常を検出してはいないので、AD変換動作の異常を検出する機能として十分であるとは言えなかった。 However, in Patent Document 1, although it is possible to detect an abnormality in the comparator, it does not detect an abnormality in the control circuit that converts the output of the comparator into a digital output. It wasn't enough.

上記状況に鑑み、本発明は、AD変換動作の異常を検出する機能を向上させたADコンバータを提供することを目的とする。 In view of the above situation, an object of the present invention is to provide an AD converter with an improved function of detecting abnormality in AD conversion operation.

上記目的を達成するために本発明の一態様に係るADコンバータは、
コンパレータと、
デジタルデータである第1DACデータを生成する第1DACデータ生成部と、
DAC(DAコンバータ)と、
を有して、
前記コンパレータは、アナログ信号である入力信号をサンプリングし、サンプリングされた前記入力信号と、前記DACにより前記第1DACデータから変換されたアナログデータとを比較し、
前記第1DACデータ生成部は、前記コンパレータによる比較結果に応じて前記第1DACデータを更新し、
前記コンパレータによる比較結果に応じて出力信号のビットデータを確定する、
AD変換部を備えたADコンバータであって、
所定のデジタルデータである第2DACデータを生成する第2DACデータ生成部と、
前記第2DACデータと前記出力信号とを比較し、比較結果としての第1検出信号を出力するデータ比較部と、
を有する第1異常検出部と、
前記第1DACデータと前記第2DACデータとのうちいずれかを選択するセレクタと、をさらに備え、
テスト動作時において、前記コンパレータは、前記セレクタにより選択された前記第2DACデータを前記DACにより変換したアナログデータをサンプリングし、サンプリングされた前記アナログデータと、前記セレクタにより選択された前記第1DACデータと、を比較する構成としている(第1の構成)。
In order to achieve the above object, an AD converter according to one aspect of the present invention includes:
A comparator and
a first DAC data generation unit that generates first DAC data that is digital data;
DAC (DA converter) and
having
The comparator samples an input signal that is an analog signal, and compares the sampled input signal with analog data converted from the first DAC data by the DAC,
The first DAC data generation unit updates the first DAC data according to a comparison result by the comparator,
determining bit data of the output signal according to the comparison result by the comparator;
An AD converter including an AD conversion section,
a second DAC data generation unit that generates second DAC data that is predetermined digital data;
a data comparison unit that compares the second DAC data and the output signal and outputs a first detection signal as a comparison result;
a first abnormality detection section having;
further comprising a selector for selecting either the first DAC data or the second DAC data,
During the test operation, the comparator samples analog data obtained by converting the second DAC data selected by the selector by the DAC, and combines the sampled analog data with the first DAC data selected by the selector. , (first configuration).

また、上記第1の構成において、前記所定のデジタルデータは、前記出力信号のビット数のデータであって、MSB(最上位ビット)からLSB(最下位ビット)まで順に0と1が交互に並ぶデータであることとしてもよい(第2の構成)。 In the first configuration, the predetermined digital data is data of the number of bits of the output signal, and 0s and 1s are arranged alternately from MSB (most significant bit) to LSB (least significant bit). It may also be data (second configuration).

また、上記第2の構成において、前記ビット数は、12ビットであり、前記所定のデジタルデータは、AAAhまたは555hであることとしてもよい(第3の構成)。 Furthermore, in the second configuration, the number of bits may be 12 bits, and the predetermined digital data may be AAAh or 555h (third configuration).

また、上記第2または第3の構成において、前記所定のデジタルデータは、前記出力信号のビット数のデータであって、1であるMSBからLSBまで順に0と1が交互に並ぶデータと、前記出力信号のビット数のデータであって、0であるMSBからLSBまで順に0と1が交互に並ぶデータと、の両方を設定可能であることとしてもよい(第4の構成)。 Further, in the second or third configuration, the predetermined digital data is data of the number of bits of the output signal, and includes data in which 0s and 1s are arranged alternately in order from MSB (1) to LSB; It may also be possible to set both the data of the number of bits of the output signal, which is data in which 0s and 1s are arranged alternately in order from the MSB (0) to the LSB (fourth configuration).

また、上記第1から第4のいずれかの構成において、前記データ比較部における比較判定には、許容誤差が設けられることとしてもよい(第5の構成)。 Furthermore, in any one of the first to fourth configurations described above, an allowable error may be provided in the comparison determination in the data comparison section (fifth configuration).

また、上記第5の構成において、前記データ比較部は、比較判定を複数回行い、前記許容誤差を超える回数が1以上の所定回数以下である場合、正常を示す前記第1検出信号を出力することとしてもよい(第6の構成)。 Further, in the fifth configuration, the data comparison unit performs the comparison determination multiple times, and outputs the first detection signal indicating normality if the number of times the tolerance is exceeded is less than or equal to a predetermined number of times greater than or equal to 1. This may also be done (sixth configuration).

また、上記第5または第6の構成において、前記許容誤差は、外部信号により可変に設定されることとしてもよい(第7の構成)。 Furthermore, in the fifth or sixth configuration, the tolerance may be variably set by an external signal (seventh configuration).

また、上記第1から第7のいずれかの構成において、前記所定のデジタルデータは、前記AD変換部による1回の変換動作ごとに変更されることで、前記出力信号のビット数でのダイナミックレンジにおける全てのデジタル値に設定されることとしてもよい(第8の構成)。 Further, in any one of the first to seventh configurations, the predetermined digital data is changed for each conversion operation by the AD converter, thereby increasing the dynamic range in terms of the number of bits of the output signal. (eighth configuration).

また、上記第1から第8のいずれかの構成において、第2検出信号を出力する第2異常検出部をさらに備え、
前記AD変換部は、変換完了信号を生成する変換完了信号生成部をさらに有し、
前記第2異常検出部は、
前記AD変換部による変換動作が開始されるときにカウントを開始するカウンタと、
前記カウンタが所定期間をカウントするまで、前記変換完了信号が未完了を示すことを確認した場合、または前記カウンタが前記所定期間をカウントした場合に、前記変換完了信号が完了を示すことを確認した場合、正常を示す前記第2検出信号を出力し、それ以外の場合は、異常を示す前記第2検出信号を出力する監視部と、
を有することとしてもよい(第9の構成)。
Further, in any one of the first to eighth configurations, further comprising a second abnormality detection section that outputs a second detection signal,
The AD conversion unit further includes a conversion completion signal generation unit that generates a conversion completion signal,
The second abnormality detection section includes:
a counter that starts counting when the AD conversion unit starts a conversion operation;
If it is confirmed that the conversion completion signal indicates incomplete until the counter counts the predetermined period, or if the counter counts the predetermined period, it is confirmed that the conversion completion signal indicates completion. a monitoring unit that outputs the second detection signal indicating normality if the case is normal, and outputs the second detection signal indicating abnormality in other cases;
(9th configuration).

また、本発明の一態様に係るADコンバータシステムは、請求項1から請求項9のいずれか1項に記載のADコンバータと、
第3異常検出部と、
第4異常検出部と、
を備え、
前記第3異常検出部は、前記入力信号を第2出力信号にAD変換する第2ADコンバータと、前記出力信号と前記第2出力信号を比較して比較結果としての第3検出信号を出力する第1比較回路と、を有し、
前記第4異常検出部は、前記出力信号と前記第2出力信号を比較して比較出力信号を出力する第2比較回路と、前記第3検出信号と前記比較出力信号との排他的論理和をとることで第4検出信号を出力するEX-OR回路と、を有する構成としている(第10の構成)。
Further, an AD converter system according to one aspect of the present invention includes an AD converter according to any one of claims 1 to 9;
a third abnormality detection section;
a fourth abnormality detection section;
Equipped with
The third abnormality detection section includes a second AD converter that AD converts the input signal into a second output signal, and a second AD converter that compares the output signal and the second output signal and outputs a third detection signal as a comparison result. 1 comparison circuit;
The fourth abnormality detection section includes a second comparison circuit that compares the output signal and the second output signal and outputs a comparison output signal, and an exclusive OR of the third detection signal and the comparison output signal. This configuration includes an EX-OR circuit that outputs a fourth detection signal (tenth configuration).

また、本発明の一態様に係るADコンバータシステムは、
前記コンパレータは、サンプリングに用いるコンデンサと、前記コンデンサの前段側に配置されるスイッチと、を有する請求項1から請求項9のいずれか1項に記載のADコンバータと、
第5異常検出部と、
を備え、
前記第5異常検出部は、
前記入力信号とDC参照電圧とのいずれかを選択して前記スイッチの前段側に印加させる選択部と、
前記出力信号を前記DC参照電圧に対応する期待値と比較して比較結果としての第5検出信号を出力する期待値比較部と、を有する構成としている(第11の構成)。
Further, an AD converter system according to one aspect of the present invention,
The AD converter according to any one of claims 1 to 9, wherein the comparator includes a capacitor used for sampling and a switch disposed before the capacitor.
a fifth abnormality detection section;
Equipped with
The fifth abnormality detection section includes:
a selection unit that selects either the input signal or the DC reference voltage and applies it to the front stage side of the switch;
An expected value comparison unit that compares the output signal with an expected value corresponding to the DC reference voltage and outputs a fifth detection signal as a comparison result (eleventh configuration).

また、本発明の一態様に係る電源監視ICは、
電源電圧が印加される外部端子と、
前記入力信号として前記外部端子の電圧が入力される請求項1から請求項9のいずれか1項に記載のADコンバータ、または、請求項10または請求項11に記載のADコンバータシステムと、を備える構成としている(第12の構成)。
Further, a power supply monitoring IC according to one aspect of the present invention includes:
an external terminal to which power supply voltage is applied;
The AD converter according to any one of claims 1 to 9, or the AD converter system according to claim 10 or 11, wherein the voltage of the external terminal is input as the input signal. (12th configuration).

また、本発明の一態様に係る車載システムは、
上記電源監視ICと、
バッテリから供給されるDC電圧を前記電源電圧に変換するDC/DCコンバータと、
前記電源監視ICと通信を行うマイコンと、を備える構成としている(第13の構成)。
Furthermore, the in-vehicle system according to one aspect of the present invention includes:
The above power supply monitoring IC,
a DC/DC converter that converts a DC voltage supplied from a battery into the power supply voltage;
A configuration includes a microcomputer that communicates with the power supply monitoring IC (a thirteenth configuration).

本発明のADコンバータによれば、AD変換動作の異常を検出する機能を向上させることができる。 According to the AD converter of the present invention, it is possible to improve the function of detecting abnormality in AD conversion operation.

本発明の第1実施形態に係るADコンバータの構成を示す図である。FIG. 1 is a diagram showing the configuration of an AD converter according to a first embodiment of the present invention. 本発明の第1実施形態に係るADコンバータにおける通常動作時のサンプリング動作状態を示す図である。FIG. 3 is a diagram showing a sampling operation state during normal operation in the AD converter according to the first embodiment of the present invention. 本発明の第1実施形態に係るADコンバータにおける通常動作時の比較動作状態を示す図である。FIG. 3 is a diagram showing a comparison operation state during normal operation in the AD converter according to the first embodiment of the present invention. 本発明の第1実施形態に係るADコンバータにおけるテスト動作時のサンプリング動作状態を示す図である。FIG. 3 is a diagram showing a sampling operation state during a test operation in the AD converter according to the first embodiment of the present invention. 本発明の第1実施形態に係るADコンバータにおけるテスト動作時の比較動作状態を示す図である。FIG. 3 is a diagram showing a comparison operation state during a test operation in the AD converter according to the first embodiment of the present invention. テスト動作時のサンプリング対象のデジタルデータ(AAAh、555h)の設定について説明するための図である。FIG. 6 is a diagram for explaining the setting of digital data (AAAh, 555h) to be sampled during a test operation. テスト動作時のサンプリング対象のデジタルデータ(AAAh)に対する許容誤差について説明するための図である。FIG. 6 is a diagram for explaining the permissible error for digital data (AAAh) to be sampled during a test operation. 本発明の第3実施形態に係るADコンバータの構成を示す図である。It is a figure showing the composition of the AD converter concerning a 3rd embodiment of the present invention. 本発明の第4実施形態に係るADコンバータシステムの構成を示す図である。It is a figure showing the composition of the AD converter system concerning a 4th embodiment of the present invention. 本発明の第5実施形態に係るADコンバータシステムの構成を示す図である。It is a figure showing the composition of the AD converter system concerning a 5th embodiment of the present invention. 車載システムの一例を示す図である。FIG. 1 is a diagram showing an example of an in-vehicle system. 本発明の別実施形態に係るADコンバータの構成を示す図である。FIG. 3 is a diagram showing the configuration of an AD converter according to another embodiment of the present invention. 本発明の別実施形態に係るADコンバータにおけるコンパレータのサンプリング状態を示す図である。FIG. 7 is a diagram showing a sampling state of a comparator in an AD converter according to another embodiment of the present invention. 本発明の別実施形態に係るADコンバータにおけるコンパレータの比較動作の初期状態を示す図である。FIG. 7 is a diagram showing an initial state of a comparison operation of a comparator in an AD converter according to another embodiment of the present invention. 本発明の別実施形態に係るADコンバータにおけるコンパレータの比較動作の途中状態の一例を示す図である。FIG. 7 is a diagram showing an example of a state in the middle of a comparison operation of a comparator in an AD converter according to another embodiment of the present invention. 本発明の別実施形態に係るADコンバータにおけるコンパレータの比較動作の最終状態の一例を示す図である。FIG. 7 is a diagram showing an example of a final state of a comparison operation of a comparator in an AD converter according to another embodiment of the present invention.

以下に本発明の例示的な実施形態について図面を参照して説明する。 Exemplary embodiments of the present invention will be described below with reference to the drawings.

<1.第1実施形態>
<<ADCの構成>>
図1は、本発明の第1実施形態に係るADC10の構成を示すブロック図である。ADC10は、AD変換部1と、異常検出部2と、を備えている。ADC10は、ロジックのみで構成できる異常検出部2を設けることで実現されるので、回路面積の増大を抑制できる。
<1. First embodiment>
<<ADC configuration>>
FIG. 1 is a block diagram showing the configuration of an ADC 10 according to a first embodiment of the present invention. The ADC 10 includes an AD converter 1 and an abnormality detector 2. Since the ADC 10 is realized by providing the abnormality detection section 2 that can be configured only with logic, an increase in circuit area can be suppressed.

AD変換部1は、アナログ信号である入力信号INをデジタル信号である出力信号OUTに変換してADC10外部へ出力する。AD変換部1は、いわゆる逐次比較型のAD変換を行う。なお、以下では、出力信号OUTは一例として12ビットのデジタル信号であるとするが、出力信号OUTのビット数はこれに限らない。 The AD converter 1 converts an input signal IN, which is an analog signal, into an output signal OUT, which is a digital signal, and outputs the signal to the outside of the ADC 10. The AD converter 1 performs so-called successive approximation type AD conversion. Note that, in the following, it is assumed that the output signal OUT is a 12-bit digital signal as an example, but the number of bits of the output signal OUT is not limited to this.

AD変換部1は、コンパレータ11と、比較ラッチ部12と、データラッチ部13と、DACデータ生成部14と、セレクタ15と、変換完了信号生成部16と、変換開始信号取込み部17と、タイミング制御部18と、DAC(DAコンバータ)19を有する。 The AD conversion unit 1 includes a comparator 11, a comparison latch unit 12, a data latch unit 13, a DAC data generation unit 14, a selector 15, a conversion completion signal generation unit 16, a conversion start signal acquisition unit 17, and a timing It has a control section 18 and a DAC (DA converter) 19.

コンパレータ11は、入力信号INと、DAC19から出力されるアナログデータADATと、を比較し、比較結果としての比較信号CMPを出力する。より具体的には、コンパレータ11は、入力信号INのサンプリング動作と、入力信号INとアナログデータADATとを比較する比較動作を行う。 The comparator 11 compares the input signal IN and the analog data ADAT output from the DAC 19, and outputs a comparison signal CMP as a comparison result. More specifically, the comparator 11 performs a sampling operation of the input signal IN and a comparison operation of comparing the input signal IN and the analog data ADAT.

比較ラッチ部12は、コンパレータ11から出力される比較信号CMPを保持する。すなわち、比較ラッチ部12は、HighまたはLowの1ビット信号を保持する。 The comparison latch section 12 holds the comparison signal CMP output from the comparator 11. That is, the comparison latch section 12 holds a 1-bit signal of High or Low.

データラッチ部13は、比較ラッチ部12の保持データに応じてビットごとにHighまたはLowのデータを保持し、12ビットのデータを保持する。データラッチ部13に保持された12ビットのデータは、出力信号OUTとして出力される。 The data latch unit 13 holds high or low data for each bit according to the data held by the comparison latch unit 12, and holds 12 bits of data. The 12-bit data held in the data latch section 13 is output as an output signal OUT.

DACデータ生成部14は、比較ラッチ部12の保持データに応じて、デジタルデータである第1DACデータDACDT1を生成する。入力信号INが出力信号OUTに変換される通常動作時には、セレクタ15によって第1DACデータDACDT1と後述する第2DACデータDACDT2のうち第1DACデータDACDT1が選択されて、DAC19へ入力される。第1DACデータDACDT1は、DAC19によってアナログデータADATに変換され、コンパレータ11へ入力される。 The DAC data generation section 14 generates first DAC data DACDT1, which is digital data, according to the data held by the comparison latch section 12. During normal operation in which the input signal IN is converted to the output signal OUT, the selector 15 selects the first DAC data DACDT1 from the first DAC data DACDT1 and second DAC data DACDT2, which will be described later, and inputs it to the DAC 19. The first DAC data DACDT1 is converted into analog data ADAT by the DAC 19 and input to the comparator 11.

変換完了信号生成部16は、出力信号OUTへの変換が完了したことを示す変換完了信号FLGを生成してADC10外部へ出力する。 The conversion completion signal generation unit 16 generates a conversion completion signal FLG indicating that the conversion to the output signal OUT is completed, and outputs it to the outside of the ADC 10.

変換開始信号取込み部17は、ADC10外部から入力される変換開始信号STARTを取り込み、タイミング制御部18および後述するタイミング制御部22へAD変換の開始を指令する。 The conversion start signal acquisition section 17 acquires a conversion start signal START input from outside the ADC 10, and instructs the timing control section 18 and a timing control section 22, which will be described later, to start AD conversion.

タイミング制御部18は、コンパレータ11、DACデータ生成部14、データラッチ部13、および変換完了信号生成部16のタイミング制御を行う。 The timing control section 18 performs timing control of the comparator 11 , the DAC data generation section 14 , the data latch section 13 , and the conversion completion signal generation section 16 .

異常検出部2は、AD変換部1が正常に動作するかを確認するために設けられ、DACデータ生成部21と、タイミング制御部22と、データ比較部23と、を有する。 The abnormality detection section 2 is provided to check whether the AD conversion section 1 operates normally, and includes a DAC data generation section 21, a timing control section 22, and a data comparison section 23.

DACデータ生成部21は、AD変換部1が正常に動作するかを確認するテスト動作時に、所定のデジタルデータである第2DACデータDACDT2を生成する。テスト動作時には、セレクタ15によって第1DACデータDACDT1と第2DACデータDACDT2のうち第2DACDT2が選択され、DAC19へ入力される。第2DACデータDACDT1は、DAC19によってアナログデータADATに変換され、コンパレータ11へ入力される。入力されたアナログデータADATは、コンパレータ11により入力信号INの代わりにサンプリングされる。 The DAC data generation section 21 generates second DAC data DACDT2, which is predetermined digital data, during a test operation to check whether the AD conversion section 1 operates normally. During the test operation, the selector 15 selects the second DAC data DACDT2 from the first DAC data DACDT1 and the second DAC data DACDT2, and inputs the selected data to the DAC 19. The second DAC data DACDT1 is converted into analog data ADAT by the DAC 19 and input to the comparator 11. The input analog data ADAT is sampled by the comparator 11 instead of the input signal IN.

タイミング制御部22は、セレクタ15、DACデータ生成部21、およびデータ比較部23のタイミング制御を行う。 The timing control section 22 controls the timing of the selector 15, the DAC data generation section 21, and the data comparison section 23.

データ比較部23は、DACデータ生成部21から出力される第2DACデータDACDT2と、出力信号OUTとの比較を行い、比較結果としての検出信号FLOUTをADC10外部へ出力する。検出信号FLOUTは、AD変換部1が正常に動作しているか否かを示す異常検出信号となる。 The data comparison section 23 compares the second DAC data DACDT2 output from the DAC data generation section 21 and the output signal OUT, and outputs the detection signal FLOUT as a comparison result to the outside of the ADC 10. The detection signal FLOUT becomes an abnormality detection signal indicating whether or not the AD converter 1 is operating normally.

<<逐次比較型のAD変換>>
ADC10において入力信号INを出力信号OUTへ変換する逐次比較型のAD変換動作について説明する。逐次比較型のAD変換動作は、サンプリング動作と比較動作からなる。なお、入力信号INを出力信号OUTへ変換する動作は、通常動作である。
<<Successive approximation type AD conversion>>
A successive approximation type AD conversion operation for converting an input signal IN into an output signal OUT in the ADC 10 will be described. The successive approximation type AD conversion operation consists of a sampling operation and a comparison operation. Note that the operation of converting the input signal IN to the output signal OUT is a normal operation.

まず、サンプリング動作において、コンパレータ11は、アナログ信号である入力信号INをサンプリングする。 First, in a sampling operation, the comparator 11 samples the input signal IN, which is an analog signal.

ここで、図2は、ADC10の通常動作時におけるサンプリング動作状態を示す。図2には、コンパレータ11の具体的な構成例が示される。コンパレータ11は、スイッチ111A、スイッチ111B、コンデンサ112、インバータ113、およびスイッチ114を有している。 Here, FIG. 2 shows the sampling operation state of the ADC 10 during normal operation. FIG. 2 shows a specific example of the configuration of the comparator 11. Comparator 11 includes switch 111A, switch 111B, capacitor 112, inverter 113, and switch 114.

スイッチ111Aは、入力信号INの印加端とコンデンサ112の第1端との間の導通・遮断を切替える。コンデンサ112の第2端は、インバータ113の入力端に接続される。インバータ113の出力端は、比較ラッチ部12に接続される。スイッチ114は、インバータ113の入力端と出力端との間の導通・遮断を切替える。スイッチ111Bは、DAC19の出力端とコンデンサ112の第1端との間の導通・遮断を切替える。 The switch 111A switches conduction/cutoff between the application end of the input signal IN and the first end of the capacitor 112. A second end of capacitor 112 is connected to an input end of inverter 113. The output end of the inverter 113 is connected to the comparison latch section 12. The switch 114 switches between conduction and disconnection between the input end and the output end of the inverter 113. The switch 111B switches conduction/cutoff between the output end of the DAC 19 and the first end of the capacitor 112.

また、図2には、DACデータ生成部14の具体的な構成例が示される。DACデータ生成部14は、SAR(逐次比較レジスタ:Successive Approximation Register)141を有している。 Further, FIG. 2 shows a specific configuration example of the DAC data generation section 14. The DAC data generation unit 14 includes a SAR (Successive Approximation Register) 141.

スイッチ111A,111Bは、テスト信号tst1と切替信号ins1によりオンオフ状態を制御される。切替信号ins1は、サンプリング動作と比較動作とを切替える信号である。テスト信号tst1および切替信号ins1は、タイミング制御部18(図1)から出力される。 The on/off states of the switches 111A and 111B are controlled by a test signal tst1 and a switching signal ins1. The switching signal ins1 is a signal for switching between sampling operation and comparison operation. The test signal tst1 and the switching signal ins1 are output from the timing control section 18 (FIG. 1).

通常動作時におけるサンプリング動作では、テスト信号ts1=Low、切替信号ins1=Highとされる。テスト信号tst1=Lowの場合は、スイッチ111A,111Bは、切替信号ins1に応じて状態を切替えられる。上記のように切替信号ins1=Highであると、図2に示すようにスイッチ111Aはオン、スイッチ111Bはオフとされる。 In the sampling operation during normal operation, the test signal ts1=Low and the switching signal ins1=High. When the test signal tst1=Low, the states of the switches 111A and 111B are switched according to the switching signal ins1. When the switching signal ins1=High as described above, the switch 111A is turned on and the switch 111B is turned off, as shown in FIG.

また、スイッチ114は、切替信号ins1によりオンオフ状態を切替えられる。上記のように切替信号ins1=Highであると、図2に示すようにスイッチ114はオンとされる。 Further, the switch 114 can be switched between on and off states by a switching signal ins1. When the switching signal ins1=High as described above, the switch 114 is turned on as shown in FIG.

スイッチ114のオンにより、インバータ113の入出力端が短絡されると、コンデンサ112の第2端とインバータ113の入力端とが接続されるノードN2における電圧は、インバータ113の閾値電圧Vthとなる。一方、スイッチ111Aのオンにより、スイッチ111A,111Bとコンデンサ112の第1端とが接続されるノードN1における電圧は、入力信号INとなる。従って、コンデンサ112には、ノードN1,N2間の電圧、すなわちIN-Vthに応じた電荷が充電される。これにより、入力信号INのサンプリングが行われる。 When the input and output ends of the inverter 113 are short-circuited by turning on the switch 114, the voltage at the node N2 where the second end of the capacitor 112 and the input end of the inverter 113 are connected becomes the threshold voltage Vth of the inverter 113. On the other hand, by turning on the switch 111A, the voltage at the node N1 where the switches 111A, 111B and the first end of the capacitor 112 are connected becomes the input signal IN. Therefore, capacitor 112 is charged with a charge corresponding to the voltage between nodes N1 and N2, that is, IN-Vth. As a result, the input signal IN is sampled.

なお、図2に示すように、AD変換部1はAND回路A1を有しており、AND回路A1には、テスト信号tst2と切替信号ins2が入力される。テスト信号tst2および切替信号ins2は、タイミング制御部22(図1)から出力される。なお、切替信号ins2は、ins1と同じ挙動となるので、切替信号ins2をins1としてもよい。通常動作時はテスト信号tst2はLowとされるので、AND回路A1の出力ANDはLowとなる。セレクタ15は、出力ANDに応じてDACデータ生成部14の出力とDACデータ生成部21の出力とのいずれかを選択して出力する。上記のように出力ANDがLowの場合、セレクタ15は、図2に示すようにSAR141(DACデータ生成部14)の出力を選択する。 Note that, as shown in FIG. 2, the AD converter 1 includes an AND circuit A1, and a test signal tst2 and a switching signal ins2 are input to the AND circuit A1. The test signal tst2 and the switching signal ins2 are output from the timing control section 22 (FIG. 1). Note that since the switching signal ins2 has the same behavior as ins1, the switching signal ins2 may be set as ins1. During normal operation, the test signal tst2 is set to Low, so the output AND of the AND circuit A1 is set to Low. The selector 15 selects and outputs either the output of the DAC data generation section 14 or the output of the DAC data generation section 21 according to the output AND. When the output AND is Low as described above, the selector 15 selects the output of the SAR 141 (DAC data generation unit 14) as shown in FIG.

このような通常動作時におけるサンプリング動作の後、通常動作時における比較動作に移行する。図3は、ADC10の通常動作時における比較動作状態を示す。 After such a sampling operation during normal operation, a transition is made to a comparison operation during normal operation. FIG. 3 shows a comparative operation state of the ADC 10 during normal operation.

通常動作時における比較動作では、テスト信号tst1=Low、切替信号ins1=Lowとされるので、図3に示すように、スイッチ111Aはオフ、スイッチ111Bはオン、スイッチ114はオフとされる。 In the comparison operation during normal operation, the test signal tst1=Low and the switching signal ins1=Low, so as shown in FIG. 3, the switch 111A is turned off, the switch 111B is turned on, and the switch 114 is turned off.

比較動作では、初期値としてSAR141における12ビットのデジタル値のMSB(最上位ビット)に“1”がセットされ、それ以外のビットが“0”にセットされる。すなわち、12ビットのダイナミックレンジ(0~4095)の半値(2048)にセットされる。このようにセットされたSAR141のデジタル値が第1DACデータDACDT1として出力される。ここで、出力ANDによりセレクタ15は第1DACデータDACDT1を選択してDAC19へ出力する。スイッチ111Bがオンであるので、DAC19により第1DACデータDACDT1から変換されたアナログデータADATの電圧は、スイッチ111Bを介してノードN1(コンデンサ112の第1端)に印加される。 In the comparison operation, the MSB (most significant bit) of the 12-bit digital value in the SAR 141 is set to "1" as an initial value, and the other bits are set to "0". That is, it is set to half the value (2048) of the 12-bit dynamic range (0 to 4095). The digital value of the SAR 141 set in this way is output as the first DAC data DACDT1. Here, the selector 15 selects the first DAC data DACDT1 by the output AND and outputs it to the DAC 19. Since the switch 111B is on, the voltage of the analog data ADAT converted from the first DAC data DACDT1 by the DAC 19 is applied to the node N1 (the first end of the capacitor 112) via the switch 111B.

ここで、ノードN2の電圧をV2とすれば、ADAT-(IN-Vth)=V2が成り立つので、ADAT-IN=V2-Vthとなる。従って、ADAT>INの場合、V2>Vthとなり、インバータ113の出力である比較信号CMPはLowとなり、ADAT<INの場合、V2<Vthとなり、インバータ113の出力である比較信号CMPはHighとなる。このように、コンパレータ11により入力信号INとアナログデータADATとの比較が行える。 Here, if the voltage of node N2 is V2, ADAT-(IN-Vth)=V2 holds, so ADAT-IN=V2-Vth. Therefore, when ADAT>IN, V2>Vth, and the comparison signal CMP that is the output of the inverter 113 becomes Low; when ADAT<IN, V2<Vth, and the comparison signal CMP that is the output of the inverter 113 becomes High. . In this way, the comparator 11 can compare the input signal IN and the analog data ADAT.

比較ラッチ部12に保持された比較信号CMPのレベルがHighである場合(IN>ADATの場合)、データラッチ部13における12ビットのデジタル値のうちMSB=“1”と確定される。また、この場合、SAR141における12ビットのデジタル値のMSBに“1”、MSBの次のビットに“1”、それ以外のビットに“0”がセットされる。すなわち、12ビットのダイナミックレンジの上半分の半値(3072)にセットされる。そして、DAC19により第1DACデータDACDT1(SAR141にセットされたデジタル値)は、アナログデータADATに変換されてノードN1に印加される。 When the level of the comparison signal CMP held in the comparison latch unit 12 is High (IN>ADAT), the MSB of the 12-bit digital value in the data latch unit 13 is determined to be “1”. Further, in this case, the MSB of the 12-bit digital value in the SAR 141 is set to "1", the bit next to the MSB is set to "1", and the other bits are set to "0". That is, it is set to the upper half value (3072) of the 12-bit dynamic range. Then, the first DAC data DACDT1 (digital value set in the SAR 141) is converted into analog data ADAT by the DAC 19 and applied to the node N1.

一方、比較ラッチ部12に保持された比較信号CMPのレベルがLowである場合(IN<DADATの場合)、データラッチ部13における12ビットのデジタル値のうちMSB=“0”と確定される。また、この場合、SAR141における12ビットのデジタル値のMSBに“0”、MSBの次のビットに“1”、それ以外のビットに“0”がセットされる。すなわち、12ビットのダイナミックレンジの下半分の半値(1024)にセットされる。そして、DAC19により第1DACデータDACDT1(SAR141にセットされたデジタル値)は、アナログデータACDATに変換されてノードN1に印加される。 On the other hand, when the level of the comparison signal CMP held in the comparison latch unit 12 is Low (IN<DADAT), the MSB of the 12-bit digital value in the data latch unit 13 is determined to be “0”. Further, in this case, the MSB of the 12-bit digital value in the SAR 141 is set to "0", the bit next to the MSB is set to "1", and the other bits are set to "0". That is, it is set to the lower half value (1024) of the 12-bit dynamic range. Then, the first DAC data DACDT1 (digital value set in the SAR 141) is converted into analog data ACDAT by the DAC 19 and applied to the node N1.

以降、同様にコンパレータ11による比較結果に応じてデータラッチ部13におけるデジタル値のビットが順次確定されつつ、SAR141にセットされるデジタル値(第1DACデータDACDT1)が更新される。そして、データラッチ部13におけるデジタル値のLSB(最下位ビット)までビットが確定すると、変換動作が完了され、データラッチ部13におけるデジタル値は出力信号OUTとして出力される。 Thereafter, similarly, the bits of the digital value in the data latch unit 13 are sequentially determined according to the comparison result by the comparator 11, and the digital value (first DAC data DACDT1) set in the SAR 141 is updated. When the bits up to the LSB (least significant bit) of the digital value in the data latch section 13 are determined, the conversion operation is completed and the digital value in the data latch section 13 is outputted as an output signal OUT.

<<テスト動作>>
次に、ADC10におけるテスト動作について説明する。テスト動作は、先述した通常動作と同じくサンプリング動作と比較動作からなる。
<<Test operation>>
Next, a test operation in the ADC 10 will be explained. The test operation consists of a sampling operation and a comparison operation, similar to the normal operation described above.

図4は、ADC10のテスト動作におけるサンプリング動作状態を示す。なお、図4に示すように、異常検出部2(図1)に含まれるDACデータ生成部21は、レジスタ211を有している。 FIG. 4 shows a sampling operation state in a test operation of the ADC 10. Note that, as shown in FIG. 4, the DAC data generation section 21 included in the abnormality detection section 2 (FIG. 1) has a register 211.

テスト動作におけるサンプリング動作では、テスト信号tst1=High、切替信号ins1=Highとされる。テスト信号tst1=Highの場合、切替信号ins1のレベルに依らず、スイッチ111Aはオフ、スイッチ111Bはオンとされる。また、切替信号ins1=Highであるので、スイッチ114はオンとされる。 In the sampling operation in the test operation, the test signal tst1=High and the switching signal ins1=High. When the test signal tst1=High, the switch 111A is turned off and the switch 111B is turned on, regardless of the level of the switching signal ins1. Further, since the switching signal ins1=High, the switch 114 is turned on.

このとき、テスト信号tst2=High、切替信号ins2=Highとされるので、出力AND=Highとなり、セレクタ15はDACデータ生成部21の出力を選択する。 At this time, since the test signal tst2=High and the switching signal ins2=High, the output AND=High, and the selector 15 selects the output of the DAC data generation section 21.

レジスタ211における12ビットのデジタル値は所定の第2DACデータDACDT2にセットされる。所定の第2DACデータDACDT2は、後述するように、少なくとも555hおよびAAAhの両方にセットされることが望ましい(hは16進数表記であることを示す)。 The 12-bit digital value in the register 211 is set to predetermined second DAC data DACDT2. As will be described later, the predetermined second DAC data DACDT2 is preferably set to at least both 555h and AAAh (h indicates hexadecimal notation).

第2DACデータDACDT2は、図4に示すように、セレクタ15により選択されてDAC19へ出力され、DAC19によりアナログデータADATに変換される。アナログデータADATの電圧は、オンであるスイッチ111Bを介してノードN1に印加される。これにより、先述した通常動作時のサンプリングと同様にコンデンサ112に電荷が充電され、第2DACデータDACDT2がサンプリングされる。 As shown in FIG. 4, the second DAC data DACDT2 is selected by the selector 15, outputted to the DAC 19, and converted into analog data ADAT by the DAC 19. The voltage of analog data ADAT is applied to node N1 via switch 111B, which is on. As a result, the capacitor 112 is charged, and the second DAC data DACDT2 is sampled, similar to the sampling during the normal operation described above.

すなわち、テスト動作時のサンプリング動作では、入力信号INの代わりに、第2DACデータDACDT2がサンプリングされる。 That is, in the sampling operation during the test operation, the second DAC data DACDT2 is sampled instead of the input signal IN.

このようなテスト動作時におけるサンプリング動作の後、テスト動作時における比較動作に移行する。図5は、ADC10のテスト動作時における比較動作状態を示す。 After such a sampling operation during the test operation, a transition is made to a comparison operation during the test operation. FIG. 5 shows a comparison operation state during a test operation of the ADC 10.

テスト動作時における比較動作では、テスト信号tst1=High、切替信号ins1=Lowとされるので、図5に示すように、スイッチ111Aはオフ、スイッチ111Bはオン、スイッチ114はオフとされる。 In the comparison operation during the test operation, the test signal tst1=High and the switching signal ins1=Low, so as shown in FIG. 5, the switch 111A is turned off, the switch 111B is turned on, and the switch 114 is turned off.

また、このとき、テスト信号tst2=High、切替信号ins2=Lowとなり、出力AND=Lowとなるので、セレクタ15はDACデータ生成部14の出力を選択する。 Further, at this time, the test signal tst2=High, the switching signal ins2=Low, and the output AND=Low, so the selector 15 selects the output of the DAC data generation section 14.

すなわち、図5の状態は、先述した通常動作時の比較動作状態を示す図3と同様となる。これにより、サンプリングされた第2DACデータDACDT2と、DACデータ生成部14の出力である第1DACデータDACDT1とがコンパレータ11により比較され、比較結果に応じてデータラッチ部13における12ビットのデジタル値のビットがMSBより順次確定されつつ、SAR141にセットされるデジタル値が順次更新される。そして、データラッチ部13におけるデジタル値のLSBまでビットが確定すると、変換動作が完了され、データラッチ部13におけるデジタル値は出力信号OUTとして出力される。 That is, the state in FIG. 5 is similar to that in FIG. 3, which shows the comparison operation state during the normal operation described above. As a result, the sampled second DAC data DACDT2 and the first DAC data DACDT1, which is the output of the DAC data generation section 14, are compared by the comparator 11, and depending on the comparison result, the bits of the 12-bit digital value in the data latch section 13 are are determined sequentially from the MSB, and the digital values set in the SAR 141 are sequentially updated. When the bits up to the LSB of the digital value in the data latch section 13 are determined, the conversion operation is completed, and the digital value in the data latch section 13 is output as an output signal OUT.

このように第2DACデータDACDT2に基づくアナログデータADATがAD変換された出力信号OUTと、DACデータ生成部21から出力される第2DACデータDACDT2は、データ比較部23(図1)によって比較される。出力信号OUTと第2DACデータDACDT2とが一致した場合、データ比較部23は、Lowの検出信号FLOUTを出力し、一致しない場合、Highの検出信号FLOUTを出力する。但し、出力信号OUTとデジタルデータDGDATとの一致は、完全一致としてもよいが、それに限らず、後述するように所定の誤差のずれを許容した一致としてもよい。 The output signal OUT obtained by AD-converting the analog data ADAT based on the second DAC data DACDT2 in this manner and the second DAC data DACDT2 output from the DAC data generation section 21 are compared by the data comparison section 23 (FIG. 1). When the output signal OUT and the second DAC data DACDT2 match, the data comparison section 23 outputs a low detection signal FLOUT, and when they do not match, outputs a high detection signal FLOUT. However, the match between the output signal OUT and the digital data DGDAT may be a complete match, but is not limited to this, and may be a match that allows a predetermined error deviation, as will be described later.

すなわち、AD変換部1が正常に動作している場合、検出信号FLOUTはLowとなり、AD変換部1の動作が異常である場合、検出信号FLOUTはHighとなる。このように、ADC10は、テスト動作を行うことにより、AD変換部1が正常に動作しているかを確認できる。 That is, when the AD converter 1 is operating normally, the detection signal FLOUT is Low, and when the AD converter 1 is operating abnormally, the detection signal FLOUT is High. In this way, the ADC 10 can check whether the AD converter 1 is operating normally by performing the test operation.

<<テスト動作用のデジタルデータ設定について>>
先述したようにテスト動作時にDA変換されてサンプリングされる所定の第2DACデータDACDT2は、少なくともAAAhおよび555hの両方を設定可能であることが望ましい。以下、この理由について述べる。
<<About digital data settings for test operation>>
As mentioned above, it is desirable that the predetermined second DAC data DACDT2, which is DA-converted and sampled during the test operation, can be set to at least both AAAh and 555h. The reason for this will be explained below.

図6には、AAAhまたは555hとした所定の第2DACデータDACDT2(破線)と、AAAhまたは555hと比較されるSAR141にセットされるデジタル値(実線)と、を示す。 FIG. 6 shows the predetermined second DAC data DACDT2 (broken line) set to AAAh or 555h, and the digital value set in the SAR 141 (solid line) to be compared with AAAh or 555h.

例えばAAAhがDA変換されてサンプリングされる場合、SAR141にセットされるデジタル値は、図6に示すように、800h→C00h→A00h→B00h→・・と順次更新される。このとき、データラッチ部13におけるデジタル値は、MSBから順次1→0→1→・・とLSBまで1と0が交互に確定される。 For example, when AAAh is DA-converted and sampled, the digital value set in the SAR 141 is sequentially updated as 800h→C00h→A00h→B00h→... as shown in FIG. At this time, the digital value in the data latch section 13 is determined to be 1 and 0 alternately from the MSB to the LSB in the order of 1→0→1→....

また、555hがDA変換されてサンプリングされる場合、SAR141にセットされるデジタル値は、図6に示すように、800h→400h→600h→500h→・・と順次更新される。このとき、データラッチ部13におけるデジタル値は、MSBから順次0→1→0→・・とLSBまで0と1が交互に確定される。 Further, when 555h is DA-converted and sampled, the digital value set in the SAR 141 is sequentially updated in the order of 800h → 400h → 600h → 500h → . . . as shown in FIG. At this time, the digital value in the data latch section 13 is determined to be 0 and 1 alternately from the MSB to the LSB in order from 0 to 1 to 0 to LSB.

このように所定の第2DACデータDACDT2としてAAAhおよび555hの両方を設定可能とすれば、AAAhの場合と555hの場合とでデジタル値の同じビットで0と1のいずれか一方と他方となる(例えば、MSBは、AAAhの場合に1であり、555hの場合に0であり、MSBの次のビット(11ビット目)は、AAAhの場合に0であり、555hの場合に1である等)。これにより、デジタル値の各ビットでHigh(1)かLow(0)に固定されるスタック故障を検出可能となる。 If it is possible to set both AAAh and 555h as the predetermined second DAC data DACDT2 in this way, the same bit of the digital value will be either 0 or 1 and the other in the case of AAAh and in the case of 555h (for example, , the MSB is 1 for AAAh, 0 for 555h, the next bit (11th bit) of the MSB is 0 for AAAh, 1 for 555h, etc.). This makes it possible to detect a stuck fault in which each bit of the digital value is fixed to High (1) or Low (0).

また、図6に示すように、AAAhおよび555hのいずれの場合でも、SAR141に更新設定されるデジタル値(図6の実線)は、AAAhまたは555hからバランス良く離れて位置するので、上記デジタル値をDA変換した第1DACデータDACDT1の電圧にノイズやオフセット誤差が生じた場合でも、データラッチ部13におけるデジタル値の上位ビットで誤ったデータが確定されることを抑制できる。また、後述するように、SAR141に更新設定されるデジタル値がAAAhまたは555hと一致して比較判定が困難となるのは、データラッチ部13におけるデジタル値の下位ビット位置であるので、データラッチ部13において確定されるデジタル値の誤差を小さくすることができる。 In addition, as shown in FIG. 6, in both cases of AAAh and 555h, the digital value (solid line in FIG. 6) that is updated and set in SAR141 is located well-balanced away from AAAh or 555h, so the digital value is Even if noise or offset error occurs in the voltage of the DA-converted first DAC data DACDT1, it is possible to prevent incorrect data from being determined in the upper bits of the digital value in the data latch section 13. Furthermore, as will be described later, it is the lower bit position of the digital value in the data latch section 13 that makes it difficult to compare and judge when the digital value updated and set in the SAR 141 matches AAAh or 555h. The error in the digital value determined in step 13 can be reduced.

また、SAR141に更新設定されるデジタル値をDAC19によりDA変換した電圧は、図6に例示的に一点鎖線で示すように、上記デジタル値に対してなまった波形となる。これにより、例えば図6の例であれば、AAAhに対してB00hをDA変換した電圧値がなまることで、当該電圧値がAAAhを下回ってしまい、データラッチ部13におけるデジタル値の9ビット目(図6の[8])が本来は“0”に確定されるべきところを誤って“1”に確定されてしまう。AAAhまたは555hに対して上記デジタル値は上下するので、DAC19のセトリング特性を厳しめの条件で確認することができる。また、コンパレータ11のセトリング特性も確認できる。 Further, the voltage obtained by converting the digital value updated and set in the SAR 141 from DA to digital by the DAC 19 has a waveform that is distorted with respect to the digital value, as exemplarily shown by the dashed line in FIG. As a result, in the example of FIG. 6, for example, the voltage value obtained by DA-converting B00h with respect to AAAh becomes dull, and the voltage value falls below AAAh, and the 9th bit of the digital value in the data latch section 13 ([8] in FIG. 6) should be determined to be "0", but it is mistakenly determined to be "1". Since the digital value increases or decreases with respect to AAAh or 555h, the settling characteristics of the DAC 19 can be confirmed under strict conditions. Furthermore, the settling characteristics of the comparator 11 can also be confirmed.

なお、テスト動作時に設定される第2DACデータDACDT2には、外部入力データを設定可能としてもよい。 Note that external input data may be set to the second DAC data DACDT2 set during the test operation.

<<許容誤差の設定>>
ここで、図7に示すように、SAR141に更新設定されるデジタル値が例えばAAAhと一致して比較判定が困難となるのは、データラッチ部13におけるデジタル値の下位ビット位置である2ビット目(図7の[1])である。2ビット目で正しく“1”が確定されると、SAR141におけるデジタル値は、AABhに更新設定されるので、LSB(図7の[0])は正しく“0”に確定される。この場合、出力信号OUTは正しくAAAhとなる。
<<Tolerance settings>>
Here, as shown in FIG. 7, the digital value that is updated and set in the SAR 141 matches, for example, AAAh, making it difficult to compare and judge the second bit, which is the lower bit position of the digital value in the data latch unit 13. ([1] in FIG. 7). When "1" is correctly determined in the second bit, the digital value in the SAR 141 is updated and set to AABh, so that the LSB ([0] in FIG. 7) is correctly determined to be "0". In this case, the output signal OUT is correctly AAAh.

しかしながら、2ビット目で誤って“0”が確定された場合、SAR141におけるデジタル値は、AA9hに更新設定されるので、LSBは “1”に確定される。この場合、出力信号OUTは、AA9hとなり、AAAhとは-1LSBの誤差が生じる。 However, if the second bit is erroneously determined to be "0", the digital value in the SAR 141 is updated to AA9h, and the LSB is determined to be "1". In this case, the output signal OUT becomes AA9h, which has an error of -1LSB from AAAh.

また、SAR141に更新設定されるデジタル値をDA変換した電圧値にノイズやオフセット誤差が生じた場合は、出力信号OUTにAAAhから数LSBのずれが発生する可能性がある。 Further, if noise or offset error occurs in the voltage value obtained by DA converting the digital value updated in the SAR 141, the output signal OUT may deviate from AAAh by several LSBs.

しかしながら、このように出力信号OUTにAAAhから数LSBのずれが発生しても、スペック未達の場合はあるが、ハザード状態とはならない。そこで、出力信号OUTのAAAhに対する許容誤差を設けることが望ましい。例えばAAAhに対して±2LSBの許容誤差を設けた場合、AA8h~AAChの出力信号OUTは許容することになる。すなわち、テスト動作時のデータ比較部23(図1)における比較判定に許容誤差を設けることとなる。 However, even if a deviation of several LSBs from AAAh occurs in the output signal OUT in this manner, it does not result in a hazard state, although the specification may not be achieved. Therefore, it is desirable to provide a tolerance for AAAh of the output signal OUT. For example, if a tolerance of ±2LSB is provided for AAAh, the output signals OUT of AA8h to AACh are allowed. In other words, a permissible error is provided in the comparison judgment in the data comparison section 23 (FIG. 1) during the test operation.

なお、突発的なノイズにより出力信号OUTが許容誤差を超える可能性を考慮し、例えばAAAhに対する出力信号OUTの生成を数回行い、データ比較部23において出力信号OUTのAAAhに対する比較判定を数回行い、許容誤差を超える回数が1回以下である場合、正常を示す検出信号FLOUTを出力してもよい。その他にも、1回の出力信号OUTの生成ごとに検出信号FLOUTを出力し、例えば外部のマイコンにより検出信号FLOUTが異常を示す回数をカウントしてもよい。この場合、上記突発的なノイズが生じたときに検出信号FLOUTは異常を示す状態として出力される。 Note that in consideration of the possibility that the output signal OUT may exceed the allowable error due to sudden noise, for example, the output signal OUT for AAAh is generated several times, and the data comparison unit 23 compares and determines the output signal OUT with respect to AAAh several times. If the number of times the tolerance is exceeded is one or less, a detection signal FLOUT indicating normality may be output. Alternatively, the detection signal FLOUT may be output every time the output signal OUT is generated, and the number of times the detection signal FLOUT indicates an abnormality may be counted by, for example, an external microcomputer. In this case, when the sudden noise occurs, the detection signal FLOUT is output as a state indicating an abnormality.

なお、データ比較部23において許容誤差を外部信号により可変に設定してもよい。例えば、外部信号により許容誤差を±2LSB、±4LSB、±8LSB、±16LSBに可変に設定してもよい。この場合、例えば次のような実施例を実施することができる。外部のマイコンにより初期は許容誤差を小さく設定しておき、出力信号OUTが許容誤差を超えた場合、マイコンが異常を示す検出信号FLOUTを受けて警告を行う。そして、マイコンは、現在の許容誤差より大きい許容誤差をデータ比較部23に設定する。その後、出力信号OUTが許容誤差を超えた場合、マイコンが異常を示す検出信号FLOUTを受けて先の警告よりも重い警告を行う。 Note that the allowable error in the data comparison section 23 may be variably set by an external signal. For example, the allowable error may be variably set to ±2LSB, ±4LSB, ±8LSB, or ±16LSB using an external signal. In this case, for example, the following example can be implemented. Initially, the allowable error is set small by an external microcomputer, and when the output signal OUT exceeds the allowable error, the microcomputer issues a warning upon receiving a detection signal FLOUT indicating an abnormality. Then, the microcomputer sets a tolerance larger than the current tolerance in the data comparison section 23. Thereafter, when the output signal OUT exceeds the allowable error, the microcomputer receives the detection signal FLOUT indicating an abnormality and issues a more serious warning than the previous warning.

<2.第2実施形態>
次に、本発明の第2実施形態について説明する。本実施形態は、先述した第1実施形態の一変形例であり、第1実施形態との相違点は、テスト動作時においてコンパレータ11にサンプリングさせるデータである。
<2. Second embodiment>
Next, a second embodiment of the present invention will be described. This embodiment is a modified example of the first embodiment described above, and the difference from the first embodiment is the data sampled by the comparator 11 during the test operation.

より具体的には、先述した図4のサンプリング動作状態において、レジスタ211に設定されるデジタル値(第2DACデータDACDT2)を000h(12ビットの最小値)からFFFh(12ビットの最大値)まで出力信号OUTの生成ごと(1変換ごと)にインクリメント(1ずつ増加)させ、出力信号OUTの生成ごとにデータ比較部23において比較判定を行う。当該比較判定において完全一致を判定条件とした場合は、全ての生成された出力信号OUTについて一致が確認されると、ミッシングコードが発生していないことが確認される(単調性の確認)。 More specifically, in the sampling operation state of FIG. 4 mentioned earlier, the digital value (second DAC data DACDT2) set in the register 211 is output from 000h (minimum value of 12 bits) to FFFh (maximum value of 12 bits). It is incremented (increased by 1) each time the signal OUT is generated (for each conversion), and a comparison judgment is performed in the data comparison section 23 each time the output signal OUT is generated. When a complete match is set as a judgment condition in the comparison and judgment, if the match is confirmed for all the generated output signals OUT, it is confirmed that no missing code has occurred (monotony confirmation).

但し、上記比較判定においても先述した第1実施形態のように許容誤差を設けることが可能であるが、この場合、許容誤差分だけミッシングコードの判定はできないことになる。 However, although it is possible to provide a tolerance in the comparison and determination described above as in the first embodiment described above, in this case, the missing code cannot be determined by the tolerance.

<3.第3実施形態>
次に、本発明の第3実施形態について説明する。なお、以降の第3~第5実施形態は、単独で実施してもよいし、先述した第1、第2実施形態と組み合わせて実施してもよい。
<3. Third embodiment>
Next, a third embodiment of the present invention will be described. Note that the following third to fifth embodiments may be implemented alone or in combination with the first and second embodiments described above.

第3実施形態に係るADC101の構成を図8に示す。図8に示すように、ADC101は、AD変換部1と、異常検出部3と、を備えている。AD変換部1は、先述した第1実施形態の構成(図1)とほぼ同様であり、セレクタ15は有していない。 FIG. 8 shows the configuration of the ADC 101 according to the third embodiment. As shown in FIG. 8, the ADC 101 includes an AD converter 1 and an abnormality detector 3. The AD conversion unit 1 has almost the same configuration as the first embodiment described above (FIG. 1), and does not include the selector 15.

異常検出部3は、カウンタ31と、監視部32と、を有している。カウンタ31は、変換開始信号取込み部17が変換開始信号STARTを取り込んだ際に、変換開始信号取込み部17からの指令により、カウントを開始する。なお、このとき、AD変換部1による変換動作が開始される。監視部32は、カウンタ31がカウントを開始すると、変換完了信号生成部16により生成される変換完了信号FLGの監視を開始する。 The abnormality detection section 3 includes a counter 31 and a monitoring section 32. The counter 31 starts counting in response to a command from the conversion start signal acquisition section 17 when the conversion start signal acquisition section 17 acquires the conversion start signal START. Note that at this time, the conversion operation by the AD conversion section 1 is started. When the counter 31 starts counting, the monitoring unit 32 starts monitoring the conversion completion signal FLG generated by the conversion completion signal generation unit 16.

監視部32は、カウンタ31が所定期間をカウントするまで、変換完了信号FLGが未完了を示すLowであることを確認すると、検出信号FLOUT2を正常を示すLowとする。そして、監視部32は、カウンタ31が所定期間をカウントした場合に、変換完了信号FLGが完了を示すHighであることを確認すると、検出信号FLOUT2を正常を示すLowとする。それ以外の場合は、監視部32は、検出信号FLOUT2を異常を示すHighとする。 When the monitoring unit 32 confirms that the conversion completion signal FLG is Low indicating incomplete until the counter 31 counts a predetermined period, it sets the detection signal FLOUT2 to Low indicating normality. Then, when the counter 31 counts a predetermined period and confirms that the conversion completion signal FLG is High indicating completion, the monitoring unit 32 sets the detection signal FLOUT2 to Low indicating normality. In other cases, the monitoring unit 32 sets the detection signal FLOUT2 to High indicating an abnormality.

このように、本実施形態によれば、AD変換完了信号FLGが正常に挙動しているかを確認できる。特に、本実施形態では、AD変換部1による通常動作を行いつつ、バックグラウンドで異常検出部3による検出動作を行うことができる。 In this manner, according to the present embodiment, it can be confirmed whether the AD conversion completion signal FLG is behaving normally. In particular, in this embodiment, while the AD conversion section 1 performs normal operations, the abnormality detection section 3 can perform detection operations in the background.

<4.第4実施形態>
次に、本発明の第4実施形態について説明する。図9は、本発明の第4実施形態に係るADCシステム201の構成を示す。
<4. Fourth embodiment>
Next, a fourth embodiment of the present invention will be described. FIG. 9 shows the configuration of an ADC system 201 according to a fourth embodiment of the present invention.

ADCシステム201は、ADC4と、異常検出部5と、異常検出部6と、を備えている。ADC4は、入力信号INを出力信号OUT1にAD変換して出力する。なお、ADC4は、逐次比較型に限ることはない。 The ADC system 201 includes an ADC 4 , an abnormality detection section 5 , and an abnormality detection section 6 . The ADC 4 AD converts the input signal IN into an output signal OUT1 and outputs the result. Note that the ADC 4 is not limited to the successive approximation type.

異常検出部5は、ADC4が正常に動作しているかを確認するために設けられ、ADC51と、比較回路52と、を有している。すなわち、ADCシステム201においては、ADCを2重化している。 The abnormality detection section 5 is provided to check whether the ADC 4 is operating normally, and includes an ADC 51 and a comparison circuit 52. That is, in the ADC system 201, the ADC is duplicated.

ADC51は、入力信号INを出力信号OUT2にAD変換して出力する。比較回路52は、出力信号OUT1とOUT2とを比較し、比較結果としての検出信号FLOUT11を出力する。より具体的には、比較回路52は、出力信号OUT1とOUT2が一致する場合、検出信号FLOUT11を正常を示すLowとし、出力信号OUT1とOUT2が一致しない場合、検出信号FLOUT11を異常を示すHighとする。検出信号FLOUT11がHighとなることにより、ADC4の異常状態を検出できる。なお、比較回路52による比較判定では、許容誤差を設けてもよい。 The ADC 51 AD converts the input signal IN into an output signal OUT2 and outputs the result. The comparison circuit 52 compares the output signals OUT1 and OUT2 and outputs a detection signal FLOUT11 as a comparison result. More specifically, when the output signals OUT1 and OUT2 match, the comparison circuit 52 sets the detection signal FLOUT11 to Low indicating normality, and when the output signals OUT1 and OUT2 do not match, sets the detection signal FLOUT11 to High indicating abnormality. do. When the detection signal FLOUT11 becomes High, an abnormal state of the ADC 4 can be detected. Note that a tolerance may be provided in the comparison and determination by the comparison circuit 52.

また、異常検出部6は、比較回路52の異常状態を検出するために設けられ、比較回路61と、EX-OR回路62と、を有している。すなわち、ADCシステム201では、比較回路を2重化している。 Further, the abnormality detection section 6 is provided to detect an abnormal state of the comparison circuit 52, and includes a comparison circuit 61 and an EX-OR circuit 62. That is, in the ADC system 201, the comparison circuit is duplicated.

比較回路61は、出力信号OUT1とOUT2とを比較し、比較結果としての比較出力信号CPOUTを出力する。より具体的には、比較回路61は、比較回路52と同じく、出力信号OUT1とOUT2が一致する場合、比較出力信号CPOUTを正常を示すLowとし、出力信号OUT1とOUT2が一致しない場合、比較出力信号CPOUTを異常を示すHighとする。なお、比較回路61による比較判定では、許容誤差を設けてもよい。 The comparison circuit 61 compares the output signals OUT1 and OUT2 and outputs a comparison output signal CPOUT as a comparison result. More specifically, like the comparison circuit 52, the comparison circuit 61 sets the comparison output signal CPOUT to Low indicating normality when the output signals OUT1 and OUT2 match, and sets the comparison output signal CPOUT to Low indicating normality when the output signals OUT1 and OUT2 do not match. The signal CPOUT is set to High indicating an abnormality. Note that an allowable error may be provided in the comparison and determination by the comparison circuit 61.

EX-OR回路62は、検出信号FLOUT11と比較出力信号CPOUTの排他的論理和をとり、検出信号FLOUT12を出力する。これにより、検出信号FLOUT11と比較出力信号CPOUTとが一致する場合、検出信号FLOUT12はLowになり、検出信号FLOUT11と比較出力信号CPOUTとが一致しない場合、検出信号FLOUT12はHighとなる。 The EX-OR circuit 62 takes the exclusive OR of the detection signal FLOUT11 and the comparison output signal CPOUT, and outputs the detection signal FLOUT12. As a result, when the detection signal FLOUT11 and the comparison output signal CPOUT match, the detection signal FLOUT12 becomes Low, and when the detection signal FLOUT11 and the comparison output signal CPOUT do not match, the detection signal FLOUT12 becomes High.

これにより、比較回路52が正常の場合、検出信号FLOUT11と比較出力信号CPOUTとは一致するので、検出信号FLOUT12は正常を示すLowとなり、比較回路52が異常の場合、検出信号FLOUT11と比較出力信号CPOUTとは一致しないので、検出信号FLOUT12は異常を示すHighとなる。 As a result, when the comparison circuit 52 is normal, the detection signal FLOUT11 and the comparison output signal CPOUT match, so the detection signal FLOUT12 becomes Low indicating normality, and when the comparison circuit 52 is abnormal, the detection signal FLOUT11 and the comparison output signal Since it does not match CPOUT, the detection signal FLOUT12 becomes High indicating an abnormality.

例えば、ADC4が故障して出力信号OUT1が異常となった場合、比較回路52が故障していると、検出信号FLOUT11は本来はHighであるところがLowとなって正常を示すことになるが、一方、比較出力信号CPOUTはHighとなる。これにより、検出信号FLOUT12は、Highとなる。これにより、検出信号FLOUT11の信頼性が損なわれていることを確認できる。 For example, if the ADC 4 fails and the output signal OUT1 becomes abnormal, and the comparator circuit 52 fails, the detection signal FLOUT11, which should be High, becomes Low, indicating normality. , the comparison output signal CPOUT becomes High. As a result, the detection signal FLOUT12 becomes High. Thereby, it can be confirmed that the reliability of the detection signal FLOUT11 is impaired.

また、本実施形態によれば、ADC4による通常動作を行いつつ、バックグラウンドで異常検出部5,6による検出動作を行うことができる。 Further, according to the present embodiment, while the ADC 4 performs the normal operation, the abnormality detection units 5 and 6 can perform the detection operation in the background.

<5.第5実施形態>
次に、本発明の第5実施形態について説明する。図10は、本発明の第5実施形態に係るADCシステム202の構成を示す。図10に示すように、ADCシステム202は、ADC40と、異常検出部7と、を有している。
<5. Fifth embodiment>
Next, a fifth embodiment of the present invention will be described. FIG. 10 shows the configuration of an ADC system 202 according to a fifth embodiment of the present invention. As shown in FIG. 10, the ADC system 202 includes an ADC 40 and an abnormality detection section 7.

ADC40は、逐次比較型である。異常検出部7は、MUX(マルチプレクサ)71と、期待値比較部72と、を有している。MUX71は、入力される入力信号INとDC参照電圧VREFのうちいずれかを選択して、選択出力信号SELOUTとして出力する。DC参照電圧VREFは、精度が保証されたDC電圧であり、例えばバンドギャップ電圧としてもよいし、DACの出力電圧としてもよい。 The ADC 40 is a successive approximation type. The abnormality detection section 7 includes a MUX (multiplexer) 71 and an expected value comparison section 72. The MUX 71 selects one of the input signal IN and the DC reference voltage VREF and outputs it as a selection output signal SELOUT. The DC reference voltage VREF is a DC voltage whose accuracy is guaranteed, and may be, for example, a bandgap voltage or an output voltage of a DAC.

選択出力信号SELOUTは、ADC40に入力される。より具体的には、逐次比較型であるADC40は、先述した図2に示すようなコンパレータ11におけるスイッチ111Aを有しており、選択出力信号SELOUTはスイッチ111Aの前段側に印加される。そして、ADC40は、入力された選択出力信号SELOUTを出力信号OUTにAD変換して出力する。 The selection output signal SELOUT is input to the ADC 40. More specifically, the successive approximation type ADC 40 has a switch 111A in the comparator 11 as shown in FIG. 2 described above, and the selection output signal SELOUT is applied to the previous stage side of the switch 111A. The ADC 40 then AD converts the input selection output signal SELOUT into an output signal OUT and outputs the resultant signal.

通常動作時は、MUX71により入力信号INが選択されて選択出力信号SELOUTとしてADC40に入力され、出力信号OUTに変換される。 During normal operation, the input signal IN is selected by the MUX 71, inputted to the ADC 40 as the selected output signal SELOUT, and converted into the output signal OUT.

また、テスト動作時には、MUX71によりDC参照電圧VREFが選択されて選択出力信号SELOUTとしてADC40に入力され、出力信号OUTに変換される。このとき、期待値比較部72は、出力信号OUTを、DC参照電圧VREFに対応した期待値(想定値)と比較する。期待値比較部72は、出力信号OUTが期待値と一致した場合、検出信号FLOUT21を正常を示すLowとして出力し、出力信号OUTが期待値と一致しない場合、検出信号FLOUT21を異常を示すHighとして出力する。なお、期待値比較部72における比較判定には、許容誤差を設けてもよい。 Further, during the test operation, the DC reference voltage VREF is selected by the MUX 71, inputted to the ADC 40 as the selection output signal SELOUT, and converted into the output signal OUT. At this time, the expected value comparison section 72 compares the output signal OUT with an expected value (estimated value) corresponding to the DC reference voltage VREF. When the output signal OUT matches the expected value, the expected value comparison unit 72 outputs the detection signal FLOUT21 as Low indicating normality, and when the output signal OUT does not match the expected value, outputs the detection signal FLOUT21 as High indicating abnormality. Output. Note that an allowable error may be provided for the comparison and determination in the expected value comparison section 72.

このような実施形態により、ADC40における上記スイッチの故障による異常を検出することが可能となる。 Such an embodiment makes it possible to detect an abnormality due to a failure of the switch in the ADC 40.

<6.電源監視ICへの適用>
次に、以上説明した各種実施形態に係るADC(またはADCシステム)を適用するシステムの一例として、車載システムについて説明する。近年、自動運転技術の開発、ADAS(高度運転支援システム)の採用の加速により、車載分野では機能安全の要求が高まっており、車載システムにおいて電源電圧を監視する電源監視ICを設ける必要性が生じている。
<6. Application to power supply monitoring IC>
Next, an in-vehicle system will be described as an example of a system to which the ADC (or ADC system) according to the various embodiments described above is applied. In recent years, with the development of autonomous driving technology and the accelerated adoption of ADAS (Advanced Driving Assistance Systems), demands for functional safety have increased in the automotive field, creating the need to install power supply monitoring ICs to monitor power supply voltage in in-vehicle systems. ing.

図11は、一実施例としての車載システム500の構成を示すブロック図である。図11に示す車載システム500は、DC/DCコンバータ50と、センサ60と、CAN(Controller Area Network)70と、電源監視IC80と、MCU(マイコン)90と、を備えている。 FIG. 11 is a block diagram showing the configuration of an in-vehicle system 500 as an example. The in-vehicle system 500 shown in FIG. 11 includes a DC/DC converter 50, a sensor 60, a CAN (Controller Area Network) 70, a power supply monitoring IC 80, and an MCU (microcomputer) 90.

DC/DCコンバータ50は、バッテリにより供給される電源電圧(DC電圧)VCCを電源電圧V1~V5のそれぞれに変換する。電源電圧V1は、MCU90に供給される。電源電圧V2~V4のそれぞれは、センサ60に供給される。電源電圧V5は、CAN70に供給される。 The DC/DC converter 50 converts a power supply voltage (DC voltage) VCC supplied by a battery into power supply voltages V1 to V5, respectively. Power supply voltage V1 is supplied to MCU90. Each of the power supply voltages V2 to V4 is supplied to the sensor 60. Power supply voltage V5 is supplied to CAN70.

電源監視IC80は、外部端子として端子T1~T6を有している。端子T6には、電源電圧VCCが印加される。また、電源監視IC80は、端子T1~T5に印加されるDC/DCコンバータ50の各出力電圧を監視する。より具体的には、端子T1~端子T5のそれぞれには電源電圧V1~V5が印加される。電源監視IC80は、端子T1~T5に印加される電源電圧V1~V5に異常が生じたことを検出すると、MCU90にSPI(Serial Peripheral Interface)通信により異常を通知する。 The power supply monitoring IC 80 has terminals T1 to T6 as external terminals. Power supply voltage VCC is applied to terminal T6. Further, the power supply monitoring IC 80 monitors each output voltage of the DC/DC converter 50 applied to the terminals T1 to T5. More specifically, power supply voltages V1 to V5 are applied to terminals T1 to T5, respectively. When the power supply monitoring IC 80 detects that an abnormality has occurred in the power supply voltages V1 to V5 applied to the terminals T1 to T5, it notifies the MCU 90 of the abnormality through SPI (Serial Peripheral Interface) communication.

ここで、端子T1~T5に印加される電圧(アナログ信号)を入力信号として入力されて電源監視IC80に備えられるADC(またはADCシステム)として、先述した各種実施形態を利用することができる。これにより、端子T1~T5に印加される電圧をAD変換するADCが正常に動作しているかを電源監視IC80において検出することが可能となる。 Here, the various embodiments described above can be used as the ADC (or ADC system) provided in the power supply monitoring IC 80 to which the voltages (analog signals) applied to the terminals T1 to T5 are input as input signals. This allows the power supply monitoring IC 80 to detect whether the ADC that performs AD conversion of the voltages applied to the terminals T1 to T5 is operating normally.

<7.その他>
以上、本発明の実施形態について説明したが、本発明の趣旨の範囲内であれば、実施形態は種々の変形が可能である。
<7. Others>
Although the embodiments of the present invention have been described above, the embodiments can be modified in various ways within the scope of the spirit of the present invention.

ここでは、本発明の趣旨の範囲内である容量型DACを有するコンパレータを用いたADCについて説明する。図12は、本発明の一実施形態に係るADC105の構成を示す図である。図12に示すADC105は、AD変換部106と、異常検出部107と、を備えている。AD変換部106は、アナログ信号である入力信号INをデジタル信号である出力信号OUTに変換する。以下、一例として、出力信号OUTは、12ビットデータであるとする。 Here, an ADC using a comparator having a capacitive DAC, which is within the scope of the present invention, will be described. FIG. 12 is a diagram showing the configuration of the ADC 105 according to an embodiment of the present invention. The ADC 105 shown in FIG. 12 includes an AD conversion section 106 and an abnormality detection section 107. The AD converter 106 converts the input signal IN, which is an analog signal, into the output signal OUT, which is a digital signal. Hereinafter, as an example, it is assumed that the output signal OUT is 12-bit data.

AD変換部106は、コンパレータ1065を有する。コンパレータ1065は、容量型DAC1060と、インバータ106Aと、スイッチ106Bと、を有する。 The AD converter 106 includes a comparator 1065. Comparator 1065 includes a capacitive DAC 1060, an inverter 106A, and a switch 106B.

容量型DAC1060は、コンデンサC0~C11と、スイッチSW0~SW11と、を有する。コンデンサC0~C11の各々の第1端同士は、インバータ106Aの入力端に共通接続される。スイッチSW0~SW11は、それぞれ、入力信号INの印加端と、High電圧VHの印加端と、Low電圧VLの印加端と、のいずれかとコンデンサC0~C11の各々の第2端との接続を選択的に切り替える。 The capacitive DAC 1060 includes capacitors C0 to C11 and switches SW0 to SW11. The first ends of each of the capacitors C0 to C11 are commonly connected to the input end of the inverter 106A. The switches SW0 to SW11 each select connection between the application end of the input signal IN, the application end of the High voltage VH, or the application end of the Low voltage VL, and the second end of each of the capacitors C0 to C11. Switch to target.

スイッチ106Bは、インバータ106Aの入出力端間の導通/遮断を切り替える。 The switch 106B switches conduction/cutoff between the input and output terminals of the inverter 106A.

AD変換部106は、コンパレータ1065以外にも、比較ラッチ部106Cと、データラッチ部106Dと、第1DACデータ生成部106Eと、セレクタ106Fと、スイッチ制御部106Gと、を有している。 In addition to the comparator 1065, the AD conversion section 106 includes a comparison latch section 106C, a data latch section 106D, a first DAC data generation section 106E, a selector 106F, and a switch control section 106G.

比較ラッチ部106Cは、コンパレータ1065(インバータ106A)から出力される比較信号CMPを保持する。すなわち、比較ラッチ部106Cは、HighまたはLowの1ビット信号を保持する。 Comparison latch section 106C holds comparison signal CMP output from comparator 1065 (inverter 106A). That is, the comparison latch unit 106C holds a 1-bit signal of High or Low.

データラッチ部106Dは、比較ラッチ部106Cの保持データに応じてビットごとにHighまたはLowのデータを保持し、12ビットのデータを保持する。データラッチ部13に保持された12ビットのデータは、出力信号OUTとして出力される。 The data latch unit 106D holds high or low data for each bit according to the data held by the comparison latch unit 106C, and holds 12 bits of data. The 12-bit data held in the data latch section 13 is output as an output signal OUT.

第1DACデータ生成部106Eは、SAR(逐次比較レジスタ)を有し、比較ラッチ部106Cの保持データに応じてデジタルデータである第1DACデータDT1を生成する。 The first DAC data generation section 106E has a SAR (successive approximation register), and generates first DAC data DT1, which is digital data, according to the data held in the comparison latch section 106C.

セレクタ106Fは、通常動作時には、第1DACデータDT1と、後述の第2DACデータ生成部107Aにより生成される第2DACデータDT2とのうち、第1DACデータDT1を選択してスイッチ制御部106Gに出力する。スイッチ制御部106Gは、スイッチSW0~SW11およびスイッチ106Bを制御する。 During normal operation, the selector 106F selects the first DAC data DT1 from among the first DAC data DT1 and second DAC data DT2 generated by a second DAC data generation unit 107A, which will be described later, and outputs the selected data to the switch control unit 106G. Switch control unit 106G controls switches SW0 to SW11 and switch 106B.

ここで、AD変換部106による通常動作について説明する。まず、図13に示すように、スイッチ制御部106GによりスイッチSW0~SW11はすべて入力信号INの印加端を選択し、スイッチ106Bはオンとされる。これにより、コンデンサC0~C11のそれぞれの第2端には入力信号INが印加され、インバータ106Aの入出力端間が短絡されてインバータ106Aの入力電圧Vinvは、インバータ106Aの閾値電圧Vthとなる。従って、コンデンサC0~C11の第2端に印加される入力信号INと第1端に印加されるVinv=Vthとの電圧差によって、コンデンサC0~C11に充電される総電荷量Q1は、
Q1=(C0+C1+・・・+C11)・(Vth-IN)となる。
Here, the normal operation by the AD converter 106 will be explained. First, as shown in FIG. 13, the switch control unit 106G selects the application terminal of the input signal IN for all the switches SW0 to SW11, and turns on the switch 106B. As a result, the input signal IN is applied to the second terminals of each of the capacitors C0 to C11, the input and output terminals of the inverter 106A are short-circuited, and the input voltage Vinv of the inverter 106A becomes the threshold voltage Vth of the inverter 106A. Therefore, the total charge Q1 charged in the capacitors C0 to C11 due to the voltage difference between the input signal IN applied to the second terminal of the capacitor C0 to C11 and Vinv=Vth applied to the first terminal is:
Q1=(C0+C1+...+C11)·(Vth-IN).

このようにして、コンパレータ1065により、入力信号INのサンプリングが行われる。次に、比較動作が行われる。比較動作では、スイッチ制御部106Gは、セレクタ106Fから出力される第1DACデータDT1に応じてスイッチSW0~SW11を制御するとともに、スイッチ106Bはオフとする。 In this way, the comparator 1065 samples the input signal IN. Next, a comparison operation is performed. In the comparison operation, the switch control unit 106G controls the switches SW0 to SW11 according to the first DAC data DT1 output from the selector 106F, and turns off the switch 106B.

具体的には、12ビットデータである第1DACデータDT1のMSBからLSBまでの各ビットがスイッチSW11~SW0の各々に対応しており、ビットが1である場合、スイッチはHigh電圧VHを選択し、ビットが0である場合、スイッチはLow電圧VL(=0V)を選択する。 Specifically, each bit from MSB to LSB of the first DAC data DT1, which is 12-bit data, corresponds to each of the switches SW11 to SW0, and when the bit is 1, the switch selects the High voltage VH. , if the bit is 0, the switch selects the Low voltage VL (=0V).

これにより、第1DACデータDT1の各ビットをb0~b11(b11がMSB)とすると、比較動作においてコンデンサC0~C11に充電される総電荷量Q2は、
Q2=C0(Vinv-VH・b0)+C1(Vinv-VH・b1)+・・・+C11(Vinv-VH・b11)となる。
As a result, if each bit of the first DAC data DT1 is b0 to b11 (b11 is MSB), the total amount of charge Q2 charged to the capacitors C0 to C11 in the comparison operation is:
Q2=C0(Vinv-VH·b0)+C1(Vinv-VH·b1)+...+C11(Vinv-VH·b11).

ここで、総電荷量は維持されるので、Q1=Q2となり、式を整理すると、
Vinv=(C0・VH・b0+C1・VH・b1+・・・+C11・VH・b11)/(C0+C1+・・・+C11)+Vth-IN
Here, since the total charge is maintained, Q1=Q2, and rearranging the equation,
Vinv=(C0・VH・b0+C1・VH・b1+...+C11・VH・b11)/(C0+C1+...+C11)+Vth-IN

従って、(C0・VH・b0+C1・VH・b1+・・・+C11・VH・b11)/(C0+C1+・・・+C11)と入力信号INとの大小関係が、VinvとVthとの大小関係となるので、第1DACデータDT1を容量型DAC1060により変換したアナログデータと入力信号INとの比較結果がインバータ106Aの出力である比較信号CMPとして出力される。 Therefore, the magnitude relationship between (C0・VH・b0+C1・VH・b1+...+C11・VH・b11)/(C0+C1+...+C11) and the input signal IN is the same as the magnitude relationship between Vinv and Vth. A comparison result between the analog data obtained by converting the first DAC data DT1 by the capacitive DAC 1060 and the input signal IN is output as a comparison signal CMP which is the output of the inverter 106A.

サンプリング動作の後、最初の比較動作として、第1DACデータ生成部106Eにより第1DACデータDT1は、MSBを1とし、残りのビットを0としたデータとされる。これにより、スイッチ制御部106Gは、図14に示すように、スイッチSW11のみHigh電圧VHを選択させ、残りのスイッチSW0~SW10にはLow電圧VLを選択させる。その結果、比較信号CMPが0の場合、第1DACデータ生成部106Eは、MSB(b11)を0とし、MSBの次の上位ビットである11ビット目(b10)を1として、それ以外のビット(b9~b0)は0とした第1DACデータDT1を生成する。一方、比較信号CMPが1の場合、第1DACデータ生成部106Eは、MSB(b11)を1とし、MSBの次の上位ビットである11ビット目(b10)を1として、それ以外のビット(b9~b0)は0とした第1DACデータDT1を生成する。 After the sampling operation, as a first comparison operation, the first DAC data generation unit 106E sets the first DAC data DT1 to data with the MSB set to 1 and the remaining bits set to 0. As a result, as shown in FIG. 14, the switch control unit 106G causes only the switch SW11 to select the High voltage VH, and causes the remaining switches SW0 to SW10 to select the Low voltage VL. As a result, when the comparison signal CMP is 0, the first DAC data generation unit 106E sets the MSB (b11) to 0, sets the 11th bit (b10) which is the next most significant bit after the MSB to 1, and sets the other bits ( b9 to b0) are set to 0 to generate the first DAC data DT1. On the other hand, when the comparison signal CMP is 1, the first DAC data generation unit 106E sets the MSB (b11) to 1, sets the 11th bit (b10) which is the next most significant bit after the MSB to 1, and sets the other bits (b9 ~b0) generates the first DAC data DT1 which is set to 0.

また、このとき、データラッチ部106D(図12)は、比較信号CMPが0の場合、MSBのビットデータを0、比較信号CMPが1の場合、MSBのビットデータを1として保持する。 Further, at this time, the data latch unit 106D (FIG. 12) holds the MSB bit data as 0 when the comparison signal CMP is 0, and holds the MSB bit data as 1 when the comparison signal CMP is 1.

すなわち、本実施形態における第1DACデータDT1の更新方法およびデータラッチ部106Dにおけるビットデータの確定方法は、上述した第1実施形態と同様である。 That is, the method of updating the first DAC data DT1 and the method of determining bit data in the data latch section 106D in this embodiment are the same as in the first embodiment described above.

そして、次の比較動作に移行し、スイッチ制御部1Gは、第1DACデータDT1に応じてスイッチSW0~SW11を制御する。図15は、上述で先の比較動作時に比較信号CMPが0であった場合のスイッチ状態を示す。11ビット目(b10)に対応するスイッチSW10のみがHigh電圧VHを選択し、それ以外のスイッチSW11、SW0~SW9はLow電圧VLを選択している。 Then, moving to the next comparison operation, the switch control unit 1G controls the switches SW0 to SW11 according to the first DAC data DT1. FIG. 15 shows the switch state when the comparison signal CMP was 0 during the previous comparison operation described above. Only the switch SW10 corresponding to the 11th bit (b10) selects the High voltage VH, and the other switches SW11 and SW0 to SW9 select the Low voltage VL.

以降、同様に比較信号CMPに応じて第1DACデータDT1を更新しつつ、データラッチ部102Dにおける保持データのビットを確定して比較動作を繰り返し、データラッチ部106Dにおける保持データのすべてのビットが確定されると、確定された12ビットデータが出力信号OUTとして出力される。 Thereafter, while updating the first DAC data DT1 in the same manner according to the comparison signal CMP, the bits of the data held in the data latch section 102D are determined and the comparison operation is repeated, and all the bits of the data held in the data latch section 106D are determined. Then, the determined 12-bit data is output as the output signal OUT.

例えば、C0=1C、C1=2C、・・・・、C10=1028C、C11=2048C、VH=1V、Vth=0.5Vとした場合、上述した
(C0・VH・b0+C1・VH・b1+・・・+C11・VH・b11)/(C0+C1+・・・+C11)=(b0+2・b1+8・b3+16・b4+32・b5+64・b6+128・b7+256・b8+512・b9+1024・b10+2048・b11)/4095となる。
For example, when C0=1C, C1=2C,..., C10=1028C, C11=2048C, VH=1V, Vth=0.5V, the above (C0・VH・b0+C1・VH・b1+・・・+C11・VH・b11)/(C0+C1+...+C11)=(b0+2・b1+8・b3+16・b4+32・b5+64・b6+128・b7+256・b8+512・b9+1024・b10+2048・b11)/4095.

この場合、例えば入力信号IN=0.1Vとすると、上述のサンプリングおよび比較動作によって出力信号OUT=0001_1001_1001となり、10進数では409に相当する。図16は、この場合の最終的なスイッチ状態を示す。 In this case, for example, if the input signal IN=0.1V, the output signal OUT=0001_1001_1001 by the above-mentioned sampling and comparison operation, which corresponds to 409 in decimal notation. FIG. 16 shows the final switch state in this case.

図12に説明を戻し、異常検出部107は、第2DACデータ生成部107Aと、データ比較部107Bと、を有している。 Returning to FIG. 12, the abnormality detection section 107 includes a second DAC data generation section 107A and a data comparison section 107B.

テスト動作時に、レジスタを有する第2DACデータ生成部107Aは、所定の12ビットデータである第2DACデータDT2を生成してセレクタ106Fに出力する。セレクタ106Fは、第2DACデータDT2を選択してスイッチ制御部106Gに出力する。 During the test operation, the second DAC data generation unit 107A having a register generates second DAC data DT2, which is predetermined 12-bit data, and outputs it to the selector 106F. The selector 106F selects the second DAC data DT2 and outputs it to the switch control unit 106G.

すると、スイッチ制御部106Gは、第2DACデータDT2に応じてスイッチSW0~SW11を制御する。この場合の制御は、上述した第1DACデータDT1に応じた制御と同様である。また、スイッチ制御部106Gは、スイッチ106Bをオンとする。これにより、コンデンサC0~C11には、各々に印加される電圧差に応じた電荷が充電される。 Then, the switch control unit 106G controls the switches SW0 to SW11 according to the second DAC data DT2. Control in this case is similar to the control according to the first DAC data DT1 described above. Further, the switch control unit 106G turns on the switch 106B. As a result, the capacitors C0 to C11 are charged with charges corresponding to the voltage difference applied to each capacitor.

このようにして、コンパレータ1065は、セレクタ106Fにより選択された第2DACデータDT2を容量型DAC1060により変換したアナログデータをサンプリングする。 In this way, the comparator 1065 samples the analog data obtained by converting the second DAC data DT2 selected by the selector 106F by the capacitive DAC 1060.

その後、通常動作時と同様に、セレクタ106Fにより選択された第1DACデータDT1に応じたスイッチSW0~SW11の制御を行い、スイッチ106Bはオフとして、比較信号CMPを出力する比較動作を行う。すなわち、コンパレータ1065は、サンプリングされた上記アナログデータと、セレクタ106Fにより選択された第1DACデータDT1と、を比較する。 Thereafter, similarly to the normal operation, the switches SW0 to SW11 are controlled according to the first DAC data DT1 selected by the selector 106F, the switch 106B is turned off, and a comparison operation is performed to output the comparison signal CMP. That is, the comparator 1065 compares the sampled analog data with the first DAC data DT1 selected by the selector 106F.

比較信号CMPに応じて第1DACデータDT1を更新しつつ、データラッチ部102Dにおける保持データのビットを確定して比較動作を繰り返し、データラッチ部106Dにおける保持データのすべてのビットが確定されると、確定された12ビットデータが出力信号OUTとして出力される。 While updating the first DAC data DT1 according to the comparison signal CMP, the bits of the data held in the data latch section 102D are determined and the comparison operation is repeated, and when all the bits of the data held in the data latch section 106D are determined, The determined 12-bit data is output as the output signal OUT.

そして、データ比較部107Bは、第2DACデータ生成部107Aから出力される第2DACデータDT2と、出力信号OUTとの比較を行い、比較結果としての検出信号FLOUTをADC105外部へ出力する。 The data comparison unit 107B then compares the second DAC data DT2 output from the second DAC data generation unit 107A with the output signal OUT, and outputs the detection signal FLOUT as the comparison result to the outside of the ADC 105.

本発明は、例えば、車載システムなどに利用することができる。 INDUSTRIAL APPLICATION This invention can be utilized for an in-vehicle system etc., for example.

10、101 ADC(ADコンバータ)
1 AD変換部
11 コンパレータ
111A、111B スイッチ
112 コンデンサ
113 インバータ
114 スイッチ
12 比較ラッチ部
13 データラッチ部
14 DACデータ生成部
141 SAR(逐次比較レジスタ)
15 セレクタ
16 変換完了信号生成部
17 変換開始信号取込み部
18 タイミング制御部
19 DAC(DAコンバータ)
2 異常検出部
21 DACデータ生成部
211 レジスタ
22 タイミング制御部
23 データ比較部
3 異常検出部
31 カウンタ
32 監視部
201、202 ADCシステム
4、40 ADC
5 異常検出部
51 ADC
52 比較回路
6 異常検出部
61 比較回路
62 EX-OR回路
7 異常検出部
71 MUX(マルチプレクサ)
72 期待値比較部
A1 AND回路
50 DC/DCコンバータ
60 センサ
70 CAN
80 電源監視IC
90 MCU(マイコン)
500 車載システム
105 ADC
106 AD変換部
1060 容量型DAC
1065 コンパレータ
106A インバータ
106B スイッチ
106C 比較ラッチ部
106D データラッチ部
106E 第1DACデータ生成部
106F セレクタ
106G スイッチ制御部
107 異常検出部
107A 第2DACデータ生成部
107B データ比較部
C0~C11 コンデンサ
SW0~SW11 スイッチ
10, 101 ADC (AD converter)
1 AD conversion section 11 Comparator 111A, 111B Switch 112 Capacitor 113 Inverter 114 Switch 12 Comparison latch section 13 Data latch section 14 DAC data generation section 141 SAR (successive approximation register)
15 Selector 16 Conversion completion signal generation section 17 Conversion start signal acquisition section 18 Timing control section 19 DAC (DA converter)
2 Abnormality detection section 21 DAC data generation section 211 Register 22 Timing control section 23 Data comparison section 3 Abnormality detection section 31 Counter 32 Monitoring section 201, 202 ADC system 4, 40 ADC
5 Abnormality detection section 51 ADC
52 Comparison circuit 6 Abnormality detection section 61 Comparison circuit 62 EX-OR circuit 7 Abnormality detection section 71 MUX (multiplexer)
72 Expected value comparison section A1 AND circuit 50 DC/DC converter 60 Sensor 70 CAN
80 Power supply monitoring IC
90 MCU (microcomputer)
500 In-vehicle system 105 ADC
106 AD conversion section 1060 Capacitive DAC
1065 Comparator 106A Inverter 106B Switch 106C Comparison latch section 106D Data latch section 106E First DAC data generation section 106F Selector 106G Switch control section 107 Abnormality detection section 107A Second DAC data generation section 107B Data comparison section C0 to C11 Capacitor SW0 to SW11 Switch

Claims (11)

コンパレータと、
デジタルデータである第1DACデータを生成する第1DACデータ生成部と、
DAC(DAコンバータ)と、
を有して、
前記コンパレータは、アナログ信号である入力信号をサンプリングし、サンプリングされた前記入力信号と、前記DACにより前記第1DACデータから変換されたアナログデータとを比較し、
前記第1DACデータ生成部は、前記コンパレータによる比較結果に応じて前記第1DACデータを更新し、
前記コンパレータによる比較結果に応じて出力信号のビットデータを確定する、AD変換部を備えたADコンバータであって、
所定のデジタルデータである第2DACデータを生成する第2DACデータ生成部と、
前記第2DACデータと前記出力信号とを比較し、比較結果としての第1検出信号を出力するデータ比較部と、
を有する第1異常検出部と、
前記第1DACデータと前記第2DACデータとのうちいずれかを選択するセレクタと、をさらに備え、
テスト動作時において、前記コンパレータは、前記セレクタにより選択された前記第2DACデータを前記DACにより変換したアナログデータをサンプリングし、サンプリングされた前記アナログデータと、前記セレクタにより選択された前記第1DACデータと、を比較し、
3ビット以上の前記所定のデジタルデータは、
前記出力信号のビット数のデータであって、1であるMSB(最上位ビット)からLSB(最下位ビット)まで順に0と1が交互に並ぶデータと、
前記出力信号のビット数のデータであって、0であるMSBからLSBまで順に0と1が交互に並ぶデータと、
を連続して設定可能である、ADコンバータ。
A comparator and
a first DAC data generation unit that generates first DAC data that is digital data;
DAC (DA converter) and
having
The comparator samples an input signal that is an analog signal, and compares the sampled input signal with analog data converted from the first DAC data by the DAC,
The first DAC data generation unit updates the first DAC data according to a comparison result by the comparator,
An AD converter comprising an AD conversion unit that determines bit data of an output signal according to a comparison result by the comparator,
a second DAC data generation unit that generates second DAC data that is predetermined digital data;
a data comparison unit that compares the second DAC data and the output signal and outputs a first detection signal as a comparison result;
a first abnormality detection section having;
further comprising a selector for selecting either the first DAC data or the second DAC data,
During the test operation, the comparator samples analog data obtained by converting the second DAC data selected by the selector by the DAC, and combines the sampled analog data with the first DAC data selected by the selector. , compare
The predetermined digital data of 3 bits or more is
data of the number of bits of the output signal, data in which 0 and 1 are arranged alternately in order from MSB (most significant bit) which is 1 to LSB (least significant bit);
data of the number of bits of the output signal, data in which 0s and 1s are arranged alternately in order from MSB which is 0 to LSB;
AD converter that can be set continuously .
前記ビット数は、12ビットであり、前記所定のデジタルデータは、AAAhまたは555hである、請求項に記載のADコンバータ。 The AD converter according to claim 1 , wherein the number of bits is 12 bits, and the predetermined digital data is AAAh or 555h. 前記データ比較部における比較判定には、許容誤差が設けられる、請求項1または請求項2に記載のADコンバータ。 3. The AD converter according to claim 1, wherein a permissible error is provided for the comparison determination in the data comparison section. 前記データ比較部は、比較判定を複数回行い、前記許容誤差を超える回数が1以上の所定回数以下である場合、正常を示す前記第1検出信号を出力する、請求項に記載のADコンバータ。 The AD converter according to claim 3 , wherein the data comparison unit performs the comparison determination multiple times, and outputs the first detection signal indicating normality when the number of times exceeding the tolerance is equal to or less than a predetermined number of times of 1 or more. . 前記許容誤差は、外部信号により可変に設定される、請求項または請求項に記載のADコンバータ。 5. The AD converter according to claim 3 , wherein the tolerance is variably set by an external signal. 前記所定のデジタルデータは、前記AD変換部による1回の変換動作ごとに変更されることで、前記出力信号のビット数でのダイナミックレンジにおける全てのデジタル値に設定される、請求項1から請求項のいずれか1項に記載のADコンバータ。 The predetermined digital data is set to all digital values in a dynamic range of the number of bits of the output signal by being changed for each conversion operation by the AD converter. The AD converter according to any one of Item 5 . 第2検出信号を出力する第2異常検出部をさらに備え、
前記AD変換部は、変換完了信号を生成する変換完了信号生成部をさらに有し、
前記第2異常検出部は、
前記AD変換部による変換動作が開始されるときにカウントを開始するカウンタと、
前記カウンタが所定期間をカウントするまで、前記変換完了信号が未完了を示すことを確認した場合、または前記カウンタが前記所定期間をカウントした場合に、前記変換完了信号が完了を示すことを確認した場合、正常を示す前記第2検出信号を出力し、それ以外の場合は、異常を示す前記第2検出信号を出力する監視部と、
を有する、請求項1から請求項のいずれか1項に記載のADコンバータ。
further comprising a second abnormality detection section that outputs a second detection signal,
The AD conversion unit further includes a conversion completion signal generation unit that generates a conversion completion signal,
The second abnormality detection section includes:
a counter that starts counting when the AD conversion unit starts a conversion operation;
If it is confirmed that the conversion completion signal indicates incomplete until the counter counts the predetermined period, or if the counter counts the predetermined period, it is confirmed that the conversion completion signal indicates completion. a monitoring unit that outputs the second detection signal indicating normality if the case is normal, and outputs the second detection signal indicating abnormality in other cases;
The AD converter according to any one of claims 1 to 6 , comprising:
請求項1から請求項のいずれか1項に記載のADコンバータと、
第3異常検出部と、
第4異常検出部と、
を備え、
前記第3異常検出部は、前記入力信号を第2出力信号にAD変換する第2ADコンバータと、前記出力信号と前記第2出力信号を比較して比較結果としての第3検出信号を出力する第1比較回路と、を有し、
前記第4異常検出部は、前記出力信号と前記第2出力信号を比較して比較出力信号を出力する第2比較回路と、前記第3検出信号と前記比較出力信号との排他的論理和をとることで第4検出信号を出力するEX-OR回路と、を有する、ADコンバータシステム。
The AD converter according to any one of claims 1 to 7 ,
a third abnormality detection section;
a fourth abnormality detection section;
Equipped with
The third abnormality detection section includes a second AD converter that AD converts the input signal into a second output signal, and a second AD converter that compares the output signal and the second output signal and outputs a third detection signal as a comparison result. 1 comparison circuit;
The fourth abnormality detection section includes a second comparison circuit that compares the output signal and the second output signal and outputs a comparison output signal, and an exclusive OR of the third detection signal and the comparison output signal. An AD converter system comprising: an EX-OR circuit that outputs a fourth detection signal by taking the signal.
前記コンパレータは、サンプリングに用いるコンデンサと、前記コンデンサの前段側に配置されるスイッチと、を有する請求項1から請求項のいずれか1項に記載のADコンバータと、
第5異常検出部と、
を備え、
前記第5異常検出部は、
前記入力信号とDC参照電圧とのいずれかを選択して前記スイッチの前段側に印加させる選択部と、
前記出力信号を前記DC参照電圧に対応する期待値と比較して比較結果としての第5検出信号を出力する期待値比較部と、
を有する、ADコンバータシステム。
The AD converter according to any one of claims 1 to 8 , wherein the comparator includes a capacitor used for sampling and a switch disposed before the capacitor.
a fifth abnormality detection section;
Equipped with
The fifth abnormality detection section includes:
a selection unit that selects either the input signal or the DC reference voltage and applies it to the front stage side of the switch;
an expected value comparison unit that compares the output signal with an expected value corresponding to the DC reference voltage and outputs a fifth detection signal as a comparison result;
An AD converter system with
電源電圧が印加される外部端子と、
前記入力信号として前記外部端子の電圧が入力される請求項1から請求項のいずれか1項に記載のADコンバータ、または、請求項または請求項に記載のADコンバータシステムと、
を備える、電源監視IC。
an external terminal to which power supply voltage is applied;
The AD converter according to any one of claims 1 to 7 , or the AD converter system according to claim 8 or 9 , wherein the voltage of the external terminal is input as the input signal,
A power supply monitoring IC equipped with
請求項10に記載の電源監視ICと、
バッテリから供給されるDC電圧を前記電源電圧に変換するDC/DCコンバータと、
前記電源監視ICと通信を行うマイコンと、
を備える、車載システム。
A power supply monitoring IC according to claim 10 ;
a DC/DC converter that converts a DC voltage supplied from a battery into the power supply voltage;
a microcomputer that communicates with the power supply monitoring IC;
An in-vehicle system equipped with
JP2019188437A 2019-10-15 2019-10-15 AD converter Active JP7341841B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019188437A JP7341841B2 (en) 2019-10-15 2019-10-15 AD converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019188437A JP7341841B2 (en) 2019-10-15 2019-10-15 AD converter

Publications (2)

Publication Number Publication Date
JP2021064873A JP2021064873A (en) 2021-04-22
JP7341841B2 true JP7341841B2 (en) 2023-09-11

Family

ID=75486607

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019188437A Active JP7341841B2 (en) 2019-10-15 2019-10-15 AD converter

Country Status (1)

Country Link
JP (1) JP7341841B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023033103A1 (en) * 2021-09-06 2023-03-09 ローム株式会社 Successive-approximation register based a/d converter

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001345699A (en) 2000-06-02 2001-12-14 Nec Microsystems Ltd Testing circuit of analog-to-digital converter and its testing method
JP2011041231A (en) 2009-08-18 2011-02-24 Renesas Electronics Corp Successive approximation type ad (analog/digital) converter and testing method thereof
JP2011228996A (en) 2010-04-21 2011-11-10 Hitachi Automotive Systems Ltd On-vehicle control device and inspection method of on-vehicle control device
JP2012227623A (en) 2011-04-15 2012-11-15 Toyota Motor Corp A/d converter, microcomputer and failure determination method
JP2013005185A (en) 2011-06-15 2013-01-07 Renesas Electronics Corp A/d conversion circuit and method of testing the same
JP2018133601A (en) 2017-02-13 2018-08-23 矢崎総業株式会社 Power supply device and method for determining abnormality of a/d conversion unit

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1155120A (en) * 1997-07-29 1999-02-26 Nec Kyushu Ltd A/d converter and microcomputer incorporating it

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001345699A (en) 2000-06-02 2001-12-14 Nec Microsystems Ltd Testing circuit of analog-to-digital converter and its testing method
JP2011041231A (en) 2009-08-18 2011-02-24 Renesas Electronics Corp Successive approximation type ad (analog/digital) converter and testing method thereof
JP2011228996A (en) 2010-04-21 2011-11-10 Hitachi Automotive Systems Ltd On-vehicle control device and inspection method of on-vehicle control device
JP2012227623A (en) 2011-04-15 2012-11-15 Toyota Motor Corp A/d converter, microcomputer and failure determination method
JP2013005185A (en) 2011-06-15 2013-01-07 Renesas Electronics Corp A/d conversion circuit and method of testing the same
JP2018133601A (en) 2017-02-13 2018-08-23 矢崎総業株式会社 Power supply device and method for determining abnormality of a/d conversion unit

Also Published As

Publication number Publication date
JP2021064873A (en) 2021-04-22

Similar Documents

Publication Publication Date Title
KR100724130B1 (en) Apparatus for detecting a/d converter abnormality
US8624764B2 (en) Test circuits and methods for redundant electronic systems
US8957802B1 (en) Metastability error detection and correction system and method for successive approximation analog-to-digital converters
US7956789B2 (en) Disconnection detecting circuit and disconnection detecting method by using capacitor
WO2009018124A1 (en) Configuring multi-bit slave addressing on a serial bus using a single external connection
JP3505119B2 (en) Input circuit
JP7341841B2 (en) AD converter
JP5033754B2 (en) AD converter and fault detection method of AD converter
JP2011077847A (en) A/d converter and open detection method thereof
CN109391269B (en) Successive approximation register type analog-digital converter and control method thereof
KR101975002B1 (en) Successive Approximation Register Analog to Digital Converter and Converting Method Thereof
US20100289684A1 (en) Analog-digital converter circuit and analog-digital conversion method
US10084465B2 (en) Analog-to-digital converters with a plurality of comparators
US9787318B2 (en) Signal control device
JP4305491B2 (en) Analog / digital converter
US7372391B1 (en) Pipeline ADC with memory effects achieving one cycle absolute over-range recovery
JP6463221B2 (en) ADC self-test circuit
JP2011176438A (en) A/d conversion device
US20100289683A1 (en) Reference voltage generation circuit, a/d converter and d/a converter
JP4639162B2 (en) Analog to digital converter
JP3805850B2 (en) A / D converter
JP5099446B2 (en) Digital / analog conversion module
JP4379445B2 (en) AD converter failure detection device
JP7217116B2 (en) analog/digital converter
CN116436468B (en) Analog-to-digital converter

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220831

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230524

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230530

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230714

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: 20230822

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230830

R150 Certificate of patent or registration of utility model

Ref document number: 7341841

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150