JP2010045553A - Digital-analog conversion module - Google Patents

Digital-analog conversion module Download PDF

Info

Publication number
JP2010045553A
JP2010045553A JP2008207554A JP2008207554A JP2010045553A JP 2010045553 A JP2010045553 A JP 2010045553A JP 2008207554 A JP2008207554 A JP 2008207554A JP 2008207554 A JP2008207554 A JP 2008207554A JP 2010045553 A JP2010045553 A JP 2010045553A
Authority
JP
Japan
Prior art keywords
output
multiplexer
digital
circuit
voltage
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.)
Granted
Application number
JP2008207554A
Other languages
Japanese (ja)
Other versions
JP5099446B2 (en
Inventor
Akira Takeda
晃 竹田
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP2008207554A priority Critical patent/JP5099446B2/en
Publication of JP2010045553A publication Critical patent/JP2010045553A/en
Application granted granted Critical
Publication of JP5099446B2 publication Critical patent/JP5099446B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a digital-analog conversion module which can determine whether or not a level of an output voltage is appropriate with a simple circuit arrangement. <P>SOLUTION: A digital-analog conversion module having a D/A convertor D/A converting a digital signal output from a microprocessor, a first multiplexer switching over a connection destination based on a first selection instruction output from the microprocessor after the output of the D/A convertor is input, a plurality of output circuits respectively provided to the outputs of the multiplexer, and output terminals respectively provided to the outputs of the output circuits has: a reference circuit inputting the outputs of the first multiplexer; a second multiplexer outputting any of the voltages supplied to the output terminals based on a second selection instruction output from the microprocessor; and a comparator comparing the output of the second multiplexer with the output of the reference circuit and outputting the comparison result to the microprocessor. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、プログラマブル・ロジック・コントローラ(以下「PLC」という)のデジタル/アナログ変換モジュールに関し、特に簡単な回路構成で出力電圧のレベルが適切かどうかを判断するデジタル・アナログ変換モジュールに関する。 The present invention relates to a digital / analog conversion module of a programmable logic controller (hereinafter referred to as “PLC”), and more particularly to a digital / analog conversion module for determining whether or not an output voltage level is appropriate with a simple circuit configuration.

一般に、プログラマブル・ロジック・コントローラは、CPUモジュール,電源モジュール,通信モジュール等の他,デジタル/アナログ変換モジュールで構成され、各種機器に接続されて使用される。 In general, a programmable logic controller is configured by a digital / analog conversion module in addition to a CPU module, a power supply module, a communication module, and the like, and is used by being connected to various devices.

また、このデジタル/アナログ変換モジュールは、通常、複数のアナログ出力端子(OUT1,OUT2,・・・,OUTn)を備え、これらの出力端子からD/A変換されたアナログ電圧が各種機器へ送信される。このようなデジタル/アナログ変換モジュールを備えたPLCの先行技術文献としては例えば特許文献1が知られている。 In addition, this digital / analog conversion module usually has a plurality of analog output terminals (OUT1, OUT2,..., OUTn), and analog voltages D / A converted from these output terminals are transmitted to various devices. The For example, Patent Document 1 is known as a prior art document of a PLC provided with such a digital / analog conversion module.

特開平09―319702号公報JP 09-319702 A

以下、図4と図5を参照して従来のデジタル/アナログ変換モジュールを説明する。ここで、図4はデジタル・アナログ変換モジュールの構成図であり、図5は図4の装置の動作を表すフローチャートである。 Hereinafter, a conventional digital / analog conversion module will be described with reference to FIGS. 4 and 5. FIG. 4 is a block diagram of the digital / analog conversion module, and FIG. 5 is a flowchart showing the operation of the apparatus of FIG.

マイクロプロセッサ(以下「MPU」という)10は、内部側回路に設けられ、ラインL1を介して出力電圧の指示値を表すデジタル信号をD/Aコンバータ(以下「DAC」という)20に出力する(図5のステップSA11)。 A microprocessor (hereinafter referred to as “MPU”) 10 is provided in an internal circuit, and outputs a digital signal representing an output voltage instruction value to a D / A converter (hereinafter referred to as “DAC”) 20 via a line L1 ( Step SA11 in FIG.

DAC20は、MPU10から入力されたデジタル信号をアナログ信号に変換し、ラインL3を介してマルチプレクサ(以下「MUX」という)に出力する(ステップSA11)。 The DAC 20 converts the digital signal input from the MPU 10 into an analog signal, and outputs the analog signal to the multiplexer (hereinafter referred to as “MUX”) via the line L3 (step SA11).

MUX30は、MPU10からラインL2を介して入力された第1の選択指示に基づいて出力回路40を選択し(ステップSA12)、出力端子OUT1,OUT2,・・・,OUTnを順番に切り換える(ステップSA10,SA20,SA30)。 The MUX 30 selects the output circuit 40 based on the first selection instruction input from the MPU 10 via the line L2 (step SA12), and sequentially switches the output terminals OUT1, OUT2,..., OUTn (step SA10). , SA20, SA30).

詳しくは、出力回路40は、出力端子OUT1,OUT2,・・・,OUTn(nは整数)の数nと同じ数だけ設けられ、それぞれ出力端子OUT1,OUT2,・・・,OUTnに接続する。 Specifically, as many output circuits 40 as the number n of output terminals OUT1, OUT2,..., OUTn (n is an integer) are connected to the output terminals OUT1, OUT2,.

また、出力回路40は、オペアンプ41とコンデンサ42で構成される。これにより、ある出力回路、出力端子が選択されているとき、MUX30が他の出力回路、出力端子へと切り換えられ、自己の出力回路にDAC20からアナログ電圧が供給されないような場合であっても、コンデンサ42はその電圧を保持し続ける。 The output circuit 40 includes an operational amplifier 41 and a capacitor 42. As a result, when a certain output circuit and output terminal are selected, the MUX 30 is switched to another output circuit and output terminal, and even if the analog voltage is not supplied from the DAC 20 to its own output circuit, Capacitor 42 continues to hold that voltage.

即ち、MUX30で選択された出力回路40のコンデンサ42の両端電圧は、DAC20からラインL3、MUX30を介して与えられる電圧と同じ値となり、オペアンプ41からはこのコンデンサ42の両端電圧に応じた電圧が出力される。 That is, the voltage across the capacitor 42 of the output circuit 40 selected by the MUX 30 has the same value as the voltage supplied from the DAC 20 via the line L3 and the MUX 30, and the operational amplifier 41 generates a voltage corresponding to the voltage across the capacitor 42. Is output.

DC/DCコンバータ50は、内部側回路と絶縁された各種機器側の回路に設けられ、上述したDAC20、MUX30、出力回路40に電圧を供給する。 The DC / DC converter 50 is provided in a circuit on the side of various devices insulated from the internal circuit, and supplies a voltage to the above-described DAC 20, MUX 30, and output circuit 40.

このように、従来のデジタル/アナログ変換モジュールでは、同一のデジタル/アナログ変換モジュールの中に複数の出力端子OUT1,OUT2,・・・,OUTnを設けている。 Thus, in the conventional digital / analog conversion module, a plurality of output terminals OUT1, OUT2,..., OUTn are provided in the same digital / analog conversion module.

ところが、図4に示すデジタル/アナログ変換モジュールでは、回路の故障、負荷の異常等により出力端子OUT1,OUT2,・・・,OUTnから正常なレベルの電圧が出力されない場合、次の理由で故障の検出が困難である。   However, in the digital / analog conversion module shown in FIG. 4, when a normal level voltage is not output from the output terminals OUT1, OUT2,..., OUTn due to a circuit failure, a load abnormality, etc., the failure occurs for the following reason. It is difficult to detect.

つまり、例えば、故障を検出するため、デジタル/アナログ変換モジュール内にA/D変換器を用意して、出力端子OUT1,OUT2,・・・,OUTnの出力電圧レベルをこのA/D変換器でデジタル信号に変換し、この変換されたデジタル信号の値をMPU10で取り込むことによりアナログ出力が正常か否かを判断する方法がある。 That is, for example, in order to detect a failure, an A / D converter is prepared in the digital / analog conversion module, and the output voltage levels of the output terminals OUT1, OUT2,. There is a method of determining whether or not the analog output is normal by converting into a digital signal and capturing the value of the converted digital signal by the MPU 10.

しかし、これではD/A変換により所定レベルのアナログ電圧を出力することを目的としたモジュール内に、更にA/D変換器も実装しなければならないため、回路の規模が大きくなる。 However, in this case, since the A / D converter must also be mounted in a module intended to output an analog voltage of a predetermined level by D / A conversion, the circuit scale increases.

他の方法として、MPU10は、機種によってはA/D変換機能付入力端子を備えたものがあり、この入力端子を利用して出力端子OUT1,OUT2,・・・,OUTnの出力電圧レベルのチェックを行うことも考えられる。 As another method, depending on the model, the MPU 10 has an input terminal with an A / D conversion function. Using this input terminal, the output voltage levels of the output terminals OUT1, OUT2,. Can also be considered.

しかし、出力端子OUT1,OUT2,・・・,OUTnが設けられた各種機器側回路とMPU10が設けられた内部側回路の間は絶縁されているため、アナログ信号の受け渡しを行うことは一般に困難である。 However, since various equipment side circuits provided with output terminals OUT1, OUT2,..., OUTn and internal side circuits provided with MPU 10 are insulated, it is generally difficult to transfer analog signals. is there.

本発明は、これらの問題点に鑑みてなされたものであり、簡単な回路構成で出力電圧のレベルが適切か否か判断するデジタル・アナログ変換モジュールを提供することを目的とする。 The present invention has been made in view of these problems, and an object of the present invention is to provide a digital / analog conversion module that determines whether or not an output voltage level is appropriate with a simple circuit configuration.

この様な課題を達成するために本発明は次の構成からなる。
(1)マイクロプロセッサから出力されたデジタル信号をD/A変換するD/Aコンバータと、このD/Aコンバータの出力が入力され前記マイクロプロセッサから出力される第1の選択指示に基づいて接続先を切り換える第1のマルチプレクサと、このマルチプレクサの出力にそれぞれ設けられる複数の出力回路と、この複数の出力回路の出力にそれぞれ設けられる複数の出力端子を備えたデジタル・アナログ変換モジュールにおいて、
前記第1のマルチプレクサの出力を入力するリファレンス回路と、
前記マイクロプロセッサから出力される第2の選択指示に基づいて複数の前記出力端子に供給される電圧のいずれかを出力する第2のマルチプレクサと、
前記第2のマルチプレクサの出力と前記リファレンス回路の出力を比較しその比較結果を前記マイクロプロセッサに出力するコンパレータと、
を備えたことを特徴とするデジタル・アナログ変換モジュール。
(2)前記マイクロプロセッサは、第1回目の検出動作では前記リファレンス回路に対してチェックすべき出力端子にかかる電圧と比較して+α又は−αの電圧を出力し、第2回目の検出動作では前記リファレンス回路に対して+α又は−αの電圧のうち第1回目の検出動作で選択されなかった方の電圧を出力することを特徴とする請求項1記載のデジタル・アナログ変換モジュール。
(3)前記第2のマルチプレクサのいずれかの入力に外部電源で生成するチェック電圧を供給し、前記コンパレータにて前記D/Aコンバータからの出力と比較することを特徴とする請求項1または請求項2のいずれかに記載のデジタル・アナログ変換モジュール。
(4)マイクロプロセッサから出力されたデジタル信号をD/A変換するD/Aコンバータと、このD/Aコンバータの出力が入力され前記マイクロプロセッサから出力される第1の選択指示に基づいて接続先を切り換える第1のマルチプレクサと、このマルチプレクサの出力にそれぞれ設けられる複数の出力回路と、この複数の出力回路の出力にそれぞれ設けられる複数の出力端子を備えたデジタル・アナログ変換モジュールにおいて、
前記第1のマルチプレクサの出力を入力するリファレンス回路と、
前記マイクロプロセッサから出力される第2の選択指示に基づいて複数の前記出力端子に供給される電圧のいずれかを出力する第2のマルチプレクサと、
前記リファレンス回路の出力を+α及び−αの演算を行ないそれぞれの結果を前記第2のマルチプレクサからの出力と比較してその比較結果を出力するレベル検出回路と、
を備えたことを特徴とするデジタル・アナログ変換モジュール。
(5)前記レベル検出回路は、
前記リファレンス回路から出力される電圧に対して+αの電圧を加算する第1の加算回路と、
前記リファレンス回路から出力される電圧に対して−αの電圧を加算する第2の加算回路と、
+端子に前記第1の加算回路の出力が入力され−端子に前記第2のマルチプレクサの出力が入力される第1のコンパレータと、
−端子に前記第2の加算回路の出力が入力され+端子に前記第2のマルチプレクサの出力が入力される第2のコンパレータと、
これら第1のコンパレータと第2のコンパレータの出力のアンドをとるアンド回路から構成されることを特徴とする請求項4記載のデジタル・アナログ変換モジュール。
(6)前記第2のマルチプレクサのいずれかの入力に外部電源で生成するチェック電圧を供給し、前記レベル検出回路にて前記D/Aコンバータからの出力と比較することを特徴とする請求項1または請求項2のいずれかに記載のデジタル・アナログ変換モジュール。
In order to achieve such a problem, the present invention has the following configuration.
(1) A D / A converter that D / A converts a digital signal output from a microprocessor, and a connection destination based on a first selection instruction that is output from the D / A converter and output from the microprocessor In a digital-to-analog conversion module comprising a first multiplexer for switching between, a plurality of output circuits provided at the outputs of the multiplexer, and a plurality of output terminals respectively provided at the outputs of the plurality of output circuits,
A reference circuit for inputting the output of the first multiplexer;
A second multiplexer that outputs one of the voltages supplied to the plurality of output terminals based on a second selection instruction output from the microprocessor;
A comparator that compares the output of the second multiplexer with the output of the reference circuit and outputs the comparison result to the microprocessor;
A digital-to-analog conversion module characterized by comprising:
(2) In the first detection operation, the microprocessor outputs + α or −α voltage compared to the voltage applied to the output terminal to be checked with respect to the reference circuit, and in the second detection operation, 2. The digital-to-analog conversion module according to claim 1, wherein a voltage that is not selected in the first detection operation is output from the + α or −α voltage to the reference circuit.
(3) The check voltage generated by an external power supply is supplied to any one of the inputs of the second multiplexer, and the comparator compares the output with the output from the D / A converter. Item 3. The digital / analog conversion module according to Item 2.
(4) A D / A converter that D / A converts a digital signal output from the microprocessor, and a connection destination based on a first selection instruction that is output from the D / A converter and output from the microprocessor In a digital-to-analog conversion module comprising a first multiplexer for switching between, a plurality of output circuits provided at the outputs of the multiplexer, and a plurality of output terminals respectively provided at the outputs of the plurality of output circuits,
A reference circuit for inputting the output of the first multiplexer;
A second multiplexer that outputs one of the voltages supplied to the plurality of output terminals based on a second selection instruction output from the microprocessor;
A level detection circuit that performs an operation of + α and −α on the output of the reference circuit, compares each result with the output from the second multiplexer, and outputs the comparison result;
A digital-to-analog conversion module characterized by comprising:
(5) The level detection circuit includes:
A first addition circuit for adding a voltage + α to the voltage output from the reference circuit;
A second addition circuit that adds a voltage of −α to the voltage output from the reference circuit;
A first comparator in which an output of the first adder circuit is input to a positive terminal and an output of the second multiplexer is input to a negative terminal;
A second comparator in which an output of the second adder circuit is input to a negative terminal and an output of the second multiplexer is input to a positive terminal;
5. The digital-to-analog conversion module according to claim 4, wherein the digital-to-analog conversion module comprises an AND circuit that takes an AND of outputs of the first comparator and the second comparator.
(6) A check voltage generated by an external power supply is supplied to any input of the second multiplexer, and the level detection circuit compares the check voltage with an output from the D / A converter. The digital-analog conversion module according to claim 2.

本発明では次のような効果がある。2回の検出動作を出力端子OUT1からOUTnまで順に行うので、それぞれの出力端子OUT1,OUT2,・・・,OUTnから出力される電圧のレベルが、ラインL1を介して出力される指示値±αの範囲内にあるか判断できる。 The present invention has the following effects. Since the two detection operations are sequentially performed from the output terminals OUT1 to OUTn, the level of the voltage output from each of the output terminals OUT1, OUT2,..., OUTn is the indicated value ± α output via the line L1. Can be determined.

以下、図1を参照して本発明によるデジタル・アナログ変換モジュールの構成例を説明する。ただし、図4で説明した構成と同様のものについては同一の符号を付して説明を省略する。 Hereinafter, a configuration example of a digital / analog conversion module according to the present invention will be described with reference to FIG. However, the same components as those described with reference to FIG.

本発明の特徴は、リファレンス回路60と、マルチプレクサMUX70と、コンパレータ80とを設けた点にある。リファレンス回路60は、MUX30の接続先の一つに設けるが、出力端子OUT1,OUT2,・・・,OUTnには接続しない。また、このリファレンス回路60は、オペアンプ61とコンデンサ62からなる。 A feature of the present invention is that a reference circuit 60, a multiplexer MUX 70, and a comparator 80 are provided. The reference circuit 60 is provided at one of the connection destinations of the MUX 30, but is not connected to the output terminals OUT1, OUT2,. The reference circuit 60 includes an operational amplifier 61 and a capacitor 62.

MUX70は、MPU10がラインL5を介して出力した第2の選択指示に基づいて、出力端子OUT1,OUT2,・・・,OUTnからの電圧信号のいずれか、又は後述する既知の電圧VRを選択して、コンパレータ80へ与える。 The MUX 70 selects one of the voltage signals from the output terminals OUT1, OUT2,..., OUTn, or a known voltage VR, which will be described later, based on the second selection instruction output from the MPU 10 via the line L5. To the comparator 80.

コンパレータ80は、リファレンス回路60から出力された信号と、MUX70で選択された信号とを入力し、MPU10にハイ・レベル又はロウ・レベルの比較結果に相当する信号を出力する。 The comparator 80 receives the signal output from the reference circuit 60 and the signal selected by the MUX 70, and outputs a signal corresponding to the comparison result of the high level or the low level to the MPU 10.

次に、図2のフローチャートを参照して図1の装置の動作を説明する。まず、1回目の検出動作を説明する。通常の動作は、図4と同様に、MPU10から、ラインL1を介して出力すべき値をDAC20へ供給し、MUX30で選択された出力回路40に接続された出力端子OUT1からアナログ電圧信号を出力し、以下順次、同様にして出力端子OUT2,・・・,OUTnからアナログ電圧信号を出力する。(図2のステップSB10,SB20,SB30)。 Next, the operation of the apparatus of FIG. 1 will be described with reference to the flowchart of FIG. First, the first detection operation will be described. In the normal operation, as in FIG. 4, the MPU 10 supplies a value to be output via the line L1 to the DAC 20, and outputs an analog voltage signal from the output terminal OUT1 connected to the output circuit 40 selected by the MUX 30. Thereafter, analog voltage signals are sequentially output from the output terminals OUT2,. (Steps SB10, SB20, and SB30 in FIG. 2).

そして、この動作の最後に、リファレンス回路60への接続(ステップSB40、SB43)を追加した点が本発明の特徴である。 A feature of the present invention is that a connection (steps SB40 and SB43) to the reference circuit 60 is added at the end of this operation.

このステップSB40,SB43にあっては、まず、MPU10からラインL2を介してMUX30をリファレンス回路60へ切り換える。その一方で、MPU10からDAC20へ、動作チェックのための指示値が与えられる。この指示値は、動作チェックが行われる出力端子OUT1,OUT2,・・・,OUTnのそれぞれの特性に基づいて決定される。 In steps SB40 and SB43, first, the MUX 30 is switched from the MPU 10 to the reference circuit 60 via the line L2. On the other hand, an instruction value for operation check is given from the MPU 10 to the DAC 20. This instruction value is determined based on the characteristics of the output terminals OUT1, OUT2,.

例えば、出力端子OUT1にかかる出力回路40をチェックする場合は、この出力回路40の特性等を考慮した値からなる指示値をMPU10からDAC20へ出力する。詳しくは、出力回路40へ供給した電圧信号に値αを加えた電圧(αは出力の精度に関する仕様等に基づいて決定する)を、DAC20を介してリファレンス回路60に与える(ステップSB42)。 For example, when the output circuit 40 applied to the output terminal OUT1 is checked, an instruction value including a value considering the characteristics of the output circuit 40 is output from the MPU 10 to the DAC 20. Specifically, a voltage obtained by adding a value α to the voltage signal supplied to the output circuit 40 (α is determined based on the specifications regarding the accuracy of output) is applied to the reference circuit 60 via the DAC 20 (step SB42).

これにより、図1に示すデジタル/アナログ変換モジュールが正常に動作している場合、出力端子OUT1からは、MPU10がDAC20を介して出力した電圧信号がそのまま出力され、リファレンス回路60からは、この出力端子OUT1から出力される電圧信号より(+α)分だけ高い電圧信号が出力される。 Thus, when the digital / analog conversion module shown in FIG. 1 is operating normally, the voltage signal output from the MPU 10 via the DAC 20 is output as it is from the output terminal OUT1, and this output is output from the reference circuit 60. A voltage signal higher by (+ α) than the voltage signal output from the terminal OUT1 is output.

従って、ラインL5を介して出力される選択指示に基づいて、MUX70が出力端子OUT1を選択すると(ステップSB41)、コンパレータ80はラインL6を介してハイ・レベルの信号をMPU10へ伝える(ステップSB44)。 Therefore, when the MUX 70 selects the output terminal OUT1 based on the selection instruction output via the line L5 (step SB41), the comparator 80 transmits a high level signal to the MPU 10 via the line L6 (step SB44). .

次に、2回目の検出動作を説明する。MPU10は、2順目の出力端子OUT1,OUT2,・・・,OUTnを一回りして、次にリファレンス回路60を切り換える。このときは、リファレンス回路60に対する指示値として、出力端子OUT1に対する出力電圧に対して(α)分だけ低い電圧信号(−α)を出力する。 Next, the second detection operation will be described. The MPU 10 goes round the second-order output terminals OUT1, OUT2,..., OUTn and then switches the reference circuit 60. At this time, a voltage signal (−α) lower by (α) than the output voltage for the output terminal OUT1 is output as an instruction value for the reference circuit 60.

この場合、デジタル/アナログ変換モジュールが正常に動作している場合は、リファレンス回路60から出力される電圧は出力端子OUT1から出力される電圧より(−α)だけ低いものとなる(ステップSB42)。 In this case, when the digital / analog conversion module is operating normally, the voltage output from the reference circuit 60 is lower by (−α) than the voltage output from the output terminal OUT1 (step SB42).

従って、ラインL5を介して出力される選択指示に基づいて、MUX70が出力端子OUT1を選択すると、コンパレータ80は、ラインL6を介してロウ・レベルの信号をMPU10へ伝達する(ステップSB44)。 Therefore, when the MUX 70 selects the output terminal OUT1 based on the selection instruction output via the line L5, the comparator 80 transmits a low level signal to the MPU 10 via the line L6 (step SB44).

これらの2回の検出動作により、出力端子OUT1から出力された電圧信号のレベルがMPU10からの出力値±αの範囲内にあるかどうかが判断でき、この範囲内に入っていれば、デジタル/アナログ変換モジュールの動作は正常である。   By these two detection operations, it can be determined whether or not the level of the voltage signal output from the output terminal OUT1 is within the range of the output value ± α from the MPU 10, and if within this range, the digital / The operation of the analog conversion module is normal.

一方、故障が発生して出力端子OUT1から出力される電圧のレベルに異常が発生している場合には、2回の異常検出動作の内、少なくとも1回は、MPU10で確認する信号L6のハイ・レベル信号又はロウ・レベル信号が期待値と一致しない。   On the other hand, when a failure has occurred and an abnormality has occurred in the level of the voltage output from the output terminal OUT1, at least one of the two abnormality detection operations, the signal L6 to be confirmed by the MPU 10 is high. • The level signal or low level signal does not match the expected value.

たとえば、出力端子OUT1から出力された電圧が正常値+αを上回る電圧となっている場合は、1回目の異常検出動作手続でラインL6を介してMPU10へ入力される信号はロウ・レベルとなる。なお、2回目の手続でも当然ロウ・レベルとなる。   For example, when the voltage output from the output terminal OUT1 exceeds the normal value + α, the signal input to the MPU 10 via the line L6 in the first abnormality detection operation procedure is at a low level. Of course, the second procedure will be low level.

このようにして、出力端子OUT1の動作チェックが行われる。これより後、出力端子OUT2,OUT3,・・・,OUTnについて同様の動作チェックを行う。または、MPU10側で指定した出力端子OUTj(jは整数)についてだけ、動作チェックを行うようにしてもよい。   In this way, the operation check of the output terminal OUT1 is performed. Thereafter, the same operation check is performed on the output terminals OUT2, OUT3,..., OUTn. Alternatively, the operation check may be performed only for the output terminal OUTj (j is an integer) designated on the MPU 10 side.

このように、2回の検出動作を出力端子OUT1,OUT2,・・・,OUTnまで順に、あるいはこの中の任意の出力端子OUTjについて行うことにより、それぞれの出力端子OUT1,OUT2,・・・,OUTnから出力される電圧信号のレベルが、ラインL1を介して出力される指示値±αの範囲内にあるかどうかが判断でき、正常動作あるいは異常動作を知ることができる。 In this way, by performing the detection operation twice for the output terminals OUT1, OUT2,..., OUTn in order or for any of the output terminals OUTj, the respective output terminals OUT1, OUT2,. It is possible to determine whether the level of the voltage signal output from OUTn is within the range of the indicated value ± α output via the line L1, and to know normal operation or abnormal operation.

また、DAC20及びこのDAC20の周辺回路の故障(ゲイン故障)等を検出する場合には、DAC20からの動作チェック信号を、MUX30を介してリファレンス回路60に入力し、リファレンス回路60の出力をコンパレータ80に入力する。   Further, when a failure (gain failure) or the like of the DAC 20 or a peripheral circuit of the DAC 20 is detected, an operation check signal from the DAC 20 is input to the reference circuit 60 via the MUX 30, and an output of the reference circuit 60 is output to the comparator 80. To enter.

そして、その一方で、外部電源に接続したツェナー・ダイオードZD等で直接的に既知の電圧VR(チェック電圧)を作り出し、これをMUX70で選択してコンパレータ80の一方の入力端子に入力する。   On the other hand, a known voltage VR (check voltage) is directly generated by a Zener diode ZD or the like connected to an external power supply, and this is selected by the MUX 70 and input to one input terminal of the comparator 80.

これにより、DAC20が正常動作をしていれば、コンパレータ80は、正常動作を表す信号(ハイ・レベル)を出力し、DAC20及びこのDAC20の周辺回路に異常があれば、コンパレータ80は、異常動作を表わす信号(ロウ・レベル)を出力する。   Thus, if the DAC 20 is operating normally, the comparator 80 outputs a signal (high level) indicating normal operation. If the DAC 20 and the peripheral circuit of the DAC 20 are abnormal, the comparator 80 operates abnormally. Is output (low level).

このように、出力回路40に依存しない既知の電圧VRを直接作り出すことにより、DAC20に故障が発生したのか、出力回路40に故障が発生したのかをも切り分けることができる。 In this way, by directly creating a known voltage VR that does not depend on the output circuit 40, it is possible to determine whether a failure has occurred in the DAC 20 or a failure has occurred in the output circuit 40.

次に、図3を用いて本発明の別の実施例を説明する。ただし、図1と同様の構成については同一の符号を付して説明を省略する。 Next, another embodiment of the present invention will be described with reference to FIG. However, the same components as those in FIG.

レベル検出回路90は、リファレンス回路60の後段に設けられる。また、レベル検出回路90は、加算回路91(”+α”の回路)、加算回路92(”−α”の回路)、コンパレータ93,94、アンド回路95からなる。 The level detection circuit 90 is provided in the subsequent stage of the reference circuit 60. The level detection circuit 90 includes an adder circuit 91 (“+ α” circuit), an adder circuit 92 (“−α” circuit), comparators 93 and 94, and an AND circuit 95.

加算器91はリファレンス回路60の出力に+αの電圧を加算する。加算回路92はリファレンス回路60の出力に−αの電圧を加算する。 The adder 91 adds + α voltage to the output of the reference circuit 60. The adder circuit 92 adds the voltage −α to the output of the reference circuit 60.

コンパレータ93の+端子には加算回路91の出力が入力され、−端子には加算回路92の出力が入力される。また、コンパレータ93の−端子及び+端子にはMUX70の出力が接続される。アンド回路95はコンパレータ93,94の積を比較結果としてラインL7を介してMPU10に出力する。 The output of the adder circuit 91 is input to the + terminal of the comparator 93, and the output of the adder circuit 92 is input to the − terminal. The output of the MUX 70 is connected to the − terminal and the + terminal of the comparator 93. The AND circuit 95 outputs the product of the comparators 93 and 94 as a comparison result to the MPU 10 via the line L7.

図3では、図1の構成と異なり、出力端子OUT1,OUT2,・・・,OUTnの電圧のレベルが正常と判断される範囲の指定(±α)を加算回路91,92で行う。従って、出力端子OUT1の電圧のレベルをチェックする場合は、リファレンス回路60に対する指示値も出力端子OUT1に対する指示値と同じ値とする。 In FIG. 3, unlike the configuration of FIG. 1, the addition circuits 91 and 92 specify a range (± α) in which the voltage levels of the output terminals OUT1, OUT2,. Accordingly, when checking the voltage level of the output terminal OUT1, the instruction value for the reference circuit 60 is also set to the same value as the instruction value for the output terminal OUT1.

以下、図3の動作を説明する。但し、図1の動作と異なる点は、リファレンス回路60に出力される指示値と1回のチェックで済む点のみであるため、重複した説明は省略する。また、図1と同様に出力端子OUT1の電圧をチェックする場合を例にとり説明する。 The operation of FIG. 3 will be described below. However, since the only difference from the operation of FIG. 1 is that the instruction value output to the reference circuit 60 and one check are sufficient, redundant description is omitted. Further, the case where the voltage of the output terminal OUT1 is checked as in FIG. 1 will be described as an example.

MPU10が、リファレンス回路60に出力する電圧は次の様になる。まず、MPU10が、ラインL2を介してMUX30をリファレンス回路60へ切り換える。そして、MPU10が、DAC20を介してリファレンス回路60に指示値を出力する。 The voltage output from the MPU 10 to the reference circuit 60 is as follows. First, the MPU 10 switches the MUX 30 to the reference circuit 60 via the line L2. Then, the MPU 10 outputs an instruction value to the reference circuit 60 via the DAC 20.

但し、リファレンス回路60に与えられる指示値は出力回路40に出力した指示値と全く同様の値となる。このため、コンパレータ93,94の入力端子にはそれぞれ次の電圧が供給されることとなる。 However, the instruction value given to the reference circuit 60 is exactly the same value as the instruction value output to the output circuit 40. Therefore, the following voltages are supplied to the input terminals of the comparators 93 and 94, respectively.

(1)コンパレータ93の+入力端子には、出力端子OUT1に対する指示値にαが加算された電圧。
(2)コンンパレータ94の−入力端子には、出力端子OUT1に対する指示値に値−αが加算された電圧。
(3)コンパレータ93の−入力端子及びコンパレータ94の+入力端子には、出力端子OUT1に対する指示値に相当する電圧。
(1) A voltage obtained by adding α to the indicated value for the output terminal OUT1 at the + input terminal of the comparator 93.
(2) A voltage obtained by adding the value −α to the indicated value for the output terminal OUT1 at the −input terminal of the comparator 94.
(3) A voltage corresponding to an instruction value for the output terminal OUT1 at the negative input terminal of the comparator 93 and the positive input terminal of the comparator 94.

このため、出力端子OUT1の電圧が(指示値±α)の範囲内に入っていれば、コンパレータ93,94の出力はそれぞれハイ・レベルとなる。 For this reason, if the voltage of the output terminal OUT1 is within the range of (indicated value ± α), the outputs of the comparators 93 and 94 are at a high level.

したがって、アンド回路95がその積をとり、ラインL7を介してMPU10へ比較結果を通知することにより、正常時はハイ・レベル、異常時はロウ・レベルとして、一回のチェックだけで異常を検出できる。 Therefore, the AND circuit 95 takes the product and notifies the MPU 10 of the comparison result via the line L7, so that the abnormality is detected with only one check, with the high level when normal and the low level when abnormal. it can.

このように、本発明によれば、DAC20の異常検出、出力回路OUT1,OUT2,・・・,OUTn側の異常検出をそれぞれ、別個に実現することができる As described above, according to the present invention, the abnormality detection of the DAC 20 and the abnormality detection on the output circuits OUT1, OUT2,..., OUTn side can be realized separately.

本発明によるデジタル・アナログ変換モジュールの構成図である。It is a block diagram of the digital-analog conversion module by this invention. 図1のフローチャートである。It is a flowchart of FIG. 本発明の応用例である。It is an application example of the present invention. 従来のデジタル・アナログ変換モジュールの構成図である。It is a block diagram of a conventional digital / analog conversion module. 図4のフローチャートである。It is a flowchart of FIG.

符号の説明Explanation of symbols

10 MPU
20 DAC
30 MUX
40 出力回路
50 DC/DCコンバータ
60 リファレンス回路
61 オペンアプ
62 コンデンサ
70 MUX
80 コンパレータ
90 レベル検出回路
91 加算回路
92 加算回路
93 コンパレータ
94 コンパレータ
95 AND回路



10 MPU
20 DAC
30 MUX
40 Output circuit 50 DC / DC converter 60 Reference circuit 61 Open-up 62 Capacitor 70 MUX
80 comparator 90 level detection circuit 91 addition circuit 92 addition circuit 93 comparator 94 comparator 95 AND circuit



Claims (6)

マイクロプロセッサから出力されたデジタル信号をD/A変換するD/Aコンバータと、このD/Aコンバータの出力が入力され前記マイクロプロセッサから出力される第1の選択指示に基づいて接続先を切り換える第1のマルチプレクサと、このマルチプレクサの出力にそれぞれ設けられる複数の出力回路と、この複数の出力回路の出力にそれぞれ設けられる複数の出力端子を備えたデジタル・アナログ変換モジュールにおいて、
前記第1のマルチプレクサの出力を入力するリファレンス回路と、
前記マイクロプロセッサから出力される第2の選択指示に基づいて複数の前記出力端子に供給される電圧のいずれかを出力する第2のマルチプレクサと、
前記第2のマルチプレクサの出力と前記リファレンス回路の出力を比較しその比較結果を前記マイクロプロセッサに出力するコンパレータと、
を備えたことを特徴とするデジタル・アナログ変換モジュール。
A D / A converter that D / A converts a digital signal output from the microprocessor, and a D / A converter that receives the output of the D / A converter and switches a connection destination based on a first selection instruction output from the microprocessor. In a digital-to-analog conversion module comprising one multiplexer, a plurality of output circuits respectively provided at the output of the multiplexer, and a plurality of output terminals respectively provided at the outputs of the plurality of output circuits,
A reference circuit for inputting the output of the first multiplexer;
A second multiplexer that outputs one of the voltages supplied to the plurality of output terminals based on a second selection instruction output from the microprocessor;
A comparator that compares the output of the second multiplexer with the output of the reference circuit and outputs the comparison result to the microprocessor;
A digital-to-analog conversion module characterized by comprising:
前記マイクロプロセッサは、第1回目の検出動作では前記リファレンス回路に対してチェックすべき出力端子にかかる電圧と比較して+α又は−αの電圧を出力し、第2回目の検出動作では前記リファレンス回路に対して+α又は−αの電圧のうち第1回目の検出動作で選択されなかった方の電圧を出力することを特徴とする請求項1記載のデジタル・アナログ変換モジュール。   The microprocessor outputs + α or −α voltage compared to the voltage applied to the output terminal to be checked for the reference circuit in the first detection operation, and the reference circuit in the second detection operation. 2. The digital-analog conversion module according to claim 1, wherein the voltage that is not selected in the first detection operation among the voltages of + α or −α is output. 前記第2のマルチプレクサのいずれかの入力に外部電源で生成するチェック電圧を供給し、前記コンパレータにて前記D/Aコンバータからの出力と比較することを特徴とする請求項1または請求項2のいずれかに記載のデジタル・アナログ変換モジュール。   3. The check voltage generated by an external power supply is supplied to one of the inputs of the second multiplexer, and the comparator compares the output with the output from the D / A converter. The digital-analog conversion module described in any one. マイクロプロセッサから出力されたデジタル信号をD/A変換するD/Aコンバータと、このD/Aコンバータの出力が入力され前記マイクロプロセッサから出力される第1の選択指示に基づいて接続先を切り換える第1のマルチプレクサと、このマルチプレクサの出力にそれぞれ設けられる複数の出力回路と、この複数の出力回路の出力にそれぞれ設けられる複数の出力端子を備えたデジタル・アナログ変換モジュールにおいて、
前記第1のマルチプレクサの出力を入力するリファレンス回路と、
前記マイクロプロセッサから出力される第2の選択指示に基づいて複数の前記出力端子に供給される電圧のいずれかを出力する第2のマルチプレクサと、
前記リファレンス回路の出力を+α及び−αの演算を行ないそれぞれの結果を前記第2のマルチプレクサからの出力と比較してその比較結果を出力するレベル検出回路と、
を備えたことを特徴とするデジタル・アナログ変換モジュール。
A D / A converter that D / A converts a digital signal output from the microprocessor, and a D / A converter that receives the output of the D / A converter and switches a connection destination based on a first selection instruction output from the microprocessor. In a digital-to-analog conversion module comprising one multiplexer, a plurality of output circuits respectively provided at the output of the multiplexer, and a plurality of output terminals respectively provided at the outputs of the plurality of output circuits,
A reference circuit for inputting the output of the first multiplexer;
A second multiplexer that outputs one of the voltages supplied to the plurality of output terminals based on a second selection instruction output from the microprocessor;
A level detection circuit that performs an operation of + α and −α on the output of the reference circuit, compares each result with the output from the second multiplexer, and outputs the comparison result;
A digital-to-analog conversion module characterized by comprising:
前記レベル検出回路は、
前記リファレンス回路から出力される電圧に対して+αの電圧を加算する第1の加算回路と、
前記リファレンス回路から出力される電圧に対して−αの電圧を加算する第2の加算回路と、
+端子に前記第1の加算回路の出力が入力され−端子に前記第2のマルチプレクサの出力が入力される第1のコンパレータと、
−端子に前記第2の加算回路の出力が入力され+端子に前記第2のマルチプレクサの出力が入力される第2のコンパレータと、
これら第1のコンパレータと第2のコンパレータの出力のアンドをとるアンド回路から構成されることを特徴とする請求項4記載のデジタル・アナログ変換モジュール。
The level detection circuit includes:
A first addition circuit for adding a voltage + α to the voltage output from the reference circuit;
A second addition circuit that adds a voltage of −α to the voltage output from the reference circuit;
A first comparator in which an output of the first adder circuit is input to a positive terminal and an output of the second multiplexer is input to a negative terminal;
A second comparator in which an output of the second adder circuit is input to a negative terminal and an output of the second multiplexer is input to a positive terminal;
5. The digital-to-analog conversion module according to claim 4, wherein the digital-to-analog conversion module comprises an AND circuit that takes an AND of outputs of the first comparator and the second comparator.
前記第2のマルチプレクサのいずれかの入力に外部電源で生成するチェック電圧を供給し、前記レベル検出回路にて前記D/Aコンバータからの出力と比較することを特徴とする請求項1または請求項2のいずれかに記載のデジタル・アナログ変換モジュール。   2. The check voltage generated by an external power supply is supplied to one of the inputs of the second multiplexer, and the level detection circuit compares the check voltage with the output from the D / A converter. The digital-analog conversion module according to any one of 2 above.
JP2008207554A 2008-08-12 2008-08-12 Digital / analog conversion module Active JP5099446B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008207554A JP5099446B2 (en) 2008-08-12 2008-08-12 Digital / analog conversion module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008207554A JP5099446B2 (en) 2008-08-12 2008-08-12 Digital / analog conversion module

Publications (2)

Publication Number Publication Date
JP2010045553A true JP2010045553A (en) 2010-02-25
JP5099446B2 JP5099446B2 (en) 2012-12-19

Family

ID=42016573

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008207554A Active JP5099446B2 (en) 2008-08-12 2008-08-12 Digital / analog conversion module

Country Status (1)

Country Link
JP (1) JP5099446B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012133519A1 (en) * 2011-03-28 2012-10-04 ルネサスエレクトロニクス株式会社 Semiconductor processing device and semiconductor processing method
CN109510624A (en) * 2018-10-22 2019-03-22 中国航空工业集团公司洛阳电光设备研究所 A kind of airborne equipment high voltage digital-to-analogue conversion and verifying attachment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5778136U (en) * 1980-10-29 1982-05-14
JPS58142747U (en) * 1982-03-15 1983-09-26 株式会社北辰電機製作所 Analog-digital converter
JPS6261426A (en) * 1985-09-11 1987-03-18 Fuji Electric Co Ltd Digital-analog converter
JPH0247711A (en) * 1988-08-09 1990-02-16 Yokogawa Electric Corp Analog input/output device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5778136U (en) * 1980-10-29 1982-05-14
JPS58142747U (en) * 1982-03-15 1983-09-26 株式会社北辰電機製作所 Analog-digital converter
JPS6261426A (en) * 1985-09-11 1987-03-18 Fuji Electric Co Ltd Digital-analog converter
JPH0247711A (en) * 1988-08-09 1990-02-16 Yokogawa Electric Corp Analog input/output device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012133519A1 (en) * 2011-03-28 2012-10-04 ルネサスエレクトロニクス株式会社 Semiconductor processing device and semiconductor processing method
JPWO2012133519A1 (en) * 2011-03-28 2014-07-28 ルネサスエレクトロニクス株式会社 Semiconductor processing apparatus and semiconductor processing system
CN109510624A (en) * 2018-10-22 2019-03-22 中国航空工业集团公司洛阳电光设备研究所 A kind of airborne equipment high voltage digital-to-analogue conversion and verifying attachment
CN109510624B (en) * 2018-10-22 2022-12-06 中国航空工业集团公司洛阳电光设备研究所 High-voltage digital-to-analog conversion and inspection device for airborne equipment

Also Published As

Publication number Publication date
JP5099446B2 (en) 2012-12-19

Similar Documents

Publication Publication Date Title
JP5313008B2 (en) Correction signal generator and A / D converter
CN111344939B (en) Parallel power supply device
US10243466B2 (en) Switching power supply apparatus and error correction method
JP2010263531A (en) A/d conversion circuit and test method
US20150130379A1 (en) Ground fault detecting circuit and power converting device including the same
JP6288773B2 (en) Power converter
JP2007285764A (en) Semiconductor device and its self-test failure detection method
JP2010103737A (en) Adc test circuit
US8072097B2 (en) Power supply apparatus and voltage monitoring method
JP5099446B2 (en) Digital / analog conversion module
JP2010098835A (en) Power supply device
JP2016123238A (en) Power storage device and control method for power storage device
EP3352363A1 (en) Power converter control device
JP2008187874A (en) Phase interruption detector of three-phase ac power supply
JP2007110755A (en) A/d conversion apparatus
US9417644B2 (en) Apparatus for and method of controlling power supply system
JP2017166938A (en) State monitoring device
US9276465B2 (en) Switching regulator detecting abnormality in power supply voltage
JP7341841B2 (en) AD converter
JP6463221B2 (en) ADC self-test circuit
JPWO2018134920A1 (en) Isolator circuit
JP2011019349A (en) Plurality of power supply device
JP2021052122A5 (en)
JP5726476B2 (en) Control device for power converter
JP6455052B2 (en) Semiconductor device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110318

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120827

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120912

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

Free format text: PAYMENT UNTIL: 20151005

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5099446

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250