JP2017010229A - Communication device and communication system using the same - Google Patents

Communication device and communication system using the same Download PDF

Info

Publication number
JP2017010229A
JP2017010229A JP2015124272A JP2015124272A JP2017010229A JP 2017010229 A JP2017010229 A JP 2017010229A JP 2015124272 A JP2015124272 A JP 2015124272A JP 2015124272 A JP2015124272 A JP 2015124272A JP 2017010229 A JP2017010229 A JP 2017010229A
Authority
JP
Japan
Prior art keywords
determination period
communication
signal
unit
control unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2015124272A
Other languages
Japanese (ja)
Other versions
JP6436419B2 (en
Inventor
友昭 水田
Tomoaki Mizuta
友昭 水田
一彦 五所野尾
Kazuhiko Goshonoo
一彦 五所野尾
基弘 大井
Motohiro Oi
基弘 大井
冉 李
Ran Li
冉 李
享 伊藤
Susumu Ito
享 伊藤
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.)
Panasonic Intellectual Property Management Co Ltd
Original Assignee
Panasonic Intellectual Property Management Co Ltd
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 Panasonic Intellectual Property Management Co Ltd filed Critical Panasonic Intellectual Property Management Co Ltd
Priority to JP2015124272A priority Critical patent/JP6436419B2/en
Priority to PCT/JP2016/002640 priority patent/WO2016203721A1/en
Publication of JP2017010229A publication Critical patent/JP2017010229A/en
Application granted granted Critical
Publication of JP6436419B2 publication Critical patent/JP6436419B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B17/00Fire alarms; Alarms responsive to explosion
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/38Synchronous or start-stop systems, e.g. for Baudot code
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/04Speed or phase control by synchronisation signals

