The present invention relates to a communication apparatus and a communication system that are applied to remote control of an electronic device, for example, by a wireless communication system.
When a home electronic device is remotely controlled by a wireless communication system using a 2.4 GHz ISM (Industrial, Scientific and Medical use) band, the influence of obstructions becomes smaller and the coverage range becomes larger than by an infrared communication system. In addition to such a wireless communication system, this band has been also assigned to microwave heating. Thus, there is a problem that unnecessary radio waves (hereinafter referred to as interference waves) radiated from a microwave oven that performs microwave heating adversely interfere with the home wireless communication system. In the microwave oven, a magnetron generates microwaves of a 2.4 GHz to 2.5 GHz frequency band. In addition, there are two magnetron driving types, a transformer type and an inverter type.
In the transformer type, a commercial power supply voltage of, for example, 50 Hz is raised by a transformer and the raised voltage is applied to the magnetron. Thus, in one period T (20 ms) of a sine wave shown in
A technique of compressing information data and transmitting the compressed information data in the foregoing non-operative region T1 or T2 taking into account of the fact that a microwave oven generates interference waves in synchronization with the period of a commercial power supply is described in patent document, “Japanese Patent Application Laid-Open No. HEI 11-112441”.
In addition, patent document, “Japanese Patent Application Laid-Open No. 2002-111603” describes a technology of which when a non-operative region has not been detected from a commercial power supply and an interference wave detecting section has detected a good environment in which there is no influence of interference waves, the frequency is hopped to another frequency and that when electromagnetic waves that a microwave oven had generated have been received as interference waves, the frequency of a control signal that serves to secure a communication connection state is changed to another frequency that the interference waves do not influence.
In the foregoing methods of the related art, since a frequency distribution of interference waves is not considered, the influence of interference waves is not sufficiently excluded. When the influence of interference waves to the transmission side is different from that to the reception side, their influences are not sufficiently reduced. For example, in a house, besides a microwave oven, there is another interference source such as a wireless LAN.
Thus, an object of the present invention is to provide a communication apparatus and a communication system that are capable of securely suppressing the influence of an interference source even if the influence of the interference source to the transmission side is different from that to the reception side.
To solve the foregoing problem, the present invention is a communication apparatus which is connected to an electronic device operating with a commercial power supply and which bidirectionally wirelessly communicates with another communication apparatus, the communication apparatus including receiving means for receiving data, period detecting means for detecting a period of the commercial power supply, and transmitting means for transmitting both a timing signal which represents the period of the commercial power supply detected by the period detecting means and acknowledge.
The present invention is a communication apparatus which bidirectionally wirelessly communicates with another communication apparatus connected to an electronic device which operates with a commercial power supply, the communication apparatus including detecting means for detecting an influence of interference waves, receiving means for receiving acknowledge from the other communication apparatus, and transmitting means for transmitting data and a request such that the receiving means receives acknowledge for the transmitted data at timing of which the influence of interference waves is low based on a timing signal which represents a period of the commercial power supply and a detection signal of the detecting means. The timing signal which represents a period of the commercial power supply is received from the other communication apparatus or obtained by the detecting means for detecting a period of the commercial power supply.
The present invention is a communication system composed of a first communication apparatus connected to an electronic device which operates with a commercial power supply and a second communication apparatus which bidirectionally wirelessly communicates with the first communication apparatus, wherein the first communication apparatus includes receiving means for receiving data from the second communication apparatus, period detecting means for detecting a period of the commercial power supply, and first transmitting means for transmitting a timing signal which represents a period of the commercial power supply detected by the period detecting means and acknowledge for the data which have been received, and wherein the second communication apparatus includes detecting means for detecting an influence of interference waves, receiving means for receiving the timing signal which represents the period of the commercial power supply and the acknowledge from the first communication apparatus, and second transmitting means for transmitting data and a request such that the receiving means receives the acknowledge for the transmitted data at timing of which the influence of interference waves is low based on the timing signal and a detection signal of the detecting means.
The first communication apparatus may transmit a beacon signal at the detected period of the commercial power supply.
The present invention is a communication system composed of a first communication apparatus connected to an electronic device which operates with a commercial power supply and a second communication apparatus which bidirectionally wirelessly communicates with the first communication apparatus, the first communication apparatus and the second communication apparatus communicating with each other through one of a plurality of channels whose frequencies are different, wherein the first communication apparatus includes receiving means for receiving data from the second communication apparatus, detecting means for detecting an influence of interference waves, and transmitting means for transmitting acknowledge for the data which have been received, and wherein the second communication apparatus includes transmitting means for transmitting a channel acknowledge request to the first communication apparatus through a channel which has been assigned, and channel assigning means for assigning a channel which interference waves do not largely influence detected by the detecting means such that the second transmitting means transmits data through the channel which has been assigned by determining whether or not acknowledge has been received through the channel which has been assigned.
The present invention is a communication system composed of a first communication apparatus connected to an electronic device which operates with a commercial power supply and a second communication apparatus which bidirectionally wirelessly communicates with the first communication apparatus, the first communication apparatus and the second communication apparatus communicating with each other through one of a plurality of channels whose frequencies are different, wherein the first communication apparatus includes receiving means for receiving data from the second communication apparatus, first detecting means for detecting an influence of interference waves, and transmitting means for transmitting acknowledge for the data which have been received, and wherein the second communication apparatus includes second detecting means for detecting an influence of interference waves, transmitting means for transmitting data to the first communication apparatus through a channel which interference waves do not largely influence detected by the first detecting means, and receiving means for receiving the acknowledge from the second communication apparatus through the channel which interference waves do not largely influence detected by the second detecting means.
According to the present invention, timing of the period of the commercial power supply supplied to an electronic device on the device under control side is transmitted, for example, to a remote controlling communication apparatus. In addition, the remote controlling communication apparatus detects the influence of interference waves and transmits data on the basis of both the received timing and the detected influence of interference waves, data can be securely transmitted and received regardless of the type of the electronic device, the manufacture thereof, and so forth. In addition, since the influence of interference waves is checked for communication channels and a communication channel is assigned on the basis of the checked result, data can be securely transmitted and received through the assigned communication channel. Further, when a channel through which data are transmitted and a channel through which acknowledge is received are differently assigned, even if the influence of interference waves to the remote controlling device is different from that to the electronic device, data can be securely transmitted and received therebetween. The present invention can be applied to a remote control system.
Next, with reference to the accompanying drawings, an embodiment of the present invention will be described. This embodiment is applied to remotely control house electronic device. A communication apparatus (commander) that transmits remote control data (hereinafter referred to as commands) according to user's operations is referred to as the remote control device. A communication apparatus that receives transmitted commands and an electronic device that operates according to the received commands are generally referred to as the device under control.
Examples of the electronic device include AV devices such as a video recording/reproducing device, an audio recording/reproducing device, and a television receiver and home electric appliances such as a refrigerator. The remote control device is driven by a built-in power supply. The device under control is driven by a commercial power supply. The device under control has a detecting section that detects period information of the commercial power supply.
The remote control device and the device under control each have a transmitter and a receiver (that will be described later) such that they can wirelessly communicate with each other. As an exemplary wireless communication system, the physical layer of the IEEE (Institute of Electrical and Electronics Engineers) 802.15.4 standard can be used. The IEEE 802.15.4 standard is a short distance wireless network standard referred to as PAN (Personal Area Network) or W (Wireless) PAN. In this standard, the communication rate is in the range from several 10 kbps to several 100 kbps. In this standard, the communication coverage distance is in the range from several 10 meters to several 100 meters. In this invention, instead of the wireless system, another bidirectional wireless communication standard may be used. However, it is preferred to provide a function of detecting the influence of interference waves to radio channels used for communication.
An output signal of the spread modulator 2 is supplied to a multiplier 5 through a band pass filter 4. A local oscillation signal is supplied from a PLL local oscillator 6 to the multiplier 5. The multiplier 5 generates a transmission signal that has been up-converted into a 2.4 GHz frequency band. The transmission signal is supplied to an antenna 8 through an amplifier 7 and then transmitted from the antenna 8.
As communication channels, 16 channels of 2.405 GHz, 2.410 GHz, 2.415 GHz, . . . , and 2.480 GHz at intervals of 5 MHz have been assigned. In an embodiment, a plurality of channels, for example, three channels, that are unlikely to overlap with frequencies that are likely to be used in the wireless LAN are used from these 16 channels. Channels are assigned in such a manner that a local oscillation frequency that is output from the local oscillator 6 is selected according to a channel selection signal SL1.
The device under control has a power supply period detecting section 9 and transmits a detected signal that represents timing of the period of the commercial power supply to the remote control device. The remote control device has an input section, for example, keys, switches, buttons, a touch panel, and so forth. The remote control device transmits a command corresponding to an operation of the input section to the device under control. When the device under control has correctly received the command, the device under control transmits acknowledge ACK as a response signal to the remote control device.
The IF signal is supplied to an inverse spread section (spread demodulating section) 16 through an intermediate frequency amplifier 15. The inverse spread section 16 demodulates the IF signal by correlating the reception signal with a reference spread code that has occurred on the reception side. Unless timing of the reception signal matches timing of the reference spread code, a correct correlation value cannot be obtained. When starting communication, the reception side detects timing and stores the detected timing. To detect timing, a correlating device such as a matched filter is used.
A demodulation signal of the inverse spread section 16 is supplied to a QPSK demodulator 17 and demodulated according to the QPSK demodulation method. Reception data can be obtained from The QPSK demodulator 17. In case of the device under control, the reception data are commands that are used to control an electronic device 20. In case of the remote control device, the reception data are acknowledge ACK that is supplied to a communication control section (not shown).
The demodulation signal of the inverse spread section 16 and the output signal of the LNA 12 are supplied to a CCA (Clear Channel Assessment) section 18. The CCA section 18 determines whether or not an interference power from another system is large based on the received power and the quality of the demodulation signal. In other words, the CCA section 18 determines whether or not interference waves largely influence a channel that is being used. When the determined result denotes that interference waves largely influence the channel that is being used, the CCA section 18 measures interference powers of other channels and determines a channel that interference waves do not largely influence. The IEEE 802.15.4 standard defines functions of CCA and ED (Energy Detection).
The determined result of the CCA section 18 is supplied to a channel selection control section 19. The channel selection control section 19 generates a channel selection signal SL2 based on the determined result. The channel selection signal SL2 controls the local oscillator 14 to select a channel that interference waves do not largely influence. The CCA section 18 of the device under control regularly detects the influence of interference waves. In addition, since the remote control device operates with the built-in power supply, if the CCA section 18 regularly operates, the power consumption of the built-in power supply becomes large. Thus, when necessary, for example, when the remote control device transmits a command to the device under control, the remote control device operates the CCA section 18.
Each of the transmitter and the receiver has a control section (microcomputer) (not shown) for controlling the transmitter or the receiver to perform the transmission or reception operation. The channel selection control section 19 can be accomplished as a function of the control section.
With reference to
Further,
With reference to
In an embodiment, both the device under control 31 and the remote control device 41 have the function (CCA) of detecting the influence of interference waves. In the remote control device 41, period t2 of interference waves at the position where the remote control device 41 is provided is measured by the function of CCA. Period t2 is a period at which interference waves do not occur. When the remote control device 41 starts transmitting a predetermined command, at step S1, a transmission request for the period information is transmitted to the device under control 31. The device under control 31 which has received the transmission request transmits the period information (at step S11).
At step S2, the remote control device 41 which has received the period information determines whether period t2 of interference waves matches an integer multiple (for example, twice) of period t1 of the zero cross point of the commercial power supply. When their differences are in a predetermined tolerance range, the remote control device 41 determines that they match.
When the determined result at step S2 denotes that they match, the remote control device 41 requests the device under control 31 to transmit acknowledge ACK at period t2 (at step S3). At step S4, a command frame is transmitted. After t2 has elapsed, at step 5, the remaining command frame is transmitted.
When the device under control 31 has correctly received the command frame from the remote control device 41, the device under control 31 transmits acknowledge ACK to the remote control device 41. In other words, at step S12, the device under control 31 transmits acknowledge ACK to the remote control device 41 in response to the command frame transmitted at step S4 after t2 has elapsed. At step S13, the device under control 31 transmits acknowledge ACK to the remote control device 41 in response to the command frame transmitted at step S5 after t2 has elapsed. After the remote control device 41 has received acknowledge ACK, the remote control device 41 completes the transmission.
The number of command frames that the remote control device 41 transmits is not limited to 2. Instead, the number of command frames that the remote control device 41 transmits may be 1 or 3 or more. Whenever the remote control device 41 transmits a sequence of command frames corresponding to operations performed, for example, in several seconds, the foregoing process of preventing the influence of interference waves is performed.
When the determined result at step S2 denotes that the period of interference waves is not an integer multiple of t1, the remote control device 41 completes the process without transmitting a command frame. In this case, with sound, light, indication, or the like, the remote control device 41 warns the user that the remote control device 41 has failed to transmit a command frame. When the remote control device 41 has failed to transmit a command frame, the remote control device 41 may retransmit the command frame instead of completing the transmission of the command frame.
Instead, the remote control device 41 and the device under control 31 may communicate with each other only in the period of which interference waves do not occur on the basis of both the detected result of the device under control for the period in which interference waves do not occur at timing in synchronization with the commercial power supply and the detected result of the remote control device for the period in which the influence of interference waves is not large.
In the foregoing embodiment, since communication is performed using not only period information of the commercial power supply detected by the device under control side, but information about the influence of interference waves detected by the remote control device, the remote control device and the device under control can properly communicate with each other. Thus, the remote control device can securely remote-control the device under control. In other words, since the remote control device is isolated from the commercial power supply, the period information of the commercial power supply cannot be detected. In contrast, although the device under control side can detect interference waves of the wireless system, the device under control can more easily and securely detect interference waves of the commercial power supply than those of the wireless system. Thus, in an embodiment, to improve the reliability, the remote control device and the device under control transmit and receive a command and acknowledge, respectively, in a region that interference waves do not influence they have determined. In addition, at the remote control device side, detection of interference waves causes consumption of the power supply. However, remote control data are transmitted and received in a short period and so are interference waves (8 ms or less for example from an microwave oven). Thus, the power consumption in the case of an embodiment is not larger than that in the case that since detection of interference waves is not performed, a command is failed to be transmitted and received and it is re-transmitted and re-received.
Next, with reference to
At step S21, the remote control device transmits an acknowledge request for A ch (channel) to the device under control. At step S22, the remote control device determines whether or not it has received acknowledge ACK from the device under control through A ch. For the determination process, a predetermined period is assigned.
When the remote control device has received acknowledge ACK in the predetermined period, the remote control device determines that A ch is a channel that can be currently used. At step S23, A ch is assigned, and at step S24, a command frame is transmitted through A ch. At step S22, when the remote control device has determined that it has not received acknowledge ACK from the device under control in the predetermined period, at step S25, the remote control device transmits an acknowledge request for another channel, B ch (channel) to the device under control.
At step S26, the remote control device determines whether or not it has received acknowledge ACK from the device under control through B ch in the predetermined period. When the remote control device has received acknowledge ACK in the predetermined period, the remote control device determines that B ch is a channel that can be currently used. At step S27, B ch is assigned, and at step S28, a command frame is transmitted through B ch. At step S26, when the remote control device has determined that it has not received acknowledge ACK in the predetermined period, at step S29, a termination process is performed. The termination process is a process of repeating the channel assignment process, a process of warning the user that there is no good communication channel, or the like. When there are three or more channels that the remote control device can select and the determined result at step S26 denotes that the remote control device has not received acknowledge ACK, the remote control device performs the same process for another channel. Whenever the remote control device has transmitted a sequence of command frames corresponding to operations performed, for example, in several seconds, the remote control device performs the process of preventing the influence of interference waves against a communication channel.
The foregoing method of assigning a communication channel is accomplished in combinations with the foregoing method of preventing the influence of interference waves on the time base of the foregoing embodiment. In other words, after a communication channel is assigned according to the foregoing method, a command frame is transmitted according to the method of the foregoing embodiment. However, as shown in
With reference to
At step S41, when the device under control 31 has correctly received the command frame through A ch, at step S42, the device under control 31 determines whether or not it has received a transmission request for acknowledge ACK using A ch. When the determined result denotes that the device under control 31 has received the transmission request, at step S44, an acknowledge ACK frame is transmitted to complete transmission and reception of the command frame through A ch.
During processing of the remote control device 41, at step S32, when the remote control device 41 has determined that interference waves largely influence A ch that has been assigned the flow advances to step S33. At step S33, the remote control device 41 checks the reception state of B ch. At step S34, the CCA function of the remote control device 41 determines whether or not interference waves largely influence B ch. When the determined result at step S34 denotes that interference waves do not largely influence B ch, at step S35, the remote control device 41 transmits a request for acknowledge ACK using B ch to the device under control 31 through A ch. At step S36, a command frame is transmitted through A ch. Since the device under control 31 has assigned A ch as a channel that interference waves do not largely influence, the device under control 31 can receive the request and command frame.
At step S41, when the device under control 31 has received the command frame through A ch, at step S42, the device under control 31 determines whether the remote control device 41 has transmitted a transmission request for acknowledge ACK through A ch. Since the remote control device 41 has transmitted a command frame which request to transmit acknowledge ACK through B ch at step S35, the determined result at step S42 is No.
In this case, at step S43, the device under control 31 assigns B ch as the transmission channel while the device under control 31 has assigned A ch as the reception channel. At step S44, the device under control 31 transmits acknowledge ACK through B ch. Since the remote control device 41 can receive acknowledge ACK, transmission and reception of the command frame is completed.
In the foregoing embodiment of the present invention, whenever the remote control device has transmitted a sequence of command frames corresponding to operations performed, for example, in several seconds, the remote control device performs the process of preventing the influence of interference waves against a communication channel. In another embodiment, although both the device under control 31 and the remote control device 41 have the detecting section that detects the influence of interference waves, commands can be more securely transmitted than in the process of transmitting and receiving the detected results of the detecting sections and assigning channels according to the detected results.
The present invention is not limited to the foregoing embodiments but various kinds of modifications based on the technical ideas of the invention are possible. For example, the wireless communication method may be based on other than the IEEE 802.15.4 standard. In addition, the influence of interference waves may be determined according to a bit error rate of reception data.
Furthermore, the device under control may regularly generate a beacon signal at timing of period information, in particular, a zero cross point of a power supply signal, or a period in which no interference waves occur detected from the power supply. The remote control device has an internal real time clock, receives a beacon signal, and stores the zero cross point and timing of the period in which no interference waves occur detected from the power supply. When the remote control device has failed to transmit data due to the influence of interference waves, the remote control device generates timing to transmit a command frame based on both timing information that the remote control device has stored and the period in which no interference waves occur in the power supply. When a predetermined period has elapsed after the remote control device has transmitted a command frame, for example, the power supply of the device under control has been turned on, the remote control device receives a beacon signal and corrects the internal timing.
Hereinafter, a method of using a beacon signal in the case that interference waves largely influence only a channel that the remote control device side uses will be exemplified.
In the processes 1, 2, and 3, interference waves influence only the remote control device side. Of cause, interference waves may influence only the device under control. The remote control device side may have a function of detecting period information of the commercial power supply. In this case, it is not necessary to receive period information of the commercial power supply from the electronic device side. Only the remote control device can generate proper timing. To allow the remote control device side to detect the period of the commercial power supply, a photo-electrical converter such as a photo detector that detects for example light of a fluorescent lamp may be disposed in the remote control device.
Number | Date | Country | Kind |
---|---|---|---|
2006-258609 | Sep 2007 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP07/69124 | 9/21/2007 | WO | 00 | 3/18/2009 |