TW201427435A - Communication system and terminal device - Google Patents

Communication system and terminal device Download PDF

Info

Publication number
TW201427435A
TW201427435A TW102141337A TW102141337A TW201427435A TW 201427435 A TW201427435 A TW 201427435A TW 102141337 A TW102141337 A TW 102141337A TW 102141337 A TW102141337 A TW 102141337A TW 201427435 A TW201427435 A TW 201427435A
Authority
TW
Taiwan
Prior art keywords
terminal
request
communication
unit
signal
Prior art date
Application number
TW102141337A
Other languages
Chinese (zh)
Inventor
Tadashi Matsumoto
Shoji Koise
Original Assignee
Panasonic 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 Panasonic Corp filed Critical Panasonic Corp
Publication of TW201427435A publication Critical patent/TW201427435A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/50Systems for transmission between fixed stations via two-conductor transmission lines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Small-Scale Networks (AREA)
  • Communication Control (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

Provided is a communication system in which a first terminal receives operation input that is from a user and that relates to a display panel and a primary request is transmitted from a primary request unit to a transmission unit. The transmission unit that has received the primary request transmits a secondary request to a second terminal using a superimposed signal, said second request being for requesting the measurement result of a measurement using a secondary request unit in accordance with the primary request. The second terminal that has received the secondary request from the transmission unit transmits the measurement result of the measurement unit from a primary response unit as a primary response to the transmission unit using a superimposed signal. On this occasion, the first terminal directly receives the primary response using a superimposed communication unit, said primary response being sent from the second terminal over a communication line without passing through the transmission unit.

Description

通信系統及終端裝置 Communication system and terminal device

本發明一般而言係關於一種通信系統及終端裝置。更詳細而言,本發明係關於一種包括連接於通信線之主機、及連接於通信線而與主機通信之複數台終端裝置之通信系統、及使用於該通信系統之終端裝置。 The present invention generally relates to a communication system and a terminal device. More specifically, the present invention relates to a communication system including a host connected to a communication line, a plurality of terminal devices connected to the communication line and communicating with the host, and a terminal device used in the communication system.

先前,廣泛地普及有如下之通信系統:相對於傳輸路徑連接有傳輸單元(主機)及複數台通信終端(子機),於各通信終端與傳輸單元之間進行通信。作為此種通信系統之一例,有如下之系統:傳輸單元定期地監視通信終端之狀態,於通信終端之狀態發生變化之情形時,以進行應對該狀態變化之處理之方式自傳輸單元向其他通信終端發送信號。此種通信系統係例如記載於日本專利編號1180690(以下稱為「文獻1」)、日本專利編號1195362(以下稱為「文獻2」)、日本專利編號1144477(以下稱為「文獻3」)。 Conventionally, a communication system has been widely spread in which a transmission unit (host) and a plurality of communication terminals (slave) are connected to a transmission path, and communication is performed between each communication terminal and a transmission unit. As an example of such a communication system, there is a system in which the transmission unit periodically monitors the state of the communication terminal, and when the state of the communication terminal changes, the communication unit transmits the communication to the other communication in a manner to cope with the change of the state. The terminal sends a signal. Such a communication system is described, for example, in Japanese Patent No. 1180690 (hereinafter referred to as "Document 1"), Japanese Patent No. 1195362 (hereinafter referred to as "Document 2"), and Japanese Patent No. 1144477 (hereinafter referred to as "Document 3").

然而,上述構成之通信系統原先係使用於照明器具等之接通斷開控制等之系統,通信速度較慢,不適於例如類比量般資料量相對較多之資訊之傳輸。 However, the communication system having the above configuration is originally used in a system such as an on/off control of a lighting fixture or the like, and the communication speed is slow, and is not suitable for transmission of information having a relatively large amount of data such as an analogous amount.

因此,提出有包括使用自傳輸單元送出之傳輸信號進行通信之通信終端、及使用重疊信號而更高速地進行通信之重疊終端之通信系統(例如日本專利申請公開編號2009-225328(以下,稱為「文獻 4」))。重疊信號係重疊於傳輸信號之信號。 Therefore, there has been proposed a communication system including a communication terminal that communicates using a transmission signal transmitted from a transmission unit, and an overlapping terminal that communicates at a higher speed using an overlapping signal (for example, Japanese Patent Application Laid-Open No. 2009-225328 (hereinafter referred to as "literature 4")). The overlapping signal is superimposed on the signal of the transmitted signal.

文獻4中記載之系統係通信終端(文獻4之「第1通信終端」)與重疊終端(文獻4之「第2通信終端」)共用通信線(傳輸路徑),因此可藉由在既設之通信系統中增設重疊終端而容易地實現。於文獻4中,通信終端彼此係經由傳輸單元(主機)而相互通信,重疊終端彼此係不經由傳輸單元而藉由點對點(P2P,Peer to Peer)直接通信。 The system-based communication terminal described in Document 4 (the "first communication terminal" of Document 4) shares the communication line (transmission path) with the overlapping terminal ("second communication terminal" of Document 4), so that it can be used in the established communication. It is easy to implement by adding overlapping terminals to the system. In Document 4, communication terminals communicate with each other via a transmission unit (host), and the overlapping terminals communicate directly with each other by a peer-to-peer (P2P, Peer to Peer) without a transmission unit.

另外,於文獻4中記載之通信系統中,重疊終端彼此直接通信,因此於重疊終端之台數增加之情形時,若各重疊終端自由地進行通信,則無法控制通信時序或通信之順序。因此,重疊終端存在如下情形:用以避免重疊信號彼此之衝突之等待時間變長、或無法通信。 Further, in the communication system described in Document 4, since the overlapping terminals directly communicate with each other, when the number of overlapping terminals increases, if the overlapping terminals are free to communicate, the communication timing or the order of communication cannot be controlled. Therefore, the overlapping terminal has a case where the waiting time for avoiding overlapping of overlapping signals becomes long, or communication is impossible.

本發明係鑒於上述情況而完成,其目的在於提供一種即便終端裝置之台數增加亦可控制通信時序或通信之順序之通信系統、及使用於該通信系統之終端裝置。 The present invention has been made in view of the above circumstances, and an object thereof is to provide a communication system capable of controlling a communication sequence or a communication sequence even when the number of terminal devices is increased, and a terminal device used in the communication system.

本發明之通信系統之特徵在於包括連接於通信線之主機、及連接於上述通信線而分別與上述主機通信之第1終端及第2終端,且上述第1終端包含向上述主機發送一次請求之一次請求部,上述主機包含二次請求部,該二次請求部若接收上述一次請求,則向上述第2終端發送二次請求,上述第2終端包含一次響應部,該一次響應部若接收上述二次請求,則不經由上述主機而向上述第1終端直接發送一次響應。 A communication system according to the present invention includes a host connected to a communication line, and a first terminal and a second terminal connected to the host connected to the communication line, and the first terminal includes transmitting a request to the host. a requesting unit, wherein the host includes a secondary requesting unit, and the secondary requesting unit transmits a secondary request to the second terminal when receiving the primary request, wherein the second terminal includes a primary response unit, and the primary response unit receives the second response unit In the case of the secondary request, the response is directly transmitted to the first terminal without passing through the host.

本發明係第1終端具有向主機發送一次請求之一次請求部,主機具有若接收一次請求則向第2終端發送二次請求之二次請求部,第2終端具有若接收二次請求則不經由主機而向第1終端直接發送一次響應之一次響應部。因此,具有即便終端裝置之台數增加,亦可控制通信時序或通信之順序之優點。 In the present invention, the first terminal has a requesting unit that transmits a request to the host once, and the host has a secondary requesting unit that transmits a secondary request to the second terminal when receiving the request once, and the second terminal does not pass the second request if it receives the request. The host directly transmits a response first response unit to the first terminal. Therefore, there is an advantage that the order of communication or the order of communication can be controlled even if the number of terminal devices is increased.

於該通信系統中,較理想的是構成為,上述二次請求部若接收上述一次請求,則對於與該一次請求之發送源之上述第1終端、及與上述第2終端之通信,判斷是否滿足特定之條件,並基於判斷結果,決定是否發送上述二次請求。 Preferably, in the communication system, when the secondary requesting unit receives the one-time request, the secondary requesting unit determines whether or not the first terminal and the second terminal communicate with the source of the primary request The specific condition is met, and based on the judgment result, it is decided whether to send the above secondary request.

於該通信系統中,更理想的是上述特定之條件包含如下情形之至少一者:上述一次請求之發送源之上述第1終端作為成員而登錄於上述主機;及於接收上述一次請求時,上述主機並非與上述一次請求之發送源之上述第1終端以外之終端通信中。 In the communication system, it is preferable that the specific condition includes at least one of the case where the first terminal of the transmission source of the one-time request is registered as a member to the host; and when receiving the one-time request, the The host is not in communication with a terminal other than the above-described first terminal that is the source of the above-mentioned one request.

於該通信系統中,更理想的是構成為,上述第1終端與上述第2終端係與自上述主機向上述通信線送出之同步信號同步地通信。 In the communication system, it is preferable that the first terminal and the second terminal communicate with each other in synchronization with a synchronization signal sent from the host to the communication line.

於該通信系統中,更理想的是上述主機為向上述通信線重複送出作為上述同步信號之傳輸信號之傳輸單元,上述第1終端及上述第2終端為使用重疊於上述傳輸信號之重疊信號而通信之重疊終端。 In the communication system, it is preferable that the host is a transmission unit that repeatedly transmits a transmission signal as the synchronization signal to the communication line, and the first terminal and the second terminal use a superimposed signal superimposed on the transmission signal. Overlapping terminals for communication.

於該通信系統中,更理想的是構成為,上述傳輸信號係針對每1訊框而於時間軸方向上被分為複數個區間,上述主機係將上述複數個區間中之一部分之區間分配為使用上述重疊信號而進行與上述第1終端之通信之第1期間、及使用上述重疊信號而進行與上述第2終端之通信之第2期間,且在與上述第1終端及上述第2終端之間,進行使用上述重疊信號之分時方式之通信。 In the communication system, it is preferable that the transmission signal is divided into a plurality of sections in the time axis direction for each frame, and the host system allocates a section of the plurality of sections as a first period in which communication with the first terminal is performed using the superimposed signal, and a second period in which communication with the second terminal is performed using the superimposed signal, and the first terminal and the second terminal are In the meantime, communication is performed in a time sharing manner using the above overlapping signals.

於該通信系統中,更理想的是構成為,上述第2終端係將接收上述重疊信號之期間限定於上述複數個區間之中分配為上述第2期間之區間。 In the communication system, it is preferable that the second terminal is configured to limit the period in which the superimposed signal is received to the section in which the second period is allocated among the plurality of sections.

於該通信系統中,更理想的是以上述第1期間較上述第2期間於上述傳輸信號之1訊框中佔據之時間更長之方式,將上述複數個區間中之上述一部分之區間分配為第1期間與第2期間。 In the communication system, it is preferable that the part of the plurality of sections is allocated to the section in which the first period is longer than the second period in the first frame of the transmission signal. The first period and the second period.

於該通信系統中,更理想的是構成為,上述傳輸信號係於上述 複數個區間中包含用以由上述主機檢測中斷信號之中斷帶、及由上述主機接收回傳資料之時隙即回覆帶,若上述主機於上述中斷帶中檢測到上述中斷信號,則上述回覆帶被確保用於來自該中斷信號之發送源之上述回傳資料,上述一次請求部係於藉由發送上述中斷信號而經確保之上述回覆帶發送上述一次請求。 In the communication system, it is more preferable that the transmission signal is connected to the above The plurality of intervals include an interrupt band for detecting an interrupt signal by the host, and a time slot that is received by the host to return data. If the host detects the interrupt signal in the interrupt band, the reply band The backhaul data is secured for use from the source of the interrupt signal, and the primary request unit transmits the one-time request by the acknowledged reply band by transmitting the interrupt signal.

於該通信系統中,更理想的是構成為,上述一次請求部係使用上述重疊信號而發送上述中斷信號。 In the communication system, it is preferable that the one-time request unit transmits the interrupt signal using the superimposed signal.

又,於該通信系統中,較理想的是上述傳輸信號係於上述複數個區間之一部分中包含用以由上述主機發送資料之發送帶、由上述主機接收回傳資料之時隙即回覆帶、用以由上述主機檢測中斷信號之中斷帶、及由上述主機檢測短路之短路檢測帶,將上述複數個區間之中除上述發送帶、上述回覆帶、上述中斷帶、及上述短路檢測帶之外之區間、且為可重疊上述重疊信號之區間設為可重疊帶,該可重疊帶被分配為上述第1期間與上述第2期間。 Further, in the communication system, preferably, the transmission signal is included in a portion of the plurality of intervals, and includes a transmission band for transmitting data by the host, and a time slot, that is, a reply band, for receiving back data by the host, And an interruption zone for detecting an interrupt signal by the host and a short detection zone for detecting a short circuit by the host, wherein the plurality of sections are apart from the transmission zone, the return tape, the interruption zone, and the short detection zone The section in which the overlapping signal can be superimposed is an overlapable band, and the overlapable band is allocated to the first period and the second period.

於該通信系統中,更理想的是上述主機具有處理部,該處理部係接收自上述一次響應部發送至上述第1終端之上述一次響應而執行特定之處理。 In the communication system, it is preferable that the host has a processing unit that receives the one-time response transmitted from the primary response unit to the first terminal and performs a specific process.

於該通信系統中,更理想的是上述特定之處理包含如下處理之至少一者:上述主機將作為上述一次響應而自上述第2終端獲取之資料儲存於記憶部;及上述主機係求出作為上述一次響應而自上述第2終端獲取之資料之統計。 In the communication system, it is preferable that the specific processing includes at least one of: the host stores the data acquired from the second terminal as the primary response in a memory unit; and the host system obtains The statistics of the data obtained from the second terminal in response to the above one response.

於該通信系統中,更理想的是構成為,上述第2終端係對上述主機定期地發送獲取資料,上述二次請求部若接收上述一次請求,則將請求上述獲取資料之上述二次請求發送至上述第2終端,上述一次響應部若接收上述二次請求,則將上述獲取資料作為上述一次響應而發送至上述第1終端。 In the communication system, it is preferable that the second terminal periodically transmits the acquired data to the host, and the secondary requesting unit transmits the secondary request for requesting the acquired data when receiving the one-time request. When the secondary response is received by the primary response unit, the primary response unit transmits the acquired data to the first terminal as the primary response.

本發明之終端裝置之特徵在於,於上述通信系統中,用作為上述第1終端與上述第2終端之至少一者,且包含:上述一次請求部,其係向上述主機發送上述一次請求;及上述一次響應部,其若接收上述主機接收到上述一次請求時自上述主機發送之上述二次請求,則不經由上述主機而向對方之終端裝置直接發送上述一次響應。 The terminal device of the present invention is characterized in that, in the communication system, at least one of the first terminal and the second terminal, and the one-time requesting unit transmits the one-time request to the host; The primary response unit, when receiving the secondary request transmitted from the host when the host receives the one-time request, directly transmits the primary response to the terminal device of the other party without passing through the host.

1‧‧‧傳輸單元 1‧‧‧Transportation unit

2‧‧‧重疊終端 2‧‧‧Overlapping terminal

3‧‧‧通信終端 3‧‧‧Communication terminal

4‧‧‧照明器具 4‧‧‧Lighting appliances

6‧‧‧計測單元 6‧‧‧Measurement unit

7‧‧‧顯示面板 7‧‧‧ display panel

10‧‧‧通信線 10‧‧‧Communication line

11‧‧‧傳輸通信部 11‧‧‧Transportation and Communication Department

12‧‧‧發送部 12‧‧‧Send Department

13‧‧‧接收部 13‧‧‧ Receiving Department

14‧‧‧記憶部 14‧‧‧Memory Department

15‧‧‧控制部 15‧‧‧Control Department

16‧‧‧重疊通信部 16‧‧‧Overlap Communication Department

21‧‧‧記憶體 21‧‧‧ memory

22‧‧‧重疊通信部 22‧‧‧Overlap Communication Department

23‧‧‧傳輸通信部 23‧‧‧Transportation and Communication Department

24‧‧‧介面部 24‧‧‧ face

25‧‧‧控制部 25‧‧‧Control Department

101‧‧‧備用中斷帶 101‧‧‧Alternate Interrupt Zone

102‧‧‧備用帶 102‧‧‧ spare belt

103‧‧‧發送帶 103‧‧‧Send belt

104‧‧‧回覆帶 104‧‧‧Reply belt

105‧‧‧中斷帶 105‧‧‧Interrupted belt

106‧‧‧短路檢測帶 106‧‧‧Short-circuit detection zone

107‧‧‧暫停帶 107‧‧‧Pause zone

151‧‧‧二次請求部 151‧‧‧Second Request Department

152‧‧‧二次響應部 152‧‧‧Secondary Response Department

153‧‧‧處理部 153‧‧‧Processing Department

201‧‧‧第1終端 201‧‧‧1st terminal

202‧‧‧第2終端 202‧‧‧2nd terminal

251‧‧‧一次請求部 251‧‧‧One request department

252‧‧‧一次響應部 252‧‧‧Responsive Department

F1‧‧‧第1訊框 F1‧‧‧1st frame

F2‧‧‧第2訊框 F2‧‧‧2nd frame

F3‧‧‧第3訊框 F3‧‧‧3rd frame

S11~S16‧‧‧步驟 S11~S16‧‧‧Steps

S21~S24‧‧‧步驟 S21~S24‧‧‧Steps

S31~S33‧‧‧步驟 S31~S33‧‧‧Steps

T1‧‧‧第1期間 T1‧‧1 period 1

T2‧‧‧第2期間 T2‧‧‧2nd period

圖1係表示實施形態1之通信系統之概略構成之方塊圖。 Fig. 1 is a block diagram showing a schematic configuration of a communication system according to a first embodiment.

圖2係基本構成之通信系統之系統構成圖。 Fig. 2 is a system configuration diagram of a communication system of a basic configuration.

圖3係表示基本構成之通信系統之概略構成之方塊圖。 Fig. 3 is a block diagram showing a schematic configuration of a communication system of a basic configuration.

圖4係基本構成之通信系統之動作之說明圖。 Fig. 4 is an explanatory diagram of the operation of the communication system of the basic configuration.

圖5係基本構成之通信系統之動作之說明圖。 Fig. 5 is an explanatory diagram of the operation of the communication system of the basic configuration.

圖6係實施形態1之通信系統之動作之說明圖。 Fig. 6 is an explanatory diagram showing the operation of the communication system of the first embodiment.

圖7係實施形態2之通信系統之動作之說明圖。 Fig. 7 is an explanatory diagram showing the operation of the communication system of the second embodiment.

(基本構成) (basic composition)

例如,如圖2所示,本基本構成之通信系統包括連接於2線式通信線10之傳輸單元1、重疊終端2、及通信終端3。於該通信系統中,基本上通信終端3係使用於通信線10中傳輸之傳輸信號(第1協定之信號)而進行通信,重疊終端2係使用重疊於傳輸信號之重疊信號(第2協定之信號)而進行通信。重疊信號係重疊於傳輸信號之信號、即以重疊於傳輸信號之方式於通信線10中傳輸之信號,且於通信線10產生將傳輸信號與重疊信號合成而成之信號。 For example, as shown in FIG. 2, the communication system of the basic configuration includes a transmission unit 1, an overlapping terminal 2, and a communication terminal 3 connected to the 2-wire communication line 10. In the communication system, basically, the communication terminal 3 performs communication using the transmission signal (the first protocol signal) transmitted in the communication line 10, and the overlapping terminal 2 uses the superimposed signal superimposed on the transmission signal (the second agreement) Communication). The superimposed signal is a signal superimposed on the transmission signal, that is, a signal transmitted in the communication line 10 so as to overlap the transmission signal, and the communication line 10 generates a signal obtained by synthesizing the transmission signal and the superimposed signal.

