JP3634127B2 - Interface circuit - Google Patents

Interface circuit Download PDF

Info

Publication number
JP3634127B2
JP3634127B2 JP28888897A JP28888897A JP3634127B2 JP 3634127 B2 JP3634127 B2 JP 3634127B2 JP 28888897 A JP28888897 A JP 28888897A JP 28888897 A JP28888897 A JP 28888897A JP 3634127 B2 JP3634127 B2 JP 3634127B2
Authority
JP
Japan
Prior art keywords
meter
control unit
contact device
state
signal
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.)
Expired - Lifetime
Application number
JP28888897A
Other languages
Japanese (ja)
Other versions
JPH11120475A (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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP28888897A priority Critical patent/JP3634127B2/en
Publication of JPH11120475A publication Critical patent/JPH11120475A/en
Application granted granted Critical
Publication of JP3634127B2 publication Critical patent/JP3634127B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)
  • Telephonic Communication Services (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、加入電話回線を利用し、端末発呼およびノーリンギング通信によりデータ収集を行なうシステムの需要家に設置されるインタフェース回路に関する。
【0002】
【従来の技術】
従来、この種のインタフェース回路には、周知の電圧駆動方式が採用されていた。しかしながら、このようなインタフェース回路では、電話回線に落雷等の障害が発生したときに接続されているメータや接点機器が破壊されてしまう。従って、電話回線への落雷等の障害が発生したときでも、データ収集システムとしての機能が損なわれないようにメータや接点機器を保護する必要がある。そこで、特に耐雷性の向上を図り、通常時はメータや接点機器を電気的に分離可能としたインタフェース回路が普及されてきた。
【0003】
図9は、このメータや接点機器を電気的に分離可能としたインタフェース回路の一例である回路構成を示す図である。同図において、101はインタフェース回路全体の動作を制御する制御部、103はこの制御部101とメータ5および接点機器7との間を接続するインタフェース部である。なお、ここで、接点機器7としては、例えばLPガスのボンベは通常2本設置され1本が空になると自動的にもう1本のボンベに切り替えられるが、このときの空になったことを接点信号として出力するようなものを想定している。
【0004】
次に、その構成および作用を場合を分けて説明する。
【0005】
まず、メータ5に信号を伝送する場合を説明する。送信ポート(SOUT)をH(High)レベルにするとトランジスタ115がONする。トランジスタ115がONするとフォトカプラ109がONする。フォトカプラ109がONすると、トランジスタ121がONする。トランジスタ121がONすると、メータポート(DT−SG)がHレベルとなる。逆に、送信ポート(SOUT)をL(Low)レベルにすると、トランジスタ121はOFFのままで、メータポート(DT−SG)はLレベルとなる。このことから、送信ポート(SOUT)からHレベルのメータ起動信号または送信電文を送出した場合、メータポート(DT−SG)にはこれに対応したHレベルのメータ起動信号または送信電文が伝送されることになる。
【0006】
次に、メータ5から制御部101に信号を伝送する場合を説明する。メータポート(DT−SG)がHレベルになると、トランジスタ123がONするのに伴い、フォトカプラ111がONする。フォトカプラ111がONすると、これにより制御部101の受信ポート(SIN)がHレベルとなる。逆に、メータポート(DT−SG)がLレベルのときには、トランジスタ123およびフォトカプラ111はOFFのままであり、受信ポート(SIN)はLレベルとなる。このことから、メータポート(DT−SG)にメータ5からの発呼またはメータ5からの電文を受信した場合、受信ポート(SIN)でメータ5からの信号を受信できることになる。
【0007】
次に、接点機器7のON・OFF状態を判別する場合を説明する。制御部101のスキャン出力ポート(POUT)をHレベルにすると、トランジスタ125がONすることに伴いフォトカプラ113がONする。そして、この時、接点機器7がON状態であれば、フォトカプラ131がONとなるので、状態入力ポート(PIN)はHレベルとなる。逆に、接点機器7がOFF状態であれば、フォトカプラ131もOFF状態を維持するので、状態入力ポート(PIN)はLレベルとなる。したがって、スキャン出力ポート(POUT)をHレベルにした状態で状態入力ポート(PIN)の状態を検出することで、接点機器7のON・OFF状態を判別することができる。
【0008】
【発明が解決しようとする課題】
ところで、このようなインタフェース回路は、需要家に設置されるものであることから、小形で保守も容易であることが望しく、従来からより一層の回路の簡易化が切望されていた。
【0009】
本発明は、上記に鑑みてなされたもので、その目的としては、回路の簡易化に寄与し得るインタフェース回路を提供することにある。
【0010】
【課題を解決するための手段】
上記目的を達成するため、請求項1記載の本発明は、制御部と、この制御部とメータおよび接点機器との間を接続するインタフェース部とを有するインタフェース回路であって、前記制御部は、前記接点機器のオン・オフ状態を判別する判別手段を有し、前記インタフェース部は、前記制御部が前記メータへ信号を送信するときを除いて前記制御部と前記メータとの間の信号経路を電気的に分離する第1の分離手段と、前記制御部の判別手段が前記接点機器のオン・オフ状態を判別するときを除いて前記制御部と前記接点機器との間の信号経路を電気的に分離する第2の分離手段と、前記制御部が前記メータから送信される情報に基づく信号を受信するとき又は前記接点機器のオン・オフ状態に基づく信号を受信するときを除いて前記制御部と前記メータ又は接点機器との間の信号経路を電気的に分離する第3の分離手段とを有し、前記制御部が前記メータから送信される情報に基づく信号及び前記接点機器のオン・オフ状態に基づく信号を受信するときの信号経路を共通にしたことを要旨とする。
【0011】
請求項1記載の本発明にあっては、制御部とメータおよび接点機器との間の信号経路を信号の非伝送時には電気的に分離することで、電話回線からの障害要因がメータおよび接点機器に及ばないようにしている。一方、メータおよび接点機器から制御部への信号経路を共有する構成としたことで、回路構成の簡易化を図っている。
【0012】
また請求項2記載の本発明は、請求項1記載の発明において、前記制御部が、メータを起動状態とするのに必要な時間幅を有する起動信号より時間幅の短い検査信号をインタフェース部を介してメータに出力し、このメータから当該検査信号に対応してインタフェース部を介して返送される信号の状態に基づいてインタフェース部に給電を行なっている電池の交換の要否を判別する機能を有することを要旨とする。
【0013】
請求項2記載の本発明にあっては、特別の回路を付加することなく、容易に電池電圧を検出している。
【0014】
さらに、請求項3記載の本発明は、請求項1記載の発明において、前記制御部の判別手段が、予め定められたサンプリング周期で前記接点機器のオン・オフ状態の判別を行い、前記接点機器のオン又はオフ状態の一方であると複数回連続して判別したときに該接点機器状態を確定するようにしたことを要旨とする。
【0015】
請求項3記載の本発明にあっては、インタフェース部に給電を行なっている電池の消耗を抑制しつつ、接点機器の状態を的確に判別している。
【0016】
また請求項4記載の本発明は、請求項1記載の発明において、前記制御部の判別部が、前記制御部がメータとの間で信号伝送状態にあるときには判別を停止することを要旨とする。
【0017】
請求項4記載の本発明にあっては、接点機器の状態判別を制御部とメータとの間での通信に影響されずに行なえるようにしている。
【0018】
【発明の実施の形態】
以下、図面を用いて本発明の実施の形態を説明する。
【0019】
図1は、本発明の実施の形態に係るインタフェース回路の構成を示す図である。同図において、1はインタフェース回路全体の動作を制御する制御部、3はこの制御部1とメータ5および接点機器7との間を接続するインタフェース部である。なお、図2は、このメータ5のインタフェースの回路図である。
【0020】
インタフェース部3は、3つのフォトカプラ9,11,13が配備されており、これらのフォトカプラ9,11,13によって制御部1側とメータ5および接点機器7側とを信号の非伝送時には電気的に分離する構成である。具体的には、次のような構成である。制御部1に設けられメータ5に伝送すべき信号を出力する送信ポート(SOUT)は、トランジスタ15のベース端子に接続されている。このトランジスタ15のコレクタ端子は、アノード端子が電池17に接続されたフォトカプラ9を構成する発光部9aのカソード端子に接続されている。フォトカプラ9を構成する受光トランジスタ9bは、そのコレクタ端子が電池19およびトランジスタ21のベース端子に接続され、そのエミッタ端子がメータ5を接続するためのメータポートを構成するSG端子に接続されている。トランジスタ21は、そのエミッタ端子が電池19に接続され、そのコレクタ端子が前記メータポートを構成するDT端子に接続されていると共にトランジスタ23のベース端子に接続されている。トランジスタ23は、そのコレクタ端子がフォトカプラ11を構成しアノード端子が電池19に接続された発光部11aのカソード端子に接続されていると共に、そのエミッタ端子がSG端子に接続されている。フォトカプラ11を構成する受光トランジスタ11bは、そのコレクタ端子が電池17に接続され、そのエミッタ端子がメータ5または接点機器7からの信号を入力するための制御部1に設けられた受信ポート(SIN)に接続されている。一方、制御部1に設けられ接点機器7の状態判別のための検知信号を出力するスキャン出力ポート(POUT)は、トランジスタ25のベース端子に接続されている。このトランジスタ25のコレクタ端子は、アノード端子が電池17に接続されたフォトカプラ13を構成する発光部13aのカソード端子に接続されている。フォトカプラ13を構成する受光トランジスタ13bは、そのコレクタ端子が電池19およびトランジスタ27のベース端子に接続され、そのエミッタ端子が接点機器7を接続するためのポートを構成するM2端子に接続されている。トランジスタ27は、そのエミッタ端子が電池19に接続され、そのコレクタ端子が前記ポートを構成するM1端子に接続されていると共にトランジスタ29のベース端子に接続されている。トランジスタ29は、そのコレクタ端子が前記フォトカプラ11を構成する発光部11aのカソード端子に接続されていると共に、そのエミッタ端子がM2端子に接続されている。なお、フォトカプラ9は第1の分離手段を、フォトカプラ11は第3の分離手段を、フォトカプラ13は第2の分離手段をそれぞれ構成するものである。
【0021】
次に、本実施の形態の作用を場合を分けて説明する。
【0022】
まず、メータ5に信号を伝送する場合を説明する。送信ポート(SOUT)をH(High)レベルにするとトランジスタ15がONする。トランジスタ15がONするとフォトカプラ9がONする。フォトカプラ9がONすると、トランジスタ21がONする。トランジスタ21がONすると、メータポート(DT−SG)がHレベルとなる。逆に、送信ポート(SOUT)をL(Low)レベルにすると、トランジスタ21はOFFのままで、メータポート(DT−SG)はLレベルとなる。このことから図3に示すように、送信ポート(SOUT)からメータ起動信号または送信電文を送出した場合、メータポート(DT−SG)にはこれに対応したメータ起動信号または送信電文が伝送されることになる。
【0023】
ここで、メータ5が起動する時間より短い時間だけ送信ポート(SOUT)をHレベルにすると、電池19が正常な電圧の場合には、図4(a)に示す通り受信ポート(SIN)も同じ時間だけHレベルになるが、電池19の電圧が低下している場合には、図4(b)に示す通り受信ポート(SIN)はLレベルのままである。したがって、このメータ5に信号を伝送するための構成・作用を応用することで、電池19の交換の要否を判別することができる。
【0024】
次に、メータ5から制御部1に信号を伝送する場合を説明する。メータポート(DT−SG)がHレベルになると、トランジスタ23がONするのに伴い、フォトカプラ11がONする。フォトカプラ11がONすると、これにより制御部1の受信ポート(SIN)がHレベルとなる。逆に、メータポート(DT−SG)がLレベルのときには、トランジスタ23およびフォトカプラ11はOFFのままであり、受信ポート(SIN)はLレベルとなる。このことから図5に示すように、メータポート(DT−SG)にメータ5からの発呼またはメータ5からの電文を受信した場合、送信ポート(SOUT)をHレベルにしておけば、受信ポート(SIN)でメータ5からの信号を受信できることになる。
【0025】
次に、接点機器7のON・OFF状態を判別する場合を説明する。制御部1のスキャン出力ポート(POUT)をHレベルにすると、トランジスタ25がONすることに伴いフォトカプラ13がONする。そして、フォトカプラ13がONするとトランジスタ27がONするが、この時、接点機器7がON状態であれば、ポート(M1−M2)間はLレベルとなり、トランジスタ29はOFFとなり、これに伴いフォトカプラ11もOFFとなるので、受信ポート(SIN)はLレベルとなる。逆に、接点機器7がOFF状態であれば、ポート(M1−M2)間はHレベルとなり、トランジスタ29はONとなり、これに伴いフォトカプラ11もONとなるので、受信ポート(SIN)はHレベルとなる。したがって、図6に示すように、スキャン出力ポート(POUT)をHレベルにした状態で受信ポート(SIN)の状態を検出することで、接点機器7のON・OFF状態を判別することができる。
【0026】
なお、上記の接点機器7のON・OFF状態の判別については、電池17,19の消耗を抑制するため、予め設定されたサンプリング周期でスキャン出力ポート(POUT)をHレベルにして実行することが好しい。加えて、サンプリング周期としては、図7に示すように、メータ発呼の時間Tよりも長い時間Tの周期が望しく、また複数回連続して接点機器7の状態検出の結果が変化した時のみ、状態の変化があったと判別するようにすることにより、メータ発呼があった場合にも誤判別することを防止することができる。さらに、図8に示すように、送信ポート(SOUT)がHレベルの時である制御部1とメータ5との通信中においては、スキャン出力ポート(POUT)をHレベルにしないことで、誤判別を一層確実に防止することができる。
【0027】
したがって、本実施の形態によれば、信号の非伝送時には、フォトカプラによって制御部側とメータおよび接点機器側とは電気的に分離した状態となっているので、制御部側に接続されている電話回線への落雷等の障害によってメータや接点機器が誤動作することを防止することができる。
【0028】
【発明の効果】
以上、説明したように、請求項1記載の本発明によれば、メータおよび接点機器から制御部への信号経路を共有する構成としたので、回路構成の簡易化を図ることができる。
【0029】
また請求項2記載の本発明によれば、特別の回路を付加することなく、容易に電池電圧を検出することができる。
【0030】
さらに請求項3記載の本発明によれば、インタフェース部に給電を行なっている電池の消耗を抑制しつつ、接点機器の状態を的確に判別することができる。
【0031】
また請求項4記載の本発明によれば、接点機器の状態判別を制御部とメータとの間での通信に影響されずに行なうことができる。
【図面の簡単な説明】
【図1】本発明の実施の形態に係るインタフェース回路の回路図である。
【図2】メータ側インタフェースの回路構成図である。
【図3】本発明の実施の形態における制御部からメータに信号を伝送する場合の作用を示す図である。
【図4】本発明の実施の形態における電池電圧検出時の作用を示す図である。
【図5】本発明の実施の形態におけるメータから制御部に信号を伝送する場合の作用を示す図である。
【図6】本発明の実施の形態における接点機器の状態判別の作用を示す図である。
【図7】本発明の実施の形態における接点機器の状態判別の作用を示す図である。
【図8】本発明の実施の形態における接点機器の状態判別の作用を示す図である。
【図9】従来のインタフェース回路の回路図である。
【符号の説明】
1 制御部
3 インタフェース部
5 メータ
7 接点機器
9,11,13 フォトカプラ
15,21,23,25,27,29 トランジスタ
17,19 電池
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an interface circuit installed in a consumer of a system that uses a subscriber telephone line and collects data by terminal calling and no-ringing communication.
[0002]
[Prior art]
Conventionally, a well-known voltage driving method has been adopted for this type of interface circuit. However, in such an interface circuit, a meter or a contact device connected to the telephone line is destroyed when a failure such as a lightning strike occurs. Therefore, it is necessary to protect the meter and the contact device so that the function as the data collection system is not impaired even when a lightning strike or the like occurs on the telephone line. In view of this, an interface circuit has been widely used in which lightning resistance is particularly improved and a meter and a contact device can be electrically separated in normal times.
[0003]
FIG. 9 is a diagram showing a circuit configuration as an example of an interface circuit that can electrically separate the meter and the contact device. In the figure, reference numeral 101 denotes a control unit that controls the operation of the entire interface circuit, and 103 denotes an interface unit that connects the control unit 101 to the meter 5 and the contact device 7. Here, as the contact device 7, for example, two LP gas cylinders are usually installed, and when one is empty, it is automatically switched to another cylinder. The output is assumed to be a contact signal.
[0004]
Next, the configuration and operation will be described separately.
[0005]
First, a case where a signal is transmitted to the meter 5 will be described. When the transmission port (SOUT) is set to H (High) level, the transistor 115 is turned on. When the transistor 115 is turned on, the photocoupler 109 is turned on. When the photocoupler 109 is turned on, the transistor 121 is turned on. When the transistor 121 is turned on, the meter port (DT-SG) becomes H level. Conversely, when the transmission port (SOUT) is set to L (Low) level, the transistor 121 remains OFF and the meter port (DT-SG) is set to L level. Therefore, when an H level meter activation signal or transmission telegram is transmitted from the transmission port (SOUT), an H level meter activation signal or transmission telegram corresponding thereto is transmitted to the meter port (DT-SG). It will be.
[0006]
Next, a case where a signal is transmitted from the meter 5 to the control unit 101 will be described. When the meter port (DT-SG) becomes H level, the photocoupler 111 is turned on as the transistor 123 is turned on. When the photocoupler 111 is turned on, the reception port (SIN) of the control unit 101 becomes H level. Conversely, when the meter port (DT-SG) is at the L level, the transistor 123 and the photocoupler 111 remain OFF, and the reception port (SIN) is at the L level. Therefore, when a call from the meter 5 or a telegram from the meter 5 is received at the meter port (DT-SG), a signal from the meter 5 can be received at the reception port (SIN).
[0007]
Next, the case where the ON / OFF state of the contact device 7 is determined will be described. When the scan output port (POUT) of the control unit 101 is set to H level, the photocoupler 113 is turned on as the transistor 125 is turned on. At this time, if the contact device 7 is in the ON state, the photocoupler 131 is in the ON state, so that the state input port (PIN) is at the H level. Conversely, if the contact device 7 is in the OFF state, the photocoupler 131 also maintains the OFF state, so that the state input port (PIN) is at the L level. Therefore, the ON / OFF state of the contact device 7 can be determined by detecting the state of the state input port (PIN) while the scan output port (POUT) is at the H level.
[0008]
[Problems to be solved by the invention]
By the way, since such an interface circuit is installed in a consumer, it is desired that the interface circuit be small and easy to maintain, and further simplification of the circuit has been desired.
[0009]
The present invention has been made in view of the above, and an object thereof is to provide an interface circuit that can contribute to simplification of the circuit.
[0010]
[Means for Solving the Problems]
In order to achieve the above object, the present invention according to claim 1 is an interface circuit having a control unit and an interface unit for connecting the control unit to a meter and a contact device, the control unit comprising: The interface unit has a signal path between the control unit and the meter except when the control unit transmits a signal to the meter. The signal path between the control unit and the contact device is electrically connected except when the first separation unit for electrically separating and the determination unit of the control unit determine the on / off state of the contact device. And the control unit except when the control unit receives a signal based on information transmitted from the meter or receives a signal based on the on / off state of the contact device. A third separation means for electrically separating a signal path from the meter or the contact device, and a signal based on information transmitted from the meter by the control unit and an on / off state of the contact device The gist is that a signal path is common when receiving a signal based on.
[0011]
According to the first aspect of the present invention, the signal path between the control unit and the meter and the contact device is electrically separated when the signal is not transmitted, so that the cause of the trouble from the telephone line is the meter and the contact device. Is not reached. On the other hand, since the signal path from the meter and the contact device to the control unit is shared, the circuit configuration is simplified.
[0012]
According to a second aspect of the present invention, in the first aspect of the present invention, the control unit sends an inspection signal having a shorter time width than an activation signal having a time width necessary to activate the meter. A function for determining whether or not it is necessary to replace the battery that supplies power to the interface unit based on the state of a signal that is output from the meter to the meter and returned via the interface unit in response to the inspection signal. It is summarized as having.
[0013]
In the present invention described in claim 2, the battery voltage is easily detected without adding a special circuit.
[0014]
Further, according to a third aspect of the present invention, in the first aspect of the present invention, the determination unit of the control unit determines the on / off state of the contact device at a predetermined sampling cycle, and the contact device. The gist of the invention is that the state of the contact device is determined when it is continuously determined a plurality of times as being one of the on and off states.
[0015]
According to the third aspect of the present invention, the state of the contact device is accurately determined while suppressing the consumption of the battery supplying power to the interface unit.
[0016]
According to a fourth aspect of the present invention, in the first aspect of the present invention, the determination unit of the control unit stops the determination when the control unit is in a signal transmission state with the meter. .
[0017]
In the present invention described in claim 4, the state determination of the contact device can be performed without being influenced by the communication between the control unit and the meter.
[0018]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0019]
FIG. 1 is a diagram showing a configuration of an interface circuit according to an embodiment of the present invention. In the figure, reference numeral 1 denotes a control unit that controls the operation of the entire interface circuit, and 3 denotes an interface unit that connects the control unit 1 to the meter 5 and the contact device 7. FIG. 2 is a circuit diagram of the interface of the meter 5.
[0020]
The interface unit 3 is provided with three photocouplers 9, 11, and 13, and these photocouplers 9, 11, and 13 electrically connect the control unit 1 side to the meter 5 and the contact device 7 side when signals are not transmitted. It is the structure which isolate | separates automatically. Specifically, the configuration is as follows. A transmission port (SOUT) provided in the control unit 1 and outputting a signal to be transmitted to the meter 5 is connected to the base terminal of the transistor 15. The collector terminal of the transistor 15 is connected to the cathode terminal of the light emitting unit 9 a constituting the photocoupler 9 whose anode terminal is connected to the battery 17. The light receiving transistor 9b constituting the photocoupler 9 has its collector terminal connected to the battery 19 and the base terminal of the transistor 21, and its emitter terminal connected to the SG terminal constituting the meter port for connecting the meter 5. . The transistor 21 has an emitter terminal connected to the battery 19, a collector terminal connected to a DT terminal constituting the meter port, and a base terminal of the transistor 23. The transistor 23 has a collector terminal constituting the photocoupler 11 and an anode terminal connected to the cathode terminal of the light emitting unit 11a connected to the battery 19, and an emitter terminal connected to the SG terminal. The light receiving transistor 11b constituting the photocoupler 11 has a collector terminal connected to the battery 17 and an emitter terminal that is provided in the control unit 1 for inputting a signal from the meter 5 or the contact device 7 (SIN). )It is connected to the. On the other hand, a scan output port (POUT) that is provided in the control unit 1 and outputs a detection signal for determining the state of the contact device 7 is connected to the base terminal of the transistor 25. The collector terminal of the transistor 25 is connected to the cathode terminal of the light emitting unit 13 a constituting the photocoupler 13 whose anode terminal is connected to the battery 17. The light receiving transistor 13b constituting the photocoupler 13 has its collector terminal connected to the base terminal of the battery 19 and the transistor 27, and its emitter terminal connected to the M2 terminal constituting the port for connecting the contact device 7. . The transistor 27 has an emitter terminal connected to the battery 19, a collector terminal connected to the M1 terminal constituting the port, and a base terminal of the transistor 29. The transistor 29 has a collector terminal connected to the cathode terminal of the light emitting unit 11a constituting the photocoupler 11, and an emitter terminal connected to the M2 terminal. The photocoupler 9 constitutes a first separation means, the photocoupler 11 constitutes a third separation means, and the photocoupler 13 constitutes a second separation means.
[0021]
Next, the operation of the present embodiment will be described for each case.
[0022]
First, a case where a signal is transmitted to the meter 5 will be described. When the transmission port (SOUT) is set to H (High) level, the transistor 15 is turned on. When the transistor 15 is turned on, the photocoupler 9 is turned on. When the photocoupler 9 is turned on, the transistor 21 is turned on. When the transistor 21 is turned on, the meter port (DT-SG) becomes H level. Conversely, when the transmission port (SOUT) is set to L (Low) level, the transistor 21 remains OFF and the meter port (DT-SG) is set to L level. Therefore, as shown in FIG. 3, when a meter activation signal or transmission message is sent from the transmission port (SOUT), a meter activation signal or transmission message corresponding to the meter activation signal or transmission message is transmitted to the meter port (DT-SG). It will be.
[0023]
Here, if the transmission port (SOUT) is set to the H level for a time shorter than the time when the meter 5 is activated, the reception port (SIN) is the same as shown in FIG. 4A when the battery 19 is at a normal voltage. Although it becomes H level only for the time, when the voltage of the battery 19 is decreasing, the reception port (SIN) remains at L level as shown in FIG. Therefore, it is possible to determine whether or not the battery 19 needs to be replaced by applying a configuration / action for transmitting a signal to the meter 5.
[0024]
Next, a case where a signal is transmitted from the meter 5 to the control unit 1 will be described. When the meter port (DT-SG) becomes H level, the photocoupler 11 is turned on as the transistor 23 is turned on. When the photocoupler 11 is turned on, the reception port (SIN) of the control unit 1 is thereby set to the H level. Conversely, when the meter port (DT-SG) is at the L level, the transistor 23 and the photocoupler 11 remain OFF, and the reception port (SIN) is at the L level. Therefore, as shown in FIG. 5, when a call from the meter 5 or a telegram from the meter 5 is received at the meter port (DT-SG), if the transmission port (SOUT) is set to the H level, the reception port The signal from the meter 5 can be received by (SIN).
[0025]
Next, the case where the ON / OFF state of the contact device 7 is determined will be described. When the scan output port (POUT) of the control unit 1 is set to H level, the photocoupler 13 is turned on as the transistor 25 is turned on. When the photocoupler 13 is turned on, the transistor 27 is turned on. At this time, if the contact device 7 is turned on, the port (M1-M2) is at the L level, and the transistor 29 is turned off. Since the coupler 11 is also OFF, the reception port (SIN) is at the L level. On the contrary, if the contact device 7 is in the OFF state, the port (M1-M2) is at the H level, the transistor 29 is turned on, and the photocoupler 11 is also turned on accordingly, so that the receiving port (SIN) is H Become a level. Therefore, as shown in FIG. 6, the ON / OFF state of the contact device 7 can be determined by detecting the state of the reception port (SIN) while the scan output port (POUT) is at the H level.
[0026]
The determination of the ON / OFF state of the contact device 7 may be executed by setting the scan output port (POUT) to the H level at a preset sampling cycle in order to suppress the consumption of the batteries 17 and 19. I like it. In addition, as shown in FIG. 7, the sampling period is preferably a period of time T 2 longer than the time T 1 for calling the meter, and the result of the state detection of the contact device 7 changes continuously several times. It is possible to prevent erroneous determination even when a meter call is made by determining that there has been a change in the state only when the meter is called. Further, as shown in FIG. 8, during the communication between the control unit 1 and the meter 5 when the transmission port (SOUT) is at the H level, the scan output port (POUT) is not set to the H level, thereby making an erroneous determination. Can be more reliably prevented.
[0027]
Therefore, according to the present embodiment, when the signal is not transmitted, the control unit side and the meter and contact device side are electrically separated by the photocoupler, and thus are connected to the control unit side. It is possible to prevent the meter and the contact device from malfunctioning due to a fault such as a lightning strike on the telephone line.
[0028]
【The invention's effect】
As described above, according to the first aspect of the present invention, since the signal path from the meter and the contact device to the control unit is shared, the circuit configuration can be simplified.
[0029]
Further, according to the present invention, the battery voltage can be easily detected without adding a special circuit.
[0030]
Furthermore, according to the third aspect of the present invention, it is possible to accurately determine the state of the contact device while suppressing the consumption of the battery that supplies power to the interface unit.
[0031]
Further, according to the present invention, the state determination of the contact device can be performed without being affected by the communication between the control unit and the meter.
[Brief description of the drawings]
FIG. 1 is a circuit diagram of an interface circuit according to an embodiment of the present invention.
FIG. 2 is a circuit configuration diagram of a meter side interface.
FIG. 3 is a diagram illustrating an operation when a signal is transmitted from the control unit to the meter according to the embodiment of the present invention.
FIG. 4 is a diagram showing an operation when battery voltage is detected in the embodiment of the present invention.
FIG. 5 is a diagram illustrating an operation when a signal is transmitted from the meter to the control unit according to the embodiment of the present invention.
FIG. 6 is a diagram showing an operation of determining the state of the contact device in the embodiment of the present invention.
FIG. 7 is a diagram showing an operation of determining the state of the contact device in the embodiment of the present invention.
FIG. 8 is a diagram showing an operation of determining the state of the contact device in the embodiment of the present invention.
FIG. 9 is a circuit diagram of a conventional interface circuit.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Control part 3 Interface part 5 Meter 7 Contact apparatus 9, 11, 13 Photocoupler 15, 21, 23, 25, 27, 29 Transistor 17, 19 Battery

Claims (4)

制御部と、この制御部とメータおよび接点機器との間を接続するインタフェース部とを有するインタフェース回路であって、
前記制御部は、前記接点機器のオン・オフ状態を判別する判別手段を有し、
前記インタフェース部は、前記制御部が前記メータへ信号を送信するときを除いて前記制御部と前記メータとの間の信号経路を電気的に分離する第1の分離手段と、前記制御部の判別手段が前記接点機器のオン・オフ状態を判別するときを除いて前記制御部と前記接点機器との間の信号経路を電気的に分離する第2の分離手段と、前記制御部が前記メータから送信される情報に基づく信号を受信するとき又は前記接点機器のオン・オフ状態に基づく信号を受信するときを除いて前記制御部と前記メータ又は接点機器との間の信号経路を電気的に分離する第3の分離手段とを有し、
前記制御部が前記メータから送信される情報に基づく信号及び前記接点機器のオン・オフ状態に基づく信号を受信するときの信号経路を共通にしたことを特徴とするインタフェース回路。
An interface circuit having a control unit, and an interface unit for connecting the control unit to the meter and the contact device,
The control unit includes a determination unit that determines an on / off state of the contact device,
The interface unit includes first separation means for electrically separating a signal path between the control unit and the meter except when the control unit transmits a signal to the meter; A second separation means for electrically separating a signal path between the control unit and the contact device except when the means determines an on / off state of the contact device; and the control unit is connected to the meter. The signal path between the control unit and the meter or contact device is electrically separated except when receiving a signal based on transmitted information or when receiving a signal based on the ON / OFF state of the contact device. And a third separation means
An interface circuit having a common signal path when the control unit receives a signal based on information transmitted from the meter and a signal based on an on / off state of the contact device.
前記制御部は、メータを起動状態とするのに必要な時間幅を有する起動信号より時間幅の短い検査信号をインタフェース部を介してメータに出力し、このメータから当該検査信号に対応してインタフェース部を介して返送される信号の状態に基づいてインタフェース部に給電を行なっている電池の交換の要否を判別する機能を有することを特徴とする請求項1記載のインタフェース回路。The control unit outputs an inspection signal having a time width shorter than the activation signal having a time width necessary for setting the meter to the activated state to the meter via the interface unit, and an interface corresponding to the inspection signal is output from the meter. 2. The interface circuit according to claim 1, wherein the interface circuit has a function of determining whether or not replacement of a battery supplying power to the interface unit is necessary based on a state of a signal returned through the unit. 前記制御部の判別手段は、予め定められたサンプリング周期で前記接点機器のオン・オフ状態の判別を行い、前記接点機器のオン又はオフ状態の一方であると複数回連続して判別したときに該接点機器状態を確定するようにしたことを特徴とする請求項1記載のインタフェース回路。When the determination unit of the control unit determines the on / off state of the contact device at a predetermined sampling cycle, and continuously determines that the contact device is on or off state a plurality of times. 2. The interface circuit according to claim 1, wherein the state of the contact device is determined. 前記制御部の判別手段は、前記制御部がメータとの間で信号伝送状態にあるときには判別を停止することを特徴とする請求項1記載のインタフェース回路。2. The interface circuit according to claim 1, wherein the determination unit of the control unit stops the determination when the control unit is in a signal transmission state with the meter.
JP28888897A 1997-10-21 1997-10-21 Interface circuit Expired - Lifetime JP3634127B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28888897A JP3634127B2 (en) 1997-10-21 1997-10-21 Interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28888897A JP3634127B2 (en) 1997-10-21 1997-10-21 Interface circuit

