JP2011112474A - Input module - Google Patents

Input module Download PDF

Info

Publication number
JP2011112474A
JP2011112474A JP2009268335A JP2009268335A JP2011112474A JP 2011112474 A JP2011112474 A JP 2011112474A JP 2009268335 A JP2009268335 A JP 2009268335A JP 2009268335 A JP2009268335 A JP 2009268335A JP 2011112474 A JP2011112474 A JP 2011112474A
Authority
JP
Japan
Prior art keywords
input
voltage
value
current
resistor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009268335A
Other languages
Japanese (ja)
Inventor
Kimihide Aoyama
公英 青山
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 JP2009268335A priority Critical patent/JP2011112474A/en
Publication of JP2011112474A publication Critical patent/JP2011112474A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an input module capable of easily detecting a short circuit between channels. <P>SOLUTION: The input module has a plurality of channels for making a current flow to a resistance for input measurement connected to input terminals, measuring voltage values of voltages generated at both ends of the resistance for input measurement by a voltage measuring circuit, and incorporating the measured voltage value as an input value. The input module further includes: variable current sources provided at each channel of a plurality of channels and capable of varying a current value of the current flowing to the resistance for input measurement; and a control circuit for varying the current value of the current passing from the variable current source to the resistance for input measurement at each channel of the plurality of channels, measuring the voltage values of the voltages generated at both the ends of the resistance for input measurement by the voltage measuring circuit at each channel of the plurality of channels, comparing the voltage values measured before and after the change of the current, and when the change in voltage value is not proportional to a change in current value, that a short circuit is determined to be generated between the channels. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、入力端子に接続された入力測定用抵抗に電流を流して入力測定用抵抗の両端に発生した電圧の電圧値を電圧測定回路で測定し、測定電圧値を入力値として取り込むチャネルを複数有する入力モジュールに関し、詳しくは、容易にチャネル間の短絡を検出することが可能な入力モジュールに関するものである。   The present invention provides a channel for measuring the voltage value of the voltage generated at both ends of the input measurement resistor by flowing a current through the input measurement resistor connected to the input terminal, and taking the measured voltage value as an input value. More specifically, the present invention relates to an input module that can easily detect a short circuit between channels.

プロセス産業の分野、特にプラントの制御装置において、重要項目の1つとされているのが安全性である。近年では、IEC(International Electrotechnical Commission:国際電気標準会議)により、機能安全の国際規格IEC61508(電気・電子・プログラマブル電子安全関連系の機能安全)が制定され、プラントの制御装置に多く適用されている。   Safety is one of the important items in the field of process industries, particularly in plant control devices. In recent years, IEC (International Electrotechnical Commission) established IEC61508 (functional safety of electrical / electronic / programmable electronic safety related systems) for functional safety, and it is widely applied to plant control devices. .

図5は、従来の入力モジュールの一例を示した構成図である。
図5において、入力モジュールM1は、電圧測定回路IC1、電圧測定回路IC2、定電流源I1、定電流源I2、入力端子CN1、入力端子CN2、入力端子CN3、入力端子CN4および制御回路CT1を有している。
FIG. 5 is a configuration diagram showing an example of a conventional input module.
In FIG. 5, the input module M1 has a voltage measurement circuit IC1, a voltage measurement circuit IC2, a constant current source I1, a constant current source I2, an input terminal CN1, an input terminal CN2, an input terminal CN3, an input terminal CN4, and a control circuit CT1. is doing.

電圧測定回路IC1および電圧測定回路IC2は、電圧を測定する回路であり、主にA/D変換器(Analog to Digital Converter)等で構成される。定電流源I1および定電流源I2は、予め定められた一定の電流値を流す電流源である。入力端子CN1〜CN4は、入力モジュールM1への信号の入力端子となる。制御回路CT1は、電圧測定回路IC1および電圧測定回路IC2で測定された電圧値を入力値として取り込む。入力測定用抵抗R1および入力測定用抵抗R2は、周囲温度により抵抗値が変化する抵抗であり、例えば、測温抵抗体等である。   The voltage measurement circuit IC1 and the voltage measurement circuit IC2 are circuits that measure voltage, and are mainly configured by an A / D converter (Analog to Digital Converter) or the like. The constant current source I1 and the constant current source I2 are current sources that flow a predetermined constant current value. The input terminals CN1 to CN4 are input terminals for signals to the input module M1. The control circuit CT1 takes in the voltage values measured by the voltage measurement circuit IC1 and the voltage measurement circuit IC2 as input values. The input measurement resistor R1 and the input measurement resistor R2 are resistors whose resistance values change depending on the ambient temperature, and are, for example, a resistance temperature detector.

入力端子CN1の一端は、定電流源I1の出力端子および電圧測定回路IC1の入力端子にそれぞれ接続され、電圧測定回路IC1の出力端子は、制御回路CT1の入力端子V1に接続される。定電流源I1の入力端子には、電源電圧が印加され、入力端子CN2の一端は、共通電位に接続されている。入力端子CN1の他端は、入力測定用抵抗R1の一端に接続され、入力測定用抵抗R1の他端は、入力端子CN2の他端に接続されている。また、電圧測定回路IC1、定電流源I1、入力端子CN1およびCN2はチャネル1を構成している。   One end of the input terminal CN1 is connected to the output terminal of the constant current source I1 and the input terminal of the voltage measurement circuit IC1, and the output terminal of the voltage measurement circuit IC1 is connected to the input terminal V1 of the control circuit CT1. A power supply voltage is applied to the input terminal of the constant current source I1, and one end of the input terminal CN2 is connected to a common potential. The other end of the input terminal CN1 is connected to one end of the input measurement resistor R1, and the other end of the input measurement resistor R1 is connected to the other end of the input terminal CN2. The voltage measurement circuit IC1, the constant current source I1, and the input terminals CN1 and CN2 constitute a channel 1.

入力端子CN3の一端は、定電流源I2の出力端子および電圧測定回路IC2の入力端子にそれぞれ接続され、電圧測定回路IC2の出力端子は、制御回路CT1の入力端子V2に接続される。定電流源I2の入力端子には、電源電圧が印加され、入力端子CN4の一端は、共通電位に接続されている。入力端子CN3の他端は、入力測定用抵抗R2の一端に接続され、入力測定用抵抗R2の他端は、入力端子CN4の他端に接続されている。また、電圧測定回路IC2、定電流源I2、入力端子CN3およびCN4はチャネル2を構成している。   One end of the input terminal CN3 is connected to the output terminal of the constant current source I2 and the input terminal of the voltage measurement circuit IC2, and the output terminal of the voltage measurement circuit IC2 is connected to the input terminal V2 of the control circuit CT1. A power supply voltage is applied to the input terminal of the constant current source I2, and one end of the input terminal CN4 is connected to a common potential. The other end of the input terminal CN3 is connected to one end of the input measurement resistor R2, and the other end of the input measurement resistor R2 is connected to the other end of the input terminal CN4. The voltage measuring circuit IC2, the constant current source I2, and the input terminals CN3 and CN4 constitute a channel 2.

このような入力モジュールの動作を説明する。
チャネル1の場合には、電流値i1の電流が定電流源I1から入力端子CN1を介して入力測定用抵抗R1に流れる。これにより、入力測定用抵抗R1の両端には電圧v1が発生し、この電圧v1を電圧測定回路IC1で測定する。制御回路CT1は、電圧測定回路IC1で測定した電圧v1を読み取る。
The operation of such an input module will be described.
In the case of channel 1, a current having a current value i1 flows from the constant current source I1 to the input measurement resistor R1 via the input terminal CN1. As a result, a voltage v1 is generated at both ends of the input measurement resistor R1, and the voltage v1 is measured by the voltage measurement circuit IC1. The control circuit CT1 reads the voltage v1 measured by the voltage measurement circuit IC1.

そして、制御回路CT1は、電圧値v1と電流値i1から入力測定用抵抗R1の抵抗値r1を(1)式にて算出する。
r1=v1/i1 (1)
Then, the control circuit CT1 calculates the resistance value r1 of the input measurement resistor R1 from the voltage value v1 and the current value i1 by the equation (1).
r1 = v1 / i1 (1)

制御回路CT1は、入力測定用抵抗R1の抵抗値r1を算出すると、この抵抗値r1から入力測定用抵抗R1の周囲温度を算出する。この時、入力測定用抵抗R1の抵抗値と周囲温度の関係は既知であり、制御回路CT1も入力測定用抵抗R1の抵抗値と周囲温度の関係を把握しているものとする。   When calculating the resistance value r1 of the input measurement resistor R1, the control circuit CT1 calculates the ambient temperature of the input measurement resistor R1 from the resistance value r1. At this time, it is assumed that the relationship between the resistance value of the input measurement resistor R1 and the ambient temperature is known, and the control circuit CT1 also knows the relationship between the resistance value of the input measurement resistor R1 and the ambient temperature.