Landscapes

  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Fire Alarms (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Alarm Systems (AREA)
  • Dc Digital Transmission (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the possibility of erroneously obtaining data included in a communication signal.SOLUTION: A communication device 10 (slave unit 1) comprises a reception unit 11 and a control unit 13. The reception unit 11 is electrically connected with a pair of electric wires 41A and 41B, receives a communication signal S1 transmitted by a change of voltage Vt1 applied to between the pair of electric wires 41A and 41B, and outputs a reception signal corresponding to the communication signal S1. The control unit 13 monitors the presence or absence of a rising edge of the reception signal in a first determination period, monitors the presence or absence of a falling edge of the reception signal in a second determination period, thereby determines a bit in data included in the communication signal S1, and obtains the data. Then, the control unit 13 sets timing of each of the first determination period and the second determination period on the basis of the pulse width of a start bit in the reception signal.SELECTED DRAWING: Figure 1

Description

本発明は、一般に通信装置およびそれを用いた通信システム、より詳細には、一対の電線を媒体として他の通信装置と通信を行う通信装置およびそれを用いた通信システムに関する。   The present invention generally relates to a communication device and a communication system using the communication device, and more particularly to a communication device that communicates with another communication device using a pair of electric wires as a medium and a communication system using the communication device.

従来、火災受信機から導出された感知器回線に火災感知器を接続して構成された自動火災報知システムが知られており、たとえば特許文献1に開示されている。この自動火災報知システムの火災受信機は、火災感知器に感知器回線を介して制御信号を出力するように構成されている。また、火災感知器は、火災受信機からの制御信号を受けたとき、異常検出モードを実行するように構成されている。   2. Description of the Related Art Conventionally, an automatic fire alarm system configured by connecting a fire detector to a sensor line derived from a fire receiver is known. The fire receiver of this automatic fire alarm system is configured to output a control signal to a fire detector via a sensor line. The fire detector is configured to execute an abnormality detection mode when receiving a control signal from the fire receiver.

特開2002−8154号公報JP 2002-8154 A

上記のような自動火災報知システム(通信システム)では、たとえば感知器回線の配線が長くなると、感知器回線の抵抗成分および容量成分(感知器回線の線間容量)が大きくなる。そして、これら感知器回線の抵抗成分および容量成分に起因して、制御信号(通信信号)の波形(立ち上がり波形および立ち下がり波形)がなまる可能性がある。このため、火災受信機(通信装置)では、制御信号に含まれるデータを誤って取得する可能性がある。   In the automatic fire alarm system (communication system) as described above, for example, when the wiring of the sensor line becomes long, the resistance component and the capacitance component (capacity between the lines of the sensor line) of the sensor line increase. Then, due to the resistance component and the capacitance component of these sensor lines, the waveform (rising waveform and falling waveform) of the control signal (communication signal) may be lost. For this reason, the fire receiver (communication device) may erroneously acquire data included in the control signal.

本発明は、上記の点に鑑みてなされており、通信信号に含まれるデータを誤って取得する可能性を低減することを目的とする。   The present invention has been made in view of the above points, and an object thereof is to reduce the possibility of erroneously acquiring data included in a communication signal.

本発明の通信装置は、一対の電線に電気的に接続され、前記一対の電線間に印加される電圧の変化により送信される通信信号を受信して前記通信信号に応じた受信信号を出力する受信部と、第1判定期間での前記受信信号の立ち上がりの有無を監視し、かつ前記第1判定期間とは異なる第2判定期間での前記受信信号の立ち下がりの有無を監視することで、前記通信信号に含まれるデータのビットを判定し、前記データを取得する制御部とを備え、前記通信信号は、前記データの先頭に付加されるスタートビットを含み、前記制御部は、前記受信信号における前記スタートビットのパルス幅に基づいて、前記第1判定期間および前記第2判定期間の各々のタイミングを設定することを特徴とする。   The communication device of the present invention is electrically connected to a pair of electric wires, receives a communication signal transmitted by a change in voltage applied between the pair of electric wires, and outputs a reception signal corresponding to the communication signal. By monitoring the presence or absence of rising of the reception signal in the first determination period and the presence or absence of falling of the reception signal in a second determination period different from the first determination period, A control unit that determines a bit of data included in the communication signal and acquires the data, wherein the communication signal includes a start bit added to the head of the data, and the control unit includes the received signal The timing of each of the first determination period and the second determination period is set based on the pulse width of the start bit.

本発明の通信装置は、一対の電線に電気的に接続され、前記一対の電線間に印加される電圧の変化により送信される通信信号を受信して前記通信信号に応じた受信信号を出力する受信部と、第1判定期間での前記受信信号の立ち下がりの有無を監視し、かつ前記第1判定期間とは異なる第2判定期間での前記受信信号の立ち上がりの有無を監視することで、前記通信信号に含まれるデータのビットを判定し、前記データを取得する制御部とを備え、前記通信信号は、前記データの先頭に付加されるスタートビットを含み、前記制御部は、前記受信信号における前記スタートビットのパルス幅に基づいて、前記第1判定期間および前記第2判定期間の各々のタイミングを設定することを特徴とする。   The communication device of the present invention is electrically connected to a pair of electric wires, receives a communication signal transmitted by a change in voltage applied between the pair of electric wires, and outputs a reception signal corresponding to the communication signal. By monitoring the receiving unit and the presence or absence of the falling edge of the received signal in the first determination period, and monitoring the presence or absence of the rising edge of the reception signal in a second determination period different from the first determination period, A control unit that determines a bit of data included in the communication signal and acquires the data, wherein the communication signal includes a start bit added to the head of the data, and the control unit includes the received signal The timing of each of the first determination period and the second determination period is set based on the pulse width of the start bit.

本発明の通信システムは、上記の通信装置である子機と、前記一対の電線に電気的に接続され、前記子機に対して前記通信信号を送信する親機とを備えることを特徴とする。   A communication system according to the present invention includes: a slave unit that is the above-described communication device; and a master unit that is electrically connected to the pair of electric wires and transmits the communication signal to the slave unit. .

本発明は、通信信号に含まれるデータを誤って取得する可能性を低減することができる。   The present invention can reduce the possibility of erroneously acquiring data included in a communication signal.

実施形態に係る通信装置および通信システムの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the communication apparatus and communication system which concern on embodiment. 図2A,図2Bは、それぞれ実施形態に係る通信装置の動作説明図である。2A and 2B are operation explanatory diagrams of the communication device according to the embodiment, respectively. 実施形態に係る通信システムの全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the communication system which concerns on embodiment. 図4は、実施形態に係る通信システムにおいて、波形なまりの無い通信信号および受信信号の波形図である。FIG. 4 is a waveform diagram of a communication signal and a received signal without waveform rounding in the communication system according to the embodiment. 図5は、実施形態に係る通信システムにおいて、波形なまりの有る通信信号および受信信号の波形図である。FIG. 5 is a waveform diagram of a communication signal and a reception signal having a rounded waveform in the communication system according to the embodiment. 図6A,図6Bは、それぞれ実施形態に係る通信システムにおける受信信号の例を示す波形図である。6A and 6B are waveform diagrams illustrating examples of received signals in the communication system according to the embodiment. 実施形態に係る通信装置の動作の一例を示す説明図である。It is explanatory drawing which shows an example of operation | movement of the communication apparatus which concerns on embodiment. 実施形態に係る通信装置の動作の他の一例を示す説明図である。It is explanatory drawing which shows another example of operation | movement of the communication apparatus which concerns on embodiment. 図9A,図9Bは、それぞれ実施形態に係る通信装置のさらに他の一例を示す説明図である。FIG. 9A and FIG. 9B are explanatory diagrams illustrating still another example of the communication device according to the embodiment.

本発明の実施形態に係る通信装置10(子機1)の第1の構成例は、図1に示すように、受信部11と、制御部13とを備えている。受信部11は、一対の電線41A,41Bに電気的に接続され、一対の電線41A,41B間に印加される電圧(以下、「待機電圧」という)Vt1の変化により送信される通信信号S1を受信して通信信号S1に応じた受信信号Rx1を出力する。   As shown in FIG. 1, the first configuration example of the communication device 10 (slave device 1) according to the embodiment of the present invention includes a receiving unit 11 and a control unit 13. The receiving unit 11 is electrically connected to the pair of electric wires 41A and 41B and receives a communication signal S1 transmitted by a change in voltage Vt1 (hereinafter referred to as “standby voltage”) applied between the pair of electric wires 41A and 41B. Received and outputs a received signal Rx1 corresponding to the communication signal S1.

制御部13は、図2A,図2Bに示すように、第1判定期間T1での受信信号Rx1の立ち上がりの有無を監視し、かつ第2判定期間T2での受信信号Rx1の立ち下がりの有無を監視する。そして、制御部13は、これら第1判定期間T1および第2判定期間T2での判定結果により、通信信号S1に含まれるデータのビットを判定し、データを取得する。第2判定期間T2は、第1判定期間T1とは異なっている。   As shown in FIGS. 2A and 2B, the control unit 13 monitors whether the reception signal Rx1 rises during the first determination period T1, and determines whether the reception signal Rx1 falls during the second determination period T2. Monitor. And the control part 13 determines the bit of the data contained in the communication signal S1 by the determination result in these 1st determination period T1 and 2nd determination period T2, and acquires data. The second determination period T2 is different from the first determination period T1.

ここで、通信信号S1は、データの先頭に付加されるスタートビットSB1を含んでいる。   Here, the communication signal S1 includes a start bit SB1 added to the head of the data.

そして、制御部13は、受信信号Rx1におけるスタートビットSB1のパルス幅W0に基づいて、第1判定期間T1および第2判定期間T2の各々のタイミングを設定する。   Then, the control unit 13 sets each timing of the first determination period T1 and the second determination period T2 based on the pulse width W0 of the start bit SB1 in the reception signal Rx1.

また、本発明の実施形態に係る通信装置10(子機1)の第2の構成例は、上記の第1の構成例において、「立ち上がり」を「立ち下がり」に、「立ち下がり」を「立ち上がり」にそれぞれ読み替えた構成である。   Further, the second configuration example of the communication device 10 (slave device 1) according to the embodiment of the present invention is the above-described first configuration example, in which “rise” is set to “fall” and “fall” is set to “fall”. The configuration is read as “rise”.

また、本発明の実施形態に係る通信システム100は、図1に示すように、通信装置10である子機1と、親機2とを備えている。親機2は、一対の電線41A,41Bに電気的に接続され、子機1に対して通信信号S1を送信する。   Moreover, the communication system 100 which concerns on embodiment of this invention is provided with the subunit | mobile_unit 1 which is the communication apparatus 10, and the main | base station 2 as shown in FIG. The base unit 2 is electrically connected to the pair of electric wires 41 </ b> A and 41 </ b> B and transmits a communication signal S <b> 1 to the handset 1.

本実施形態の通信装置10および通信システム100では、制御部13は、通信信号S1の波形なまりに応じて第1判定期間T1および第2判定期間T2の各々のタイミングを設定している。したがって、本実施形態の通信装置10および通信システム100では、通信信号S1に含まれるデータを誤って取得する可能性を低減することができる。   In the communication apparatus 10 and the communication system 100 of the present embodiment, the control unit 13 sets the timings of the first determination period T1 and the second determination period T2 according to the waveform rounding of the communication signal S1. Therefore, in the communication device 10 and the communication system 100 according to the present embodiment, the possibility of erroneously acquiring data included in the communication signal S1 can be reduced.

以下、本実施形態に係る通信装置10および通信システム100について詳しく説明する。ただし、以下に説明する構成は、本発明の一例に過ぎず、本発明は、下記の実施形態に限定されることはなく、この実施形態以外であっても、本発明に係る技術的思想を逸脱しない範囲であれば、設計等に応じて種々の変更が可能である。   Hereinafter, the communication device 10 and the communication system 100 according to the present embodiment will be described in detail. However, the configuration described below is merely an example of the present invention, and the present invention is not limited to the following embodiment, and the technical idea according to the present invention is not limited to this embodiment. Various changes can be made according to the design or the like as long as they do not deviate.

また、以下の説明では、自動火災報知システムの子機1を通信装置10として説明するが、通信装置10を限定する趣旨ではない。同様に、以下の説明では、自動火災報知システムを通信システム100として説明するが、通信システム100を限定する趣旨ではない。   Moreover, although the following description demonstrates the subunit | mobile_unit 1 of an automatic fire alerting | reporting system as the communication apparatus 10, it is not the meaning which limits the communication apparatus 10. FIG. Similarly, in the following description, the automatic fire alarm system is described as the communication system 100, but the communication system 100 is not intended to be limited.

<全体構成>
以下では、本実施形態の通信システム100が集合住宅(マンション)に用いられる場合を例示する。もちろん、本実施形態の通信システム100は、集合住宅に限らず、たとえば商業施設、病院、ホテル、雑居ビル等、様々な建物に用いられてもよい。
<Overall configuration>
Below, the case where the communication system 100 of this embodiment is used for an apartment house (apartment) is illustrated. Of course, the communication system 100 according to the present embodiment is not limited to an apartment house, and may be used in various buildings such as commercial facilities, hospitals, hotels, and residential buildings.

本実施形態の通信システム100においては、図3に示すように1棟の集合住宅5に対して、1台の親機2と、複数台の子機101,102,103…とが設けられている。なお、複数台の子機101,102,103…の各々を特に区別しないときには単に「子機1」という。   In the communication system 100 according to the present embodiment, as shown in FIG. 3, one master unit 2 and a plurality of slave units 101, 102, 103,... Yes. When each of the plurality of slave units 101, 102, 103... Is not particularly distinguished, it is simply referred to as “slave unit 1”.

さらに、この通信システム100では、一対の電線41A,41Bが1〜4階の階(フロア)ごとに配線されている。要するに、2本1組(2線式)の電線41A,41Bは、集合住宅5全体で4組設けられている。また、一対の電線41A,41Bの終端(親機2と反対側の端部)においては、一対の電線41A,41B間が終端抵抗3を介して電気的に接続されている。ただし、終端抵抗3は必須の構成ではなく、省略されていてもよい。   Furthermore, in this communication system 100, a pair of electric wires 41A and 41B are wired for each of the first to fourth floors. In short, two sets of two sets (two-wire type) of electric wires 41 </ b> A and 41 </ b> B are provided for the entire apartment house 5. In addition, the pair of electric wires 41 </ b> A and 41 </ b> B are electrically connected via the terminal resistor 3 at the end of the pair of electric wires 41 </ b> A and 41 </ b> B (the end opposite to the parent device 2). However, the termination resistor 3 is not an essential configuration and may be omitted.

本実施形態の通信システム100の基本構成は、一般的な自動火災報知システムと同じである。通信システム100は、たとえば、子機1により火災の発生を検知し、この子機1から親機2へ火災発生の通知(火災報)がなされるように構成されている。なお、子機1は、火災の発生を検知する構成に限らず、たとえば、発信機等を含む構成であってもよい。発信機とは、たとえば、押しボタンスイッチを有し、人が火災を発見した際に押しボタンスイッチを手動で操作することによって、親機2に対して火災発生の通知を行う装置を意味する。   The basic configuration of the communication system 100 of the present embodiment is the same as a general automatic fire notification system. The communication system 100 is configured such that, for example, the occurrence of a fire is detected by the slave unit 1, and a fire occurrence notification (fire report) is made from the slave unit 1 to the master unit 2. In addition, the subunit | mobile_unit 1 may be the structure containing not only the structure which detects generation | occurrence | production of a fire but a transmitter etc., for example. The transmitter means, for example, a device that has a push button switch and notifies the parent device 2 of the occurrence of a fire by manually operating the push button switch when a person detects a fire.

また、本実施形態の通信システム100は、他装置を連動させるための通知(連動報)を子機1から親機2が受けた際、防排煙設備や非常用放送設備等の他装置を連動させる連動機能を有している。そのため、本実施形態の通信システム100は、火災の発生時に、防排煙設備の防火扉を制御したり、非常用放送設備にて音響または音声により火災の発生を報知したりすることが可能である。   In addition, the communication system 100 according to the present embodiment allows other devices such as smoke prevention facilities and emergency broadcasting facilities to be connected when the parent device 2 receives a notification (interlocking report) for linking other devices. Has an interlocking function for interlocking. Therefore, the communication system 100 according to the present embodiment can control the fire door of the smoke evacuation facility or notify the occurrence of the fire by sound or voice in the emergency broadcasting facility when a fire occurs. is there.

ところで、自動火災報知システムとしては、一般に、P型(Proprietary-type)の自動火災報知システムと、R型(Record-type)の自動火災報知システムとが存在する。P型
の自動火災報知システムは、子機が一対の電線間を短絡することで、子機から親機へ火災発生の通知を行うように構成されている。R型の自動火災報知システムは、子機が通信により親機へ火災発生の通知を行うように構成されている。
By the way, as an automatic fire alarm system, there are generally a P-type (Proprietary-type) automatic fire alarm system and an R-type (Record-type) automatic fire alarm system. The P-type automatic fire notification system is configured such that the slave unit notifies the master unit of the occurrence of a fire by short-circuiting the pair of electric wires. The R-type automatic fire alarm system is configured such that a slave unit notifies the master unit of a fire by communication.

本実施形態の通信システム100は、P型の自動火災報知システムを基本とする。そして、本実施形態の通信システム100では、P型の自動火災報知システムが導入されていた集合住宅5において、既存の配線(フロアごとに設置された一対の電線41A,41B)をそのまま使用し、親機2および複数台の子機1を入れ替えた場合を想定する。なお、本実施形態の通信システム100は、新規に導入される自動火災報知システムとして採用することも可能である。   The communication system 100 of this embodiment is based on a P-type automatic fire alarm system. In the communication system 100 of the present embodiment, the existing wiring (the pair of electric wires 41A and 41B installed for each floor) is used as it is in the apartment house 5 where the P-type automatic fire alarm system has been introduced. The case where the main | base station 2 and the several subunit | mobile_unit 1 are replaced is assumed. In addition, the communication system 100 of this embodiment can also be employ | adopted as an automatic fire alarm system introduced newly.

以下、親機2および複数台の子機1(通信装置10)の構成について詳細に説明する。なお、以下では、複数台の子機1のうち1台の子機1のみについて説明し、残りの子機1については、この1台の子機1と同じ構成であるため、説明を省略する。   Hereinafter, the configuration of the master unit 2 and the plurality of slave units 1 (communication device 10) will be described in detail. In the following description, only one slave unit 1 among the plurality of slave units 1 will be described, and the remaining slave units 1 have the same configuration as the single slave unit 1, and thus description thereof will be omitted. .

<親機の構成>
親機2は、子機1から火災発生の通知(火災報)、並びに他装置を連動させるための通知(連動報)を受けるP型受信機である。親機2は、建物(集合住宅5)の管理室に設置される。
<Configuration of base unit>
The master unit 2 is a P-type receiver that receives a notification of fire occurrence (fire report) and a notification (link report) for interlocking other devices from the slave unit 1. Base unit 2 is installed in a management room of a building (apartment house 5).

親機2は、図1に示すように、印加部21の他、抵抗22と、受信部23と、送信部24と、各種の表示を行う表示部25と、ユーザからの操作入力を受け付ける操作部26と、各部を制御する制御部27とを備えている。   As shown in FIG. 1, the master unit 2 includes an application unit 21, a resistor 22, a reception unit 23, a transmission unit 24, a display unit 25 that performs various displays, and an operation that receives an operation input from a user. The unit 26 and a control unit 27 that controls each unit are provided.

印加部21は、所定の電圧を一対の電線41A,41Bに対して印加する。ここでは一例として、印加部21が一対の電線41A,41B間に印加する電圧は直流24Vとするが、この値に限定する趣旨ではない。   The application unit 21 applies a predetermined voltage to the pair of electric wires 41A and 41B. Here, as an example, the voltage applied between the pair of electric wires 41A and 41B by the applying unit 21 is 24V DC, but the present invention is not limited to this value.

抵抗22は、印加部21と一対の電線41A,41Bの少なくとも一方との間に接続されている。図1の例では、抵抗22は、一対の電線41A,41Bのうち一方(高電位側)の電線41Aと印加部21との間に挿入されている。ただし、この例に限らず、抵抗22は、他方(低電位側)の電線41Bと印加部21との間に挿入されていてもよいし、一対の電線41A,41Bの両方と印加部21との間にそれぞれ挿入されていてもよい。   The resistor 22 is connected between the applying unit 21 and at least one of the pair of electric wires 41A and 41B. In the example of FIG. 1, the resistor 22 is inserted between one (high potential side) electric wire 41 </ b> A of the pair of electric wires 41 </ b> A and 41 </ b> B and the application unit 21. However, not limited to this example, the resistor 22 may be inserted between the other (low potential side) electric wire 41B and the applying unit 21, or both of the pair of electric wires 41A and 41B and the applying unit 21. Between them.

また、抵抗22は、抵抗22を流れる電流を電圧降下により抵抗22の両端間の電位差(電圧)に変換する第1の機能と、一対の電線41A,41B間が短絡したときに一対の電線41A,41Bに流れる電流を制限する第2の機能との2つの機能を有している。要するに、抵抗22は、電流−電圧変換素子としての第1の機能と、電流制限素子としての第2の機能とを兼ね備えている。ここでは一例として、抵抗22の抵抗値は470Ωとするが、この値に限定する趣旨ではない。   The resistor 22 has a first function of converting a current flowing through the resistor 22 into a potential difference (voltage) between both ends of the resistor 22 by a voltage drop, and a pair of wires 41A when the pair of wires 41A and 41B is short-circuited. , 41B, and a second function for limiting the current flowing through 41B. In short, the resistor 22 has a first function as a current-voltage conversion element and a second function as a current limiting element. Here, as an example, the resistance value of the resistor 22 is 470Ω, but the value is not limited to this value.

受信部23は、抵抗22と一対の電線41A,41Bとの間に電気的に接続されている。受信部23は、一対の電線41A,41B間の電圧(待機電圧)Vt1に基づいて、子機1から送信される通信信号S2を受信する。具体的には、子機1が後述するように一対の電線41A,41Bを流れる電流を引き込むと、抵抗22を流れる電流の電流値が変化し、待機電圧Vt1が変化する。受信部23は、この待機電圧Vt1の電圧値を検出することにより、子機1から送信される通信信号S2を受信する。その他、受信部23は、待機電圧Vt1の電圧値を検出することにより、子機1から通知される火災報(後述する)や連動報(後述する)を受信する。   The receiving unit 23 is electrically connected between the resistor 22 and the pair of electric wires 41A and 41B. The receiving part 23 receives the communication signal S2 transmitted from the subunit | mobile_unit 1 based on the voltage (standby voltage) Vt1 between a pair of electric wires 41A and 41B. Specifically, when the handset 1 draws in the current flowing through the pair of electric wires 41A and 41B as will be described later, the current value of the current flowing through the resistor 22 changes and the standby voltage Vt1 changes. The receiving unit 23 receives the communication signal S2 transmitted from the child device 1 by detecting the voltage value of the standby voltage Vt1. In addition, the receiving unit 23 receives a fire report (described later) and a linked report (described later) notified from the slave unit 1 by detecting the voltage value of the standby voltage Vt1.

送信部24は、抵抗22と一対の電線41A,41Bとの間に電気的に接続されている。送信部24は、一対の電線41A,41Bを流れる電流を変化させることで、通信信号S1を子機1に送信する。具体的には、送信部24が印加部21から抵抗22に流れる電流を引き込むと、待機電圧Vt1が変化する。つまり、送信部24は、印加部21から抵抗22に流れる電流の引き込みにより、待機電圧Vt1を変化させることで、通信信号S1を子機1に送信する。   The transmission unit 24 is electrically connected between the resistor 22 and the pair of electric wires 41A and 41B. The transmission part 24 transmits the communication signal S1 to the subunit | mobile_unit 1 by changing the electric current which flows through a pair of electric wire 41A, 41B. Specifically, when the transmission unit 24 draws a current flowing from the application unit 21 to the resistor 22, the standby voltage Vt1 changes. That is, the transmission unit 24 transmits the communication signal S1 to the child device 1 by changing the standby voltage Vt1 by drawing the current flowing from the application unit 21 to the resistor 22.

本実施形態の通信システム100では、制御部27は、送信部24を制御して待機電圧Vt1の電圧値を第1レベルV1と第2レベルV2(<V1)とで交互に切り替えることにより、通信信号S1を子機1に送信している(図4A参照)。   In the communication system 100 of this embodiment, the control unit 27 controls the transmission unit 24 to alternately switch the voltage value of the standby voltage Vt1 between the first level V1 and the second level V2 (<V1). The signal S1 is transmitted to the child device 1 (see FIG. 4A).

表示部25は、たとえばLED(Light Emitting Diode)や液晶ディスプレイ、有機エレクトロルミネセンスディスプレイ等を備えている。表示部25は、制御部27に制御されることで、子機1から受信した通信信号S2に含まれるデータに応じた内容を表示する。表示部25は、たとえば火災の発生や、火災の発生した階(フロア)を表示する。また、表示部25は、火災を検知した子機1の固有の識別情報(たとえば、アドレス)を取得できる場合は、当該子機1の設置場所を表示することも可能である。   The display unit 25 includes, for example, an LED (Light Emitting Diode), a liquid crystal display, an organic electroluminescence display, and the like. The display part 25 displays the content according to the data contained in the communication signal S2 received from the subunit | mobile_unit 1 by being controlled by the control part 27. FIG. The display unit 25 displays, for example, the occurrence of a fire and the floor (floor) where the fire occurred. Moreover, the display part 25 can also display the installation place of the said subunit | mobile_unit 1 when the specific identification information (for example, address) of the subunit | mobile_unit 1 which detected the fire can be acquired.

制御部27は、マイコン(マイクロコンピュータ)を主構成とし、メモリに記憶されたプログラムを実行することにより所望の機能を実現する。なお、プログラムは、予めメモリに書き込まれていてもよいが、メモリカードのような記録媒体に記憶されて提供されてもよいし、電気通信回線を通じて提供されてもよい。   The control unit 27 has a microcomputer (microcomputer) as a main component, and implements a desired function by executing a program stored in a memory. The program may be written in the memory in advance, but may be provided by being stored in a recording medium such as a memory card, or may be provided through an electric communication line.

親機2は、上述したように印加部21から一対の電線41A,41B間に電圧を印加することにより、一対の電線41A,41Bに接続されている子機1を含め、通信システム100全体の動作用の電源として機能する。   As described above, the base unit 2 applies the voltage between the pair of electric wires 41A and 41B from the applying unit 21, thereby including the slave unit 1 connected to the pair of electric wires 41A and 41B. Functions as a power source for operation.

さらに、親機2は、停電に際しても通信システム100の動作用の電源を確保できるように、蓄電池を用いた予備電源28をさらに備えている。親機2は、商用電源、自家発電設備等を主電源とする。印加部21は、電力の供給元を、主電源の停電時に主電源から予備電源28に自動的に切り替え、主電源の復旧時には予備電源28から主電源に自動的に切り替える。   Furthermore, the base unit 2 further includes a standby power source 28 using a storage battery so that a power source for operation of the communication system 100 can be secured even in the event of a power failure. The main unit 2 uses a commercial power source, a private power generation facility, or the like as a main power source. The application unit 21 automatically switches the power supply source from the main power source to the standby power source 28 when the main power source is interrupted, and automatically switches from the standby power source 28 to the main power source when the main power source is restored.

<子機の構成>
子機1(通信装置10)は、図1に示すように、受信部11と、送信部12と、制御部13と、ダイオードブリッジ(Diode Bridge:DB)14と、電源部15と、センサ16と、記憶部17とを備えている。
<Configuration of slave unit>
As shown in FIG. 1, the slave unit 1 (communication device 10) includes a reception unit 11, a transmission unit 12, a control unit 13, a diode bridge (DB) 14, a power supply unit 15, and a sensor 16. And a storage unit 17.

ダイオードブリッジ14は、入力端に一対の電線41A,41Bが電気的に接続され、出力端に受信部11、送信部12、電源部15が電気的に接続されている。   In the diode bridge 14, a pair of electric wires 41 </ b> A and 41 </ b> B are electrically connected to an input end, and a reception unit 11, a transmission unit 12, and a power supply unit 15 are electrically connected to an output end.

電源部15は、一対の電線41A,41Bから電力を供給されることで子機1の動作用の電力を生成する。   The power supply part 15 produces | generates the electric power for operation | movement of the subunit | mobile_unit 1 by supplying electric power from a pair of electric wire 41A, 41B.

センサ16は、たとえば煙の濃度の変化、温度の変化、一酸化炭素等のガス濃度の変化を検出することで、火災や煙の発生を検知する。センサ16の検知結果は、制御部13に入力される。   The sensor 16 detects the occurrence of fire or smoke, for example, by detecting a change in smoke concentration, a change in temperature, or a change in gas concentration such as carbon monoxide. The detection result of the sensor 16 is input to the control unit 13.

受信部11は、待機電圧Vt1の変化に基づいて、親機2から送信される通信信号S1を受信する。具体的には、親機2が一対の電線41A,41Bを流れる電流を引き込むと、抵抗22を流れる電流の電流値が変化し、待機電圧Vt1が変化する。受信部11は、この待機電圧Vt1に対応するダイオードブリッジ14の出力電圧Vr1の電圧値を検出することにより、親機2から送信される通信信号S1を受信する。   The receiving unit 11 receives the communication signal S1 transmitted from the parent device 2 based on the change in the standby voltage Vt1. Specifically, when the base unit 2 draws the current flowing through the pair of electric wires 41A and 41B, the current value of the current flowing through the resistor 22 changes, and the standby voltage Vt1 changes. The receiving unit 11 receives the communication signal S1 transmitted from the parent device 2 by detecting the voltage value of the output voltage Vr1 of the diode bridge 14 corresponding to the standby voltage Vt1.

送信部12は、一対の電線41A,41Bに電気的に接続されている。送信部12は、一対の電線41A,41Bを流れる電流を変化させることで、通信信号S2を親機2に送信する。具体的には、送信部12が一対の電線41A,41Bに流れる電流を引き込むと、待機電圧Vt1が変化する。つまり、送信部12は、一対の電線41A,41Bに流れる電流の引き込みにより、一対の電線41A,41B間の電圧(待機電圧)Vt1を変化させることで、通信信号S2を親機2に送信する。   The transmission unit 12 is electrically connected to the pair of electric wires 41A and 41B. The transmission part 12 transmits the communication signal S2 to the main | base station 2 by changing the electric current which flows through a pair of electric wire 41A, 41B. Specifically, when the transmission unit 12 draws a current flowing through the pair of electric wires 41A and 41B, the standby voltage Vt1 changes. That is, the transmission unit 12 transmits the communication signal S2 to the parent device 2 by changing the voltage (standby voltage) Vt1 between the pair of wires 41A and 41B by drawing the current flowing through the pair of wires 41A and 41B. .

制御部13は、受信部11および送信部12を制御する。制御部13は、センサ16の出力に応じて電流の引き込み量を調節することで送信部12から親機2に通信信号S2を送信させたり、親機2からの通信信号S1を受信部11で受信させたりする。ここでは、制御部13はマイコン(マイクロコンピュータ)を主構成とし、メモリに記憶されたプログラムを実行することにより所望の機能を実現する。なお、プログラムは、予めメモリに書き込まれていてもよいが、メモリカードのような記録媒体に記憶されて提供されてもよいし、電気通信回線を通じて提供されてもよい。   The control unit 13 controls the reception unit 11 and the transmission unit 12. The control unit 13 adjusts the amount of current drawn according to the output of the sensor 16 to cause the transmission unit 12 to transmit the communication signal S2 to the base unit 2, or the communication unit S1 receives the communication signal S1 from the base unit 2. To receive. Here, the control unit 13 has a microcomputer as a main component, and implements a desired function by executing a program stored in a memory. The program may be written in the memory in advance, but may be provided by being stored in a recording medium such as a memory card, or may be provided through an electric communication line.

制御部13は、センサ16の出力(センサ値)を定期的に読み込み、センサ16の出力が第1基準値を超えると、火災と判断する。そして、制御部13は、送信部12を制御して一対の電線41A,41Bを流れる電流の引き込み量を調節することにより、待機電圧Vt1を火災報レベルに変化させる。これにより、制御部13は、火災報を親機2に通知する。   The control unit 13 periodically reads the output (sensor value) of the sensor 16 and determines that a fire occurs when the output of the sensor 16 exceeds the first reference value. And the control part 13 changes the standby voltage Vt1 to a fire alert level by controlling the transmission part 12 and adjusting the drawing-in amount of the electric current which flows through a pair of electric wire 41A, 41B. Thereby, the control part 13 notifies the main | base station 2 of a fire report.

また、制御部13は、センサ16の出力が第2基準値(>第1基準値)を超えると、他装置を連動させると判断する。そして、制御部13は、送信部12を制御して一対の電線41A,41Bを流れる電流の引き込み量を調節することにより、待機電圧Vt1を連動報レベル(<火災報レベル)に変化させる。これにより、制御部13は、連動報を親機2に通知する。   In addition, when the output of the sensor 16 exceeds the second reference value (> first reference value), the control unit 13 determines that the other device is linked. Then, the control unit 13 controls the transmission unit 12 to adjust the amount of current drawn through the pair of electric wires 41A and 41B, thereby changing the standby voltage Vt1 to the interlocking reporting level (<fire reporting level). Thereby, the control unit 13 notifies the master unit 2 of the linked information.

また、制御部13は、送信部12を制御して、待機電圧Vt1の電圧値を第1レベルV1と第2レベルV2(<第1レベル)とで交互に切り替えることにより、親機2に通信信号S2を送信する。通信信号S2には、たとえば子機1単位で発報元を特定するための情報(識別情報)や、自動試験のための情報などが含まれる。なお、自動試験の項目としては、たとえば生存確認(キープアライブ)、子機1の自己診断等が含まれている。   In addition, the control unit 13 controls the transmission unit 12 to communicate with the parent device 2 by alternately switching the voltage value of the standby voltage Vt1 between the first level V1 and the second level V2 (<first level). Signal S2 is transmitted. The communication signal S2 includes, for example, information (identification information) for specifying the issue source for each slave unit, information for automatic testing, and the like. The items of the automatic test include, for example, survival confirmation (keep alive), self-diagnosis of the slave unit 1 and the like.

記憶部17は、子機1に予め割り当てられている識別情報(たとえば、アドレス)を少なくとも記憶する。つまり、複数台の子機101,102,103…には、それぞれ固有の識別情報が割り当てられている。各識別情報は、複数台の子機101,102,103…の各々の設置場所(たとえば部屋番号)と対応付けられて親機2に登録される。   The storage unit 17 stores at least identification information (for example, an address) assigned in advance to the child device 1. That is, unique identification information is assigned to each of the plurality of slave units 101, 102, 103. Each identification information is registered in the master unit 2 in association with each installation location (for example, a room number) of the plurality of slave units 101, 102, 103.

<通信信号の受信>
以下、子機1(通信装置10)による通信信号S1の受信について詳細に説明する。受信部11は、ダイオードブリッジ14の出力電圧Vr1の電圧値と閾値電圧Vs1の電圧値とを比較することにより、通信信号S1を受信して通信信号S1に応じた受信信号Rx1を出力する。具体的には、受信部11は、図4に示すように、出力電圧Vr1の電圧値が閾値電圧Vs1の電圧値を上回っていればローレベル(図4に示す「L」)の受信信号Rx1を出力する。また、受信部11は、出力電圧Vr1の電圧値が閾値電圧Vs1の電圧値以下であればハイレベル(図4に示す「H」)の受信信号Rx1を出力する。なお、受信部11は、出力電圧Vr1の電圧値が閾値電圧Vs1の電圧値を上回っていればハイレベル、出力電圧Vr1の電圧値が閾値電圧Vs1の電圧値以下であればローレベルの受信信号Rx1を出力する構成であってもよい。
<Reception of communication signal>
Hereinafter, reception of the communication signal S1 by the subunit | mobile_unit 1 (communication apparatus 10) is demonstrated in detail. The receiving unit 11 compares the voltage value of the output voltage Vr1 of the diode bridge 14 with the voltage value of the threshold voltage Vs1, thereby receiving the communication signal S1 and outputting the received signal Rx1 corresponding to the communication signal S1. Specifically, as illustrated in FIG. 4, the reception unit 11 receives the low level (“L” illustrated in FIG. 4) received signal Rx <b> 1 if the voltage value of the output voltage Vr <b> 1 exceeds the voltage value of the threshold voltage Vs <b> 1. Is output. Further, the receiving unit 11 outputs a reception signal Rx1 of a high level (“H” shown in FIG. 4) if the voltage value of the output voltage Vr1 is equal to or lower than the voltage value of the threshold voltage Vs1. The reception unit 11 receives a high level signal if the voltage value of the output voltage Vr1 exceeds the voltage value of the threshold voltage Vs1, and receives a low level signal if the voltage value of the output voltage Vr1 is equal to or less than the voltage value of the threshold voltage Vs1. It may be configured to output Rx1.

そして、制御部13は、受信信号Rx1を処理することで、通信信号S1に含まれるデータを取得する。たとえば、制御部13は、通信信号S1のビット周期BT1(図4参照)ごとに受信信号Rx1をサンプリングすることで、受信信号Rx1を「0」,「1」の2値に変換してデータを取得することが考えられる。つまり、通信信号S1のビット周期BT1ごとに受信信号Rx1がローレベル、ハイレベル、ローレベル、ハイレベルと変化する場合、制御部13は、受信信号Rx1を「0101」の4ビットのデータとして取得する。   And the control part 13 acquires the data contained in communication signal S1 by processing receiving signal Rx1. For example, the control unit 13 samples the reception signal Rx1 for each bit period BT1 (see FIG. 4) of the communication signal S1, thereby converting the reception signal Rx1 into binary values “0” and “1”. It is conceivable to acquire. That is, when the reception signal Rx1 changes to low level, high level, low level, and high level for each bit cycle BT1 of the communication signal S1, the control unit 13 acquires the reception signal Rx1 as 4-bit data “0101”. To do.

<通信信号の波形なまり>
ここで、本実施形態の通信システム100では、一対の電線41A,41Bの配線が長くなると、一対の電線41A,41Bの抵抗成分および容量成分(線間容量)が大きくなる。そして、これら一対の電線41A,41Bの抵抗成分および容量成分に起因して、出力電圧Vr1および通信信号S1の波形(立ち上がり波形および立ち下がり波形)がなまる可能性がある。
<Shape of communication signal waveform>
Here, in the communication system 100 of this embodiment, when the wiring of the pair of electric wires 41A and 41B becomes longer, the resistance component and the capacitance component (interline capacitance) of the pair of electric wires 41A and 41B increase. Then, due to the resistance component and the capacitance component of the pair of electric wires 41A and 41B, the waveforms (the rising waveform and the falling waveform) of the output voltage Vr1 and the communication signal S1 may be rounded.

たとえば、本実施形態の通信システム100において親機2から離れた位置にある子機1では、一対の電線41A,41Bの抵抗成分および容量成分により、出力電圧Vr1および通信信号S1の波形がなまる(図5参照)。この場合、受信部11は、波形なまりの無い出力電圧Vr1が入力される場合と比較して、ハイレベルのパルス幅の短い受信信号Rx1を出力することになる。   For example, in the slave unit 1 at a position away from the master unit 2 in the communication system 100 of the present embodiment, the waveforms of the output voltage Vr1 and the communication signal S1 are rounded by the resistance component and the capacitance component of the pair of electric wires 41A and 41B. (See FIG. 5). In this case, the reception unit 11 outputs a reception signal Rx1 having a high level and a short pulse width as compared with the case where the output voltage Vr1 without waveform rounding is input.

このように出力電圧Vr1および通信信号S1に波形なまりが存在する場合、上記のように通信信号S1のビット周期BT1ごとに受信信号Rx1をサンプリングする手法を用いると、制御部13は、通信信号S1のデータを誤って取得する可能性がある。たとえば、通信信号S1に含まれるデータが4ビットの「0101」であると仮定する。そして、出力電圧Vr1および通信信号S1の波形なまりにより、図6Aに示すような波形の受信信号Rx1を受信部11が出力すると仮定する。この場合、受信信号Rx1のハイレベルのパルス幅W1が、通信信号S1のビット周期BT1よりも長くなるので、制御部13は、1ビットの「1」を2ビットの「11」として誤って取得する可能性がある。   When the output voltage Vr1 and the communication signal S1 have rounded waveforms as described above, the control unit 13 uses the technique of sampling the reception signal Rx1 for each bit cycle BT1 of the communication signal S1 as described above. There is a possibility that data of will be obtained by mistake. For example, it is assumed that data included in the communication signal S1 is 4-bit “0101”. Then, it is assumed that the reception unit 11 outputs the reception signal Rx1 having a waveform as shown in FIG. 6A due to the waveform rounding of the output voltage Vr1 and the communication signal S1. In this case, since the high-level pulse width W1 of the reception signal Rx1 is longer than the bit period BT1 of the communication signal S1, the control unit 13 erroneously acquires “1” of 1 bit as “11” of 2 bits. there's a possibility that.

また、通信信号S1に含まれるデータが4ビットの「0110」であると仮定する。そして、出力電圧Vr1および通信信号S1の波形なまりにより、図6Bに示すような波形の受信信号Rx1を受信部11が出力すると仮定する。この場合、受信信号Rx1のハイレベルのパルス幅W2が、通信信号S1のビット周期BT1とほぼ同じ長さになるので、制御部13は、2ビットの「11」を1ビットの「1」として誤って取得する可能性がある。   Further, it is assumed that data included in the communication signal S1 is 4-bit “0110”. Then, it is assumed that the reception unit 11 outputs a reception signal Rx1 having a waveform as shown in FIG. 6B based on the waveform rounding of the output voltage Vr1 and the communication signal S1. In this case, since the high-level pulse width W2 of the reception signal Rx1 has substantially the same length as the bit cycle BT1 of the communication signal S1, the control unit 13 sets “11” of 2 bits as “1” of 1 bit. There is a possibility of getting it by mistake.

<判定期間>
そこで、本実施形態の子機1(通信装置10)では、制御部13は、以下のように構成されている。すなわち、制御部13は、第1判定期間T1(図2A参照)での受信信号Rx1の立ち上がりの有無を監視するように構成されている。また、制御部13は、第1判定期間T1とは異なる第2判定期間T2(図2A参照)での受信信号Rx1の立ち下がりの有無を監視するように構成されている。そして、制御部13は、これら第1判定期間T1および第2判定期間T2での判定結果により、通信信号S1に含まれるデータのビットを判定し、データを取得するように構成されている。
<Judgment period>
Therefore, in the handset 1 (communication device 10) of the present embodiment, the control unit 13 is configured as follows. That is, the control unit 13 is configured to monitor whether or not the reception signal Rx1 rises during the first determination period T1 (see FIG. 2A). Further, the control unit 13 is configured to monitor whether or not the reception signal Rx1 falls in a second determination period T2 (see FIG. 2A) different from the first determination period T1. And the control part 13 is comprised so that the bit of the data contained in communication signal S1 may be determined by the determination result in these 1st determination period T1 and 2nd determination period T2, and data may be acquired.

さらに、制御部13は、受信信号Rx1におけるスタートビットSB1のパルス幅W0に基づいて、第1判定期間T1および第2判定期間T2の各々のタイミングを設定するように構成されている。スタートビットSB1は、通信信号S1に含まれており、データの先頭に付加されている。   Furthermore, the control unit 13 is configured to set the timings of the first determination period T1 and the second determination period T2 based on the pulse width W0 of the start bit SB1 in the reception signal Rx1. The start bit SB1 is included in the communication signal S1, and is added to the head of the data.

つまり、制御部13は、スタートビットSB1のパルス幅W0に基づき、出力電圧Vr1および通信信号S1の波形なまりの度合いを推定する。そして、制御部13は、この波形なまりの度合いに基づいて、受信信号Rx1の立ち上がり・立ち下がりが生じると想定されるタイミングで第1判定期間T1および第2判定期間T2を設定する。   That is, the control unit 13 estimates the degree of waveform rounding of the output voltage Vr1 and the communication signal S1 based on the pulse width W0 of the start bit SB1. Then, the control unit 13 sets the first determination period T1 and the second determination period T2 at the timing at which the rising / falling of the reception signal Rx1 occurs based on the degree of waveform rounding.

以下、子機1(通信装置10)の制御部13が、通信信号S1のデータを取得する処理について詳細に説明する。まず、制御部13は、受信部11から受信信号Rx1を入力されると、受信信号Rx1に含まれるスタートビットSB1のパルス幅W0を算出する。具体的には、制御部13は、スタートビットSB1が立ち上がる時刻t1から、スタートビットSB1が立ち下がる時刻t2までに要する時間を計時することで、スタートビットSB1のパルス幅W0を算出する(図2A参照)。   Hereinafter, the process in which the control unit 13 of the slave unit 1 (communication device 10) acquires the data of the communication signal S1 will be described in detail. First, when receiving the reception signal Rx1 from the reception unit 11, the control unit 13 calculates the pulse width W0 of the start bit SB1 included in the reception signal Rx1. Specifically, the control unit 13 calculates the pulse width W0 of the start bit SB1 by measuring the time required from the time t1 when the start bit SB1 rises to the time t2 when the start bit SB1 falls (FIG. 2A). reference).

次に、制御部13は、このスタートビットSB1のパルス幅W0を用いて、次式(1),(2)により第1判定期間T1および第2判定期間T2の各々のタイミングを算出する。次式(1),(2)の各々において、「n」は第1判定期間T1(または第2判定期間T2)の回数を表している。また、次式(1),(2)の各々において、「α」は通信信号S1のビット周期BT1の値、「β」は受信信号Rx1のスタートビットSB1のパルス幅W0の値、「γ」は閾値電圧Vs1の変動を考慮した許容誤差を表している。   Next, the control unit 13 uses the pulse width W0 of the start bit SB1 to calculate the timings of the first determination period T1 and the second determination period T2 by the following equations (1) and (2). In each of the following expressions (1) and (2), “n” represents the number of times of the first determination period T1 (or the second determination period T2). In each of the following equations (1) and (2), “α” is the value of the bit period BT1 of the communication signal S1, “β” is the value of the pulse width W0 of the start bit SB1 of the received signal Rx1, and “γ”. Represents an allowable error in consideration of variation of the threshold voltage Vs1.

n・α+(α−β)±γ…(1)
n・α−(α−β)±γ…(2)
たとえば、α=800〔μs〕、γ=300〔μs〕と仮定する。また、たとえば図2Aに示すように、出力電圧Vr1および通信信号S1に波形なまりが存在しないと仮定する。この場合、受信信号Rx1のスタートビットSB1のパルス幅W0は、通信信号S1のビット周期BT1と等しくなるので、β=800〔μs〕となる。このため、第1判定期間T1および第2判定期間T2は、いずれも800・n±300〔μs〕で表される。
n · α + (α−β) ± γ (1)
n · α− (α−β) ± γ (2)
For example, it is assumed that α = 800 [μs] and γ = 300 [μs]. Further, for example, as shown in FIG. 2A, it is assumed that there is no waveform rounding in the output voltage Vr1 and the communication signal S1. In this case, since the pulse width W0 of the start bit SB1 of the reception signal Rx1 is equal to the bit period BT1 of the communication signal S1, β = 800 [μs]. Therefore, both the first determination period T1 and the second determination period T2 are represented by 800 · n ± 300 [μs].

つまり、上記の場合、1回目(n=1)の第1判定期間T1は、受信信号Rx1のスタートビットSB1の立ち下がり(または受信信号Rx1の立ち下がり)を始点として、500〜1100〔μs〕の間に設定される。また、2回目(n=2)の第1判定期間T1は、受信信号Rx1のスタートビットSB1の立ち下がり(または受信信号Rx1の立ち下がり)を始点として、1300〜1900〔μs〕の間に設定される。   That is, in the above case, the first (n = 1) first determination period T1 starts from the falling edge of the start bit SB1 of the reception signal Rx1 (or the falling edge of the reception signal Rx1), and is 500 to 1100 [μs]. Set between. The second (n = 2) first determination period T1 is set between 1300 and 1900 [μs], starting from the falling edge of the start bit SB1 of the received signal Rx1 (or the falling edge of the received signal Rx1). Is done.

同様に、1回目(n=1)の第2判定期間T2は、受信信号Rx1の立ち上がりを始点として、500〜1100〔μs〕の間に設定される。また、2回目(n=2)の第2判定期間T2は、受信信号Rx1の立ち上がりを始点として、1300〜1900〔μs〕の間に設定される。   Similarly, the first (n = 1) second determination period T2 is set between 500 and 1100 [μs] starting from the rising edge of the reception signal Rx1. The second (n = 2) second determination period T2 is set between 1300 and 1900 [μs], starting from the rising edge of the reception signal Rx1.

一方、たとえば図2Bに示すように、出力電圧Vr1および通信信号S1に波形なまりが存在すると仮定した場合、受信信号Rx1のスタートビットSB1のパルス幅W0は、通信信号S1のビット周期BT1よりも短くなる(または長くなる)。ここでは、β=300〔μs〕であると仮定する。この場合、第1判定期間T1は、800・n+500±300〔μs〕で表され、第2判定期間T2は、800・n−500±300〔μs〕で表される。   On the other hand, for example, as shown in FIG. 2B, assuming that the output voltage Vr1 and the communication signal S1 have waveform rounding, the pulse width W0 of the start bit SB1 of the reception signal Rx1 is shorter than the bit period BT1 of the communication signal S1. Become (or become longer). Here, it is assumed that β = 300 [μs]. In this case, the first determination period T1 is represented by 800 · n + 500 ± 300 [μs], and the second determination period T2 is represented by 800 · n−500 ± 300 [μs].

つまり、上記の場合、1回目(n=1)の第1判定期間T1は、受信信号Rx1のスタートビットSB1の立ち下がり(または受信信号Rx1の立ち下がり)を始点として、1000〜1600〔μs〕の間に設定される。また、2回目(n=2)の第1判定期間T1は、受信信号Rx1のスタートビットSB1の立ち下がり(または受信信号Rx1の立ち下がり)を始点として、1800〜2400〔μs〕の間に設定される。   That is, in the above case, the first (n = 1) first determination period T1 starts at the falling edge of the start bit SB1 of the reception signal Rx1 (or the falling edge of the reception signal Rx1), and starts at 1000 to 1600 [μs]. Set between. The second (n = 2) first determination period T1 is set between 1800 and 2400 [μs], starting from the falling edge of the start bit SB1 of the received signal Rx1 (or the falling edge of the received signal Rx1). Is done.

同様に、1回目(n=1)の第2判定期間T2は、受信信号Rx1の立ち上がりを始点として、0〜600〔μs〕の間に設定される。また、2回目(n=2)の第2判定期間T2は、受信信号Rx1の立ち上がりを始点として、800〜1400〔μs〕の間に設定される。   Similarly, the first (n = 1) second determination period T2 is set between 0 and 600 [μs] starting from the rising edge of the reception signal Rx1. The second (n = 2) second determination period T2 is set between 800 and 1400 [μs], starting from the rising edge of the reception signal Rx1.

ここでは、第1判定期間T1は、スタートビットSB1の立ち下がり(または受信信号Rx1の立ち下がり)を始点として設定されているが、他のタイミングを始点として設定されていてもよい。たとえば、第1判定期間T1は、スタートビットSB1の立ち上がり(または受信信号Rx1の立ち上がり)を始点として設定されていてもよい。   Here, the first determination period T1 is set with the falling edge of the start bit SB1 (or the falling edge of the reception signal Rx1) as the starting point, but may be set with another timing as the starting point. For example, the first determination period T1 may be set starting from the rising edge of the start bit SB1 (or the rising edge of the reception signal Rx1).

そして、制御部13は、第1判定期間T1および第2判定期間T2を用いて、通信信号S1のデータのビットを判定し、データを取得する。たとえば、制御部13は、1回目(n=1)の第1判定期間T1で受信信号Rx1の立ち上がりを検出すると、1ビットの「0」と判定する。一方、制御部13は、1回目の第1判定期間T1で受信信号Rx1の立ち上がりを検出しない場合、2回目(n=2)の第1判定期間T1での受信信号Rx1の立ち上がりの有無を監視する。そして、制御部13は、当該期間にて受信信号Rx1の立ち上がりを検出すると、2ビットの「00」と判定する。つまり、制御部13は、n回目の第1判定期間T1で受信信号Rx1の立ち上がりを検出すると、「0」がnビット連続するデータと判定する。   And the control part 13 determines the bit of the data of communication signal S1, and acquires data using 1st determination period T1 and 2nd determination period T2. For example, when detecting the rising edge of the reception signal Rx1 in the first (n = 1) first determination period T1, the control unit 13 determines 1-bit “0”. On the other hand, when the rising of the received signal Rx1 is not detected in the first determination period T1 for the first time, the control unit 13 monitors the presence or absence of the rising of the received signal Rx1 in the second (n = 2) first determination period T1. To do. And the control part 13 will determine with "00" of 2 bits, if the rising of received signal Rx1 is detected in the said period. That is, when the control unit 13 detects the rising edge of the reception signal Rx1 in the n-th first determination period T1, the control unit 13 determines that “0” is n-bit continuous data.

制御部13は、第1判定期間T1での受信信号Rx1の立ち上がりを検出すると、この立ち上がりの時刻を始点として、次に第2判定期間T2での受信信号Rx1の立ち下がりの有無を監視する。そして、上記と同様に、制御部13は、n回目の第2判定期間T2で受信信号Rx1の立ち下がりを検出すると、「1」がnビット連続するデータと判定する。そして、制御部13は、第2判定期間T2での受信信号Rx1の立ち下がりを検出すると、この立ち下がりの時刻を始点として、次に第1判定期間T1での受信信号Rx1の立ち上がりの有無を監視する。   When detecting the rising edge of the reception signal Rx1 in the first determination period T1, the control unit 13 monitors the presence or absence of the falling edge of the reception signal Rx1 in the second determination period T2, using the rising time as a starting point. Similarly to the above, when the control unit 13 detects the falling edge of the reception signal Rx1 in the n-th second determination period T2, the control unit 13 determines that “1” is data having n bits in succession. Then, when detecting the falling edge of the reception signal Rx1 in the second determination period T2, the control unit 13 determines whether or not the reception signal Rx1 has risen next in the first determination period T1, starting from this falling time. Monitor.

制御部13は、上記の処理を繰り返すことにより、通信信号S1のデータのビットを判定し、データを取得する。ここで、制御部13は、第1判定期間T1でのみ受信信号Rx1の立ち上がりの有無を監視するので、第1判定期間T1以外のタイミングでの受信信号Rx1の立ち上がりは、ノイズとして無視する。同様に、制御部13は、第2判定期間T2でのみ受信信号Rx1の立ち下がりの有無を監視するので、第2判定期間T2以外のタイミングでの受信信号の立ち下がりは、ノイズとして無視する。   The control unit 13 repeats the above process to determine the data bit of the communication signal S1 and acquire the data. Here, since the control unit 13 monitors whether or not the reception signal Rx1 rises only during the first determination period T1, the rise of the reception signal Rx1 at a timing other than the first determination period T1 is ignored as noise. Similarly, the control unit 13 monitors the presence / absence of the fall of the reception signal Rx1 only in the second determination period T2. Therefore, the fall of the reception signal at timings other than the second determination period T2 is ignored as noise.

以下、通信信号S1に含まれるデータが7ビットの「0010110」であると仮定した具体例を図2A,図2Bに示す。既に述べたように、図2Aは、出力電圧Vr1および通信信号S1に波形なまりが存在しないと仮定した場合を示し、図2Bは、出力電圧Vr1および通信信号S1に波形なまりが存在すると仮定した場合を示している。したがって、第1判定期間T1および第2判定期間T2の各々のタイミングは、図2Aに示す場合と図2Bに示す場合とで互いに異なるので、図2Aに示す時刻t1〜時刻t20の値は、図2Bに示す時刻t1〜時刻t20の値と異なっている。   Hereinafter, specific examples assuming that the data included in the communication signal S1 is 7-bit “0010110” are shown in FIGS. 2A and 2B. As described above, FIG. 2A shows a case where no waveform rounding exists in the output voltage Vr1 and the communication signal S1, and FIG. 2B shows a case where waveform rounding exists in the output voltage Vr1 and the communication signal S1. Is shown. Accordingly, the timing of each of the first determination period T1 and the second determination period T2 is different between the case shown in FIG. 2A and the case shown in FIG. 2B. Therefore, the values of time t1 to time t20 shown in FIG. This is different from the values of time t1 to time t20 shown in 2B.

また、図2Bに示す場合では、時刻t8〜時刻t9の間に設定されるべき第2判定期間T2は、その始点が直前の第1判定期間T1の終点(時刻t6)よりも前になるため、ここでは時刻t6〜時刻t9の間に設定されている。同様に、時刻t14〜時刻t15の間に設定されるべき第2判定期間T2は、その始点が直前の第1判定期間T1の終点(時刻t12)よりも前になるため、ここでは時刻t12〜時刻t15の間に設定されている。   In the case shown in FIG. 2B, the second determination period T2 to be set between time t8 and time t9 has its start point before the end point (time t6) of the immediately preceding first determination period T1. Here, it is set between time t6 and time t9. Similarly, the second determination period T2 to be set between time t14 and time t15 has its start point before the end point (time t12) of the immediately preceding first determination period T1, so here the time t12 to It is set during time t15.

図2A,図2Bのいずれの場合においても、制御部13は、スタートビットSB1の終点(時刻t2)を始点とした1回目の第1判定期間T1(時刻t3〜時刻t4)では受信信号Rx1の立ち上がりを検出しない。そして、制御部13は、2回目の第1判定期間T1(時刻t5〜時刻t6)で受信信号Rx1の立ち上がりを検出する。つまり、制御部13は、この時点で2ビットの「00」を判定する。また、制御部13は、この受信信号Rx1の立ち上がりを始点(時刻t7)とした1回目の第2判定期間T2(図2Aにおける時刻t8〜時刻t9、図2Bにおける時刻t6〜時刻t9)で受信信号Rx1の立ち下がりを検出する。つまり、制御部13は、この時点で1ビットの「1」をさらに判定する。また、制御部13は、この受信信号Rx1の立ち下がりを始点(時刻t10)とした1回目の第1判定期間T1(時刻t11〜時刻t12)で受信信号Rx1の立ち上がりを検出する。つまり、制御部13は、この時点で1ビットの「0」をさらに判定する。   In either case of FIG. 2A or FIG. 2B, the control unit 13 sets the received signal Rx1 in the first determination period T1 (time t3 to time t4) for the first time starting from the end point (time t2) of the start bit SB1. Does not detect rising edge. Then, the control unit 13 detects the rising edge of the reception signal Rx1 in the second first determination period T1 (time t5 to time t6). That is, the control unit 13 determines “00” of 2 bits at this time. Further, the control unit 13 receives the signal at the first second determination period T2 (time t8 to time t9 in FIG. 2A, time t6 to time t9 in FIG. 2B) with the rising edge of the reception signal Rx1 as the start point (time t7). The falling edge of the signal Rx1 is detected. That is, the control unit 13 further determines “1” of 1 bit at this time. Further, the control unit 13 detects the rising edge of the reception signal Rx1 in the first first determination period T1 (time t11 to time t12) with the falling edge of the reception signal Rx1 as the start point (time t10). That is, the control unit 13 further determines 1-bit “0” at this time.

また、制御部13は、この受信信号Rx1の立ち上がりを始点(時刻t13)とした1回目の第2判定期間T2(図2Aにおける時刻t14〜時刻t15、図2Bにおける時刻t12〜時刻t15)では受信信号Rx1の立ち下がりを検出しない。そして、制御部13は、2回目の第2判定期間T2(時刻t16〜時刻t17)で受信信号Rx1の立ち下がりを検出する。つまり、制御部13は、この時点で2ビットの「1」をさらに判定する。そして、制御部13は、この受信信号Rx1の立ち下がりを始点(時刻t18)とした1回目の第1判定期間T1(時刻t19〜時刻t20)では受信信号Rx1の立ち下がりを検出しない。つまり、制御部13は、この時点で1ビットの「0」を判定する。   Further, the control unit 13 receives signals in the first second determination period T2 (time t14 to time t15 in FIG. 2A, time t12 to time t15 in FIG. 2B) with the rising edge of the reception signal Rx1 as the start point (time t13). The falling edge of the signal Rx1 is not detected. Then, the control unit 13 detects the falling edge of the reception signal Rx1 in the second second determination period T2 (time t16 to time t17). That is, the control unit 13 further determines “1” of 2 bits at this time. Then, the control unit 13 does not detect the falling edge of the reception signal Rx1 in the first first determination period T1 (time t19 to time t20) with the falling edge of the reception signal Rx1 as the starting point (time t18). That is, the control unit 13 determines 1-bit “0” at this time.

上記のようにして受信信号Rx1を処理することで、制御部13は、図2A,図2Bのいずれの場合においても、7ビットの「0010110」を通信信号S1に含まれるデータとして正しく取得することができる。   By processing the reception signal Rx1 as described above, the control unit 13 correctly acquires 7-bit “0010110” as data included in the communication signal S1 in both cases of FIG. 2A and FIG. 2B. Can do.

上述のように、本実施形態の子機1(通信装置10)では、制御部13は、第1判定期間T1および第2判定期間T2で受信信号Rx1の立ち上がり・立ち下がりの有無を監視することで、通信信号S1に含まれるデータのビットを判定している。また、制御部13は、受信信号Rx1のスタートビットSB1のパルス幅W0を算出することで、第1判定期間T1および第2判定期間T2の各々のタイミングを、出力電圧Vr1および通信信号S1の波形なまりに応じたタイミングに設定している。このため、本実施形態の子機1(通信装置10)では、通信信号S1に含まれるデータを誤って取得する可能性を低減することができる。   As described above, in the slave unit 1 (communication device 10) of the present embodiment, the control unit 13 monitors whether the reception signal Rx1 rises or falls during the first determination period T1 and the second determination period T2. Thus, the bit of data included in the communication signal S1 is determined. Further, the control unit 13 calculates the pulse width W0 of the start bit SB1 of the reception signal Rx1, thereby determining the timing of each of the first determination period T1 and the second determination period T2 and the waveform of the output voltage Vr1 and the communication signal S1. The timing is set according to the rounding. For this reason, in the subunit | mobile_unit 1 (communication apparatus 10) of this embodiment, possibility that the data contained in communication signal S1 will be acquired accidentally can be reduced.

ところで、本実施形態の子機1(通信装置10)では、制御部13は、通信信号S1のスタートビットSB1のパルス幅W0に基づいて第1判定期間T1および第2判定期間T2の各々のタイミングを設定しているが、他の構成であってもよい。たとえば、制御部13は、受信信号Rx1における判定したデータのビット幅W11に基づいて、第1判定期間T1および第2判定期間T2の各々のタイミングを更新する構成であってもよい。   By the way, in the subunit | mobile_unit 1 (communication apparatus 10) of this embodiment, the control part 13 is each timing of 1st determination period T1 and 2nd determination period T2 based on pulse width W0 of start bit SB1 of communication signal S1. However, other configurations may be used. For example, the controller 13 may be configured to update the timings of the first determination period T1 and the second determination period T2 based on the bit width W11 of the determined data in the reception signal Rx1.

以下、具体例について説明する。図7に示すように、制御部13は、スタートビットSB1の終点を始点とする第1判定期間T1で受信信号Rx1の立ち上がりを検出し、かつその後の第2判定期間T2で受信信号Rx1の立ち下がりを検出したと仮定する。この場合、制御部13は、受信信号Rx1が立ち上がる時刻t21から、受信信号Rx1が立ち下がる時刻t22までに要する時間を計時することで、判定したデータのビット幅W11を算出する。   Hereinafter, specific examples will be described. As shown in FIG. 7, the control unit 13 detects the rising edge of the reception signal Rx1 in the first determination period T1 starting from the end point of the start bit SB1, and then rises the reception signal Rx1 in the second determination period T2. Assume that a fall has been detected. In this case, the control unit 13 calculates the bit width W11 of the determined data by measuring the time required from the time t21 when the reception signal Rx1 rises to the time t22 when the reception signal Rx1 falls.

そして、制御部13は、この判定したデータのビット幅W11を用いて、式(1),(2)により第1判定期間T1および第2判定期間T2の各々のタイミングを更新する。図7では、更新された第1判定期間T1を「T11」、更新された第2判定期間T2を「T12」で示している。以下、制御部13は、判定したデータのビット幅を算出するごとに、第1判定期間T1および第2判定期間T2の各々のタイミングを更新する。   And the control part 13 updates each timing of 1st determination period T1 and 2nd determination period T2 by Formula (1), (2) using the bit width W11 of this determined data. In FIG. 7, the updated first determination period T1 is indicated by “T11”, and the updated second determination period T2 is indicated by “T12”. Hereinafter, every time the bit width of the determined data is calculated, the control unit 13 updates the timing of each of the first determination period T1 and the second determination period T2.

この構成では、第1判定期間T1および第2判定期間T2の各々のタイミングが、データのビットを判定するごとに逐次更新されていくので、制御部13は、より正確に通信信号S1に含まれるデータを取得することができる。   In this configuration, the timing of each of the first determination period T1 and the second determination period T2 is sequentially updated each time a data bit is determined, so that the control unit 13 is more accurately included in the communication signal S1. Data can be acquired.

また、本実施形態の子機1(通信装置10)は、以下の構成を備えていてもよい。すなわち、制御部13は、受信信号Rx1のうち所定のパルス幅よりも短いパルスを無視してデータのビットを判定するように構成されていてもよい。   Moreover, the subunit | mobile_unit 1 (communication apparatus 10) of this embodiment may be provided with the following structures. That is, the control unit 13 may be configured to determine a bit of data by ignoring a pulse shorter than a predetermined pulse width in the reception signal Rx1.

以下、具体例について説明する。図8に示すように、パルス幅W12のノイズN1が出力電圧Vr1または通信信号S1に発生したと仮定する。すると、受信部11は、このノイズN1を反映した受信信号Rx1を出力する。   Hereinafter, specific examples will be described. As shown in FIG. 8, it is assumed that noise N1 having a pulse width W12 is generated in the output voltage Vr1 or the communication signal S1. Then, the reception unit 11 outputs a reception signal Rx1 reflecting this noise N1.

一方、制御部13では、第1判定期間T1において、このノイズN1の立ち上がりを受信信号Rx1の立ち上がりとして検出したと仮定する。すると、制御部13は、データのビットを判定する前に、この受信信号Rx1の立ち上がりを検出した時刻t31から、次に受信信号Rx1が立ち下がる時刻までを計時する。ここでは、制御部13は、時刻t32において、ノイズN1の立ち下がりを受信信号Rx1の立ち下がりとして検出する。   On the other hand, it is assumed that the controller 13 detects the rising edge of the noise N1 as the rising edge of the reception signal Rx1 in the first determination period T1. Then, before determining the data bit, the control unit 13 measures the time from the time t31 when the rising edge of the reception signal Rx1 is detected to the time when the reception signal Rx1 falls next time. Here, the control unit 13 detects the falling edge of the noise N1 as the falling edge of the reception signal Rx1 at time t32.

そして、制御部13は、時刻t31から時刻t32までに要する時間(つまり、ノイズN1のパルス幅W12)が所定のパルス幅よりも短ければ、これら受信信号Rx1の立ち上がり・立ち下がりをノイズN1によるパルスとみなして無視する。つまり、制御部13は、ノイズN1をフィルタリングして、通信信号S1に含まれるデータのビットを判定する。   Then, if the time required from time t31 to time t32 (that is, the pulse width W12 of the noise N1) is shorter than the predetermined pulse width, the control unit 13 causes the rising and falling edges of the received signal Rx1 to be pulsed by the noise N1. Ignore it. That is, the control unit 13 filters the noise N1 and determines a bit of data included in the communication signal S1.

ここでは、第1判定期間T1においてノイズN1の立ち上がりを検出した場合について説明したが、第2判定期間T2においてノイズN1の立ち下がりを検出した場合にも、制御部13は上記と同様の処理を実行する。   Although the case where the rising edge of the noise N1 is detected in the first determination period T1 has been described here, the control unit 13 performs the same process as described above even when the falling edge of the noise N1 is detected in the second determination period T2. Run.

この構成では、出力電圧Vr1または通信信号S1にノイズN1が発生したとしても、制御部13は、ノイズN1の影響を受けることなく、通信信号S1に含まれるデータのビットを判定することができる。   In this configuration, even if the noise N1 occurs in the output voltage Vr1 or the communication signal S1, the control unit 13 can determine the bit of data included in the communication signal S1 without being affected by the noise N1.

また、本実施形態の子機1(通信装置10)は、以下の構成を備えていてもよい。すなわち、制御部13は、受信信号Rx1の変化(立ち上がりまたは立ち下がり)を検出してから所定の時間T3を計時しても受信信号Rx1の次の変化を検出できない場合、待機電圧Vt1の変化を通信信号S1として取得しないように構成されていてもよい。   Moreover, the subunit | mobile_unit 1 (communication apparatus 10) of this embodiment may be provided with the following structures. That is, when the control unit 13 cannot detect the next change in the reception signal Rx1 even after measuring the predetermined time T3 after detecting the change (rise or fall) in the reception signal Rx1, the control unit 13 changes the standby voltage Vt1. The communication signal S1 may not be acquired.

この構成では、通信信号S1は、マンチェスタ符号化されていることを前提とする。つまり、受信部11は、図9Aに示すように、マンチェスタ符号化された受信信号Rx1を出力する。   In this configuration, it is assumed that the communication signal S1 is Manchester encoded. That is, the receiving unit 11 outputs a Manchester-encoded received signal Rx1 as shown in FIG. 9A.

ここで、マンチェスタ符号化された受信信号Rx1は、「0」または「1」が連続する場合でも、ローレベルからハイレベル、またはハイレベルからローレベルに必ず遷移する。したがって、このような受信信号Rx1において、たとえばローレベルまたはハイレベルの期間が3ビットに相当する長さ以上続く場合、通信エラーが発生していると考えられる。   Here, the Manchester-encoded received signal Rx1 always transitions from the low level to the high level or from the high level to the low level even when “0” or “1” continues. Therefore, in such a received signal Rx1, for example, when a low level or high level period continues for a length corresponding to 3 bits or more, it is considered that a communication error has occurred.

そこで、制御部13は、たとえば図9Bに示すように、時刻t41において受信信号Rx1の変化(立ち下がり)を検出すると、この時刻t41から所定の時間T3を計時する。そして、制御部13は、所定の時間T3が経過した時刻t42になっても受信信号Rx1の次の変化(立ち上がり)を検出しない場合、待機電圧Vt1の変化を通信信号S1として取得しない。   Therefore, for example, as shown in FIG. 9B, the control unit 13 measures a predetermined time T3 from the time t41 when detecting the change (falling) of the reception signal Rx1 at the time t41. If the next change (rise) of the reception signal Rx1 is not detected at the time t42 when the predetermined time T3 has elapsed, the control unit 13 does not acquire the change in the standby voltage Vt1 as the communication signal S1.

この構成では、制御部13は、何らかの通信エラーが発生している場合に、待機電圧Vt1の変化を通信信号S1として取得しないので、通信信号S1を誤って取得するのを防止することができる。その他、この構成では、他の子機1が火災報または連動報を親機2に通知することで待機電圧Vt1が火災報レベルまたは連動報レベルに変化する場合にも、この待機電圧Vt1の変化を通信信号S1として誤って取得するのを防止することができる。   In this configuration, the control unit 13 does not acquire the change in the standby voltage Vt1 as the communication signal S1 when any communication error occurs, so that the communication signal S1 can be prevented from being erroneously acquired. In addition, in this configuration, when the standby voltage Vt1 changes to the fire alarm level or the interlocking alarm level when the other slave unit 1 notifies the master unit 2 of the fire alarm or the interlocking alarm, the change of the standby voltage Vt1 is also achieved. Can be prevented from being erroneously acquired as the communication signal S1.

なお、上記の説明では、受信信号Rx1がローレベルからハイレベルに遷移する状態を「1」、ハイレベルからローレベルに遷移する状態を「0」としているが、逆であってもよい。つまり、受信信号Rx1がハイレベルからローレベルに遷移する状態を「1」、ローレベルからハイレベルに遷移する状態を「0」としてもよい。   In the above description, the state in which the received signal Rx1 transitions from the low level to the high level is “1”, and the state in which the reception signal Rx1 transitions from the high level to the low level is “0”. That is, the state in which the reception signal Rx1 transitions from the high level to the low level may be “1”, and the state in which the reception signal Rx1 transitions from the low level to the high level may be “0”.

ところで、本実施形態の子機1(通信装置10)では、制御部13は、第1判定期間T1で受信信号Rx1の立ち上がりの有無を監視し、第2判定期間T2で受信信号Rx1の立ち下がりの有無を監視しているが、他の構成であってもよい。たとえば、制御部13は、第1判定期間T1で受信信号Rx1の立ち下がりの有無を監視し、第2判定期間T2で受信信号Rx1の立ち上がりの有無を監視する構成であってもよい。   By the way, in the subunit | mobile_unit 1 (communication apparatus 10) of this embodiment, the control part 13 monitors the presence or absence of the rising of received signal Rx1 in 1st determination period T1, and falls of received signal Rx1 in 2nd determination period T2. However, other configurations may be used. For example, the control unit 13 may be configured to monitor whether or not the reception signal Rx1 falls in the first determination period T1, and monitor whether or not the reception signal Rx1 rises in the second determination period T2.

また、本実施形態の通信システム100では、子機1が通信装置10であるが、親機2が通信装置10であってもよいし、子機1および親機2のいずれもが通信装置10であってもよい。親機2が通信装置10である場合、親機2の受信部23は、通信信号S2を受信して通信信号S2に応じた受信信号を出力する。そして、親機2の制御部27は、この受信信号の立ち上がり・立ち下がりの有無をそれぞれ第1判定期間T1および第2判定期間T2で監視することで、通信信号S2に含まれるデータのビットを判定し、データを取得する。また、制御部27は、この受信信号のスタートビットSB1のパルス幅W0に基づいて、第1判定期間T1および第2判定期間T2の各々のタイミングを設定する。   Moreover, in the communication system 100 of this embodiment, although the subunit | mobile_unit 1 is the communication apparatus 10, the main | base station 2 may be the communication apparatus 10, and both the subunit | mobile_unit 1 and the main | base station 2 are the communication apparatuses 10. It may be. When the parent device 2 is the communication device 10, the receiving unit 23 of the parent device 2 receives the communication signal S2 and outputs a reception signal corresponding to the communication signal S2. Then, the control unit 27 of the base unit 2 monitors the presence / absence of rising / falling of the received signal in the first determination period T1 and the second determination period T2, respectively, so that the bit of data included in the communication signal S2 is obtained. Judge and get data. Further, the control unit 27 sets the timings of the first determination period T1 and the second determination period T2 based on the pulse width W0 of the start bit SB1 of the received signal.

なお、親機2の受信部23および制御部27の動作は、それぞれ子機1の受信部11および制御部13の動作と同様であるので、ここでは説明を省略する。   Note that the operations of the receiving unit 23 and the control unit 27 of the parent device 2 are the same as the operations of the receiving unit 11 and the control unit 13 of the child device 1, respectively, and thus description thereof is omitted here.

1 子機
2 親機
10 通信装置
11 受信部
13 制御部
41A,41B 一対の電線
100 通信システム
Rx1 受信信号
S1 通信信号
SB1 スタートビット
T1 第1判定期間
T2 第2判定期間
T3 所定の時間
Vt1 電圧(待機電圧)
W0 パルス幅
W11 ビット幅
1 slave unit 2 master unit 10 communication device 11 receiving unit 13 control unit 41A, 41B pair of wires 100 communication system Rx1 received signal S1 communication signal SB1 start bit T1 first determination period T2 second determination period T3 predetermined time Vt1 voltage ( Standby voltage)
W0 pulse width W11 bit width

Claims (6)

一対の電線に電気的に接続され、前記一対の電線間に印加される電圧の変化により送信される通信信号を受信して前記通信信号に応じた受信信号を出力する受信部と、
第1判定期間での前記受信信号の立ち上がりの有無を監視し、かつ前記第1判定期間とは異なる第2判定期間での前記受信信号の立ち下がりの有無を監視することで、前記通信信号に含まれるデータのビットを判定し、前記データを取得する制御部とを備え、
前記通信信号は、前記データの先頭に付加されるスタートビットを含み、
前記制御部は、前記受信信号における前記スタートビットのパルス幅に基づいて、前記第1判定期間および前記第2判定期間の各々のタイミングを設定することを特徴とする通信装置。
A receiving unit electrically connected to the pair of electric wires, receiving a communication signal transmitted by a change in voltage applied between the pair of electric wires, and outputting a reception signal corresponding to the communication signal;
By monitoring the presence or absence of rising of the reception signal in the first determination period and monitoring the presence or absence of falling of the reception signal in a second determination period different from the first determination period, A control unit for determining a bit of data included and acquiring the data;
The communication signal includes a start bit added to the head of the data,
The communication unit is characterized in that the timing of each of the first determination period and the second determination period is set based on a pulse width of the start bit in the received signal.
一対の電線に電気的に接続され、前記一対の電線間に印加される電圧の変化により送信される通信信号を受信して前記通信信号に応じた受信信号を出力する受信部と、
第1判定期間での前記受信信号の立ち下がりの有無を監視し、かつ前記第1判定期間とは異なる第2判定期間での前記受信信号の立ち上がりの有無を監視することで、前記通信信号に含まれるデータのビットを判定し、前記データを取得する制御部とを備え、
前記通信信号は、前記データの先頭に付加されるスタートビットを含み、
前記制御部は、前記受信信号における前記スタートビットのパルス幅に基づいて、前記第1判定期間および前記第2判定期間の各々のタイミングを設定することを特徴とする通信装置。
A receiving unit electrically connected to the pair of electric wires, receiving a communication signal transmitted by a change in voltage applied between the pair of electric wires, and outputting a reception signal corresponding to the communication signal;
By monitoring the presence or absence of the falling edge of the received signal in the first determination period and monitoring the presence or absence of the rising edge of the received signal in a second determination period different from the first determination period, A control unit for determining a bit of data included and acquiring the data;
The communication signal includes a start bit added to the head of the data,
The communication unit is characterized in that the timing of each of the first determination period and the second determination period is set based on a pulse width of the start bit in the received signal.
前記制御部は、前記受信信号における判定した前記データのビット幅に基づいて、前記第1判定期間および前記第2判定期間の各々のタイミングを更新することを特徴とする請求項1または2記載の通信装置。   The said control part updates the timing of each of the said 1st determination period and the said 2nd determination period based on the bit width of the said data determined in the said received signal, The Claim 1 or 2 characterized by the above-mentioned. Communication device. 前記制御部は、前記受信信号のうち所定のパルス幅よりも短いパルスを無視して前記データのビットを判定することを特徴とする請求項1乃至3のいずれか1項に記載の通信装置。   4. The communication apparatus according to claim 1, wherein the control unit determines a bit of the data by ignoring a pulse shorter than a predetermined pulse width in the received signal. 5. 前記通信信号はマンチェスタ符号化され、
前記制御部は、前記受信信号の変化を検出してから所定の時間を計時しても前記受信信号の次の変化を検出できない場合、前記一対の電線間に印加される電圧の変化を前記通信信号として取得しないことを特徴とする請求項1乃至4のいずれか1項に記載の通信装置。
The communication signal is Manchester encoded;
When the control unit cannot detect the next change in the received signal even after measuring a predetermined time after detecting the change in the received signal, the control unit detects the change in the voltage applied between the pair of wires. The communication device according to claim 1, wherein the communication device is not acquired as a signal.
請求項1乃至5のいずれか1項に記載の通信装置である子機と、
前記一対の電線に電気的に接続され、前記子機に対して前記通信信号を送信する親機とを備えることを特徴とする通信システム。
A handset which is the communication device according to any one of claims 1 to 5,
A communication system comprising: a master unit electrically connected to the pair of electric wires and transmitting the communication signal to the slave unit.
JP2015124272A 2015-06-19 2015-06-19 Communication apparatus and communication system using the same Active JP6436419B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2015124272A JP6436419B2 (en) 2015-06-19 2015-06-19 Communication apparatus and communication system using the same
PCT/JP2016/002640 WO2016203721A1 (en) 2015-06-19 2016-06-01 Communication device and communication system using same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015124272A JP6436419B2 (en) 2015-06-19 2015-06-19 Communication apparatus and communication system using the same

Publications (2)

Publication Number Publication Date
JP2017010229A true JP2017010229A (en) 2017-01-12
JP6436419B2 JP6436419B2 (en) 2018-12-12

Family

ID=57545317

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015124272A Active JP6436419B2 (en) 2015-06-19 2015-06-19 Communication apparatus and communication system using the same

Country Status (2)

Country Link
JP (1) JP6436419B2 (en)
WO (1) WO2016203721A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110136410A (en) * 2019-06-21 2019-08-16 山东众海公共安全器材有限公司 A kind of two lines bus digital communication method of fire alarm and linkage control system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0743736U (en) * 1995-02-06 1995-09-05 三星電子株式会社 Decoding device for two-phase encoded data
JP2003298663A (en) * 2002-04-04 2003-10-17 Fuji Electric Co Ltd Data communication equipment and method therefor
JP2011035473A (en) * 2009-07-29 2011-02-17 Renesas Electronics Corp Baud rate error detection circuit and baud rate error detection method
JP2014103552A (en) * 2012-11-20 2014-06-05 Denso Corp Communication apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0743736U (en) * 1995-02-06 1995-09-05 三星電子株式会社 Decoding device for two-phase encoded data
JP2003298663A (en) * 2002-04-04 2003-10-17 Fuji Electric Co Ltd Data communication equipment and method therefor
JP2011035473A (en) * 2009-07-29 2011-02-17 Renesas Electronics Corp Baud rate error detection circuit and baud rate error detection method
JP2014103552A (en) * 2012-11-20 2014-06-05 Denso Corp Communication apparatus

Also Published As

Publication number Publication date
WO2016203721A1 (en) 2016-12-22
JP6436419B2 (en) 2018-12-12

Similar Documents

Publication Publication Date Title
JP5264453B2 (en) Alarm
CN108028777B (en) Determining a state of a network device
JP6436419B2 (en) Communication apparatus and communication system using the same
JP6464519B2 (en) Automatic fire alarm system slave unit and automatic fire alarm system using the same
JP2015102969A (en) Remote testing device for fire alam facility
JP6655808B2 (en) Handset of automatic fire alarm system and automatic fire alarm system using the same
JP6481940B2 (en) Communication apparatus and communication system using the same
JP4710877B2 (en) Fire alarm system
JP6618003B2 (en) Automatic fire alarm system slave unit, master unit, and automatic fire alarm system using the same
JP4058100B2 (en) Fire detectors and fire alarm equipment
JP2017130048A (en) Fire receiver and disaster prevention system using the same
JP6566353B2 (en) Automatic fire alarm system slave unit, automatic fire alarm system, and automatic fire alarm system master unit
JP6575913B2 (en) Automatic fire alarm system
JP2017084180A (en) Automatic fire alarm system
EP3133568B1 (en) Automatic fire alarm system and base device for automatic fire alarm system
JP2017084179A (en) Fire sensor for automatic fire alarm systems, and automatic fire alarm system using the same
JP6421912B2 (en) Automatic fire alarm system slave unit and automatic fire alarm system using the same
JP6814985B2 (en) Master unit and automatic fire alarm system
JP6646835B2 (en) Master unit and automatic fire alarm system
JP2012234385A (en) Alarm unit
JP6827218B2 (en) Communication processing system and communication system
JP6481933B2 (en) Automatic fire alarm system slave unit and automatic fire alarm system using the same
JP5831968B2 (en) Alarm system
JP6579510B2 (en) Automatic fire alarm system slave unit, master unit, and automatic fire alarm system using the same
JP6481934B2 (en) Automatic fire alarm system slave unit and automatic fire alarm system using the same

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20170207

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180205

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181102

R151 Written notification of patent or utility model registration

Ref document number: 6436419

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151