JP5231152B2 - Base unit equipped with transmission input circuit and its control circuit - Google Patents

Base unit equipped with transmission input circuit and its control circuit Download PDF

Info

Publication number
JP5231152B2
JP5231152B2 JP2008257175A JP2008257175A JP5231152B2 JP 5231152 B2 JP5231152 B2 JP 5231152B2 JP 2008257175 A JP2008257175 A JP 2008257175A JP 2008257175 A JP2008257175 A JP 2008257175A JP 5231152 B2 JP5231152 B2 JP 5231152B2
Authority
JP
Japan
Prior art keywords
voltage
adjustment
transmission
level
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2008257175A
Other languages
Japanese (ja)
Other versions
JP2010086447A (en
Inventor
光広 栗本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hochiki Corp
Original Assignee
Hochiki 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 Hochiki Corp filed Critical Hochiki Corp
Priority to JP2008257175A priority Critical patent/JP5231152B2/en
Publication of JP2010086447A publication Critical patent/JP2010086447A/en
Application granted granted Critical
Publication of JP5231152B2 publication Critical patent/JP5231152B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Alarm Systems (AREA)
  • Fire Alarms (AREA)

Description

本発明は、電源供給線を兼ねた伝送線を介して接続された火災感知器などの子機からの伝送電流を検出する伝送入力回路とその制御回路を備えた受信機などの親機に関する。

The present invention relates to a master unit, such as a receiver with a transmission input circuit and its control circuit for detecting a transmission current from the slave device, such as a fire detector which is connected via a transmission line serving also as a power supply line .

従来、受信機からの伝送線に火災感知器、ガス検知器などのセンサを接続して火災、ガス漏れなどの異常を監視する監視システムにあっては、受信機から電圧モードで制御情報などの下り信号としてのデジタル信号を端末に伝送し、端末は電流モードでセンサ情報などの上り信号としてのデジタル信号を受信機に伝送している。   Conventionally, in a monitoring system that monitors fire, gas leakage, and other abnormalities by connecting a sensor such as a fire detector or gas detector to the transmission line from the receiver, control information, etc. can be sent from the receiver in voltage mode. A digital signal as a downstream signal is transmitted to the terminal, and the terminal transmits a digital signal as an upstream signal such as sensor information to the receiver in the current mode.

図15は従来の監視システムを示しており、親機としての受信機100からは電源供給線を兼ねた伝送線102a,102bが引き出され、子機としてアナログ型感知器104や中継器106を接続している。アナログ型感知器104と中継器106には固有のアドレスが設定されている。   FIG. 15 shows a conventional monitoring system. Transmission lines 102a and 102b that also serve as power supply lines are drawn out from a receiver 100 as a master unit, and an analog sensor 104 and a repeater 106 are connected as slave units. doing. A unique address is set for the analog sensor 104 and the repeater 106.

アナログ型感知器104は火災による煙濃度又は温度のアナログ値を検出し、煙濃度データ又は温度データを受信機100に伝送して火災を判断し、火災警報を出す。   The analog sensor 104 detects an analog value of smoke density or temperature due to a fire, transmits smoke density data or temperature data to the receiver 100, judges a fire, and issues a fire alarm.

中継器106からは感知器回線108a,108bが引き出され、伝送機能を持たないオンオフ型感知器110を負荷として接続しており、オンオフ型感知器110が火災を検出すると感知器回線108a,108bに発報電流を流し、この発報電流を中継器106で受信し、受信機100に火災発報データを伝送して火災警報を出す。   Sensor lines 108a and 108b are drawn from the repeater 106, and an on / off sensor 110 having no transmission function is connected as a load. When the on / off sensor 110 detects a fire, the sensor lines 108a and 108b are connected to the sensor lines 108a and 108b. An alarm current is supplied, the alarm current is received by the repeater 106, fire alarm data is transmitted to the receiver 100, and a fire alarm is issued.

また受信機100は子機アドレスを順次指定してポーリング用の下り信号を電圧モードで送っており、このポーリングに対し子機側は自己アドレスを判別すると正常を示す上り信号として伝送電流を送出している。   In addition, the receiver 100 sequentially designates the slave unit address and sends a polling downlink signal in the voltage mode. When the slave unit determines the self address for this polling, it sends a transmission current as an uplink signal indicating normality. ing.

図16は図15の従来システムにおける受信機100、アナログ感知器104及び中継器106を等価回路により示している。中継器106は負荷として接続しているオンオフ型感知器に電源を供給することにより定常的な動作電流を流しており、このため抵抗で示す負荷122と見做すことができる。このため伝送線102a,102bには定常的に負荷122による負荷電流Izが流れている。   FIG. 16 shows an equivalent circuit of the receiver 100, the analog sensor 104, and the repeater 106 in the conventional system of FIG. The repeater 106 supplies a power to an on / off type sensor connected as a load to flow a steady operating current. Therefore, the repeater 106 can be regarded as a load 122 indicated by a resistor. For this reason, the load current Iz due to the load 122 constantly flows through the transmission lines 102a and 102b.

アナログ型感知器104は定電流源112とスイッチ114を持ち、例えば受信機100からのポーリングに対しCPU116が正常を示す上り信号を所定ビット長の電流パルス信号により伝送している。   The analog type sensor 104 has a constant current source 112 and a switch 114, and for example, in response to polling from the receiver 100, the CPU 116 transmits an upstream signal indicating normality by a current pulse signal having a predetermined bit length.

アナログ型感知器104から伝送されて電流パルス信号は受信機100の伝送入力回路118に入力し、電流パルスに比例した電流検出電圧パルスを生成してCPU120に読込み、正常であることを認識する。即ち伝送入力回路118は、電源供給線を兼ねた伝送線に負荷が負荷電流を流している状態で、子機からの伝送電流の有無を検出する。   The current pulse signal transmitted from the analog sensor 104 is input to the transmission input circuit 118 of the receiver 100, and a current detection voltage pulse proportional to the current pulse is generated and read into the CPU 120 to recognize that it is normal. That is, the transmission input circuit 118 detects the presence / absence of a transmission current from the slave unit in a state where the load is carrying a load current through the transmission line that also serves as the power supply line.

図17は図16の受信機に設けた従来の伝送入力回路の回路図である。図17において、伝送入力回路118は、伝送線102aに所定の電源電圧Vccを印加し、信号線102b側をダイオードD11を介して電流検出抵抗R11に接続している。   FIG. 17 is a circuit diagram of a conventional transmission input circuit provided in the receiver of FIG. In FIG. 17, the transmission input circuit 118 applies a predetermined power supply voltage Vcc to the transmission line 102a, and connects the signal line 102b side to the current detection resistor R11 via the diode D11.

伝送線102a,102bには図15に示したように中継器106とアナログ型感知器104が接続され、伝送電流のない空きタイミングでは、中継器106の負荷122に依存した負荷電流Izが流れ、アナログ型感知器104が伝送信号を出力すると、負荷電流Izに上乗せして伝送電流Iaが流れる。   As shown in FIG. 15, the repeater 106 and the analog type sensor 104 are connected to the transmission lines 102 a and 102 b, and a load current Iz depending on the load 122 of the repeater 106 flows at an idle timing without a transmission current, When the analog sensor 104 outputs a transmission signal, the transmission current Ia flows on top of the load current Iz.

電流検出抵抗R11の両端に発生した線路電流に応じた検出電圧はコンパレータ122のマイナス入力端子に加えられる。コンパレータ122のプラス入力端子にはコンデンサC11が接続され、コンデンサC11は更にスイッチSW11を介してダイオードD11の入力側に接続される。   A detection voltage corresponding to the line current generated at both ends of the current detection resistor R11 is applied to the negative input terminal of the comparator 122. A capacitor C11 is connected to the positive input terminal of the comparator 122, and the capacitor C11 is further connected to the input side of the diode D11 via the switch SW11.

スイッチSW1はCPU120によりアナログ型感知器104などの子機からの伝送空きタイミングでスイッチングされ、電流検出抵抗R11の負荷電流検出電圧VzにダイオードD11の順方向降下電圧となる閾値電圧Vfを加えた基準電圧Vr、即ち
Vr=(Va+Vf)
をコンデンサC11に基準電圧Vrとしてサンプルホールドする。

Switch SW1 1 is switched by the transmission empty time from the handset, such as the analog type sensor 104 by CPU 120, plus the threshold voltage Vf serving as a forward drop voltage of the diode D11 to the load current detection voltage Vz of the current detection resistor R11 Reference voltage Vr, that is, Vr = (Va + Vf)
Is sampled and held in the capacitor C11 as the reference voltage Vr.

図18は図17の各部の信号波形を示したタイムチャートであり、図18(A)はコンパレータ12の入力電圧であり、図18(B)はスイッチSW11によるコンデンサC11のサンプルタイミングを示している。

Figure 18 is a time chart showing signal waveforms of respective units of FIG. 17, FIG. 18 (A) is the input voltage of the comparator 1 2 2, and FIG. 18 (B) shows the sample timing of the capacitor C11 by the switch SW11 ing.

図18(A)のように、伝送電流Iaのない状態では伝送線102a,102bに流れる負荷電流Izによる負荷電流検出電圧Vzが入力し、また伝送電流Iaのない空きタイミングにおけるスイッチSW1のスイッチングにより、コンデンサC11に電流検出抵抗R11の負荷電流検出電圧VzにダイオードD11の順方向降下電圧である閾値電圧Vfを加えた基準電圧Vrをサンプルホールドする。

As shown in FIG. 18 (A), the transmission line 102a is in the absence of transmission current Ia, the load current detection voltage Vz is input by the load current Iz flowing through 102b, also the switching of the switches SW1 1 in free time without transmission current Ia Thus, the capacitor C11 samples and holds the reference voltage Vr obtained by adding the threshold voltage Vf, which is the forward drop voltage of the diode D11, to the load current detection voltage Vz of the current detection resistor R11.

子機から伝送信号の送信により伝送電流Iaが流れると、電流検出抵抗R11に伝送電流Iaに応じた伝送電流検出電圧Vaが負荷電流検出電圧Vzに上乗せする形で発生し、コンパレータ122はコンデンサC11に保持された基準電圧Vr=(Vz+Vf)を越える受信電圧成分(電圧パルス成分)を抽出し、伝送電流検出信号としCPU120に入力し、火災警報処理などを行う。   When the transmission current Ia flows due to transmission of the transmission signal from the slave unit, the transmission current detection voltage Va corresponding to the transmission current Ia is generated in the current detection resistor R11 in addition to the load current detection voltage Vz, and the comparator 122 generates the capacitor C11. The received voltage component (voltage pulse component) exceeding the reference voltage Vr = (Vz + Vf) held in is extracted and input to the CPU 120 as a transmission current detection signal to perform fire alarm processing and the like.

図19は図18について時間軸を縮めて示したタイムチャートであり、子機側からは一定周期でパルス信号を伝送電流により送出しており、その空きタイミングで負荷電流検出電圧VzにダイオードD11の順方向降下電圧である閾値電圧Vfを加えた基準電圧Vr=(Vz+Vf)をコンデンサC11にサンプリングホールドし、その直後に得られる伝送電流検出電圧Vaの基準電圧Vrを越える電圧成分を検出して伝送電流検出信号としてCPUに入力している。   FIG. 19 is a time chart in which the time axis is reduced with respect to FIG. 18, and a pulse signal is sent out from the slave unit by a transmission current at a constant cycle, and the load current detection voltage Vz is supplied to the load current detection voltage Vz at the idle timing. A reference voltage Vr = (Vz + Vf) to which a threshold voltage Vf that is a forward voltage drop is added is sampled and held in the capacitor C11, and a voltage component exceeding the reference voltage Vr of the transmission current detection voltage Va obtained immediately after that is detected and transmitted. The current detection signal is input to the CPU.

なお、負荷電流Izに対応した負荷電圧Vzを一定電圧として示しているが、実際には環境温度などに応じて負荷電流が緩やかに変化している。

特開平9−91576号公報 特開平6−301876号公報
Although the load voltage Vz corresponding to the load current Iz is shown as a constant voltage, the load current actually changes gradually according to the environmental temperature and the like.

JP-A-9-91576 Japanese Patent Laid-Open No. 6-301876

しかしながら、このような従来の伝送入力回路にあっては、子機からの伝送電流の検出するための閾値電圧を、ダイオードの順方向電圧Vfに依存して決めているため、任意の閾値を設定することができず、また、温度による変動も大きく、充分な信頼性を確保することができないという問題がある。   However, in such a conventional transmission input circuit, since the threshold voltage for detecting the transmission current from the slave unit is determined depending on the forward voltage Vf of the diode, an arbitrary threshold is set. In addition, there is a problem that fluctuation due to temperature is large and sufficient reliability cannot be ensured.

またコンデンサにアナログ電圧としてダイオードD11の順方向降下電圧である閾値電圧Vfを加えた基準電圧Vrを保持しているが、コンデンサの保持電圧は漏れ電流などにより時間の経過に伴って変化し、頻繁にサンプルホールドしなければならないという問題がある。   In addition, the reference voltage Vr obtained by adding the threshold voltage Vf which is a forward drop voltage of the diode D11 as an analog voltage to the capacitor is held. However, the holding voltage of the capacitor changes with the passage of time due to leakage current or the like, and frequently There is a problem in that it must be sampled and held.

本発明は、伝送電流を検出するための基準値が任意に設定でき、温度や時間経過による変動もなく、子機からの伝送電流の有無を検出する正確に検出可能とする伝送入力回路とその制御回路を備えた親機を提供することを目的とする。

The present invention provides a transmission input circuit capable of arbitrarily setting a reference value for detecting a transmission current, accurately detecting whether or not there is a transmission current from a slave unit without fluctuation due to temperature or time, and a transmission input circuit thereof It is an object of the present invention to provide a parent device provided with a control circuit .

本発明は、電源供給線を兼ねた伝送線に負荷が負荷電流を流している状態で、子機からの伝送電流の有無を検出する伝送入力回路とその制御回路とを備えた親機に於いて、
伝送入力回路は、
伝送線からの線路電流を入力して線路電流検出電圧Viを生成する電流検出抵抗と、
デジタル値に応じて任意の調整電圧Vbを発生するデジタルアナログ変換器と、
入力端子の一方に電流検出抵抗に生成した線路電流検出電圧Viを入力すると共に、入力端子の他方にデジタルアナログ変換器で発生した調整電圧Vbを入力し、線路電流検出電圧Viから調整電圧Vbを差し引いた補正検出電圧Vcを出力するアンプと、
入力端子の一方にアンプから出力された補正検出電圧Vcを入力すると共に、入力端子の他方に所定の基準電圧Vrを入力し、基準電圧Vrを越える補正検出電圧Vcの成分を伝送電流検出信号として出力するコンパレータと、
を備え、
制御回路は、
子機からの伝送電流の空きタイミングで、アンプから出力された補正検出電圧Vcを、基準電圧Vrに一致させるようにデジタルアナログ変換器からの調整電圧vbを調整する第1調整処理部と、
第1調整処理部により調整された補正検出電圧Vcを、伝送電流Iaに対応した伝送電流検出電圧Vaの略半分となる一定電圧(Va/2)だけ低下させた補正検出電圧Vcとなるようにデジタルアナログ変換器からの調整電圧Vbを調整する第2調整処理部と、
を備えたことを特徴とする。

The present invention provides a base unit including a transmission input circuit for detecting the presence or absence of a transmission current from a slave unit and a control circuit thereof in a state where a load is carrying a load current through the transmission line also serving as a power supply line. And
The transmission input circuit is
A current detection resistor that inputs a line current from the transmission line and generates a line current detection voltage Vi;
A digital-to-analog converter that generates an arbitrary adjustment voltage Vb according to a digital value;
The line current detection voltage Vi generated in the current detection resistor is input to one of the input terminals, the adjustment voltage Vb generated by the digital-analog converter is input to the other input terminal, and the adjustment voltage Vb is obtained from the line current detection voltage Vi. An amplifier that outputs the subtracted corrected detection voltage Vc;
The correction detection voltage Vc output from the amplifier is input to one of the input terminals, the predetermined reference voltage Vr is input to the other input terminal, and the component of the correction detection voltage Vc exceeding the reference voltage Vr is used as a transmission current detection signal. A comparator to output,
With
The control circuit
A first adjustment processing unit that adjusts the adjustment voltage vb from the digital-analog converter so that the correction detection voltage Vc output from the amplifier coincides with the reference voltage Vr at a vacant timing of the transmission current from the slave unit;
The correction detection voltage Vc adjusted by the first adjustment processing unit is set to a correction detection voltage Vc that is reduced by a constant voltage (Va / 2) that is substantially half of the transmission current detection voltage Va corresponding to the transmission current Ia. A second adjustment processing unit for adjusting the adjustment voltage Vb from the digital-analog converter;
It is provided with.

ここで、第1調整処理部は、デジタルアナログ変換器に対するデジタル値を、1ビット変化でコンパレータの出力が反転するデジタル値又は反転直前のデジタル値に調整して補正検出電圧Vcを基準電圧Vrに一致させる。   Here, the first adjustment processing unit adjusts the digital value for the digital-to-analog converter to a digital value in which the output of the comparator is inverted by a 1-bit change or a digital value immediately before the inversion, and sets the corrected detection voltage Vc to the reference voltage Vr. Match.

更に詳細には、第1調整処理部は、
調整開始時のコンパレータの出力がHレベルの場合は、HレベルをLレベルに反転する方向にデジタル値を1ビット単位に変化させ、HレベルからLレベルに反転したときのデジタル値または反転直前のデジタル値に固定し、
調整開始時のコンパレータの出力がLレベルの場合は、LレベルをHレベルに反転する方向にデジタル値を1ビット単位に変化させ、LレベルからHレベルに反転したときのデジタル値または反転直前のデジタル値に固定する。

More specifically, the first adjustment processing unit
If the output of the adjustment at the start of the comparator is at the H level, a digital value or immediately before the inversion when the digital value in the inversed direction of H level to L level is changed to one-bit unit, inverted from H level to L level Fixed to the digital value of
When the output of the comparator at the start of adjustment is L level, the digital value is changed in 1-bit units in the direction of inverting L level to H level, and the digital value when inverting from L level to H level or immediately before inverting Fixed to a digital value.

本発明の別の形態にあっては、電源供給線を兼ねた伝送線に負荷が負荷電流を流している状態で、子機からの伝送電流の有無を検出する伝送入力回路とその制御回路とを備えた親機に於いて、
伝送入力回路は、
送線からの線路電流を入力して線路電流検出電圧Viを生成する電流検出抵抗と、
デジタル値に応じて任意の調整電圧Vbを発生するデジタルアナログ変換器と、
入力端子の一方に電流検出抵抗に生成した線路電流検出電圧Viを入力すると共に、入力端子の他方にデジタルアナログ変換器で発生した調整電圧Vbを入力し、線路電流検出電圧Viから調整電圧Vbを差し引いた補正検出電圧Vcを出力するアンプと、
所定の基準電圧Vrを直列抵抗により分圧して所定の分圧電圧Veを出力する分圧回路と、
分圧回路のグランド側に挿入され、スイッチオンにより分圧回路を形成して分圧電圧Veを出力させ、スイッチオフにより分圧回路のグランド側を切り離して基準電圧Vrをそのまま出力させるスイッチと、
入力端子の一方にアンプから出力された補正検出電圧Vcを入力すると共に、入力端子の他方に分圧回路からの基準電圧Vrを入力し、基準電圧Vrを越える補正検出電圧Vcの成分を伝送電流検出信号として出力するコンパレータと、
を備え、
前記制御回路は、
子機からの伝送電流Iaの空きタイミングで、スイッチをオンして分圧回路から分圧電圧Veを出力させた状態で、アンプから出力された補正検出電圧Vcを、分圧電圧Veに一致させるようにデジタルアナログ変換器からの調整電圧Vbを調整する第1調整処理部と、
第1調整処理部による調整後に、スイッチをオフして、分圧回路を基準電圧Vrの出力状態に固定する第2調整処理部と、
を備えたことを特徴とする。

In another embodiment of the present invention, a transmission input circuit for detecting the presence or absence of a transmission current from a slave unit and a control circuit for the transmission current in a state where a load is carrying a load current through the transmission line also serving as a power supply line, In the main unit equipped with
The transmission input circuit is
A current detecting resistor that generates a line current detection voltage Vi to input line current from the heat transmission line,
A digital-to-analog converter that generates an arbitrary adjustment voltage Vb according to a digital value;
The line current detection voltage Vi generated in the current detection resistor is input to one of the input terminals, the adjustment voltage Vb generated by the digital-analog converter is input to the other input terminal, and the adjustment voltage Vb is obtained from the line current detection voltage Vi. An amplifier that outputs the subtracted corrected detection voltage Vc;
A voltage dividing circuit that divides a predetermined reference voltage Vr by a series resistor and outputs a predetermined divided voltage Ve;
A switch that is inserted into the ground side of the voltage dividing circuit, forms a voltage dividing circuit when the switch is turned on to output the divided voltage Ve, and switches off the ground side of the voltage dividing circuit to output the reference voltage Vr as it is;
The correction detection voltage Vc output from the amplifier is input to one of the input terminals, and the reference voltage Vr from the voltage dividing circuit is input to the other input terminal, and the component of the correction detection voltage Vc exceeding the reference voltage Vr is transmitted current. A comparator that outputs as a detection signal;
With
The control circuit includes:
The correction detection voltage Vc output from the amplifier is matched with the divided voltage Ve in a state where the switch is turned on and the divided voltage Ve is output from the voltage dividing circuit at the idle timing of the transmission current Ia from the slave unit. A first adjustment processing unit for adjusting the adjustment voltage Vb from the digital-analog converter,
A second adjustment processing unit for turning off the switch and fixing the voltage dividing circuit to the output state of the reference voltage Vr after the adjustment by the first adjustment processing unit;
It is provided with.

ここで、分圧回路は、スイッチのオン時に分圧回路から出力する分圧電圧Veに対し、スイッチのオフ時に分圧回路から出力する基準電圧Vrを、伝送電流Iaに対応した伝送電流検出電圧Vaの略半分となる一定電圧(Va/2)だけ増加させるように構成する。

Here, the voltage dividing circuit uses a reference voltage Vr output from the voltage dividing circuit when the switch is turned off as a reference voltage Vr output from the voltage dividing circuit when the switch is turned on, and a transmission current detection voltage corresponding to the transmission current Ia. about half to become a constant voltage of Va by (Va / 2) to configure so as to increase.

第1調整処理部は、デジタルアナログ変換器に対するデジタル値を、1ビット変化でコンパレータの出力が反転するデジタル値又は反転直前のデジタル値に調整して補正検出電圧Vcを分圧電圧Veに一致させる。   The first adjustment processing unit adjusts the digital value for the digital-to-analog converter to a digital value in which the output of the comparator is inverted by a 1-bit change or a digital value immediately before the inversion, and matches the corrected detection voltage Vc with the divided voltage Ve. .

更に詳細には、第1調整処理部は、
調整開始時のコンパレータの出力がHレベルの場合は、HレベルをLレベルに反転する方向にデジタル値を1ビット単位に変化させ、HレベルからLレベルに反転したときのデジタル値または反転直前のデジタル値に固定し、
調整開始時のコンパレータの出力がLレベルの場合は、LレベルをHレベルに反転する方向にデジタル値を1ビット単位に変化させ、LレベルからHレベルに反転したときのデジタル値または反転直前のデジタル値に固定する。
More specifically, the first adjustment processing unit
When the output of the comparator at the start of adjustment is at the H level, the digital value is changed in 1-bit units in the direction of inverting the H level to the L level, and the digital value when the H level is inverted to the L level or immediately before the inversion Fixed to digital values,
When the output of the comparator at the start of adjustment is L level, the digital value is changed in 1-bit units in the direction of inverting L level to H level, and the digital value when inverting from L level to H level or immediately before inverting Fixed to a digital value.

本発明の他の形態にあっては、デジタルアナログ変換器に替えてデジタル可変抵抗器を設けるようにしても良い。
In another embodiment of the present invention, a digital variable resistor may be provided in place of the digital-analog converter.

本発明によれば、子機からの伝送電流がなく、負荷電流のみが流れている調整タイミングで、負荷電流検出電圧からデジタルアナログ変換器の調整電圧を差し引いたアンプから出力される補正検出電圧をコンパレータの基準電圧に一致するようにデジタルアナログ変換器からの調整電圧を調整(第1調整処理)し、続いて補正検出電圧が伝送電流検出電圧の略半分となる一定電圧だけ低い電圧となるようにデジタルアナログ変換器からの調整電圧を調整(第2調整処理)しているため、負荷電流の如何にかかわらず、補正検出電圧に子機からの伝送電流検出電圧が含まれた場合、伝送電流検出電圧に対応した補正検出電圧の変化分の略半分の位置にコンパレータの基準電圧が位置することとなり、これによって子機から送出される伝送電流を正確に検出することができる。   According to the present invention, the correction detection voltage output from the amplifier obtained by subtracting the adjustment voltage of the digital-to-analog converter from the load current detection voltage at the adjustment timing when there is no transmission current from the slave unit and only the load current flows. The adjustment voltage from the digital-analog converter is adjusted to match the reference voltage of the comparator (first adjustment process), and then the correction detection voltage is lowered by a constant voltage that is approximately half the transmission current detection voltage. Since the adjustment voltage from the digital-analog converter is adjusted (second adjustment process), if the transmission current detection voltage from the slave unit is included in the correction detection voltage regardless of the load current, the transmission current The reference voltage of the comparator is positioned at approximately half of the change in the corrected detection voltage corresponding to the detection voltage, and the transmission current sent from the slave unit is thereby reduced. It is possible to detect the probability.

また、本発明の別の形態にあっては、コンパレータに対しスイッチのオン、オフで分圧電圧と基準電圧を切替入力する分圧回路を設け、負荷電流検出電圧からデジタルアナログ変換器の調整電圧を差し引いたアンプから出力される補正検出電圧を、スイッチオンによるコンパレータに設定した分圧電圧に一致するようにデジタルアナログ変換器の調整電圧を調整(第1調整処理)した後、スイッチのオフ(第2調整処理)によって伝送電流検出電圧の略半分となる一定電圧だけ高い基準電圧へ切替えており、デジタルアナログ変換器の調整処理が1回で済むことからソフトウェアによる調整処理をより簡単に行うことができる。
In another embodiment of the present invention, a voltage dividing circuit for switching and inputting a divided voltage and a reference voltage by turning on and off the switch to the comparator is provided, and the adjustment voltage of the digital-analog converter from the load current detection voltage is provided. After adjusting the adjustment voltage of the digital-to-analog converter so that the corrected detection voltage output from the amplifier minus the voltage matches the divided voltage set in the comparator when the switch is turned on (first adjustment process), the switch is turned off ( The second adjustment process) switches to a reference voltage that is higher by a constant voltage that is approximately half of the transmission current detection voltage, and the adjustment process of the digital-analog converter can be performed only once. Can do.

図1は本発明が適用される監視システムにおける受信機の構成をアナログ型感知器及び中継器と共に示したブロック図である。図1において、本発明が適用される監視システムは、親機としての受信機10から警戒区域に向けて引き出された伝送線12a,12bに、子機としてアナログ型感知器14及び中継器16を設けている。   FIG. 1 is a block diagram showing a configuration of a receiver in a monitoring system to which the present invention is applied, together with an analog type sensor and a repeater. In FIG. 1, a monitoring system to which the present invention is applied includes an analog sensor 14 and a repeater 16 as slave units on transmission lines 12a and 12b led out from a receiver 10 as a master unit toward a warning area. Provided.

アナログ型感知器14及び中継器16は、受信機10との間で上り信号及び下り信号による伝送機能を備えており、アナログ型感知器14及び中継器16には1つの伝送回線当たり、例えば127アドレスを最大アドレスとする固有のアドレスが予め割り当てられている。   The analog type sensor 14 and the repeater 16 have a transmission function using an uplink signal and a downlink signal with the receiver 10, and the analog type sensor 14 and the repeater 16 have, for example, 127 per transmission line. A unique address having a maximum address is assigned in advance.

アナログ型感知器14は火災による煙濃度または温度を検出し、検出した値をアナログデータとして受信機10に伝送し、受信機10側で受信した煙濃度または温度のアナログデータから火災を判断して警報するようにしている。   The analog sensor 14 detects smoke concentration or temperature due to fire, transmits the detected value to the receiver 10 as analog data, and judges fire from analog data of smoke concentration or temperature received at the receiver 10 side. I am trying to alarm.

一方、中継器16は伝送機能を持たないオンオフ型感知器20を伝送線12a,12bに接続するために設けられている。中継器16は受信機10との間で伝送機能を持ち、中継器16から引き出された感知器回線18a,18bにオンオフ型感知器20を接続している。オンオフ型感知器20は火災を検出すると、感知器回線18a,18b間に発報電流を流し、この発報電流を中継器16で受信し、火災発報データを受信機10に伝送する。   On the other hand, the repeater 16 is provided to connect the on / off type sensor 20 having no transmission function to the transmission lines 12a and 12b. The repeater 16 has a transmission function with the receiver 10, and an on / off type sensor 20 is connected to the sensor lines 18 a and 18 b drawn from the repeater 16. When the on-off sensor 20 detects a fire, it sends an alarm current between the sensor lines 18 a and 18 b, receives the alarm current by the repeater 16, and transmits the alarm alarm data to the receiver 10.

ここで受信機10から子機となるアナログ型感知器14及び中継器16に対する下り信号は、電圧モードで伝送している。例えば受信機10は一定のポーリング周期で子機アドレスを順次指定してポーリング信号を伝送しており、このポーリング信号は伝送線12a,12bの電圧を例えば18ボルトと30ボルトの間で変化させる電圧パルスとして伝送される。   Here, the downstream signals from the receiver 10 to the analog type sensor 14 and the repeater 16 as slave units are transmitted in the voltage mode. For example, the receiver 10 transmits a polling signal by sequentially specifying the slave unit addresses at a constant polling cycle, and this polling signal is a voltage that changes the voltage of the transmission lines 12a and 12b between 18 volts and 30 volts, for example. Transmitted as pulses.

これに対し、アナログ型感知器14及び中継器16からの上り信号は電流モードで伝送される。即ち電流モードにあっては、伝送線12a,12b間に伝送データのビット1のタイミングで信号電流を流し、いわゆる電流パルス列として上り信号が受信機10に伝送され、このとき伝送電流が流れる。   On the other hand, upstream signals from the analog type sensor 14 and the repeater 16 are transmitted in the current mode. That is, in the current mode, a signal current is caused to flow between the transmission lines 12a and 12b at the timing of bit 1 of the transmission data, and the upstream signal is transmitted to the receiver 10 as a so-called current pulse train. At this time, the transmission current flows.

また伝送線12a,12bは、子機となるアナログ型感知器14及び中継器16に対する電源供給線として使用されている。即ち伝送線12a,12bは、電圧モードによる下り信号の伝送時にあっても18ボルトから30ボルトの範囲で電圧を変動させており、最低でも18ボルトの電圧供給が行われていることから、これによって子機側に電源供給を継続的に行っている。   Further, the transmission lines 12a and 12b are used as power supply lines for the analog type sensor 14 and the repeater 16 as slave units. That is, the transmission lines 12a and 12b vary the voltage in the range of 18 to 30 volts even during transmission of the downlink signal in the voltage mode, and the voltage supply of 18 volts is provided at the minimum. As a result, power is continuously supplied to the slave unit.

中継器16から引き出されている感知器回線18a,18bに対しても、伝送線12a,12bから行われた電源供給が中継器16を経由して同時に行われ、オンオフ型感知器20に電源を供給している。   Also for the sensor lines 18a and 18b drawn from the repeater 16, power supply from the transmission lines 12a and 12b is simultaneously performed via the repeater 16, and the on / off type sensor 20 is powered. Supply.

受信機10にはCPU22が設けられ、CPU22に対しては伝送回路部24が設けられ、伝送回路部24より伝送線12a,12bが引き出されている。   The receiver 10 is provided with a CPU 22, a transmission circuit unit 24 is provided for the CPU 22, and transmission lines 12 a and 12 b are drawn from the transmission circuit unit 24.

伝送回路部24には伝送出力回路26と伝送入力回路28が設けられている。伝送出力回路26は、CPU22からの例えばポーリングなどのコマンド指示に基づき、電圧モードで下り信号を伝送線12a,12bに出力する。

The transmission output circuit 26 and the heat transmission input circuit 28 is provided in the transmission circuit unit 24. The transmission output circuit 26 outputs a downstream signal to the transmission lines 12a and 12b in the voltage mode based on a command instruction such as polling from the CPU 22, for example.

送入力回路28は、子機となるアナログ型感知器14または中継器16からの電流モードによる上り信号、即ち伝送電流を受信し、伝送電流検出信号をCPU22に出力し、火災警報動作を行わせる。

Den transmission input circuit 28, an uplink signal by the current mode from the analog type sensor 14 or the relay device 16 serving as slave unit, i.e. receives the transmission current, and outputs a transmission current detection signal to the CPU 22, perform a fire alarm operation Make it.

CPU22に対しては、表示部30、操作部32、記憶部34及び移報部36が設けられ、火災監視に必要な各種の警報出力、警報表示、操作、監視情報の記憶、移報信号の出力などができるようにしている。   For the CPU 22, a display unit 30, an operation unit 32, a storage unit 34, and a transfer unit 36 are provided, and various alarm outputs, alarm display, operation, storage of monitoring information, and transfer signal necessary for fire monitoring are provided. Output is possible.

アナログ型感知器14には、CPU38、センサ部40及び伝送回路部42が設けられている。センサ部40は火災による煙濃度あるいは温度などを検出してCPU38に出力する。   The analog sensor 14 is provided with a CPU 38, a sensor unit 40 and a transmission circuit unit 42. The sensor unit 40 detects smoke concentration or temperature due to fire and outputs it to the CPU 38.

伝送回路部42は、受信機10から自己アドレスを指定したポーリングコマンドの下り信号を受信し、CPU38に対し正常であれば、正常を示す応答上り信号を電流モードで受信機10に送信する。CPU38は火災を検出すると、自己アドレスを指定したポーリングコマンドの応答として火災割込みの上り信号として火災発報信号を受信機10に伝送する。   The transmission circuit unit 42 receives the downlink signal of the polling command designating its own address from the receiver 10 and, if normal to the CPU 38, transmits a response uplink signal indicating normality to the receiver 10 in the current mode. When detecting a fire, the CPU 38 transmits a fire alarm signal to the receiver 10 as an upstream signal of a fire interrupt as a response to a polling command specifying its own address.

中継器16には、CPU44、発報受信部46及び伝送回路部48が設けられている。発報受信部46からは感知器回線18a,18bが引き出され、そこにオンオフ型感知器20を負荷として接続している。   The repeater 16 is provided with a CPU 44, a notification receiving unit 46 and a transmission circuit unit 48. Sensor lines 18a and 18b are drawn out from the notification receiving unit 46, and the on / off type sensor 20 is connected thereto as a load.

オンオフ型感知器20が火災を検出すると、感知器回線18a,18b間に発報電流を流し、この発報電流を発報受信部46で受信してCPU44に出力し、CPU44は伝送回路部48により、自己アドレスを指定したポーリングコマンドの応答として火災割込みの上り信号を受信機10に伝送する。   When the on-off sensor 20 detects a fire, an alarm current is passed between the sensor lines 18a and 18b. The alarm current is received by the alarm receiver 46 and output to the CPU 44. The CPU 44 transmits the transmission circuit 48. Thus, the fire interrupt upstream signal is transmitted to the receiver 10 as a response to the polling command designating the self address.

また中継器16は、アナログ型感知器14と同様、受信機10からの自己アドレスを指定したポーリングコマンドの下り信号を受信すると、異常がなければ、正常を示す上り信号を電流モードで受信機10に伝送する。   Similarly to the analog sensor 14, the repeater 16 receives a polling command downlink signal designating a self-address from the receiver 10. If there is no abnormality, the repeater 16 sends a normal uplink signal in the current mode. Transmit to.

更に、受信機10と子機との間の伝送処理を詳細に説明すると次のようになる。受信機10は、通常の監視時にあっては、子機アドレスを順次指定した正常監視用のポーリングコマンドを送信しており、アナログ型感知器14及び中継器16は自己の設定アドレスに一致するポーリングコマンドを受信すると、正常監視応答を行う。このため受信機10にあっては、ポーリングコマンドに対し応答がなかった子機となるアナログ型感知器14又は中継器16の障害を検出することができる。   Further, the transmission process between the receiver 10 and the slave unit will be described in detail as follows. During normal monitoring, the receiver 10 transmits a normal monitoring polling command in which the slave unit addresses are sequentially specified, and the analog sensor 14 and the repeater 16 are polled to match their own set addresses. When a command is received, a normal monitoring response is made. Therefore, the receiver 10 can detect a failure of the analog type sensor 14 or the repeater 16 that is a slave unit that has not responded to the polling command.

アナログ型感知器14は、受信機10の全ての感知器アドレスに対するポーリングコマンドの送信周期ごとに繰り返し出力される一括AD変換コマンドを受信した際に、内蔵した火災検出機構における煙濃度や温度などのアナログ検出データをサンプリングし、予め定めた火災レベルと比較し、火災レベルを超えたときに火災を検出するようにしている。   When the analog sensor 14 receives a batch AD conversion command that is repeatedly output at every polling command transmission period for all sensor addresses of the receiver 10, the smoke concentration and temperature in the built-in fire detection mechanism are detected. Analog detection data is sampled, compared with a predetermined fire level, and a fire is detected when the fire level is exceeded.

アナログ型感知器14で一括AD変換コマンドに基づくサンプリング結果から火災を判断した場合には、その後の自己の感知器アドレスを指定したポーリングコマンドのタイミングで、受信機10に対し割込信号を送信する。割込信号は応答ビットをオール1とするような通常は使用されない信号を送る。   When the analog type sensor 14 determines a fire from the sampling result based on the batch AD conversion command, an interrupt signal is transmitted to the receiver 10 at the timing of the subsequent polling command designating its own sensor address. . The interrupt signal is a signal which is not normally used so that the response bit is all 1.

中継器16も受信機10からの一括AD変換コマンドに基づき発報受信部46による受信状態をサンプリングし、発報受信を検出した場合は、その後の自己の感知器アドレスを指定したポーリングコマンドのタイミングで、受信機10に対し割込信号を送信する。   The repeater 16 also samples the reception state by the notification receiving unit 46 based on the batch AD conversion command from the receiver 10, and when the notification reception is detected, the timing of the subsequent polling command designating its own sensor address Then, an interrupt signal is transmitted to the receiver 10.

受信機10はアナログ型感知器14又は中継器16からの割込信号を受信すると、グループ検索コマンドを発行して、火災検出したアナログ型感知器14又は中継器16を含むグループからの割込応答を受信してグループを判別し、続いて、判別したグループに含まれる個々のアナログ型感知器や中継器に対し、順次アドレスを指定したポーリングを行い、火災応答(アナログデータや火災発報データ)を受けることで、火災を検出したアナログ型感知器14又は中継器16の感知器アドレスを認識し、火災警報動作を行うことになる。   When the receiver 10 receives the interrupt signal from the analog type sensor 14 or the repeater 16, it issues a group search command, and the interrupt response from the group including the analog type sensor 14 or the repeater 16 that has detected the fire. Is received, and the group is discriminated, and then polling is performed for each analog type sensor or repeater included in the discriminated group by sequentially specifying the address, and fire response (analog data or fire alarm data) As a result, the sensor address of the analog type sensor 14 or the repeater 16 that detects the fire is recognized, and a fire alarm operation is performed.

伝送線12a,12bに接続される最大127台のアナログ型感知器14及び中継器16は、例えば8台ごとにグループアドレスが設定されており、受信機10からのグループ検索コマンドに対し、火災を検出している感知器が含まれるグループから割込応答が行われ、火災を検出しているアナログ型感知器14又は中継器16を含むグループを特定できるようにしている。   For the maximum 127 analog type sensors 14 and repeaters 16 connected to the transmission lines 12a and 12b, for example, group addresses are set for every 8 units, and a fire is detected in response to a group search command from the receiver 10. An interrupt response is made from the group including the detecting sensor so that the group including the analog type sensor 14 or the repeater 16 detecting the fire can be specified.

図2は本発明による伝送入力回路とその制御回路として機能するCPUの第1実施形態を示した回路図である。図2において、受信機10に設けられた伝送入力回路28は、電流検出抵抗R0、オペアンプ48、DAコンバータ(デジタルアナログ変換器)50、コンパレータ52、基準電圧源54、オペアンプ48の入力抵抗R1と帰還抵抗R2、及びコンパレータ52の出力のプルアップ抵抗R3で構成される。

FIG. 2 is a circuit diagram showing a first embodiment of a transmission input circuit according to the present invention and a CPU functioning as its control circuit . 2, the transmission input circuit 28 provided in the receiver 10 includes a current detection resistor R0, an operational amplifier 48, a DA converter (digital / analog converter) 50, a comparator 52, a reference voltage source 54, and an input resistor R1 of the operational amplifier 48. The feedback resistor R2 and the pull-up resistor R3 output from the comparator 52 are included.

受信機10から引き出された伝送線12aには所定の電源電圧Vccが印加されており、伝送線12a,12b間には、図1に示したように、子機としてのアナログ型感知器14や中継器16が接続されており、主に中継器16に設けている感知器回線18a,18bに接続したオンオフ型感知器20の消費電流に伴う負荷電流Izが伝送線12bから流れており、受信機10からのポーリングなどによるアナログ感知器14及び中継器16からの正常応答などに伴う伝送電流Iaが一定周期で流れている。   A predetermined power supply voltage Vcc is applied to the transmission line 12a drawn from the receiver 10, and an analog sensor 14 as a slave unit or the like is connected between the transmission lines 12a and 12b as shown in FIG. The repeater 16 is connected, and the load current Iz accompanying the consumption current of the on / off type sensor 20 connected mainly to the sensor lines 18a and 18b provided in the repeater 16 flows from the transmission line 12b. A transmission current Ia accompanying a normal response from the analog sensor 14 and the repeater 16 due to polling from the machine 10 flows at a constant period.

電流検出抵抗R0は、伝送線12bから流れ込む電流に応じた線路電流検出電圧Viを発生する。子機が伝送電流Iaを出力しない状態にあっては、負荷電流Izが基底的に流れ込んでおり、したがって電流検出抵抗R0は負荷電流Izに応じた負荷電流検出電圧Vzを発生する。   The current detection resistor R0 generates a line current detection voltage Vi corresponding to the current flowing from the transmission line 12b. When the slave unit does not output the transmission current Ia, the load current Iz basically flows in. Therefore, the current detection resistor R0 generates the load current detection voltage Vz corresponding to the load current Iz.

この状態で負荷電流Izに上乗せする形で子機からの伝送電流Iaが流れ、このとき電流検出抵抗R0には負荷電流検出電圧Vzに伝送電流検出電圧Vaを加えた線路電流検出電圧Vi、即ち
Vi=Vz+Va
が発生する。
In this state, the transmission current Ia from the slave unit is added to the load current Iz, and at this time, the line current detection voltage Vi obtained by adding the transmission current detection voltage Va to the load current detection voltage Vz, that is, the current detection resistor R0, that is, Vi = Vz + Va
Will occur.

オペアンプ48は電流検出抵抗R0に発生した線路電流検出電圧Viをプラス入力端子に入力し、マイナス入力端子に対してはDAコンバータ50から調整電圧Vbを入力している。オペアンプ48は入力抵抗R1及び帰還抵抗R2によって増幅率が例えば1に設定されたバッファアンプとして動作し、線路電流検出電圧Viから調整電圧Vbを差し引いた補正検出電圧Vc、即ち
Vc=Vi−Vb
を出力する。
The operational amplifier 48 inputs the line current detection voltage Vi generated in the current detection resistor R0 to the positive input terminal, and inputs the adjustment voltage Vb from the DA converter 50 to the negative input terminal. The operational amplifier 48 operates as a buffer amplifier whose amplification factor is set to 1, for example, by the input resistor R1 and the feedback resistor R2, and the correction detection voltage Vc obtained by subtracting the adjustment voltage Vb from the line current detection voltage Vi, that is, Vc = Vi−Vb.
Is output.

オペアンプ48から出力された補正検出電圧Vcはコンパレータ52のマイナス入力端子に入力され、プラス入力端子に入力している基準電圧源54からの基準電圧Vrと比較される。即ち、補正検出電圧Vcが基準電圧Vr未満であればコンパレータ52はHレベル出力を生じており、補正検出電圧Vcが基準電圧Vr以上になるとコンパレータ52はLレベル出力に反転する。   The correction detection voltage Vc output from the operational amplifier 48 is input to the negative input terminal of the comparator 52 and compared with the reference voltage Vr from the reference voltage source 54 input to the positive input terminal. That is, if the corrected detection voltage Vc is less than the reference voltage Vr, the comparator 52 generates an H level output. When the corrected detection voltage Vc becomes equal to or higher than the reference voltage Vr, the comparator 52 is inverted to an L level output.

CPU22には、プログラムの実行により実現される機能として第1調整処理部56と第2調整処理部58が設けられている。第1調整処理部56と第2調整処理部58は、子機からの伝送電流Iaが流れていない空きタイミング即ち負荷電流Izのみが入力しているタイミングで、調整処理を実行する。   The CPU 22 is provided with a first adjustment processing unit 56 and a second adjustment processing unit 58 as functions realized by executing the program. The first adjustment processing unit 56 and the second adjustment processing unit 58 execute the adjustment process at the idle timing when the transmission current Ia from the slave unit does not flow, that is, the timing when only the load current Iz is input.

第1調整処理部56は、オペアンプ48から出力された線路電流検出電圧Vi、即ち、この場合には負荷電流Izのみであることから、負荷電流検出電圧VzからDAコンバータ50による調整電圧Vbを差し引いた補正検出電圧Vc、即ち
Vc=Vz−Vb
を、コンパレータ52に設定している基準電圧源54からの基準電圧Vrに一致させるように、DAコンバータ50からの調整電圧Vbを調整する。
The first adjustment processing unit 56 subtracts the adjustment voltage Vb from the DA converter 50 from the load current detection voltage Vz because it is only the line current detection voltage Vi output from the operational amplifier 48, that is, the load current Iz in this case. Correction detection voltage Vc, that is, Vc = Vz−Vb
Is adjusted to the reference voltage Vr from the reference voltage source 54 set in the comparator 52, the adjustment voltage Vb from the DA converter 50 is adjusted.

具体的には、第1調整処理部56は、DAコンバータ50に対するデジタル値を1ビットずつ変化させて、コンパレータ52の出力が反転したときのデジタル値または反転直前のデジタル値に調整することで、補正検出電圧Vc(=Vz−Vb)を基準電圧Vrに一致させる。   Specifically, the first adjustment processing unit 56 changes the digital value for the DA converter 50 bit by bit, and adjusts it to the digital value when the output of the comparator 52 is inverted or the digital value immediately before the inversion. The corrected detection voltage Vc (= Vz−Vb) is matched with the reference voltage Vr.

更に詳細には、例えば調整開始時にDAコンバータ50から出力される調整電圧Vbが0ボルトの初期値にあったとすると、このときのオペアンプ48から出力される補正検出電圧Vcは負荷電流検出電圧Vzと同じで基準電圧Vrより大きく、コンパレータ52の出力はLレベルとなっている。   More specifically, for example, if the adjustment voltage Vb output from the DA converter 50 at the start of adjustment is at an initial value of 0 volts, the corrected detection voltage Vc output from the operational amplifier 48 at this time is the load current detection voltage Vz. The same is larger than the reference voltage Vr, and the output of the comparator 52 is L level.

コンパレータ52の出力がLレベルのときにはDAコンバータ50からの調整電圧Vbが小さいことから、第1調整処理部56はDAコンバータ50に対するデジタル値を1ビット単位に増加させ、コンパレータ52の出力がLレベルからHレベルに反転したとき、反転したときのデジタル値または反転直前のデジタル値に固定し、このときの調整電圧Vbにより、オペアンプ48から出力される補正検出電圧Vcが基準電圧Vrに一致した状態となる。   Since the adjustment voltage Vb from the DA converter 50 is small when the output of the comparator 52 is at the L level, the first adjustment processing unit 56 increases the digital value for the DA converter 50 in 1-bit units, and the output of the comparator 52 is at the L level. When the signal is inverted from H to H level, the digital value at the time of inversion or the digital value immediately before the inversion is fixed, and the correction detection voltage Vc output from the operational amplifier 48 matches the reference voltage Vr by the adjustment voltage Vb at this time. It becomes.

逆に、調整開始時に補正検出電圧Vcが基準電圧Vrより低かった場合には、コンパレータ52の出力はHレベルにあり、この場合にはDAコンバータ50のデジタル値を1ビット単位に減少させるように変化させて調整電圧Vbを順次下げ、補正検出電圧Vcを上げていく。   On the other hand, when the correction detection voltage Vc is lower than the reference voltage Vr at the start of adjustment, the output of the comparator 52 is at the H level. In this case, the digital value of the DA converter 50 is decreased in units of 1 bit. Then, the adjustment voltage Vb is sequentially decreased and the correction detection voltage Vc is increased.

このDAコンバータ50による調整電圧Vbの1ビット単位の減少に伴う補正検出電圧Vcの増加で、コンパレータ52の出力がHレベルからLレベルに反転したとき、このときのDAコンバータ50に対するデジタル値または反転直前のデジタル値に固定し、これによって補正検出電圧Vcを基準電圧Vrに一致させることができる。   When the output of the comparator 52 is inverted from the H level to the L level due to the increase in the correction detection voltage Vc accompanying the decrease in the 1-bit unit of the adjustment voltage Vb by the DA converter 50, the digital value or inversion to the DA converter 50 at this time It is possible to fix the correction detection voltage Vc to the reference voltage Vr by fixing the digital value immediately before.

第2調整処理部58は、第1調整処理部56による調整が完了したときに動作し、第1調整処理部56により、基準電圧Vrに一致するように調整された補正検出電圧Vcを、伝送電流Iaに対応した伝送電流検出電圧Vaの1/2となる一定電圧(Va/2)だけ低下させた補正検出電圧Vcとなるように、DAコンバータ50からの調整電圧Vbを調整する。   The second adjustment processing unit 58 operates when the adjustment by the first adjustment processing unit 56 is completed, and transmits the correction detection voltage Vc adjusted by the first adjustment processing unit 56 so as to match the reference voltage Vr. The adjustment voltage Vb from the DA converter 50 is adjusted so that the correction detection voltage Vc is reduced by a constant voltage (Va / 2) that is ½ of the transmission current detection voltage Va corresponding to the current Ia.

これによって、その後、入力する子機からの伝送電流Iaに応じた伝送電流検出電圧Va分の増加に対し、基準電圧Vrは増加した線路電流検出電圧Vaのほぼ半分となる位置に設定され、これによって線路電流Iaをコンパレータ52により確実に検出することができる。   As a result, the reference voltage Vr is set to a position that is approximately half of the increased line current detection voltage Va with respect to the increase of the transmission current detection voltage Va corresponding to the transmission current Ia from the input slave unit. Thus, the line current Ia can be reliably detected by the comparator 52.

図3は図2の第1実施形態における各部の信号波形を示したタイムチャートである。即ち図3(A)は線路電流検出抵抗R0に発生する線路電流検出電圧Viであり、子機からの伝送電流Iaのない空きタイミングでは、基底的に流れる負荷電流Izに対応した負荷電流検出電圧Vzが発生している。この状態で子機からの伝送電流Iaが流れると、負荷電流検出電圧Vzに上乗せする形で伝送電流検出電圧Va分の増加となったパルス電圧が検出される。   FIG. 3 is a time chart showing signal waveforms of respective parts in the first embodiment of FIG. That is, FIG. 3A shows the line current detection voltage Vi generated in the line current detection resistor R0, and the load current detection voltage corresponding to the load current Iz that basically flows at the idle timing without the transmission current Ia from the slave unit. Vz is generated. When the transmission current Ia from the slave unit flows in this state, the pulse voltage that is increased by the transmission current detection voltage Va is detected in a form added to the load current detection voltage Vz.

図3(B)はDAコンバータ50から出力される調整電圧Vbである。また図3(C)はコンパレータ52に入力するオペアンプ48から出力された補正検出電圧Vc及び基準電圧Vrを示している。更に図3(D)はコンパレータ52の出力である。   FIG. 3B shows the adjustment voltage Vb output from the DA converter 50. FIG. 3C shows the corrected detection voltage Vc and the reference voltage Vr output from the operational amplifier 48 input to the comparator 52. Further, FIG. 3D shows the output of the comparator 52.

図3において、図2のCPU22に設けた第1調整処理部56及び第2調整処理部58による調整処理を説明すると、次のようになる。   In FIG. 3, the adjustment processing by the first adjustment processing unit 56 and the second adjustment processing unit 58 provided in the CPU 22 of FIG. 2 will be described as follows.

まず第1調整処理部56は、伝送線12bに伝送電流Iaが流れていない空きタイミングとなる時刻t1で調整処理を開始し、オペアンプ48から出力される補正検出電圧Vcを基準電圧Vrに一致させるように、DAコンバータ50からの調整電圧Vbを調整する。   First, the first adjustment processing unit 56 starts the adjustment process at time t1, which is a vacant timing when the transmission current Ia does not flow through the transmission line 12b, and makes the correction detection voltage Vc output from the operational amplifier 48 coincide with the reference voltage Vr. Thus, the adjustment voltage Vb from the DA converter 50 is adjusted.

なお、調整開始時にDAコンバータ50からの調整電圧Vbは0ボルトの初期値にあったものとする。また、このときの負荷電流検出電圧Vzは基準電圧Vrより高めになっていたとする。   It is assumed that the adjustment voltage Vb from the DA converter 50 is at the initial value of 0 volts at the start of adjustment. Further, it is assumed that the load current detection voltage Vz at this time is higher than the reference voltage Vr.

時刻t1の調整開始時にあっては、調整電圧Vb=0ボルトであることから、オペアンプ48から出力される補正検出電圧VcはVc=Vzであり、基準電圧Vrを上回っていることからコンパレータ52の出力はLレベルとなっている。したがって第1調整処理部56は、補正検出電圧Vcを下げるために、DAコンバータ50に対し1ビット単位に増加させるデジタル値を設定し、これに伴い、オペアンプ48に対する調整電圧Vbが1ビット単位に増加され、出力される調整電圧Vbを順次増加させる。   At the start of adjustment at time t1, since the adjustment voltage Vb = 0 volts, the correction detection voltage Vc output from the operational amplifier 48 is Vc = Vz, which is higher than the reference voltage Vr. The output is L level. Therefore, the first adjustment processing unit 56 sets a digital value to be increased in 1-bit units for the DA converter 50 in order to lower the correction detection voltage Vc, and accordingly, the adjustment voltage Vb for the operational amplifier 48 is set in 1-bit units. The adjustment voltage Vb that is increased and output is sequentially increased.

調整電圧Vbが増加すると、オペアンプ48からは、そのときの負荷電流検出電圧Vzから調整電圧Vbを差し引いた補正検出電圧Vcが出力されるため、補正検出電圧Vcは、図3(C)に示すように基準電圧Vrに向かって減少する。   When the adjustment voltage Vb increases, the correction detection voltage Vc obtained by subtracting the adjustment voltage Vb from the load current detection voltage Vz at that time is output from the operational amplifier 48. Therefore, the correction detection voltage Vc is shown in FIG. Thus, it decreases toward the reference voltage Vr.

時刻t2で、DAコンバータ50における1ビット変化に伴う調整電圧Vbの上昇で、逆に補正検出電圧Vcが低下して基準電圧Vrを下回ると、コンパレータ52の出力が、それまでのLレベルからHレベルに反転する。これによって第1調整処理部56は、補正検出電圧Vcが基準電圧Vrに一致したことを判別して調整処理を終了する。   At time t2, when the adjustment voltage Vb increases due to the 1-bit change in the DA converter 50 and conversely the correction detection voltage Vc decreases and falls below the reference voltage Vr, the output of the comparator 52 changes from the previous L level to the H level. Invert to level. Thus, the first adjustment processing unit 56 determines that the corrected detection voltage Vc matches the reference voltage Vr, and ends the adjustment process.

続いて時刻t3〜t4で、第2調整処理部58がDAコンバータ50に対するデジタル値の調整により、コンパレータ52に対する補正検出電圧Vcを伝送電流検出電圧Vaの半分となる一定電圧(Va/2)だけ低下させる調整処理を行う。   Subsequently, at time t3 to t4, the second adjustment processing unit 58 adjusts the digital value for the DA converter 50, so that the correction detection voltage Vc for the comparator 52 is only a constant voltage (Va / 2) that is half the transmission current detection voltage Va. Perform adjustment processing to reduce.

即ち第2調整処理部58は、DAコンバータ50に対するデジタル値を増加させ、調整電圧Vbを図3(B)に示すように伝送電流検出電圧Vaの半分の(Va/2)だけ増加させ、これに伴い、図3(C)に示すように、コンパレータ52に対するオペアンプ48から出力される補正検出電圧Vcが(Va/2)だけ低下させることになる。   That is, the second adjustment processing unit 58 increases the digital value for the DA converter 50, and increases the adjustment voltage Vb by (Va / 2) half of the transmission current detection voltage Va as shown in FIG. Accordingly, as shown in FIG. 3C, the correction detection voltage Vc output from the operational amplifier 48 for the comparator 52 is decreased by (Va / 2).

次に調整処理が終了した後の時刻t5〜t6に亘り、子機から例えば10ビットデータ「1011010001」に対応した伝送電流Iaが出力され、伝送電流検出電圧Vaが得られたとする。この伝送電流検出電圧Vaは負荷電流Vzに上乗せして流れることで、線路電流検出電圧ViはVi=(Vz+Va)となり、オペアンプ48における調整電圧Vbの減算により一定電圧(Va/2)だけ低下された補正検出電圧Vcとしてコンパレータ52に入力する。   Next, it is assumed that the transmission current Ia corresponding to, for example, 10-bit data “1011010001” is output from the slave unit and the transmission current detection voltage Va is obtained from time t5 to t6 after the adjustment process is completed. The transmission current detection voltage Va flows on top of the load current Vz, so that the line current detection voltage Vi becomes Vi = (Vz + Va) and is reduced by a constant voltage (Va / 2) by subtraction of the adjustment voltage Vb in the operational amplifier 48. The corrected detection voltage Vc is input to the comparator 52.

このため図3(C)に示すように、コンパレータ52に入力する補正検出電圧Vcにおける線路電流検出電圧Vaの変化分のほぼ中央に基準電圧Vrが位置し、これによって、より正確に線路電流検出電圧Viを検出することができる。   For this reason, as shown in FIG. 3C, the reference voltage Vr is located at the approximate center of the change of the line current detection voltage Va in the correction detection voltage Vc input to the comparator 52, thereby detecting the line current more accurately. The voltage Vi can be detected.

即ちコンパレータ52は、補正検出電圧Vcが基準電圧Vr以上であればLレベル出力を生じ、基準電圧Vrより小さければHレベル出力を生じ、したがって図3(D)に示すように、伝送電流検出電圧Vaを反転した伝送電流検出信号、例えば「0100101110」の10ビットデータをCPU22に入力することになる。   That is, the comparator 52 generates an L level output if the corrected detection voltage Vc is equal to or higher than the reference voltage Vr, and generates an H level output if it is lower than the reference voltage Vr. Therefore, as shown in FIG. A transmission current detection signal obtained by inverting Va, for example, “0100101110” 10-bit data is input to the CPU 22.

図4は図2の第1実施形態における負荷電流が安定している場合の各部の信号波形を示したタイムチャートである。図4(A)は線路電流検出電圧Vi、図4(B)はコンパレータ52の入力、図4(C)は調整タイミング、更に図4(D)はコンパレータ52の出力である。   FIG. 4 is a time chart showing signal waveforms at various parts when the load current in the first embodiment of FIG. 2 is stable. 4A shows the line current detection voltage Vi, FIG. 4B shows the input of the comparator 52, FIG. 4C shows the adjustment timing, and FIG. 4D shows the output of the comparator 52.

図4(A)に示すように、この例では伝送線12bから流れ込む負荷電流Izに対応した負荷電流検出電圧Vzは一定であり、ここに上乗せする形で伝送電流Iaによる伝送電流検出電圧Vaが周期的に発生している。   As shown in FIG. 4A, in this example, the load current detection voltage Vz corresponding to the load current Iz flowing from the transmission line 12b is constant, and the transmission current detection voltage Va based on the transmission current Ia is added to the load current detection voltage Va. It occurs periodically.

このように負荷電流Vzが一定の場合には、例えば受信機10からのポーリングに伴う子機側からの正常応答のデジタル電流の応答周期に対し、例えば1周期おきに図4(A)に示すように調整タイミングを設定して調整処理を行っている。   When the load current Vz is constant as shown in FIG. 4A, for example, every other period with respect to the response period of the normal response digital current from the slave unit accompanying the polling from the receiver 10, for example. Adjustment processing is performed by setting the adjustment timing as described above.

図4における最初の調整タイミングは図3の場合と同じであり、その後、周期的な伝送電流の出力に対し1周期おきに調整タイミングを設定している。このような調整により、図4(B)に示すように、コンパレータ52にオペアンプ48から入力する補正検出電圧Vcに含まれる線路電流検出電圧Vaに対し、基準電圧Vrがそのほぼ半分となる位置に調整され、確実に子機からの伝送電流Iaに対応した伝送電流検出電圧Vaをコンパレータ52により検出することができる。   The initial adjustment timing in FIG. 4 is the same as that in FIG. 3, and thereafter, the adjustment timing is set every other cycle for the output of the periodic transmission current. By such adjustment, as shown in FIG. 4B, the reference voltage Vr is approximately half of the line current detection voltage Va included in the correction detection voltage Vc input to the comparator 52 from the operational amplifier 48. The transmission current detection voltage Va that is adjusted and reliably corresponds to the transmission current Ia from the slave unit can be detected by the comparator 52.

ここで親機である受信機10と子機であるアナログ方感知器14や中継器16との間のデータ伝送速度を19200bpsとした場合、子機からの伝送電流の送信周期は4.3ミリ秒となり、これに対し調整処理に要する時間は0.2〜0.3ミリ秒と極く短い時間済むが、図12にあっては、説明を分かり易くするために、調整時間を長くして示している。   Here, when the data transmission speed between the receiver 10 as the master unit and the analog sensor 14 or the repeater 16 as the slave unit is set to 19200 bps, the transmission cycle of the transmission current from the slave unit is 4.3 mm. In contrast to this, the time required for the adjustment process is as short as 0.2 to 0.3 milliseconds, but in FIG. 12, the adjustment time is increased to make the explanation easier to understand. Show.

図5は図2の第1実施形態における負荷電流が変動している場合の各部の信号波形を示したタイムチャートである。図5(A)に示すように、この場合には伝送線に流れる負荷電流Izの変動に伴い、負荷電流検出電圧Vzが時間の経過に伴い緩やかに変動しており、これに上乗せする形で子機からの伝送電流Iaによる伝送電流検出電圧Vaが発生している。   FIG. 5 is a time chart showing signal waveforms at various parts when the load current in the first embodiment of FIG. 2 varies. As shown in FIG. 5 (A), in this case, the load current detection voltage Vz fluctuates gradually with the lapse of time as the load current Iz flowing through the transmission line fluctuates. A transmission current detection voltage Va is generated by the transmission current Ia from the slave unit.

このように負荷電流Izが変動する場合には、図5(C)に示す調整タイミングとしては、伝送電流出力周期の間の空き時間のすべてについて調整を行うようにしている。   When the load current Iz fluctuates in this way, the adjustment timing shown in FIG. 5C is adjusted for all of the idle time during the transmission current output cycle.

このような調整タイミングの設定により、図5(B)のコンパレータ52に対する入力に示すように、負荷電流検出電圧Vzが変動しても、調整処理によって、調整直後におけるオペアンプ48からの補正検出電圧Vcは常に基準電圧Vrに対し(Va/2)だけ低い電圧に調整され、その後、次の調整までの間に負荷電流検出電圧Vzに変動があるが、その間も伝送電流検出電圧Vaは基準電圧Vrに対し、その変化分の中央付近に位置しており、負荷電流の緩やかに変動に対し確実に伝送電流を検出することができる。   Even if the load current detection voltage Vz fluctuates as shown in the input to the comparator 52 in FIG. 5B by setting the adjustment timing as described above, the correction detection voltage Vc from the operational amplifier 48 immediately after the adjustment is obtained by the adjustment process. Is always adjusted to a voltage that is lower by (Va / 2) than the reference voltage Vr. Thereafter, the load current detection voltage Vz varies until the next adjustment, but the transmission current detection voltage Va is also the reference voltage Vr during this period. On the other hand, it is located near the center of the change, and the transmission current can be reliably detected against the gradual fluctuation of the load current.

図6は図2の第1実施形態に設けた第1調整処理部56及び第2調整処理部58による調整処理を示したフローチャートである。図6において、まずステップS1で伝送電流が流れずに負荷電流Izのみが流れている調整タイミングか否かを判別し、調整タイミングを判別すると、ステップS2に進み、コンパレータ52の出力がLレベルか否かチェックする。   FIG. 6 is a flowchart showing adjustment processing by the first adjustment processing unit 56 and the second adjustment processing unit 58 provided in the first embodiment of FIG. In FIG. 6, first, in step S1, it is determined whether or not the adjustment timing is such that only the load current Iz flows without flowing the transmission current. If the adjustment timing is determined, the process proceeds to step S2, and the output of the comparator 52 is L level. Check whether or not.

コンパレータの出力がLレベルであった場合には、このときオペアンプ48からの補正検出電圧Vcは基準電圧Vrより高いことから、補正検出電圧Vcを下げるためにはオペアンプ48に対する調整電圧Vbを上げる必要があり、したがってステップS3に進み、DAコンバータ50を1ビット単位に増加させて、調整電圧Vbを増加させる。   When the output of the comparator is L level, the correction detection voltage Vc from the operational amplifier 48 is higher than the reference voltage Vr at this time. Therefore, in order to lower the correction detection voltage Vc, it is necessary to increase the adjustment voltage Vb for the operational amplifier 48. Therefore, the process proceeds to step S3, where the DA converter 50 is increased in units of 1 bit and the adjustment voltage Vb is increased.

続いてステップS4でコンパレータ52の出力が反転したか否かチェックし、コンパレータ52の出力が反転するまで、ステップS2,S3の処理により、DAコンバータ50に対するデジタル値を1ビット単位に順次増加させて、調整電圧Vbを増加させる処理を繰り返す。   Subsequently, in step S4, it is checked whether or not the output of the comparator 52 is inverted. Until the output of the comparator 52 is inverted, the digital value for the DA converter 50 is sequentially increased in units of 1 bit by the processing in steps S2 and S3. The process of increasing the adjustment voltage Vb is repeated.

ステップS4でコンパレータの出力がLレベルからHレベルに反転することを判別すると、このとき補正検出電圧Vcが基準電圧Vrに一致するように調整電圧Vbが調整されたと判断し、ステップS6に進み、第2調整処理部58による処理として、DAコンバータ50の出力を伝送電圧検出電圧Vaの半分となる一定電圧(Va/2)だけ増加させる処理を行い、これによって基準電圧Vrに一致したオペアンプ48からの補正検出電圧Vcを一定電圧(Va/2)だけ低下させ、一連の調整処理を終了する。   If it is determined in step S4 that the output of the comparator is inverted from the L level to the H level, it is determined that the adjustment voltage Vb is adjusted so that the correction detection voltage Vc matches the reference voltage Vr at this time, and the process proceeds to step S6. As a process by the second adjustment processing unit 58, a process of increasing the output of the DA converter 50 by a constant voltage (Va / 2) that is half of the transmission voltage detection voltage Va is performed, and thereby the operational amplifier 48 that matches the reference voltage Vr. The correction detection voltage Vc is reduced by a constant voltage (Va / 2), and the series of adjustment processing is terminated.

一方、ステップS2でコンパレータの出力がHレベルであった場合には、このときオペアンプ48から出力されている補正検出電圧Vcは基準電圧Vrより小さいことから、補正検出電圧Vcを増加させるために調整電圧Vbを下げる必要があり、そこでステップS5に進み、DAコンバータ50のデジタル値を1ビット単位にダウンさせ、調整電圧Vbを順次減少させる。   On the other hand, if the output of the comparator is at the H level in step S2, the correction detection voltage Vc output from the operational amplifier 48 at this time is smaller than the reference voltage Vr. Therefore, adjustment is performed to increase the correction detection voltage Vc. The voltage Vb needs to be lowered, and therefore, the process proceeds to step S5, where the digital value of the DA converter 50 is lowered in units of 1 bit, and the adjustment voltage Vb is sequentially reduced.

続いてステップS4でコンパレータの出力がHレベルからLレベルに反転したか否かチェックし、Lレベルに反転するまで、ステップS2,S5の処理を繰り返す。ステップS4でコンパレータの出力反転が判別されると、このときオペアンプ48からの補正検出電圧Vcが基準電圧Vrに一致したと判断し、ステップS6でDAコンバータ50からの調整電圧Vbを一定電圧Va/2だけ増加させる調整を行い、これによって基準電圧Vrに一致したオペアンプ48からの補正検出電圧Vcを一定電圧(Va/2)だけ低下させ、一連の調整処理を終了する。   Subsequently, in step S4, it is checked whether or not the output of the comparator is inverted from the H level to the L level, and the processes of steps S2 and S5 are repeated until the output is inverted to the L level. When the output inversion of the comparator is determined in step S4, it is determined that the correction detection voltage Vc from the operational amplifier 48 coincides with the reference voltage Vr at this time, and the adjustment voltage Vb from the DA converter 50 is determined as the constant voltage Va / in step S6. Adjustment is made to increase by 2, thereby reducing the correction detection voltage Vc from the operational amplifier 48 that matches the reference voltage Vr by a constant voltage (Va / 2), and a series of adjustment processing is completed.

図7は本発明による伝送入力回路とその制御回路として機能するCPUの第2実施形態を示した回路図である。この第2実施形態にあっては、図2の第1実施形態に設けたDAコンバータ50に代えてデジタル可変抵抗器60を設けたことを特徴とする。

FIG. 7 is a circuit diagram showing a second embodiment of a CPU functioning as a transmission input circuit and its control circuit according to the present invention. The second embodiment is characterized in that a digital variable resistor 60 is provided instead of the DA converter 50 provided in the first embodiment of FIG.

デジタル可変抵抗器60は、CPU22からのデジタル値、具体的にはアップカウントパルスまたはダウンカウントパルスの出力により、調整電圧Vbを調整することができる。   The digital variable resistor 60 can adjust the adjustment voltage Vb by the output of a digital value from the CPU 22, specifically, an up count pulse or a down count pulse.

図8は図7の第2実施形態に設けたデジタル可変抵抗器の回路構成を示したブロック図である。図8において、デジタル可変抵抗器60は、直列抵抗アレイ62、アップダウンカウンタ66、不揮発メモリ68、制御回路70及びデコーダ72を備えている。   FIG. 8 is a block diagram showing a circuit configuration of the digital variable resistor provided in the second embodiment of FIG. In FIG. 8, the digital variable resistor 60 includes a series resistor array 62, an up / down counter 66, a nonvolatile memory 68, a control circuit 70, and a decoder 72.

直列抵抗アレイ62は所定の抵抗値を持つ固定抵抗rを所定数、直列接続しており、直列接続回路の両端及び抵抗接続間のそれぞれにMOS−FETなどを用いたスイッチ64を接続し、他端を共通接続している。   The series resistor array 62 has a predetermined number of fixed resistors r having a predetermined resistance value connected in series, and a switch 64 using a MOS-FET or the like is connected to both ends of the series connection circuit and between the resistance connections. The ends are connected together.

直列抵抗アレイ62の直列抵抗回路の一端からは電源端子72が取り出され、他端からはグランド端子74が取り出され、更にスイッチ64を介して接続した共通側からはワイパー端子76が取り出されている。   A power supply terminal 72 is taken out from one end of the series resistance circuit of the series resistor array 62, a ground terminal 74 is taken out from the other end, and a wiper terminal 76 is taken out from the common side connected via the switch 64. .

直列抵抗アレイ62はスイッチ64のいずれか1つをデコーダ72の出力によりオンすることで、例えば256段階に亘り抵抗値を切り替えることができ、これに対応して電源端子72とグランド端子74間に印加している直流電圧を256段階の任意の選択段階の電圧として出力することができる。   The series resistor array 62 can switch the resistance value in 256 steps, for example, by turning on one of the switches 64 by the output of the decoder 72, and correspondingly, between the power supply terminal 72 and the ground terminal 74. The applied DC voltage can be output as a voltage at any of 256 selected stages.

デコーダ72に対してはアップダウンカウンタ66が設けられており、アップダウンカウンタ66は制御端子78に対する制御信号としてのカウント信号によりアップカウントまたはダウンカウントを最小値から最大値の間で行う。アップダウンカウンタ66にカウントされた2進データはデコーダ72で例えば1〜256段階の10進データに変換され、デコーダ72から10進データに対応した位置のスイッチ64をオンすることで、デコーダ72で設定した値(段数)に対応した電圧をワイパー端子76から取り出すことができる。   An up / down counter 66 is provided for the decoder 72, and the up / down counter 66 counts up or down between a minimum value and a maximum value by a count signal as a control signal for the control terminal 78. The binary data counted by the up / down counter 66 is converted into decimal data of, for example, 1 to 256 stages by the decoder 72. By turning on the switch 64 at a position corresponding to the decimal data from the decoder 72, the decoder 72 A voltage corresponding to the set value (number of stages) can be taken out from the wiper terminal 76.

制御回路70はアップダウンカウンタ66及びデコーダ72のタイミング制御などを行っている。また不揮発メモリ68が設けられ、不揮発メモリ68にはアップダウンカウンタ66の値が記憶される。   The control circuit 70 performs timing control for the up / down counter 66 and the decoder 72. A nonvolatile memory 68 is provided, and the nonvolatile memory 68 stores the value of the up / down counter 66.

このため、デジタル可変抵抗器60の電源が断たれても、不揮発メモリ68にそのときのアップダウンカウンタ66の値が保持されているため、次に電源を投入したときの初期値として不揮発メモリ68の値がアップダウンカウンタ66にセットされ、これによって、電源を切っても、そのときの調整値を保持することができる。なお電源を切っても調整値を保持する必要がない場合には、不揮発メモリ68を設ける必要はない。   For this reason, even if the power of the digital variable resistor 60 is cut off, since the value of the up / down counter 66 at that time is held in the nonvolatile memory 68, the nonvolatile memory 68 is used as an initial value when the power is turned on next time. Is set in the up / down counter 66, so that the adjustment value at that time can be held even when the power is turned off. If the adjustment value does not need to be retained even when the power is turned off, the nonvolatile memory 68 need not be provided.

図9は図7の第2実施形態における調整処理を示したフローチャートである。この調整処理は基本的に、図6に示した第1実施形態の調整処理と同じであるが、図6のステップS3,S5に対応した図9のステップS13,S15の処理において、DAコンバータ50に代えて、デジタル可変抵抗器60のアップまたはダウンを1ビット単位に行っている点が相違する。   FIG. 9 is a flowchart showing the adjustment process in the second embodiment of FIG. This adjustment process is basically the same as the adjustment process of the first embodiment shown in FIG. 6, but the DA converter 50 in the processes of steps S13 and S15 of FIG. 9 corresponding to steps S3 and S5 of FIG. Instead, the digital variable resistor 60 is up or down in 1-bit units.

またデジタル可変抵抗器60を用いた場合、ステップS16におけるデジタル可変抵抗器60の出力を一定電圧(Va/2)だけ低下させる処理として、この電圧低下に相当するデジタル値のダウンカウントを必要とする分だけ、DAコンバータ50が単に所定の低下させるためのデジタル値を1回でセットする処理に比べ、調整処理に時間がかかることになる。   When the digital variable resistor 60 is used, the digital value corresponding to the voltage drop needs to be down-counted as a process of reducing the output of the digital variable resistor 60 by a constant voltage (Va / 2) in step S16. Therefore, the adjustment process takes more time than the process in which the DA converter 50 simply sets a digital value for a predetermined decrease at a time.

図10は本発明による伝送入力回路とその制御回路として機能するCPUの第3実施形態を示した回路図である。この第3実施形態にあっては、第1調整処理部56による処理終了後の第2調整処理部58の処理として、DAコンバータのデジタル値の変更ではなく、スイッチと抵抗回路網によって伝送電流検出電圧Vaの半分となる一定電圧(Va/2)の変化を作り出すようにして、ソフトウェア側の処理を簡単にしたことを特徴とする。

FIG. 10 is a circuit diagram showing a third embodiment of a CPU functioning as a transmission input circuit and its control circuit according to the present invention. In the third embodiment, the processing of the second adjustment processing unit 58 after the completion of the processing by the first adjustment processing unit 56 is not a change in the digital value of the DA converter, but a transmission current detection by a switch and a resistor network. The process on the software side is simplified by creating a constant voltage (Va / 2) change that is half of the voltage Va.

図10において、受信機10に設けられた伝送入力回路28は、電流検出抵抗R0、オペアンプ48、DAコンバータ50、コンパレータ52、基準電圧源54、プルアップ抵抗R3を備えており、この点は図2の第1実施形態と基本的に同じであるが、第3実施形態にあっては、コンパレータ52の基準電圧側のプラス入力端子に対し、スイッチ80と抵抗R4,R5を直列接続した分圧回路82を設けたことを特徴とする。   10, the transmission input circuit 28 provided in the receiver 10 includes a current detection resistor R0, an operational amplifier 48, a DA converter 50, a comparator 52, a reference voltage source 54, and a pull-up resistor R3. 2 is basically the same as that of the first embodiment, but in the third embodiment, a voltage dividing circuit in which a switch 80 and resistors R4 and R5 are connected in series with respect to a positive input terminal on the reference voltage side of the comparator 52. A circuit 82 is provided.

即ち、コンパレータ52のプラス入力端子に対しては、基準電圧源54からの基準電圧Vrが抵抗R4とR5を直列接続した分圧回路82の分圧点から入力接続されており、分圧回路82にあっては、抵抗R5とグランド側との間にトランジスタやMOS−FETなどのスイッチ80を設けている。   That is, the reference voltage Vr from the reference voltage source 54 is input to the positive input terminal of the comparator 52 from the voltage dividing point of the voltage dividing circuit 82 in which the resistors R4 and R5 are connected in series. In this case, a switch 80 such as a transistor or a MOS-FET is provided between the resistor R5 and the ground side.

スイッチ80は第1調整処理部56による調整の際にはオンされ、抵抗R4,R5の直列接続による分圧回路82を有効とし、基準電圧Vrを抵抗R4,R5で分圧した所定の分圧電圧Veをコンパレータ52に設定する。   The switch 80 is turned on at the time of adjustment by the first adjustment processing unit 56, enables the voltage dividing circuit 82 by the series connection of the resistors R4 and R5, and a predetermined divided voltage obtained by dividing the reference voltage Vr by the resistors R4 and R5. The voltage Ve is set in the comparator 52.

第1調整処理部56による調整が済むと、第2調整処理部58がスイッチ80を図示のようにオフに切り替えることで、分圧回路82をグランド側から切り離し、これによって基準電圧源54からの基準電圧Vrをそのままコンパレータ52に設定するようにしている。   When the adjustment by the first adjustment processing unit 56 is completed, the second adjustment processing unit 58 switches off the switch 80 as shown in the figure, thereby disconnecting the voltage dividing circuit 82 from the ground side. The reference voltage Vr is set in the comparator 52 as it is.

ここで分圧回路82の基準電圧Vrは、分圧電圧Veに伝送電流検出電圧Vaの半分の一定電圧(Va/2)を加算した電圧になるように、即ち
Vr=Ve+Va/2
の関係となるように、抵抗R4,R5の値を決めている。
Here, the reference voltage Vr of the voltage dividing circuit 82 is a voltage obtained by adding a constant voltage (Va / 2) that is half the transmission current detection voltage Va to the divided voltage Ve, that is, Vr = Ve + Va / 2.
The values of the resistors R4 and R5 are determined so that

図11は図10の第2実施形態における各部の信号波形を示したタイムチャートであり、図11(A)は線路電流検出電圧Vi、図11(B)はDAコンバータ50から出力される調整電圧Vb、図11(C)はコンパレータ52に対する入力、図11(D)はコンパレータ52の出力を示している。   11 is a time chart showing signal waveforms of respective parts in the second embodiment of FIG. 10, FIG. 11A is the line current detection voltage Vi, and FIG. 11B is the adjustment voltage output from the DA converter 50. Vb, FIG. 11C shows the input to the comparator 52, and FIG. 11D shows the output of the comparator 52.

まず伝送電流Iaが流れずに負荷電流Izのみが流れて、負荷電流検出電圧Vzが基底的に発生している空きタイミングとなる時刻t1〜t3で、第1調整処理部56及び第2調整処理部58による調整処理を行う。   First, only the load current Iz flows without the transmission current Ia flowing, and the first adjustment processing unit 56 and the second adjustment processing are performed at times t1 to t3 when the load current detection voltage Vz is basically generated. Adjustment processing by the unit 58 is performed.

ここで時刻t1の調整開始時に、第1調整処理部56はスイッチ80をオンすることで分圧回路82を有効とし、コンパレータ52のプラス入力端子に分圧電圧Veを設定した状態とする。   Here, at the start of the adjustment at time t1, the first adjustment processing unit 56 turns on the switch 80 to enable the voltage dividing circuit 82 and set the divided voltage Ve to the plus input terminal of the comparator 52.

このようにコンパレータ52により分圧電圧Veが設定されると、このときのオペアンプ48からの補正検出電圧Vcは分圧電圧Veより高いことから、コンパレータ52の出力はLレベルに反転する。   Thus, when the divided voltage Ve is set by the comparator 52, the correction detection voltage Vc from the operational amplifier 48 at this time is higher than the divided voltage Ve, and therefore the output of the comparator 52 is inverted to the L level.

続いて時刻t2で、第1調整処理部56は、コンパレータ52の出力がLレベルとなって補正検出電圧Vcが分圧電圧Veより高いことを判別し、この場合には、補正検出電圧Vcを下げて分圧電圧Veに一致させるために、DAコンバータ50からの調整電圧Vbを増加させるようにデジタル値を1ビット単位で増加させる。   Subsequently, at time t2, the first adjustment processing unit 56 determines that the output of the comparator 52 is at the L level and the correction detection voltage Vc is higher than the divided voltage Ve. In order to decrease and match the divided voltage Ve, the digital value is increased in 1-bit units so that the adjustment voltage Vb from the DA converter 50 is increased.

このDAコンバータ50からの調整電圧Vbの増加に伴い、補正検出電圧Vcが低下して分圧電圧Veを時刻t3で下回ると、コンパレータ52の出力がLレベルからHレベルに反転し、これによって第1調整処理部56は、補正検出電圧Vcが分圧電圧Veに一致したことを判別できる。   As the adjustment voltage Vb from the DA converter 50 increases, when the correction detection voltage Vc decreases and falls below the divided voltage Ve at time t3, the output of the comparator 52 is inverted from the L level to the H level. The one adjustment processing unit 56 can determine that the correction detection voltage Vc matches the divided voltage Ve.

続いて時刻t4で第2調整処理部58がスイッチ80をオフに切り替える。スイッチ80をオフに切り替えると、分圧回路82のグランド側が切り離されて分圧機能が失われ、基準電圧源54からの基準電圧Vrが抵抗R4を介して、そのままコンパレータ52のプラス入力端子に設定される。即ち、時刻t4におけるスイッチ80のオフにより、コンパレータ52のプラス入力端子に対する分圧電圧Veは基準電圧Vrに増加する。   Subsequently, at time t4, the second adjustment processing unit 58 switches the switch 80 to OFF. When the switch 80 is turned off, the ground side of the voltage dividing circuit 82 is disconnected and the voltage dividing function is lost, and the reference voltage Vr from the reference voltage source 54 is set to the positive input terminal of the comparator 52 as it is through the resistor R4. Is done. That is, when the switch 80 is turned off at time t4, the divided voltage Ve with respect to the positive input terminal of the comparator 52 increases to the reference voltage Vr.

ここで第3実施形態にあっては、分圧電圧Veから基準電圧Vrへの電圧変化、即ち(Vr−Ve)が、線路電流Iaの伝送電流検出電圧Vaの半分、即ち
(Vr−Ve)=(Va/2)
となるように、基準電圧Vr、分圧回路82の抵抗R4,R5の値を決めている。
Here, in the third embodiment, the voltage change from the divided voltage Ve to the reference voltage Vr, that is, (Vr−Ve) is half of the transmission current detection voltage Va of the line current Ia, that is, (Vr−Ve). = (Va / 2)
Thus, the reference voltage Vr and the values of the resistors R4 and R5 of the voltage dividing circuit 82 are determined.

したがってスイッチ80をオフすると、図11(C)に示すように、分圧電圧Veから一定電圧(Va/2)だけ増加した基準電圧Vrがコンパレータ52に設定されることになる。   Therefore, when the switch 80 is turned off, the reference voltage Vr that is increased from the divided voltage Ve by a constant voltage (Va / 2) is set in the comparator 52 as shown in FIG.

このようにして時刻t1〜t4に亘る調整処理が終了すると、時刻t5〜t6に示すように、子機からの伝送電流Iaによる伝送電流検出電圧Vaがパルス的に負荷電流検出電圧Vzに重畳して入力し、オペアンプ48で調整電圧Vbを差し引いた補正検出電圧Vcとすることで、補正検出電圧Vcにおける線路電流検出電圧Viの変化分のほぼ中央にコンパレータ52に対する基準電圧Vrが位置し、これによって線路電流を正確に検出することができる。   When the adjustment process from time t1 to t4 is completed in this way, the transmission current detection voltage Va based on the transmission current Ia from the slave unit is superimposed on the load current detection voltage Vz in a pulse manner as shown at times t5 to t6. The reference voltage Vr for the comparator 52 is positioned approximately in the center of the change of the line current detection voltage Vi in the correction detection voltage Vc. Thus, the line current can be accurately detected.

図12は図10の第3実施形態における負荷電流が安定している場合の各部の信号波形を示したタイムチャートであり、図12(A)は線路電流検出電圧Vi、図12(B)はコンパレータ52の入力、図12(C)は調整タイミング、図12(D)はコンパレータ52の出力である。   FIG. 12 is a time chart showing signal waveforms at various parts when the load current in the third embodiment of FIG. 10 is stable. FIG. 12A shows the line current detection voltage Vi, and FIG. FIG. 12C shows the adjustment timing, and FIG. 12D shows the output of the comparator 52.

このように、負荷電流Izに対応した負荷電流検出電圧Vzが安定している場合には、例えば親機からのポーリングに対する子機からの順次応答の伝送電流の空きタイミングにつき、1周期おきに図12(C)に示すように調整タイミングを設定している。図12(B)のコンパレータ52の入力から明らかなように、調整処理によって基準電圧Vrは伝送電流検出電圧Vaのほぼ半分の位置に設定され、これによって負荷電流Izに上乗せする形で流れる伝送電流Iaを正確に検出することができる。   As described above, when the load current detection voltage Vz corresponding to the load current Iz is stable, for example, the transmission current idle timing of the sequential response from the slave unit to the polling from the master unit is shown every other period. Adjustment timing is set as shown in FIG. As is apparent from the input of the comparator 52 in FIG. 12B, the reference voltage Vr is set to approximately half the position of the transmission current detection voltage Va by the adjustment process, and thereby the transmission current that flows in a form added to the load current Iz. Ia can be accurately detected.

図13は図10の第3実施形態における負荷電流が変動している場合の各部の信号波形を示したタイムチャートである。図13(A)の線路電流検出電圧Viに示すように、この例では、負荷電流Izの変動に伴い、基底的に流れる負荷電流検出電圧Vzが緩やかに変動し、そこに上乗せする形で伝送電流Iaに対応した伝送電流検出電圧Vaが発生している。   FIG. 13 is a time chart showing signal waveforms at various parts when the load current in the third embodiment of FIG. 10 varies. As shown by the line current detection voltage Vi in FIG. 13A, in this example, the load current detection voltage Vz that flows basically changes gradually with the fluctuation of the load current Iz, and is transmitted in the form of being added thereto. A transmission current detection voltage Va corresponding to the current Ia is generated.

このように負荷電流検出電圧Vzが変動する場合には、図13(C)に示すように、伝送電流Iaの空きタイミングのすべてを調整タイミングとしている。各調整タイミングにおける調整処理は、図10のスイッチ80をオンして分圧電圧Veをコンパレータ52に設定し、オペアンプ48からの補正検出電圧Vcを分圧電圧Veに一致させるようにDAコンバータ50からの調整電圧Vbを調整した後、この一致をコンパレータ52の反転で判別した後、スイッチ80をオフとして、コンパレータ52に対する分圧電圧Veの設定から基準電圧Vrの設定に切り替えている。   When the load current detection voltage Vz fluctuates in this way, as shown in FIG. 13C, all the empty timings of the transmission current Ia are set as adjustment timings. In the adjustment process at each adjustment timing, the switch 80 of FIG. 10 is turned on to set the divided voltage Ve to the comparator 52, and the DA converter 50 makes the correction detection voltage Vc from the operational amplifier 48 coincide with the divided voltage Ve. After the adjustment voltage Vb is adjusted, the coincidence is determined by inversion of the comparator 52, and then the switch 80 is turned off to switch the setting of the divided voltage Ve to the setting of the reference voltage Vr for the comparator 52.

このように、負荷電流検出電圧Vzが変動しても、各調整タイミングごとにDAコンバータ50が調整電圧Vbを調整して、負荷電流検出電圧Vzの変動分を打ち消すように補正検出電圧Vcを補正する調整を行い、この結果、負荷電流検出電圧Vzに重畳する形で発生する伝送電流検出電圧Vaのほぼ半分に基準電圧Vrを位置させ、より正確に伝送電流Iaを検出することができる。   As described above, even if the load current detection voltage Vz fluctuates, the DA converter 50 adjusts the adjustment voltage Vb at each adjustment timing, and the correction detection voltage Vc is corrected so as to cancel the fluctuation amount of the load current detection voltage Vz. As a result, the reference voltage Vr is positioned almost half of the transmission current detection voltage Va generated in a form superimposed on the load current detection voltage Vz, and the transmission current Ia can be detected more accurately.

図14は図10の第3実施形態における調整処理を示したフローチャートである。図14において、まずステップS21で伝送電流が流れずに負荷電流のみが流れている調整タイミングであることを判別すると、ステップS22に進み、スイッチ80をオンしてコンパレータ52に対し分圧電圧Veを設定する。   FIG. 14 is a flowchart showing the adjustment process in the third embodiment of FIG. In FIG. 14, when it is determined in step S21 that the adjustment timing is such that only the load current flows without flowing the transmission current, the process proceeds to step S22, where the switch 80 is turned on and the divided voltage Ve is applied to the comparator 52. Set.

続いてステップS23でコンパレータ52の出力がLレベルか否かチェックし、分圧電圧Veより補正検出電圧Vcが高い場合にはコンパレータ52の出力はLレベルになることから、補正検出電圧Vcを減少させるため、DAコンバータ50からの調整電圧Vbを増加させるように、ステップS24に進み、DAコンバータ50のデジタル値を1ビット単位でアップさせる。   Subsequently, in step S23, it is checked whether or not the output of the comparator 52 is at L level. If the correction detection voltage Vc is higher than the divided voltage Ve, the output of the comparator 52 becomes L level, so that the correction detection voltage Vc is decreased. Therefore, the process proceeds to step S24 so as to increase the adjustment voltage Vb from the DA converter 50, and the digital value of the DA converter 50 is increased in 1-bit units.

続いてステップS25でコンパレータ52の出力が反転したか否かチェックし、コンパレータ52の出力がLレベルからHレベルに反転するまで、ステップS23,S24の1ビット単位のダウンを繰り返す。ステップS25でコンパレータ出力がHレベルに反転したことが判別されると、補正検出電圧Vcが分圧電圧Veに一致したものと判断し、ステップS27に進んでスイッチ80をオフすることで、コンパレータ52に対し分圧電圧Veより(Va/2)だけ高い基準電圧Vrを設定して調整処理を終了する。   Subsequently, in step S25, it is checked whether or not the output of the comparator 52 has been inverted. Until the output of the comparator 52 is inverted from the L level to the H level, the downs in units of 1 bit in steps S23 and S24 are repeated. If it is determined in step S25 that the comparator output has been inverted to the H level, it is determined that the correction detection voltage Vc matches the divided voltage Ve, and the process proceeds to step S27 to turn off the switch 80, thereby turning on the comparator 52. In contrast, the reference voltage Vr higher than the divided voltage Ve by (Va / 2) is set, and the adjustment process is terminated.

一方、ステップS23でコンパレータの出力がHレベルであった場合には、分圧電圧Veに対し補正検出電圧Vcの方が低いことから、補正検出電圧Vcを増加させるために、ステップS26でDAコンバータを1ビット単位にダウンして調整電圧Vbを低下させる。   On the other hand, if the output of the comparator is at the H level in step S23, the correction detection voltage Vc is lower than the divided voltage Ve. Therefore, in order to increase the correction detection voltage Vc, the DA converter in step S26. Is reduced to one bit unit to lower the adjustment voltage Vb.

続いてステップS25でコンパレータ52の出力がHレベルからLレベルに反転したか否かチェックし、Lレベルへの反転を判別すると、補正検出電圧Vcが分圧電圧Veに一致したものと判断して、ステップS27に進み、スイッチ80をオフしてコンパレータ52に対し分圧電圧Veより(Va/2)だけ高い基準電圧Vrを設定する。   Subsequently, in step S25, it is checked whether or not the output of the comparator 52 has been inverted from the H level to the L level. When the inversion to the L level is determined, it is determined that the correction detection voltage Vc matches the divided voltage Ve. In step S27, the switch 80 is turned off, and the reference voltage Vr higher than the divided voltage Ve by (Va / 2) is set for the comparator 52.

なお上記の実施形態にあっては、CPU22の調整機能を第1調整処理部56と第2調整処理部58に分けて説明しているが、これに限らず、両者を合わせて1つの調整処理部として機能させても良い。   In the above embodiment, the adjustment function of the CPU 22 is described separately for the first adjustment processing unit 56 and the second adjustment processing unit 58. However, the present invention is not limited to this, and one adjustment process is performed by combining both. You may make it function as a part.

また上記の実施形態は受信機から引き出された伝送線に主に負荷電流を流す機器としてオンオフ型火災感知器を接続した中継器を例に取っているが、オンオフ型感知器以外にガス漏れ検出器や盗難警報機などを接続した場合も同様である。   In the above embodiment, a repeater in which an on / off type fire sensor is connected as an apparatus for mainly supplying a load current to the transmission line drawn from the receiver is taken as an example. The same applies when a device or a burglar alarm is connected.

また本発明は、その目的と利点を損なうことのない適宜の変形を含み、更に上記の実施形態に示した数値による限定は受けない。
The present invention includes appropriate modifications that do not impair the object and advantages thereof, and is not limited by the numerical values shown in the above embodiments.

本発明が適用される監視システムにおける受信機をアナログ型感知器及び中継器と共に示したブロック図The block diagram which showed the receiver in the monitoring system with which this invention is applied with the analog type sensor and the repeater 本発明による伝送入力回路とその制御回路として機能するCPUの第1実施形態を示した回路図The circuit diagram which showed 1st Embodiment of CPU which functions as the transmission input circuit by this invention, and its control circuit 第1実施形態における各部の信号波形を示したタイムチャートThe time chart which showed the signal waveform of each part in a 1st embodiment 第1実施形態における負荷電流が安定している場合の各部の信号波形を示したタイムチャートThe time chart which showed the signal waveform of each part in case load current in the 1st embodiment is stable 第1実施形態における負荷電流が変動している場合の各部の信号波形を示したタイムチャートThe time chart which showed the signal waveform of each part when the load current in the 1st embodiment is fluctuating 第1実施形態における調整処理を示したフローチャートThe flowchart which showed the adjustment process in 1st Embodiment. 本発明による伝送入力回路とその制御回路として機能するCPUの第2実施形態を示した回路図The circuit diagram which showed 2nd Embodiment of CPU which functions as the transmission input circuit by this invention, and its control circuit 第2実施形態に設けたデジタル可変抵抗器の回路構成を示した回路ブロック図The circuit block diagram which showed the circuit structure of the digital variable resistor provided in 2nd Embodiment 第2実施形態における調整処理を示したフローチャートFlowchart showing adjustment processing in the second embodiment 本発明による伝送入力回路とその制御回路として機能するCPUの第3実施形態を示した回路図A circuit diagram showing a third embodiment of a CPU functioning as a transmission input circuit and its control circuit according to the present invention. 第3実施形態における各部の信号波形を示したタイムチャートThe time chart which showed the signal waveform of each part in a 3rd embodiment 第3実施形態における負荷電流が安定している場合の各部の信号波形を示したタイムチャートThe time chart which showed the signal waveform of each part in case load current in the 3rd embodiment is stable 第3実施形態における負荷電流が変動している場合の各部の信号波形を示したタイムチャートThe time chart which showed the signal waveform of each part in case the load current in 3rd Embodiment is fluctuating 第3実施形態における調整処理を示したフローチャートThe flowchart which showed the adjustment process in 3rd Embodiment 従来の監視システムを示したシステムブロック図System block diagram showing a conventional monitoring system 従来の監視システムにおける中継器とアナログ型感知器を等価回路で示した本ブロック図This block diagram showing the repeater and analog sensor in the conventional monitoring system with an equivalent circuit 従来の伝送入力回路を示した回路図Circuit diagram showing conventional transmission input circuit 図17の従来回路におけるコンパータ入力電圧とサンプルホールドのタイミングを示したタイムチャートFIG. 17 is a time chart showing the comparator input voltage and sample hold timing in the conventional circuit of FIG. 負荷電流が安定している場合の従来の受信電圧とサンプルホールドのタイミングを示したタイムチャートTime chart showing conventional received voltage and sample and hold timing when load current is stable

符号の説明Explanation of symbols

10:受信機
12a,12b:伝送線
14:アナログ型感知器
16:中継器
18a,18b:感知器回線
20:オンオフ型感知器
22,38,44:CPU
24:伝送回路部
26:伝送出力回路
28:伝送入力回路
30:表示部
32:操作部
34:記憶部
36:移報部
40:センサ部
42,48:伝送回路部
46:発報受信部
48:オペアンプ
50:DAコンバータ
52:コンパレータ
54:基準電圧源
56:第1調整処理部
58:第2調整処理部
60:デジタル可変抵抗器
62:直列抵抗アレイ
64,80:スイッチ
66:アップダウンカウンタ
68:不揮発メモリ
70:制御回路
72:電源端子
74:グランド端子
76:ワイパー端子
78:制御端子
76:第2インバータ
78:ADコンバータ
82:分圧回路
10: Receiver 12a, 12b: Transmission line 14: Analog type sensor 16: Repeater 18a, 18b: Sensor line 20: On-off type sensor 22, 38, 44: CPU
24: Transmission circuit unit 26: Transmission output circuit 28: Transmission input circuit 30: Display unit 32: Operation unit 34: Storage unit 36: Transfer unit 40: Sensor unit 42, 48: Transmission circuit unit 46: Notification receiving unit 48 : Operational amplifier 50: DA converter 52: Comparator 54: Reference voltage source 56: First adjustment processing unit 58: Second adjustment processing unit 60: Digital variable resistor 62: Series resistor array 64, 80: Switch 66: Up / down counter 68 : Nonvolatile memory 70: Control circuit 72: Power supply terminal 74: Ground terminal 76: Wiper terminal 78: Control terminal 76: Second inverter 78: AD converter 82: Voltage divider circuit

Claims (8)

電源供給線を兼ねた伝送線に負荷が負荷電流を流している状態で、子機からの伝送電流の有無を検出する伝送入力回路とその制御回路とを備えた親機に於いて、
前記伝送入力回路は、
前記伝送線からの線路電流を入力して線路電流検出電圧を生成する電流検出抵抗と、
デジタル値に応じて任意の調整電圧を発生するデジタルアナログ変換器と、
入力端子の一方に前記電流検出抵抗に生成した線路電流検出電圧を入力すると共に、入力端子の他方に前記デジタルアナログ変換器で発生した調整電圧を入力し、前記線路電流検出電圧から前記調整電圧を差し引いた補正検出電圧を出力するアンプと、
入力端子の一方に前記アンプから出力された補正検出電圧を入力すると共に、入力端子の他方に所定の基準電圧を入力し、前記基準電圧を越える補正検出電圧の成分を伝送電流検出信号として出力するコンパレータと、
を備え、
前記制御回路は、
前記子機からの伝送電流の空きタイミングで、前記アンプから出力された補正検出電圧を、前記基準電圧に一致させるように前記デジタルアナログ変換器からの調整電圧を調整する第1調整処理部と、
前記第1調整処理部により調整された補正検出電圧を、伝送電流に対応した伝送電流検出電圧の略半分となる一定電圧だけ低下させた補正検出電圧となるように前記デジタルアナログ変換器からの調整電圧を調整する第2調整処理部と、
を備えたことを特徴とする親機
In the master unit equipped with a transmission input circuit for detecting the presence or absence of transmission current from the slave unit and its control circuit in a state where the load current is flowing through the transmission line that also serves as the power supply line,
The transmission input circuit is
A current detection resistor that inputs a line current from the transmission line and generates a line current detection voltage;
A digital-to-analog converter that generates an arbitrary adjustment voltage according to the digital value;
The line current detection voltage generated in the current detection resistor is input to one of the input terminals, and the adjustment voltage generated by the digital-analog converter is input to the other input terminal, and the adjustment voltage is calculated from the line current detection voltage. An amplifier that outputs the subtracted correction detection voltage;
A correction detection voltage output from the amplifier is input to one of the input terminals, a predetermined reference voltage is input to the other input terminal, and a component of the correction detection voltage exceeding the reference voltage is output as a transmission current detection signal. A comparator,
With
The control circuit includes:
A first adjustment processing unit that adjusts the adjustment voltage from the digital-analog converter so that the correction detection voltage output from the amplifier coincides with the reference voltage at a vacant timing of the transmission current from the slave unit;
Adjustment from the digital-analog converter so that the correction detection voltage adjusted by the first adjustment processing unit is a correction detection voltage that is reduced by a constant voltage that is substantially half of the transmission current detection voltage corresponding to the transmission current. A second adjustment processing unit for adjusting the voltage;
A master unit characterized by comprising.
請求項1記載の親機に於いて、前記第1調整処理部は、前記デジタルアナログ変換器に対するデジタル値を、1ビット変化で前記コンパレータの出力が反転するデジタル値又は反転直前のデジタル値に調整して前記補正検出電圧を前記基準電圧に一致させることを特徴とする親機
2. The master unit according to claim 1, wherein the first adjustment processing unit adjusts a digital value for the digital-to-analog converter to a digital value in which the output of the comparator is inverted by a 1-bit change or a digital value immediately before the inversion. the master unit, characterized in that to match with the reference voltage the correction detection voltage by.
請求項1記載の親機に於いて、前記第1調整処理部は、
調整開始時の前記コンパレータの出力がHレベルの場合は、前記HレベルをLレベルに反転する方向に前記デジタル値を1ビット単位に変化させ、HレベルからLレベルに反転したときのデジタル値または反転直前のデジタル値に固定し、
調整開始時の前記コンパレータの出力がLレベルの場合は、前記LレベルをHレベルに反転する方向に前記デジタル値を1ビット単位に変化させ、LレベルからHレベルに反転したときのデジタル値または反転直前のデジタル値に固定することを特徴とする親機
In claim 1 master machine described in the first adjustment processing unit,
When the output of the comparator at the start of adjustment is at the H level, the digital value is changed in 1-bit units in the direction of inverting the H level to the L level, and the digital value when the H level is inverted to the L level or Fixed to the digital value just before inversion,
When the output of the comparator at the start of adjustment is L level, the digital value is changed in 1-bit units in the direction of inverting the L level to H level, and the digital value when inverting from L level to H level or The master unit is characterized in that it is fixed to the digital value just before inversion.
電源供給線を兼ねた伝送線に負荷が負荷電流を流している状態で、子機からの伝送電流の有無を検出する伝送入力回路とその制御回路とを備えた親機に於いて、
前記伝送入力回路は、
前記伝送線からの線路電流を入力して線路電流検出電圧を生成する電流検出抵抗と、
デジタル値に応じて任意の調整電圧を発生するデジタルアナログ変換器と、
入力端子の一方に前記電流検出抵抗に生成した線路電流検出電圧を入力すると共に、入力端子の他方に前記デジタルアナログ変換器で発生した調整電圧を入力し、前記線路電流検出電圧から前記調整電圧を差し引いた補正検出電圧を出力するアンプと、
所定の基準電圧を直列抵抗により分圧して所定の分圧電圧を出力する分圧回路と、
前記分圧回路のグランド側に挿入され、スイッチオンにより前記分圧回路を形成して前記分圧電圧を出力させ、スイッチオフにより前記分圧回路のグランド側を切り離して前記基準電圧をそのまま出力させるスイッチと、
入力端子の一方に前記アンプから出力された補正検出電圧を入力すると共に、入力端子の他方に前記分圧回路からの基準電圧を入力し、前記基準電圧を越える補正検出電圧の成分を伝送電流検出信号として出力するコンパレータと、
を備え、
前記制御回路は、
前記子機からの伝送電流の空きタイミングで、前記スイッチをオンして前記分圧回路から前記分圧電圧を出力させた状態で、前記アンプから出力された補正検出電圧を、前記分圧電圧に一致させるように前記デジタルアナログ変換器からの調整電圧を調整する第1調整処理部と、
前記第1調整処理部による調整後に、前記スイッチをオフして、前記分圧回路を前記基準電圧の出力状態に固定する第2調整処理部と、
を備えたことを特徴とする親機
In the master unit equipped with a transmission input circuit for detecting the presence or absence of transmission current from the slave unit and its control circuit in a state where the load current is flowing through the transmission line that also serves as the power supply line,
The transmission input circuit is
A current detection resistor that inputs a line current from the transmission line and generates a line current detection voltage;
A digital-to-analog converter that generates an arbitrary adjustment voltage according to the digital value;
The line current detection voltage generated in the current detection resistor is input to one of the input terminals, and the adjustment voltage generated by the digital-analog converter is input to the other input terminal, and the adjustment voltage is calculated from the line current detection voltage. An amplifier that outputs the subtracted correction detection voltage;
A voltage dividing circuit that divides a predetermined reference voltage by a series resistor and outputs a predetermined divided voltage;
Inserted into the ground side of the voltage dividing circuit, forms the voltage dividing circuit when the switch is turned on and outputs the divided voltage, and disconnects the ground side of the voltage dividing circuit and outputs the reference voltage as it is when the switch is turned off A switch,
The correction detection voltage output from the amplifier is input to one of the input terminals, the reference voltage from the voltage dividing circuit is input to the other input terminal, and the component of the correction detection voltage that exceeds the reference voltage is detected as a transmission current. A comparator that outputs as a signal;
With
The control circuit includes:
At a timing when the transmission current from the slave unit is idle, the correction detection voltage output from the amplifier is changed to the divided voltage while the switch is turned on and the divided voltage is output from the voltage dividing circuit. A first adjustment processing unit that adjusts the adjustment voltage from the digital-analog converter so as to match;
A second adjustment processing unit for turning off the switch and fixing the voltage dividing circuit to an output state of the reference voltage after adjustment by the first adjustment processing unit;
A master unit characterized by comprising.
請求項4記載の親機に於いて、前記分圧回路は、前記スイッチのオン時に前記分圧回路から出力する分圧電圧に対し、前記スイッチのオフ時に前記分圧回路から出力する基準電圧を、伝送電流に対応した伝送電流検出電圧の略半分となる一定電圧だけ増加させるように構成したことを特徴とする親機
5. The master unit according to claim 4, wherein the voltage dividing circuit generates a reference voltage output from the voltage dividing circuit when the switch is turned off, with respect to a voltage divided voltage output from the voltage dividing circuit when the switch is turned on. , the master unit, characterized in that have configured to increase by a predetermined voltage as a half approximately transmission current detection voltage corresponding to the transmission current.
請求項4記載の親機に於いて、前記第1調整処理部は、前記デジタルアナログ変換器に対するデジタル値を、1ビット変化で前記コンパレータの出力が反転するデジタル値又は反転直前のデジタル値に調整して前記補正検出電圧を前記分圧電圧に一致させることを特徴とする親機
5. The master unit according to claim 4, wherein the first adjustment processing unit adjusts a digital value for the digital-to-analog converter to a digital value in which the output of the comparator is inverted by a 1-bit change or a digital value immediately before the inversion. the master unit, characterized in that to match the divided voltage to the correction detection voltage by.
請求項4記載の親機に於いて、前記第1調整処理部は、
調整開始時の前記コンパレータの出力がHレベルの場合は、前記HレベルをLレベルに反転する方向に前記デジタル値を1ビット単位に変化させ、HレベルからLレベルに反転したときのデジタル値または反転直前のデジタル値に固定し、
調整開始時の前記コンパレータの出力がLレベルの場合は、前記LレベルをHレベルに反転する方向に前記デジタル値を1ビット単位に変化させ、LレベルからHレベルに反転したときのデジタル値または反転直前のデジタル値に固定することを特徴とする親機
5. The master unit according to claim 4, wherein the first adjustment processing unit is
When the output of the comparator at the start of adjustment is at the H level, the digital value is changed in 1-bit units in the direction of inverting the H level to the L level, and the digital value when the H level is inverted to the L level or Fixed to the digital value just before inversion,
When the output of the comparator at the start of adjustment is L level, the digital value is changed in 1-bit units in the direction of inverting the L level to H level, and the digital value when inverting from L level to H level or The master unit is characterized in that it is fixed to the digital value just before inversion.
請求項1又は4記載の親機に於いて、前記デジタルアナログ変換器に替えてデジタル可変抵抗器を設けたことを特徴とする親機In claim 1 or 4 master machine described in the parent device, characterized in that a digital variable resistor in place of the digital-to-analog converter.
JP2008257175A 2008-10-02 2008-10-02 Base unit equipped with transmission input circuit and its control circuit Active JP5231152B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008257175A JP5231152B2 (en) 2008-10-02 2008-10-02 Base unit equipped with transmission input circuit and its control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008257175A JP5231152B2 (en) 2008-10-02 2008-10-02 Base unit equipped with transmission input circuit and its control circuit

Publications (2)

Publication Number Publication Date
JP2010086447A JP2010086447A (en) 2010-04-15
JP5231152B2 true JP5231152B2 (en) 2013-07-10

Family

ID=42250306

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008257175A Active JP5231152B2 (en) 2008-10-02 2008-10-02 Base unit equipped with transmission input circuit and its control circuit

Country Status (1)

Country Link
JP (1) JP5231152B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56145158A (en) * 1980-04-07 1981-11-11 Takashi Ishikawa Lightweight panel
JPH0837437A (en) * 1994-07-26 1996-02-06 Toshiba Eng Co Ltd Digital variable resistor
JP4103021B2 (en) * 1998-12-01 2008-06-18 株式会社デンソー Actuator drive
JP4010450B2 (en) * 2002-09-12 2007-11-21 ホーチキ株式会社 Disaster prevention receiver

Also Published As

Publication number Publication date
JP2010086447A (en) 2010-04-15

Similar Documents

Publication Publication Date Title
US8514065B2 (en) Method and device for waking users of a bus system, and corresponding users
JP5275360B2 (en) Transmission input circuit
US8819466B2 (en) Method and device for waking users of a bus system and corresponding users
EP2150861B1 (en) Industrial field device with reduced power consumption
JP5275359B2 (en) Transmission input circuit
US20120221753A1 (en) Method and device for waking up users in a bus system and corresponding users
JP5286659B2 (en) In-vehicle device relay system, in-vehicle device relay method, and relay device
JP2014085803A (en) Communication device
CN111562027A (en) Two-wire system temperature measuring system and method for daisy chain
JP5231152B2 (en) Base unit equipped with transmission input circuit and its control circuit
JP2010134752A (en) Field device
JP6488710B2 (en) Slave for communication
JP5240841B2 (en) Base unit equipped with transmission input circuit and its control circuit
JP5606376B2 (en) Fire alarm system
JP5129063B2 (en) Monitoring system and current fluctuation suppressing device
JP4979438B2 (en) Fire detector
KR20190018365A (en) Two line non-polar communication system
US10908664B2 (en) POE power supply system
JPH0710475Y2 (en) 2-wire transmitter
JP2010123076A (en) Physical quantity detection system, and physical quantity sensor used for the same
JP2005136571A (en) Serial communication circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110920

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121114

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121218

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130206

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130321

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

Free format text: PAYMENT UNTIL: 20160329

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5231152

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150