圖2表示於在辦公大樓等中用以控制照明器具4之照明系統中應用有通信系統之例。於圖2之例中,傳輸單元1係於各區域(area)(例如各樓層)各設置有1台,於連接於各傳輸單元1之通信線10,各連接有複數台通信終端3及重疊終端2。 Fig. 2 shows an example in which a communication system is applied to an illumination system for controlling the lighting fixture 4 in an office building or the like. In the example of FIG. 2, the transmission unit 1 is provided in each area (for example, each floor), and is connected to the communication line 10 connected to each transmission unit 1, and each of the plurality of communication terminals 3 is connected and overlapped. Terminal 2.

又,傳輸單元1係連接於成為其上位裝置之節能控制器(未圖示)。節能控制器係針對每個區域(例如樓層)而設置,除應用有上述通信系統之照明系統外,亦統括地對空調裝置(未圖示)進行監視及控制。複數個區域之節能控制器係構成為,經由網際網路或者LAN(Local Area Network,區域網絡)等網絡而連接於具有瀏覽器功能之個人電腦(未圖示),從而可自個人電腦監視。 Further, the transmission unit 1 is connected to an energy saving controller (not shown) serving as a higher-level device. The energy-saving controller is provided for each area (for example, a floor), and in addition to the lighting system to which the communication system is applied, the air conditioner (not shown) is generally monitored and controlled. The energy-saving controllers of the plurality of areas are connected to a personal computer (not shown) having a browser function via a network such as the Internet or a LAN (Local Area Network), and can be monitored from a personal computer.

於本基本構成之通信系統中,傳輸單元1具有使用傳輸信號而與各通信終端3通信之功能、及使用重疊信號而與各重疊終端2通信之功能。因此,通信終端3彼此藉由在兩者間介置傳輸單元1而可相互通信,重疊終端2彼此亦藉由在兩者間介置傳輸單元1而可相互通信。 In the communication system of the basic configuration, the transmission unit 1 has a function of communicating with each communication terminal 3 using a transmission signal, and a function of communicating with each overlapping terminal 2 using an overlap signal. Therefore, the communication terminals 3 can communicate with each other by interposing the transmission unit 1 therebetween, and the overlapping terminals 2 can communicate with each other by interposing the transmission unit 1 therebetween.

複數台通信終端3係對傳輸單元1經由通信線10並聯連接。傳輸單元1及通信終端3係建構以分時進行自傳輸單元1向通信終端3之資料傳輸、與自通信終端3向傳輸單元1之資料傳輸之分時多工傳輸系統(以下,稱為「基本系統」)。以下,首先對基本系統之概略構成進行說明。 The plurality of communication terminals 3 connect the transmission units 1 in parallel via the communication line 10. The transmission unit 1 and the communication terminal 3 are configured to construct a time-division multiplex transmission system for data transmission from the transmission unit 1 to the communication terminal 3 and data transmission from the communication terminal 3 to the transmission unit 1 (hereinafter referred to as " Basic system"). Hereinafter, the schematic configuration of the basic system will be described first.

於基本系統中,通信終端3分類成如下2種:監視用終端,其係監視自牆壁開關等開關(未圖示)輸入之監視輸入;及控制用終端,其係具有繼電器(未圖示),進行負載(此處為照明器具4)之接通斷開控制等。本基本構成係以對於同一條通信線10連接有各複數台監視用通信終端3及控制用通信終端3之情形為例進行說明。此處,通信終端3係將預先經個別地分派之本身之位址記憶於各個記憶體(未圖示)。再者,監視用通信終端3並不限定於開關,亦可為監視藉由人體感應感測器或明亮度感測器等感測器而自動地產生之監視輸入之構成。 In the basic system, the communication terminal 3 is classified into two types: a monitoring terminal that monitors a monitoring input input from a switch (not shown) such as a wall switch, and a control terminal that has a relay (not shown). The on/off control of the load (here, the lighting fixture 4) is performed. In the basic configuration, a case where the plurality of monitoring communication terminals 3 and the control communication terminal 3 are connected to the same communication line 10 will be described as an example. Here, the communication terminal 3 memorizes the address of itself, which is individually assigned in advance, in each memory (not shown). Further, the monitoring communication terminal 3 is not limited to the switch, and may be configured to monitor a monitoring input automatically generated by a sensor such as a human body sensor or a brightness sensor.

如圖3所示,傳輸單元1包括向通信線10送出傳輸信號之傳輸通信部11、向通信終端3發送資料之發送部12、自通信終端3接收資料之接收部13、記憶部14、及控制部15。又,於本基本構成中,傳輸單元 1更包括重疊通信部16,該重疊通信部16係以不僅可在其與通信終端3之間通信,而且亦可在其與重疊終端2之間通信之方式,使用重疊信號而進行通信。控制部15係控制傳輸通信部11、發送部12、接收部13、重疊通信部16之動作。於本基本構成中,傳輸單元1係以微電腦(microcomputer)為主構成,執行記憶於記憶部14之程式,藉此實現各部之功能。再者,於圖3中,省略通信終端3之圖示。 As shown in FIG. 3, the transmission unit 1 includes a transmission communication unit 11 that transmits a transmission signal to the communication line 10, a transmission unit 12 that transmits data to the communication terminal 3, a reception unit 13 that receives data from the communication terminal 3, a storage unit 14, and Control unit 15. Also, in the basic configuration, the transmission unit 1 further includes an overlap communication unit 16 that communicates using an overlap signal not only in communication with the communication terminal 3 but also between the terminal and the overlap terminal 2. The control unit 15 controls the operations of the transmission communication unit 11, the transmission unit 12, the reception unit 13, and the overlap communication unit 16. In the basic configuration, the transmission unit 1 is mainly constituted by a microcomputer (microcomputer), and executes a program stored in the memory unit 14, thereby realizing the functions of the respective units. In addition, in FIG. 3, the illustration of the communication terminal 3 is abbreviate|omitted.

傳輸單元1係將根據位址而將監視用通信終端3與控制用通信終端3建立對應之控制表記憶於記憶部14。然而,例如於監視用通信終端3具有複數個電路之開關之情形時,僅藉由通信終端3所固有之終端位址,無法區分該通信終端3中之複數個電路之開關之各者。即,該通信終端3中之複數個電路之開關全部對應於通信終端3所固有之終端位址,僅藉由終端位址,無法特定出實際上被操作之唯一之開關。 The transmission unit 1 stores a control table in which the monitoring communication terminal 3 and the control communication terminal 3 are associated with each other in the memory unit 14 based on the address. However, for example, when the monitoring communication terminal 3 has a switch of a plurality of circuits, it is impossible to distinguish each of the switches of the plurality of circuits in the communication terminal 3 by only the terminal address unique to the communication terminal 3. That is, all of the switches of the plurality of circuits in the communication terminal 3 correspond to the terminal addresses unique to the communication terminal 3, and only the terminal address can be used to specify the only switch that is actually operated.

對此,於監視用通信終端3中,對每個開關分配負載編號,以便可特定出實際上被操作之唯一之開關,將於通信終端3之終端位址之後附加有負載編號之位址用作開關固有的位址(識別碼)。同樣地,於控制用通信終端3中,對每個繼電器分配負載編號,將於通信終端3之終端位址之後附加有負載編號之位址作為繼電器固有之位址(識別碼)。控制表係將開關固有之位址與繼電器固有之位址以一對一或者一對多之方式建立對應。 In this case, in the monitoring communication terminal 3, a load number is assigned to each switch so that the only switch that is actually operated can be specified, and the address of the load number is added after the terminal address of the communication terminal 3. The address (identification code) inherent to the switch. Similarly, in the control communication terminal 3, a load number is assigned to each relay, and an address of the load number is added after the terminal address of the communication terminal 3 as a relay-specific address (identification code). The control table associates the address inherent to the switch with the address inherent to the relay in a one-to-one or one-to-many manner.

繼而,對基本系統之動作進行說明。 Next, the operation of the basic system will be described.

傳輸單元1係對通信線10重複發送分時方式之傳輸信號。如圖4所示,傳輸信號包含針對每1訊框而於時間軸方向上分割為複數個區間之形式之電壓波形。即,傳輸信號係包含備用中斷帶101、備用帶102、發送帶103、回覆帶104、中斷帶105、短路檢測帶106、及暫停帶107之7個區間(期間)之雙極(±24V)之分時多工信號。 The transmission unit 1 repeatedly transmits the transmission signal of the time sharing method to the communication line 10. As shown in FIG. 4, the transmission signal includes a voltage waveform in the form of a plurality of intervals in the time axis direction for each frame. That is, the transmission signal includes the standby interrupt band 101, the spare tape 102, the transmission belt 103, the reply tape 104, the interruption band 105, the short-circuit detection band 106, and the two sections (period) of the pause band 107 (±24 V) Time-division multiplex signal.

備用中斷帶101係傳輸單元1用以檢測有無2次中斷之期間,備用 帶102係根據中斷帶105及短路檢測帶106而設定之期間,發送帶103係傳輸單元1用以向通信終端3傳輸資料之期間。回覆帶104係傳輸單元1接收來自通信終端3之回傳資料之時隙,中斷帶105係傳輸單元1用以檢測有無下述之中斷信號之期間,短路檢測帶106係傳輸單元1用以檢測短路之期間。暫停帶107係用於來不及處理時之期間。 The spare interrupt band 101 is used to transmit the unit 1 for detecting the presence or absence of two interruptions. The belt 102 is set in accordance with the interruption belt 105 and the short detection belt 106, and the transmission belt 103 is a period in which the transmission unit 1 transmits data to the communication terminal 3. The replying band 104 is a time slot in which the transmitting unit 1 receives the returned data from the communication terminal 3. The interrupting band 105 is used to detect the presence or absence of the following interrupt signal. The short detecting band 106 is used by the transmitting unit 1 to detect During the short circuit. The pause zone 107 is used for periods when it is too late to process.

再者,傳輸單元1係於在中斷帶105檢測到中斷信號之情形時,於此後之最初之發送帶103、回覆帶104,與中斷信號之產生源之通信終端3進行通信。因此,本基本構成係將傳輸信號之自中斷帶105開始且於回覆帶104結束之各期間設為1訊框(F1、F2、…)。然而,原本備用中斷帶101與備用帶102係設定為起動脈衝(start pulse)之區間,中斷帶105與短路檢測帶106係設定為終止脈衝(end pulse)之區間,因此亦可將備用中斷帶101至短路檢測帶106為止之期間設為1訊框。於該情形時,暫停帶107係傳輸信號之訊框間之間隔,傳輸信號係針對1訊框加上間隔而成之每個期間,於時間軸方向上分為複數個區間。 Further, when the transmission unit 1 detects that an interrupt signal is detected in the interrupt band 105, the first transmission band 103 and the reply band 104 thereafter communicate with the communication terminal 3 which is the source of the interruption signal. Therefore, the basic configuration is such that the transmission signal starts from the interruption band 105 and is set to the 1-frame (F1, F2, ...) in each period in which the reply band 104 ends. However, the original spare interrupt band 101 and the spare tape 102 are set as the start pulse, and the interrupt band 105 and the short detection band 106 are set as the end pulse interval, so the spare interrupt band can also be used. The period from 101 to the short detection band 106 is set to 1 frame. In this case, the pause band 107 is the interval between the frames of the signal transmission, and the transmission signal is divided into a plurality of intervals in the time axis direction for each period in which the signal is added to the frame.

