JP2013225781A - A/d conversion device - Google Patents

A/d conversion device Download PDF

Info

Publication number
JP2013225781A
JP2013225781A JP2012097311A JP2012097311A JP2013225781A JP 2013225781 A JP2013225781 A JP 2013225781A JP 2012097311 A JP2012097311 A JP 2012097311A JP 2012097311 A JP2012097311 A JP 2012097311A JP 2013225781 A JP2013225781 A JP 2013225781A
Authority
JP
Japan
Prior art keywords
mode
converter
objects
switching
analog electric
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
JP2012097311A
Other languages
Japanese (ja)
Other versions
JP5368601B2 (en
Inventor
Takuhiro Okanoe
卓弘 岡上
Yu Kawano
佑 川野
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2012097311A priority Critical patent/JP5368601B2/en
Publication of JP2013225781A publication Critical patent/JP2013225781A/en
Application granted granted Critical
Publication of JP5368601B2 publication Critical patent/JP5368601B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an A/D conversion device that dispenses with any further A/D converters and has a fault diagnosis function added without employing additional circuits.SOLUTION: In an A/D conversion device 10 having an A/D converter 1 for converting an analog electrical quantity of objects 4, 5 to be detected to a digital quantity, switching circuits 3a, 3b for connecting a plurality of analog electrical quantities to the A/D converter 1, and control means 2 for controlling the switching circuits 3a, 3b independently of each other, the control means 2 generates a first mode in which analog electrical quantities of the objects 4, 5 are independently output to the A/D converter 1 one by one, a second mode in which two or more analog electrical quantities of the objects 4, 5 are simultaneously output to the A/D converter 1, and a third mode in which none of the analog electrical quantities of the objects 4, 5 are output, and acquires individual A/D conversion values of the objects 4, 5 in the first mode and detects an anomaly in the device in the second mode and the third mode.

Description

この発明は、アナログ量からディジタル量に変換するA/D変換装置に関するものである。   The present invention relates to an A / D converter for converting an analog quantity into a digital quantity.

従来、アナログ量をCPUなどが使用できる形式のディジタル量に変換するA/D変換器を複数保有したCPUがあった。近年、一つのシステムでCPUが入力するアナログ信号が増加しており、A/D変換器(CPUではA/Dポート)の絶対数が不足している。そこで、A/D変換器に入力される情報を、インターフェース回路を用いることにより選択的に切替えて使用する方法が取られていた。(例えば、特許文献1参照)   Conventionally, there has been a CPU having a plurality of A / D converters for converting an analog quantity into a digital quantity that can be used by a CPU. In recent years, the number of analog signals input by the CPU in one system has increased, and the absolute number of A / D converters (A / D ports in the CPU) is insufficient. Therefore, a method has been adopted in which information input to the A / D converter is selectively switched using an interface circuit. (For example, see Patent Document 1)

特開2007−333574号公報JP 2007-333574 A

上記特許文献1に開示されたA/D変換器の使用形態は、複数の入力すべき情報をスイッチにより選択的に切替えて、マイクロプロセッサに取り込むように構成されている。この構成によれば、A/D変換器の個数を増加させることなく、入力情報の数を増やすことができる。しかし、このような従来装置は、単にA/D変換器の数を抑制するもので、そのシステムにおいては、入力情報を切り替えるスイッチが追加になっており、そのスイッチに対しての故障診断、機能も充実させることが必要となり、その場合は別途追加回路を設けて行わざるを得なかった。   The usage pattern of the A / D converter disclosed in Patent Document 1 is configured to selectively switch a plurality of pieces of information to be input by a switch and take them into a microprocessor. According to this configuration, the number of input information can be increased without increasing the number of A / D converters. However, such a conventional apparatus simply suppresses the number of A / D converters, and in the system, a switch for switching input information is added. In this case, an additional circuit must be provided separately.

この発明は、A/D変換器の数を増やすことなく、かつ追加回路を設けることなく、故障診断機能を付加できるA/D変換装置を提供することを目的とするものである。   An object of the present invention is to provide an A / D conversion device to which a failure diagnosis function can be added without increasing the number of A / D converters and without providing an additional circuit.

上記課題を解決するために、この発明によるA/D変換装置は、検出すべき対象物のアナログ電気量をディジタル量に変換するA/D変換器と、前記A/D変換器に複数のアナログ電気量を接続するスイッチング回路と、前記スイッチング回路をそれぞれ独立に制御する制御手段とを備えたA/D変換装置において、前記制御手段は、前記対象物のアナログ電気量を1つずつ独立に前記A/D変換器へ出力する第1モードと、前記対象物のアナログ電気量を2つ以上同時に前記A/D変換器へ出力する第2モードと、前記対象物のアナログ電気量を全て出力しない第3モードを発生させ、前記第1モードの時に前記各対象物のA/D変換値を個別に取得し、前記第2モードおよび前記第3モードの時に装置の異常を検出するものである。   In order to solve the above problems, an A / D converter according to the present invention includes an A / D converter that converts an analog electrical quantity of an object to be detected into a digital quantity, and a plurality of analogs in the A / D converter. In an A / D conversion device comprising a switching circuit for connecting an electric quantity and a control means for independently controlling the switching circuit, the control means independently converts the analog electric quantity of the object one by one. The first mode for outputting to the A / D converter, the second mode for outputting two or more analog electric quantities of the object to the A / D converter at the same time, and not outputting all the analog electric quantities of the object A third mode is generated, A / D conversion values of the respective objects are individually acquired in the first mode, and an apparatus abnormality is detected in the second mode and the third mode.

この発明のA/D変換装置によれば、A/D変換器の数を増やすことなく、多数の取り込み信号対象のアナログ電気信号を順次A/D変換器でディジタル信号に変換して取り込むことができ、さらに追加回路も不要で故障診断機能を簡単に付加できる効果がある。   According to the A / D converter of the present invention, a large number of analog electric signals to be captured can be sequentially converted into digital signals by the A / D converter without increasing the number of A / D converters. In addition, no additional circuit is required, and a fault diagnosis function can be easily added.

この発明の実施の形態1によるA/D変換装置のブロック図である。1 is a block diagram of an A / D conversion device according to Embodiment 1 of the present invention. この発明の実施の形態1によるA/D変換装置の回路図である。1 is a circuit diagram of an A / D converter according to Embodiment 1 of the present invention. この発明の実施の形態1によるA/D変換装置の動作を説明するタイムチャートを示す図である。It is a figure which shows the time chart explaining operation | movement of the A / D converter by Embodiment 1 of this invention. この発明の実施の形態2によるA/D変換装置の回路図である。It is a circuit diagram of the A / D conversion device by Embodiment 2 of this invention. この発明の実施の形態2によるA/D変換装置の動作を説明するタイムチャートを示す図である。It is a figure which shows the time chart explaining operation | movement of the A / D converter by Embodiment 2 of this invention. この発明の実施の形態2によるA/D変換装置の動作を説明する別のタイムチャートを示す図である。It is a figure which shows another time chart explaining operation | movement of the A / D converter by Embodiment 2 of this invention. この発明の実施の形態3によるA/D変換装置の回路図である。It is a circuit diagram of the A / D conversion device by Embodiment 3 of this invention.

以下、この発明によるA/D変換装置の好適な実施の形態について図面を参照して説明する。   Preferred embodiments of an A / D converter according to the present invention will be described below with reference to the drawings.

実施の形態1.
図1は、この発明の実施の形態1によるA/D変換装置のブロック図である。図1において、A/D変換装置10は、A/D変換器1に対し、制御部2がスイッチング回路3を介して第1の対象物4と第2の対象物5のアナログ電気量をそれぞれ独立に制御して出力できる構成になっている。
Embodiment 1 FIG.
FIG. 1 is a block diagram of an A / D converter according to Embodiment 1 of the present invention. In FIG. 1, in the A / D converter 10, the control unit 2 supplies the analog electric quantities of the first object 4 and the second object 5 to the A / D converter 1 via the switching circuit 3. It can be controlled independently and output.

図2は、A/D変換装置10の回路図で、CPU6がA/D変換器1を内蔵した状態を示している。CPU6は、A/Dポート(A/D#1)6aと通常の第1および第2の出力ポート(P1、P2)6b、6cを有している。A/Dポート6aには、第1および第2の出力ポート6b、6cによりコントロールされる第1および第2のスイッチング回路3a、3bを介して、第1および第2の対象物4、5の出力する電気信号がそれぞれ第1および第2の直列抵抗7a、7bを通して出力されている。   FIG. 2 is a circuit diagram of the A / D converter 10 and shows a state in which the CPU 6 incorporates the A / D converter 1. The CPU 6 has an A / D port (A / D # 1) 6a and normal first and second output ports (P1, P2) 6b and 6c. The A / D port 6a is connected to the first and second objects 4 and 5 via first and second switching circuits 3a and 3b controlled by the first and second output ports 6b and 6c. The electric signals to be output are output through the first and second series resistors 7a and 7b, respectively.

第1および第2の対象物4、5は、各々独立に変化する電気信号を発生しており、それぞれ接続されたスイッチング回路3aまたはスイッチング回路3bのオン動作に応じて、それぞれの信号がA/Dポート6aに伝達される。第1および第2のスイッチング回路3a、3bのコモン端子には、A/Dポート6aの他に、プルアップ抵抗8およびコンデンサ9が各々電源VccとGNDに対して接続されており、インターフェース回路が構成されている。   The first and second objects 4 and 5 generate electrical signals that change independently from each other, and in response to the ON operation of the connected switching circuit 3a or switching circuit 3b, the respective signals are A / It is transmitted to the D port 6a. In addition to the A / D port 6a, a pull-up resistor 8 and a capacitor 9 are connected to the power supplies Vcc and GND, respectively, at the common terminals of the first and second switching circuits 3a and 3b. It is configured.

次に、以上の回路に示すように、1個のA/Dポート6aに第1および第2の対象物4、5の2個の対象物が接続されている構成を例にして、実施の形態1によるA/D変換装置10の動作を説明する。   Next, as shown in the above circuit, an example in which two objects of the first and second objects 4, 5 are connected to one A / D port 6a will be described. The operation of the A / D conversion device 10 according to the first form will be described.

図3は、実施の形態1によるA/D変換装置10の動作を説明するタイムチャートである。図3において、符号A1は第2の出力ポート6cの動作状態を、また符号B1は第1の出力ポート6bの動作状態をそれぞれ時間軸tの経過に沿って示している。また、符号C1はA/Dポート6aの入力状況を示している。   FIG. 3 is a time chart for explaining the operation of the A / D conversion apparatus 10 according to the first embodiment. In FIG. 3, reference numeral A1 indicates the operating state of the second output port 6c, and reference numeral B1 indicates the operating state of the first output port 6b along the time axis t. Reference C1 indicates the input status of the A / D port 6a.

まずt2〜t3に注目すると、第2の出力ポート6c=Low、第1の出力ポート6b=highとなっている。これは第2の出力ポート6cに接続されている第2のスイッチング回路3bがオフ制御され、第1の出力ポート6bに接続された第1のスイッチング回路3aがオン制御されているものである。第1のスイッチング回路3aのみがオン制御されることにより、第1の対象物4の信号が第1の直列抵抗7a、プルアップ抵抗8の成す分圧回路を経てA/Dポート6aに入力され、第1の対象物4の信号のみがCPU6に取り込まれる。   First, paying attention to t2 to t3, the second output port 6c = Low and the first output port 6b = high. This is such that the second switching circuit 3b connected to the second output port 6c is turned off and the first switching circuit 3a connected to the first output port 6b is turned on. By turning on only the first switching circuit 3a, the signal of the first object 4 is input to the A / D port 6a through the voltage dividing circuit formed by the first series resistor 7a and the pull-up resistor 8. Only the signal of the first object 4 is taken into the CPU 6.

次にt3〜t4に注目すると、上記と同様に、第2のスイッチング回路3bのみがオン制御されることにより、第2の対象物5の信号のみがA/Dポート6aに入力され、第2の直列抵抗7b、プルアップ抵抗8の成す分圧回路を経てA/Dポート6aに入力され、第2の対象物5の信号のみがCPU6に取り込まれる。   Next, paying attention to t3 to t4, as described above, only the signal of the second object 5 is input to the A / D port 6a by turning on only the second switching circuit 3b, and the second The voltage is input to the A / D port 6a through the voltage dividing circuit formed by the series resistor 7b and the pull-up resistor 8, and only the signal of the second object 5 is taken into the CPU 6.

この2つの制御により、第1および第2の対象物4、5の発生する信号は、それぞれ1つのA/Dポート6aに対して独立に入力され、その値をCPU6は取得することができる。以上は従来装置が実施している内容である。   By these two controls, signals generated by the first and second objects 4 and 5 are independently input to one A / D port 6a, and the CPU 6 can acquire the value. The above is what the conventional apparatus has implemented.

次に、実施の形態1によるA/D変換装置10は、従来装置の入力に続いて、又はそれ以前に同一回路を使用し、別の簡単な制御を追加することにより故障診断も行うものである。   Next, the A / D conversion apparatus 10 according to the first embodiment uses the same circuit before or before the input of the conventional apparatus, and performs fault diagnosis by adding another simple control. is there.

まず、t1〜t2では、第1および第2の出力ポート6b、6cともLowとし、第1および第2のスイッチング回路3a、3bともオフとし、第1および第2の対象物4、5からの信号をA/Dポート6aに接続しない。この状態ではプルアップ抵抗8のみが接続されることになるので、プルアップ抵抗8のもう一方の接続先である電源Vccとほぼ同一電圧がA/Dポート6aに入力される。装置が正常であれば、電源Vccの電圧が入力されるが、電源Vcc以外の電圧が入力されると、装置の異常状態と判断できる。即ち、プルアップ抵抗8のオープン、第1のスイッチング回路3a、又は第2のスイッチング回路3bのショート故障、第1および第2の出力ポート6b、6cの少なくとも何れかがH固着不良、若しくはA/D変換器1の異常である可能性があり故障検出状態である。   First, from t1 to t2, both the first and second output ports 6b and 6c are set to Low, both the first and second switching circuits 3a and 3b are turned off, and the first and second objects 4 and 5 The signal is not connected to the A / D port 6a. In this state, only the pull-up resistor 8 is connected, so that almost the same voltage as the power source Vcc to which the other pull-up resistor 8 is connected is input to the A / D port 6a. If the apparatus is normal, the voltage of the power supply Vcc is input. If a voltage other than the power supply Vcc is input, it can be determined that the apparatus is in an abnormal state. That is, the pull-up resistor 8 is opened, the first switching circuit 3a or the second switching circuit 3b is short-circuited, at least one of the first and second output ports 6b and 6c is defective in H fixation, or A / There is a possibility that the D converter 1 is abnormal, and it is in a failure detection state.

次に、t4〜t5では、第1および第2の出力ポート6b、6cともHighとし、第1および第2のスイッチング回路3a、3bともオンに保ち、第1および第2の対象物4、5からの信号入力をともに接続した状態としている。この場合は、プルアップ抵抗8、第1の対象物4と接続された第1の直列抵抗7a、同様に第2の対象物5と接続された第2の直列抵抗7bの成す合成分圧回路により、第1および第2の対象物4、5からの信号の合成電圧がA/Dポート6aに入力される。t1からt5迄の切り替え操作が、第1の対象物対象4、第2の対象物5の発生する信号の変化に対して十分に高速であれば、t2〜t3及びt3〜t4で第1の対象物対象4、第2の対象物5の信号を取り込んでおり、合成分圧回路の定数も既知であることから、合成電圧の妥当性が確認できる。   Next, from t4 to t5, the first and second output ports 6b and 6c are both set to High, the first and second switching circuits 3a and 3b are both kept on, and the first and second objects 4 and 5 are turned on. The signal inputs from are connected together. In this case, a combined voltage dividing circuit formed by the pull-up resistor 8, the first series resistor 7a connected to the first object 4, and the second series resistor 7b connected to the second object 5 as well. Thus, the combined voltage of the signals from the first and second objects 4 and 5 is input to the A / D port 6a. If the switching operation from t1 to t5 is sufficiently fast with respect to the change of the signal generated by the first object object 4 and the second object 5, the first operation is performed at t2 to t3 and t3 to t4. Since the signals of the target object 4 and the second target object 5 are captured and the constants of the combined voltage dividing circuit are known, the validity of the combined voltage can be confirmed.

即ち、t4〜t5での電圧識別により、プルアップ抵抗8、第1の直列抵抗7a、第2の直列抵抗7bのオープン/ショート/抵抗異常、第1のスイッチング回路3a、又は第2のスイッチング回路3bのオープン故障、第1および第2の出力ポート6b、6cの少なくとも何れかがL固着不良、若しくはA/D変換器1の異常である可能性があり故障検出状態である。   That is, the open / short / resistance abnormality of the pull-up resistor 8, the first series resistor 7a, the second series resistor 7b, the first switching circuit 3a, or the second switching circuit based on the voltage identification at t4 to t5. There is a possibility that an open failure 3b, at least one of the first and second output ports 6b and 6c may be an L fixing failure, or an abnormality of the A / D converter 1, and is in a failure detection state.

つまり、t1〜t2でA/Dポート6aに入力された電圧が電源Vcc以外の電圧であるとき、またはt4〜t5でA/Dポート6aに入力された電圧がt2〜t3及びt3〜t4での第1および第2の対象物4、5の信号取り込み値に基く計算と整合しないときは、装置の異常と判断されることから、スイッチング回路3a、3bの構成を複雑化することなく、A/D変換チャンネル数を増やすと同時に、切り替え回路並びにA/D変換器1の故障検知機能も具備することが出来、よって信号の変換結果の信頼度を向上することが出来るものである。   That is, when the voltage input to the A / D port 6a at t1 to t2 is a voltage other than the power supply Vcc, or the voltages input to the A / D port 6a at t4 to t5 are t2 to t3 and t3 to t4. If the calculation based on the signal capture values of the first and second objects 4 and 5 is not consistent, it is determined that the device is abnormal. Therefore, without complicating the configuration of the switching circuits 3a and 3b, A At the same time as increasing the number of / D conversion channels, it is possible to provide a switching circuit and a failure detection function of the A / D converter 1, thereby improving the reliability of the signal conversion result.

なお、上記においては検出対象物を2個、A/Dポート1個について説明したが、これに限るものではなく、さらに多くの対象物を1つのA/Dポートと接続する場合についても同様な効果が得られる。   In the above description, two detection objects and one A / D port have been described. However, the present invention is not limited to this, and the same applies when more objects are connected to one A / D port. An effect is obtained.

実施の形態2.
次に、この発明の実施の形態2によるA/D変換装置について説明する。図4は、実施の形態2によるA/D変換装置の回路図である。実施の形態2によるA/D変換装置20は、CPU6がA/D変換器1を内蔵した状態を示している。CPU6は、A/Dポート(A/D#1)6aと通常の第1および第2の出力ポート(P1、P2)6b、6cを有している。A/Dポート6aに、第1のセンサ21と第1のセンサ21に類似の第2のセンサ22が並列に接続されている。第1のセンサ21および第2のセンサ22はその特性に応じて抵抗値Rt1、Rt2がそれぞれ可変するものである。例えば温度変化による抵抗変化を有するサーミスタ、ポテンショメータのように可動により抵抗値が変化するものなどである。
Embodiment 2. FIG.
Next, an A / D converter according to Embodiment 2 of the present invention will be described. FIG. 4 is a circuit diagram of the A / D converter according to the second embodiment. The A / D conversion device 20 according to the second embodiment shows a state in which the CPU 6 has the A / D converter 1 built therein. The CPU 6 has an A / D port (A / D # 1) 6a and normal first and second output ports (P1, P2) 6b and 6c. A first sensor 21 and a second sensor 22 similar to the first sensor 21 are connected in parallel to the A / D port 6a. The first sensor 21 and the second sensor 22 have resistance values Rt1 and Rt2 that vary according to their characteristics. For example, a thermistor having a resistance change due to a temperature change or a potentiometer whose resistance value changes due to movement.

第1のセンサ21および第2のセンサ22は、電源Vccに抵抗8を介してプルアップされている。また、第1のセンサ21および第2のセンサ22は、それぞれバイポーラトランジスタなどで構成される第1および第2のスイッチング素子23、24が直列に接続されている。第1および第2のスイッチング素子23、24は、それぞれ出力ポート6b、6cに接続されて制御される。なお、コンデンサ9はノイズ抑制のためA/Dポート6aに接続されている。   The first sensor 21 and the second sensor 22 are pulled up via the resistor 8 to the power supply Vcc. The first sensor 21 and the second sensor 22 are connected in series with first and second switching elements 23 and 24 each composed of a bipolar transistor or the like. The first and second switching elements 23 and 24 are connected to and controlled by the output ports 6b and 6c, respectively. The capacitor 9 is connected to the A / D port 6a for noise suppression.

図5は、実施の形態2によるA/D変換装置20の動作を説明するタイムチャートである。図5において、符号A2は第2の出力ポート6cの動作状態を、また符号B2は第1の出力ポート6bの動作状態をそれぞれ時間軸tの経過に沿って示している。また、符号C2はA/Dポート6aの入力状況を示している。   FIG. 5 is a time chart for explaining the operation of the A / D converter 20 according to the second embodiment. In FIG. 5, reference symbol A2 indicates the operating state of the second output port 6c, and reference symbol B2 indicates the operating state of the first output port 6b along the time axis t. Symbol C2 indicates the input status of the A / D port 6a.

まずt2〜t3に注目すると、第2の出力ポート6c=Low、第1の出力ポート6b=highとなっている。これは第2の出力ポート6cに接続されている第2のトランジスタ24がオフ、第1の出力ポート6bに接続されている第1のトランジスタ23はオン制御されているものである。第1のトランジスタ23=オンにより第1のセンサ21のみが接続され、第2のセンサ22はオープン状態である。そのためA/Dポート6aには、第1のセンサ21の抵抗値Rt1とプルアップ抵抗8の抵抗値との分圧比が入力される。   First, paying attention to t2 to t3, the second output port 6c = Low and the first output port 6b = high. This is because the second transistor 24 connected to the second output port 6c is turned off, and the first transistor 23 connected to the first output port 6b is controlled to be turned on. When the first transistor 23 is turned on, only the first sensor 21 is connected, and the second sensor 22 is in an open state. Therefore, a voltage division ratio between the resistance value Rt1 of the first sensor 21 and the resistance value of the pull-up resistor 8 is input to the A / D port 6a.

次にt3〜t4に注目すると、前記と同様に第2のセンサ22のみが接続され、その結果A/Dポート6aには、第2のセンサ22の抵抗値Rt2とプルアップ抵抗8の抵抗値との分圧比が入力される。この2つの制御により第1および第2のセンサ21、22の検出信号はそれぞれA/Dポート6aに入力され、その値をCPU6は取得することができる。以上は従来装置が実施している内容である。   Next, when attention is paid to t3 to t4, only the second sensor 22 is connected as described above, and as a result, the resistance value Rt2 of the second sensor 22 and the resistance value of the pull-up resistor 8 are connected to the A / D port 6a. The partial pressure ratio is input. By these two controls, the detection signals of the first and second sensors 21 and 22 are respectively input to the A / D port 6a, and the CPU 6 can acquire the values. The above is what the conventional apparatus has implemented.

次に、実施の形態2によるA/D変換装置20は、従来装置の入力に続いて、又はそれ以前に同一回路を使用し、別の簡単な制御を追加することにより故障診断も行うものである。   Next, the A / D conversion apparatus 20 according to the second embodiment uses the same circuit before or before the input of the conventional apparatus, and performs fault diagnosis by adding another simple control. is there.

まず、t1〜t2では第1および第2の出力ポート6b、6cともLowとし、第1および第2のトランジスタ23、24ともオフとし、第1および第2のセンサ21、22を接続しない。この状態ではプルアップ抵抗8のみが接続されることになるので、プルアップ抵抗8のもう一方の接続先である電源Vccとほぼ同一電圧がA/Dポート6aに入力される。装置が正常であれば、電源Vccの電圧が入力されるが、電源Vcc以外の電圧が入力されると、プルアップ抵抗8、電源Vcc、A/Dポート6a、第1および第2のトランジスタ23、24の一方又は両方、第1および第2の出力ポート6b、6cのいずれかが不良である可能性があり、第1および第2のセンサ21、22の入力値も真の値とは判断できないことになる。   First, from t1 to t2, both the first and second output ports 6b and 6c are set to Low, both the first and second transistors 23 and 24 are turned off, and the first and second sensors 21 and 22 are not connected. In this state, only the pull-up resistor 8 is connected, so that almost the same voltage as the power source Vcc to which the other pull-up resistor 8 is connected is input to the A / D port 6a. If the device is normal, the voltage of the power supply Vcc is input. If a voltage other than the power supply Vcc is input, the pull-up resistor 8, the power supply Vcc, the A / D port 6a, the first and second transistors 23 are input. 24, one or both of the first and second output ports 6b and 6c may be defective, and the input values of the first and second sensors 21 and 22 are also determined to be true values. It will not be possible.

次に、t4〜t5では第1および第2の出力ポート6b、6cともHighとし、第1および第2のトランジスタ23、24ともオンとし、第1および第2のセンサ21、22を接続した状態としている。つまり第1および第2のセンサ21、22が並列接続された状態となる。そのためt2〜t4までに入力された第1および第2のセンサ21、22の値より、低い値とならなければ、故障と判断できる。   Next, from t4 to t5, the first and second output ports 6b and 6c are both High, the first and second transistors 23 and 24 are both on, and the first and second sensors 21 and 22 are connected. It is said. That is, the first and second sensors 21 and 22 are connected in parallel. Therefore, if the value does not become lower than the values of the first and second sensors 21 and 22 input from t2 to t4, it can be determined that there is a failure.

ここで、t4〜t5では、あらかじめ第1および第2のセンサ21、22を並列に接続した場合の電圧応答が、第1のセンサ21又は第2のセンサ22のみを個別に接続した場合の電圧応答値の何ボルトに相当するかという相関値をルックアップテーブル等の換算手段にて比較し、検出値の妥当性を判定することも可能である。   Here, at t4 to t5, the voltage response when the first and second sensors 21 and 22 are connected in parallel is the voltage when only the first sensor 21 or the second sensor 22 is individually connected. It is also possible to compare the correlation value of how many volts of the response value corresponds with a conversion means such as a look-up table to determine the validity of the detected value.

故障モードとしては、第1および第2のセンサ21、22の一方又は両方の不良、第1および第2のトランジスタ23、24、又は第1および第2の出力ポート6b、6cの不良等が考えられるが、いずれにしてもt2〜t4で入力した第1および第2のセンサ21、22の値は真の値とは判断できないことになる。   Possible failure modes include a failure of one or both of the first and second sensors 21 and 22, a failure of the first and second transistors 23 and 24, or the first and second output ports 6b and 6c, and the like. However, in any case, the values of the first and second sensors 21 and 22 input at t2 to t4 cannot be determined to be true values.

逆に、t1〜t2、及びt4〜t5が正常値であれば、第1および第2のセンサ21、22の取得した値も正常と判断できることになる。このように各々のセンサを独立に検出する前又は後でそれらの制御内容とは異なったモードを追加することにより、同一回路を使用してフェールセーフ機能も追加できる効果がある。   Conversely, if t1 to t2 and t4 to t5 are normal values, the values acquired by the first and second sensors 21 and 22 can be determined to be normal. Thus, by adding a mode different from the control content before or after each sensor is detected independently, there is an effect that a fail-safe function can be added using the same circuit.

なお、図5に示したタイムチャートは動作の一例を示すものであり、各モードを順次実現できればスイッチングパターンの設定は自由である。例えば他のスイッチングパターンとして図6のようなタイムチャートを用いてもよく、信号の選択と故障検知機能を提供できることは図5のタイムチャートの場合と同様である。   The time chart shown in FIG. 5 shows an example of the operation, and the switching pattern can be freely set as long as each mode can be realized sequentially. For example, a time chart as shown in FIG. 6 may be used as another switching pattern, and the signal selection and failure detection functions can be provided as in the case of the time chart of FIG.

なお、前記ではセンサを2個、A/Dポート1個について説明したが、これに限るものではなく、さらに多くのセンサを接続した場合についても同様な効果が得られる。   In the above description, two sensors and one A / D port have been described. However, the present invention is not limited to this, and the same effect can be obtained when more sensors are connected.

また、本実施の形態においては、第1および第2のスイッチング素子23、24としてバイポーラトランジスタを例示したが、これに限るものではなく例えばMOSFET、アナログスイッチIC、機械式リレー等、アプリケーション上のA/D変換の要求精度を勘案のうえ満足しうる導通/遮断特性を有する素子であれば自由に使用できることは言うまでもない。   In the present embodiment, bipolar transistors have been exemplified as the first and second switching elements 23 and 24. However, the present invention is not limited to this. For example, MOSFETs, analog switch ICs, mechanical relays, etc. It goes without saying that any element having a conduction / cutoff characteristic that satisfies the required accuracy of / D conversion can be used freely.

実施の形態3.
次に、この発明の実施の形態3によるA/D変換装置について説明する。図7は、実施の形態2によるA/D変換装置の回路図である。実施の形態3によるA/D変換装置30は、第1および第2のスイッチング素子23、24を電源Vcc側に接続したもので、この場合、図4のプルアップ抵抗8はプルダウン抵抗としてグランド側に接続される。なお、その他の構成については実施の形態2と同様であり、同一符号付すことによりその説明を省略する。
Embodiment 3 FIG.
Next, an A / D converter according to Embodiment 3 of the present invention will be described. FIG. 7 is a circuit diagram of the A / D converter according to the second embodiment. The A / D conversion device 30 according to the third embodiment is such that the first and second switching elements 23 and 24 are connected to the power supply Vcc side. In this case, the pull-up resistor 8 in FIG. Connected to. In addition, about another structure, it is the same as that of Embodiment 2, The description is abbreviate | omitted by attaching | subjecting the same code | symbol.

この実施の形態3によるA/D変換装置30においても、実施の形態によるA/D変換装置20と同様に動作し、同様の効果を得ることができる。   The A / D conversion device 30 according to the third embodiment also operates in the same manner as the A / D conversion device 20 according to the embodiment and can obtain the same effects.

なお、上記において、この発明の実施の形態1から実施の形態3について説明したが、この発明はこれらに限定されるものでなく、その発明の範囲内において、各実施の形態を自由に組み合わせたり、各実施の形態を適宜、変形、省略することが可能である。   In the above, the first to third embodiments of the present invention have been described. However, the present invention is not limited to these embodiments, and each embodiment can be freely combined within the scope of the present invention. Each embodiment can be modified or omitted as appropriate.

以上、この発明によるA/D変換装置を具体化した実施の形態1から実施の形態3について説明したが、この発明によるA/D変換装置は、以下の特徴を備えるものである。
(1)この発明によるA/D変換装置は、検出すべき対象物のアナログ電気量をディジタル量に変換するA/D変換器と、前記A/D変換器に複数のアナログ電気量を接続するスイッチング回路と、前記スイッチング回路をそれぞれ独立に制御する制御手段とを備え、前記制御手段は、前記対象物のアナログ電気量を1つずつ独立に前記A/D変換器へ出力する第1モードと、前記対象物のアナログ電気量を2つ以上同時に前記A/D変換器へ出力する第2モードと、前記対象物のアナログ電気量を全て出力しない第3モードを発生させ、前記第1モードの時に前記各対象物のA/D変換値を個別に取得し、前記第2モードおよび前記第3モードの時に装置の異常を検出することを特徴とする。
この構成によれば、A/D変換器の数を増やすことなく、多数の取り込み信号対象のアナログ電気信号を順次A/D変換器でディジタル信号に変換して取り込むことができ、さらに追加回路も不要で故障診断機能を簡単に付加することができる。
The first to third embodiments that embody the A / D converter according to the present invention have been described above. The A / D converter according to the present invention has the following features.
(1) An A / D converter according to the present invention connects an A / D converter that converts an analog electrical quantity of an object to be detected into a digital quantity, and a plurality of analog electrical quantities connected to the A / D converter. A switching circuit; and a control unit that controls each of the switching circuits independently, wherein the control unit outputs the analog electric quantity of the object to the A / D converter one by one independently. Generating a second mode in which two or more analog electrical quantities of the object are simultaneously output to the A / D converter, and a third mode in which all analog electrical quantities of the object are not output, Sometimes, the A / D conversion value of each object is individually acquired, and an abnormality of the apparatus is detected in the second mode and the third mode.
According to this configuration, without increasing the number of A / D converters, a large number of analog electrical signals to be captured can be sequentially converted into digital signals by the A / D converter, and an additional circuit can be provided. It is unnecessary and can easily add a fault diagnosis function.

(2)また、この発明によるA/D変換装置は、検出すべき対象物のアナログ電気量をディジタル量に変換するA/D変換器と、前記A/D変換器に接続された複数の対象物のアナログ電気量の生成をそれぞれ独立に制御するスイッチング手段と、前記スイッチング手段のスイッチングタイミングを制御する制御手段とを備え、前記制御手段は、前記対象物のアナログ電気量の生成を1つずつ独立に行う第1モードと、前記対象物のアナログ電気量の生成を2つ以上同時に行う第2モードと、全ての前記対象物からのアナログ電気量生成がない第3モードとを発生させ、前記第1モードの時に前記各対象物のA/D変換値を個別に取得し、前記第2モードおよび前記第3モードの時に装置の異常を検出することを特徴とする。
この構成によれば、モードを明示的に切り替えて、各モードにおいてA/D変換タイミングに同期して値を取得することにより、第1モードの時に各対象物のA/D変換値を個別に取得しうるとともに、前記第2モードおよび前記第3モードの時に所定内の変換値であることを確認することにより装置の異常を検出することができる。
(2) An A / D converter according to the present invention includes an A / D converter that converts an analog electrical quantity of an object to be detected into a digital quantity, and a plurality of objects connected to the A / D converter. Switching means for independently controlling the generation of the analog electric quantity of the object, and control means for controlling the switching timing of the switching means, the control means generating the analog electric quantity of the object one by one Generating a first mode that is independently performed, a second mode that simultaneously generates two or more analog electric quantities of the object, and a third mode that does not generate analog electric quantities from all the objects, An A / D conversion value of each object is individually acquired in the first mode, and an abnormality of the apparatus is detected in the second mode and the third mode.
According to this configuration, the mode is explicitly switched, and the value is acquired in synchronization with the A / D conversion timing in each mode. In addition, it is possible to detect an abnormality of the apparatus by confirming that the conversion value is within a predetermined range in the second mode and the third mode.

(3)また、この発明によるA/D変換装置は、検出すべき対象物のアナログ電気量をディジタル量に変換するA/D変換器と、前記A/D変換器に接続された複数の対象物のアナログ電気量の生成をそれぞれ独立に制御するスイッチング手段と、前記スイッチング手段のスイッチングタイミングを制御する制御手段とを備え、前記制御手段は、前記対象物を1つずつ独立に接地することにより第1モードと成し、前記対象物を2つ以上同時に接地することにより第2モードと成し、前記対象物を全て接地しないことにより第3モードと成し、前記第1モードの時に前記各対象物のA/D変換値を取得し、前記第2モードおよび前記第3モードの時に装置の異常を検出することを特徴とする。
この構成によれば、対象物からの電気量の生成をそれぞれ独立に制御しつつ前記A/D変換器に出力し、前記第1、第2、第3のモードによって各対象物のA/D変換値と、A/D変換装置の異常を検出することができる。
(3) An A / D converter according to the present invention includes an A / D converter that converts an analog electric quantity of an object to be detected into a digital quantity, and a plurality of objects connected to the A / D converter. Switching means for independently controlling the generation of the analog electric quantity of the object, and control means for controlling the switching timing of the switching means, wherein the control means independently grounds the objects one by one. The first mode is established, and two or more objects are grounded at the same time to form the second mode, and all the objects are not grounded to form the third mode. An A / D conversion value of an object is acquired, and an abnormality of the apparatus is detected in the second mode and the third mode.
According to this configuration, the generation of the electric quantity from the object is output to the A / D converter while being independently controlled, and the A / D of each object is performed in the first, second, and third modes. The conversion value and abnormality of the A / D converter can be detected.

(4)また、この発明によるA/D変換装置は、検出すべき対象物のアナログ電気量をディジタル量に変換するA/D変換器と、前記A/D変換器に接続された複数の対象物のアナログ電気量の生成をそれぞれ独立に制御するスイッチング手段と、前記スイッチング手段のスイッチングタイミングを制御する制御手段とを備え、前記制御手段は、前記対象物を1つずつ独立に電源へ接続することにより第1モードと成し、前記対象物を2つ以上同時に電源へ接続することにより第2モードと成し、前記対象物を全て電源へ接続しないことにより第3モードと成し、前記第1モードの時に前記各対象物のA/D変換値を取得し、前記第2モードおよび前記第3モードの時に装置の異常を検出することを特徴とする。
この構成によれば、対象物からの電気量の生成をそれぞれ独立に制御しつつ前記A/D変換器に出力し、前記第1、第2、第3のモードによって各対象物のA/D変換値と、A/D変換装置の異常を検出することができる。
(4) An A / D converter according to the present invention includes an A / D converter that converts an analog electric quantity of an object to be detected into a digital quantity, and a plurality of objects connected to the A / D converter. Switching means for independently controlling generation of analog electric quantity of the object, and control means for controlling the switching timing of the switching means, wherein the control means independently connects the objects to the power source one by one. To form a first mode, to connect two or more objects to a power source at the same time to form a second mode, to connect all the objects to a power source to form a third mode, and An A / D conversion value of each object is acquired in the first mode, and an abnormality of the apparatus is detected in the second mode and the third mode.
According to this configuration, the generation of the electric quantity from the object is output to the A / D converter while being independently controlled, and the A / D of each object is performed in the first, second, and third modes. The conversion value and abnormality of the A / D converter can be detected.

(5)また、この発明によるA/D変換装置は、前記第2モードの時に、前記対象物が並列に接続された場合のアナログ電気量に対する特性値の換算手段を設け、前記第2のモードにおいて前記対象物の特性値を検出することを特徴とする。
この構成によれば、前記第2のモードにおいても、対象物の特性値を検出することができる。
(5) Further, the A / D conversion device according to the present invention includes a means for converting a characteristic value with respect to an analog electric quantity when the object is connected in parallel in the second mode, and the second mode And detecting a characteristic value of the object.
According to this configuration, the characteristic value of the object can be detected even in the second mode.

1 A/D変換器 2 制御部
3 スイッチング回路 3a 第1のスイッチング回路
3b 第2のスイッチング回路 4 第1の対象物
5 第2の対象物 6 CPU
6a A/Dポート 6b 第1の出力ポート
6c 第2の出力ポート 7a 第1の直列抵抗
7b 第2の直列抵抗 8 プルアップ抵抗
9 コンデンサ 10、20、30 A/D変換装置
21 第1のセンサ 22 第2のセンサ
23 第1のスイッチング素子 24 第2のスイッチング素子
DESCRIPTION OF SYMBOLS 1 A / D converter 2 Control part 3 Switching circuit 3a 1st switching circuit 3b 2nd switching circuit 4 1st target object 5 2nd target object 6 CPU
6a A / D port 6b 1st output port 6c 2nd output port 7a 1st series resistor 7b 2nd series resistor 8 Pull-up resistor 9 Capacitor 10, 20, 30 A / D converter 21 1st sensor 22 Second sensor 23 First switching element 24 Second switching element

上記課題を解決するために、この発明によるA/D変換装置は、検出すべき対象物のアナログ電気量をディジタル量に変換するA/D変換器と、前記A/D変換器に複数のアナログ電気量を接続するスイッチング回路と、前記スイッチング回路をそれぞれ独立に制御する制御手段とを備えたA/D変換装置において、前記制御手段は、前記対象物のアナログ電気量を1つずつ独立に前記A/D変換器へ出力する第1モードと、前記対象物のアナログ電気量を2つ以上同時に前記A/D変換器へ出力する第2モードと、前記対象物のアナログ電気量を全て出力しない第3モードとを、前記制御手段による前記スイッチング回路を介する切り替えにより発生させ、前記スイッチング回路の切り替え後の所定時間後に前記各モードにおいてA/D変換を行いその値を取得するとともに、前記第1モードの時に前記各対象物のA/D変換値を個別に取得し、前記第2モードの時に前記A/D変換値に基づいて装置の異常を検出し、前記第3モードの時に前記A/D変換器に接続される電源電圧を参照して装置の異常を検出するものである。 In order to solve the above problems, an A / D converter according to the present invention includes an A / D converter that converts an analog electrical quantity of an object to be detected into a digital quantity, and a plurality of analogs in the A / D converter. In an A / D conversion device comprising a switching circuit for connecting an electric quantity and a control means for independently controlling the switching circuit, the control means independently converts the analog electric quantity of the object one by one. The first mode for outputting to the A / D converter, the second mode for outputting two or more analog electric quantities of the object to the A / D converter at the same time, and not outputting all the analog electric quantities of the object third and mode, is generated by switching through the switching circuit by the control unit, the a / D varying in each mode after a predetermined time after switching of said switching circuit Acquires the value performed, wherein the A / D conversion values for each object separately obtained when the first mode, the abnormality of the device based on the A / D conversion value when the second mode And detecting an abnormality of the apparatus with reference to a power supply voltage connected to the A / D converter in the third mode .

実施の形態3.
次に、この発明の実施の形態3によるA/D変換装置について説明する。図7は、実施の形態によるA/D変換装置の回路図である。実施の形態3によるA/D変換装置30は、第1および第2のスイッチング素子23、24を電源Vcc側に接続したもので、この場合、図4のプルアップ抵抗8はプルダウン抵抗としてグランド側に接続される。なお、その他の構成については実施の形態2と同様であり、同一符号付すことによりその説明を省略する。
Embodiment 3 FIG.
Next, an A / D converter according to Embodiment 3 of the present invention will be described. FIG. 7 is a circuit diagram of the A / D converter according to the third embodiment. The A / D conversion device 30 according to the third embodiment is such that the first and second switching elements 23 and 24 are connected to the power supply Vcc side. In this case, the pull-up resistor 8 in FIG. Connected to. In addition, about another structure, it is the same as that of Embodiment 2, The description is abbreviate | omitted by attaching | subjecting the same code | symbol.

この実施の形態3によるA/D変換装置30においても、実施の形態によるA/D変換装置20と同様に動作し、同様の効果を得ることができる。 The A / D conversion device 30 according to the third embodiment also operates in the same manner as the A / D conversion device 20 according to the second embodiment and can obtain the same effects.

以上、この発明によるA/D変換装置を具体化した実施の形態1から実施の形態3について説明したが、この発明によるA/D変換装置は、以下の特徴を備えるものである。
(1)この発明によるA/D変換装置は、検出すべき対象物のアナログ電気量をディジタル量に変換するA/D変換器と、前記A/D変換器に複数のアナログ電気量を接続するスイッチング回路と、前記スイッチング回路をそれぞれ独立に制御する制御手段とを備え、前記制御手段は、前記対象物のアナログ電気量を1つずつ独立に前記A/D変換器へ出力する第1モードと、前記対象物のアナログ電気量を2つ以上同時に前記A/D変換器へ出力する第2モードと、前記対象物のアナログ電気量を全て出力しない第3モードとを、前記制御手段による前記スイッチング回路を介する切り替えにより発生させ、前記スイッチング回路の切り替え後の所定時間後に前記各モードにおいてA/D変換を行いその値を取得するとともに、前記第1モードの時に前記各対象物のA/D変換値を個別に取得し、前記第2モードの時に前記A/D変換値に基づいて装置の異常を検出し、前記第3モードの時に前記A/D変換器に接続される電源電圧を参照して装置の異常を検出することを特徴とする。
この構成によれば、A/D変換器の数を増やすことなく、多数の取り込み信号対象のアナログ電気信号を順次A/D変換器でディジタル信号に変換して取り込むことができ、さらに追加回路も不要で故障診断機能を簡単に付加することができる。
The first to third embodiments that embody the A / D converter according to the present invention have been described above. The A / D converter according to the present invention has the following features.
(1) An A / D converter according to the present invention connects an A / D converter that converts an analog electrical quantity of an object to be detected into a digital quantity, and a plurality of analog electrical quantities connected to the A / D converter. A switching circuit; and a control unit that controls each of the switching circuits independently, wherein the control unit outputs the analog electric quantity of the object to the A / D converter one by one independently. , The second mode in which two or more analog electrical quantities of the object are simultaneously output to the A / D converter, and the third mode in which all analog electrical quantities of the object are not output are switched by the control means. is generated by switching through the circuit, to acquire the value subjected to a / D conversion in each mode after a predetermined time after switching of said switching circuit, said first mode The A / D conversion values for each object separately acquired when de, detecting the abnormality of the device based on the A / D conversion value when the second mode, wherein when said third mode A / An apparatus abnormality is detected with reference to a power supply voltage connected to the D converter .
According to this configuration, without increasing the number of A / D converters, a large number of analog electrical signals to be captured can be sequentially converted into digital signals by the A / D converter, and an additional circuit can be provided. It is unnecessary and can easily add a fault diagnosis function.

(2)また、この発明によるA/D変換装置は、検出すべき対象物のアナログ電気量をディジタル量に変換するA/D変換器と、前記A/D変換器に接続された複数の対象物のアナログ電気量の生成をそれぞれ独立に制御するスイッチング手段と、前記スイッチング手段のスイッチングタイミングを制御する制御手段とを備え、前記制御手段は、前記対象物のアナログ電気量の生成を1つずつ独立に行う第1モードと、前記対象物のアナログ電気量の生成を2つ以上同時に行う第2モードと、全ての前記対象物からのアナログ電気量生成がない第3モードとを、前記制御手段による前記スイッチング回路を介する切り替えにより発生させ、前記スイッチング回路の切り替え後の所定時間後に前記各モードにおいてA/D変換を行いその値を取得するとともに、前記第1モードの時に前記各対象物のA/D変換値を個別に取得し、前記第2モードの時に前記A/D変換値に基づいて装置の異常を検出し、前記第3モードの時に前記A/D変換器に接続される電源電圧を参照して装置の異常を検出することを特徴とする。
この構成によれば、モードを明示的に切り替えて、各モードにおいてA/D変換タイミングに同期して値を取得することにより、第1モードの時に各対象物のA/D変換値を個別に取得しうるとともに、前記第2モードおよび前記第3モードの時に所定内の変換値であることを確認することにより装置の異常を検出することができる。
(2) An A / D converter according to the present invention includes an A / D converter that converts an analog electrical quantity of an object to be detected into a digital quantity, and a plurality of objects connected to the A / D converter. Switching means for independently controlling the generation of the analog electric quantity of the object, and control means for controlling the switching timing of the switching means, the control means generating the analog electric quantity of the object one by one The control means includes a first mode that is independently performed, a second mode that simultaneously generates two or more analog electric quantities of the object, and a third mode that does not generate analog electric quantities from all the objects. Is generated by switching through the switching circuit, and after a predetermined time after switching the switching circuit, A / D conversion is performed in each mode to obtain the value. As well as, the A / D conversion value of the object acquired separately, the detected abnormality of the apparatus on the basis of the A / D conversion value when the second mode when the first mode, the third An abnormality of the apparatus is detected by referring to a power supply voltage connected to the A / D converter in the mode .
According to this configuration, the mode is explicitly switched, and the value is acquired in synchronization with the A / D conversion timing in each mode. In addition, it is possible to detect an abnormality of the apparatus by confirming that the conversion value is within a predetermined range in the second mode and the third mode.

(3)また、この発明によるA/D変換装置は、検出すべき対象物のアナログ電気量をディジタル量に変換するA/D変換器と、前記A/D変換器に接続された複数の対象物のアナログ電気量の生成をそれぞれ独立に制御するスイッチング手段と、前記スイッチング手段のスイッチングタイミングを制御する制御手段とを備え、前記制御手段は、前記対象物を1つずつ独立に接地することにより第1モードと成し、前記対象物を2つ以上同時に接地することにより第2モードと成し、前記対象物を全て接地しないことにより第3モードと成し、前記各モードを前記制御手段による前記スイッチング回路を介する切り替えにより発生させ、前記スイッチング回路の切り替え後の所定時間後に前記各モードにおいてA/D変換を行いその値を取得するとともに、前記第1モードの時に前記各対象物のA/D変換値を個別に取得し、前記第2モードの時に前記A/D変換値に基づいて装置の異常を検出し、前記第3モードの時に前記A/D変換器に接続される電源電圧を参照して装置の異常を検出することを特徴とする。
この構成によれば、対象物からの電気量の生成をそれぞれ独立に制御しつつ前記A/D変換器に出力し、前記第1、第2、第3のモードによって各対象物のA/D変換値と、A/D変換装置の異常を検出することができる。
(3) An A / D converter according to the present invention includes an A / D converter that converts an analog electric quantity of an object to be detected into a digital quantity, and a plurality of objects connected to the A / D converter. Switching means for independently controlling the generation of the analog electric quantity of the object, and control means for controlling the switching timing of the switching means, wherein the control means independently grounds the objects one by one. The first mode is established, the second mode is established by simultaneously grounding two or more of the objects, the third mode is established by not grounding all the objects, and each mode is controlled by the control means. Generated by switching through the switching circuit, and acquires the value by performing A / D conversion in each mode after a predetermined time after switching of the switching circuit Rutotomoni, wherein said A / D conversion values for each object separately obtained when the first mode, detecting the abnormality of the device based on the A / D conversion value when the second mode, the third An abnormality of the apparatus is detected by referring to a power supply voltage connected to the A / D converter in the mode .
According to this configuration, the generation of the electric quantity from the object is output to the A / D converter while being independently controlled, and the A / D of each object is performed in the first, second, and third modes. The conversion value and abnormality of the A / D converter can be detected.

(4)また、この発明によるA/D変換装置は、検出すべき対象物のアナログ電気量をディジタル量に変換するA/D変換器と、前記A/D変換器に接続された複数の対象物のアナログ電気量の生成をそれぞれ独立に制御するスイッチング手段と、前記スイッチング手段のスイッチングタイミングを制御する制御手段とを備え、前記制御手段は、前記対象物を1つずつ独立に電源へ接続することにより第1モードと成し、前記対象物を2つ以上同時に電源へ接続することにより第2モードと成し、前記対象物を全て電源へ接続しないことにより第3モードと成し、前記各モードを前記制御手段による前記スイッチング回路を介する切り替えにより発生させ、前記スイッチング回路の切り替え後の所定時間後に前記各モードにおいてA/D変換を行いその値を取得するとともに、前記第1モードの時に前記各対象物のA/D変換値を取得し、前記第2モードの時に前記A/D変換値に基づいて装置の異常を検出し、前記第3モードの時に前記A/D変換器に接続される電源電圧を参照して装置の異常を検出することを特徴とする。
この構成によれば、対象物からの電気量の生成をそれぞれ独立に制御しつつ前記A/D変換器に出力し、前記第1、第2、第3のモードによって各対象物のA/D変換値と、A/D変換装置の異常を検出することができる。
(4) An A / D converter according to the present invention includes an A / D converter that converts an analog electric quantity of an object to be detected into a digital quantity, and a plurality of objects connected to the A / D converter. Switching means for independently controlling generation of analog electric quantity of the object, and control means for controlling the switching timing of the switching means, wherein the control means independently connects the objects to the power source one by one. form a first mode by, form a second mode by connecting the object two or more simultaneously to power, form a third mode by all of the object is not connected to power supply, the respective A mode is generated by switching through the switching circuit by the control means, and A / D conversion is performed in each mode after a predetermined time after switching of the switching circuit. Performed to acquire the value, the acquired A / D conversion value of each object, the abnormality was detected in the device based on the A / D conversion value when the second mode when the first mode, An abnormality of the apparatus is detected with reference to a power supply voltage connected to the A / D converter in the third mode .
According to this configuration, the generation of the electric quantity from the object is output to the A / D converter while being independently controlled, and the A / D of each object is performed in the first, second, and third modes. The conversion value and abnormality of the A / D converter can be detected.

Claims (5)

検出すべき対象物のアナログ電気量をディジタル量に変換するA/D変換器と、前記A/D変換器に複数のアナログ電気量を接続するスイッチング回路と、前記スイッチング回路をそれぞれ独立に制御する制御手段とを備えたA/D変換装置において、
前記制御手段は、前記対象物のアナログ電気量を1つずつ独立に前記A/D変換器へ出力する第1モードと、前記対象物のアナログ電気量を2つ以上同時に前記A/D変換器へ出力する第2モードと、前記対象物のアナログ電気量を全て出力しない第3モードを発生させ、前記第1モードの時に前記各対象物のA/D変換値を個別に取得し、前記第2モードおよび前記第3モードの時に装置の異常を検出することを特徴とするA/D変換装置。
An A / D converter that converts an analog electrical quantity of an object to be detected into a digital quantity, a switching circuit that connects a plurality of analog electrical quantities to the A / D converter, and the switching circuit are independently controlled. In an A / D conversion device comprising a control means,
The control means includes a first mode in which analog electric quantities of the object are independently output to the A / D converter one by one, and two or more analog electric quantities of the object are simultaneously applied to the A / D converter. Generating a second mode for outputting to the third mode, and a third mode for not outputting all the analog electric quantity of the object, and individually acquiring an A / D conversion value of each object in the first mode, An A / D conversion apparatus that detects an abnormality of the apparatus in the second mode and the third mode.
検出すべき対象物のアナログ電気量をディジタル量に変換するA/D変換器と、前記A/D変換器に接続された複数の対象物のアナログ電気量の生成をそれぞれ独立に制御するスイッチング手段と、前記スイッチング手段のスイッチングタイミングを制御する制御手段とを備えたA/D変換装置において、
前記制御手段は、前記対象物のアナログ電気量の生成を1つずつ独立に行う第1モードと、前記対象物のアナログ電気量の生成を2つ以上同時に行う第2モードと、全ての前記対象物からのアナログ電気量生成がない第3モードとを発生させ、前記第1モードの時に前記各対象物のA/D変換値を個別に取得し、前記第2モードおよび前記第3モードの時に装置の異常を検出することを特徴とするA/D変換装置。
An A / D converter that converts an analog electric quantity of an object to be detected into a digital quantity, and a switching unit that independently controls generation of analog electric quantities of a plurality of objects connected to the A / D converter. And an A / D conversion device comprising control means for controlling the switching timing of the switching means,
The control means includes a first mode in which the analog electric quantity of the object is independently generated one by one, a second mode in which two or more analog electric quantities of the object are simultaneously generated, and all the objects A third mode in which no analog electricity is generated from an object, and A / D conversion values of the respective objects are individually acquired in the first mode, and in the second mode and the third mode. An A / D conversion device characterized by detecting an abnormality of the device.
検出すべき対象物のアナログ電気量をディジタル量に変換するA/D変換器と、前記A/D変換器に接続された複数の対象物のアナログ電気量の生成をそれぞれ独立に制御するスイッチング手段と、前記スイッチング手段のスイッチングタイミングを制御する制御手段とを備えたA/D変換装置において、
前記制御手段は、前記対象物を1つずつ独立に接地することにより第1モードと成し、前記対象物を2つ以上同時に接地することにより第2モードと成し、前記対象物を全て接地しないことにより第3モードと成し、前記第1モードの時に前記各対象物のA/D変換値を取得し、前記第2モードおよび前記第3モードの時に装置の異常を検出することを特徴とするA/D変換装置。
An A / D converter that converts an analog electric quantity of an object to be detected into a digital quantity, and a switching unit that independently controls generation of analog electric quantities of a plurality of objects connected to the A / D converter. And an A / D conversion device comprising control means for controlling the switching timing of the switching means,
The control means sets the first mode by grounding the objects independently one by one, and sets the second mode by grounding two or more objects at the same time, and grounds all the objects. The third mode, the A / D conversion value of each object is acquired in the first mode, and the abnormality of the apparatus is detected in the second mode and the third mode. A / D conversion device.
検出すべき対象物のアナログ電気量をディジタル量に変換するA/D変換器と、前記A/D変換器に接続された複数の対象物のアナログ電気量の生成をそれぞれ独立に制御するスイッチング手段と、前記スイッチング手段のスイッチングタイミングを制御する制御手段とを備えたA/D変換装置において、
前記制御手段は、前記対象物を1つずつ独立に電源へ接続することにより第1モードと成し、前記対象物を2つ以上同時に電源へ接続することにより第2モードと成し、前記対象物を全て電源へ接続しないことにより第3モードと成し、前記第1モードの時に前記各対象物のA/D変換値を取得し、前記第2モードおよび前記第3モードの時に装置の異常を検出することを特徴とするA/D変換装置。
An A / D converter that converts an analog electric quantity of an object to be detected into a digital quantity, and a switching unit that independently controls generation of analog electric quantities of a plurality of objects connected to the A / D converter. And an A / D conversion device comprising control means for controlling the switching timing of the switching means,
The control means forms the first mode by independently connecting the objects to the power source one by one, and forms the second mode by simultaneously connecting two or more objects to the power source. The third mode is established by not connecting all objects to the power source, the A / D conversion values of the respective objects are acquired in the first mode, and the apparatus malfunctions in the second mode and the third mode. A / D conversion device characterized by detecting
前記第2モードの時に、前記対象物が並列に接続された場合のアナログ電気量に対する特性値の換算手段を設け、前記第2のモードにおいて前記対象物の特性値を検出することを特徴とする請求項3または請求項4に記載のA/D変換装置。   In the second mode, there is provided means for converting a characteristic value with respect to an analog electric quantity when the object is connected in parallel, and the characteristic value of the object is detected in the second mode. The A / D conversion device according to claim 3 or 4.
JP2012097311A 2012-04-23 2012-04-23 A / D converter Active JP5368601B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012097311A JP5368601B2 (en) 2012-04-23 2012-04-23 A / D converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012097311A JP5368601B2 (en) 2012-04-23 2012-04-23 A / D converter

Publications (2)

Publication Number Publication Date
JP2013225781A true JP2013225781A (en) 2013-10-31
JP5368601B2 JP5368601B2 (en) 2013-12-18

Family

ID=49595567

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012097311A Active JP5368601B2 (en) 2012-04-23 2012-04-23 A / D converter

Country Status (1)

Country Link
JP (1) JP5368601B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015076768A (en) * 2013-10-10 2015-04-20 日立オートモティブシステムズ株式会社 Electronic control device
WO2017081759A1 (en) * 2015-11-11 2017-05-18 三菱電機株式会社 A/d conversion device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0222928A (en) * 1988-07-11 1990-01-25 Sharp Corp Input circuit for processor
JPH08152925A (en) * 1994-11-25 1996-06-11 Nec Corp Abnormality judging circuit for redundant operation system
JPH10197583A (en) * 1997-01-08 1998-07-31 Toshiba Corp Analog input diagnostic device
JP2007110755A (en) * 2007-01-05 2007-04-26 Matsushita Electric Ind Co Ltd A/d conversion apparatus
JP2007333574A (en) * 2006-06-15 2007-12-27 Sanyo Electric Co Ltd Sensing device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0222928A (en) * 1988-07-11 1990-01-25 Sharp Corp Input circuit for processor
JPH08152925A (en) * 1994-11-25 1996-06-11 Nec Corp Abnormality judging circuit for redundant operation system
JPH10197583A (en) * 1997-01-08 1998-07-31 Toshiba Corp Analog input diagnostic device
JP2007333574A (en) * 2006-06-15 2007-12-27 Sanyo Electric Co Ltd Sensing device
JP2007110755A (en) * 2007-01-05 2007-04-26 Matsushita Electric Ind Co Ltd A/d conversion apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015076768A (en) * 2013-10-10 2015-04-20 日立オートモティブシステムズ株式会社 Electronic control device
WO2017081759A1 (en) * 2015-11-11 2017-05-18 三菱電機株式会社 A/d conversion device
JPWO2017081759A1 (en) * 2015-11-11 2018-03-15 三菱電機株式会社 A / D converter
US10164652B2 (en) 2015-11-11 2018-12-25 Mitsubishi Electric Corporation A/D conversion device
EP3376671A4 (en) * 2015-11-11 2019-08-14 Mitsubishi Electric Corporation A/d conversion device
EP4106206A1 (en) 2015-11-11 2022-12-21 Mitsubishi Electric Corporation A/d conversion device

Also Published As

Publication number Publication date
JP5368601B2 (en) 2013-12-18

Similar Documents

Publication Publication Date Title
JP6033529B2 (en) Detection device and current sensor
JP6158029B2 (en) Electronic control unit
CN102037647B (en) High-side driver
US9739822B2 (en) Input circuit
JP5832751B2 (en) Electronic circuit and magnetic field detection device capable of self-diagnosis
JP2009509471A (en) Adaptive input cell circuit
JP5409286B2 (en) Measuring transducer
CN113614550A (en) Device for analyzing a current in an electrical consumer and electrical consumer having such a device
JP6088642B2 (en) Analog signal input circuit having a plurality of analog signal detection channels
JP5368601B2 (en) A / D converter
RU2740149C1 (en) Voltage sensor diagnostics device and voltage sensor diagnostics method
JP4103145B2 (en) Input module
CN108352839B (en) A/D converter
JP2010015921A (en) Test method, its device, and multipoint measuring device of multiplexer switch
JP2009145181A (en) Detection device
WO2018092475A1 (en) Wiring line abnormality detecting device
JP5457152B2 (en) Inverter device
JP2015021954A (en) Current controller
WO2018084018A1 (en) Electronic controller and communication apparatus
JP2008107170A (en) Analog output device
JP2003219679A (en) Dc brushless motor controller for washing machine
JP2010055934A (en) Connector device and method for detecting reverse connection of connector
JP2006349467A (en) Temperature detecting device

Legal Events

Date Code Title Description
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: 20130903

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130912

R151 Written notification of patent or utility model registration

Ref document number: 5368601

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250