同様に、チャネル2の場合には、電流値がi2の電流が定電流源I2から入力端子CN3を介して入力測定用抵抗R2に流れる。これにより、入力測定用抵抗R2の両端には電圧v2が発生し、この電圧v2を電圧測定回路IC2で測定する。制御回路CT1は、電圧測定回路IC2で測定した電圧v2を読み取る。   Similarly, in the case of channel 2, a current whose current value is i2 flows from the constant current source I2 to the input measurement resistor R2 via the input terminal CN3. As a result, a voltage v2 is generated at both ends of the input measurement resistor R2, and this voltage v2 is measured by the voltage measurement circuit IC2. The control circuit CT1 reads the voltage v2 measured by the voltage measurement circuit IC2.

そして、制御回路CT1は、電圧値v2と電流値i2から入力測定用抵抗R2の抵抗値r2を(2)式にて算出する。
r2=v2/i2 (2)
Then, the control circuit CT1 calculates the resistance value r2 of the input measurement resistor R2 from the voltage value v2 and the current value i2 by the equation (2).
r2 = v2 / i2 (2)

制御回路CT1は、入力測定用抵抗R2の抵抗値r2を算出すると、この抵抗値r2から入力測定用抵抗R2の周囲温度を算出する。この時、入力測定用抵抗R2の抵抗値と周囲温度の関係は既知であり、制御回路CT1も入力測定用抵抗R2の抵抗値と周囲温度の関係を把握しているものとする。   When calculating the resistance value r2 of the input measurement resistor R2, the control circuit CT1 calculates the ambient temperature of the input measurement resistor R2 from the resistance value r2. At this time, it is assumed that the relationship between the resistance value of the input measurement resistor R2 and the ambient temperature is known, and the control circuit CT1 also knows the relationship between the resistance value of the input measurement resistor R2 and the ambient temperature.

このように、定電流源I1から入力測定用抵抗R1に電流i1を流し、入力測定用抵抗R1の両端に発生する電圧v1を測定する。そして、制御回路CT1が、電圧値v1と電流値i1から入力測定用抵抗R1の抵抗値r1を算出し、既知である入力測定用抵抗R1の抵抗値と周囲温度の関係から入力測定用抵抗R1の周囲温度を求めることにより、正確に温度を測定することができる。また、チャネル2についても同様にして温度を測定することができる。   In this way, the current i1 is supplied from the constant current source I1 to the input measurement resistor R1, and the voltage v1 generated at both ends of the input measurement resistor R1 is measured. Then, the control circuit CT1 calculates the resistance value r1 of the input measurement resistor R1 from the voltage value v1 and the current value i1, and the input measurement resistor R1 from the known relationship between the resistance value of the input measurement resistor R1 and the ambient temperature. The temperature can be accurately measured by obtaining the ambient temperature. Further, the temperature of channel 2 can be measured in the same manner.

特開2006−209470号公報JP 2006-209470 A

しかし、図5に示す従来例では、チャネル間で配線に短絡事故が発生した際に、入力測定用抵抗R1または入力測定用抵抗R2に意図しない電流が流れても、入力測定用抵抗R1または入力測定用抵抗R2の両端に発生する電圧が測定可能な範囲であれば、測定できてしまうので、チャネル間の短絡を検出することができないという問題があった。   However, in the conventional example shown in FIG. 5, even if an unintended current flows through the input measurement resistor R1 or the input measurement resistor R2 when a short circuit accident occurs in the wiring between the channels, the input measurement resistor R1 or the input If the voltage generated at both ends of the measuring resistor R2 is in a measurable range, it can be measured, and therefore there is a problem that a short circuit between channels cannot be detected.

そこで本発明の目的は、容易にチャネル間の短絡を検出することが可能な入力モジュールを実現することにある。   Therefore, an object of the present invention is to realize an input module that can easily detect a short circuit between channels.

請求項1記載の発明は、
入力端子に接続された入力測定用抵抗に電流を流して前記入力測定用抵抗の両端に発生した電圧の電圧値を電圧測定回路で測定し、測定電圧値を入力値として取り込むチャネルを複数有する入力モジュールにおいて、
前記複数のチャネル毎に設けられ、前記入力測定用抵抗に流す電流の電流値を可変できる可変電流源と、
この可変電流源から前記入力測定用抵抗に流す電流の電流値を前記複数のチャネル毎に変化させ、前記入力測定用抵抗の両端に発生した電圧の電圧値を前記複数のチャネル毎に前記電圧測定回路で測定し、前記電流の変化の前後でそれぞれ測定した前記電圧値を比較して前記電流値の変化に前記電圧値の変化が比例していない場合、チャネル間に短絡が発生しているものと判断する制御回路と
を備えたことを特徴とするものである。
請求項2記載の発明は、
入力端子に接続された入力測定用抵抗に電流を流して前記入力測定用抵抗の両端に発生した電圧の電圧値を電圧測定回路で測定し、測定電圧値を入力値として取り込むチャネルを複数有する入力モジュールにおいて、
前記複数のチャネル毎に設けられ、前記入力測定用抵抗に流す電流の電流値を可変できる可変電流源と、
前記複数のチャネル毎に設けられ、前記可変電流源から前記入力測定用抵抗を介して電流が流れる基準抵抗と、
この基準抵抗の両端に発生した電圧の電圧値を測定する電圧測定回路と、
前記可変電流源から前記入力測定用抵抗に流す電流の電流値を前記複数のチャネル毎に変化させ、前記基準抵抗の両端に発生した電圧の電圧値を前記複数のチャネル毎に前記電圧測定回路で測定して前記基準抵抗に流れる電流の電流値を算出し、前記可変電流源に設定した電流値と前記基準抵抗に流れる電流値が等しくない場合、チャネル間に短絡が発生しているものと判断する制御回路と
を備えたことを特徴とするものである。
請求項3記載の発明は、請求項1または2に記載の発明において、
前記入力測定用抵抗は、
測温抵抗体であることを特徴とするものである。
The invention described in claim 1
An input having a plurality of channels for supplying a current to an input measurement resistor connected to an input terminal, measuring a voltage value of a voltage generated at both ends of the input measurement resistor with a voltage measurement circuit, and taking the measurement voltage value as an input value In the module
A variable current source provided for each of the plurality of channels and capable of varying a current value of a current flowing through the input measurement resistor;
The current value of the current flowing from the variable current source to the input measurement resistor is changed for each of the plurality of channels, and the voltage value of the voltage generated at both ends of the input measurement resistor is measured for the plurality of channels. When the voltage value measured by the circuit is compared before and after the change of the current and the change of the voltage value is not proportional to the change of the current value, a short circuit has occurred between the channels And a control circuit for judging that.
The invention according to claim 2
An input having a plurality of channels for supplying a current to an input measurement resistor connected to an input terminal, measuring a voltage value of a voltage generated at both ends of the input measurement resistor with a voltage measurement circuit, and taking the measurement voltage value as an input value In the module
A variable current source provided for each of the plurality of channels and capable of varying a current value of a current flowing through the input measurement resistor;
A reference resistor provided for each of the plurality of channels, through which current flows from the variable current source via the input measurement resistor;
A voltage measuring circuit for measuring the voltage value of the voltage generated at both ends of the reference resistor;
The current value of the current flowing from the variable current source to the input measurement resistor is changed for each of the plurality of channels, and the voltage value of the voltage generated at both ends of the reference resistor is changed by the voltage measurement circuit for each of the plurality of channels. Measure and calculate the current value of the current flowing through the reference resistor. If the current value set in the variable current source and the current value flowing through the reference resistor are not equal, it is determined that a short circuit has occurred between the channels. And a control circuit.
The invention according to claim 3 is the invention according to claim 1 or 2,
The input measurement resistor is:
It is a resistance temperature detector.

本発明によれば、以下のような効果がある。
請求項1によれば、制御回路が、可変電流源から入力端子に接続された抵抗に流す電流の電流値をチャネル毎に変化させ、入力測定用抵抗の両端に発生した電圧の電圧値をチャネル毎に電圧測定回路で測定し、電流の変化の前後でそれぞれ測定した電圧値を比較する。そして、電流値の変化に電圧値の変化が比例していない場合、チャネル間に短絡が発生しているものと判断する。これにより、チャネル間に短絡が発生していない場合には、電流値の変化に対して電圧値の変化が比例するので、チャネル間の短絡の有無を区別でき、容易にチャネル間の短絡を検出することができる。
The present invention has the following effects.
According to the first aspect, the control circuit changes the current value of the current flowing from the variable current source to the resistor connected to the input terminal for each channel, and sets the voltage value of the voltage generated at both ends of the input measurement resistor to the channel. Each time, the voltage is measured by the voltage measuring circuit, and the measured voltage values are compared before and after the current change. When the change in voltage value is not proportional to the change in current value, it is determined that a short circuit has occurred between the channels. As a result, when there is no short circuit between channels, the change in voltage value is proportional to the change in current value, so the presence or absence of a short circuit between channels can be distinguished, and a short circuit between channels can be easily detected. can do.

また、請求項2によれば、制御回路が、可変電流源から入力端子に接続された入力測定用抵抗に流す電流の電流値をチャネル毎に変化させ、基準抵抗の両端に発生した電圧の電圧値をチャネル毎に電圧測定回路で測定して基準抵抗に流れる電流の電流値を算出する。そして、可変電流源に設定した電流値と基準抵抗に流れる電流値が等しくない場合、チャネル間に短絡が発生しているものと判断する。これにより、チャネル間に短絡が発生していない場合には、可変電流源に設定した電流値と基準抵抗に流れる電流値が等しくなるので、チャネル間の短絡の有無を区別でき、容易にチャネル間の短絡を検出することができる。   According to claim 2, the control circuit changes the current value of the current flowing from the variable current source to the input measurement resistor connected to the input terminal for each channel, and the voltage generated at both ends of the reference resistor. The value is measured for each channel by the voltage measurement circuit, and the current value of the current flowing through the reference resistor is calculated. If the current value set for the variable current source and the current value flowing through the reference resistor are not equal, it is determined that a short circuit has occurred between the channels. As a result, when there is no short circuit between the channels, the current value set in the variable current source and the current value flowing through the reference resistor are equal, so the presence or absence of a short circuit between the channels can be distinguished and the channel can be easily connected. Can be detected.

本発明の入力モジュールの第1の実施例を示した構成図である。It is the block diagram which showed the 1st Example of the input module of this invention. 図1の実施例でチャネル1とチャネル2がチャネル間短絡された状態の等価回路である。1 is an equivalent circuit in a state in which channel 1 and channel 2 are short-circuited between channels in the embodiment of FIG. 本発明の入力モジュールの第2の実施例を示した構成図である。It is the block diagram which showed the 2nd Example of the input module of this invention. 図3の実施例でチャネル1とチャネル2がチャネル間短絡された状態の構成図である。FIG. 4 is a configuration diagram in a state where channel 1 and channel 2 are short-circuited between channels in the embodiment of FIG. 3. 従来の入力モジュールの一例を示した構成図である。It is the block diagram which showed an example of the conventional input module.

以下、図面を用いて本発明の実施の形態を説明する。
[第1の実施例]
図1は、本発明の入力モジュールの第1の実施例を示した構成図である。ここで、図5と同一のものは同一符号を付し、説明を省略する。 図1において、図5に示す構成と異なる点は、定電流源I1の代わりに可変電流源I3が設けられている点、定電流源I2の代わりに可変電流源I4が設けられている点、制御回路CT1の代わりに制御回路CT2が設けられている点である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[First embodiment]
FIG. 1 is a block diagram showing a first embodiment of the input module of the present invention. Here, the same components as those shown in FIG. 1 differs from the configuration shown in FIG. 5 in that a variable current source I3 is provided instead of the constant current source I1, and a variable current source I4 is provided instead of the constant current source I2. A control circuit CT2 is provided instead of the control circuit CT1.

図1において、入力モジュールM2は、電圧測定回路IC1、電圧測定回路IC2、可変電流源I3、可変電流源I4、入力端子CN1、入力端子CN2、入力端子CN3、入力端子CN4および制御回路CT2を有している。   In FIG. 1, the input module M2 includes a voltage measurement circuit IC1, a voltage measurement circuit IC2, a variable current source I3, a variable current source I4, an input terminal CN1, an input terminal CN2, an input terminal CN3, an input terminal CN4, and a control circuit CT2. is doing.

また、電圧測定回路IC1、可変電流源I3、入力端子CN1およびCN2はチャネル1を構成している。同様に、電圧測定回路IC2、可変電流源I4、入力端子CN3およびCN4はチャネル2を構成している。   The voltage measurement circuit IC1, the variable current source I3, and the input terminals CN1 and CN2 constitute a channel 1. Similarly, the voltage measurement circuit IC2, the variable current source I4, and the input terminals CN3 and CN4 constitute a channel 2.

可変電流源I3および可変電流源I4は、入力測定用抵抗R1またはR2に流す電流を可変できる電流源である。制御回路CT2は、可変電流源I3またはI4から入力測定用抵抗R1またはR2に流す電流の電流値をチャネル毎に変化させ、入力測定用抵抗R1またはR2の両端に発生した電圧をチャネル毎に電圧測定回路IC1またはIC2で測定し、電流の変化の前後でそれぞれ測定した電圧を比較することにより、チャネル間の短絡を検出する。   The variable current source I3 and the variable current source I4 are current sources that can vary the current flowing through the input measurement resistor R1 or R2. The control circuit CT2 changes the current value of the current flowing from the variable current source I3 or I4 to the input measurement resistor R1 or R2 for each channel, and the voltage generated at both ends of the input measurement resistor R1 or R2 for each channel. A short circuit between the channels is detected by measuring the measurement circuit IC1 or IC2 and comparing the measured voltages before and after the change in current.

チャネル1は、入力端子CN1およびCN2に接続された入力測定用抵抗R1に電流を流して入力測定用抵抗R1の両端に発生した電圧の電圧値を電圧測定回路IC1で測定し、測定電圧値を入力値として取り込む。同様に、チャネル2は、入力端子CN3およびCN4に接続された入力測定用抵抗R2に電流を流して入力測定用抵抗R2の両端に発生した電圧の電圧値を電圧測定回路IC2で測定し、測定電圧値を入力値として取り込む。入力モジュールM2は、チャネル1およびチャネル2を有している。   In channel 1, a current is passed through the input measurement resistor R1 connected to the input terminals CN1 and CN2, and the voltage value of the voltage generated at both ends of the input measurement resistor R1 is measured by the voltage measurement circuit IC1, and the measured voltage value is measured. Capture as input value. Similarly, the channel 2 measures the voltage value of the voltage generated at both ends of the input measurement resistor R2 by passing a current through the input measurement resistor R2 connected to the input terminals CN3 and CN4, and measures the voltage. Takes a voltage value as an input value. The input module M2 has a channel 1 and a channel 2.

入力端子CN1の一端は、可変電流源I3の出力端子および電圧測定回路IC1の入力端子にそれぞれ接続され、電圧測定回路IC1の出力端子は、制御回路CT2の入力端子V3に接続される。可変電流源I3の入力端子には、電源電圧が印加され、入力端子CN2の一端は、共通電位に接続されている。入力端子CN1の他端は、入力測定用抵抗R1の一端に接続され、入力測定用抵抗R1の他端は、入力端子CN2の他端に接続されている。制御回路CT2の出力端子I3_CTLは、可変電流源I3の制御端子に接続される。   One end of the input terminal CN1 is connected to the output terminal of the variable current source I3 and the input terminal of the voltage measurement circuit IC1, and the output terminal of the voltage measurement circuit IC1 is connected to the input terminal V3 of the control circuit CT2. A power supply voltage is applied to the input terminal of the variable current source I3, and one end of the input terminal CN2 is connected to a common potential. The other end of the input terminal CN1 is connected to one end of the input measurement resistor R1, and the other end of the input measurement resistor R1 is connected to the other end of the input terminal CN2. The output terminal I3_CTL of the control circuit CT2 is connected to the control terminal of the variable current source I3.

入力端子CN3の一端は、可変電流源I4の出力端子および電圧測定回路IC2の入力端子にそれぞれ接続され、電圧測定回路IC2の出力端子は、制御回路CT2の入力端子V4に接続される。可変電流源I4の入力端子には、電源電圧が印加され、入力端子CN4の一端は、共通電位に接続されている。入力端子CN3の他端は、入力測定用抵抗R2の一端に接続され、入力測定用抵抗R2の他端は、入力端子CN4の他端に接続されている。制御回路CT2の出力端子I4_CTLは、可変電流源I4の制御端子に接続される。   One end of the input terminal CN3 is connected to the output terminal of the variable current source I4 and the input terminal of the voltage measurement circuit IC2, and the output terminal of the voltage measurement circuit IC2 is connected to the input terminal V4 of the control circuit CT2. A power supply voltage is applied to the input terminal of the variable current source I4, and one end of the input terminal CN4 is connected to a common potential. The other end of the input terminal CN3 is connected to one end of the input measurement resistor R2, and the other end of the input measurement resistor R2 is connected to the other end of the input terminal CN4. The output terminal I4_CTL of the control circuit CT2 is connected to the control terminal of the variable current source I4.

このような入力モジュールの動作を説明する。
制御回路CT2は、出力端子I3_CTLを介して可変電流源I3の電流値i3を設定し、出力端子I4_CTLを介して可変電流源I4の電流値i4を設定する。可変電流源I3から電流値i3の電流が入力端子CN1を介して入力測定用抵抗R1に流れ、可変電流源I4から電流値i4の電流が入力端子CN3を介して入力測定用抵抗R2に流れる。これにより、入力測定用抵抗R1の両端には電圧v3が発生し、入力測定用抵抗R2の両端には電圧v4が発生する。
The operation of such an input module will be described.
The control circuit CT2 sets the current value i3 of the variable current source I3 through the output terminal I3_CTL, and sets the current value i4 of the variable current source I4 through the output terminal I4_CTL. A current having a current value i3 flows from the variable current source I3 to the input measuring resistor R1 via the input terminal CN1, and a current having a current value i4 flows from the variable current source I4 to the input measuring resistor R2 via the input terminal CN3. As a result, a voltage v3 is generated at both ends of the input measurement resistor R1, and a voltage v4 is generated at both ends of the input measurement resistor R2.

制御回路CT2は、電圧測定回路IC1で測定した電圧v3と電圧測定回路IC2で測定した電圧v4をそれぞれ読み取る。そして、制御回路CT2は、電圧値v3と電流値i3から入力測定用抵抗R1の抵抗値r1を(3)式にて算出し、電圧値v4と電流値i4から入力測定用抵抗R2の抵抗値r2を(4)式にて算出する。
r1=v3/i3 (3)
r2=v4/i4 (4)
The control circuit CT2 reads the voltage v3 measured by the voltage measurement circuit IC1 and the voltage v4 measured by the voltage measurement circuit IC2. Then, the control circuit CT2 calculates the resistance value r1 of the input measurement resistor R1 from the voltage value v3 and the current value i3 by the equation (3), and the resistance value of the input measurement resistor R2 from the voltage value v4 and the current value i4. r2 is calculated by equation (4).
r1 = v3 / i3 (3)
r2 = v4 / i4 (4)

次に、制御回路CT2は、可変電流源I3の電流値i3、または、可変電流源I4の電流値i4のどちらか一方を変化させ、同様に測定を行う。   Next, the control circuit CT2 changes either the current value i3 of the variable current source I3 or the current value i4 of the variable current source I4, and performs the same measurement.

制御回路CT2は、可変電流源I3の電流値i3を変化させる前の入力測定用抵抗R1の両端に発生する電圧v3と可変電流源I3の電流値i3を変化させた後の入力測定用抵抗R1の両端に発生する電圧v3を比較する。そして、可変電流源I3の電流値i3の変化に電圧v3の変化が比例している場合、チャネル間の短絡は無いものと判断する。   The control circuit CT2 includes the voltage v3 generated at both ends of the input measurement resistor R1 before changing the current value i3 of the variable current source I3 and the input measurement resistor R1 after changing the current value i3 of the variable current source I3. Are compared with each other. If the change in voltage v3 is proportional to the change in current value i3 of variable current source I3, it is determined that there is no short circuit between channels.

なお、制御回路CT2が比較する対象は、可変電流源I4の電流値i4を変化させる前の入力測定用抵抗R2の両端に発生する電圧v4と可変電流源I4の電流値i4を変化させた後の入力測定用抵抗R2の両端に発生する電圧v4を比較するようにしてもよい。   The control circuit CT2 compares the voltage v4 generated at both ends of the input measurement resistor R2 before changing the current value i4 of the variable current source I4 and the current value i4 of the variable current source I4. The voltage v4 generated across the input measurement resistor R2 may be compared.

チャネル間の短絡は無いものと判断された場合、制御回路CT2は、入力測定用抵抗R1の抵抗値r1を算出した後、この抵抗値r1から入力測定用抵抗R1の周囲温度を算出する。同様に、制御回路CT2は、入力測定用抵抗R2の抵抗値r2を算出した後、この抵抗値r2から入力測定用抵抗R2の周囲温度を算出する。この時、入力測定用抵抗R1または入力測定用抵抗R2の抵抗値と周囲温度の関係は既知であり、制御回路CT2も入力測定用抵抗R1または入力測定用抵抗R2の抵抗値と周囲温度の関係を把握しているものとする。   When it is determined that there is no short circuit between the channels, the control circuit CT2 calculates the resistance value r1 of the input measurement resistor R1, and then calculates the ambient temperature of the input measurement resistor R1 from the resistance value r1. Similarly, after calculating the resistance value r2 of the input measurement resistor R2, the control circuit CT2 calculates the ambient temperature of the input measurement resistor R2 from the resistance value r2. At this time, the relationship between the resistance value of the input measurement resistor R1 or the input measurement resistor R2 and the ambient temperature is known, and the control circuit CT2 also relates the relationship between the resistance value of the input measurement resistor R1 or the input measurement resistor R2 and the ambient temperature. Assume that

一方、可変電流源I3の電流値i3の変化に電圧v3の変化が比例していない場合、チャネル間に短絡が発生しているものと判断し、異常が発生していることを入力モジュールのユーザに伝える。   On the other hand, if the change in the voltage v3 is not proportional to the change in the current value i3 of the variable current source I3, it is determined that a short circuit has occurred between the channels, and the user of the input module has determined that an abnormality has occurred. To tell.

一例として、配線が正常な場合を具体的に説明する。例えば、入力測定用抵抗R1の抵抗値r1および入力測定用抵抗R2の抵抗値r2がそれぞれ100Ωの場合の測定について説明する。なお、入力測定用抵抗R1および入力測定用抵抗R2の周囲温度は変化するものであるが、可変電流源I3または可変電流源I4の電流値を変化させて測定する間に急激な周囲温度の変化、すなわち、抵抗値の変化は無いものとして説明する。   As an example, a case where the wiring is normal will be specifically described. For example, the measurement when the resistance value r1 of the input measurement resistor R1 and the resistance value r2 of the input measurement resistor R2 are 100Ω will be described. Although the ambient temperature of the input measurement resistor R1 and the input measurement resistor R2 changes, a sudden change in ambient temperature occurs during measurement while changing the current value of the variable current source I3 or the variable current source I4. That is, description will be made assuming that there is no change in the resistance value.

制御回路CT2は、可変電流源I3および可変電流源I4の電流値をそれぞれ1mAに設定する。可変電流源I3から電流値1mAの電流が入力測定用抵抗R1に流れ、可変電流源I4から電流値1mAの電流が入力測定用抵抗R2に流れる。この時、入力測定用抵抗R1の両端に発生した電圧v3および入力測定用抵抗R2の両端に発生した電圧v4は(5)式、(6)式のようになる。
v3=r1*i3=100Ω*1mA=100mV (5)
v4=r2*i4=100Ω*1mA=100mV (6)
The control circuit CT2 sets the current values of the variable current source I3 and the variable current source I4 to 1 mA, respectively. A current having a current value of 1 mA flows from the variable current source I3 to the input measurement resistor R1, and a current having a current value of 1 mA flows from the variable current source I4 to the input measurement resistor R2. At this time, the voltage v3 generated at both ends of the input measurement resistor R1 and the voltage v4 generated at both ends of the input measurement resistor R2 are expressed by equations (5) and (6).
v3 = r1 * i3 = 100Ω * 1 mA = 100 mV (5)
v4 = r2 * i4 = 100Ω * 1 mA = 100 mV (6)

制御回路CT2は、電圧測定回路IC1および電圧測定回路IC2から電圧値100mVをそれぞれ読み取り、(3)式により、入力測定用抵抗R1の抵抗値r1および入力測定用抵抗R2の抵抗値r2を算出する。
r1=r2=100mV/1mA=100Ω (7)
The control circuit CT2 reads the voltage value of 100 mV from the voltage measurement circuit IC1 and the voltage measurement circuit IC2, respectively, and calculates the resistance value r1 of the input measurement resistor R1 and the resistance value r2 of the input measurement resistor R2 by equation (3). .
r1 = r2 = 100 mV / 1 mA = 100Ω (7)

上記測定に続いて、制御回路CT2は、可変電流源I3の電流値を0.5mAに設定し、可変電流源I4の電流値を1mAに設定する。可変電流源I3から電流値0.5mAの電流が入力測定用抵抗R1に流れ、可変電流源I4から電流値1mAの電流が入力測定用抵抗R2に流れる。この時、入力測定用抵抗R1の両端に発生した電圧v3および入力測定用抵抗R2の両端に発生した電圧v4は(8)式、(9)式のようになる。
v3=r1*i3=100Ω*0.5mA=50mV (8)
v4=r2*i4=100Ω*1mA=100mV (9)
Following the above measurement, the control circuit CT2 sets the current value of the variable current source I3 to 0.5 mA and sets the current value of the variable current source I4 to 1 mA. A current with a current value of 0.5 mA flows from the variable current source I3 to the input measurement resistor R1, and a current with a current value of 1 mA flows from the variable current source I4 to the input measurement resistor R2. At this time, the voltage v3 generated at both ends of the input measurement resistor R1 and the voltage v4 generated at both ends of the input measurement resistor R2 are expressed by equations (8) and (9).
v3 = r1 * i3 = 100Ω * 0.5 mA = 50 mV (8)
v4 = r2 * i4 = 100Ω * 1 mA = 100 mV (9)

制御回路CT2は、電圧測定回路IC1から電圧値50mV、電圧測定回路IC2から電圧値100mVを読み取り、(3)式により、入力測定用抵抗R1の抵抗値r1および入力測定用抵抗R2の抵抗値r2を算出する。
r1=100Ω=50mV/0.5mA (10)
r2=100Ω=100mV/1mA (11)
The control circuit CT2 reads a voltage value of 50 mV from the voltage measurement circuit IC1 and a voltage value of 100 mV from the voltage measurement circuit IC2, and calculates the resistance value r1 of the input measurement resistor R1 and the resistance value r2 of the input measurement resistor R2 by equation (3). Is calculated.
r1 = 100Ω = 50 mV / 0.5 mA (10)
r2 = 100Ω = 100 mV / 1 mA (11)

可変電流源I3の電流値を変化させる前の測定と変化させた後の測定から、入力測定用抵抗R1または入力測定用抵抗R2に流した電流の電流値が変化すると、入力測定用抵抗R1または入力測定用抵抗R2の両端に発生する電圧が電流値の変化に比例しているので、配線が正常であることが確認できる。   When the current value of the current passed through the input measurement resistor R1 or the input measurement resistor R2 changes from the measurement before the change of the current value of the variable current source I3 and the measurement after the change, the input measurement resistor R1 or Since the voltage generated at both ends of the input measurement resistor R2 is proportional to the change in the current value, it can be confirmed that the wiring is normal.

そして、制御回路CT2は、入力測定用抵抗R1および入力測定用抵抗R2の抵抗値と周囲温度の関係から、入力測定用抵抗R1および入力測定用抵抗R2の抵抗値が100Ωの時の周囲温度を算出する。   Then, the control circuit CT2 determines the ambient temperature when the resistance values of the input measurement resistor R1 and the input measurement resistor R2 are 100Ω from the relationship between the resistance value of the input measurement resistor R1 and the input measurement resistor R2 and the ambient temperature. calculate.

次に、配線が異常な場合、すなわち、チャネル間で短絡している場合を具体的に説明する。図2は、図1の実施例でチャネル1とチャネル2がチャネル間短絡された状態の等価回路である。図2において、入力測定用抵抗R3は、入力測定用抵抗R1と入力測定用抵抗R2を並列接続した合成抵抗である。   Next, the case where the wiring is abnormal, that is, the case where a short circuit is caused between the channels will be specifically described. FIG. 2 is an equivalent circuit in which the channel 1 and the channel 2 are short-circuited between the channels in the embodiment of FIG. In FIG. 2, an input measurement resistor R3 is a combined resistor in which an input measurement resistor R1 and an input measurement resistor R2 are connected in parallel.

正常時と同様に、入力測定用抵抗R1の抵抗値r1および入力測定用抵抗R2の抵抗値r2がそれぞれ100Ωの場合の測定について説明する。この時、入力測定用抵抗R3の抵抗値r3は、(12)式のようになる。
r3=r1*r2/(r1+r2)=50Ω (12)
As in the normal case, the measurement when the resistance value r1 of the input measurement resistor R1 and the resistance value r2 of the input measurement resistor R2 are 100Ω will be described. At this time, the resistance value r3 of the input measurement resistor R3 is expressed by the equation (12).
r3 = r1 * r2 / (r1 + r2) = 50Ω (12)

制御回路CT2は、可変電流源I3および可変電流源I4の電流値をそれぞれ1mAに設定する。可変電流源I3からの電流値1mAの電流に可変電流源I4からの電流値1mAの電流が加算された電流が入力測定用抵抗R3に流れる。この時、入力測定用抵抗R3の両端に発生した電圧v3または電圧v4は(13)式のようになる。
v3=v4=r3*(i3+i4)=50Ω*2mA=100mV (13)
The control circuit CT2 sets the current values of the variable current source I3 and the variable current source I4 to 1 mA, respectively. A current obtained by adding the current of 1 mA from the variable current source I4 to the current of 1 mA from the variable current source I3 flows through the input measurement resistor R3. At this time, the voltage v3 or the voltage v4 generated at both ends of the input measurement resistor R3 is expressed by equation (13).
v3 = v4 = r3 * (i3 + i4) = 50Ω * 2 mA = 100 mV (13)

制御回路CT2は、電圧測定回路IC1および電圧測定回路IC2から電圧値100mVをそれぞれ読み取り、(3)式により、入力測定用抵抗R1の抵抗値r1および入力測定用抵抗R2の抵抗値r2を算出する。
r1=r2=100mV/1mA=100Ω (14)
The control circuit CT2 reads the voltage value of 100 mV from the voltage measurement circuit IC1 and the voltage measurement circuit IC2, respectively, and calculates the resistance value r1 of the input measurement resistor R1 and the resistance value r2 of the input measurement resistor R2 by equation (3). .
r1 = r2 = 100 mV / 1 mA = 100Ω (14)

上記測定に続いて、制御回路CT2は、可変電流源I3の電流値を0.5mAに設定し、可変電流源I4の電流値を1mAに設定する。可変電流源I3からの電流値0.5mAの電流に可変電流源I4からの電流値1mAの電流が加算された電流が入力測定用抵抗R3に流れる。この時、入力測定用抵抗R3の両端に発生した電圧v3または電圧v4は(15)式のようになる。
v3=v4=r3*(i3+i4)=50Ω*1.5mA=75mV (15)
Following the above measurement, the control circuit CT2 sets the current value of the variable current source I3 to 0.5 mA and sets the current value of the variable current source I4 to 1 mA. A current obtained by adding the current of 1 mA from the variable current source I4 to the current of 0.5 mA from the variable current source I3 flows through the input measurement resistor R3. At this time, the voltage v3 or the voltage v4 generated at both ends of the input measurement resistor R3 is expressed by equation (15).
v3 = v4 = r3 * (i3 + i4) = 50Ω * 1.5 mA = 75 mV (15)

この場合、制御回路CT2が、可変電流源I3の電流値を1mAに設定し、可変電流源I4の電流値を0.5mAに設定しても、入力測定用抵抗R3の両端に発生した電圧v3または電圧v4は(15)式より同様に75mVとなる。   In this case, even if the control circuit CT2 sets the current value of the variable current source I3 to 1 mA and the current value of the variable current source I4 to 0.5 mA, the voltage v3 generated at both ends of the input measurement resistor R3. Or the voltage v4 becomes 75 mV similarly from the equation (15).

制御回路CT2は、電圧測定回路IC1および電圧測定回路IC2から電圧値75mVをそれぞれ読み取り、(3)式により、入力測定用抵抗R1の抵抗値r1および入力測定用抵抗R2の抵抗値r2を算出する。
r1=75mV/0.5mA=150Ω (16)
r2=75mV/1mA=75Ω (17)
The control circuit CT2 reads the voltage value of 75 mV from the voltage measurement circuit IC1 and the voltage measurement circuit IC2, respectively, and calculates the resistance value r1 of the input measurement resistor R1 and the resistance value r2 of the input measurement resistor R2 by equation (3). .
r1 = 75 mV / 0.5 mA = 150Ω (16)
r2 = 75 mV / 1 mA = 75Ω (17)

制御回路CT2は、可変電流源I3の電流値i3を変化させる前の入力測定用抵抗R1の両端に発生する電圧v3と可変電流源I3の電流値i3を変化させた後の入力測定用抵抗R1の両端に発生する電圧v3を比較する。そして、可変電流源I3の電流値i3の変化に電圧v3の変化が比例していないことにより、チャネル間の短絡を検出する。   The control circuit CT2 includes the voltage v3 generated at both ends of the input measurement resistor R1 before changing the current value i3 of the variable current source I3 and the input measurement resistor R1 after changing the current value i3 of the variable current source I3. Are compared with each other. A short circuit between the channels is detected because the change in the voltage v3 is not proportional to the change in the current value i3 of the variable current source I3.

具体的には、可変電流源I3の電流値i3が1mAの時(変化前)には入力測定用抵抗R1の両端に発生する電圧v3は100mVに対し、可変電流源I3の電流値i3が0.5mAの時(変化後)には入力測定用抵抗R1の両端に発生する電圧v3は75mVとなっている。すなわち、可変電流源I3の電流値i3が1/2となっているのに対し、入力測定用抵抗R1の両端に発生する電圧v3は3/4となっており、比例関係に無い。この場合、制御回路CT2は、異常が発生していることを入力モジュールのユーザに伝える。   Specifically, when the current value i3 of the variable current source I3 is 1 mA (before change), the voltage v3 generated across the input measurement resistor R1 is 100 mV, whereas the current value i3 of the variable current source I3 is 0. At .5 mA (after change), the voltage v3 generated across the input measurement resistor R1 is 75 mV. That is, while the current value i3 of the variable current source I3 is 1/2, the voltage v3 generated across the input measurement resistor R1 is 3/4, which is not proportional. In this case, the control circuit CT2 informs the user of the input module that an abnormality has occurred.

