JP3387804B2 - Interface circuit - Google Patents

Interface circuit

Info

Publication number
JP3387804B2
JP3387804B2 JP35963997A JP35963997A JP3387804B2 JP 3387804 B2 JP3387804 B2 JP 3387804B2 JP 35963997 A JP35963997 A JP 35963997A JP 35963997 A JP35963997 A JP 35963997A JP 3387804 B2 JP3387804 B2 JP 3387804B2
Authority
JP
Japan
Prior art keywords
voltage
terminal
output
input
interface circuit
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 - Fee Related
Application number
JP35963997A
Other languages
Japanese (ja)
Other versions
JPH11196191A (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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP35963997A priority Critical patent/JP3387804B2/en
Publication of JPH11196191A publication Critical patent/JPH11196191A/en
Application granted granted Critical
Publication of JP3387804B2 publication Critical patent/JP3387804B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、一次側回路と二次
側回路との間に設けられ、両回路間を電気的に分離しか
つ両回路間における信号の送受を行うインターフェース
回路に関し、詳しくは、電話回線を利用してセンター側
装置と接続され、センター側装置との間でノーリンギン
グ通信を行い、LPガス、都市ガス、電気または水道等
のメータを自動検針することを目的とする端末網制御装
置とメータとの間に設けられるインターフェース回路に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an interface circuit provided between a primary side circuit and a secondary side circuit, electrically separating the two circuits and transmitting / receiving a signal between the two circuits. Is a terminal network that is connected to a center-side device using a telephone line, performs no ringing communication with the center-side device, and automatically reads meters for LP gas, city gas, electricity, water, etc. The present invention relates to an interface circuit provided between a control device and a meter.

【0002】[0002]

【従来の技術】従来の端末網制御装置が適用されたノー
リンギング通信システムは、図6に示すように、センタ
ー側装置1ではホスト装置2とセンター側網制御装置3
とが接続され、需要家に設置された端末側装置4では端
末網制御装置(以下、「NCU」という。)5にメータ
6、セキュリティ機器7および宅内電話機8がそれぞれ
接続されて構成されている。センター側装置1は、加入
電話回線9を介してセンター側交換局(LS)10に接
続され、端末側装置4は、加入電話回線11を介してノ
ーリンギングトランク(NRT)12を備えた端末側交
換局(LS)13に接続されている。そして、センター
側交換局10と端末側交換局13とは、局間中継線14
で互いに接続されている。
2. Description of the Related Art In a no-ringing communication system to which a conventional terminal network control device is applied, as shown in FIG. 6, a center side device 1 is a host device 2 and a center side network control device 3 is used.
In the terminal-side device 4 installed in the customer, a terminal network control unit (hereinafter referred to as “NCU”) 5 is connected with a meter 6, a security device 7, and a home telephone 8. . The center-side device 1 is connected to a center-side switching center (LS) 10 via a subscriber telephone line 9, and the terminal-side device 4 is connected to a center-side exchange provided with a no ringing trunk (NRT) 12 via a subscriber telephone line 11. It is connected to the station (LS) 13. The center-side switching center 10 and the terminal-side switching center 13 are connected to each other by an inter-station relay line 14
Are connected to each other.

【0003】このような構成において、NCU5は、ノ
ーリンギングトランク12および各電話回線を介してセ
ンター側装置1とノーリンギング通信を行う。NCU5
は、センター側装置1からの指令によりメータ6で検針
した検針データをセンター側装置1に送信したり、メー
タ6からの起動によりセンター側装置1にダイヤルする
ことで検針データを送信したりする。
In such a configuration, the NCU 5 performs no ringing communication with the center side device 1 via the no ringing trunk 12 and each telephone line. NCU5
Sends meter reading data detected by the meter 6 to the center apparatus 1 in response to a command from the center apparatus 1, or sends meter reading data by dialing the center apparatus 1 upon activation from the meter 6.

【0004】ここで、NCU5とメータ6とは、接続線
からのノイズの混入を防止するため電気的に絶縁(アイ
ソレーション)することが法令で定められており、その
ためのインターフェース回路がNCU5内に設けられて
いる。なお、インターフェース回路は、メータ6内にあ
るいはNCU5とメータ6との間に設けられてもよい。
Here, it is stipulated by law that the NCU 5 and the meter 6 are electrically insulated (isolation) in order to prevent noise from being mixed in from a connecting line, and an interface circuit for that purpose is provided in the NCU 5. It is provided. The interface circuit may be provided inside the meter 6 or between the NCU 5 and the meter 6.

【0005】図7は、上記インターフェース回路を示す
図である。上記インターフェース回路の動作を簡単に説
明すると、NCU5(一次側回路)からメータ6(二次
側回路)へ伝送される信号は、端子DOUTがローレベル
にされることにより伝送される。すなわち、端子DOUT
がローレベルにされると、スイッチング用トランジスタ
(以下、スイッチング用トランジスタは単に「トランジ
スタ」という。)Tr1がオンし、これによりフォトカ
プラPH1は駆動する。このフォトカプラPH1がNC
U5とメータ6とを電気的に絶縁している。
FIG. 7 is a diagram showing the interface circuit. Briefly explaining the operation of the interface circuit, the signal transmitted from the NCU 5 (primary side circuit) to the meter 6 (secondary side circuit) is transmitted by setting the terminal D OUT to low level. That is, the terminal D OUT
Is set to the low level, the switching transistor (hereinafter, the switching transistor is simply referred to as “transistor”) Tr1 is turned on, and the photocoupler PH1 is driven thereby. This photo coupler PH1 is NC
U5 and the meter 6 are electrically insulated.

【0006】フォトカプラPH1の駆動によりトランジ
スタTr2がオンし、トランジスタTr2のコレクタ側に
供給されているバッテリーBtの電源電圧がエミッタ端
子に出力される。これにより、メータ6側には、ハイレ
ベルの信号が端子DTを通じて入力される。このよう
に、NCU5からメータ6へ信号が伝達される場合、バ
ッテリーBtの電源電圧はメータ6側へ供給され、NC
U5側へは供給されない。
The transistor Tr2 is turned on by driving the photocoupler PH1, and the power supply voltage of the battery Bt supplied to the collector side of the transistor Tr2 is output to the emitter terminal. As a result, a high level signal is input to the meter 6 side through the terminal DT. In this way, when the signal is transmitted from the NCU 5 to the meter 6, the power supply voltage of the battery Bt is supplied to the meter 6 side,
It is not supplied to the U5 side.

【0007】一方、メータ6からNCU5へ伝送される
信号は、端子DTがハイレベルにされることにより伝送
される。すなわち、端子DTからハイレベル信号が入力
されると、ハイレベル信号は抵抗R4,R5で分圧され
て、トランジスタTr3をオンする。これにより、フォ
トカプラPH3が駆動する。このフォトカプラPH3に
よってもNCU5とメータ6とは電気的に絶縁される。
On the other hand, the signal transmitted from the meter 6 to the NCU 5 is transmitted by setting the terminal DT to high level. That is, when a high level signal is input from the terminal DT, the high level signal is divided by the resistors R4 and R5 to turn on the transistor Tr3. This drives the photocoupler PH3. The photocoupler PH3 also electrically insulates the NCU 5 from the meter 6.

【0008】フォトカプラPH3には、バッテリーBt
の電源電圧が供給されているので、フォトカプラPH3
のフォトダイオードに電流が流れる。そのため、フォト
カプラPH3のフォトトランジスタのコレクタ側がロー
レベルになる。これにより、NCU5側には、ローレベ
ル信号が端子DINを通じて入力される。このように、メ
ータ6からNCU5へ信号が伝達される場合も、バッテ
リーBtの電源電圧はNCU5側へ供給されることはな
い。
The photocoupler PH3 has a battery Bt.
Since the power supply voltage of the photo coupler PH3
Current flows through the photodiode of. Therefore, the collector side of the phototransistor of the photocoupler PH3 becomes low level. As a result, a low level signal is input to the NCU 5 side through the terminal D IN . Thus, even when the signal is transmitted from the meter 6 to the NCU 5, the power supply voltage of the battery Bt is not supplied to the NCU 5 side.

【0009】なお、NCU5からメータ6へ信号が伝送
される場合、端子DTにはハイレベル信号が出力される
が、このとき、このハイレベル信号が回り込んでトラン
ジスタTr3を駆動させて、端子DINにローレベル信号
を出力する。そのため、NCU5からメータ6へ信号が
伝送されるときには、NCU5側で端子DINに入力され
る信号を受け付けない制御が行われる。
When a signal is transmitted from the NCU 5 to the meter 6, a high level signal is output to the terminal DT. At this time, the high level signal spills around to drive the transistor Tr3 to drive the terminal D. Output low level signal to IN . Therefore, when a signal is transmitted from the NCU 5 to the meter 6, control is performed so that the signal input to the terminal D IN is not accepted on the NCU 5 side.

【0010】[0010]

【発明が解決しようとする課題】以上のように、上記イ
ンターフェース回路においては、バッテリーBtの電源
電圧は、NCU5側には供給されることはないので、バ
ッテリーBtの残容量をNCU5側から直接知ることが
できないという問題がある。そのため、バッテリーBt
の容量が時間の経過とともに低下した場合、端子DTに
はメータ6側の回路を駆動させる十分な電圧が出力され
なくなる。したがって、NCU5は十分動作可能である
のにもかかわらず、メータ6との間で通信ができないと
きがある。
As described above, in the above interface circuit, since the power supply voltage of the battery Bt is not supplied to the NCU 5 side, the remaining capacity of the battery Bt is directly known from the NCU 5 side. There is a problem that you can not. Therefore, the battery Bt
If the capacity of the battery decreases with the lapse of time, a sufficient voltage for driving the circuit on the meter 6 side cannot be output to the terminal DT. Therefore, although the NCU 5 is sufficiently operable, it may not be possible to communicate with the meter 6.

【0011】本発明は、上記問題点に鑑み、一次側回路
からインターフェース回路動作用電池の電源電圧の状態
を検知でき、一次側回路と二次側回路との間で常に良好
な通信ができるインターフェース回路の提供を目的とす
る。
In view of the above problems, the present invention can detect the state of the power supply voltage of the battery for operating the interface circuit from the primary side circuit, and can always perform good communication between the primary side circuit and the secondary side circuit. The purpose is to provide a circuit.

【0012】[0012]

【課題を解決するための手段】本発明による課題解決手
段は、一次側回路と二次側回路との間に設けられ、両回
路間を電気的に分離しかつ両回路間における信号の送受
を行うインターフェース回路において、入力側および出
力側を電気的に絶縁しかつ入出力間で信号を伝達する絶
縁兼伝達手段と、動作用の電源電圧を供給する電圧供給
手段と、一次側回路から信号が入力されたときに電源電
圧の状態を検知する電圧検知手段と、電圧検知手段によ
る検知結果を一次側回路に出力する出力手段とを備えた
ものである。
Means for Solving the Problem The problem solving means according to the present invention is provided between a primary side circuit and a secondary side circuit, electrically separates both circuits, and transmits and receives a signal between both circuits. In the interface circuit to perform, the insulating and transmitting means for electrically insulating the input side and the output side and transmitting the signal between the input and output, the voltage supply means for supplying the power supply voltage for operation, and the signal from the primary side circuit It is provided with a voltage detection means for detecting the state of the power supply voltage when input, and an output means for outputting the detection result of the voltage detection means to the primary side circuit.

【0013】上記構成によれば、一次側回路から信号が
入力されたときに、動作用の電源電圧の状態が検知さ
れ、その検知結果を一次側回路に出力する。そのため、
インターフェース回路動作用の電源電圧の状態、例え
ば、電源電圧の低下を一次側回路において検知すること
ができる。
According to the above configuration, when the signal is input from the primary side circuit, the state of the power supply voltage for operation is detected, and the detection result is output to the primary side circuit. for that reason,
A state of the power supply voltage for operating the interface circuit, for example, a decrease in the power supply voltage can be detected in the primary side circuit.

【0014】ここで、動作用の電源電圧の状態を検知す
る場合に、一次側回路から入力される信号に基づいて電
源電圧を二次側回路に出力するためのスイッチ素子を用
いる。このようにすれば、一次側回路から信号が入力さ
れないときはスイッチ素子はオンしないので、電源電圧
は二次側回路に出力されず、一次側回路から信号が入力
されたときのみ電源電圧の状態を検知することができ
る。そのため、電源電圧が、例えば電池からなる場合に
その消耗を抑えることができる。
Here, when detecting the state of the power supply voltage for operation, a switch element is used for outputting the power supply voltage to the secondary side circuit based on a signal input from the primary side circuit. With this configuration, the switch element does not turn on when no signal is input from the primary side circuit, so the power supply voltage is not output to the secondary side circuit, and the power supply voltage status is maintained only when a signal is input from the primary side circuit. Can be detected. Therefore, when the power supply voltage is composed of, for example, a battery, its consumption can be suppressed.

【0015】また、電圧検知手段は、スイッチ素子の出
力端の電圧を検知するようにすれば、電源電圧の値に最
も近似した値を検知できるので、正確な電圧検知を行え
る。
If the voltage detecting means detects the voltage at the output end of the switch element, the voltage detecting means can detect a value which is the closest to the value of the power supply voltage, so that accurate voltage detection can be performed.

【0016】上記のインターフェース回路としては、セ
ンター側装置に対してデータ通信を行う端末網制御装置
とこれに接続された端末機器との間に設けられ、端末網
制御装置および端末機器間を電気的に分離しかつ両者間
における信号の送受を行うインターフェース回路におい
て、端末網制御装置および端末機器間を電気的に絶縁し
かつ両者間での信号を伝達する絶縁用フォトカプラと、
インターフェース回路を動作させるための電源電圧を供
給する電池と、電池によって供給される電源電圧を端末
網制御装置から絶縁用フォトカプラを介して入力された
信号に基づいて端末機器に出力するスイッチング用トラ
ンジスタと、スイッチング用トランジスタによってその
出力端から端末機器に出力された電圧の状態を検知する
電圧検知手段と、電圧検知手段によって電圧低下が検知
されたときこの検知結果を端末網制御装置に出力する出
力用フォトカプラからなる出力手段とを備えたものが適
用される。
The above-mentioned interface circuit is provided between the terminal network control device for performing data communication with the center side device and the terminal equipment connected thereto, and electrically connects between the terminal network control device and the terminal equipment. In an interface circuit that separates into two and transmits and receives signals between them, an insulating photocoupler that electrically insulates between the terminal network control device and the terminal equipment and that transmits signals between the two,
A battery that supplies a power supply voltage for operating the interface circuit, and a switching transistor that outputs the power supply voltage supplied by the battery to the terminal equipment based on a signal input from the terminal network control device through the insulating photocoupler. And a voltage detection means for detecting the state of the voltage output from the output terminal to the terminal device by the switching transistor, and an output for outputting the detection result to the terminal network control device when the voltage detection means detects a voltage drop. And an output unit composed of a photo coupler for use.

【0017】電圧検知手段としては、ツェナーダイオー
ドを用いることができる。また、電圧検知手段は、予め
定める基準値より低い値の電圧が入力されたときに出力
手段に対して駆動信号を出力する電圧検知回路で構成さ
れたり、あるいは、電圧検知手段は、その入力端子から
予め定める基準値より高い値の電圧が入力された場合に
出力端子をその電圧にして出力手段を駆動させず、基準
値より低い値の電圧が入力された場合に出力端子をその
電圧より低い電圧にして出力手段を駆動させる電圧検知
回路で構成されたりしてもよい。
A Zener diode can be used as the voltage detecting means. Further, the voltage detection means is composed of a voltage detection circuit that outputs a drive signal to the output means when a voltage having a value lower than a predetermined reference value is input, or the voltage detection means has its input terminal. When a voltage higher than the predetermined reference value is input, the output terminal is set to that voltage and the output means is not driven, and when a voltage lower than the reference value is input, the output terminal is lower than that voltage. It may be composed of a voltage detection circuit for converting the voltage into a voltage and driving the output means.

【0018】[0018]

【発明の実施の形態】以下、本発明の実施の形態を添付
図面を参照して詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

【0019】<第1実施形態>本発明の第1実施形態に
係るインターフェース回路を有する端末網制御装置が適
用されたシステム構成は、「従来の技術」の欄で説明し
た図6に示す構成と基本的に同様である。そのため、以
下の説明においては図6を再び参照する。
<First Embodiment> A system configuration to which a terminal network control device having an interface circuit according to the first embodiment of the present invention is applied is the same as the configuration shown in FIG. Basically the same. Therefore, FIG. 6 will be referred to again in the following description.

【0020】図2は、図6に示す端末網制御装置(以
下、「NCU」という。)5の内部構成を示すブロック
図である。NCU5は、極反信号を検出する極反検出回
路21、整流回路22、オフフック制御回路23、PB
(プッシュボタン)信号を送受信するPB送受信回路2
4、マイクロコンピュータを有する主制御装置25、宅
内電話機8の加入電話回線11との接続または切り離し
を行う接続切り替え回路26、モデム27、宅内電話機
8の使用状態を検出するオフフック検出回路28、メー
タ6およびセキュリティ機器7とのインターフェースを
司るインターフェース回路29,30、水晶振動子等で
構成される発振回路31、必要に応じて主制御装置25
をリセットするリセット回路32、主制御装置25が動
作するためのデータを記憶するEEPROM33並びに
電源回路34によって構成されている。
FIG. 2 is a block diagram showing an internal configuration of the terminal network control unit (hereinafter referred to as "NCU") 5 shown in FIG. The NCU 5 includes a pole detection circuit 21, a rectifier circuit 22, an off-hook control circuit 23, a PB that detects a pole signal.
PB transmitter / receiver circuit 2 for transmitting / receiving (push button) signals
4, a main controller 25 having a microcomputer, a connection switching circuit 26 for connecting or disconnecting the home telephone 8 to and from the subscriber telephone line 11, a modem 27, an off-hook detection circuit 28 for detecting the use state of the home telephone 8, a meter 6 Also, interface circuits 29 and 30 that control the interface with the security device 7, an oscillator circuit 31 including a crystal oscillator, and a main controller 25 as necessary.
Is constituted by a reset circuit 32 for resetting, a EEPROM 33 for storing data for operating the main controller 25, and a power supply circuit 34.

【0021】図1は、図2に示すインターフェース回路
29を示す図である。NCU5につながる端子D
OUTは、スイッチング用トランジスタTr1(以下、スイ
ッチング用トランジスタは単に「トランジスタ」とい
う。)のベース端子に接続されている。トランジスタT
r1のエミッタ端子は、入力側および出力側を電気的に
絶縁しかつ入出力間で信号を伝達する絶縁兼伝達手段で
あるフォトカプラPH1のフォトダイオードのアノード
端子に接続されている。NCU5側からの供給電圧が入
力されるVCCM端子は、トランジスタTr1のコレクタ端
子に接続され、トランジスタTr1に供給電圧が与えら
れる。
FIG. 1 is a diagram showing the interface circuit 29 shown in FIG. Terminal D connected to NCU5
OUT is connected to the base terminal of a switching transistor Tr1 (hereinafter, the switching transistor is simply referred to as "transistor"). Transistor T
The emitter terminal of r1 is connected to the anode terminal of the photodiode of the photocoupler PH1 which is an insulating and transmitting means for electrically insulating the input side and the output side and transmitting a signal between the input and the output. The V CCM terminal to which the supply voltage from the NCU5 side is input is connected to the collector terminal of the transistor Tr1 and the supply voltage is supplied to the transistor Tr1.

【0022】また、フォトカプラPH1のフォトトラン
ジスタのコレクタ端子は、抵抗R1を介してトランジス
タTr2のベース端子に接続されている。トランジスタ
Tr2のコレクタ端子は、動作用の電源電圧を供給する
電圧供給手段としてのバッテリーBtのプラス端子に接
続されている。
The collector terminal of the phototransistor of the photocoupler PH1 is connected to the base terminal of the transistor Tr2 via the resistor R1. The collector terminal of the transistor Tr2 is connected to the positive terminal of the battery Bt as a voltage supply means for supplying a power supply voltage for operation.

【0023】バッテリーBtには、交換が必要な一次電
池、例えば、リチュウム電池が用いられる。これに代わ
り、充電することにより再び使用が可能な二次電池を用
いてもよい。
As the battery Bt, a primary battery which needs to be replaced, for example, a lithium battery is used. Instead of this, a secondary battery that can be used again by charging may be used.

【0024】トランジスタTr2のエミッタ端子には、
抵抗R2を介してメータ6とつながる端子DTが接続さ
れるとともに、抵抗R3を介してフォトカプラPH2の
フォトダイオードのアノード端子に接続されている。こ
のフォトダイオードのカソード端子は、バッテリーBt
の電源電圧を検知する電圧検知手段としてのツェナーダ
イオードZnのカソード端子に接続されている。そし
て、フォトカプラPH2のフォトトランジスタのコレク
タ端子は、抵抗R7を介してVCCM端子に接続されると
ともに、出力端子BtH/Lに接続されている。すなわ
ち、上記フォトカプラPH2は、ツェナーダイオードZ
nによる電圧検知の結果をNCU5に出力する出力手段
として機能する。
At the emitter terminal of the transistor Tr2,
The terminal DT connected to the meter 6 is connected via the resistor R2, and is also connected to the anode terminal of the photodiode of the photocoupler PH2 via the resistor R3. The cathode terminal of this photodiode is the battery Bt
Is connected to the cathode terminal of the Zener diode Zn as a voltage detecting means for detecting the power supply voltage of the. The collector terminal of the phototransistor of the photocoupler PH2 is connected to the V CCM terminal via the resistor R7 and the output terminal BtH / L. That is, the photocoupler PH2 includes the Zener diode Z.
It functions as an output unit that outputs the result of the voltage detection by n to the NCU 5.

【0025】一方、メータ6につながる端子DT、端子
SG間は、抵抗R4,R5で分割され、その分割点は、
抵抗R6を介してトランジスタTr3のベース端子に接
続されている。なお、SGはメータ6側のシグナルグラ
ンドを示す。トランジスタTr3のコレクタ端子は、絶
縁兼伝達手段であるフォトカプラPH3のフォトダイオ
ードおよび抵抗R8を介してバッテリーBtに接続され
ている。フォトカプラPH3のフォトトランジスタのコ
レクタ端子は、NCU5につながる端子DINに接続され
るとともに、抵抗R9を介してVCCM端子に接続されて
いる。
On the other hand, the terminals DT and SG connected to the meter 6 are divided by resistors R4 and R5, and the division point is
It is connected to the base terminal of the transistor Tr3 via the resistor R6. Note that SG indicates a signal ground on the meter 6 side. The collector terminal of the transistor Tr3 is connected to the battery Bt via the photodiode of the photocoupler PH3, which is an insulating and transmitting means, and the resistor R8. The collector terminal of the phototransistor of the photocoupler PH3 is connected to the terminal D IN connected to the NCU 5 and also to the V CCM terminal via the resistor R9.

【0026】また、フォトカプラPH1のフォトダイオ
ードのカソード端子は、抵抗R10を介してNCU5側
のグランドに接続され、フォトカプラPH2およびPH
3の各フォトトランジスタのエミッタ端子も、それぞれ
NCU5側のグランドに接続されている。
Further, the cathode terminal of the photodiode of the photocoupler PH1 is connected to the ground on the NCU5 side via the resistor R10, and the photocouplers PH2 and PH2 are connected.
The emitter terminals of the phototransistors 3 are also connected to the ground on the NCU 5 side.

【0027】また、端子SGにはフォトカプラPH1の
フォトトランジスタのエミッタ端子、バッテリーBtの
マイナス端子、トランジスタTr3のエミッタ端子およ
びツェナーダイオードZnのアノード端子がそれぞれ接
続されている。
The terminal SG is connected to the emitter terminal of the phototransistor of the photocoupler PH1, the negative terminal of the battery Bt, the emitter terminal of the transistor Tr3 and the anode terminal of the Zener diode Zn.

【0028】上記接続構成により、まず、NCU5(一
次側回路)からメータ6(二次側回路)へ信号が伝送さ
れる場合を説明する。NCU5の主制御装置25から端
子DOUTにローレベル信号が入力されると、トランジス
タTr1がオンする。このオンにより、フォトカプラP
H1のフォトダイオードに電流が流れ、フォトトランジ
スタがオンする。これにより、トランジスタTr2がオ
ンし、これのコレクタ端子に供給されているバッテリー
Btの電源電圧がエミッタ端子(図1のA点参照)に出
力され、メータ6側の端子DTに供給される。そのた
め、端子DTにハイレベル信号が出力される。
First, a case where a signal is transmitted from the NCU 5 (primary side circuit) to the meter 6 (secondary side circuit) by the above connection configuration will be described. When a low level signal is input to the terminal D OUT from the main control unit 25 of the NCU 5, the transistor Tr1 turns on. When this is turned on, the photo coupler P
A current flows through the photodiode of H1 to turn on the phototransistor. As a result, the transistor Tr2 is turned on, and the power supply voltage of the battery Bt supplied to the collector terminal of the transistor Tr2 is output to the emitter terminal (see point A in FIG. 1) and supplied to the terminal DT on the meter 6 side. Therefore, a high level signal is output to the terminal DT.

【0029】このとき、トランジスタTrのエミッタ端
子の出力端である出力点Aにおける電圧をツェナーダイ
オードZnで検知する。すなわち、バッテリーBtの電
源電圧が正常な場合、フォトカプラPH2のフォトダイ
オードに電流が流れ、このフォトトランジスタがオンし
て、出力端子BtH/Lにはローレベル信号が出力され
る。
At this time, the voltage at the output point A which is the output end of the emitter terminal of the transistor Tr is detected by the Zener diode Zn. That is, when the power supply voltage of the battery Bt is normal, a current flows through the photodiode of the photocoupler PH2, the phototransistor is turned on, and a low level signal is output to the output terminal BtH / L.

【0030】これに対して、バッテリーBtの電源電圧
の値がツェナーダイオードZnの端子電圧の値(例え
ば、2.0V)より低いと、ツェナーダイオードZnは
オンされない。そのため、フォトカプラPH2のフォト
ダイオードには電流が流れないので、フォトカプラPH
2は駆動しない。したがって、フォトカプラPH2のフ
ォトトランジスタはオンせず、出力端子BtH/Lはハ
イレベルのままで変化しない。
On the other hand, when the value of the power supply voltage of the battery Bt is lower than the value of the terminal voltage of the Zener diode Zn (for example, 2.0 V), the Zener diode Zn is not turned on. Therefore, since no current flows in the photodiode of the photocoupler PH2, the photocoupler PH2
2 does not drive. Therefore, the phototransistor of the photocoupler PH2 is not turned on, and the output terminal BtH / L remains high level and does not change.

【0031】出力端子BtH/Lにおける信号は、NC
U5の主制御回路25に入力される。そして、主制御回
路25は、端子DOUTからローレベル信号を出力した場
合に、出力端子BtH/Lがハイレベルであると、バッ
テリーBtの電源電圧が低下していると判別する。その
ため、バッテリーBtの電源電圧の低下をNCU5側か
ら検知できる。
The signal at the output terminal BtH / L is NC
It is input to the main control circuit 25 of U5. Then, the main control circuit 25 determines that the power supply voltage of the battery Bt is lowered when the output terminal BtH / L is at the high level when the low level signal is output from the terminal D OUT . Therefore, the decrease in the power supply voltage of the battery Bt can be detected from the NCU 5 side.

【0032】そして、主制御回路25がバッテリーBt
の電源電圧の低下を判別して、例えば、外部に報知や表
示を行うことにより、ユーザは、バッテリーBtの消耗
を知ることができ、バッテリーBtを交換したり充電装
置等で充電を行って再び使用したりすることができる。
そのため、NCU5は、メータ6との通信を常に良好に
行うことができる。
Then, the main control circuit 25 causes the battery Bt to
The user can know the consumption of the battery Bt by discriminating the decrease in the power supply voltage of the battery and, for example, notifying and displaying the information to the outside. It can be used.
Therefore, the NCU 5 can always perform good communication with the meter 6.

【0033】図3は、端子DOUT、出力点Aおよび端子
DTにおける信号のタイミングチャートを示す図であ
る。同図に示すように、端子DOUTにおける信号と、出
力点Aおよび端子DTにおける信号との論理は、逆の関
係にある。
FIG. 3 is a diagram showing a timing chart of signals at the terminal D OUT , the output point A and the terminal DT. As shown in the figure, the logics of the signal at the terminal D OUT and the signal at the output point A and the terminal DT have an inverse relationship.

【0034】ここで、出力点A、端子DTにおける信号
レベルにおいて、若干、端子DTの信号レベルが出力点
Aの信号レベルより低くなっている(点線が出力点Aの
信号レベルを示す。)。これは、出力点Aと端子DTと
の間に介在された抵抗R2の値やメータ6側の回路のイ
ンピーダンスによるものである。そこで、本実施形態に
おいては、トランジスタTr2の出力端であるエミッタ
端子の出力点Aにおいて電源電圧を検知するようにし、
実際のバッテリーBtの電圧に最も近似した値を検知で
きるようにしている。そのため、より正確な電圧検知を
行うことができる。
Here, in the signal level at the output point A and the terminal DT, the signal level at the terminal DT is slightly lower than the signal level at the output point A (the dotted line shows the signal level at the output point A). This is due to the value of the resistor R2 interposed between the output point A and the terminal DT and the impedance of the circuit on the meter 6 side. Therefore, in the present embodiment, the power supply voltage is detected at the output point A of the emitter terminal which is the output terminal of the transistor Tr2,
The value that is the closest to the actual voltage of the battery Bt can be detected. Therefore, more accurate voltage detection can be performed.

【0035】したがって、上記インターフェース回路に
よれば、バッテリーBtの電源電圧を常時検知するので
はなく、トランジスタTr2がオンしたときのみ、すな
わち、端子DOUTにローレベル信号が入力されるときの
み、バッテリーBtの電源電圧を検知している。つま
り、トランジスタTr2がオフ状態のときには、フォト
カプラPH2に電流が流れないので、バッテリーBtの
電源電圧を検知しない。そのため、バッテリーBtの消
耗を抑えることができ、経済的な回路とすることができ
る。
Therefore, according to the above interface circuit, the battery Bt power supply voltage is not always detected, but only when the transistor Tr2 is turned on, that is, when the low level signal is input to the terminal D OUT. The power supply voltage of Bt is detected. That is, when the transistor Tr2 is in the off state, no current flows in the photocoupler PH2, so the power supply voltage of the battery Bt is not detected. Therefore, consumption of the battery Bt can be suppressed, and an economical circuit can be obtained.

【0036】さらに、例えば、ツェナーダイオードZn
が素子不良となった場合、フォトカプラPH2は駆動さ
れない。そのため、出力端子BtH/Lにはハイレベル
信号が保持されるので、フェールセーフを考慮した信頼
性の高い電圧検知回路とすることができる。
Further, for example, a Zener diode Zn
When becomes defective, the photocoupler PH2 is not driven. Therefore, since the high level signal is held at the output terminal BtH / L, a highly reliable voltage detection circuit considering fail safe can be obtained.

【0037】なお、上記のインターフェース回路におい
ては、抵抗R3、フォトカプラPH2のフォトダイオー
ド、ツェナダイオードZnの接続が互いに入れ替わって
も、同一の機能を有する。さらに、抵抗R3の抵抗値お
よびフォトカプラPH2のフォトダイオードの順方向電
流の値を適当な値に変更すれば、電池電圧と検知電圧レ
ベルとの関係から、ツェナダイオードZnを省略するこ
ともできる。
The interface circuit described above has the same function even when the connection of the resistor R3, the photodiode of the photocoupler PH2, and the Zener diode Zn is replaced with each other. Furthermore, if the resistance value of the resistor R3 and the value of the forward current of the photodiode of the photocoupler PH2 are changed to appropriate values, the Zener diode Zn can be omitted from the relationship between the battery voltage and the detection voltage level.

【0038】また、メータ6からNCU5へ信号を伝送
する場合を説明すると、例えば、メータ6から端子DT
にハイレベル信号が入力された場合、抵抗R4,R5で
分割されたハイレベル信号は抵抗R6を介して、トラン
ジスタTr3のベース端子に入力される。そして、トラ
ンジスタTr3がオンし、フォトカプラPH3のフォト
ダイオードに電流が流れ、フォトカプラPH3のフォト
トランジスタがオンし、端子DINがローレベルになる。
また、端子DTにローレベル信号が入力された場合、ト
ランジスタTr3はオンしないので、端子DINがハイレ
ベルとなる。このようにして、メータ6からNCU5へ
信号が伝送される。
The case of transmitting a signal from the meter 6 to the NCU 5 will be described. For example, from the meter 6 to the terminal DT.
When a high-level signal is input to R1, the high-level signal divided by the resistors R4 and R5 is input to the base terminal of the transistor Tr3 via the resistor R6. Then, the transistor Tr3 is turned on, a current flows through the photodiode of the photocoupler PH3, the phototransistor of the photocoupler PH3 is turned on, and the terminal D IN becomes low level.
Further, when a low level signal is input to the terminal DT, the transistor Tr3 does not turn on, so the terminal D IN becomes high level. In this way, the signal is transmitted from the meter 6 to the NCU 5.

【0039】また、この第1実施形態において、フォト
カプラPH2に代わり、フォトダイオードに流れる電流
の量をアナログ量としてNCU5に伝達できるような素
子を用いてもよい。すなわち、例えばフォトダイオード
に流れる電流の量は、フォトダイオードの発光量に比例
するので、その発光量に応じた受光量をフォトトランジ
スタで受光するようにし、その受光量をそのままNCU
5に伝達する。そうすれば、バッテリーBtの電源電圧
が低下して検知される前に、バッテリーBtの電源電圧
の容量を把握することができる。そのため、事前にバッ
テリーBtの交換や充電装置の準備等を行える。
In the first embodiment, instead of the photocoupler PH2, an element capable of transmitting the amount of current flowing in the photodiode to the NCU 5 as an analog amount may be used. That is, for example, the amount of current flowing through the photodiode is proportional to the amount of light emitted from the photodiode, so that the phototransistor receives the amount of light received according to the amount of light emitted, and the amount of light received is maintained as is in the NCU.
Transmit to 5. Then, the capacity of the power supply voltage of the battery Bt can be grasped before the power supply voltage of the battery Bt is lowered and detected. Therefore, the battery Bt can be replaced and the charging device can be prepared in advance.

【0040】<第2実施形態>図4は、第2実施形態に
係るインターフェース回路を示す図である。第2実施形
態のインターフェース回路の特徴は、バッテリーBtの
電源電圧を検知する電圧検知手段に、予め定める基準値
より低い値の電圧が入力されたときに、NCU5に出力
するためのフォトカプラPH2に対して駆動信号を出力
する電圧検知回路、例えば、電圧検知IC・DKが用い
られている点にある。
<Second Embodiment> FIG. 4 is a diagram showing an interface circuit according to the second embodiment. The interface circuit of the second embodiment is characterized in that the voltage detecting means for detecting the power supply voltage of the battery Bt is provided in the photocoupler PH2 for outputting to the NCU 5 when a voltage lower than a predetermined reference value is input. In contrast, a voltage detection circuit that outputs a drive signal, for example, a voltage detection IC / DK is used.

【0041】電圧検知IC・DKは、その入力端子DK
INに入力される電圧VINが予め定める基準値VS(例え
ば、VS=2.0V)より高い電圧であれば、出力端子D
OUTにローレベル信号を出力し、入力される電圧VIN
が基準値VSより低い電圧であれば、出力端子DKOUT
ハイレベル信号を出力するICである。ただし、この場
合、ハイレベルの電圧の値は、入力される電圧VINの値
となる。
The voltage detection IC DK has its input terminal DK
If the voltage V IN input to IN is higher than a predetermined reference value V S (for example, V S = 2.0 V), the output terminal D
Output a low level signal to K OUT and input voltage V IN
Is a voltage lower than the reference value V S, the IC outputs a high level signal to the output terminal DK OUT . However, in this case, the value of the high-level voltage becomes the value of the input voltage V IN .

【0042】そして、この第2実施形態においては、電
圧検知IC・DKの入力端子DKINはトランジスタTr
2のエミッタ端子に接続されており、その出力端子DK
OUTは抵抗R3を介してフォトカプラPH2のフォトダ
イオードのアノード端子に接続されている。フォトダイ
オードのカソード端子は、端子SGに接続され、電圧検
知IC・DKのグランド端子DKGも、同様に端子SG
に接続されている。その他の接続構成については、第1
実施形態と同様である。
In the second embodiment, the input terminal DK IN of the voltage detection IC / DK has the transistor Tr.
2 is connected to the emitter terminal and its output terminal DK
OUT is connected to the anode terminal of the photodiode of the photocoupler PH2 via the resistor R3. The cathode terminal of the photodiode is connected to the terminal SG, and the ground terminal DK G of the voltage detection IC / DK is also the terminal SG.
It is connected to the. Regarding other connection configurations,
It is similar to the embodiment.

【0043】この接続構成により、バッテリーBtの電
源電圧が正常の場合、トランジスタTr2がオンされ
て、電圧検知IC・DKの入力端子DKINには正常電圧
が入力される。このとき、入力端子DKINに入力される
電圧VINは、基準値VSより高いので、出力端子DKOUT
にはローレベルが出力される。そのため、フォトカプラ
PH2は動作しないので、端子BtH/Lはハイレベル
のままとなる。
With this connection configuration, when the power supply voltage of the battery Bt is normal, the transistor Tr2 is turned on and the normal voltage is input to the input terminal DK IN of the voltage detection IC / DK. At this time, since the voltage V IN input to the input terminal DK IN is higher than the reference value V S , the output terminal DK OUT
A low level is output to. Therefore, the photocoupler PH2 does not operate, and the terminal BtH / L remains high level.

【0044】一方、バッテリーBtの電源電圧が低下し
てトランジスタTr2のエミッタ端子の電圧が基準値VS
以下になれば、電圧検知IC・DKの出力端子DKOUT
には、入力される電圧VINの値とほぼ同じ電圧値が出力
される。詳細には、入力される電圧VINの値から電圧検
知IC・DKの内部抵抗を考慮した電圧Vt(例えば、
t=0.1V)を差し引いた電圧(VIN−Vt)が出力
される。したがって、フォトカプラPH2のフォトダイ
オードには、電圧(VIN−Vt)に相当する電流が流れ
る。
On the other hand, the power supply voltage of the battery Bt is lowered and the voltage of the emitter terminal of the transistor Tr2 is changed to the reference value V S.
If the following occurs, the voltage detection IC / DK output terminal DK OUT
A voltage value that is substantially the same as the value of the input voltage V IN is output to. Specifically, from the value of the input voltage V IN , the voltage V t (eg,
A voltage (V IN −V t ) obtained by subtracting V t = 0.1 V is output. Therefore, a current corresponding to the voltage (V IN −V t ) flows through the photodiode of the photo coupler PH2.

【0045】この電流により、フォトカプラPH2のフ
ォトダイオードがオンし、これにより、フォトトランジ
スタがオンし、端子BtH/Lがローレベルになり、N
CU5の主制御装置25において、バッテリーBtの電
圧低下を検知できる。
This current turns on the photodiode of the photocoupler PH2, which turns on the phototransistor to bring the terminal BtH / L to the low level and N
The main controller 25 of the CU 5 can detect the voltage drop of the battery Bt.

【0046】なお、電圧検知IC・DKの出力端子DK
OUTからは、フォトカプラPH2のフォトダイオードが
オンする範囲内であれば、入力端子DKINに入力された
電圧VINの値以下の電圧が出力されてもよい。
The output terminal DK of the voltage detection IC / DK
From OUT , a voltage equal to or lower than the value of the voltage V IN input to the input terminal DK IN may be output as long as it is within the range in which the photodiode of the photocoupler PH2 is turned on.

【0047】したがって、NCU5からメータ6へ信号
を伝送するとき、バッテリーBtの電源電圧が正常の場
合は、電圧検知IC・DKの出力端子DKOUTからロー
レベル信号が出力され、フォトカプラPH2に電流が流
れない。そして、バッテリーBtの電源電圧が低下した
ときのみ、フォトカプラPH2に電流が流れる。そのた
め、第1実施形態のように電源電圧が正常なときにフォ
トカプラPH2に電流が流れる場合に比べ、より一層バ
ッテリーBtの消耗が抑えられ経済的であるという利点
がある。
Therefore, when the signal is transmitted from the NCU 5 to the meter 6, if the power supply voltage of the battery Bt is normal, a low level signal is output from the output terminal DK OUT of the voltage detection IC / DK, and a current is supplied to the photocoupler PH2. Does not flow. Then, a current flows through the photocoupler PH2 only when the power supply voltage of the battery Bt drops. Therefore, as compared with the case where a current flows through the photocoupler PH2 when the power supply voltage is normal as in the first embodiment, there is an advantage that the consumption of the battery Bt is further suppressed and it is economical.

【0048】なお、図4に示すインターフェース回路に
おいても、抵抗R3、フォトカプラPH2のフォトダイ
オードの接続が互いに入れ替わっても、同一の機能を有
する。
The interface circuit shown in FIG. 4 has the same function even if the connection of the resistor R3 and the photodiode of the photocoupler PH2 is interchanged.

【0049】<第3実施形態>図5は、本発明の第3実
施形態を示す図である。第3実施形態のインターフェー
ス回路の特徴は、バッテリーBtの電源電圧を検知する
電圧検知手段に、その入力端子から予め定める基準値よ
り高い値の電圧が入力された場合に、出力端子をその電
圧にしてNCU5に出力するためのフォトカプラPH2
を駆動させず、基準値より低い値の電圧が入力された場
合に、出力端子をその電圧より低い電圧にしてフォトカ
プラPH2を駆動させる電圧検知回路、例えば、リセッ
トIC・Rsが用いられている点にある。
<Third Embodiment> FIG. 5 is a diagram showing a third embodiment of the present invention. The interface circuit of the third embodiment is characterized in that, when a voltage having a value higher than a predetermined reference value is input from its input terminal to the voltage detection means for detecting the power supply voltage of the battery Bt, the output terminal is set to that voltage. Photocoupler PH2 for outputting to NCU5
When a voltage lower than the reference value is input without driving the voltage detector, a voltage detection circuit for driving the photocoupler PH2 by setting the output terminal to a voltage lower than the voltage, for example, a reset IC Rs is used. In point.

【0050】リセットIC・Rsは、入力端子RsIN
入力される入力電圧VINが予め定める基準値VS(例え
ば、VS=2.0V)より高ければ、出力端子RsOUT
ハイレベルになり、入力電圧VINが基準値VS以下であ
れば、出力端子RsOUTがローレベルになるICであ
る。ただし、この場合、ハイレベルの電圧の値は、入力
される電圧VINの値となる。
When the input voltage V IN input to the input terminal Rs IN is higher than a predetermined reference value V S (for example, V S = 2.0V), the reset IC Rs outputs the output terminal Rs OUT at a high level. If the input voltage V IN is equal to or lower than the reference value V S , the output terminal Rs OUT is a low level IC. However, in this case, the value of the high-level voltage becomes the value of the input voltage V IN .

【0051】上記リセットIC・Rsが適用された接続
構成は、トランジスタTr2のエミッタ端子がリセット
IC・Rsの入力端子RsINに接続されるとともに、フ
ォトカプラPH2のフォトダイオードのアノード端子に
接続されている。リセットIC・Rsの出力端子Rs
OUTは、抵抗R3を介して上記フォトダイオードのカソ
ード端子に接続されている。リセットIC・Rsのグラ
ンド端子RsGは、端子SGに接続されている。その他
の構成については、第1実施形態と同様である。
In the connection configuration to which the reset IC Rs is applied, the emitter terminal of the transistor Tr2 is connected to the input terminal Rs IN of the reset IC Rs and the anode terminal of the photodiode of the photocoupler PH2 is connected. There is. Output terminal Rs of reset IC / Rs
OUT is connected to the cathode terminal of the photodiode via a resistor R3. The ground terminal Rs G of the reset IC Rs is connected to the terminal SG. Other configurations are similar to those of the first embodiment.

【0052】この接続構成により、バッテリーBtの電
池電圧が正常の場合、トランジスタTr2がオンされ
て、リセットIC・Rsの入力端子RsINには正常電圧
が入力される。このとき、入力端子RsINに入力される
電圧VINは、基準値VSより高いので、出力端子RsOUT
にはハイレベルが出力される。そのため、フォトカプラ
PH2は駆動しないので、端子BtH/Lはハイレベル
のままとなる。
With this connection configuration, when the battery voltage of the battery Bt is normal, the transistor Tr2 is turned on and the normal voltage is input to the input terminal Rs IN of the reset IC Rs. At this time, since the voltage V IN input to the input terminal Rs IN is higher than the reference value V S , the output terminal Rs OUT
A high level is output to. Therefore, since the photocoupler PH2 is not driven, the terminal BtH / L remains high level.

【0053】一方、バッテリーBtの電池電圧の値が低
下して基準値VS以下になれば、リセットIC・Rsの
出力端子RsOUTには端子SGの電圧と同じ値の電圧
(ローレベル)が出力される。この電圧の出力により、
フォトカプラPH2のフォトダイオードに電流が流れ、
フォトトランジスタがオンし、端子BtH/Lがローレ
ベルになる。これにより、NCU5の主制御装置25に
おいてバッテリーBtの電源電圧の低下を検知できる。
On the other hand, when the value of the battery voltage of the battery Bt decreases and becomes equal to or lower than the reference value V S , the output terminal Rs OUT of the reset IC Rs has the same voltage (low level) as the voltage of the terminal SG. Is output. By the output of this voltage,
Current flows through the photodiode of the photocoupler PH2,
The phototransistor turns on, and the terminal BtH / L becomes low level. As a result, main controller 25 of NCU 5 can detect a decrease in the power supply voltage of battery Bt.

【0054】なお、リセットIC・Rsの出力端子Rs
OUTに出力される電圧の値は、フォトカプラPH2のフ
ォトダイオードがオンするのであれば、ローレベルより
大きい電圧が出力されてもかまわない。
Output terminal Rs of reset IC Rs
As for the value of the voltage output to OUT , a voltage higher than the low level may be output as long as the photodiode of the photocoupler PH2 is turned on.

【0055】したがって、この第3実施形態において
も、第2実施形態と同様、NCU5からメータ6に信号
を伝送する場合、バッテリーBtの電源電圧が低下した
ときのみ、フォトカプラPH2に電流が流れる。そのた
め、バッテリーBtの電源電圧が正常の場合にフォトカ
プラPH2に電流が流れる第1実施形態に比べ、一層バ
ッテリーBtの消耗が抑えられ経済的であるという利点
がある。
Therefore, also in the third embodiment, as in the second embodiment, when a signal is transmitted from the NCU 5 to the meter 6, a current flows through the photocoupler PH2 only when the power supply voltage of the battery Bt drops. Therefore, there is an advantage that the consumption of the battery Bt is further suppressed and it is economical compared to the first embodiment in which a current flows through the photocoupler PH2 when the power supply voltage of the battery Bt is normal.

【0056】また、トランジスタTr2のエミッタ端子
に、直接、フォトカプラPH2のフォトダイオードが接
続されているため、フォトカプラPH2のフォトダイオ
ードがオンする電圧の検知レベルである基準値VSを、
第2実施形態に比べ、電圧検知IC・DKの内部抵抗に
相当する電圧Vtの分だけ、より低くできるという利点
がある。そのため、バッテリーBtを長く使用すること
ができ、コストを低減することができる。
Since the photodiode of the photocoupler PH2 is directly connected to the emitter terminal of the transistor Tr2, the reference value V S which is the detection level of the voltage at which the photodiode of the photocoupler PH2 turns on is
Compared with the second embodiment, there is an advantage that the voltage can be lowered by the voltage Vt corresponding to the internal resistance of the voltage detection IC / DK. Therefore, the battery Bt can be used for a long time, and the cost can be reduced.

【0057】なお、図5に示すインターフェース回路に
おいても、抵抗R3、フォトカプラPH2のフォトダイ
オードの接続が互いに入れ替わっても、同一の機能を有
する。
The interface circuit shown in FIG. 5 has the same function even if the connection of the resistor R3 and the photodiode of the photocoupler PH2 is interchanged.

【0058】なお、本発明は、上記実施形態に限定され
るものではなく、本発明の範囲内で上記実施形態に多く
の修正および変更を加え得ることができる。例えば、上
記実施形態においては、NCUからメータに信号が伝送
される場合にバッテリーの電源電圧の検知が行われる
が、メータからNCUに信号が伝送される場合にバッテ
リーの電源電圧の検知を行ってもよい。
The present invention is not limited to the above embodiment, and many modifications and changes can be added to the above embodiment within the scope of the present invention. For example, in the above embodiment, the power supply voltage of the battery is detected when the signal is transmitted from the NCU to the meter, but the power supply voltage of the battery is detected when the signal is transmitted from the meter to the NCU. Good.

【0059】また、上記のインターフェース回路は、メ
ータ内に設けられるようにしてもよく、あるいはNCU
とメータとの間に独立して設けられるようにしてもよ
い。また、上記実施形態においては、メータとのインタ
ーフェース回路について説明したが、このインターフェ
ース回路をセキュリティ機器とのインターフェース回路
に適用してもよい。また、上記インターフェース回路に
おけるフォトカプラに代わり、信号の応答速度等が条件
に支障のない限り、リレーやトランス等が用いられても
よい。
The interface circuit may be provided in the meter, or NCU.
And the meter may be provided independently. In the above embodiment, the interface circuit with the meter has been described, but the interface circuit may be applied to the interface circuit with the security device. Further, instead of the photocoupler in the interface circuit, a relay, a transformer or the like may be used as long as the response speed of the signal does not affect the conditions.

【0060】[0060]

【発明の効果】以上のように、この発明によると、一次
側回路から信号が入力されたときに、動作用の電源電圧
の状態が検知され、その検知結果を一次側回路に出力す
ることができるので、電源電圧の状態を一次側回路にお
いて検知することができる。そのため、例えば、電源に
電池が用いられそれが消耗している場合、電池を交換し
たり再び充電したりすればよく、一次側回路が常に良好
に二次側回路と通信ができるインターフェース回路を提
供することができる。
As described above, according to the present invention, when a signal is input from the primary side circuit, the state of the power supply voltage for operation can be detected and the detection result can be output to the primary side circuit. Therefore, the state of the power supply voltage can be detected in the primary side circuit. Therefore, for example, if a battery is used as a power supply and it is exhausted, the battery can be replaced or recharged, and the primary side circuit can always provide good communication with the secondary side circuit. can do.

【0061】また、電源電圧の状態を検知するときに、
一次側回路から入力される信号に基づいて電源電圧を二
次側回路に出力するスイッチ素子を用いるようにすれ
ば、一次側回路から信号が入力されないときはスイッチ
素子はオンしないので、検知は行われず、一次側回路か
ら信号が入力されたときのみ電源電圧の状態を検知する
ことができる。したがって、常時検知するのではないの
で、電源の消耗を抑えることができ、電源の寿命を延ば
すことができ、結果的にコストの低減を図ることができ
る。
When detecting the state of the power supply voltage,
If a switch element that outputs the power supply voltage to the secondary side circuit based on the signal input from the primary side circuit is used, the switch element does not turn on when no signal is input from the primary side circuit, so detection is not performed. Therefore, the state of the power supply voltage can be detected only when a signal is input from the primary side circuit. Therefore, since it is not always detected, the consumption of the power source can be suppressed, the life of the power source can be extended, and as a result, the cost can be reduced.

【0062】さらに、電源電圧が基準値以下になった場
合に作動する回路を用いれば、電源電圧が低下したとき
のみその低下を検知するので、電源の消耗をより一層抑
えることができ、さらなるコストの低減化を図ることが
できる。
Furthermore, if a circuit that operates when the power supply voltage becomes lower than the reference value is used, the decrease is detected only when the power supply voltage decreases, so that the power consumption can be further suppressed and the cost can be further reduced. Can be reduced.

【0063】また、スイッチ素子の出力端の電圧を検知
するようにすれば、電源電圧の供給電圧値に最も近似し
た値を検知できるので、正確な電圧検知を行うことがで
きる。
Further, if the voltage at the output end of the switch element is detected, the value that is the closest to the supply voltage value of the power supply voltage can be detected, so that accurate voltage detection can be performed.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の第1実施形態に係るインターフェース
回路を示す図
FIG. 1 is a diagram showing an interface circuit according to a first embodiment of the present invention.

【図2】インターフェース回路が適用される端末網制御
装置の構成を示す図
FIG. 2 is a diagram showing a configuration of a terminal network control device to which an interface circuit is applied.

【図3】インターフェース回路のタイミングチャートを
示す図
FIG. 3 is a diagram showing a timing chart of an interface circuit.

【図4】第2実施形態に係るインターフェース回路を示
す図
FIG. 4 is a diagram showing an interface circuit according to a second embodiment.

【図5】第3実施形態に係るインターフェース回路を示
す図
FIG. 5 is a diagram showing an interface circuit according to a third embodiment.

【図6】ノーリンギング通信システムの構成を示す図FIG. 6 is a diagram showing a configuration of a no ringing communication system.

【図7】従来のインターフェース回路を示す図FIG. 7 is a diagram showing a conventional interface circuit.

【符号の説明】[Explanation of symbols]

5 端末網制御装置 6 ガスメータ Bt バッテリー DK 電圧検知IC Rs リセットIC PH1,PH2,PH3 フォトカプラ Tr2 スイッチング用トランジスタ Zn ツェナーダイオード 5 Terminal network controller 6 gas meters Bt battery DK voltage detection IC Rs reset IC PH1, PH2, PH3 Photo coupler Tr2 switching transistor Zn Zener diode

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G08C 13/00 - 17/02 G08C 19/00 - 23/04 G08C 25/00 - 25/04 H03J 9/00 - 9/06 H04M 11/00 - 11/10 H04Q 9/00 - 9/16 Front page continuation (58) Fields surveyed (Int.Cl. 7 , DB name) G08C 13/00-17/02 G08C 19/00-23/04 G08C 25/00-25/04 H03J 9/00-9 / 06 H04M 11/00-11/10 H04Q 9/00-9/16

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 一次側回路と二次側回路との間に設けら
れ、両回路間を電気的に分離しかつ両回路間における信
号の送受を行うインターフェース回路において、 入力側および出力側を電気的に絶縁しかつ入出力間で信
号を伝達する絶縁兼伝達手段と、動作用の電源電圧を供
給する電圧供給手段と、前記一次側回路から信号が入力
されたときに前記電源電圧の状態を検知する電圧検知手
段と、該電圧検知手段による検知結果を前記一次側回路
に出力する出力手段とを備えたことを特徴とするインタ
ーフェース回路。
1. An interface circuit provided between a primary side circuit and a secondary side circuit, for electrically separating the two circuits and for transmitting and receiving a signal between the two circuits, wherein an input side and an output side are electrically connected. Electrically insulating and transmitting means for transmitting a signal between input and output, a voltage supplying means for supplying a power supply voltage for operation, and a state of the power supply voltage when a signal is input from the primary side circuit. An interface circuit comprising: a voltage detection unit for detecting the voltage; and an output unit for outputting the detection result of the voltage detection unit to the primary side circuit.
【請求項2】 電圧供給手段によって供給される電源電
圧を一次側回路から絶縁兼伝達手段を介して入力される
信号に基づいて二次側回路に出力するスイッチ素子を備
え、電圧検知手段は、前記スイッチ素子によって前記二
次側回路に出力された電圧を検知することを特徴とする
請求項1記載のインターフェース回路。
2. A switch element for outputting the power supply voltage supplied by the voltage supply means to the secondary side circuit based on a signal input from the primary side circuit through the insulating and transmitting means, and the voltage detecting means, The interface circuit according to claim 1, wherein a voltage output to the secondary side circuit is detected by the switch element.
【請求項3】 電圧検知手段は、スイッチ素子の出力端
の電圧を検知することを特徴とする請求項2記載のイン
ターフェース回路。
3. The interface circuit according to claim 2, wherein the voltage detecting means detects the voltage at the output end of the switch element.
【請求項4】 センター側装置に対してデータ通信を行
う端末網制御装置とこれに接続された端末機器との間に
設けられ、端末網制御装置および端末機器間を電気的に
分離しかつ両者間における信号の送受を行うインターフ
ェース回路において、 端末網制御装置および端末機器間を電気的に絶縁しかつ
両者間での信号を伝達する絶縁用フォトカプラと、前記
インターフェース回路を動作させるための電源電圧を供
給する電池と、該電池によって供給される電源電圧を前
記端末網制御装置から絶縁用フォトカプラを介して入力
された信号に基づいて前記端末機器に出力するスイッチ
ング用トランジスタと、該スイッチング用トランジスタ
によってその出力端から前記端末機器に出力された電圧
の状態を検知する電圧検知手段と、該電圧検知手段によ
って電圧低下が検知されたときこの検知結果を前記端末
網制御装置に出力する出力用フォトカプラからなる出力
手段とを備えたことを特徴とするインターフェース回
路。
4. A terminal network control device that performs data communication with a center-side device and a terminal device connected to the terminal network control device, electrically separates the terminal network control device and the terminal device, and both. In an interface circuit for transmitting and receiving a signal between the terminal network control device and the terminal device, an insulating photocoupler for electrically insulating between the terminal network control device and the terminal device, and a power supply voltage for operating the interface circuit , A switching transistor for outputting a power supply voltage supplied by the battery to the terminal device based on a signal input from the terminal network control device through an insulating photocoupler, and the switching transistor Voltage detecting means for detecting the state of the voltage output from the output terminal to the terminal device by the means, and the voltage detecting means. Accordingly interface circuit is characterized in that an output means comprising output photo-coupler that outputs the detection result to the terminal network controller when the voltage drop is detected.
【請求項5】 電圧検知手段は、ツェナーダイオードか
らなることを特徴とする請求項1または4記載のインタ
ーフェース回路。
5. The interface circuit according to claim 1, wherein the voltage detecting means is a Zener diode.
【請求項6】 電圧検知手段は、予め定める基準値より
低い値の電圧が入力されたときに出力手段に対して駆動
信号を出力する電圧検知回路からなることを特徴とする
請求項1または4記載のインターフェース回路。
6. The voltage detecting means comprises a voltage detecting circuit for outputting a drive signal to the output means when a voltage having a value lower than a predetermined reference value is input. The described interface circuit.
【請求項7】 電圧検知手段は、その入力端子から予め
定める基準値より高い値の電圧が入力された場合に出力
端子をその電圧にして出力手段を駆動させず、前記基準
値より低い値の電圧が入力された場合に前記出力端子を
その電圧より低い電圧にして前記出力手段を駆動させる
電圧検知回路からなることを特徴とする請求項1または
4記載のインターフェース回路。
7. The voltage detecting means sets the output terminal to the voltage and does not drive the output means when a voltage having a value higher than a predetermined reference value is input from the input terminal, and the voltage detecting means outputs a voltage lower than the reference value. 5. The interface circuit according to claim 1, further comprising a voltage detection circuit that drives the output means by setting the output terminal to a voltage lower than the voltage when a voltage is input.
JP35963997A 1997-12-26 1997-12-26 Interface circuit Expired - Fee Related JP3387804B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35963997A JP3387804B2 (en) 1997-12-26 1997-12-26 Interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35963997A JP3387804B2 (en) 1997-12-26 1997-12-26 Interface circuit

Publications (2)

Publication Number Publication Date
JPH11196191A JPH11196191A (en) 1999-07-21
JP3387804B2 true JP3387804B2 (en) 2003-03-17

Family

ID=18465536

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35963997A Expired - Fee Related JP3387804B2 (en) 1997-12-26 1997-12-26 Interface circuit

Country Status (1)

Country Link
JP (1) JP3387804B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002063678A (en) * 2000-08-18 2002-02-28 Toyo Keiki Co Ltd Meter device for automatic meter-reading and automatic meter-reading system

Also Published As

Publication number Publication date
JPH11196191A (en) 1999-07-21

Similar Documents

Publication Publication Date Title
JP3387804B2 (en) Interface circuit
JP2876425B2 (en) Telephone network controller
JP2507844Y2 (en) Terminal network controller
KR900007587B1 (en) Information communication system
JP3473125B2 (en) Terminal network controller
KR900007590B1 (en) Housing information communicating system
JP3228636B2 (en) Terminal network controller
KR950008178Y1 (en) Line interface devices for the remote controlling system
JP2685937B2 (en) Network controller
JP3066011B1 (en) Premises phone
JPS6316062B2 (en)
JPH0641415Y2 (en) Station line circuit of telemeter system
JP2565956B2 (en) Network controller
KR940009429B1 (en) Remote control system for public telephone
JP2958230B2 (en) Terminal network controller
JP3225070B2 (en) Communication device
JPH08163281A (en) Power unit for automatic managing system utilizing telephone line
KR900010395Y1 (en) Meter detecting data transmission apparatus
JPH04222150A (en) Network controller
JP3888029B2 (en) Digital line terminator
JP3048368B2 (en) Power supply circuit for terminal equipment
JP2731247B2 (en) Network controller
KR900007588B1 (en) Housing information sending system
JP3057930B2 (en) Terminal network controller
JP2864823B2 (en) Terminal network controller

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080110

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090110

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100110

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110110

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120110

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees