# Patent

## Title
Wireless communication system and wireless communication apparatus

## Abstract

A wireless communication apparatus operates as a tributary station in a wireless communication system including a control station and the tributary station that perform a time division multiplex communication. The wireless communication apparatus includes a wireless unit that performs a wireless communication with the control station; an event processing unit that notifies of an event occurrence based on an occurrence of an event; and a control unit that controls a communication in synchronization with the control station by detecting a control signal from the control station. When received a notification of the event occurrence, the control unit starts a search operation to acquire the control signal transmitted by the control station. When received the control signal, the control unit transmits a message according to the event occurrence using a slot that has a predetermined position relationship with the slot in which the control signal is received.

## Background
BACKGROUND
1. Technical Field
The present invention relates to a wireless communication system and a wireless communication apparatus that are applicable to a sensor.
2. Background Art
Recently, for the purpose of effective usage of frequency resources, a part of the frequency band of a digital cordless phone becomes available for wireless communication of a sound communication device, such as a wireless intercom or a wireless sensor, or a data communication device. In this frequency band, wireless communication is authorized which is on the basis of a wireless communication method of the DECT (Digital Enhanced Cordless Telecommunications) standard that has been widespread as a communication method of a digital cordless phone in countries around the world, and with a wireless communication apparatus using this frequency band, the use of a device for inexpensive, commercially available wireless communication has been enabled for a DECT type digital cordless phone. Further, from the viewpoint of effective usage of frequency resources and user convenience, there is a need for the development of complex products, such as a digital cordless phone, a wireless intercom, and a wireless sensor.
The DECT standard adopts a TDMA (Time Division Multiple Access)/TDD (Time Division Duplex) method that is configured to include 24 slots (12 slots for uplink and 12 slots for downlink) in one frame having a cycle of 10 ms.
FIG. 1 shows DECT type frame and slot configurations. As shown in FIG. 1, the DECT type wireless communication controls designation of a slot position by assigning numbers, such as Slot: 1, Slot: 2, and the like, for respective slots that perform wireless communication. Further, one frame includes 24 slots that are from Slot: 1 to Slot: 24, and a frame number is given for every frame to perform communication control. One slot is allocated as a control channel, and 11 slot pairs are allocated as call channels. A control signal that is transmitted through the DECT type control channel includes a synchronization signal to achieve bit synchronization and slot timing synchronization, a master unit ID to identify a master unit, a slot number to achieve slot synchronization that is used for the designation of a communication slot or the like, a frame number to achieve synchronization of a frame number that is used for concealment control or the like, and an error detection code to determine existence/nonexistence of errors of control information that includes a destination notice or the like and received data.
The control information that is transmitted to the DECT type control channel is classified into four kinds of messages: an NT message to notify of a master unit ID that is master unit identification information, a QT message to notify of system information, such as a frame number, a master unit function, a communication frequency, a standby frequency, and the like, and to be used as a reference frame for multi-frame control, a PT message to notify of information related to paging, such as call information and phone number information of a called party for calling party number notification, and an MT message to notify of information related to wireless control that is performed in a MAC layer such as startup of a communication channel and handover. Further, the DECT type cordless phone does not transmit information of the contents with each frame every time, but transmits the control information dispersed over a plurality of frames by determining a unit to assume 16 frames as one period and transmitting one kind of message by one unit. A slave unit that is a tributary station performs intermittent reception control to perform reception operation in conformity to a slot for control, to which the control information is transmitted once per 16 frames. As described above, a multi-frame control is performed to divide the control information into the kinds (the NT message, QT message, PT message, and MT message) and to transmit the plurality of frames.
Since the TDMA type wireless communication apparatus is used by mobile communication or a cordless phone that is driven by a battery, many techniques for low power consumption are disclosed. For example, JP-A-5-102900 discloses a battery saving method by intermittent reception using control channel control through spurious frame configuration and variable control of an intermittent reception period. According to the method in JP-A-5-102900, a master unit intermittently performs on/off control of the power supply of a slave unit in a manner that the master unit generates a counter set value signal that designates an on/off period of the power supply and multiplexes the counter set value signal in a time slot of each frame to transmit the multiplexed counter set value signal to the slave unit, and the slave unit loads and counts the counter set value with a counter and makes the power supply of the slave unit itself into an off state until the counter becomes a predetermined value. In addition, JP-A-5-102900 further discloses changing of the on/off period of the power supply depending on time.
On the other hand, a sensor device, which is used for a fire detector or a window opening and closing monitoring device, has been developed to have a wireless communication function that is driven by a battery, in view of easy of the installation, and many techniques for low power consumption are disclosed. For example, JP-A-2005-84803 discloses a technique to suppress power consumption by performing communication through supplying power to a wireless unit only when it is determined that wireless communication is necessary from a sensor device and to improve reliability of the wireless communication by controlling a transmission interval or the number of transmissions.
SUMMARY
In a wireless communication system which performs voice call or image communication in a TDMA wireless communication method on the premises (general houses or facilities), typically, a tributary station (a phone slave unit, a door phone slave unit, an entrance camera, or the like) is required to maintain synchronization with a control station while receiving a control signal from the control station. In a case where a wireless sensor function is added to this system, of existing wireless sensors, for example, a sensor based on the premise of notifying of information where a frequency of abnormality detection is small such as fire detection may be synchronized with the control station in the same wireless communication method as in a tributary station in the related art. In other words, if the wireless communication method in the related art is used without modification, even in a standby state, that is, a state where wireless communication from the sensor device is not necessary, the sensor device receives a control signal from the control station in order to maintain synchronization of transmission and reception timing with the control station. When abnormality is detected, the sensor device establishes wireless link with the control station and performs an operation of sending information to the control station during the wireless link.
In a case of combining a type of wireless sensor device which issues detection information every time a door is opened and closed or people come and go, with a system which is synchronized with the control station using the same wireless communication method, wireless link with the control station is established for each detection, and an operation of sending information to the control station is performed during the wireless link. In this case, even if battery saving is performed by intermittent reception control, in a case of the type of issuing detection information frequently as such, a power consumption amount cannot be disregarded. If a wireless phone or a wireless door phone having a wireless sensor function of frequently issuing detection information is to be implemented, communication in a wireless communication method different from the TDMA wireless communication method used for voice call and the like in the related art is necessary when power consumption is taken into consideration, and thus there is a problem in that wireless circuits become complicated.
The present invention has been made in consideration of these problems, and an object thereof is to provide a wireless communication apparatus which is applicable to a wireless sensor using a TDMA method, has low power consumption, and is strong on hindrance due to wireless interference.
An aspect of the present invention provides a wireless communication system including a control station and a tributary station that perform a time division multiplex communication, wherein the tributary station includes: a first wireless unit that performs a wireless communication with the control station; an event processing unit that notifies of an event occurrence based on an occurrence of an event; and a first control unit that controls a communication in synchronization with the control station by detecting a control signal from the control station, the control station includes: a second wireless unit that performs the wireless communication with the tributary station; and a second control unit that transmits the control signal in a predetermined cycle in a slot with a frequency, and controls a reception of a message by which the message is received in a slot which has a predetermined position relationship with the slot in which the control signal is transmitted with a reception frequency determined based on the frequency with which the control signal has been transmitted, wherein when received a notification of the event occurrence, the first control unit of the tributary station starts a search operation to acquire the control signal transmitted by the control station, and when received the control signal in a slot, the first control unit transmits the message according to the event occurrence using a slot that has a predetermined position relationship with the slot in which the control signal is received.
According to the aspect of the present invention, the tributary station can transmit and receive a message in response to an event with the control station using the TDMA communication method with a small number of slots, and thus power consumption of the tributary station can be reduced.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a diagram illustrating frame and slot configurations in a DECT standard.
FIG. 2 is a diagram illustrating a wireless communication apparatus according to a first embodiment of the present invention.
FIG. 3 is a block diagram illustrating the configuration of a master unit illustrated in FIG. 2.
FIG. 4 is a block diagram illustrating the configuration of a phone slave unit illustrated in FIG. 2.
FIG. 5 is a block diagram illustrating the configuration of a sensor slave unit illustrated in FIG. 2.
FIG. 6 is a diagram illustrating a data format of a control signal in the case where only a phone slave unit is registered in a master unit illustrated in FIG. 2.
FIG. 7 is a diagram illustrating a data format of a control signal in the case where a sensor slave unit is registered in a master unit illustrated in FIG. 2.
FIG. 8 is a diagram illustrating the kinds and transmission order of control signals in the case where only a phone slave unit is registered in a master unit illustrated in FIG. 2.
FIG. 9 is a diagram illustrating a data format of a signal that is used in a case where a master unit and a phone slave unit illustrated in FIG. 2 communicate with each other.
FIG. 10 is a diagram illustrating the operation in which a phone slave unit illustrated in FIG. 2 establishes synchronization of frames and slots together with a master unit.
FIG. 11 is a diagram illustrating the kinds and transmission order of control signals in the case where a sensor slave unit is registered in a master unit illustrated in FIG. 2.
FIG. 12 is a diagram illustrating the operation in which a sensor slave unit illustrated in FIG. 2 establishes synchronization of frames and slots together with a master unit.
FIG. 13 is a diagram illustrating the operation in which a sensor slave unit illustrated in FIG. 2 establishes synchronization of frames and slots together with a master unit in the case where control data 3, control data 4, and control data 5 are unable to be received.
FIG. 14 is a diagram illustrating a data format of a signal that is used in the case where a master unit and a sensor slave unit illustrated in FIG. 2 communicate with each other.
FIG. 15 is a diagram illustrating an example of the operation in which a sensor slave unit illustrated in FIG. 2 establishes synchronization with a master unit through change of a window state of the sensor slave unit and notifies the master unit of the window state through a CLMS message.
FIG. 16 is a diagram illustrating an example of the operation in which a sensor slave unit illustrated in FIG. 2 establishes synchronization with a master unit through change of a window state of the sensor slave unit and notifies the master unit of the window state through repetition of a CLMS message.
FIG. 17 is a diagram illustrating an example of the operation in which a sensor slave unit illustrated in FIG. 2 establishes interactive wireless re-synchronization with a master unit and notifies of a window state.



DETAILED DESCRIPTION
A first aspect of the present invention provides a wireless communication system including a control station and a tributary station that perform a time division multiplex communication, wherein the tributary station includes: a first wireless unit that performs a wireless communication with the control station; an event processing unit that notifies of an event occurrence based on an occurrence of an event; and a first control unit that controls a communication in synchronization with the control station by detecting a control signal from the control station, the control station includes: a second wireless unit that performs the wireless communication with the tributary station; and a second control unit that transmits the control signal in a predetermined cycle in a slot with a frequency, and controls a reception of a message by which the message is received in a slot which has a predetermined position relationship with the slot in which the control signal is transmitted with a reception frequency determined based on the frequency with which the control signal has been transmitted, wherein when received a notification of the event occurrence, the first control unit of the tributary station starts a search operation to acquire the control signal transmitted by the control station, and when received the control signal in a slot, the first control unit transmits the message according to the event occurrence using a slot that has a predetermined position relationship with the slot in which the control signal is received.
According to the first aspect of the present invention, since the tributary station supplements the control signal that is transmitted by the control station when the event occurs, and then operates merely to transmit the message using the slot that has the predetermined position relationship with the slot in which the control signal is received, there is not unnecessary reception in the normal state and unnecessary transmission when there is notification of the event, and thus the power consumption of the tributary station can be reduced. Further, since the division multiplex communication method is used when the system is used in a cordless phone or the like, the control station can collaborate with the wireless unit even in the case of performing communication with the tributary station that provides other services such as a cordless phone and the like, and price reduction can be realized. If a common control signal is transmitted, effective use of the wireless resources becomes possible. Further, it becomes easy to construct a complex system which makes use of both characteristics.
A second aspect of the present invention provides a wireless communication system in addition to the first aspect, wherein the tributary station transmits a message that is concluded in a period of one slot when received the control signal at the event occurrence, the control station notifies the tributary station of a message reception by the control signal when received the message that is concluded in the period of the one slot from the tributary station, and the tributary station stops the wireless communication when received a notification of the message reception from the control station.
According to the second aspect of the present invention, since the tributary station operates to transmit the message that is concluded in the period of one slot when there is notification of the event, the operation becomes simplified, transmission is not necessary, and the power consumption of the tributary station can be reduced.
A third aspect of the present invention provides a wireless communication system in addition to the above aspects, wherein the tributary station transmits a message that is concluded in a period of one slot multiple times at predetermined intervals at the event occurrence.
According to the third aspect of the present invention, since the message that is concluded in the period of one slot is transmitted multiple times and the interactive data link with the control station is established using the interactively communicable slot to perform transmission and reception of the message, the reliability in message transfer can be improved. Further, since the transmission is stopped by the reply from the master unit, unnecessary power consumption can be suppressed.
A fourth aspect of the present invention provides a wireless communication system in addition to the above aspects, wherein when there is no notification of the message reception from the control station in a predetermined time after the message according to the event occurrence is transmitted, the first control unit of the tributary station changes whether or not to perform data communication by establishing an interactive data link afterwards depending on an importance of the event occurrence.
According to the fourth aspect of the present invention, the message communication method can be selected depending on the importance of the event, and in notifying of an important message, with the message that is concluded in the period of one slot and by establishing the interactive data link and notifying of the message, and the reliability of the communication can be improved. In notifying of a message having low importance, the notification of the control station is performed only by the message that is concluded in the period of one slot, and the power consumption when a communication error occurs can be reduced.
A fifth aspect of the present invention provides a wireless communication system in addition to the above aspects, wherein when received the control signal at the event occurrence, the first control unit of the tributary station transmits a message that is concluded in a period of one slot using a frequency that corresponds to the reception frequency of the control signal.
According to the fifth aspect of the present invention, since the message is transmitted only using the same frequency as the reception frequency of the control signal, it is not necessary to select the frequency when the event occurs, and unnecessary reception is not performed to reduce the power consumption when the communication error occurs.
A sixth aspect of the present invention provides a wireless communication system in addition to the above aspects, wherein the control station notifies of information for starting interactive communication by the control signal, when the event occurs, the tributary station continues reception of the control signal and transmits a message that is concluded in a period of one slot multiple times at predetermined intervals, and performs message transmission and reception by establishing an interactive data link with the control station using a slot and a frequency in which bidirectional communication is possible, when received the message that is concluded in the period of the one slot from the tributary station, the control station notifies the tributary station of the reception of the message by the control signal, and when there is a notification of the message reception from the control station, the tributary station stops the wireless communication.
According to the sixth aspect of the present invention, since the message that is concluded in the period of one slot is transmitted multiple times and the interactive data link with the control station is established using the interactively communicable slot and frequency to perform transmission and reception of the message, the reliability in message transfer can be improved. Further, since the transmission is stopped by the reply from the master unit, unnecessary power consumption can be suppressed.
A seventh aspect of the present invention provides a wireless communication system in addition to the above aspects, wherein the event processing unit of the tributary station notifies the first control unit of an event occurrence of plural kinds of events, and the first control unit of the tributary station determines, according to an importance of the events, whether to notify the control station of a message according to the event occurrence only by a message that is concluded in a period of one slot or to notify the control station of the message according to the event occurrence both by the message that is concluded in the period of the one slot and by establishing an interactive data link.
An eighth aspect of the present invention provides a wireless communication system in addition to the above aspects, wherein the tributary station further includes a sensor unit that detects a state change, a voltage detection unit that measures a power supply voltage, and a timer unit that measures a time period that is based on a set value, the event processing unit is configured to notify the first control unit of the event occurrence when the sensor unit detects the state change and notifies the first control unit of the event occurrence when the timer unit detects timer expiration, and when received a notification of the event that notifies of the state change of the sensor unit, the first control unit starts a search operation to acquire the control signal that is transmitted by the control station, and when received the control signal, the first control unit transmits a message that is concluded in a period of one slot which includes information that indicates the state change and information on the power supply voltage, and if there is not notification of the reception of the message from the control station, the first control unit operates to perform data communication by establishing the interactive data link, and when the voltage detection unit detect the power supply voltage and when the first control unit has received the control signal that is transmitted by the control station, the first control unit transmits the message that is concluded in the period of the one slot which includes information that indicates a voltage state of a battery and a power-off signal is output to the first control unit without waiting for a response from the control station.
According to the eighth aspect of the present invention, with respect to the message that includes important information to notify the sensor unit of the state change, if there is no notification of the message reception from the control station when the message that is concluded in the period of one slot is transmitted, the message notification is performed again by establishing the interactive data link thereafter, and thus the reliability of the communication can be improved. Further, with respect to information about the power supply voltage that the interference of the transmission error is small, only the message that is concluded in the period of one slot is transmitted to the control station, and thus the power consumption when the communication error occurs can be reduced.
A ninth aspect of the present invention provides a wireless communication system in addition to the above aspects, wherein the tributary station further includes a sensor unit that detects a state change and a voltage detection unit that measures a power supply voltage, when received a notification of the event that notifies of the state change of the sensor unit, the first control unit starts a search operation to acquire the control signal that is transmitted by the control station, and when received the control signal, the first control unit transmits a message that is concluded in a period of one slot which includes information that indicates the state change and information on the power supply voltage, and if there is not notification of the reception of the message from the control station, the first control unit operates to perform data communication by establishing the interactive data link.
According to the ninth aspect of the present invention, when the sensor unit detects the state change, the information that indicates the state change is sent to the control station. At that time, the message that is concluded in the period of one slot includes the information about the battery voltage state detected by the voltage detection unit to be transmitted to the control station. If there is no notification of the message reception from the control station when the message that is concluded in the period of one slot is transmitted, the message notification is performed again by establishing the interactive data link thereafter, and thus the reliability of the communication can be improved. According to the ninth aspect of the present invention as described above, if it is necessary to send the information about the latest battery voltage state to the control station when the message having high importance such as sensor information is sent to the control station, the information is also sent to the control station. Accordingly, the transmission process to the control station is efficient and thus the power consumption can be reduced at that rate.
A tenth aspect of the present invention provides a wireless communication system in addition to the above aspects, wherein the tributary station further includes a switch that interrupts a power supply and a power supply control unit that control the switch, and the tributary station supplies a power to the first wireless unit and the first control unit through the switch, the power supply control unit changes the switch to interrupt the power of the first wireless unit and the first control unit when the wireless communication is unnecessary, the event processing unit notifies the power supply control unit of the event occurrence, the power supply control unit changes the switch so as to supply the power to the first wireless unit and the first control unit when received a notification of the event occurrence, and the first control unit starts through the power supply thereto, recognizes the event occurrence, and starts the control.
According to the tenth aspect of the present invention, since the power is supplied to the wireless unit and the control unit only as for the period that an event occurs and there is notification of the event, the power consumption can be reduced in a normal state where the wireless communication is unnecessary. Particularly, in the case where the control unit is configured with a microcomputer for communication control, a ROM, a RAM, and an EEPROM, in the normal state where the wireless communication is unnecessary, since the power that is supplied from the switch for power supply interruption to the circuits can be completely interrupted, even the dark current (standby current), which is consumed in a state where the microcomputer is in a stop state of the power-on, does not flow, and thus the power consumption in the normal state can be reduced. Further, the event occurrence can be detected by the power-on, and the circuit configuration can be simplified.
First Embodiment
A wireless communication apparatus according to a first embodiment of the present invention will be described based on the drawings with reference to a wireless phone and a wireless sensor for notifying of door opening/closing as an example.
In FIG. 2, a wireless communication apparatus 10 includes one master unit 20 connected to a telephone network 50, three phone slave units 30 (A to C), and sensor slave units 40 (A to C) having functions as sensors for detecting opening and closing of a window. The master unit 20, the phone slave unit 30, and the sensor slave unit 40 communicate with one another in a DECT standard. As shown in FIG. 1, the DECT standard performs communication in a TDMA/TDD method that is configured to include 24 slots (12 slots for uplink and 12 slots for downlink) in one frame having a period of 10 ms. Further, a control channel slot of at least one slot is allocated in one frame. This control channel and call channels are also transmitted and received in the frame period of 10 ms. Further, respective frequencies/slot positions are optional, and as for the frequencies, all five frequencies are used.
Next, the master unit 20 will be described on the basis of FIG. 3. The master unit 20 includes a wireless unit 201 performing DECT type wireless communication, a frame processing unit 202 transmitting transmission data such as control data or sound data to match the timing for TDMA communication and extracting the data from the reception data to match the timing for the TDMA communication, and a sound processing unit 203 converting the received sound data into an analog sound signal and converting the analog sound signal into digital sound data for transmission.
The master unit 20 further includes a first control data multiplexer 210 managing the transmission order of the control data that is transmitted in an initial control data region of a control signal, and a second control data multiplexer 211 managing the transmission order of the control data that is transmitted in the following control data region.
The master unit 20 further includes a ROM 220 into which programs for controlling the master unit 20 are stored, and a RAM 221 for executing the programs. Further, the master unit 20 includes an EEPROM 222 in which the contents do not disappear even in the power off state and which can rewrite the contents in a specified method, a display unit 223 displaying the operating state or the like, an operation unit 224 performing an input to instruct the operating to the master unit 20, and a control unit 230 controlling the whole master unit 20.
Next, the phone slave unit 30 will be described on the basis of FIG. 4. The phone slave unit 30 includes a wireless unit 301 performing DECT type wireless communication, a frame processing unit 302 transmitting transmission data such as control data or sound data to match the timing for TDMA communication and extracting the data from the reception data to match the dining for the TDMA communication, and a sound processing unit 303 converting the received sound data into an analog sound signal and converting the analog sound signal into digital sound data for transmission.
The phone slave unit 30 further includes a control data multiplexer 310 managing the transmission order of the control data that is transmitted in an initial control data region of the control signal, a ROM 320 into which programs for control are stored, and a RAM 321 for executing the programs. Further, the phone slave unit 30 includes an EEPROM 322 in which the contents do not disappear even in the power off state and the contents can be rewritten in a specified method, a display unit 323 displaying the operating state or the like, an operation unit 324 performing an input to instruct the operating, and a control unit 330 controlling the whole phone slave unit 30. Further, although the phone slave unit 30 is driven by a chargeable battery, the description of the battery or a function block to supply the power from the battery will not be repeated.
Next, the sensor slave unit 40 that senses opening and closing of a window and transmits a signal to the master unit 20 will be described on the basis of FIG. 5. The sensor slave unit 40 includes a wireless unit 401 performing the DECT type wireless communication. The sensor slave unit 40 further includes a frame processing unit 402 transmitting transmission data such as control data or sensor detection information to the master unit 20 to match the timing for the TDMA communication and extracting the data from the reception data received from the master unit 20 to match the timing for the TDMA communication.
The sensor slave unit 40 further includes a first control data multiplexer 410 managing the transmission order of the control data that is transmitted to the initial control data region of the control signal, and a second control data multiplexer 411 managing the transmission order of the control data that is transmitted to the following control data region.
Further, the sensor slave unit 40 includes a ROM 420 into which programs for control are stored, a RAM 421 for executing the programs, and an EEPROM 422 in which the contents do not disappear even in the power off state and the contents can be rewritten in a specified method. In addition, the sensor slave unit 40 includes a battery voltage detection unit 423 detecting a voltage of a battery which is a power supply, and a control unit 430 which operates by the clocks generated by the second clock generation unit 424 and controls the whole sensor slave unit 40.
A block that includes the wireless unit 401, the frame processing unit 402, the first control data multiplex unit 410, the second control data multiplex unit 411, the ROM 420, the RAM 421, the EEPROM 422, and the control unit 430 of the sensor slave unit 40 may be called the communication block 400.
Further, the sensor slave unit 40 includes a switch 440 turning on/off the power supply to a communication block 400 and a power supply control unit 441 generating a power supply control switching signal. Further, the sensor slave unit 40 includes a timer unit 442 measuring timing of power-on. This timer unit 442 generates a power-on signal when a predetermined time elapses. Further, the timer unit 442 measures the timing of a notification retry when notifying the master unit of sensor state information or the time of power-on when regularly notifying the master unit of the measurement value of battery voltage or the like. Further, the sensor slave unit 40 includes a sensor unit 443 detecting the opening and closing of the window and generating a power-on signal, a power supply unit 444 supplying the power to each unit of the sensor slave unit 40 by the power of the battery, and a first RAM 445 that is constantly operable by the battery.
Since the sensor state information has high emergency, if there is no response from the master unit after the sensor state is transmitted thereto and the normal reception in the master unit is unable to be confirmed, the notification retry is performed multiple times at the frequency of once in several seconds afterwards. In contrast, since information on the battery voltage has lower emergency than the notification of the sensor state, continuous reception is not performed even if normal reception of the master unit is unable to be confirmed. However, the information on the battery voltage is transferred to the master unit while communication with the master unit is performed regularly (at the frequency of once in several minutes) every predetermined time.
In all of the notification retry of the sensor state information and regular communication for transferring the information on the battery voltage, power supply to the communication block 400 is cut off between communication and communication, and even at this time, the timer unit 442 continues the operation of counting, and when the counting reaches a predetermined count value, the timer unit 442 notifies the power supply control unit 441 of the count expiration. By the notification of the count expiration, the power supply control unit 441 turns on the power supply to the communication block 400, so that the sensor slave unit 40 starts communication with the master unit 20.
Next, the operation of the wireless communication apparatus 10 according to a first embodiment will be described. In a state where the wireless communication apparatus 10 is in an idle state, the master unit 20 transmits a control signal using one of transmission slots of the control station from Slot: 1 to Slot: 12 of one frame (time width: 10 msec) illustrated in FIG. 1 as a control channel. That is, the control signal is transmitted once for each frame, in the cycle of 10 msec. The control signal includes a message which is transmitted to each phone slave unit from the master unit, such as a calling message. In a case of the idle state, the phone slave unit 30 performs a reception operation with a transmission slot, and receives a message which is sent to the phone slave unit 30 from the master unit 20 by the control signal. In addition, the sensor slave unit 40 does not receive the control signal for each frame since power supply to the communication block 400 is turned off in the idle state. However, the sensor unit 443 is operated even in the idle state, and, generates a power-on signal if a window state change is detected.
FIG. 6 illustrates the format of the control signal that is transmitted from the master unit 20 in the case where only the phone slave unit 30 is registered in the master unit 20. Further, FIG. 7 illustrates the format of the control signal that is transmitted from the master unit 20 in the case where the sensor slave unit 40 is registered in the master unit 20.
In FIGS. 6 and 7, the synchronization signal of the head part includes data to take the synchronization of the bit timing and data to take the synchronization of the bit position in the slot. Control data 1 is control data that is output to the first control data multiplexer 210, and error detection code 1 is a code to detect reception error of the control data 1. If the slave unit that is registered in the master unit 20 is only the phone slave unit 30 and the sensor slave unit 40 is not registered, it is assumed that the amount of data that is once transmitted by the control signal is the amount of data that can be transmitted as one control data 1, and if the control signal once transmitted is insufficient, the transmission is performed using the control signal multiple times.
In FIG. 7, control data 2, control data 3, control data 4, and control data 5 are control data output to the second control data multiplexer 211, and error detection code 2, error detection code 3, error detection code 4, and error detection code 5 are codes to detect reception errors of the preceding control data 2, control data 3, control data 4, and control data 5. In the case where the sensor slave unit 40 is registered in the master unit 20 as described above, in addition to the control data 1 and the error detection code 1 illustrated in FIG. 6, all the information necessary as possible for the control signal once transmitted can be transmitted by increasing the amount of data transmitted by the control signal once transmitted using a format in which the control data 2, control data 3, control data 4, control data 5, and the respective error detection codes.
Further, the region of the control data 1 in FIGS. 6 and 7 includes the region in which format identification information of the data that is transmitted to the corresponding Slot is transmitted and received. The format identification information that is transmitted to the control data 1 is information for identifying, for example, whether or not the data of the corresponding slot is composed of any format illustrated in FIG. 6, 7, or 9, whether or not the information in the control data 2, control data 3, control data 4, and control data 5 indicates the synchronization for the TDMA communication or the operating state of the master unit in the case where the transmission is performed with the format of FIG. 7, or whether or not the corresponding information is a message for message communication between applications.
FIG. 8 is a diagram illustrating the kinds and transmission order of control signals that are transmitted with the format illustrated in FIG. 6 by the master unit 20 in the case where only the phone slave unit 30 is registered in the master unit 20. Here, an example of multi-frame control that transmits various kinds of control signals to assume 16 frames as one period. As shown in FIG. 8, the master unit 20 transmits a PT message to notify of information related to paging, such as call information and phone number information of a called party for calling party number notification, in a frame having a frame number that is 16 integral multiples, a QT message to notify of system information, such as a frame number, a master unit function, a communication frequency, a standby frequency, and the like, in a frame having a frame number that is (16 integral multiples+8) and to be used as a reference frame for multi-frame control, and an NT message to notify of a mater ID that is the master unit identification information in a frame having other frame numbers.
Next, the operation to transmit the control signal in the case where only the phone slave unit 30 is registered in the master unit 20 will be described with reference to FIGS. 8 and 3. The control unit 230 of the master unit 20 stores information on a slave unit that is registered in the EEPROM 222. That is, if the registration of the slave unit is performed, the master unit 20 stores a slave unit ID for identifying the slave unit and slave unit classification identification information for identifying whether the slave unit is a phone slave unit 30 or a sensor slave unit 40. If the registered slave unit is the phone slave unit 30 only, the control unit 230 controls the frame processing unit 202 and the wireless unit 201 to transmit the control signal illustrated in FIG. 8. That is, the control unit 230 selects one of Slot: 1 to Slot: 12 for transmission to be used for transmission of the control signal, selects one frequency from predetermined frequencies, and controls the transmission unit of the wireless unit 201 to transmit the control signal with the format illustrated in FIG. 6 with the selected slot and frequency (hereinafter, the slot selected by the control unit 230 of the master unit 20 for transmission of the control signal is called a “control slot”).
The control unit 230 controls to write the master unit ID thereof in an NT message buffer of the first control data multiplexer 210, to write call information depending on event occurrence such as call reception and phone number information of a called party for calling party number notification in a PT message buffer, and to write in order a frame number of each of 16 frames, a master unit function, a slot number, and a control signal to notify of system information, such as a usage frequency and a standby frequency, in a QT message buffer.
The first control data multiplexer 210 outputs the data of the PT message buffer to the frame processing unit 202 if the frame number becomes 16 integral multiples, and outputs the data of the QT message buffer to the frame processing unit 202 if the frame number becomes (16 integral multiples+8). In the case of other frame numbers, that is, if the frame number is neither 16 integral multiples nor (16 integral multiples+8), the first control data multiplexer 210 outputs the data of the NT message buffer to the frame processing unit 202.
The frame processing unit 202 generates a transmission data stream by filling the region of the control data 1 with the data being transmitted to the region of the control data 1, depending on the data output from the first control data multiplexer 210 and the format identification information indicating that the data is configured in the format of FIG. 6, generates error detection code 1 depending on the transmitted data in the region of the control data 1, and outputs the data stream to the wireless unit 201 in the order of the synchronization signal, the control data 1, and the error detection code 1 with the format of FIG. 6 to match the timing of the control slot.
Next, the reception operation of the master unit 20 and the data format at the time of sound communication between the master unit 20 and the phone slave unit 30 will be described. FIG. 9 illustrates a data format in the case where the master unit 20 and the phone slave unit 30 perform a voice call with each other. In FIG. 9, in the region of control data 1, a region to transmit the format identification information indicating that the data is configured in the format of FIG. 9 and a region to transmit a control message for voice call start are installed. This control message region is used for the communication of the MT message to start a communication channel, the NT message to notify of the master ID, and the CT message to notify of a negotiation message of a higher layer such as a network layer or the like. The error detection code 1 is a region of an error detection code to detect the reception error of the control data 1.
Sound data in the format illustrated in FIG. 9 is, for example, a region of sound data that is obtained by encoding the analog sound signal in a G.726 method, and the error detection code 6 is a region of an error detection code to detect the reception error of the region of the sound data.
The master unit 20 operates to receive a wireless signal of a call start demand, which is always transmitted with the format of FIG. 9 from the phone slave unit 30, through 11 Slots except for a slot that is apart for 12 slots from the control slot among 12 slots which are from Slot: 13 to Slot: 24 (hereinafter, a slot in which the call start demand is in a standby state is called a “standby slot”). For example, if the slot that transmits the control signal is Slot: 1, the wireless signal that is transmitted from the phone slave unit 30 is received through 11 slots that are from Slot: 14 to Slot: 24, except for Slot: 13 that is apart for 12 slots from Slot: 1.
Since the reception is performed through the standby slot, the control unit 230 of the master unit 20 controls the reception frequency of the reception unit of the wireless unit 201. The reception frequency in the standby slot is sequentially changed from the small frequency number of the use frequency of which there is notification from the system information of the QT message of the control signal for each frame. Further, the standby frequency of which there is notification from the system information of the QT message is information to notify of the reception frequency in the standby slot of the frame that transmits the QT message.
The reception data received in the wireless unit 201 is output to the frame processing unit 202. The frame processing unit 202 operates to extract the data stream of the region of the control data 1 and the error detection code 1 illustrated in FIG. 6 from the reception data of each slot, to determine whether or not the data of the region of the control data 1 is correct data using the data received in the region of the error detection code 1, and to notify the control unit 230 of the data of the region of the control data 1 if the data is correct data.
Next, the operation of the phone slave unit 30 until the phone slave unit 30 shifts to an idle state after the power-on will be described. If the power is supplied to the phone slave unit 30, the phone slave unit 30 operates to search for the control signal that is transmitted from the master unit 20 which is the master unit of the phone slave unit 30 (hereinafter described as a “master search operation”). Then, if the control signal that is transmitted from the master unit 20 is detected, the phone slave unit 30 collects various kinds of information transmitted in the QT message of the control signal, and performs an operation to take frame and slot synchronization with the master unit based on the information to be in a communicable state (hereinafter described as “frame and slot synchronization operation”).
FIG. 10 illustrates the operation in which the phone slave unit 30 establishes frame and slot synchronization with the master unit 20. In FIG. 10, if the operation for synchronization starts, a consecutive reception for searching for the master unit, that is, an open search starts. If the synchronization signal illustrated in FIG. 6 is detected from the reception data, the phone slave unit 30 detects the control signal that is transmitted from the master unit itself by extracting the data stream of the region of the control data 1 and the error detection code 1 from the following reception data and determining whether or not the NT message to notify of the master unit ID of the master unit itself exists. FIG. 10 illustrates an example in the case where the message that is initially received after the open search start is the PT message. In this case, the phone slave unit 30 stops and changes the consecutive reception to the reception of the cycle of 10 msec, and receives the following control signal after 10 msec. During the reception after 10 msec, the phone slave unit 30 receives the NT message, and if it is recognized that the signal being received is the control signal that is transmitted from the master unit itself, the phone slave unit 30 changes the search operation from the master unit search operation to the frame and slot synchronization operation.
In the frame and slot synchronization operation, the phone slave unit 30 collects various kinds of information transmitted by a plurality of QT messages through continuous reception of the cycle of 10 msec, and if necessary information gathers, the phone slave unit 30 is in a frame and slot synchronization state where communication with the master unit becomes possible. Thereafter, the phone slave unit 30 becomes an idle state in which the phone slave unit 30 performs reception to match the timing of the PT message that is transmitted in the cycle of 160 msec.
Next, the operation of the respective units of the phone slave unit 30 until the phone slave unit 30 shifts to the idle state after the power-on will be described with reference to FIG. 4. If the power is turned on, the control unit 330 starts its operation. The control unit 330 controls the wireless unit 301 to perform the consecutive reception operation with a predetermined frequency. The reception data received in the wireless unit 301 is output to the frame processing unit 302. The frame processing unit 302 searches for the synchronization signal illustrated in FIG. 6 from the reception data, extracts the data stream of the region of the following control data 1 and error detection code 1, and determines whether or not the data of the region of the control data 1 is correct data using the data received in the region of the error detection code 1. If the data is correct data, the frame processing unit 302 operates to notify the control unit 330 of the data of the region of the control data 1.
If there is notification of the control data, the control unit 330 of the phone slave unit 30 controls the wireless unit 301 to stop and change the consecutive reception to the reception of the cycle of 10 msec. Then, the control unit 330 determines whether or not the search operation is changed from the slave unit search operation to the frame and slot synchronization operation by determining whether or not the received signal is the data transmitted from the master unit itself through comparison of the reception data with the master unit ID of the phone slave unit 30 stored in the EEPROM 322. Further, if the received data is other than the NT message, the control unit 330 determines whether or not the signal received on the basis of the data received by the reception of the cycle of 10 msec thereafter is the data transmitted from the master unit itself.
If the received data is the data transmitted from the master unit itself, the control unit 330 continues the reception of the cycle of 10 msec to perform the frame and slot synchronization operation. If the received data is not the data transmitted from the master unit itself, the control unit 330 restarts the open search to start the search for the next master unit. Further, if the control signal of the master unit itself is unable to be received although the master unit search operation is performed for a predetermined time or for a predetermined number of times with one frequency during the open search, the control unit 330 controls the wireless unit 301 to perform the consecutive reception operation by changing the reception frequency.
The control unit 330 of the phone slave unit 30 establishes the synchronization of the frame number and the slot number with the master unit 20 through reception of the frame number and the system information of the QT message after performing the frame and slot synchronization operation, and recognizes the setting order of the reception frequency of the standby slot of the master unit. If there is notification of all the necessary information through the control signal and the necessary information is received, the control unit 330 starts control to shift to the idle state in which the reception is performed in the cycle of 160 msec. That is, the control unit 330 shifts the control to start the reception of the wireless unit 301 to match the timing of the PT message that is transmitted with the frame number of 16 multiples.
Next, the call operation of the phone slave unit 30 to the master unit 20 will be described as an example of the operation when an event of an outside call reception occurs. If the event of the outside call reception occurs, the control unit 230 of the master unit 20 writes the PT message that notifies of the outside call reception (hereinafter described as an “outside call reception message”) in the PT message buffer of the first control data multiplexer 210. The outside call reception message is output to the wireless unit 201 at the timing when the frame number is of 16 multiples, and is transmitted as the control signal, being put in the region of the control data 1 illustrated in FIG. 6.
On the other hand, the wireless unit 301 of the phone slave unit 30 performs the reception at the timing when the frame number is of 16 multiples in the idle state, and the outside call reception message that is transmitted to be put on the control signal from the master unit 20 is received in the wireless unit 301 and is output to the frame processing unit 202. The frame processing unit 202 extracts the outside call reception message from the region of the control data 1 illustrated in FIG. 6, and outputs the extracted outside call reception message to the control unit 330.
If the outside call reception message is received, the control unit 330 of the phone slave unit 30 performs control to notify a user of the outside call reception by making a ringer sound rumble in the display unit 323. Then, if a user's operation to respond to the reception is performed in the operation unit 324, the control unit 330 selects one slot of the standby slots that is used to transmit the message from the slave unit through the following communication, and selects the “frequency for communication” to be used in the following communication. Hereinafter, the slot selected to transmit the message from the slave unit is described as a “slave transmission slot for communication” (or a master unit reception slot for communication). Further, the control unit 330 selects the slot that is apart for 12 slots from the selected slave unit transmission slot for communication as the slot that is used for reception in the slave unit through the following communication. Hereinafter, the slot selected for reception in the slave unit is described as the “slave reception slot for communication” (or a master unit transmission slot for communication).
In order to confirm whether or not the slave unit reception slot for communication and the slave unit transmission slot for communication can be used without interference, the control unit 330 sets the wireless unit 301 to receive the frequency for communication through the slots, and performs carrier sense of the slave unit transmission slot for communication and the slave unit reception slot for communication.
If the reception level of interfering waves of the slot is equal to or lower than a threshold value stored in the EEPROM 322, the control unit 330 of the phone slave unit 30 determines that the slot is available, and shifts to an operation to transmit a message for starting the communication channel (hereinafter described as a “wireless link establishment demand message”). That is, the control unit 330 writes the wireless link establishment demand message in the MT message buffer of the control data multiplexer 310, and controls the wireless unit 301 to perform the transmission with the above-described frequency for communication using the slot so that the master unit 20 matches the standby slot with the frequency that coincides with the frequency for this time communication. At this time, the communication between the phone slave unit 30 and the master unit 20 is performed using the format of FIG. 9 as described above. The frame processing unit 302 puts the MT message that includes the wireless link establishment demand message in the region of the control data 1 with the format illustrated in FIG. 9, puts the sound data output from the sound processing unit 303 in the region of sound data, calculates and puts respective error detection marks in the region of the error detection code 1 to output to the wireless unit 301. The wireless unit 301 operates to transmit the wireless signal that includes the above-described data.
The wireless signal including the wireless link establishment demand message that is transmitted from the phone slave unit 30 is received in the wireless unit 201 of the master unit 20 and is output to the frame processing unit 202. The frame processing unit 202 extracts the wireless link establishment demand message and notifies the control unit 230 of the extracted wireless link establishment demand message.
If the wireless link establishment demand message is received, the control unit 230 of the master unit 20 starts to control the sound communication with the slave unit using the frequency (frequency for communication) for receiving the wireless link establishment demand message by using a slot (master reception slot for communication) that receives the wireless link establishment demand message from the phone slave unit 30 and two slots of going up/down that is completed from the slot (master transmission slot for communication) that is apart for 12 slots from the corresponding slot.
In controlling the sound communication, the control unit 230 of the master unit 20 transmits the frame after receiving the wireless link establishment demand message to the master unit transmission slot for communication using the frequency for communication, and writes the wireless link establishment response message in the MT message buffer that corresponds to the master unit transmission slot for communication of the first control data multiplexer 210 at that time by controlling the wireless unit 201 to perform reception through the master unit reception slot for communication. This wireless link establishment response message is output to the frame processing unit 202 so as to be transmitted at the timing of the master unit transmission slot for communication, and the frame processing unit 202 operates to put the MT message of the wireless link establishment response message in the region of the control data 1 to transmit the MT message, to put the sound data output from the sound processing unit 203 in the region of the sound data, to calculate and put respective error detection marks in the region of the error detection code to transmit the error detection marks.
As described above, an interactive wireless link is established in the slot that is apart for 12 slots between the phone slave unit 30 and the master unit 20. The phone slave unit 30 writes the start demand message of a data link layer of the control data multiplexer 310 in the CT message buffer of the control data multiplexer 310, and the master unit 20 writes the response message of the data link layer of the first control data multiplexer 210 in the CT message buffer of the control data multiplexer 310, and establishes the data link where retransmission control is possible by transmitting and receiving the CT message in the same manner as the above-described transmission and reception of the MT message. The CT message is used for communication to notify a negotiation message of a higher layer such as a network layer, and by using the CT message, the retransmission control is performed if the transmission is not confirmed.
The phone slave unit 30 writes the higher layer message such as the start demand message (SETUP) of a network layer of the control data multiplexer 310 in the CT message buffer of the control data multiplexer 310, and the master unit 20 writes the higher layer message such as the response message (CONNECT) of the network layer of the first control data multiplexer 210 in the CT message buffer of the control data multiplexer 310, and completes a call connection by transmitting and receiving the CT message in the same manner as the transmission and reception of the MT message and performing negotiation of the higher layer through the data link layer in which the transmission is secured to shift to a communicable state.
Next, the operation of the master unit 20 in the case where the sensor slave unit 40 is registered in the master unit 20 will be described. FIG. 11 is a diagram illustrating the kinds and transmission order of control signals that is transmitted by the master unit 20 in the case where the sensor slave unit 40 is registered in the master unit 20. In this case, the format illustrated in FIG. 7 is used in the control signal that is transmitted by the master unit 20, and information, which may be put while the frame is updated, can be replaced. Hereinafter, the replacement of information in the frame will be described in detail.
In the case where the sensor slave unit 40 is registered in the master unit 20, the master unit 20, in addition to the transmission data of the control signal in the case where only the phone slave unit 30 is registered in the master unit 20, transmits four pairs of control data and error detection codes, that is, control data 2 and error detection code 2, control data 3 and error detection code 3, control data 4 and error detection code 4, and control data 5 and error detection code 5.
As illustrated in FIG. 11, in the region of control data 1, the master unit 20 transmits a PT message to notify of information related to paging, such as call information and phone number information of a called party for calling party number notification, in a frame having a frame number that is of 16 integral multiples. Further, in the region of control data 1, the master unit 20 transmits a QT message to notify of system information, such as a frame number, a master unit function, a communication frequency, a standby frequency, and the like, in a frame having a frame number that is of (16 integral multiples+8) and to be used as a reference frame for multi-frame control. Further, in the region of control data 1, the master unit 20 transmits an NT message to notify of a master unit ID that is the master unit identification information in a frame having other frame numbers.
Further, in the whole frame, the master unit 20 transmits format identification information using the region of the control data 1. In the case where even one sensor slave unit 40 is registered, information indicating that control information such as information to notify of synchronization for TDMA communication or operating state of the master unit using the data regions is transmitted to all registered slave units, using a format of the message of the control signal, in which, in addition to control data 1, control data 2, control data 3, control data 4, control data 5, and their error detection codes are connected according to the format identification information, as shown in FIG. 7.
Further, in the regions of control data 2, control data 3, control data 4, and control data 5, the master unit 20 alternately transmits control channel information and space channel information in duplicate twice in one frame so that the same data do not continue in the same frame. Further, in the region of the same control data, the master unit 20 transmits the information while changing the order of the information whenever the frame number is updated. That is, in the frame having an even frame number, the transmission is performed in the order of the control channel information, the space channel information, the control channel information, and the space channel information, and in the frame having an odd frame number, the transmission is performed in the order of the space channel information, the control channel information, the space channel information, and the control channel information. Through this, if only one control data region can normally be received even if agitation occurs, both data of the control channel information and the space channel information can be acquired if it is possible to receive the data of the control data region as multiple frames.
Next, the operation of each unit in which the master unit 20 transmits the control signal in the case where the sensor slave unit 40 is registered in the master unit 20 will be described with reference to FIG. 3.
The control unit 230 of the master unit 20 stores information of the registered slave unit in the EEPROM 222. That is, in the case of registering the slave unit in the master unit 20, the slave unit ID for identifying the slave unit is stored in the EEPROM 222 to match the slave unit classification identification information for identifying whether the slave unit is the phone slave unit 30 or the sensor slave unit 40.
If the sensor slave unit 40 is included in the registered slave units, the control unit 230 of the master unit 20 controls the frame processing unit 202 and the wireless unit 201 to transmit the control signal illustrated in FIG. 11. That is, the control unit 230 selects one of Slot: 1 to Slot: 12, and selects one frequency from a plurality of predetermined frequencies. The control unit 230 controls the transmission unit of the wireless unit 201 to be able to transmit the control signal having the format illustrated in FIG. 7 with the selected slot and the selected frequency.
The control unit 230 controls to write the master unit ID thereof in the NT message buffer of the first control data multiplexer 210, to write call information depending on the event occurrence such as the call reception and phone number information of the called party for the calling party number notification in the PT message buffer, and to sequentially write a control signal to notify system information, such as a frame number of each of 16 frames, a master unit function, a slot number, a use frequency, a standby frequency, and the like, in the QT message buffer. Through this, the first control data multiplexer 210 of the master unit 20 outputs the data of the PT message buffer to the frame processing unit 202 if the frame number becomes of 16 integral multiples, and outputs the data of the QT message buffer to the frame processing unit 202 if the frame number becomes of (16 integral multiples+8). In the case of other frame numbers, that is, if the frame number is neither 16 integral multiples nor (16 integral multiples+8), the first control data multiplexer 210 outputs the data, of the NT message buffer to the frame processing unit 202.
Further, the control unit 230 controls to write the control channel information and the space channel information in the second control data multiplexer 211 depending on the operative situation. In a frame having an even frame number, the second control data multiplexer 211 outputs to the frame processing unit 202 the control channel information to match the transmission timing of the control data 2, the space channel information to match the transmission timing of the control data 3, the control channel information to match the transmission timing of the control data 4, and the space channel information to match the transmission timing of the control data 5, respectively. Further, in a frame having an odd frame number, the second control data multiplexer 211 outputs to the frame processing unit 202 the space channel information to match the transmission timing of the control data 2, the control channel information to match the transmission timing of the control data 3, the space channel information to match the transmission timing of the control data 4, and the control channel information to match the transmission timing of the control data 5, respectively.
The frame processing unit 202 generates format identification information indicating that the regions of the control data 2, control data 3, control data 4, and control data 5 are configured in the format illustrated in FIG. 7, in which the control information, such as information to notify of the synchronization for the TDMA communication or the operating state of the master unit, is configured, and a data stream that is transmitted to the region of the control data 1 as the data output from the first control data multiplexer 210. Further, the frame processing unit 202 generates error detection code 1 depending on the data transmitted from the region of the control data 1, error detection code 2 depending on the data transmitted to the control data 2 which is output to match the transmission timing of the control data 2 output from the second control data multiplexer 221, error detection code 3 depending on the data transmitted to the control data 3 which is output to match the transmission timing of the control data 3 output from the second control data multiplexer 221, error detection code 4 depending on the data transmitted to the control data 4 which is output to match the transmission timing of the control data 4 output from the second control data multiplexer 221, and error detection code 5 depending on the data transmitted to the control data 5 which is output to match the transmission timing of the control data 5 output from the second control data multiplexer 221.
Further, the frame processing unit 202 outputs the data stream to the wireless unit 201 to match the timing of the control slot in the order of the synchronization signal, control data 1 (format identification information and data output from the first control data multiplexer 210), error detection code 1, control data 2 (data output from the second control data multiplexer 211), error detection code 2, control data 3 (data output from the second control data multiplexer 211), error detection code 3, control data 4 (data output from the second control data multiplexer 211), error detection code 4, control data 5 (data output from the second control data multiplexer 211), and error detection code 5. Further, the wireless unit 201 converts the data stream into a wireless signal of a predetermined frequency and transmits the wireless signal as the control signal.
Next, the reception operation of the master unit 20 in the case where the sensor slave unit 40 is registered will be described. First, a message communication method between the sensor slave unit 40 and the master unit 20 will be described. Two message transmission methods are possible between the sensor slave unit 40 and the master unit 20. One is a method to establish an interactive wireless link using data with the format illustrated in FIG. 9 in the same manner as the interactive communication between the phone slave unit 30 and the master unit 20, to perform negotiation of higher layers, such as a data link layer and a network layer, and to perform message communication of an application layer that notifies of the sensor state or the like (hereinafter, this method is called a connection message communication method). In the case of performing message transmission and reception of the application layer using the connection message communication method between the sensor slave unit 40 and the master unit 20, the sensor slave unit 40 does not transmit sound data to the master unit 20, and thus the sound data region of FIG. 9 is ignored. At this time, the message of the application layer is transmitted to and received from the region of control data 1 as one of the CT messages. Further, in the case of performing transmission and reception of the message of the application layer in the connection message communication method, it is also possible to stop the transmission and reception of the sound data region, to transmit and receive only the synchronization signal, the control data 1, and the error detection code 1 using the format of FIG. 6, and to perform transmission and reception of the message of the application layer as one of the CT messages.
The other message transmission method between the sensor slave unit 40 and the master unit 20 is a method to perform the message communication of the application layer that notifies of the sensor state and the battery voltage of the sensor slave unit, without negotiation of the higher layer such as the network layer, using the data with the format illustrated in FIG. 7 (hereinafter, this method is called a connectionless message communication method). The connectionless message communication method concludes the data transmission only by one slot if no error exists. In this case, in the region of the control data 1, the corresponding slot transmits the format identification information indicating that a message for message communication between applications is transmitted using the data with the format illustrated in FIG. 7 and a master unit identification cord by an NT message. Further, the slot dividedly transmits the data stream, such as a slave unit identification cord, a message identifier indicating that this message is a connectionless message, and the main body of a message, to the regions of the data 2, control data 3, control data 4, and control data 5.
Next, a slot through which the master unit 20 receives communication from the sensor slave unit 40 will be described. Since the master unit 20 simultaneously waits for both communication of the connection message communication method and the connectionless message communication method, it performs reception from the sensor slave unit 40 by making all 12 slots that are from Slot: 13 to Slot: 24 in a regular reception state. At this time, the slot that is apart for 12 slots from the control slot performs reception with the same frequency as the transmission frequency of the control signal. Further, other 11 slots perform reception with the reception frequency according to the reception frequency control in the standby slot of which there is notification as the system information of the QT message to wait for the communication from the sensor slave unit 40 and the phone slave unit 30.
Next, referring to FIG. 3, the operation of each block of the master unit 20 in Slot: 13 to slot: 24 will be described. In the slot that is apart for 12 slots from the control slot, the control unit 230 of the master unit 20 performs reception with the same frequency as the transmission frequency of the control signal, and in other slots, the control unit 230 controls the reception unit of the wireless unit 201 to perform reception with the reception frequency according to the reception frequency control in the standby slot of which there is notification as the system information of the QT message. The reception data received in the wireless unit 201 is output to the frame processing unit 202.
The frame processing unit 202 extracts the data stream of the regions of the control data 1 and the error detection code 1 from the reception data of each slot, and determine whether or not the data of the region of the control data 1 is correct data using the received data in the region of the error detection code 1. If the reception signal appears to be configured with the format illustrated in FIG. 7 by the format identification information that is transmitted from the region of the control data 1, the frame processing unit 202 operates to determine whether or not the data of the region of the control data 2, the data of the region of the control data 3, the data of the region of the control data 4, and the data of the region of the control data 5 are correctly received using the data received in the region of the error detection code 2, the data received in the region of the error detection code 3, the data received in the region of the error detection code 4, and the data received in the region of the error detection code 5, respectively, and to notify the control unit 230 of the correctly received data of the control region. The control unit 230 that has received the data of the control data region analyzes the data and starts control depending on the received data.
Next, referring to FIG. 5, the operation of the sensor slave unit 40 will be described. In the sensor slave unit 40, the switch 440 is normally in an off state, and the communication block 400 is in a condition that the power is not supplied thereto. In this state, if a window is changed from a closed state to an open state, or from an open state to a closed state, the sensor unit 443 detects the change and outputs a power-on signal to the power supply control unit 441. If the power-on signal is input, the power supply control unit 441 outputs a switching signal for turning on the switch 440. Through this, the switch 440 is turned on, and the power is supplied to the communication block 400 through the switch 440.
If the power is supplied to the communication block 400, the control unit 430 starts its operation to perform the control according to a program written in the ROM 420. That is, the control unit 430 reads the window state through the sensor unit 443 and notifies the master unit 20 of the read window state with a wireless signal.
Next, an operation in which the sensor slave unit 40 notifies the master unit 20 of a state of the window will be described. First, an operation until the sensor slave unit 40 receives the control signal from the master unit 20 and establishes synchronization will be described. The control unit 430 which reads the state of the window starts the master unit search operation and controls the wireless unit 401 to perform consecutive reception operation with a predetermined frequency. The reception data received by the wireless unit 401 is output to the frame processing unit 402. If the data is the control signal from the master unit 20, it may include a synchronization signal illustrated in FIG. 7 and control data next to the synchronization signal. The frame processing unit 402 searches for the synchronization signal illustrated in FIG. 7, extracts the data stream of the regions of the following control data 1 and error detection code 1, and determines whether or not the data of the region of the control data 1 is correct data using the data received from the region of the error detection code 1. If the data is the correct data, the frame processing unit 402 operates to notify the control unit 430 of the data of the region of the control data 1.
If there is notification of the control data, the control unit 430 controls to stop the consecutive reception of the wireless unit 401 and to switch to a synchronous reception operation to perform the reception of the signal in the cycle of 10 msec. If the received control data includes an NT message to notify of the master unit ID, the control unit 430 determines whether or not the received signal is the data that is transmitted from the master unit itself by comparing the master unit ID thereof that is stored in the EEPROM 422 with the reception data. Further, if the initially received data is except for the NT message, the control unit 430 then determines whether or not the received signal is the data that is transmitted from the master unit itself based on the data received by the reception operation in the cycle of 10 msec.
If the received data is the data that is transmitted from the master unit itself, the control unit 430 continues the reception in the cycle of 10 msec, and shifts to the frame and slot synchronization operation. Further, if the received data is not the data that is transmitted from the master unit itself, the control unit 430 restarts the open search and starts to search for the next master unit. Further, if the control signal of the master unit itself is unable to be received although the master unit search operation is performed for a predetermined time with one frequency or for a predetermined number of times, the control unit 430 controls the wireless unit 401 to perform the consecutive reception operation by changing the reception frequency.
If the control unit 430 shifts to the frame and slot synchronization operation, the control unit 430 reads the frame number of the QT message and system information which are put in the region of the control data 1, performs establishment of the synchronization with the frame number and the slot number of the master unit 20 based on the information, and performs in parallel establishment of the synchronization with the frame number and the slot number of the master unit 20 based on the control channel information and the space channel information that are received in the regions of the control data 2, control data 3, control data 4, and control data 5. That is, if the reception error does not occur in the data of the slot that has received the master unit ID of the master unit itself in the region of the control data 1, the control unit 430 establishes the synchronization between the control channel information and the space channel information received in the regions of the control data 2 and control data 3 of the corresponding slot and the frame number and the slot number.
If the communication environment is bad and the whole control data of the synchronization signal is unable to be normally received by the slot once, the synchronization may be established by receiving the synchronization signal with a plurality of frames every 10 msec. For example, in the environment in which the control data 1 and the control data 2 are able to be correctly received by the initial synchronization signal, but when the control data 3, control data 4, and control data 5 are unable to be correctly received, the synchronization of the frame number and the slot number are established by receiving the master unit ID of the master unit itself in the region of the control data 1 of the initial control signal and one part of the control channel information or the space channel information in the region of the control data 2 and then by receiving the other part of the control channel information or the space channel information in the region of the control data 2 of the slot received with the following frame. Further, in the environment in which the control data 2, control data 3, control data 4, and control data 5 are unable to be correctly received, the synchronization of the frame number and the slot number is established by collecting the necessary information in the QT message that is transmitted at the frequency once in 16 frames in the region of the control data 1 in the same manner as the phone slave unit 30.
FIGS. 12 and 13 show examples of the operation from the master unit search operation to the establishment of the synchronization of the frame number and the slot number. The example of FIG. 12 is an example in the case where the reception error does not occur in the data of the slot that has received the master unit ID of the master unit itself in the region of the control data 1. The example of FIG. 13 is an example in which the control data 3, control data 4, and control data 5 are unable to be correctly received, and the synchronization is established based on the reception data of the region of the control data 2 in the slot that has received the master unit ID of the master unit itself and the slot that has received in the next frame in the region of the control data 1. Further, the operation to establish the synchronization only with the data received in the region of the control data 1 in a state where the control data 2, control data 3, control data 4, and control data 5 are unable to be correctly received is the same as the operation until the completion of the frame and slot synchronization operation in the example of the synchronization establishment operation of the phone slave unit 30 illustrated in FIG. 10.
Next, an operation after the synchronization establishment of the sensor slave unit 40 will be described. If the synchronization is completed, the control unit 430 of the sensor slave unit 40 performs measurement of the interfering wave level (that is, carrier sense) by controlling the wireless unit 401 to receive the same frequency as the frequency with which the control signal is received in the slot that is apart for 12 slots from the slot of the control signal while continuing the reception of the slot through which the control signal could have been received in each frame. In the case of transmitting the data to the master unit 20 in the connectionless message communication method, the sensor slave unit 40 transmits the data to the slot that is apart for 12 slots from the slot of the control signal. Hereinafter, this slot is called an uplink connectionless data transmission slot. In two consecutive frames, the uplink connectionless data transmission slot is received, and the interfering wave level of the uplink connectionless data transmission slot is measured. In this case, if the interfering wave level is equal to or lower than a prescribed value, the operation is shifted to the operation to notify the master unit 20 of the state of window in the connectionless message communication method.
Next, the operation for the sensor slave unit 40 to notify the master unit 20 of the state of the window in the connectionless message communication method will be described. The control unit 430 of the sensor slave unit 40 is set to perform transmission of the message to notify of the state of the window with the same frequency as the frequency with which the control signal is received using the uplink connectionless data transmission slot. FIG. 14 shows a signal format in the case of performing message communication in the connectionless message communication method. The signal of the connectionless message communication method has the configuration that is close to the control signal format shown in FIG. 7, and other control data are connected after control data 1. In FIG. 14, the message transmission regions are described as CLMS 1, CLMS 2, CLMS 3, and CLMS 4. The error detection code 2 is a code for detecting an error of CLMS 1, the error detection code 3 is a code for detecting an error of CLMS 2, the error detection code 4 is a code for detecting an error of CLMS 3, and the error detection code 5 is a code for detecting an error of CLMS 4. The synchronization signal, the control data 1, and the error detection code 1 are the same as those in the control signal format of FIG. 7.
The message to notify of the state of the window is dividedly transmitted to regions of CLMS 1, CLMS 2, CLMS 3, and CLMS 4. Since there is notification of the window state in the connectionless message communication method, the control unit 430 of the sensor slave unit 40 sets the master unit ID in the NT message buffer of the first control data multiplexer 410, and sets a CLMS message, which is composed of a slave unit identification code, a message identifier indicating that this message is a connectionless message, and a message to notify of the state of the window, in CLMS information of the second control data multiplexer 411.
The first control data multiplexer 410 outputs data of the NT message buffer to the frame processing unit 402 to match the transmission timing of the control data 1 of the uplink connectionless data transmission slot. Further, the second control data multiplexer 411 divides the CLMS message and outputs divided CLMS messages to the frame processing unit 402 to match the transmission timing of CLMS 1, CLMS 2, CLMS 3, and CLMS 4 of the uplink connectionless data transmission slot.
The frame processing unit 402 generates a data stream that is transmitted to the region of the control data 1 with the format identification information indicating that the data stream is configured as the format shown in FIG. 14 to transmit the CLMS message and data output from the first control data multiplexer 410, and generates the error detection code 1 depending on the data that is transmitted from the region of the control data 1. Further, the frame processing unit 402 generates the error detection code 2 depending on the data which is transmitted to CLMS 1 that is output to match the transmission timing of CLMS 1 that is output from the second control data multiplexer 411, generates the error detection code 3 depending on the data which is transmitted to CLMS 2 that is output to match the transmission timing of CLMS 2 that is output from the second control data multiplexer 411, generates the error detection code 4 depending on the data which is transmitted to CLMS 3 that is output to match the transmission timing of CLMS 3 that is output from the second control data multiplexer 411, and generates the error detection code 5 depending on the data which is transmitted to CLMS 4 that is output to match the transmission timing of CLMS 4 that is output from the second control data multiplexer 411.
Then, the frame processing unit 402 outputs the data stream to the wireless unit 401 in the order of the synchronization signal, control data 1 (format identification information and data output from the first control data multiplexer 410), error detection code 1, CLMS 1, error detection code 2, CLMS 2, error detection code 3, CLMS 3, error detection code 4, CLMS 4, and error detection code 5 to match the timing of the uplink connectionless data transmission slot. The data stream output to the wireless unit 401 is converted into a wireless signal having the same frequency as the reception frequency of the control signal and is transmitted to the uplink connectionless transmission slot.
If the transmission of the CLMS message is completed, after the next frame, the control unit 430 of the sensor slave unit 40 controls the wireless unit 401 so that only the slot that receives the control signal continues the reception state. If a reception response indicating that the CLMS message including window state information is received from the master unit 20 of the destination is received, the control unit 430 recognizes that the window state information has normally reached the master unit 20, and then outputs the power-off signal to the power supply control unit 441. In this case, the control unit 430 sets a detection condition of the sensor unit 443 so that a power supply on signal is output to the power supply control unit 441 when the window state is changed from the state notified at the previous time, and then outputs the power-off signal. If the power-off signal is input, the power supply control unit 441 outputs a switching signal to turn off the switch 440, and the switch 440 interrupts the power supply to the communication block 400 depending on the switching signal, and the sensor slave unit 40 returns to the normal state.
Next, the operation in which the master unit 20 receives the CLMS message to notify of the window state from the sensor slave unit 40 will be described. The wireless signal that includes the CLMS message transmitted from the sensor slave unit 40 is received in the wireless unit 201 of the master unit 20, and is output to the frame processing unit 202. The frame processing unit 202 extracts the data stream of the regions of the control data 1 and the error detection code 1 from the wireless signal, and determines whether or not the data of the region of the control data 1 is correct data using the data received from the region of the error detection code 1. Then, if the reception signal appears to be configured with the format illustrated in FIG. 14 by the format identification information of the reception signal, the frame processing unit 202 determines whether or not the data of the region of CLMS 1, the data of the region of CLMS 2, the data of the region of CLMS 3, and the data of the region of CLMS 4 are correctly received using the data, received in the region of the error detection code 2, the data received in the region of the error detection code 3, the data received in the region of the error detection code 4, and the data received in the region of the error detection code 5, respectively. If the data received in the regions of CLMS 1, CLMS 2, CLMS 3, and CLMS 4 are all correctly received, the frame processing unit 202 operates to combine the data received in the regions of CLMS 1, CLMS 2, CLMS 3, and CLMS 4, and to notify the control unit 230 of the combined data together with the data received in the region of control data 1 as one CLMS message.
If the data received in the region of control data 1 is the NT message of the master unit identification information that is the same as its own ID, the control unit 230, which has received the reception data of the region of control data 1 and the CLMS message, determines that the CLMS message is addressed to the control unit 230 itself, and starts the operation depending on the information notified of by the CLMS message. If the data received in the region of control data 1 is other than the NT message of the master unit identification information that is the same as its own ID, the control unit 230 discards the CLMS message. Further, the control unit 230 determines whether or not the sensor slave unit is the sensor slave unit which an origin of transmission has been registered from the slave unit identification code included in the CLMS message, and if the CLMS message is from the slave unit of non-registration, the control unit 230 discards the CLMS message.
If the CLMS message that notifies of the window state is received from the registered sensor slave unit, the control unit 230 displays the window state of the corresponding sensor slave unit on the display unit 223. Further, the display of the window state is the display on LCD or the display by sound such as ringer, and if it is set to notify of the opening of the window in beep sound, the control unit 230 notifies persons of the opening of the window by making a ringer sound rumble, and operates to stop the ringer by the instruction from the operation unit 224.
Next, the operation to notify of the reception response indicating that the CLMS message including window information has been normally received from the master unit 20 to the sensor slave unit 40 when the master unit 20 receives the CLMS message including the window information from the sensor slave unit 40 will be described. The message to notify of the reception of the CLMS message that notifies of the wind state (hereinafter described as “reception response”) is transmitted to the slave unit with the same frequency as the control signal through the slot that transmits the control signal using the format of FIG. 14. That is, the control unit 230 of the master unit 20 sets the CLMS message, which includes a slave unit identification code of the sensor slave unit 40 that is the destination, a message identifier indicating that this message is a connectionless message, and a message to notify of reception response, in the CLMS information of the second control data multiplexer 211 to match the timing of the control slot of the frame to transmit the master unit identification code in the region of control data 1. Accordingly, the second control data multiplexer 211 divides the CLMS message, and outputs the divided CLMS messages to the frame processing unit 402 to match the transmission timing of CLMS 1, CLMS 2, CLMS 3, and CLMS 4 of the control signal.
The frame processing unit 202 generates a data stream that is transmitted to the region of the control data 1 by putting the format identification information indicating that the data stream is configured with the format (FIG. 14) to transmit the CLMS message and data (master identification information) output from the first control data multiplexer 210 on the region of control data 1, and generates the error detection code 1 depending on the data that is transmitted to the region of the control data 1. Further, the frame processing unit 202 generates the error detection code 2 depending on the data which is transmitted to CLMS 1 that is output to match the transmission timing of CLMS 1 that is output from the second control data multiplexer 211, generates the error detection code 3 depending on the data which is transmitted to CLMS 2 that is output to match the transmission timing of CLMS 2 that is output from the second control data multiplexer 211, generates the error detection code 4 depending on the data which is transmitted to CLMS 3 that is output to match the transmission timing of CLMS 3 that is output from the second control data multiplexer 211, and generates the error detection code 5 depending on the data which is transmitted to CLMS 4 that is output to match the transmission timing of CLMS 4 that is output from the second control data multiplexer 211.
Then, the frame processing unit 202 outputs the data stream to the wireless unit 201 in the order of the synchronization signal, the above-described control data 1 (format identification information and master unit identification information output from the first control data multiplexer 210), the error detection code 1, the CLMS 1, the error detection code 2, the CLMS 2, the error detection code 3, the CLMS 3, the error detection code 4, the CLMS 4, and the error detection code 5 to match the timing of the control slot. The data stream output to the wireless unit 401 is converted into a wireless signal having the frequency for the control signal and is transmitted to the control slot. If the transmission of the CLMS message is completed, the control unit 230 controls to return to the state where the control signal illustrated in FIG. 11 is transmitted to the control slot after the next frame.
Next, using FIGS. 15, 16, and 17, the transmission and reception switching operation of each slot when there is notification of the window state change will be described. In the following description, the frame having the frame number N illustrated in the drawing is described as frame N, and the slot having the slot number N is described as Slot: N.
FIG. 15 is a diagram illustrating an example of the operation in which the above-described sensor slave unit 40 detects the change of the window state, supplies the power to the communication block 400, establishes the synchronization with the master unit 20 that transmits the control signal to Slot: 1, notifies the master unit 20 of the window state by the CLMS message, and power supply to the communication block 400 is interrupted. In the example of FIG. 15, the sensor slave unit 40 starts the operation for synchronization by supplying the power to the communication block 400 if the window state is changed at a certain time before frame 1, and starts the consecutive reception (open search). If the synchronization signal of the reception data is detected, the sensor slave unit 40 acquires the master unit identification information or the like by the following data, confirms whether or not the control signal is truly from the master unit, and establishes the synchronization if the control signal is from the registered master unit. In the example of FIG. 15, the synchronization with the control signal of the master unit is established with Slot: 1 of frame 2.
Then, the sensor slave unit 40 selects Slot: 13 that is apart for 12 slots, which is the number of slots that correspond to a half of the number of slots accommodated in the frame, from the slot that has received the control signal as the slot to perform the transmission of the CLMS message. Further, the sensor slave unit 40 transmits the CLMS message to notify of the window state to Slot: 13 of frame 4 by performing carrier sense to confirm the existence/nonexistence of the interfering waves with respect to Slot: 13 of frame 2 and frame 3.
Further, the sensor slave unit 40 continues the reception of the control signal of the master unit with Slot: 1 of frame 2 and the control signal with Slot: 1 of the frame after the synchronization establishment, maintains the synchronization with the master unit 20, and waits for the reception response to notify of the reception of the CLMS message. In the example of FIG. 15, the sensor slave unit 40 receives the reception response from the master unit 20 with frame 5, and stops the operation to notify of the window state change to interrupt the power supplied to the communication block 400. Further, both the reception frequency during the carrier sense with Slot: 13 and the transmission frequency of the CLMS message are the same as the reception frequency of the control signal with Slot: 1.
Next, using FIG. 16, the operation in the case where the communication of the CLMS message that notifies of the window state does not succeed at once will be described. FIG. 16 illustrates an example of the operation to notify of the window state change through retransmission of the CLMS message to notify of the window state. In this example, the sensor slave unit 40 retransmits the CLMS message to notify of the window state if the reception response is unable to be received from the master unit within four frames after the CLMS message to notify of the window state is transmitted. If the CLMS message to notify of the window state is received, the master unit 20 transmits the reception response to continue with the frame afterwards.
In the example of FIG. 16, the operation to frame 5 that initially transmits the CLMS message after the window state of the sensor slave unit 40 is changed is the same as that in FIG. 15, and the explanation thereof will not be repeated. In the example of FIG. 16, the operation is the operation in the case where the CLMS message that is transmitted to Slot: 13 of frame 4 does not reach the master unit 20. If the CLMS message does not reach the master unit 20, the master unit 20 transmits a normal control signal to the next frame 5. In a period from frame 5 to frame 9 after the transmission of the CLMS message, the sensor slave unit 40 waits for the reception response from the master unit. If the reception response is unable to be received even from Slot: 1 of frame 9, the sensor slave unit 40 retransmits the CLMS message to Slot: 13 of frame 9.
If the CLMS message that is transmitted to Slot: 13 of frame 9 is normally received in the master unit 20, the master unit 20 starts the transmission of the reception response in the transmission slot of the control signal, that is, Slot: 1, in the frame 10. At this time, in consideration of the occurrence of the reception error, in order to improve the communication quality, the master unit 20 operates to transmit the reception response to the frame that transmits the NT message multiple times, and in the example of FIG. 16, the master unit 20 transmits the reception response with frame 10 and frame 11.
The example of FIG. 16 shows that the reception error occurs in Slot: 1 of frame 10 in the sensor slave unit 40 and the reception response that is transmitted from the master unit 20 is received in Slot: 1 of frame 11. The sensor slave unit 40 that has received the reception response with Slot: 1 of frame 11 recognizes that the information of the window state change is received in the master unit 20 through the reception response, stops the operation to notify of the window state change, and interrupts the power supply to the communication block 400. Further, the reception frequency during the carrier sense in Slot: 13 and the transmission frequency of the CLMS message are the same as the reception frequency of the control signal in Slot: 1. For example, even after the sensor slave unit 40 operates to notify the master unit 20 of the window state in the above-mentioned connectionless communication method, if the sensor slave unit 40 does not receive a response which indicates normally received the window state from the master unit 20, the sensor slave unit 40 operates to transmit the window state again by switching to the connection message communication method.
Next, using FIG. 17, the operation in the case where the communication of the CLMS message to notify of the window state does not succeed and there is notification of the window state in the master unit 20 through shifting to the connection message communication method will be described. If the reception response is unable to be received from the master unit even in the transmission of the CLMS message of the number of times decided beforehand and if the interfering wave level of the uplink connectionless data transmission slot detected by the carrier sense is high and the CLMS message is unable to be transmitted, the sensor slave unit 40 starts the operation to transmit the window state gain by the connection message communication method.
In this case, in the same manner as the interactive communication between the above-described phone slave unit 30 and the master unit 20, the sensor slave unit 40 establishes the interactive wireless link, performs negotiation of a higher layer such as a network layer, and notifies the master unit 20 of the window state in the connection message communication method which performs message communication of an application layer that notifies of the sensor state. FIG. 17 shows an example of operation in the case where the sensor slave unit 40 and the master unit 20 establish the interactive wireless link, start the data link layer using an interactive wireless communication path, perform negotiation of the network layer, and notify of the window state change. The operation in which the window state is changed, the power is supplied to the communication block 400, and the CLMS message to notify the window state is transmitted multiple times is the same as that illustrated in FIG. 16, and thus this will not be repeated in FIG. 17. FIG. 17 shows the operation in a state where the CLMS message is transmitted a prescribed number of times and the reception response is unable to be received within a prescribed time.
FIG. 17 shows an example to start the wireless communication by the connection message communication method with frame 2. The sensor slave unit 40 selects Slot: 2 for reception among reception slots (that is, Slot: 2 to slot: 12) except for Slot: 1 that performs the reception of the control signal of the master unit 20 of frame 2, selects Slot: 14 for transmission that is apart for 12 slots from slot: 2, and establishes the interactive wireless link using Slot: 2 for reception and Slot: 14 for transmission 14 to perform the communication. At this time, sensor slave unit 40 selects the frequency that is used for communication among communication frequencies of which the control signal notifies. Further, the frame when the standby frequency of the master unit 20 coincides with the selected frequency is determined as the frame that transmits the wireless link establishment message, and before the transmission of the wireless link confirmation demand message, the carrier sense is performed with the selected frequency in the selected transmission and reception slot.
FIG. 17 shows the operation in the case where the master unit 20 selects the standby frequency with frame 4, and the sensor slave unit 40 transmits the wireless link establishment demand to Slot: 14 of frame 4 through performing of the carrier sense of Slot: 2 and Slot: 14 from frame 2. Further, the sensor slave unit 40 detects the interfering waves by the carrier sense, and if it is determined that the transmission is not possible, it controls to change at least one of the communication frequency and the slot, to newly perform carrier sense, and to transmit the wireless link establishment demand message.
If the wireless link establishment demand message is received from the standby slot (in FIG. 17, Slot: 14), the master unit 20 fixes the reception frequency of the slot (in FIG. 17, Slot: 14) that has received the wireless link establishment demand message to the frequency that has received the wireless link establishment demand message even with respect to the following frame, and transmits a wireless link establishment response message to the slot that is apart for 12 slots from the slot that has received the wireless link establishment demand message. In FIG. 17, the wireless link establishment response message is transmitted to Slot: 2 of frame 5.
If the wireless link establishment response message is received, the sensor slave unit 40 shifts to the wireless link establishment state, stops the reception of the control slot, and performs transmission and reception in slots (Slot: 2 and Slot: 14) for communication. Further, if the wireless link establishment response message is unable to be received, in the same manner as the case where it is determined that the transmission for the carrier sense is not possible, the sensor slave unit 40 operates to newly work again from the carrier sense through changing of at least one of the communication frequency and the slot.
In FIG. 17, the sensor slave unit 40 receives the wireless link establishment response message of frame 5, shifts to the wireless link establishment state, and performs transmission and reception in the slot for communication after frame 6. Thereafter, the sensor slave unit 40 and the master unit 20 perform the wireless communication using Slot: 2 and Slot: 14, perform start of the data link layer for retransmission control and start of the network layer, and perform transmission and reception of the message to notify of the window state and the response. Then, if the notification of the window state is completed, the sensor slave unit 40 performs stopping of the network layer, stopping of the data link layer, and the opening of the wireless link, and ends the wireless communication. Then, the sensor slave unit 40 interrupts the power supply to the communication block 400. FIG. 17 shows that the communication from frame 6 to Slot: 14 of frame N+1 is performed, performs the start of the data link layer, start of the network layer, a message to notify of the window state, transmission and reception of the response, stopping of the network layer, stopping of the data link layer, and the opening of the wireless link, and then interrupts the power supply to the wireless communication block 400.
Next, a description will be made of an operation when the master unit 20 is unable to be notified of a window state even using the connection message communication method. When the master unit 20 is unable to be notified of a window state even using the connection message communication method, the control unit 430 sets time information in the timer unit 442 such that a power on signal is output to the power supply control unit 441 after a predetermined time has elapsed, and then outputs a power-off signal to the power supply control unit 441. When the power-off signal is input, the power supply control unit 441 outputs a switching signal for turning off the switch 440, and the switch 440 cuts off power supply to the communication block 400 such that the sensor slave unit 40 returns to a normal state. The timer unit 442 of the sensor slave unit 40 is driven by the battery at all times, the power-on signal is output from the timer unit 442 to the power supply control unit 441 after the predetermined time has elapsed, power is supplied to the communication block 400, and the control unit 430 starts an operation of notifying the master unit 20 of a window state again.
Next, a description will be made of an operation in which the master unit 20 notifies the phone slave unit 30 that a CLMS message including the window state sent from the sensor slave unit 40 has been received. The notification from the master unit 20 to the phone slave unit 30 uses a PT message of the control signal which is transmitted with the control slot in the same manner as the notification of the outside line reception message. That is, when the CLMS message to notify of the window state is received from the sensor slave unit 40, the control unit 230 of the master unit 20 writes the PT message (hereinafter, referred to as a window state notification message) to notify of the window state of the sensor slave unit 40 in the PT message buffer of the first control data multiplex unit 210. This window state notification message is output to the wireless unit 201 at the timing when the frame number is of 16 multiples and is transmitted.
On the other hand, the phone slave unit 30 performs the reception at the timing when the frame number is of 16 multiples in the idle state, and the window state notification message is received by the wireless unit 301 in the same manner as the outside line reception message and is output to the frame processing unit 202. The frame processing unit 202 extracts data received from the region of the control data 1 illustrated in FIG. 6, that is, the window state notification message, and outputs the extracted window state notification message to the control unit 330. When the window state notification message is received, the control unit 330 controls the display unit 323 so as to display the window state change by making a ringer sound rumble or the like. In addition, the window state notification message is transmitted with a portion of the control signal as the PT message and thus can also be received by the sensor slave unit 40 which waits for a reception response to be received. In a case where the window state notification message is received before a reception response is received from the master unit 20, the sensor slave unit 40 may perform control so as to cut off power supplied to the communication block 400 and to return to a normal state in the same manner as a case of receiving the reception response.
Next, the operation for the sensor slave unit 40 to notify the master unit 20 of the power supply voltage state will be described. The timer unit 442 that is always driven by the battery of the sensor slave unit 40 operates to output a power-on signal to the power supply control unit 441 for a predetermined cycle (sleeping release cycle), separately from the timer control when it is not possible to notify of the above-described window state change. If the power-on signal is output to the power supply control unit 441, the power is supplied to the communication block 400 and the control unit 430 starts its operation.
If it is recognized that the factor of the power-on is the timer expiration in the cycle of timer unit 442, the control unit 430 of the sensor slave unit 40 performs detection of the power supply voltage by starting the battery voltage detection unit 423. Then, the control unit 430 operates to notify the master unit 20 of the information that indicates the detected battery voltage by a CLMS message. That is, in the same manner as the CLMS message for window state notification, the control unit 430 starts the master unit search, supplements the control signal, and transmits the CLMS message to notify of the battery voltage state. After transmitting the CLMS message to notify of the battery voltage state, the control unit 430 outputs the power-off signal to the power supply control unit 441 without waiting for the response from the master unit 20. If the power-off signal is input, the power supply control unit 441 outputs a switching signal to turn off the switch 440, and depending on this, the switch 440 interrupts the power supply to the communication block 400. Accordingly, the sensor slave unit 40 is returned to the normal state.
If the CLMS message to notify of the battery voltage state is sent from the sensor slave unit, the master unit 20 updates the battery state of the sensor slave unit that is displayed on the display unit 223, and displays the latest battery voltage information on the display unit 223. Further, if the battery voltage state notification is not received from the sensor slave unit 40 for a predetermined time period, the control unit 230 of the master unit controls the display unit 223 to display the abnormal state of the sensor slave unit 40.
In the case of notifying of the battery voltage state, if the CLMS message is once transmitted, the sensor slave unit 40 interrupts the power supply without confirming whether or not the CLMS message is received in the master unit 20, and does not perform the retransmission operation to suppress the power consumption. Since the battery voltage state notification has lower emergency than the window state notification, the sensor slave 40 may send the latest battery voltage state notification based on the result of detection when it starts by the timer expiration in the cycle of the timer unit 442 even if the reception is unable to be confirmed, and this is more effective than a case where the power consumption is increased by the retransmission operation. In the case of sending the information by the CLMS message as described above, whether or not to retransmit the information is determined depending on the emergency and importance of the information, and thus unnecessary power consumption is suppressed to lengthen the lifespan of the battery.
Next, the operation for the sensor slave unit 40 to notify the master unit 20 of both the window state and the power supply voltage state will be described. If the power-on signal is output from the sensor unit 443 to the power supply control unit 441, the sensor slave unit 40 starts the battery voltage detection unit 423 to detect the power supply voltage. Then, in the same manner as the case illustrated in FIGS. 15 and 16, the sensor slave unit 40 operates to notify the master unit 20 of information about the window state and the power supply voltage by putting the information about the window state and the power supply voltage in one CLMS message that is transmitted with one slot. If it is unable to be confirmed that the notification by the CLMS message has succeeded, that is, if the sensor slave unit 40 is unable to receive the reception response that occurs when the master unit 20 receives the CLMS message to notify of the information about the window state or the power supply voltage, the sensor slave 40, in the same manner as the case illustrated in FIG. 17, establishes the wireless link with the master unit 20 in the connection message communication method, and operates to notify the master unit 20 of the information that is the same as that transmitted last time among the established wireless link, that is, the information about the window state and the power supply voltage. In the case of notifying of only the information about the power supply voltage, although the notification is unable to be performed again by the connection message communication method, the notification can be performed again by changing to the connection message communication method in the case where it is unable to be confirmed that the notification by the CLMS message has succeeded when it is intended to simultaneously notify of the information about the window state and the power supply voltage.
Although, in the above description, a wireless phone and a wireless sensor for notifying of door opening/closing have been exemplified as the embodiments of the present invention, the present invention is not limited thereto, and is applicable to devices of notifying a control station of a variety of events using wireless communication, such as a variety of notification devices which are dependent on the control station and are operated, emergency buttons, nurse call, and devices (for example, smart grids or energy management systems) monitoring operation states or power consumption of various electrical apparatuses.
The present application is based upon and claims the benefit of priority of Japanese Patent Application No. 2011-241901 filed on Nov. 4, 2011, the contents of which are incorporated herein by reference in its entirety.
The present invention is useful, for example, for a wireless communication system and a wireless communication apparatus which can be applied to a wireless sensor, and can reduce the power consumption of a tributary station.

## Claims

1. A wireless communication system comprising a control station and a tributary station that perform a time division multiplex communication, wherein
the tributary station includes:
a first wireless unit that performs a wireless communication with the control station;
an event processing unit that notifies of an event occurrence based on an occurrence of an event; and
a first control unit that controls a communication in synchronization with the control station by detecting a control signal from the control station,
the control station includes:
a second wireless unit that performs the wireless communication with the tributary station; and
a second control unit that transmits the control signal in a predetermined cycle in a slot with a frequency, and controls a reception of a message by which the message is received in a slot which has a predetermined position relationship with the slot in which the control signal is transmitted with a reception frequency determined based on the frequency with which the control signal has been transmitted, wherein
when received a notification of the event occurrence, the first control unit of the tributary station starts a search operation to acquire the control signal transmitted by the control station, and when received the control signal in a slot, the first control unit transmits the message according to the event occurrence using a slot that has a predetermined position relationship with the slot in which the control signal is received.

2. The wireless communication system according to claim 1, wherein
the tributary station transmits a message that is concluded in a period of one slot when received the control signal at the event occurrence,
the control station notifies the tributary station of a message reception by the control signal when received the message that is concluded in the period of the one slot from the tributary station, and
the tributary station stops the wireless communication when received a notification of the message reception from the control station.

3. The wireless communication system according to claim 1, wherein
the tributary station transmits a message that is concluded in a period of one slot multiple times at predetermined intervals at the event occurrence.

4. The wireless communication system according to claim 2, wherein
when there is no notification of the message reception from the control station in a predetermined time after the message according to the event occurrence is transmitted, the first control unit of the tributary station changes whether or not to perform data communication by establishing an interactive data link afterwards depending on an importance of the event occurrence.

5. The wireless communication system according to claim 1, wherein
when received the control signal at the event occurrence, the first control unit of the tributary station transmits a message that is concluded in a period of one slot using a frequency that corresponds to the reception frequency of the control signal.

6. The wireless communication system according to claim 1, wherein
the control station notifies of information for starting interactive communication by the control signal,
when the event occurs, the tributary station continues reception of the control signal and transmits a message that is concluded in a period of one slot multiple times at predetermined intervals, and performs message transmission and reception by establishing an interactive data link with the control station using a slot and a frequency in which bidirectional communication is possible,
when received the message that is concluded in the period of the one slot from the tributary station, the control station notifies the tributary station of the reception of the message by the control signal, and
when there is a notification of the message reception from the control station, the tributary station stops the wireless communication.

7. The wireless communication system according to claim 1, wherein
the event processing unit of the tributary station notifies the first control unit of an event occurrence of plural kinds of events, and the first control unit of the tributary station determines, according to an importance of the events, whether to notify the control station of a message according to the event occurrence only by a message that is concluded in a period of one slot or to notify the control station of the message according to the event occurrence both by the message that is concluded in the period of the one slot and by establishing an interactive data link.

8. The wireless communication system according to claim 1, wherein
the tributary station further includes a voltage detection unit that measures a power supply voltage and a timer unit that measures a time period that is based on a set value,
the event processing unit notifies the first control unit of the event occurrence when the tinier unit detects timer expiration, and
when received a notification of the event of the timer expiration of the timer unit, the first control unit causes the voltage detection unit to detect the power supply voltage, and operates to notify the control station of information on the power supply voltage at the predetermined intervals by a message that is concluded in a period of one slot.

9. The wireless communication system according to claim 1, wherein
the tributary station further includes a sensor unit that detects a state change,
the event processing unit notifies the first control unit of the event occurrence when the sensor unit detects the state change, and
when received a notification of the event that notifies of the state change of the sensor unit, the first control unit notifies the control station of the state change at predetermined intervals by a message that is concluded in a period of one slot and then operates to notify the control station of the state change by establishing an interactive data link.

10. The wireless communication system according to claim 1, wherein
the tributary station further includes a sensor unit that detects a state change, a voltage detection unit that measures a power supply voltage, and a timer unit that measures a time period that is based on a set value,
the event processing unit is configured to notify the first control unit of the event occurrence when the sensor unit detects the state change and notifies the first control unit of the event occurrence when the timer unit detects timer expiration, and
when received a notification of the event that notifies of the state change of the sensor unit, the first control unit starts a search operation to acquire the control signal that is transmitted by the control station, and when received the control signal, the first control unit transmits a message that is concluded in a period of one slot which includes information that indicates the state change and information on the power supply voltage, and
if there is not notification of the reception of the message from the control station, the first control unit operates to perform data communication by establishing the interactive data link.

11. The wireless communication system according to claim 1, wherein
the tributary station further includes a switch that interrupts a power supply and a power supply control unit that control the switch, and the tributary station supplies a power to the first wireless unit and the first control unit through the switch,
the power supply control unit changes the switch to interrupt the power of the first wireless unit and the first control unit when the wireless communication is unnecessary,
the event processing unit notifies the power supply control unit of the event occurrence,
the power supply control unit changes the switch so as to supply the power to the first wireless unit and the first control unit when received a notification of the event occurrence, and
the first control unit starts through the power supply thereto, recognizes the event occurrence, and starts the control.

12. A wireless communication system comprising a control station and a tributary station that perform a time division multiplex communication, wherein
the tributary station includes:
a first wireless unit that performs a wireless communication with the control station;
an event processing unit that notifies of an event occurrence based on an occurrence of an event;
a sensor unit that detects a state change;
a voltage detection unit that measures a power supply voltage;
a timer unit that measures a time period; and
a first control unit that controls a communication in synchronization with the control station by detecting a control signal from the control station, wherein
the event processing unit is configured to notify the first control unit of the event occurrence when the sensor unit detects the state change and notifies the first control unit of the event occurrence when the timer unit detects timer expiration,
when received a notification of an event that notifies of the state change of the sensor unit, the first control unit starts a search operation to acquire the control signal that is transmitted by the control station, and when received the control signal, the first control unit transmits a message that is concluded in a period of one slot which includes information that indicates the state change, and when there is no notification of a reception of the message from the control station, the first control unit operates to perform data communication by establishing an interactive data link, and
when the voltage detection unit detect the power supply voltage and when the first control unit has received the control signal that is transmitted by the control station, the first control unit transmits the message that is concluded in the period of the one slot which includes information that indicates a voltage state of a battery and a power-off signal is output to the first control unit without waiting for a response from the control station.

13. The wireless communication system according to claim 12, wherein
when received a notification of the event that notifies of the state change of the sensor unit, the first control unit starts a search operation to acquire the control signal that is transmitted by the control station, and when received the control signal, the first control unit transmits the message that is concluded in the period of the one slot which includes the information that indicates the state change and the information on the power supply voltage, and when there is no notification of the reception of the message from the control station, the first control unit operates to perform data communication by establishing an interactive data link.

14. A wireless communication apparatus that operates as a tributary station in a wireless communication system including a control station and the tributary station that perform a time division multiplex communication, the wireless communication apparatus comprising:
a first wireless unit that performs a wireless communication with the control station;
an event processing unit that notifies of an event occurrence based on an occurrence of an event; and
a first control unit that controls a communication in synchronization with the control station by detecting a control signal from the control station, wherein
when received a notification of the event occurrence, the first control unit starts a search operation to acquire the control signal transmitted by the control station, and
when received the control signal in a slot, the first control unit transmits a message according to the event occurrence using a slot that has a predetermined position relationship with the slot in which the control signal is received.

15. The wireless communication apparatus according to claim 14, wherein
when received the control signal at the event occurrence, the first control unit transmits a message that is concluded in a period of one slot, and
when received a notification of a message reception of the message from the control station, the first control unit stops the wireless communication.

16. The wireless communication apparatus according to claim 14, wherein
the first control unit transmits a message that is concluded in a period of one slot multiple times at predetermined intervals at the event occurrence.

17. The wireless communication apparatus according to claim 14, wherein
when not received confirmation information from the control station in a predetermined time after the message according to the event occurrence is transmitted, the first control unit changes whether or not to perform data communication by establishing an interactive data link afterwards depending on importance of the event occurrence.