傳輸單元1於通常情況下係發送模式資料為通常模式之傳輸信號,進行使該傳輸信號之發送帶103中所含之位址資料週期性地變化並對通信終端3依序存取之常規輪詢(polling)。於常規輪詢時,發送帶103中所含之位址資料與本身之位址一致之通信終端3接收該發送帶103中所含之資料,於此後之最初之(同一訊框之)回覆帶104向傳輸單元1發送回傳資料。此處,通信終端3係藉由與傳輸信號之回覆帶104同步之電流模式之信號(藉由經由適當之低阻抗使通信線10短路而送出之信號)而發送回傳資料。再者,通信終端3之內部電路之電源係藉由將經由通信線10傳輸之傳輸信號整流且穩定化而供給。 The transmission unit 1 normally transmits a transmission signal in which the mode data is the normal mode, performs a regular round of periodically changing the address data contained in the transmission band 103 of the transmission signal, and sequentially accesses the communication terminal 3. Polling. In the case of the conventional polling, the communication terminal 3, which has the address data contained in the transmission strip 103 and its own address, receives the data contained in the transmission belt 103, and thereafter the initial (the same frame) replies 104 transmits a backhaul data to the transmission unit 1. Here, the communication terminal 3 transmits the backhaul data by a signal of a current mode synchronized with the return band 104 of the transmission signal (a signal sent by short-circuiting the communication line 10 via a suitable low impedance). Furthermore, the power supply of the internal circuit of the communication terminal 3 is supplied by rectifying and stabilizing the transmission signal transmitted via the communication line 10.

另一方面,監視用通信終端3若檢測到監視輸入,則與傳輸信號之中斷帶105同步地產生中斷信號。以下,參照圖4,對在圖2之通信系統中於監視用通信終端3產生中斷信號之情形時之基本系統之動作 進行說明。 On the other hand, when the monitoring communication terminal 3 detects the monitoring input, the monitoring communication terminal 3 generates an interrupt signal in synchronization with the interruption band 105 of the transmission signal. Hereinafter, the operation of the basic system when the interrupt signal is generated in the monitoring communication terminal 3 in the communication system of FIG. 2 will be described with reference to FIG. Be explained.

傳輸單元1若於傳輸信號之第1訊框F1之中斷帶105檢測到於監視用通信終端3產生之中斷信號(圖4之S11),則將傳輸信號之發送帶103中所含之模式資料自通常模式切換至中斷輪詢模式。於中斷輪詢模式中,傳輸單元1係藉由發送部12,於傳輸信號之發送帶103發送包含位址之高階位元之第1次之回傳請求資料(S12),一面使位址(高階位元)週期性地變化,一面進行位址檢索。產生中斷信號之通信終端3係只要回傳請求資料中之位址(高階位元)與本身之位址的高階位元一致,則於第1訊框F1之回覆帶104,將本身之位址之低階位元作為回傳資料而發送至傳輸單元1(S13)。藉此,傳輸單元1將於第1訊框F1中產生中斷信號之通信終端3之位址(低階位元)作為第1次之回傳資料而由接收部13接收。 When the transmission unit 1 detects the interrupt signal generated by the monitoring communication terminal 3 in the interrupt band 105 of the first frame F1 of the transmission signal (S11 in FIG. 4), the transmission mode includes the mode data contained in the transmission band 103. Switch from normal mode to interrupt polling mode. In the interrupt polling mode, the transmission unit 1 transmits the first backhaul request data including the high-order bit of the address in the transmission band 103 of the transmission signal by the transmitting unit 12 (S12), and makes the address ( High-order bits are periodically changed to perform address retrieval. The communication terminal 3 that generates the interrupt signal is configured to return the address of the address in the first frame F1 as long as the address (high-order bit) in the returned request data coincides with the high-order bit of the address of the first frame F1. The lower order bit is transmitted to the transmission unit 1 as a backhaul data (S13). Thereby, the transmission unit 1 receives the address (lower order bit) of the communication terminal 3 that generated the interrupt signal in the first frame F1 as the first backhaul data, and is received by the receiving unit 13.

傳輸單元1若獲取產生中斷信號之通信終端3之位址,則指定該位址,於第2訊框F2之發送帶103,自發送部12對通信終端3發送第2次之回傳請求資料(S14)。通信終端3若接收包含本身之位址之回傳請求資料,則響應於此而於第2訊框F2之回覆帶104,將包含與監視輸入對應之開關之負載編號及為接通或斷開之監視資料作為回傳資料而發送至傳輸單元1(S15)。 When the transmission unit 1 acquires the address of the communication terminal 3 that generates the interrupt signal, the transmission unit 1 specifies the address, and the transmission unit 103 in the second frame F2 transmits the second return request data from the transmission unit 12 to the communication terminal 3. (S14). When the communication terminal 3 receives the return request data including the address of itself, the communication terminal 3 responds to the reply band 104 of the second frame F2, and turns on or off the load number including the switch corresponding to the monitor input. The monitoring data is transmitted to the transmission unit 1 as a return data (S15).

傳輸單元1若藉由接收部13接收包含監視資料之第2次之回傳資料,則於第3訊框F3之發送帶103,對在控制表上與該監視資料對應之控制用之通信終端3發送控制資料(S16)。接收到控制資料之控制用之通信終端3係根據控制資料而對照明器具4進行接通斷開控制。 When the transmission unit 1 receives the second return data including the monitoring data by the receiving unit 13, the transmission unit 103 in the third frame F3 controls the communication terminal corresponding to the monitoring data on the control table. 3 Transmit control data (S16). The communication terminal 3 that has received control of the control data performs on/off control of the lighting fixture 4 based on the control data.

如上所述,基本系統係通信終端3彼此(監視用終端與控制用終端)根據輪詢/選擇方式之協定(第1協定),經由傳輸單元1而進行通信。 As described above, the basic system communication terminals 3 (the monitoring terminal and the control terminal) communicate via the transmission unit 1 in accordance with the agreement (first agreement) of the polling/selection method.

另外,於本基本構成之通信系統中,作為終端裝置之重疊終端2 係與上述基本系統共用通信線10,並且使用重疊於傳輸信號之重疊信號而進行通信。 In addition, in the communication system of the basic configuration, the overlapping terminal 2 as the terminal device The communication line 10 is shared with the above-described basic system, and communication is performed using an overlapping signal superimposed on the transmission signal.

如圖3所示,重疊終端2包括記憶體21、進行使用有重疊信號之通信之(終端側)重疊通信部22、至少可接收傳輸信號之(終端側)傳輸通信部23、介面部24、及(終端側)控制部25。於介面部24,連接下述計測單元6等。控制部25係控制重疊通信部22、傳輸通信部23、介面部24之動作。於本基本構成中,重疊終端2係以微電腦(microcomputer)為主構成而執行記憶於記憶體21之程式,藉此實現各部之功能。 As shown in FIG. 3, the superimposing terminal 2 includes a memory 21, a (terminal side) overlapping communication unit 22 that performs communication using overlapping signals, a (terminal side) transmission communication unit 23 that can receive at least a transmission signal, and a dielectric surface portion 24, And (terminal side) control unit 25. On the interface 24, the following measurement unit 6 and the like are connected. The control unit 25 controls the operations of the superimposed communication unit 22, the transmission communication unit 23, and the interfacial portion 24. In the basic configuration, the superimposed terminal 2 performs a function of the respective units by executing a program stored in the memory 21 with a microcomputer as a main configuration.

此處,重疊信號與傳輸信號相比為頻率足夠高之信號,且於(傳輸信號之)每1訊框中可傳輸之資料量足夠多。因此,利用重疊信號之通信與利用傳輸信號之通信相比,可使通信速度高速化,適於例如類比量般資料量相對較多之資訊之傳輸。因此,於本基本構成中,重疊終端2進行對電壓、電流、電力等進行計測之計測單元(多電路能量監控器)6之計測結果之傳輸。 Here, the superimposed signal is a signal having a sufficiently high frequency compared to the transmitted signal, and the amount of data that can be transmitted per frame (of the transmitted signal) is sufficiently large. Therefore, the communication using the overlap signal can speed up the communication speed as compared with the communication using the transmission signal, and is suitable for the transmission of information having a relatively large amount of data such as an analog quantity. Therefore, in the basic configuration, the superimposing terminal 2 transmits the measurement result of the measurement unit (multiple circuit energy monitor) 6 that measures voltage, current, electric power, and the like.

具體而言,複數台重疊終端2係分類為連接於計測單元6之監視用終端、及電性連接於顯示計測單元6之計測結果之顯示面板(樓層綜合面板)7之顯示用終端。顯示面板7係以例如表或圖表等各種形式顯示計測單元6之計測結果。以下,將顯示用重疊終端2作為第1終端201,將監視用重疊終端2作為第2終端202而進行說明。 Specifically, the plurality of overlapping terminals 2 are classified into a monitoring terminal connected to the measuring unit 6 and a display terminal electrically connected to the display panel (floor integrated panel) 7 of the measurement result of the display measuring unit 6. The display panel 7 displays the measurement results of the measurement unit 6 in various forms such as a table or a chart. Hereinafter, the display overlapping terminal 2 will be referred to as the first terminal 201, and the monitoring overlapping terminal 2 will be referred to as the second terminal 202.

再者,本基本構成係假設對於同一通信線10連接有各複數台第1終端201與第2終端202。然而,只要至少第2終端202有複數台即可,第1終端201亦可僅為1台。又,此處第1終端201係藉由收納於與顯示面板7共用之殼體而與顯示面板7一體化,但並不限於該構成,亦可為收納於與顯示面板7為不同之殼體而於介面部24連接顯示面板7之構成。相反地,第2終端202與計測單元6為不同體,但並不限於該構 成,亦可與計測單元6一體化。 In addition, this basic configuration assumes that a plurality of first terminals 201 and second terminals 202 are connected to the same communication line 10. However, as long as at least the second terminal 202 has a plurality of stations, the first terminal 201 may be only one. In addition, although the first terminal 201 is integrated with the display panel 7 by being housed in a casing shared with the display panel 7, the present invention is not limited to this configuration, and may be housed in a casing different from the display panel 7. The interface 24 is connected to the display panel 7. Conversely, the second terminal 202 and the measurement unit 6 are different bodies, but are not limited to the structure. The integration can also be integrated with the measurement unit 6.

根據上述構成,第2終端202可使用重疊信號而例如定期地向第1終端201傳輸計測單元6之計測結果,並使計測單元6之計測結果顯示於顯示面板7。又,顯示面板7具有觸控面板顯示器(未圖示),且構成為,藉由受理來自使用者之操作輸入而顯示使用者所期望之資訊。因此,第1終端201可根據使用者對顯示面板7之操作輸入而發出請求,並使自第2終端202獲取之計測單元6之計測結果作為該請求之響應而顯示於顯示面板7。 According to the configuration described above, the second terminal 202 can periodically transmit the measurement result of the measurement unit 6 to the first terminal 201 using the superimposed signal, and display the measurement result of the measurement unit 6 on the display panel 7. Further, the display panel 7 has a touch panel display (not shown) and is configured to display information desired by the user by accepting an operation input from the user. Therefore, the first terminal 201 can issue a request based on the user's operation input to the display panel 7, and display the measurement result of the measurement unit 6 acquired from the second terminal 202 on the display panel 7 as a response to the request.

此處,重疊終端2係將預先經個別地分派之本身之位址記憶於各個記憶體21。然而,通信終端3與重疊終端2中可設定之位址區域有所區分。以下,假定如下情形而進行說明:作為通信系統整體,可使用「1」~「128」之位址,其中「1」~「64」係分派為通信終端3之位址區域,「65」~「128」係分派為重疊終端2之位址區域。 Here, the overlapping terminal 2 memorizes the address of itself which is individually assigned in advance in each memory 21. However, the communication terminal 3 is distinguished from the addressable area that can be set in the overlapping terminal 2. In the following, it is assumed that the address of "1" to "128" can be used as the entire communication system, and "1" to "64" are assigned as the address area of the communication terminal 3, "65"~ "128" is assigned as the address area of the overlapping terminal 2.

再者,關於重疊終端2,於對1台重疊終端2連接有複數台感測器或負載之情形時,並非被分派重疊終端2所固有之位址,而是被分派每個感測器或者負載所固有之位址。即,對於連接有例如4台感測器(計測單元6等)之重疊終端2,如「65」、「66」、「67」、「68」般分派有合計4個位址。 Further, in the case where a plurality of sensors or loads are connected to one overlapping terminal 2, the overlapping terminal 2 is not assigned an address unique to the overlapping terminal 2, but is assigned to each sensor or The address inherent to the load. In other words, for the overlapping terminal 2 to which, for example, four sensors (the measuring unit 6 and the like) are connected, a total of four addresses are assigned as in "65", "66", "67", and "68".

又,本基本構成之重疊終端2係構成為,可藉由傳輸通信部23,與通信終端3同樣地,在與傳輸單元1之間使用傳輸信號進行雙向通信。即,重疊終端2不僅可實現使用有重疊信號之通信,而且亦可實現利用傳輸信號之與傳輸單元1之通信。 Further, the superimposed terminal 2 of the basic configuration is configured such that, similarly to the communication terminal 3, the transmission communication unit 23 performs bidirectional communication using the transmission signal with the transmission unit 1. That is, the overlapping terminal 2 can realize not only communication using overlapping signals but also communication with the transmission unit 1 using the transmission signals.

又,重疊終端2具有監視使用於基本系統之傳輸信號,並分析傳輸信號之資料傳輸狀況(以下,稱為「狀態(state)」)之功能。此處,重疊終端2係藉由傳輸通信部23監視傳輸信號。重疊終端2係根據狀態之分析結果判斷是否位於適於重疊信號之重疊之可重疊帶,於判斷為 可重疊帶之時序,藉由重疊通信部22將重疊信號重疊於傳輸信號。即,重疊終端2係構成為,與自作為主機之傳輸單元1送出至通信線10之傳輸信號同步地通信。因此,傳輸單元1可將傳輸信號用作同步信號,而無需送出僅為了與使用重疊信號之通信取得同步之同步信號。 Further, the superimposing terminal 2 has a function of monitoring a transmission signal used in the basic system and analyzing a data transmission state (hereinafter referred to as a "state") of the transmission signal. Here, the overlapping terminal 2 monitors the transmission signal by the transmission communication unit 23. The overlapping terminal 2 determines whether or not it is located in an overlapable band suitable for overlapping of overlapping signals based on the analysis result of the state, and determines that The timing of the overlapping bands can be superimposed on the transmission signal by the overlapping communication unit 22. That is, the superimposing terminal 2 is configured to communicate with the transmission signal transmitted from the transmission unit 1 as the host to the communication line 10 in synchronization. Therefore, the transmission unit 1 can use the transmission signal as the synchronization signal without sending a synchronization signal which is only synchronized with the communication using the overlapping signal.

於本基本構成中,重疊終端2原則上將傳輸信號中之備用中斷帶101、備用帶102、及暫停帶107作為可重疊帶而使用於重疊信號之重疊。備用中斷帶101、備用帶102、及暫停帶107係如下之區間:即便重疊有重疊信號,亦不會對第1協定之通信造成影響,且重疊信號亦不易受到傳輸信號之影響。 In the basic configuration, the overlapping terminal 2 basically uses the spare interrupt band 101, the spare tape 102, and the pause band 107 in the transmission signal as overlappable bands for overlapping of overlapping signals. The spare interrupt band 101, the spare band 102, and the pause band 107 are in the following sections: even if overlapping signals are superimposed, the communication of the first protocol is not affected, and the overlapping signals are not easily affected by the transmission signals.

進而,重疊終端2係與通信終端3同樣地,構成為可與傳輸信號之中斷帶105同步地產生中斷信號,對於藉由中斷信號而經確保之回覆帶104,亦可作為可重疊帶而使用於重疊信號之重疊。即,重疊終端2亦可於傳輸通信部23實現使用傳輸信號之通信,故藉由與中斷帶105同步地使用傳輸信號而產生中斷信號,可確保此後之最初之(同一訊框之)回覆帶104用於本身與傳輸單元1之通信。重疊終端2將以此方式確保之回覆帶104用作可重疊帶,藉此可避免於回覆帶104自通信終端3發送至傳輸單元1之回傳資料與重疊信號之干擾。 Further, similarly to the communication terminal 3, the superimposing terminal 2 is configured to generate an interrupt signal in synchronization with the interrupt band 105 for transmitting a signal, and the reply tape 104 secured by the interrupt signal can be used as an overlapable band. Overlap of overlapping signals. That is, the overlapping terminal 2 can also realize the communication using the transmission signal in the transmission communication unit 23, so that the interrupt signal is generated by using the transmission signal in synchronization with the interruption band 105, thereby ensuring the initial (the same frame) reply band thereafter. 104 is used for communication with the transmission unit 1 itself. The overlapping terminal 2 uses the replying tape 104 secured in this manner as an overlapable band, whereby interference between the backhaul data and the overlapping signal transmitted from the communication terminal 3 to the transmission unit 1 by the replying tape 104 can be avoided.

若進一步詳細地進行說明,則傳輸單元1若於中斷帶105檢測到中斷信號,則為了於回覆帶104接收來自該中斷信號之發送源之回傳資料,發送請求回傳資料之回傳之回傳請求資料。通信終端3係僅於滿足自身產生中斷信號且於產生中斷信號後自傳輸單元1接收回傳請求資料之條件之情形時,進行回覆帶104之回傳資料之發送。因此,於重疊終端2產生中斷信號之情形時,通信終端3不滿足自身產生中斷信號之回傳資料之發送所需之條件,因此不會於回覆帶104發送回傳資料。其結果,於回覆帶104中,被禁止來自除於中斷帶105產生中斷信號之重疊終端2外之終端(重疊終端2或者通信終端3)之回傳資料之 發送。換言之,回覆帶104係被確保用於來自產生中斷信號之重疊終端2之回傳資料(重疊信號)。 If the interrupt signal is detected in the interrupt band 105, the transmission unit 1 receives the return data from the transmission source of the interrupt signal, and transmits the request back data back. Pass the request information. The communication terminal 3 transmits the return data of the reply band 104 only when the condition that the interrupt signal is generated by itself and the condition for receiving the return request data from the transmission unit 1 after the interruption signal is generated is satisfied. Therefore, when the overlap terminal 2 generates an interrupt signal, the communication terminal 3 does not satisfy the condition required for the transmission of the backhaul data of the interrupt signal generated by itself, and therefore does not transmit the backhaul data on the reply band 104. As a result, in the reply band 104, the return data from the terminal (overlapping terminal 2 or communication terminal 3) other than the overlapping terminal 2 in which the interrupt signal is generated by the interrupt band 105 is prohibited. send. In other words, the reply band 104 is secured for the backhaul data (overlapping signal) from the overlapping terminal 2 that generated the interrupt signal.

回覆帶104係與其他可重疊帶同樣地,即便重疊有重疊信號,亦不會對第1協定之通信造成影響,重疊信號亦不易受到傳輸信號之影響。而且,回覆帶104係與備用中斷帶101、備用帶102、或暫停帶107相比,傳輸信號之電壓保持為固定之時間較長,且於傳輸信號之1訊框中佔據之比率較大,因此適於重疊信號之重疊。再者,若例示具體之數值,則回覆帶104之時間寬度約為6.5ms,重疊終端2若設為可藉由重疊信號而於1次之回覆帶104中發送350bit之資料,則將傳輸信號之訊框週期設為約15ms,傳輸速度成為約23kbps。 Similarly to the other overlapable bands, the reply tape 104 does not affect the communication of the first protocol even if the overlapping signals are superimposed, and the overlap signal is less susceptible to the transmission signal. Moreover, the reply band 104 is longer than the spare interrupt band 101, the spare tape 102, or the pause band 107, and the voltage of the transmission signal is kept fixed for a long period of time, and the ratio of the occupied signal in the frame of the transmission signal is large. It is therefore suitable for overlapping of overlapping signals. Furthermore, if a specific value is exemplified, the time width of the replying tape 104 is about 6.5 ms, and if the overlapping terminal 2 is configured to transmit 350 bits of data in the primary covering tape 104 by the overlapping signal, the signal will be transmitted. The frame period is set to about 15 ms, and the transmission speed is about 23 kbps.

其他區間(發送帶103、中斷帶105、及短路檢測帶106)係傳輸信號穩定為高位準或者低位準之時間相對較短,若重疊有重疊信號,則易對第1協定之通信產生影響。又,若於上述其他區間重疊有重疊信號,則重疊信號亦容易受到於傳輸單元1與通信終端3之間收發之信號(中斷信號或發送資料)之影響。因此,於本基本構成中,除備用中斷帶101、備用帶102、暫停帶107、及回覆帶104外之區間係設為不使用於重疊信號之重疊之區間(以下,稱為「不可重疊帶」)。 The other sections (the transmission band 103, the interruption band 105, and the short-circuit detection band 106) are relatively short in the time when the transmission signal is stabilized to a high level or a low level, and if the overlapping signals are superimposed, it is easy to affect the communication of the first protocol. Further, if the superimposed signal is superimposed on the other sections, the superimposed signal is also susceptible to signals (interrupt signals or transmission data) transmitted and received between the transmission unit 1 and the communication terminal 3. Therefore, in the basic configuration, the sections other than the spare interruption zone 101, the spare tape 102, the pause zone 107, and the reply zone 104 are not used in the overlapping section of the overlap signal (hereinafter, referred to as "non-overlapping zone" ").

重疊通信部22係作為藉由重疊信號而發送資料之資料發送部、及接收藉由重疊信號而發送之資料之資料接收部而發揮功能。重疊通信部22係構成為,僅於根據狀態之分析結果判斷為可重疊帶時,發送重疊信號。重疊終端2係如上所述般與傳輸信號同步地使重疊信號僅重疊於可重疊帶,藉此避免使用共用之通信線10之第1協定之通信與第2協定的通信之干擾。 The superimposed communication unit 22 functions as a data transmitting unit that transmits data by overlapping signals and a data receiving unit that receives data transmitted by overlapping signals. The superimposed communication unit 22 is configured to transmit an overlap signal only when it is determined that the overlapable band is determined based on the analysis result of the state. The superimposed terminal 2 superimposes the superimposed signal only on the superimposable band in synchronization with the transmission signal as described above, thereby avoiding interference between the communication of the first protocol of the shared communication line 10 and the communication of the second protocol.

再者,傳輸信號之上升及下降之期間亦因高頻雜訊之影響或伴隨信號之電壓反轉之暫態響應之影響等而不適於將重疊信號重疊。因此,重疊終端2於備用中斷帶101、備用帶102、暫停帶107、及回覆帶 104中,亦係對區間之切換(上升)後之特定之避免時間(例如300μs)判斷為不可重疊帶。 Furthermore, the period of rise and fall of the transmission signal is also unsuitable for superimposing the overlapping signals due to the influence of high frequency noise or the transient response accompanying the voltage inversion of the signal. Therefore, the overlapping terminal 2 is in the spare interrupt zone 101, the spare tape 102, the pause zone 107, and the reply tape In 104, it is also determined that the specific avoidance time (for example, 300 μs) after the switching (rise) of the interval is a non-overlapping band.

向重疊終端2之電源供給係與通信終端3同樣地,藉由如下方式(集中供電方式)進行:藉由利用各重疊終端2將自傳輸單元1經由通信線10傳輸之傳輸信號整流且穩定化而供給。然而,並不限於該構成,向重疊終端2之電源供給亦可藉由如下方式(局部供電方式)進行:藉由利用各重疊終端2將商用電源整流且穩定化而供給。 Similarly to the communication terminal 3, the power supply system to the superimposing terminal 2 is performed by the following method (centralized power supply method): the transmission signal transmitted from the transmission unit 1 via the communication line 10 is rectified and stabilized by each overlapping terminal 2 And supply. However, the present invention is not limited to this configuration, and the power supply to the superimposing terminal 2 can be performed by rectifying and stabilizing the commercial power supply by the respective overlapping terminals 2 by the following method (local power supply method).

另外,於本基本構成之通信系統中,傳輸單元1具有如下主權,該主權為用以作為使用重疊信號與重疊終端2直接通信之主節點而發揮功能之權限。於該通信系統中,各重疊終端2並非可使用重疊信號而與其他重疊終端2自由地通信,而可僅在與具有主權之主節點之間直接通信。 Further, in the communication system of the basic configuration, the transmission unit 1 has a sovereign right for functioning as a master node that directly communicates with the overlapping terminal 2 using an overlap signal. In the communication system, each of the overlapping terminals 2 is not freely communicable with other overlapping terminals 2 using overlapping signals, but can communicate directly with only the master node having sovereignty.

因此,於在第1終端201-第2終端202間傳輸資料之情形時,傳輸單元1係藉由重疊通信部16而使用重疊信號自第1終端201獲取資料,從而使用重疊信號向第2終端202發送該資料。換言之,於傳輸單元1作為主節點而發揮功能之通常情況下,作為終端裝置之重疊終端2彼此係經由傳輸單元1而進行通信,而並非相互直接通信。 Therefore, when data is transmitted between the first terminal 201 and the second terminal 202, the transmission unit 1 acquires data from the first terminal 201 by using the superimposed signal by the superimposed communication unit 16, thereby using the superimposed signal to the second terminal. 202 sends the data. In other words, in the normal case where the transmission unit 1 functions as a master node, the overlapping terminals 2 as terminal devices communicate with each other via the transmission unit 1, and do not directly communicate with each other.

作為為此而設之具體之構成,如圖3所示,第1終端201具有一次請求部251,第2終端202具有一次響應部252,作為主節點(主機)之傳輸單元1具有二次請求部151及二次響應部152。此處,於第1終端201與第2終端202中,使用有相同構成之終端裝置,因此於第1終端201與第2終端202之各者,設置有一次請求部251及一次響應部252之兩者。然而,於在第1終端201與第2終端202中使用有不同構成之終端裝置之情形時,於第1終端201中,亦可無一次響應部252,於第2終端202中,亦可無一次請求部251。 As a specific configuration for this purpose, as shown in FIG. 3, the first terminal 201 has a primary request unit 251, and the second terminal 202 has a primary response unit 252, and the transmission unit 1 as a master node (host) has a secondary request. Part 151 and secondary response unit 152. Here, since the terminal devices having the same configuration are used in the first terminal 201 and the second terminal 202, the primary request unit 251 and the primary response unit 252 are provided in each of the first terminal 201 and the second terminal 202. Both. However, when the terminal device having a different configuration is used in the first terminal 201 and the second terminal 202, the first terminal 201 may not have the primary response unit 252, and the second terminal 202 may or may not be present. The request unit 251 is used once.

一次請求部251係設置於控制部25,具有向作為主節點之傳輸單 元1發送一次請求之功能。此處,一次請求係如下之信號:對於第2終端202指定請求發送之資料之種類,例如指定請求哪一計測單元6之計測結果。 The primary request unit 251 is provided in the control unit 25 and has a transmission list as a master node. Element 1 sends the request function once. Here, the one-time request is a signal for specifying the type of the data to be transmitted by the second terminal 202, for example, specifying which measurement unit 6 is to be requested.

二次請求部151係設置於傳輸單元1之控制部15,具有若自第1終端201接收一次請求則向第2終端202發送二次請求之功能。此處,二次請求係如下之信號:反映一次請求之內容,對於第2終端202指定請求發送之資料之種類,例如指定請求哪一計測單元6之計測結果。 The secondary request unit 151 is provided in the control unit 15 of the transmission unit 1, and has a function of transmitting a secondary request to the second terminal 202 when receiving a request from the first terminal 201. Here, the secondary request is a signal that reflects the content of one request, and specifies the type of the data to be transmitted by the second terminal 202, for example, which measurement unit 6 is requested to be requested.

一次響應部252係設置於控制部25,具有若自傳輸單元1接收二次請求則向作為主節點之傳輸單元1發送一次響應之功能。此處,一次響應係對於二次請求之響應,包含自第1終端201請求之資料、例如計測單元6之計測結果。 The primary response unit 252 is provided in the control unit 25, and has a function of transmitting a response to the transmission unit 1 as the master node when receiving the secondary request from the transmission unit 1. Here, the response of the primary response to the secondary request includes the information requested from the first terminal 201, for example, the measurement result of the measurement unit 6.

二次響應部152係設置於傳輸單元1之控制部15,具有若自第2終端202接收一次響應則向第1終端201發送二次響應之功能。此處,二次響應反映一次響應之內容,包含自第1終端201請求之資料、例如計測單元6之計測結果。 The secondary response unit 152 is provided in the control unit 15 of the transmission unit 1 and has a function of transmitting a secondary response to the first terminal 201 when receiving a response from the second terminal 202. Here, the secondary response reflects the content of the primary response, and includes the information requested from the first terminal 201, for example, the measurement result of the measurement unit 6.

於本基本構成中,上述一次請求、二次請求、一次響應、二次響應均使用重疊信號而發送。即,一次請求部251係自重疊通信部22進行一次請求之發送,二次請求部151係利用重疊通信部16進行一次請求之接收與二次請求之發送。一次響應部252係利用重疊通信部22進行二次請求之接收與一次響應之發送,二次響應部152係利用重疊通信部16進行一次響應之接收與二次響應之發送。 In the basic configuration, the one-time request, the second request, the primary response, and the secondary response are transmitted using an overlapping signal. In other words, the primary request unit 251 transmits the request once from the overlapping communication unit 22, and the secondary request unit 151 performs the request reception and the secondary request transmission by the overlapping communication unit 16. The primary response unit 252 performs the reception of the secondary request and the transmission of the primary response by the overlapping communication unit 22, and the secondary response unit 152 performs the reception of the primary response and the transmission of the secondary response by the overlapping communication unit 16.

再者,於本基本構成中,重疊終端2包括傳輸通信部23,且亦與使用有傳輸信號之通信對應,因此一次請求、二次請求、一次響應、二次響應中之至少1個亦可使用重疊信號而發送。 Furthermore, in the basic configuration, the overlapping terminal 2 includes the transmission communication unit 23 and also corresponds to the communication using the transmission signal. Therefore, at least one of the primary request, the secondary request, the primary response, and the secondary response may be used. Send using overlapping signals.

以下,參照圖3及圖5,對本基本構成之通信系統之動作進行說明。此處,以第1終端201接受自使用者對顯示面板7之操作輸入,而 自第2終端202獲取當前之(即時之)計測單元6之計測結果(例如消耗電力之瞬時值)時之動作為例進行說明。 Hereinafter, the operation of the communication system of the basic configuration will be described with reference to Figs. 3 and 5 . Here, the first terminal 201 accepts an operation input from the user to the display panel 7, and The operation when the second terminal 202 acquires the measurement result of the current (immediate) measurement unit 6 (for example, the instantaneous value of power consumption) will be described as an example.

第1終端201接受自使用者對顯示面板7之操作輸入,與傳輸信號之中斷帶105同步地產生中斷信號(圖5之S11)。檢測到中斷信號之傳輸單元1於此後之最初之發送帶103,藉由傳輸信號而發送回傳請求資料(圖5之S12)。產生中斷信號之第1終端201於此後之最初之回覆帶104,使用重疊信號而向傳輸單元1發送一次請求(圖3、5之S21)。 The first terminal 201 receives an operation input from the user to the display panel 7, and generates an interrupt signal in synchronization with the interrupt band 105 for transmitting a signal (S11 of Fig. 5). The transmission band 1 of the transmission unit 1 that has detected the interrupt signal thereafter transmits the backhaul request data by transmitting the signal (S12 of Fig. 5). The first reply band 104 of the first terminal 201 that generates the interrupt signal thereafter transmits a request to the transmission unit 1 using the overlap signal (S21 of Figs. 3 and 5).

接收到一次請求之傳輸單元1與此後之最初之暫停帶107、備用中斷帶101、及備用帶102同步地藉由重疊信號,向第2終端202發送用以根據一次請求而請求計測單元6之計測結果之二次請求(圖3、5之S22)。接收到來自傳輸單元1之二次請求之第2終端202與此後之最初之暫停帶107、備用中斷帶101、及備用帶102同步地將計測單元6之計測結果作為一次響應而藉由重疊信號發送至傳輸單元1(圖3之S23)。傳輸單元1若接收來自第2終端202之一次響應(計測結果),則與此後之最初之暫停帶107、備用中斷帶101、及備用帶102同步地將計測結果作為二次響應而藉由重疊信號發送(傳送)至第1終端201(圖3之S24)。 The transmission unit 1 that has received the request transmits the overlap signal to the second terminal 202 in synchronization with the subsequent pause band 107, the backup interrupt band 101, and the spare tape 102, and requests the measurement unit 6 to be requested according to one request. The second request for measurement results (S22 of Figures 3 and 5). The second terminal 202 that has received the secondary request from the transmission unit 1 synchronizes the measurement result of the measurement unit 6 with the subsequent pause band 107, the spare interrupt band 101, and the spare tape 102 as a response by overlapping signals. It is sent to the transmission unit 1 (S23 of Fig. 3). Upon receiving the primary response (measurement result) from the second terminal 202, the transmission unit 1 overlaps the measurement result as a secondary response in synchronization with the first pause zone 107, the backup interruption zone 101, and the backup zone 102 thereafter. The signal is transmitted (transmitted) to the first terminal 201 (S24 of Fig. 3).

以此方式,第1終端201可經由作為主節點之傳輸單元1而自第2終端202獲取計測單元6之計測結果。此時,於傳輸單元1與重疊終端(第1終端201及第2終端202)2之間,進行如上所述之S21~S24之4個步驟之通信。即,產生自第1終端201向傳輸單元1之一次請求、自傳輸單元1向第2終端202之二次請求、自第2終端202向傳輸單元1之一次響應、自傳輸單元1向第1終端201之二次響應之4個步驟之通信。 In this way, the first terminal 201 can acquire the measurement result of the measurement unit 6 from the second terminal 202 via the transmission unit 1 as the master node. At this time, communication between the transmission unit 1 and the superimposed terminal (the first terminal 201 and the second terminal 202) 2 is performed in four steps of S21 to S24 as described above. That is, a request from the first terminal 201 to the transmission unit 1, a second request from the transmission unit 1 to the second terminal 202, a response from the second terminal 202 to the transmission unit 1, and a first transmission from the transmission unit 1 to the first The communication of the four steps of the second response of the terminal 201.

如上所述,本基本構成之通信系統係重疊終端2彼此經由作為主節點之傳輸單元1而相互通信,因此可藉由複數台重疊終端2一併進行通信而避免重疊信號彼此干擾。即,根據本基本構成,不具有主權之 重疊終端2並非可使用重疊信號自由地通信,而僅可與作為於通信系統內唯一之主節點之傳輸單元1之間直接通信。換言之,由具有主權之傳輸單元1統一管理通信系統內之使用有重疊信號之通信,因此不存在重疊終端2隨意地進行使用有重疊信號之通信之情形。因此,本實施形態之通信系統可避免因複數台重疊終端2一併於同一可重疊帶進行資料發送引起之重疊信號彼此之衝突之產生。 As described above, the communication system of the basic configuration is such that the overlapping terminals 2 communicate with each other via the transmission unit 1 as the master node. Therefore, it is possible to prevent the overlapping signals from interfering with each other by the plurality of overlapping terminals 2 communicating together. That is, according to this basic structure, there is no sovereignty. The overlapping terminal 2 is not free to communicate using the overlapping signal, but can only communicate directly with the transmission unit 1 which is the only master node within the communication system. In other words, the communication using the superimposed signal in the communication system is collectively managed by the transmission unit 1 having sovereignity, and therefore there is no case where the overlapping terminal 2 arbitrarily performs communication using the overlapping signal. Therefore, the communication system of the present embodiment can avoid the occurrence of collisions between overlapping signals caused by data transmission by the plurality of overlapping terminals 2 in the same overlapable band.

進而,於本基本構成中,傳輸單元1亦可將自1台重疊終端(第2終端202)2獲取之資料儲存於記憶部14而對複數台重疊終端(第1終端201)2傳送。因此,傳輸單元1係例如於在複數台第1終端201間共有自第2終端202獲取之資料(計測單元6之計測結果)時,與第1終端201分別與第2終端202通信之情形相比,可減少通信量。又,例如於第2終端202有複數台之情形時,若於傳輸單元1,將第2終端202以複數台為單位群組化,則第1終端201可藉由指定群組請求資料而向複數台第2終端202總括地請求資料。即,於如進行一對多之重疊終端2間之資料之收發的情形時,通信系統可藉由使傳輸單元1作為主節點發揮功能而減少通信量。 Further, in the basic configuration, the transmission unit 1 can store the data acquired from one overlapping terminal (second terminal 202) 2 in the storage unit 14 and transmit the data to the plurality of overlapping terminals (first terminal 201) 2. Therefore, the transmission unit 1 is configured to communicate with the second terminal 202 when the first terminal 201 communicates with the second terminal 202, for example, when the data acquired by the second terminal 202 (the measurement result of the measurement unit 6) is shared between the plurality of first terminals 201. Compared, it can reduce traffic. Further, for example, when the second terminal 202 has a plurality of stations, if the second terminal 202 is grouped in a plurality of units in the transmission unit 1, the first terminal 201 can request the data by specifying the group. The plurality of second terminals 202 collectively request information. That is, in the case of performing transmission and reception of data between the one-to-many overlapping terminals 2, the communication system can reduce the amount of communication by causing the transmission unit 1 to function as a master node.

(實施形態1) (Embodiment 1)

如圖1所示,本實施形態之通信系統係包括連接於通信線10之傳輸單元(主機)1、及連接於通信線10且與傳輸單元1分別通信之第1終端201及第2終端202之通信系統。 As shown in FIG. 1, the communication system of the present embodiment includes a transmission unit (host) 1 connected to the communication line 10, and a first terminal 201 and a second terminal 202 connected to the communication line 10 and communicating with the transmission unit 1, respectively. Communication system.

第1終端201具有向作為主機之傳輸單元1發送一次請求之一次請求部251。 The first terminal 201 has a request unit 251 that transmits a request once to the transmission unit 1 as a host.

傳輸單元1具有二次請求部151,該二次請求部151若接收一次請求,則向第2終端202發送二次請求。 The transmission unit 1 has a secondary request unit 151 that transmits a secondary request to the second terminal 202 if it receives a request once.

第2終端202具有一次響應部252,該一次響應部252若接收二次請求,則不經由傳輸單元1而向第1終端201直接發送一次響應。 The second terminal 202 has a primary response unit 252 that, when receiving the secondary request, directly transmits a response to the first terminal 201 without passing through the transmission unit 1.

二次請求部151亦可構成為,若接收一次請求,則關於與該一次請求之發送源之第1終端201及第2終端202之通信,判斷是否滿足特定之條件,並基於判斷結果,決定是否發送二次請求。 The secondary requesting unit 151 may be configured to determine whether or not the specific condition is satisfied in communication with the first terminal 201 and the second terminal 202 of the source of the primary request, and to determine based on the determination result, if the request is received once. Whether to send a second request.

上述特定之條件亦可包含如下情形中之至少一者:一次請求之發送源之第1終端201係作為成員而登錄於傳輸單元1;及於接收一次請求時,傳輸單元1並非與其他終端通信中。此處所言之其他終端係指除一次請求之發送源之第1終端201外之終端。 The specific condition may include at least one of the following: the first terminal 201 of the transmission source of one request is registered as the member in the transmission unit 1; and when receiving the request, the transmission unit 1 does not communicate with other terminals. in. The other terminal as used herein refers to a terminal other than the first terminal 201 of the transmission source of one request.

又,第1終端201與第2終端202亦可構成為,與自傳輸單元1向通信線10送出之同步信號同步地通信。 Further, the first terminal 201 and the second terminal 202 may be configured to communicate with the synchronization signal sent from the transmission unit 1 to the communication line 10 in synchronization.

較佳為,主機係向通信線10重複送出作為同步信號之傳輸信號之傳輸單元1,第1終端201及第2終端202係使用重疊於傳輸信號之重疊信號而通信之重疊終端。 Preferably, the host computer transmits the transmission unit 1 as a transmission signal of the synchronization signal to the communication line 10, and the first terminal 201 and the second terminal 202 use the overlapping terminal that communicates with the superimposed signal of the transmission signal.

又,傳輸信號亦可針對每1訊框而於時間軸方向上分為複數個區間。於該情形時,傳輸單元1較佳為將上述複數個區間中之一部分之區間分配為使用重疊信號而進行與第1終端201之通信之第1期間、及使用重疊信號而進行與第2終端202之通信之第2期間。傳輸單元1係構成為,在與第1終端201及第2終端202之間進行使用有重疊信號之分時方式之通信。 Moreover, the transmission signal can also be divided into a plurality of intervals in the time axis direction for each frame. In this case, the transmission unit 1 preferably allocates one of the plurality of sections to the first period in which the communication with the first terminal 201 is performed using the superimposed signal, and performs the second terminal using the superimposed signal. The second period of communication of 202. The transmission unit 1 is configured to perform communication in a time-sharing manner using overlapping signals with the first terminal 201 and the second terminal 202.

於該通信系統中,亦可構成為,第2終端202係將接收重疊信號之期間限定於上述複數個區間中之分配為第2期間之區間。 In the communication system, the second terminal 202 may be configured to limit the period in which the superimposed signal is received to the section in which the plurality of sections are allocated as the second period.

進而,於該通信系統中,亦可以第1期間較第2期間於傳輸信號之1訊框中佔據之時間變長之方式,將上述複數個區間中之上述一部分之區間分配為第1期間與第2期間。 Further, in the communication system, the portion of the plurality of sections may be allocated to the first period and the period in which the first period is longer than the second period in the frame of the transmission signal. The second period.

於該通信系統中,傳輸信號亦可於上述複數個區間,包含用以於傳輸單元1檢測中斷信號之中斷帶、及於傳輸單元1接收回傳資料之時隙即回覆帶。於該情形時,若傳輸單元1於中斷帶檢測到中斷信 號,則回覆帶被確保用於來自該中斷信號之發送源之回傳資料。一次請求部251較佳為構成為,於藉由發送中斷信號而經確保之回覆帶發送一次請求。 In the communication system, the transmission signal may also be in the plurality of intervals, including an interrupt band for detecting the interrupt signal by the transmission unit 1, and a time slot, that is, a reply band, for receiving the return data at the transmission unit 1. In this case, if the transmission unit 1 detects the interruption letter in the interruption band No., the reply band is guaranteed to be used for the backhaul data from the source of the interrupt signal. The one-time request unit 251 is preferably configured to transmit a request once by the acknowledgment band by transmitting the interrupt signal.

進而,於該情形時,一次請求部251亦可構成為使用重疊信號而發送中斷信號。 Further, in this case, the primary request unit 251 may be configured to transmit an interrupt signal using an overlap signal.

又,傳輸單元1亦可具有處理部153,該處理部153係接收自一次響應部252發送至第1終端201之一次響應而執行特定之處理。 Further, the transmission unit 1 may include a processing unit 153 that receives a response from the primary response unit 252 to the first terminal 201 and performs a specific process.

上述特定之處理亦可包含如下處理中之至少一者:傳輸單元1將作為一次響應而自第2終端202獲取之資料儲存於記憶部14;及傳輸單元1求出作為一次響應而自第2終端202獲取之資料之統計。 The specific processing may include at least one of the following: the transmission unit 1 stores the data acquired from the second terminal 202 as a primary response in the storage unit 14; and the transmission unit 1 obtains the second response as the primary response. Statistics of the data acquired by the terminal 202.

又,亦可為,第2終端202對傳輸單元1定期地發送獲取資料,二次請求部151若接收一次請求,則向第2終端202發送請求獲取資料之二次請求。於該情形時,一次響應部252亦可構成為,若接收二次請求,則將獲取資料作為一次響應而發送至第1終端201。 Furthermore, the second terminal 202 may periodically transmit the acquired data to the transmission unit 1, and if the secondary request unit 151 receives the request once, the secondary request unit 151 may transmit a secondary request for acquiring the data to the second terminal 202. In this case, the primary response unit 252 may be configured to transmit the acquired data to the first terminal 201 as a primary response when receiving the secondary request.

於上述通信系統中,用作第1終端201與第2終端202中之至少一者之終端裝置(重疊終端2)具有向傳輸單元1發送一次請求之一次請求部251、及一次響應部252。一次響應部252若接收於傳輸單元1接收到一次請求時自傳輸單元1發送之二次請求,則不經由傳輸單元1而向對方之終端裝置直接發送一次響應。 In the communication system described above, the terminal device (overlapping terminal 2) serving as at least one of the first terminal 201 and the second terminal 202 has a request request unit 251 and a primary response unit 252 that transmit a request to the transmission unit 1 once. When the primary response unit 252 receives the secondary request transmitted from the transmission unit 1 when the transmission unit 1 receives the request, the primary response unit 252 directly transmits the response to the terminal device of the other party without passing through the transmission unit 1.

以下,詳細地對本實施形態之通信系統、及使用於該通信系統之終端裝置進行說明。 Hereinafter, the communication system of the present embodiment and the terminal device used in the communication system will be described in detail.

於本實施形態中,第1終端201與第2終端202係採用共通之構成,於不特別區分第1終端201與第2終端202之情形時,統稱為「重疊終端2」。 In the present embodiment, the first terminal 201 and the second terminal 202 are configured in common, and when the first terminal 201 and the second terminal 202 are not particularly distinguished, they are collectively referred to as "overlapping terminal 2".

本實施形態之通信系統與基本構成之通信系統之不同點在於,重疊終端(第2終端202)2之一次響應部252不經由作為主機之傳輸單元 1而向第1終端201直接發送一次響應。以下,對與基本構成相同之構成標示共通之符號並適當地省略說明。 The communication system of the present embodiment is different from the communication system of the basic configuration in that the primary response unit 252 of the overlapping terminal (second terminal 202) 2 does not pass through the transmission unit as the host. 1 and a response is directly transmitted to the first terminal 201. In the following, the same components as the basic configurations are denoted by the same reference numerals, and the description thereof will be appropriately omitted.

即,於本實施形態中,無需作為主機之傳輸單元1自第2終端202接收一次響應而向第1終端201發送二次響應之步驟,因此如圖1所示,自傳輸單元1之控制部15省略二次響應部152(參照圖3)。 In other words, in the present embodiment, the transmission unit 1 as the master does not need to receive a response from the second terminal 202 and transmits a secondary response to the first terminal 201. Therefore, as shown in FIG. 1, the control unit of the self-transport unit 1 The secondary response unit 152 (see FIG. 3) is omitted.

若具體地進行說明,則第1終端201係構成為,不經由傳輸單元1而直接接收第2終端202之一次響應部252發送至作為主機之傳輸單元1之一次響應。即,第1終端201係於自一次請求部251發送一次請求後之整個特定時間內而以接收自第2終端202發送之重疊信號之狀態待機,藉此直接接收自第2終端202發送之一次響應。 Specifically, the first terminal 201 is configured to directly receive the primary response of the primary response unit 252 of the second terminal 202 to the transmission unit 1 as the host without passing through the transmission unit 1. In other words, the first terminal 201 waits in a state of receiving the superimposed signal transmitted from the second terminal 202 within a specific time period after the primary request unit 251 transmits the request once, thereby directly receiving the transmission from the second terminal 202. response.

因此,第1終端201係於自傳輸單元1接收到二次請求之第2終端202與此後之最初之暫停帶107、備用中斷帶101、及備用帶102同步地藉由重疊信號發送一次響應作為對二次請求之響應時,直接接收該一次響應。換言之,於作為主控裝置(主機)之傳輸單元1與作為從屬裝置之第2終端202通信時,作為另一從屬裝置之第1終端201接收於兩者間收發之重疊信號(一次響應)。 Therefore, the first terminal 201 transmits a response by overlapping signals to the second terminal 202 that has received the secondary request from the transmission unit 1 in synchronization with the first pause band 107, the spare interrupt band 101, and the spare band 102 thereafter. When responding to a secondary request, the response is received directly. In other words, when the transmission unit 1 as the master device (host) communicates with the second terminal 202 as the slave device, the first terminal 201, which is another slave device, receives the superimposed signal (one response) transmitted and received between the two terminals 201.

又,於本實施形態中,傳輸單元1之二次請求部151若接收一次請求,則關於與一次請求之發送源之第1終端201及第2終端202之通信,判斷是否滿足特定之條件,並基於判斷結果,決定是否發送二次請求。此處所言之特定之條件係較佳為包含如下情形中之至少一者:一次請求之發送源之第1終端201係作為通信系統之成員而登錄於傳輸單元1;及於接收一次請求時,傳輸單元1並非與其他重疊終端2通信中。 Further, in the present embodiment, when the secondary request unit 151 of the transmission unit 1 receives the request once, it determines whether or not the specific condition is satisfied by communicating with the first terminal 201 and the second terminal 202 of the transmission source of the primary request. And based on the judgment result, it is decided whether to send a secondary request. The specific conditions mentioned herein preferably include at least one of the following: the first terminal 201 of the transmission source of one request is registered as the member of the communication system in the transmission unit 1; and upon receiving a request, The transmission unit 1 is not in communication with other overlapping terminals 2.

傳輸單元1係於滿足特定之條件之情形時,發送二次請求,於不滿足條件之情形時,不發送二次請求。因此,於將接收一次請求時傳輸單元1並非與其他重疊終端2通信中之情形設為特定之條件之情形 時,傳輸單元1係即便於與例如第2終端202之通信中接收來自第1終端201之一次請求,亦不滿足條件,故不發送二次請求。然而,特定之條件係只要為關於與一次請求之發送源之第1終端201及二次請求的發送目的地之第2終端202之通信而預先決定之條件即可,並不限於上述例。 The transmission unit 1 transmits a secondary request when a specific condition is satisfied, and does not transmit a secondary request when the condition is not satisfied. Therefore, the case where the transmission unit 1 is not in communication with other overlapping terminals 2 when a request is received is set as a specific condition In the case where the transmission unit 1 receives a request from the first terminal 201 in communication with, for example, the second terminal 202, the transmission unit 1 does not satisfy the condition, and therefore does not transmit the secondary request. However, the specific condition is not limited to the above example as long as it is a condition determined in advance for communication with the first terminal 201 of the transmission source of one request and the second terminal 202 of the transmission destination of the secondary request.

另外,傳輸單元1係構成為,進行於時間軸方向上分配使用重疊信號而進行與第1終端201之通信之第1期間、及使用重疊信號而進行與第2終端202之通信之第2期間之分時方式的通信。即,傳輸單元1係例如定期地送出信標等同步信號(同步脈衝),第1終端201及第2終端202係與該同步信號同步地進行分時通信。因此,於在傳輸單元1-第1終端201間進行通信之第1期間,不會於傳輸單元1-第2終端202間進行通信,相反地,於第2期間,不會於傳輸單元1-第1終端201間進行通信。因此,可避免使用於傳輸單元1-第1終端201間之通信之重疊信號、與使用於傳輸單元1-第2終端202間之通信之重疊信號之干擾。 Further, the transmission unit 1 is configured to perform a first period in which communication with the first terminal 201 is performed using the superimposed signal in the time axis direction, and a second period in which communication with the second terminal 202 is performed using the superimposed signal. Time-sharing communication. In other words, the transmission unit 1 periodically transmits a synchronization signal (synchronization pulse) such as a beacon periodically, and the first terminal 201 and the second terminal 202 perform time-divisional communication in synchronization with the synchronization signal. Therefore, in the first period in which the communication between the transmission unit 1 and the first terminal 201 is performed, communication between the transmission unit 1 and the second terminal 202 is not performed, and conversely, in the second period, the transmission unit 1 is not Communication is performed between the first terminals 201. Therefore, interference between the superimposed signal used for communication between the transmission unit 1 and the first terminal 201 and the superimposed signal used for communication between the transmission unit 1 and the second terminal 202 can be avoided.

於本實施形態中,傳輸單元1係將向通信線10送出之傳輸信號用作同步信號,針對傳輸信號之每1訊框而設定之複數個區間中之一部分之區間係分配為第1期間與第2期間。於本實施形態中,使用於傳輸信號中之重疊信號之重疊者為備用中斷帶101、備用帶102、暫停帶107、及回覆帶104,故該等區間分配為第1期間與第2期間。 In the present embodiment, the transmission unit 1 uses the transmission signal sent to the communication line 10 as a synchronization signal, and allocates one of the plurality of intervals set for each frame of the transmission signal to the first period and The second period. In the present embodiment, the overlap of the superimposed signals used in the transmission signal is the spare interrupt band 101, the spare tape 102, the pause band 107, and the reply band 104. Therefore, the sections are allocated as the first period and the second period.

此處,傳輸信號之區間係以第1期間較第2期間於傳輸信號之1訊框中佔據之時間變長之方式分配。若具體地進行說明,則如圖6所示,以可相對較長地實現可重疊帶之回覆帶104成為第1期間T1,剩餘之備用中斷帶101、備用帶102、暫停帶107成為第2期間T2之方式進行區間之分配。因此,一次請求部251係構成為,於發送一次請求時,首先藉由發送中斷信號而確保回覆帶104,向經確保之回覆帶104發送一次請求。總而言之,一次請求部251係與中斷帶105同步地使用傳輸 信號而產生中斷信號,藉此而確保此後之最初之(同一訊框之)回覆帶104用於一次請求之發送。 Here, the interval of the transmission signal is allocated such that the time occupied by the first period in the second period of the transmission signal becomes longer than the second period. Specifically, as shown in FIG. 6, the cover tape 104 which can realize the overlapable tape relatively long becomes the first period T1, and the remaining spare interruption belt 101, the spare tape 102, and the pause belt 107 become the second. The allocation of the interval is performed in the manner of the period T2. Therefore, the one-time request unit 251 is configured to first secure the reply band 104 by transmitting an interrupt signal and transmit a request to the secured reply band 104 when transmitting a request. In summary, the primary request unit 251 uses the transmission in synchronization with the interrupt band 105. The signal generates an interrupt signal, thereby ensuring that the initial (same frame) reply band 104 is used for the transmission of a request.

若進一步詳細地進行說明,則傳輸單元1若於中斷帶105檢測到中斷信號,則發送請求回傳資料之回傳之回傳請求資料。通信終端3係構成為,僅於滿足自身產生中斷信號且於產生該中斷信號後接收回傳請求資料之條件之情形時,進行回覆帶104之回傳資料之發送。藉此,回覆帶104係被確保用於來自中斷信號之發送源之回傳資料。 As will be described in further detail, if the transmission unit 1 detects an interrupt signal in the interrupt band 105, it transmits a return request data requesting a return of the returned data. The communication terminal 3 is configured to transmit the return data of the reply tape 104 only when the condition that the interrupt signal is generated by itself and the condition for receiving the return request data is received after the interrupt signal is generated. Thereby, the reply band 104 is secured for the return data from the transmission source of the interrupt signal.

如上所述,傳輸單元1係將傳輸信號中之複數個區間之一部分分配為第1期間與第2期間,藉此可不使用信標等同步信號(同步脈衝)而實現與第1終端201、第2終端202之分時通信。而且,傳輸信號之可重疊帶中相對較長之區間(回覆帶104)被分派至傳輸單元1-第1終端201間之通信,因此第1終端201可總括地發送資訊量相對較多之資料作為一次請求。又,回覆帶104原本係用以接收自通信終端3發送之回傳資料之時隙,但一次請求部251將藉由中斷信號而確保之回覆帶104使用於一次請求之發送。藉此,通信系統可避免於回覆帶104產生來自通信終端3之回傳資料與重疊信號(一次請求)之干擾。 As described above, the transmission unit 1 allocates one of the plurality of sections in the transmission signal as the first period and the second period, thereby realizing the first terminal 201 and the first terminal without using a synchronization signal (synchronization pulse) such as a beacon. 2 Time-sharing communication of terminal 202. Moreover, a relatively long interval (repeated band 104) of the overlapable bands of the transmission signals is assigned to the communication between the transmission unit 1 and the first terminal 201, so the first terminal 201 can collectively transmit information having a relatively large amount of information. As a request. Further, the reply band 104 is originally used to receive the time slot of the return data transmitted from the communication terminal 3, but the primary request unit 251 uses the reply band 104 secured by the interrupt signal for the transmission of one request. Thereby, the communication system can avoid the reply band 104 from generating interference from the backhaul data of the communication terminal 3 and the overlapping signal (one request).

進而,一次請求部251係使用傳輸信號而發送中斷信號,因此於傳輸單元1中,可於重疊終端2與通信終端3同樣地進行接收到中斷信號之情形時之處理。即,傳輸單元1無需區分自重疊終端2接收到中斷信號之情形、及自通信終端接收到中斷信號之情形。 Further, since the primary request unit 251 transmits the interrupt signal using the transmission signal, the transmission unit 1 can perform the processing when the overlap terminal 2 receives the interrupt signal in the same manner as the communication terminal 3. That is, the transmission unit 1 does not need to distinguish between the case where the interrupt signal is received from the overlapping terminal 2 and the case where the interrupt signal is received from the communication terminal.

又,一次請求部251亦可構成為,使用重疊信號而發送中斷信號,於該情形時,藉由重疊通信部22而於傳輸信號之中斷帶105產生中斷信號。利用重疊信號之通信與利用傳輸信號之通信相比,可使通信速度高速化,因此一次請求部251若為相同時間長度之中斷信號,則使用重疊信號者相較於使用傳輸信號者,可包含於中斷信號之資訊量更多。藉此,第1終端201不僅可發送用以於中斷帶105中施加中斷 之中斷要素,而且亦可將位址或優先資訊等除中斷要素外之資訊與中斷要素一併作為中斷信號發送,從而可謀求通信之效率化。 Further, the one-time request unit 251 may be configured to transmit an interrupt signal using the overlap signal. In this case, the interrupt signal is generated by the overlap communication unit 22 in the interrupt band 105 of the transmission signal. The communication using the superimposed signal can speed up the communication speed as compared with the communication using the transmission signal. Therefore, if the primary request unit 251 is an interrupt signal of the same length of time, the one using the overlapping signal can be included as compared with the one using the transmission signal. There is more information on the interrupt signal. Thereby, the first terminal 201 can be transmitted not only to apply an interrupt to the interrupt band 105. The interrupt element can also be transmitted as an interrupt signal together with the interrupt element other than the interrupt element, such as the address or the priority information, so that the communication can be made more efficient.

此處,第2終端202若自傳輸單元1接收二次請求,則不讀取該二次請求之內容而進行使資料全部通過計測單元6之穿隧。因此,第2終端202於亦接收來自第1終端201之資料而與二次請求相混之情形時,存在無法直接按照自傳輸單元1發送之順序向計測單元6輸出資料之情形。對此,第2終端202係構成為,將接收重疊信號之期間限定於分配為第2期間之區間。 Here, when the second terminal 202 receives the secondary request from the transmission unit 1, the second terminal 202 does not read the content of the secondary request and performs tunneling of all the data through the measurement unit 6. Therefore, when the second terminal 202 also receives the data from the first terminal 201 and mixes it with the secondary request, there is a case where the data cannot be directly output to the measurement unit 6 in the order of transmission from the transmission unit 1. On the other hand, the second terminal 202 is configured to limit the period in which the superimposed signal is received to the section in which the second period is allocated.

藉此,第2終端202可將藉由重疊信號而接收之資料限定為來自傳輸單元1之資料(二次請求),從而不存在誤接收來自第1終端201之資料之情形。因此,第2終端202可直接按照自傳輸單元1發送之順序對計測單元6輸出資料。 Thereby, the second terminal 202 can limit the data received by the overlapping signal to the data (secondary request) from the transmission unit 1, so that there is no case where the data from the first terminal 201 is erroneously received. Therefore, the second terminal 202 can directly output the data to the measurement unit 6 in the order transmitted from the transmission unit 1.

以下,參照圖1,對本實施形態之通信系統之動作進行說明。此處,以第1終端201接受自使用者對顯示面板7之操作輸入,自第2終端202獲取當前之(即時之)計測單元6之計測結果(例如消耗電力之瞬時值)時之動作為例而進行說明。 Hereinafter, the operation of the communication system of the present embodiment will be described with reference to Fig. 1 . Here, the first terminal 201 receives the operation input from the user to the display panel 7 and acquires the measurement result (for example, the instantaneous value of the power consumption) of the current (instant) measurement unit 6 from the second terminal 202. For example, it will be explained.

第1終端201係接受自使用者對顯示面板7之操作輸入而產生中斷信號,於此後之最初之回覆帶104,使用重疊信號而向傳輸單元1發送一次請求(S31)。接收到一次請求之傳輸單元1與此後之最初之暫停帶107、備用中斷帶101、及備用帶102同步地藉由重疊信號向第2終端202發送用以根據一次請求而請求計測單元6之計測結果之二次請求(S32)。接收到來自傳輸單元1之二次請求之第2終端202與此後之最初之暫停帶107、備用中斷帶101、及備用帶102同步地將計測單元6之計測結果作為一次響應而藉由重疊信號發送至傳輸單元1(S33之實線)。 The first terminal 201 receives an operation signal from the user input to the display panel 7, and generates an interrupt signal. The first reply band 104 thereafter transmits a request to the transmission unit 1 using the overlap signal (S31). The transmission unit 1 that has received the request transmits the measurement to the second terminal 202 by the overlapping signal in synchronization with the initial pause band 107, the backup interruption band 101, and the backup band 102, respectively, to request the measurement unit 6 according to a request. The second request of the result (S32). The second terminal 202 that has received the secondary request from the transmission unit 1 synchronizes the measurement result of the measurement unit 6 with the subsequent pause band 107, the spare interrupt band 101, and the spare tape 102 as a response by overlapping signals. Send to transmission unit 1 (solid line of S33).

此時,第1終端201係利用重疊通信部22,不經由傳輸單元1而直接接收自第2終端202於通信線10上送出之一次響應(計測結果)(S33之 虛線)。總而言之,第1終端201係與傳輸單元1同時接收第2終端202作為對於二次請求之響應而發送之一次響應。再者,傳輸單元1係省略二次響應部152(參照圖3),因此即便接收來自第2終端202之一次響應,亦不會對第1終端201發送二次響應。 At this time, the first terminal 201 directly receives the primary response (measurement result) sent from the second terminal 202 to the communication line 10 via the overlapping communication unit 22 (S33). dotted line). In summary, the first terminal 201 simultaneously receives the primary response transmitted by the second terminal 202 as a response to the secondary request, together with the transmission unit 1. Further, since the transmission unit 1 omits the secondary response unit 152 (see FIG. 3), even if the primary response from the second terminal 202 is received, the secondary response is not transmitted to the first terminal 201.

以此方式,第1終端201可自第2終端202獲取計測單元6之計測結果。此時,於傳輸單元1與重疊終端(第1終端201及第2終端202)2之間,進行如上所述之S31~S33之3個步驟之通信。即,產生自第1終端201向傳輸單元1之一次請求、自傳輸單元1向第2終端202之二次請求、自第2終端202向傳輸單元1及第1終端201之一次響應之3個步驟之通信。藉此,根據本實施形態之構成,與產生一次請求、二次請求、一次響應、二次響應之4個步驟之通信之基本構成相比,於傳輸單元1與重疊終端(第1終端201及第2終端202)2之間進行之通信之次數減少,從而通信時間縮短。 In this way, the first terminal 201 can acquire the measurement result of the measurement unit 6 from the second terminal 202. At this time, communication between the transmission unit 1 and the superimposed terminal (the first terminal 201 and the second terminal 202) 2 is performed in three steps of S31 to S33 as described above. That is, three requests from the first terminal 201 to the transmission unit 1, two requests from the transmission unit 1 to the second terminal 202, and three responses from the second terminal 202 to the transmission unit 1 and the first terminal 201 are generated. Communication of steps. Therefore, according to the configuration of the present embodiment, the transmission unit 1 and the overlapping terminal (the first terminal 201 and the basic configuration of the communication of the four steps of generating the primary request, the secondary request, the primary response, and the secondary response are performed. The number of communications between the second terminals 202) 2 is reduced, and the communication time is shortened.

根據以上所說明之本實施形態之構成,於自第1終端201向第2終端202之請求時,重疊終端2彼此係經由作為主節點之傳輸單元1而相互通信,因此可避免因複數台重疊終端2一併進行通信引起之重疊信號彼此之干擾。即,根據本實施形態,不具有主權之重疊終端2並非可使用重疊信號自由地通信,而係僅可於與作為通信系統內唯一之主節點之傳輸單元1之間直接通信。換言之,具有主權之傳輸單元1係統一管理通信系統內之使用有重疊信號之通信,因此不存在重疊終端2隨意地進行使用有重疊信號之通信之情形。因此,本實施形態之通信系統可避免因複數台重疊終端2一併於同一可重疊帶進行資料發送引起之重疊信號彼此之衝突之產生。 According to the configuration of the present embodiment described above, when the request is made from the first terminal 201 to the second terminal 202, the overlapping terminals 2 communicate with each other via the transmission unit 1 as the master node, thereby avoiding overlapping by the plurality of stations. The terminals 2 interfere with each other by the overlapping signals caused by the communication. That is, according to the present embodiment, the overlapping terminal 2 having no sovereignty is not freely communicable by using the overlapping signal, but can communicate directly with the transmission unit 1 which is the only master node in the communication system. In other words, the system having the sovereign transmission unit 1 manages the communication using the overlapping signals in the communication system, so there is no case where the overlapping terminal 2 arbitrarily performs communication using the overlapping signals. Therefore, the communication system of the present embodiment can avoid the occurrence of collisions between overlapping signals caused by data transmission by the plurality of overlapping terminals 2 in the same overlapable band.

進而換言之,傳輸單元1係進行通信系統之重疊終端2彼此之通信之流量整理,因此即便通信系統之終端裝置之台數增加,亦可控制通信時序或通信之順序。即,於本實施形態中,傳輸單元1係進行通 信之流量整理,因此可避免因重疊終端2而使等待時間變得極長、或無法通信之不良情況。 Further, in other words, the transmission unit 1 performs traffic sorting in which the overlapping terminals 2 of the communication system communicate with each other, and therefore the communication timing or the order of communication can be controlled even if the number of terminal devices of the communication system increases. That is, in the present embodiment, the transmission unit 1 is connected. Since the flow of the letter is organized, it is possible to avoid the problem that the waiting time becomes extremely long or the communication cannot be performed due to the overlapping of the terminal 2.

若假設第1終端201不經由傳輸單元1而直接進行向第2終端202之請求,則第1終端201存在於傳輸單元1與第2終端202正在通信中使其中斷而發送重疊信號之情形,於該情形時,產生重疊信號彼此之干擾。與此相對,於本實施形態中,第1終端201係經由傳輸單元1而進行向第2終端202之請求。因此,傳輸單元1係於如產生重疊信號彼此之干擾之情形時,即便自第1終端201接收一次請求,亦不會向第2終端202發送二次請求,藉此可避免重疊信號彼此之干擾。 If the first terminal 201 directly requests the second terminal 202 without passing through the transmission unit 1, the first terminal 201 exists in a case where the transmission unit 1 and the second terminal 202 are interrupted while communicating, and a superimposed signal is transmitted. In this case, overlapping signals are generated to interfere with each other. On the other hand, in the present embodiment, the first terminal 201 makes a request to the second terminal 202 via the transmission unit 1. Therefore, when the transmission unit 1 is in a situation where interference of overlapping signals occurs, even if a request is received from the first terminal 201, a secondary request is not transmitted to the second terminal 202, thereby avoiding interference of overlapping signals with each other. .

進而,傳輸單元1之二次請求部151若接收一次請求,則關於與一次請求之發送源之第1終端201及第2終端202之通信,判斷是否滿足特定之條件,並基於判斷結果,決定是否發送二次請求。具體而言,作為特定之條件,較佳為包含如下情形中之至少一者:一次請求之發送源之第1終端201作為通信系統之成員而登錄於傳輸單元1;及於接收一次請求時,傳輸單元1並非與其他重疊終端2通信中。藉此,傳輸單元1係例如於自未作為通信系統之成員而登錄於傳輸單元1之第1終端201發送一次請求之情形時,可判斷為不滿足特定之條件而取消二次請求之發送。或者,傳輸單元1係即便第1終端201於與其他終端(第2終端202或通信終端3)正在通信中使其中斷而發送一次請求,亦可判斷為不滿足特定之條件而取消二次請求之發送。 Further, when the secondary request unit 151 of the transmission unit 1 receives the request once, it determines whether or not the specific condition is satisfied by the communication with the first terminal 201 and the second terminal 202 of the transmission source of the primary request, and determines based on the determination result. Whether to send a second request. Specifically, as a specific condition, it is preferable to include at least one of the following cases: the first terminal 201 of the transmission source of one request is registered as the member of the communication system in the transmission unit 1; and when receiving the request, The transmission unit 1 is not in communication with other overlapping terminals 2. Thereby, for example, when the transmission unit 1 transmits a request from the first terminal 201 that is not registered as the member of the communication system to the transmission unit 1, it is determined that the transmission of the secondary request is canceled without satisfying the specific condition. Alternatively, the transmission unit 1 may determine that the second terminal is canceled if the first terminal 201 transmits a request while interrupting communication with another terminal (the second terminal 202 or the communication terminal 3). Send it.

而且,本實施形態之通信系統係一次響應部252向第1終端201直接發送一次響應,因此於自第2終端202向第1終端201之響應時,重疊終端2彼此可不經由傳輸單元1而直接通信,從而可抑制通信量之增大。即,該通信系統係與基本構成之通信系統相比,可減少傳輸單元1與重疊終端(第1終端201及第2終端202)2之間之通信次數而縮短通信時間,故可使重疊終端2間之通信速度高速化。 Further, in the communication system according to the present embodiment, the primary response unit 252 directly transmits the response to the first terminal 201. Therefore, when the second terminal 202 responds to the first terminal 201, the overlapping terminals 2 can directly communicate with each other without the transmission unit 1. Communication, thereby suppressing an increase in traffic. In other words, the communication system can reduce the number of communication times between the transmission unit 1 and the overlapping terminals (the first terminal 201 and the second terminal 202) 2 and shorten the communication time as compared with the communication system having the basic configuration, so that the overlapping terminal can be made. The communication speed between the two is speeding up.

總而言之,根據本實施形態之通信系統,具有可避免(重疊)信號彼此之干擾,且使重疊終端2間之通信速度高速化之優點。 In summary, the communication system according to the present embodiment has an advantage of avoiding interference between (overlapping) signals and increasing the communication speed between the overlapping terminals 2.

另外,於本實施形態中,如圖1所示,作為主機之傳輸單元1係於控制部15具有處理部153,該處理部153係接收自一次響應部252發送至第1終端201之一次響應而執行特定之處理。此處所言之特定之處理係指如下等處理:例如,將作為一次響應而自第2終端202獲取之資料儲存於記憶部14;或求出自第2終端202獲取之資料之統計。 Further, in the present embodiment, as shown in FIG. 1, the transmission unit 1 as a host has a processing unit 153 for receiving a response from the primary response unit 252 to the first terminal 201. And perform specific processing. The specific processing referred to herein refers to a process of storing, for example, data acquired from the second terminal 202 as a primary response in the storage unit 14 or obtaining statistics of the data acquired from the second terminal 202.

藉此,本實施形態之通信系統係即便減少傳輸單元1與重疊終端(第1終端201及第2終端202)2之間之通信次數,亦可利用傳輸單元1接收來自第2終端202之資料而執行特定之處理。例如,如於基本構成中所說明般,傳輸單元1亦可將自1台重疊終端(第2終端202)2獲取之資料儲存於記憶部14而對複數台重疊終端(第1終端201)2傳送。 As a result, the communication system of the present embodiment can receive the data from the second terminal 202 by the transmission unit 1 even if the number of communication between the transmission unit 1 and the overlapping terminal (the first terminal 201 and the second terminal 202) 2 is reduced. And perform specific processing. For example, as described in the basic configuration, the transmission unit 1 may store the data acquired from one overlapping terminal (second terminal 202) 2 in the storage unit 14 and the plurality of overlapping terminals (first terminal 201) 2 Transfer.

又,於本實施形態中,第2終端202係對傳輸單元1定期地發送獲取資料。一次請求部251係作為用以將獲取資料自第2終端202獲取之觸發器而向作為主節點之傳輸單元1發送一次請求。二次請求部151若接收一次請求,則向第2終端202發送請求獲取資料之二次請求。一次響應部252係將與二次請求之內容對應之獲取資料作為一次響應而發送至第1終端201。 Further, in the present embodiment, the second terminal 202 periodically transmits the acquired data to the transmission unit 1. The primary request unit 251 transmits a request to the transmission unit 1 as the master node as a trigger for acquiring the acquired data from the second terminal 202. When receiving the request once, the secondary requesting unit 151 transmits a second request for acquiring the data to the second terminal 202. The primary response unit 252 transmits the acquired data corresponding to the content of the secondary request to the first terminal 201 as a one-time response.

總而言之,第1終端201與第2終端202之通信係為了第1終端201自第2終端202獲取例如計測單元6之計測結果等資料作為獲取資料而進行。因此,第2終端202係通常情況下定期地向傳輸單元1通知例如計測單元6之計測結果(電能等),於自第1終端201發送一次請求之情形時,可將該時間點之計測單元6之計測結果通知至第1終端201。 In short, the communication between the first terminal 201 and the second terminal 202 is performed by the first terminal 201 acquiring information such as the measurement result of the measurement unit 6 from the second terminal 202 as acquisition data. Therefore, the second terminal 202 normally notifies the transmission unit 1 of the measurement result (electrical energy or the like) of the measurement unit 6 periodically, and when the request is transmitted from the first terminal 201, the measurement unit at the time point can be notified. The measurement result of 6 is notified to the first terminal 201.

然而,本實施形態之通信系統係不僅可如上所述般第1終端201自第2終端202獲取資料,而且亦可根據來自例如第1終端201之指令而進行連接於第2終端202之設備(未圖示)之控制。於該情形時,第1終 端201係將設備之控制用指令作為一次請求而發送,第2終端202係將設備之控制結果作為一次響應而發送。 However, the communication system according to the present embodiment can acquire not only the first terminal 201 from the second terminal 202 but also the device connected to the second terminal 202 based on an instruction from the first terminal 201 (for example). Control not shown). In this case, the first end The terminal 201 transmits the control command of the device as a single request, and the second terminal 202 transmits the control result of the device as a one-time response.

(實施形態2) (Embodiment 2)

於本實施形態中,傳輸信號係於針對每1訊框而於時間軸方向上劃分之複數個區間之一部分包含發送帶、回覆帶、中斷帶、及短路檢測帶。發送帶係用以於傳輸單元1發送資料之區間,回覆帶係於傳輸單元1接收回傳資料之時隙。中斷帶係用以於傳輸單元1檢測中斷信號之區間,短路檢測帶係用以於傳輸單元1檢測短路之區間。 In the present embodiment, the transmission signal includes a transmission band, a reply band, an interruption band, and a short-circuit detection band in one of a plurality of sections divided in the time axis direction for each frame. The transmission band is used for the interval in which the transmission unit 1 transmits data, and the reply band is used in the time slot in which the transmission unit 1 receives the returned data. The interrupt band is used to detect the interval of the interrupt signal by the transmission unit 1, and the short-circuit detection band is used to detect the short-circuit interval of the transmission unit 1.

於本實施形態中,將複數個區間中之除發送帶、回覆帶、中斷帶、及短路檢測帶外之區間且可重疊重疊信號之區間設為可重疊帶,該可重疊帶係被分配為第1期間與第2期間。 In the present embodiment, a section in which a superimposed signal is overlapped between a transmission band, a reply band, an interruption band, and a short-circuit detection band among a plurality of sections is an overlapable band, and the overlapable band is assigned as The first period and the second period.

以下,詳細地對本實施形態進行說明。 Hereinafter, this embodiment will be described in detail.

如圖7所示,本實施形態之通信系統係使用於重疊信號之重疊,但於為傳輸信號中之除發送帶103、回覆帶104、中斷帶105、及短路檢測帶106外之區間之方面,與實施形態1之通信系統存在差異。以下,對與實施形態1相同之構成標示共通之符號並適當地省略說明。 As shown in Fig. 7, the communication system of the present embodiment is used for the superposition of overlapping signals, but is in the range of the transmission signal except for the transmission band 103, the replying tape 104, the interruption band 105, and the short-circuit detecting band 106. There is a difference from the communication system of the first embodiment. In the following, the same components as those in the first embodiment are denoted by the same reference numerals, and the description thereof will be appropriately omitted.

即,於本實施形態中,備用中斷帶101、備用帶102、暫停帶107之可重疊帶係被分配為使用於第1終端201-傳輸單元1間之通信之第1期間、與使用於第2終端202-傳輸單元1間之通信之第2期間。具體而言,如圖7所示,以備用帶102成為第1期間T1,暫停帶107及備用中斷帶101成為第2期間T2之方式進行區間之分配。 That is, in the present embodiment, the overlapable band of the spare interruption band 101, the spare tape 102, and the pause tape 107 is allocated to the first period of communication between the first terminal 201 and the transmission unit 1, and is used in the first period. 2 Terminal 202 - The second period of communication between the transmission units 1. Specifically, as shown in FIG. 7, the spare zone 102 is set to the first period T1, and the pause zone 107 and the spare interrupt zone 101 are set to the second period T2.

根據本實施形態之構成,利用傳輸單元1接收回傳資料之時隙即回覆帶104等係不使用於利用重疊信號之傳輸單元1-重疊終端(第1終端201及第2終端202)2間之通信。因此,利用重疊信號之傳輸單元1-重疊終端(第1終端201及第2終端202)2間之通信具有不易對利用傳輸信號之通信終端3-傳輸單元1間之通信產生影響之優點。即,於在回 覆帶104進行利用重疊信號之通信之情形時,回覆帶104係被確保用於重疊信號,故存在通信終端3無法使用回覆帶104發送回傳資料,而使用有傳輸信號之資料傳輸延遲之情形。與此相對,於本實施形態中,在利用重疊信號之通信中不使用回覆帶104,因此變得不易於使用有傳輸信號之資料傳輸中發生延遲。 According to the configuration of the present embodiment, the time slot in which the transmission unit 1 receives the backhaul data, that is, the reply band 104 or the like is not used in the transmission unit 1-overlap terminal (the first terminal 201 and the second terminal 202) using the overlapping signal. Communication. Therefore, the communication between the transmission unit 1-overlap terminal (the first terminal 201 and the second terminal 202) 2 using the overlap signal has an advantage that it is difficult to affect the communication between the communication terminal 3 and the transmission unit 1 using the transmission signal. That is, in the back When the overlay 104 performs communication using overlapping signals, the reply band 104 is secured for overlapping signals, so that the communication terminal 3 cannot use the reply band 104 to transmit the backhaul data, and the data transmission delay using the transmitted signal is used. . On the other hand, in the present embodiment, the reply tape 104 is not used in the communication using the overlap signal, and thus it is difficult to delay the data transmission using the transmission signal.

其他構成及功能係與實施形態1相同。 Other configurations and functions are the same as those in the first embodiment.

1‧‧‧傳輸單元 1‧‧‧Transportation unit

2‧‧‧重疊終端 2‧‧‧Overlapping terminal

6‧‧‧計測單元 6‧‧‧Measurement unit

7‧‧‧顯示面板 7‧‧‧ display panel

10‧‧‧通信線 10‧‧‧Communication line

11‧‧‧傳輸通信部 11‧‧‧Transportation and Communication Department

12‧‧‧發送部 12‧‧‧Send Department

13‧‧‧接收部 13‧‧‧ Receiving Department

14‧‧‧記憶部 14‧‧‧Memory Department

15‧‧‧控制部 15‧‧‧Control Department

16‧‧‧重疊通信部 16‧‧‧Overlap Communication Department

21‧‧‧記憶體 21‧‧‧ memory

22‧‧‧重疊通信部 22‧‧‧Overlap Communication Department

23‧‧‧傳輸通信部 23‧‧‧Transportation and Communication Department

24‧‧‧介面部 24‧‧‧ face

25‧‧‧控制部 25‧‧‧Control Department

151‧‧‧二次請求部 151‧‧‧Second Request Department

153‧‧‧處理部 153‧‧‧Processing Department

201‧‧‧第1終端 201‧‧‧1st terminal

202‧‧‧第2終端 202‧‧‧2nd terminal

251‧‧‧一次請求部 251‧‧‧One request department

252‧‧‧一次響應部 252‧‧‧Responsive Department

S31~S33‧‧‧步驟 S31~S33‧‧‧Steps

Claims (15)

一種通信系統,其特徵在於包括連接於通信線之主機、及連接於上述通信線而分別與上述主機通信之第1終端及第2終端,且上述第1終端包含向上述主機發送一次請求之一次請求部,上述主機包含二次請求部,該二次請求部若接收上述一次請求,則向上述第2終端發送二次請求,上述第2終端包含一次響應部,該一次響應部若接收上述二次請求,則不經由上述主機而向上述第1終端直接發送一次響應。 A communication system comprising: a host connected to a communication line; and a first terminal and a second terminal connected to the host connected to the communication line, wherein the first terminal includes a request to send the request to the host once a requesting unit, wherein the host includes a secondary requesting unit, and the secondary requesting unit transmits a secondary request to the second terminal when receiving the one-time request, wherein the second terminal includes a primary response unit, and the primary response unit receives the second request In the case of the secondary request, the response is directly transmitted to the first terminal without passing through the host. 如請求項1之通信系統,其係構成為,上述二次請求部若接收上述一次請求,則對於與該一次請求之發送源之上述第1終端、及與上述第2終端之通信,判斷是否滿足特定之條件,並基於判斷結果,決定是否發送上述二次請求。 The communication system according to claim 1, wherein the secondary requesting unit determines whether or not the first request and the second terminal communicate with the source of the primary request, if the one-time request is received, The specific condition is met, and based on the judgment result, it is decided whether to send the above secondary request. 如請求項2之通信系統,其中上述特定之條件包含如下情形之至少一者:上述一次請求之發送源之上述第1終端係作為成員而登錄於上述主機;及於接收上述一次請求時,上述主機並非與上述一次請求之發送源之上述第1終端以外之終端通信中。 The communication system of claim 2, wherein the specific condition includes at least one of: the first terminal of the source of the one-time request is registered as a member as the member; and upon receiving the one-time request, The host is not in communication with a terminal other than the above-described first terminal that is the source of the above-mentioned one request. 如請求項1之通信系統,其係構成為,上述第1終端與上述第2終端係與自上述主機向上述通信線送出之同步信號同步地通信。 The communication system according to claim 1, wherein the first terminal and the second terminal communicate with each other in synchronization with a synchronization signal sent from the host to the communication line. 如請求項4之通信系統,其中上述主機係向上述通信線重複送出作為上述同步信號之傳輸信號之傳輸單元,上述第1終端及上述第2終端係使用重疊於上述傳輸信號之重疊信號而通信之重疊終端。 A communication system according to claim 4, wherein said host system repeatedly transmits a transmission unit as a transmission signal of said synchronization signal to said communication line, said first terminal and said second terminal communicating by using a superimposed signal superimposed on said transmission signal Overlapping terminals. 如請求項5之通信系統,其係構成為,上述傳輸信號係針對每1訊框而於時間軸方向上被分為複數個區間,上述主機係將上述複數個區間中之一部分之區間分配為使用 上述重疊信號而進行與上述第1終端之通信之第1期間、及使用上述重疊信號而進行與上述第2終端之通信之第2期間,且在與上述第1終端及上述第2終端之間進行使用上述重疊信號之分時方式之通信。 The communication system of claim 5, wherein the transmission signal is divided into a plurality of intervals in a time axis direction for each frame, and the host system allocates a section of the plurality of intervals as use a first period of communication with the first terminal and a second period of communication with the second terminal using the superimposed signal, and between the first terminal and the second terminal Communication is performed in a time sharing manner using the above overlapping signals. 如請求項6之通信系統,其係構成為,上述第2終端係將接收上述重疊信號之期間限定於上述複數個區間之中分配為上述第2期間之區間。 The communication system according to claim 6, wherein the second terminal is configured to limit the period in which the superimposed signal is received to the section in which the second period is allocated among the plurality of sections. 如請求項6之通信系統,其係以上述第1期間較上述第2期間於上述傳輸信號之1訊框中佔據之時間更長之方式,將上述複數個區間中之上述一部分之區間分配為上述第1期間與上述第2期間。 The communication system of claim 6, wherein the part of the plurality of sections is allocated to the section in which the first period is longer than the second period in the first frame of the transmission signal. The first period and the second period. 如請求項8之通信系統,其係構成為,上述傳輸信號係於上述複數個區間中包含用以由上述主機檢測中斷信號之中斷帶、及由上述主機接收回傳資料之時隙即回覆帶,若上述主機於上述中斷帶中檢測到上述中斷信號,則上述回覆帶被確保用於來自該中斷信號之發送源之上述回傳資料,上述一次請求部係於藉由發送上述中斷信號而經確保之上述回覆帶發送上述一次請求。 The communication system of claim 8, wherein the transmission signal is included in the plurality of intervals, and includes an interrupt band for detecting an interrupt signal by the host, and a time slot that is received by the host to return data. And if the host detects the interrupt signal in the interrupt band, the reply band is secured for the backhaul data from a source of the interrupt signal, and the primary request unit is configured to transmit the interrupt signal. Make sure that the above reply strip sends the above request. 如請求項9之通信系統,其係構成為,上述一次請求部係使用上述重疊信號而發送上述中斷信號。 The communication system of claim 9, wherein the one-time requesting unit transmits the interrupt signal using the superimposed signal. 如請求項6之通信系統,其中上述傳輸信號係於上述複數個區間之一部分中包含用以由上述主機發送資料之發送帶、由上述主機接收回傳資料之時隙即回覆帶、用以由上述主機檢測中斷信號之中斷帶、及用以由上述主機檢測短路之短路檢測帶,將上述複數個區間之中除上述發送帶、上述回覆帶、上述中斷帶、及上述短路檢測帶之外之區間、且為可重疊上述重疊信號之區間設為可重疊帶, 該可重疊帶被分配為上述第1期間與上述第2期間。 The communication system of claim 6, wherein the transmission signal is in a portion of the plurality of intervals, and includes a transmission band for transmitting data by the host, and a time slot, that is, a reply band, for receiving the returned data by the host, for The interruption detecting band of the host detecting interrupt signal and the short-circuit detecting band for detecting a short circuit by the host, wherein the plurality of sections are apart from the transmission belt, the replying tape, the interruption band, and the short-circuit detecting zone The interval between the sections and the overlapping signals can be overlapped. The overlapable band is assigned to the first period and the second period. 如請求項1之通信系統,其中上述主機包含處理部,該處理部係接收自上述一次響應部發送至上述第1終端之上述一次響應而執行特定之處理。 The communication system according to claim 1, wherein the host includes a processing unit that receives the one-time response transmitted from the primary response unit to the first terminal and performs a specific process. 如請求項12之通信系統,其中上述特定之處理包含如下處理之至少一者:上述主機將作為上述一次響應而自上述第2終端獲取之資料儲存於記憶部;及上述主機求出作為上述一次響應而自上述第2終端獲取之資料之統計。 The communication system of claim 12, wherein the specific processing includes at least one of: the host stores the data acquired from the second terminal as the one-time response in the memory unit; and the host finds the The statistics of the data obtained from the above second terminal in response. 如請求項1之通信系統,其係構成為,上述第2終端係對上述主機定期地發送獲取資料,上述二次請求部若接收上述一次請求,則將請求上述獲取資料之上述二次請求發送至上述第2終端,上述一次響應部若接收上述二次請求,則將上述獲取資料作為上述一次響應而發送至上述第1終端。 The communication system according to claim 1, wherein the second terminal periodically transmits the acquired data to the host, and the secondary requesting unit transmits the secondary request for requesting the acquired data if receiving the one-time request. When the secondary response is received by the primary response unit, the primary response unit transmits the acquired data to the first terminal as the primary response. 一種終端裝置,其特徵在於在如請求項1至14中任一項之通信系統中,用作為上述第1終端與上述第2終端之至少一者,且包含:上述一次請求部,其係向上述主機發送上述一次請求;及上述一次響應部,其若接收上述主機接收到上述一次請求時自上述主機發送之上述二次請求,則不經由上述主機而向對方之終端裝置直接發送上述一次響應。 A terminal device, wherein the communication system according to any one of claims 1 to 14 is used as at least one of the first terminal and the second terminal, and includes: the one-time request unit; The host transmits the one-time request; and the primary response unit receives the secondary response directly from the host without receiving the one-time request from the host when the host receives the one-time request; .
TW102141337A 2012-11-13 2013-11-13 Communication system and terminal device TW201427435A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012248971A JP2014099677A (en) 2012-11-13 2012-11-13 Communication system and terminal apparatus

Publications (1)

Publication Number Publication Date
TW201427435A true TW201427435A (en) 2014-07-01

Family

ID=50730875

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102141337A TW201427435A (en) 2012-11-13 2013-11-13 Communication system and terminal device

Country Status (3)

Country Link
JP (1) JP2014099677A (en)
TW (1) TW201427435A (en)
WO (1) WO2014076941A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI562102B (en) * 2015-12-24 2016-12-11 nian-zu Yang
TWI726256B (en) * 2017-11-16 2021-05-01 日商松下知識產權經營股份有限公司 Communication device, slave device, communication system, and program

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7006565B2 (en) * 2018-10-31 2022-01-24 オムロン株式会社 Electrical equipment, communication equipment, and communication systems

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3139210B2 (en) * 1993-05-17 2001-02-26 日産自動車株式会社 Communication control method
JPH10210059A (en) * 1997-01-24 1998-08-07 Fujitsu Ltd Poling communication system
JP4999006B2 (en) * 2008-04-21 2012-08-15 独立行政法人産業技術総合研究所 Serial bus transmission system
JP5469582B2 (en) * 2010-10-25 2014-04-16 パナソニック株式会社 Communication system and transmission unit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI562102B (en) * 2015-12-24 2016-12-11 nian-zu Yang
TWI726256B (en) * 2017-11-16 2021-05-01 日商松下知識產權經營股份有限公司 Communication device, slave device, communication system, and program

Also Published As

Publication number Publication date
WO2014076941A1 (en) 2014-05-22
JP2014099677A (en) 2014-05-29

Similar Documents

Publication Publication Date Title
JP4996699B2 (en) Communications system
KR101541819B1 (en) Communication system and transmission unit employed in same
WO2013161150A1 (en) Communication system
TW201427435A (en) Communication system and terminal device
US9288073B2 (en) Communication system and transmission unit employed in same
KR20190025509A (en) Communication system, lighting control system, and communication device
TWI510102B (en) Communication system and terminal device
WO2013161301A1 (en) Communication system
TWI682641B (en) Communication system, apparatus control system, communication device, communication control method, and program
JP5853186B2 (en) Communication system and superposition module
JP5906420B2 (en) Communication system and transmission unit
JP6041233B2 (en) Communication system and communication apparatus
JP7042438B2 (en) Communication equipment, communication systems, and lighting control systems
WO2013161302A1 (en) Communication system
JP5544002B2 (en) Communication system and superimposed communication terminal