一方、配線が正常な場合には、可変電流源I3の電流値i3が1mAの時(変化前)には入力測定用抵抗R1の両端に発生する電圧v3は100mVに対し、可変電流源I3の電流値i3が0.5mAの時(変化後)には入力測定用抵抗R1の両端に発生する電圧v3は50mVとなっている。すなわち、可変電流源I3の電流値i3が1/2となると、入力測定用抵抗R1の両端に発生する電圧v3も1/2となり、比例関係にある。   On the other hand, when the wiring is normal, when the current value i3 of the variable current source I3 is 1 mA (before change), the voltage v3 generated at both ends of the input measurement resistor R1 is 100 mV, while the variable current source I3 When the current value i3 is 0.5 mA (after change), the voltage v3 generated across the input measurement resistor R1 is 50 mV. That is, when the current value i3 of the variable current source I3 becomes 1/2, the voltage v3 generated across the input measurement resistor R1 also becomes 1/2, which is in a proportional relationship.

このように、制御回路CT2が、可変電流源I3または可変電流源I4のどちらか一方の電流値を変化させる前と変化させた後に、入力測定用抵抗R1および入力測定用抵抗R2の両端に発生する電圧を電圧測定回路IC1および電圧測定回路IC2でそれぞれ測定し、電流値を変化させる前に測定した電圧値と電流値を変化させた後に測定した電圧値を比較することにより、電流値の変化に対する電圧値の変化が比例しているか否かが分かるので、容易にチャネル間の短絡を検出することができる。   In this way, the control circuit CT2 is generated at both ends of the input measurement resistor R1 and the input measurement resistor R2 before and after changing the current value of either the variable current source I3 or the variable current source I4. The voltage measurement circuit IC1 and the voltage measurement circuit IC2 respectively measure the voltage to be measured and compare the voltage value measured before changing the current value with the voltage value measured after changing the current value, thereby changing the current value. Therefore, it is possible to easily detect a short circuit between the channels.

[第2の実施例]
図3は、本発明の入力モジュールの第2の実施例を示した構成図である。ここで、図1と同一のものは同一符号を付し、説明を省略する。 図3において、図1に示す構成と異なる点は、基準抵抗Rref1、基準抵抗Rref2、電圧測定回路IC3および電圧測定回路IC4が新たに設けられている点、制御回路CT2の代わりに制御回路CT3が設けられている点である。
[Second Embodiment]
FIG. 3 is a block diagram showing a second embodiment of the input module of the present invention. Here, the same components as those in FIG. 3 is different from the configuration shown in FIG. 1 in that a reference resistor Rref1, a reference resistor Rref2, a voltage measurement circuit IC3, and a voltage measurement circuit IC4 are newly provided, and a control circuit CT3 is provided instead of the control circuit CT2. It is a point provided.

図3において、入力モジュールM3は、電圧測定回路IC1、電圧測定回路IC2、電圧測定回路IC3、電圧測定回路IC4、可変電流源I3、可変電流源I4、入力端子CN1、入力端子CN2、入力端子CN3、入力端子CN4、基準抵抗Rref1、基準抵抗Rref2および制御回路CT3を有している。   In FIG. 3, the input module M3 includes a voltage measurement circuit IC1, a voltage measurement circuit IC2, a voltage measurement circuit IC3, a voltage measurement circuit IC4, a variable current source I3, a variable current source I4, an input terminal CN1, an input terminal CN2, and an input terminal CN3. , An input terminal CN4, a reference resistor Rref1, a reference resistor Rref2, and a control circuit CT3.

また、電圧測定回路IC1、電圧測定回路IC3、可変電流源I3、基準抵抗Rref1、入力端子CN1およびCN2はチャネル1を構成している。同様に、電圧測定回路IC2、電圧測定回路IC4、可変電流源I4、基準抵抗Rref2、入力端子CN3およびCN4はチャネル2を構成している。   The voltage measurement circuit IC1, the voltage measurement circuit IC3, the variable current source I3, the reference resistor Rref1, and the input terminals CN1 and CN2 constitute a channel 1. Similarly, the voltage measurement circuit IC2, the voltage measurement circuit IC4, the variable current source I4, the reference resistor Rref2, and the input terminals CN3 and CN4 constitute a channel 2.

基準抵抗Rref1および基準抵抗Rref2は、抵抗値が既知である誤差の少ない高精度な抵抗である。電圧測定回路IC3および電圧測定回路IC4は、電圧測定回路IC1および電圧測定回路IC2と同様に、電圧を測定する回路であり、主にA/D変換器等で構成される。   The reference resistor Rref1 and the reference resistor Rref2 are highly accurate resistors with known errors and a small error. Similarly to the voltage measurement circuit IC1 and the voltage measurement circuit IC2, the voltage measurement circuit IC3 and the voltage measurement circuit IC4 are circuits for measuring voltage, and are mainly configured by an A / D converter or the like.

制御回路CT3は、可変電流源I3またはI4から入力測定用抵抗R1またはR2に流す電流の電流値をチャネル毎に変化させ、基準抵抗Rref1またはRref2の両端に発生した電圧をチャネル毎に電圧測定回路IC3またはIC4で測定することにより、チャネル間の短絡を検出する。   The control circuit CT3 changes the current value of the current flowing from the variable current source I3 or I4 to the input measurement resistor R1 or R2 for each channel, and the voltage generated at both ends of the reference resistor Rref1 or Rref2 for each channel. A short circuit between channels is detected by measuring with IC3 or IC4.

チャネル1は、入力端子CN1およびCN2に接続された入力測定用抵抗R1に電流を流して入力測定用抵抗R1の両端に発生した電圧の電圧値を電圧測定回路IC1で測定し、測定電圧値を入力値として取り込む。同様に、チャネル2は、入力端子CN3およびCN4に接続された入力測定用抵抗R2に電流を流して入力測定用抵抗R2の両端に発生した電圧の電圧値を電圧測定回路IC2で測定し、測定電圧値を入力値として取り込む。入力モジュールM3は、チャネル1およびチャネル2を有している。   In channel 1, a current is passed through the input measurement resistor R1 connected to the input terminals CN1 and CN2, and the voltage value of the voltage generated at both ends of the input measurement resistor R1 is measured by the voltage measurement circuit IC1, and the measured voltage value is measured. Capture as input value. Similarly, the channel 2 measures the voltage value of the voltage generated at both ends of the input measurement resistor R2 by passing a current through the input measurement resistor R2 connected to the input terminals CN3 and CN4, and measures the voltage. Takes a voltage value as an input value. The input module M3 has a channel 1 and a channel 2.

入力端子CN1の一端は、可変電流源I3の出力端子および電圧測定回路IC1の入力端子にそれぞれ接続され、電圧測定回路IC1の出力端子は、制御回路CT3の入力端子V11に接続される。可変電流源I3の入力端子には、電源電圧が印加され、入力端子CN2の一端は、基準抵抗Rref1の一端および電圧測定回路IC3の入力端子にそれぞれ接続される。基準抵抗Rref1の他端は共通電位に接続され、電圧測定回路IC3の出力端子は、制御回路CT3の入力端子V12に接続される。   One end of the input terminal CN1 is connected to the output terminal of the variable current source I3 and the input terminal of the voltage measurement circuit IC1, and the output terminal of the voltage measurement circuit IC1 is connected to the input terminal V11 of the control circuit CT3. A power supply voltage is applied to the input terminal of the variable current source I3, and one end of the input terminal CN2 is connected to one end of the reference resistor Rref1 and the input terminal of the voltage measurement circuit IC3. The other end of the reference resistor Rref1 is connected to the common potential, and the output terminal of the voltage measurement circuit IC3 is connected to the input terminal V12 of the control circuit CT3.

入力端子CN1の他端は、入力測定用抵抗R1の一端に接続され、入力測定用抵抗R1の他端は、入力端子CN2の他端に接続されている。制御回路CT3の出力端子I3_CTLは、可変電流源I3の制御端子に接続される。   The other end of the input terminal CN1 is connected to one end of the input measurement resistor R1, and the other end of the input measurement resistor R1 is connected to the other end of the input terminal CN2. The output terminal I3_CTL of the control circuit CT3 is connected to the control terminal of the variable current source I3.