Publications (2)

Publication Number Publication Date
JPH11120475A JPH11120475A (en) 1999-04-30
JP3634127B2 true JP3634127B2 (en) 2005-03-30

Family

ID=17736082

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28888897A Expired - Lifetime JP3634127B2 (en) 1997-10-21 1997-10-21 Interface circuit

Country Status (1)

Country Link
JP (1) JP3634127B2 (en)

Also Published As

Publication number Publication date
JPH11120475A (en) 1999-04-30

Similar Documents

Publication Publication Date Title
JP3634127B2 (en) Interface circuit
US20060142062A1 (en) Communication device for connection to an external acoustic transducer
JP4214589B2 (en) Terminal network controller
KR20020011527A (en) An Accident Reporting System of an Un-interrupt Power Supply and It's reporting Method
JP2666849B2 (en) Remote monitoring device
USRE35582E (en) Subscriber line interface circuit with power-down mode
JPS637056A (en) Power source disconnection informing circuit
KR100438451B1 (en) Device and method for printing electricity failure list from facsimile to reduce rate of receiving errors
JPH0537634A (en) Private branch of exchange
US6614901B1 (en) Method and system for a scaleable virtual switch
JPH11284551A (en) One-way communication method from plural transmitters to single receiver
JP3593956B2 (en) Subscriber line terminal equipment
US20040032938A1 (en) Communication control methd for notifying calling telephone number, terminal device and recording medium
JP3338613B2 (en) Line terminal equipment
JP3766479B2 (en) Overvoltage discharge circuit
JPH1051359A (en) Fault diagnostic system
KR100630066B1 (en) Method for transmitting message by use of inspecting line in transmission system
JPH02173899A (en) Remote supervisory equipment
JPH10224383A (en) Automatic terminating device
JPS6120450A (en) Data exchange device
JPH05103120A (en) Power feeding controller for centralized power feeding system
JP2000151755A (en) Communication route switching device
JPH114278A (en) Modem device
JPH06141454A (en) Call-signal generation apparatus provided with output ground-fault monitoring function
JPS6146654A (en) Power supply interruption remote detector

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041126

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041222

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080107

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090107

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100107

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110107

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110107

Year of fee payment: 6

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

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

Free format text: PAYMENT UNTIL: 20110107

Year of fee payment: 6

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

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

Free format text: PAYMENT UNTIL: 20110107

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20110107

Year of fee payment: 6

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: R3D03

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

Free format text: PAYMENT UNTIL: 20110107

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120107

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120107

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130107

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130107

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20140107

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term