入力端子CN3の一端は、可変電流源I4の出力端子および電圧測定回路IC2の入力端子にそれぞれ接続され、電圧測定回路IC2の出力端子は、制御回路CT3の入力端子V21に接続される。可変電流源I4の入力端子には、電源電圧が印加され、入力端子CN4の一端は、基準抵抗Rref2の一端および電圧測定回路IC4の入力端子にそれぞれ接続される。基準抵抗Rref2の他端は共通電位に接続され、電圧測定回路IC4の出力端子は、制御回路CT3の入力端子V22に接続される。   One end of the input terminal CN3 is connected to the output terminal of the variable current source I4 and the input terminal of the voltage measurement circuit IC2, and the output terminal of the voltage measurement circuit IC2 is connected to the input terminal V21 of the control circuit CT3. A power supply voltage is applied to the input terminal of the variable current source I4, and one end of the input terminal CN4 is connected to one end of the reference resistor Rref2 and the input terminal of the voltage measurement circuit IC4. The other end of the reference resistor Rref2 is connected to the common potential, and the output terminal of the voltage measurement circuit IC4 is connected to the input terminal V22 of the control circuit CT3.

入力端子CN3の他端は、入力測定用抵抗R1の一端に接続され、入力測定用抵抗R1の他端は、入力端子CN4の他端に接続されている。制御回路CT3の出力端子I4_CTLは、可変電流源I4の制御端子に接続される。   The other end of the input terminal CN3 is connected to one end of the input measurement resistor R1, and the other end of the input measurement resistor R1 is connected to the other end of the input terminal CN4. The output terminal I4_CTL of the control circuit CT3 is connected to the control terminal of the variable current source I4.

このような入力モジュールの動作を説明する。
図4は、図3の実施例でチャネル1とチャネル2がチャネル間短絡された状態の構成図である。図4に示すように、チャネル間の短絡にはパターン(A)〜(C)がある。
The operation of such an input module will be described.
FIG. 4 is a configuration diagram in a state where the channel 1 and the channel 2 are short-circuited between the channels in the embodiment of FIG. As shown in FIG. 4, there are patterns (A) to (C) in the short circuit between channels.

制御回路CT3は、出力端子I3_CTLを介して可変電流源I3の電流値i3を設定し、出力端子I4_CTLを介して可変電流源I4の電流値i4を設定する。可変電流源I3から電流値i3の電流が入力端子CN1を介して入力測定用抵抗R1に流れ、可変電流源I4から電流値i4の電流が入力端子CN3を介して入力測定用抵抗R2に流れる。   The control circuit CT3 sets the current value i3 of the variable current source I3 through the output terminal I3_CTL, and sets the current value i4 of the variable current source I4 through the output terminal I4_CTL. A current having a current value i3 flows from the variable current source I3 to the input measuring resistor R1 via the input terminal CN1, and a current having a current value i4 flows from the variable current source I4 to the input measuring resistor R2 via the input terminal CN3.

そして、入力測定用抵抗R1に流れた電流は、入力端子CN2を介して基準抵抗Rref1に流れ、入力測定用抵抗R2に流れた電流は、入力端子CN4を介して基準抵抗Rref2に流れる。これにより、入力測定用抵抗R1の両端には電圧v3が発生し、基準抵抗Rref1の両端には電圧v12が発生する。同様に、入力測定用抵抗R2の両端には電圧v4が発生し、基準抵抗Rref2の両端には電圧v22が発生する。   The current flowing through the input measurement resistor R1 flows to the reference resistor Rref1 via the input terminal CN2, and the current flowing through the input measurement resistor R2 flows to the reference resistor Rref2 via the input terminal CN4. As a result, a voltage v3 is generated at both ends of the input measurement resistor R1, and a voltage v12 is generated at both ends of the reference resistor Rref1. Similarly, a voltage v4 is generated at both ends of the input measurement resistor R2, and a voltage v22 is generated at both ends of the reference resistor Rref2.

制御回路CT3は、電圧測定回路IC3で測定した電圧v12と電圧測定回路IC4で測定した電圧v22をそれぞれ読み取る。そして、制御回路CT3は、電圧値v12と基準抵抗Rref1の抵抗値rr1から基準抵抗Rref1に流れた電流値ir1を(18)式にて算出し、電圧値v22と基準抵抗Rref2の抵抗値rr2から基準抵抗Rref2に流れた電流値ir2を(19)式にて算出する。
ir1=v12/rr1 (18)
ir2=v22/rr2 (19)
The control circuit CT3 reads the voltage v12 measured by the voltage measurement circuit IC3 and the voltage v22 measured by the voltage measurement circuit IC4. Then, the control circuit CT3 calculates a current value ir1 flowing in the reference resistor Rref1 from the voltage value v12 and the resistance value rr1 of the reference resistor Rref1 by the equation (18), and from the voltage value v22 and the resistance value rr2 of the reference resistor Rref2 The current value ir2 flowing through the reference resistor Rref2 is calculated by the equation (19).
ir1 = v12 / rr1 (18)
ir2 = v22 / rr2 (19)

制御回路CT3は、チャネル間の短絡が発生しているかを検出するため、算出した電流値ir1が可変電流源I3に設定した電流値i3と等しいか否かを判断する。チャネル間の短絡が発生していなければ、可変電流源I3から出力された電流i3は、入力測定用抵抗R1に流れた後、そのまま基準抵抗Rref1を経由して共通電位に流れ込むので、基準抵抗Rref1には電流値i3の電流が流れる。一方、チャネル間の短絡が発生していれば、可変電流源I3から出力された電流i3は、短絡箇所で分岐または合流が発生するので、基準抵抗Rref1には電流値i3とは異なる電流値の電流が流れる。   The control circuit CT3 determines whether or not the calculated current value ir1 is equal to the current value i3 set in the variable current source I3 in order to detect whether a short circuit has occurred between the channels. If there is no short circuit between the channels, the current i3 output from the variable current source I3 flows through the input measurement resistor R1 and then flows into the common potential via the reference resistor Rref1. Therefore, the reference resistor Rref1 Current of the current value i3 flows. On the other hand, if a short circuit between the channels has occurred, the current i3 output from the variable current source I3 branches or merges at the short circuit location, and therefore the reference resistor Rref1 has a current value different from the current value i3. Current flows.

もし、算出した電流値ir1が可変電流源I3に設定した電流値i3と等しい場合には、制御回路CT3は、チャネル間の短絡は無いものと判断し、入力測定用抵抗R1の抵抗値r1を(20)式にて算出する。なお、電圧値v11は、制御回路CT3が電圧測定回路IC1で測定した電圧である。
r1=(v11−v12)/i3 (20)
If the calculated current value ir1 is equal to the current value i3 set in the variable current source I3, the control circuit CT3 determines that there is no short circuit between the channels, and sets the resistance value r1 of the input measurement resistor R1. It calculates with (20) Formula. The voltage value v11 is a voltage measured by the control circuit CT3 with the voltage measurement circuit IC1.
r1 = (v11−v12) / i3 (20)

そして、制御回路CT3は、入力測定用抵抗R1の抵抗値r1を算出した後、この抵抗値r1から入力測定用抵抗R1の周囲温度を算出する。この時、入力測定用抵抗R1の抵抗値と周囲温度の関係は既知であり、制御回路CT3も入力測定用抵抗R1の抵抗値と周囲温度の関係を把握しているものとする。   Then, after calculating the resistance value r1 of the input measurement resistor R1, the control circuit CT3 calculates the ambient temperature of the input measurement resistor R1 from the resistance value r1. At this time, it is assumed that the relationship between the resistance value of the input measurement resistor R1 and the ambient temperature is known, and the control circuit CT3 also knows the relationship between the resistance value of the input measurement resistor R1 and the ambient temperature.

一方、もし、算出した電流値ir1が可変電流源I3に設定した電流値i3と等しくない場合には、制御回路CT3は、チャネル間の短絡が発生しているものと判断し、異常が発生していることを入力モジュールのユーザに伝える。   On the other hand, if the calculated current value ir1 is not equal to the current value i3 set in the variable current source I3, the control circuit CT3 determines that a short circuit between the channels has occurred and an abnormality has occurred. To the user of the input module.

同様に、制御回路CT3は、算出した電流値ir2が可変電流源I4に設定した電流値i4と等しいか否かを判断する。もし、算出した電流値ir2が可変電流源I4に設定した電流値i4と等しい場合には、制御回路CT3は、チャネル間の短絡は無いものと判断し、入力測定用抵抗R2の抵抗値r2を(21)式にて算出する。なお、電圧値v21は、制御回路CT3が電圧測定回路IC2で測定した電圧である。
r2=(v21−v22)/i4 (21)
Similarly, the control circuit CT3 determines whether or not the calculated current value ir2 is equal to the current value i4 set in the variable current source I4. If the calculated current value ir2 is equal to the current value i4 set in the variable current source I4, the control circuit CT3 determines that there is no short circuit between the channels, and determines the resistance value r2 of the input measurement resistor R2. It calculates with (21) Formula. The voltage value v21 is a voltage measured by the control circuit CT3 with the voltage measurement circuit IC2.
r2 = (v21−v22) / i4 (21)

そして、制御回路CT3は、入力測定用抵抗R2の抵抗値r2を算出した後、この抵抗値r2から入力測定用抵抗R2の周囲温度を算出する。この時、入力測定用抵抗R2の抵抗値と周囲温度の関係は既知であり、制御回路CT3も入力測定用抵抗R2の抵抗値と周囲温度の関係を把握しているものとする。   The control circuit CT3 calculates the resistance value r2 of the input measurement resistor R2, and then calculates the ambient temperature of the input measurement resistor R2 from the resistance value r2. At this time, it is assumed that the relationship between the resistance value of the input measurement resistor R2 and the ambient temperature is known, and the control circuit CT3 also knows the relationship between the resistance value of the input measurement resistor R2 and the ambient temperature.

一方、もし、算出した電流値ir2が可変電流源I4に設定した電流値i4と等しくない場合には、制御回路CT3は、チャネル間の短絡が発生しているものと判断し、異常が発生していることを入力モジュールのユーザに伝える。   On the other hand, if the calculated current value ir2 is not equal to the current value i4 set in the variable current source I4, the control circuit CT3 determines that a short circuit between the channels has occurred and an abnormality has occurred. To the user of the input module.

このように、制御回路CT3が、基準抵抗Rref1に流れる電流を算出し、算出した電流値と可変電流源I3に設定した電流値i3が等しいか否かを判断することにより、可変電流源I3からの電流が正しく入力測定用抵抗R1に流れているかが分かるので、容易にチャネル間の短絡を検出することができる。   In this way, the control circuit CT3 calculates the current flowing through the reference resistor Rref1, and determines whether or not the calculated current value is equal to the current value i3 set in the variable current source I3. Therefore, it is possible to easily detect the short circuit between the channels.

なお、本発明はこれに限定されるものではなく、以下に示すようなものでもよい。
図1および図3に示す実施例において、測定モジュールM2または測定モジュールM3は、チャネル1およびチャネル2の2つのチャネルを有する構成を示したが、測定モジュールM2または測定モジュールM3が、3つ以上のチャネルを有していてもよい。
The present invention is not limited to this, and may be as shown below.
In the embodiment shown in FIGS. 1 and 3, the measurement module M2 or the measurement module M3 is configured to have two channels, that is, the channel 1 and the channel 2, but the measurement module M2 or the measurement module M3 includes three or more channels. You may have a channel.

CT2、CT3 制御回路
I3、I4 可変電流源
IC1〜4 電圧測定回路
Rref1、Rref2 基準抵抗
R1,R2 入力測定用抵抗
CT2, CT3 Control circuit I3, I4 Variable current source IC1-4 Voltage measurement circuit Rref1, Rref2 Reference resistance R1, R2 Input measurement resistance

Claims (3)

入力端子に接続された入力測定用抵抗に電流を流して前記入力測定用抵抗の両端に発生した電圧の電圧値を電圧測定回路で測定し、測定電圧値を入力値として取り込むチャネルを複数有する入力モジュールにおいて、
前記複数のチャネル毎に設けられ、前記入力測定用抵抗に流す電流の電流値を可変できる可変電流源と、
この可変電流源から前記入力測定用抵抗に流す電流の電流値を前記複数のチャネル毎に変化させ、前記入力測定用抵抗の両端に発生した電圧の電圧値を前記複数のチャネル毎に前記電圧測定回路で測定し、前記電流の変化の前後でそれぞれ測定した前記電圧値を比較して前記電流値の変化に前記電圧値の変化が比例していない場合、チャネル間に短絡が発生しているものと判断する制御回路と
を備えたことを特徴とする入力モジュール。
An input having a plurality of channels for supplying a current to an input measurement resistor connected to an input terminal, measuring a voltage value of a voltage generated at both ends of the input measurement resistor with a voltage measurement circuit, and taking the measurement voltage value as an input value In the module
A variable current source provided for each of the plurality of channels and capable of varying a current value of a current flowing through the input measurement resistor;
The current value of the current flowing from the variable current source to the input measurement resistor is changed for each of the plurality of channels, and the voltage value of the voltage generated at both ends of the input measurement resistor is measured for the plurality of channels. When the voltage value measured by the circuit is compared before and after the change of the current and the change of the voltage value is not proportional to the change of the current value, a short circuit has occurred between the channels And an input module.
入力端子に接続された入力測定用抵抗に電流を流して前記入力測定用抵抗の両端に発生した電圧の電圧値を電圧測定回路で測定し、測定電圧値を入力値として取り込むチャネルを複数有する入力モジュールにおいて、
前記複数のチャネル毎に設けられ、前記入力測定用抵抗に流す電流の電流値を可変できる可変電流源と、
前記複数のチャネル毎に設けられ、前記可変電流源から前記入力測定用抵抗を介して電流が流れる基準抵抗と、
この基準抵抗の両端に発生した電圧の電圧値を測定する電圧測定回路と、
前記可変電流源から前記入力測定用抵抗に流す電流の電流値を前記複数のチャネル毎に変化させ、前記基準抵抗の両端に発生した電圧の電圧値を前記複数のチャネル毎に前記電圧測定回路で測定して前記基準抵抗に流れる電流の電流値を算出し、前記可変電流源に設定した電流値と前記基準抵抗に流れる電流値が等しくない場合、チャネル間に短絡が発生しているものと判断する制御回路と
を備えたことを特徴とする入力モジュール。
An input having a plurality of channels for supplying a current to an input measurement resistor connected to an input terminal, measuring a voltage value of a voltage generated at both ends of the input measurement resistor with a voltage measurement circuit, and taking the measurement voltage value as an input value In the module
A variable current source provided for each of the plurality of channels and capable of varying a current value of a current flowing through the input measurement resistor;
A reference resistor provided for each of the plurality of channels, through which current flows from the variable current source via the input measurement resistor;
A voltage measuring circuit for measuring the voltage value of the voltage generated at both ends of the reference resistor;
The current value of the current flowing from the variable current source to the input measurement resistor is changed for each of the plurality of channels, and the voltage value of the voltage generated at both ends of the reference resistor is changed by the voltage measurement circuit for each of the plurality of channels. Measure and calculate the current value of the current flowing through the reference resistor. If the current value set in the variable current source and the current value flowing through the reference resistor are not equal, it is determined that a short circuit has occurred between the channels. And an input module.
前記入力測定用抵抗は、
測温抵抗体であることを特徴とする
請求項1または2に記載の入力モジュール。
The input measurement resistor is:
The input module according to claim 1, wherein the input module is a resistance temperature detector.
JP2009268335A 2009-11-26 2009-11-26 Input module Pending JP2011112474A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009268335A JP2011112474A (en) 2009-11-26 2009-11-26 Input module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009268335A JP2011112474A (en) 2009-11-26 2009-11-26 Input module

Publications (1)

Publication Number Publication Date
JP2011112474A true JP2011112474A (en) 2011-06-09

Family

ID=44234918

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009268335A Pending JP2011112474A (en) 2009-11-26 2009-11-26 Input module

Country Status (1)

Country Link
JP (1) JP2011112474A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116299051A (en) * 2023-05-19 2023-06-23 深圳市安科讯电子制造有限公司 Overcurrent short circuit detection circuit and detection protection system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116299051A (en) * 2023-05-19 2023-06-23 深圳市安科讯电子制造有限公司 Overcurrent short circuit detection circuit and detection protection system
CN116299051B (en) * 2023-05-19 2023-07-21 深圳市安科讯电子制造有限公司 Overcurrent short circuit detection circuit and detection protection system

Similar Documents

Publication Publication Date Title
US20120130560A1 (en) Temperature control module and temperature control apparatus having the same
MD279Z (en) Impedance meter
KR20120139795A (en) Measurement device and measurement method
JP5053421B2 (en) Signal judgment system and temperature judgment system
JP2010025889A (en) Electric current detector
US10634565B2 (en) Temperature sensing apparatus and temperature sensing method thereof
JP2011112474A (en) Input module
JP6237566B2 (en) Battery monitoring control device and disconnection detection method
JP2015005268A (en) Voltage regulator
JP2014078938A (en) Speaker system and measurement method for the same
JP2008203116A (en) Electrical quantity integrating device
MD392Y (en) Method for measuring the impedance components
JP6685196B2 (en) Voltage detection circuit
CN110676804B (en) Detection circuit and switch module using same
JP5257961B2 (en) Power supply and load protection system
JP6627503B2 (en) Sensor abnormality detection device
CN113029377A (en) Measuring module, measuring method, measuring device and printed circuit board
JP2008102094A (en) Voltage monitoring method and its device
WO2009081522A1 (en) Test apparatus and measurement device
US20230314489A1 (en) Voltage detection device
JP4835207B2 (en) Temperature transmitter
JP2007155654A (en) Discharge and charge control circuit, and rechargeable power supply unit
EP3517983B1 (en) Voltage and temperature monitoring in power supplies
TWI394957B (en) Power measurement system for integrated circuit chip
US8799686B2 (en) Power supply circuit for selectively connecting a detecting module to a selected loop circuit to determine a current of the selected loop circuit