1. Field of the Invention
The present invention relates to a wireless communication apparatus which conducts TDMA (Time Division Multiple Access)-based communication.
2. Description of the Background Art
In wireless communication, communication quality is significantly affected by an electric field intensity of a transmission electric waver a distance between devices and an interference electric wave as a noise.
As a measure against an interference electric wave, for example, JP-2000-261449A discloses an interference avoidance method in which a channel under communication is switched when interference is detected. Specifically, in response to a notification from a wireless terminal which has detected any interference, a master station first executes channel switching for all wireless terminals and informs all the wireless terminals of a switching start timing. Then, all the wireless terminals which have received this information continue to conduct communication by generating a random number on the basis of a random number radix from a master apparatus and decide a channel switching destination channel on the basis of the generated random number.
However, the interference avoidance method disclosed in JP-2000-261449A addresses only switching channel for interference avoidance. For example, assuming a frequency band being used by a wireless communication device is a band of 2.4 GHz, if a microwave oven to generate noise in the same band of 2.4 GHz is operating near the wireless communication device, an interference electric wave is produced in all channels of the band of 2.4 GHz, which may result in impossibility of communication even in channel switching.
It is therefore an object of the present invention to provide a wireless communication apparatus with high communication quality.
A wireless communication apparatus of the present invention includes a wireless transceiver which conducts communication with another wireless communication apparatus using a channel belonging to a first band of a plurality of frequency bands; and a switching unit which switches the channel being used by the wireless transceiver to a different channel of a second band of the plurality of frequency bands other than the first band.
The present invention provides a wireless communication apparatus with high communication quality since it is possible to maintain good communication by switching a channel being used to a different channel of the frequency band other than that to which the channel being used belongs.
A wireless communication apparatus according to a first embodiment will be described by way of example of a cordless telephone system with reference to the drawings.
Next, a configuration of the master apparatus 20 and slave apparatuses 30 will be described in detail with reference to
In
The antennas 11a to 11c for bands 1 to 3 are antennas having a characteristic suitable for transmission reception of electric waves of respective frequency bands. For wireless communication with the slave apparatus 30, the wireless transceiver 12 selectively switches one frequency band of bands 1 to 3 and conducts wireless communication with the slave apparatus 30.
The communication controller 13 is a controller to direct a channel or slot used in wireless communication with the slave apparatus 30 to the wireless transceiver 12. The communication controller 13 switches one channel to another channel as well as for slot. Hereinafter, a two-dimensional matrix consisting of channels on a frequency axis and slots on a time axis is called “channel/slot.” Reception electric field intensity is measured for each channel/slot and is recorded as shown in
The communication controller 13 includes a transmission control data packet processing unit 13a, a transmission voice data packet processing unit 13b, a transmission packet preparing unit 13c, a reception packet analyzing unit 13d, a reception control data packet processing unit 13e and a reception voice data packet processing unit 13f. In addition, the communication controller 13 includes a reception electric field intensity data processing unit 13g, an error count processing unit 13h, a switching determining unit 13i, a channel/slot selecting unit 13j and a channel/slot switching unit 13k.
The transmission control data packet processing unit 13a adds CRC which is an error detection code generated for communication control data. The transmission voice data packet processing unit 13b adds CRC generated for voice data.
The transmission packet preparing unit 13c combines communication control data generated in the transmission control data packet processing unit 13a and the voice data generated in the transmission voice data packet processing unit 13b to generate packets to be transmitted by the wireless transceiver 12.
The reception packet analyzing unit 13d analyzes the packets received through the wireless transceiver 12 and separates the received packets into the control data and the voice data.
The reception control data packet processing unit 13e processes the communication control data and detects a reception error by the CRC added for the communication control data. The reception voice data packet processing unit 13f processes the voice data and detects a reception error by the CRC added for the voice data.
The reception electric field intensity data processing unit 13g measures electric field intensity of each channel in each frequency band and stores it as reception electric field intensity data in a memory 13n. In addition, the reception electric field intensity data processing unit 13g has a function of determining whether or not slots are good based on the stored electric field intensity and totaling the number of good slots to set slot priority. The error count processing unit 13h counts up an error counter when a reception error occurs.
The switching determining unit 13i determines whether or not there is a need to switch to a different slot of the same channel under current communication or another slot of a different channel. Upon determining that there is a need of switching due to frequent occurrence of reception errors, the switching determining unit 13i sets an interference detection flag indicating that interference is detected or a badness detection flag indicating that a reception condition is bad, depending on the content of the determination. The interference detection flag and the badness detection flag are stored in a memory 13m within the switching determining unit 13i. In addition, the switching determining unit 13i includes a consecutive frame error counter 13p to be counted up if an error consecutively occurs in a plurality of frames. The consecutive frame error counter 13p is managed for each slot.
If the switching determining unit 13i determines that there is a need of switching, the channel/slot selecting unit 13j selects a slot of a channel of a switching destination as “channel/slot” based on the reception electric field intensity data measured by the reception electric field intensity data processing unit 13g.
The channel/slot switching unit 13k instructs the wireless transceiver 12 to switch a channel/slot based on the selected channel/slot.
The voice processing unit 21 decodes the voice data from the communication controller 13 by means of a speech decoder 21a and outputs the decoded voice data to the telephone line L through a line output unit 21b, or codes a signal input from the telephone line L through a line input unit 21c into voice data by means of a speech encoder 21d and outputs the voice data to the communication controller 13.
It has been illustrated in this embodiment that the master apparatus 20 is the cordless telephone system 10 connected to the telephone line L, and alternatively, the master apparatus 20 may be an IP telephone connected to Internet.
Next, the slave apparatus 30 will be described. While a voice input output unit for the master apparatus 20 shown in
In
Operation of the above-configured cordless telephone system according to the embodiment of the present invention will be described with reference to
A control operation is performed for each reception slot of these slots in the master apparatus 20 and the slave apparatus 30, as shown in
In
Next, at S1030, the communication controller 13 determines whether or not the slot at that time is a reception slot for data communication. That is, in case of the master apparatus 20, it is determined whether or not the slot at that time is a slot 0 to 5 shown in
At S1040, the reception electric field intensity data processing unit 13g determines whether or not the slot at that time is a reception slot for electric field intensity measurement. If it is determined that the slot at that time is not a reception slot for electric field intensity measurement, the process is ended. If it is determined at S1040 that the slot at that time is a reception slot for electric field intensity measurement, at S1050, the reception electric field intensity data processing unit 13g executes a sequence of good channel information storage.
Here, the sequence of good channel information storage will be described with reference to
In the sequence of good channel information storage, reception electric field intensity of a predetermined slot is first measured at S210, as shown in
This channel/slot reception electric field intensity map is a table storing the measured electric field intensity as reception electric field intensity data for each slot in association with a channel number allocated for each frequency band. The electric field intensity measured at S210 is stored in a corresponding location in the channel/slot reception electric field intensity map.
The example of
At S220, the reception electric field intensity data processing unit 13g determines whether or not the measured electric field intensity is lower than a predetermined value. If it is determined that the measured electric field intensity is lower than a predetermined value, it may mean that there is no or little interference electric wave. Then, at S230, a marking is made which indicates that corresponding channel/slots are very good.
The marking indicating the goodness at S230 is stored as a good channel/slot map shown in
If it is determined at S220 of
At S250 of
When the sequence of good channel information storage is ended, a sequence of good frequency band information storage is executed at S1060 of
In the sequence of good frequency band information storage shown in
At S320, the reception electric field intensity data processing unit 13g acquires data from the good channel/slot map. At S330, the reception electric field intensity data processing unit 13g sums up the number of markings indicating goodness for each frequency band based on data from the good channel/slot map, and calculates good channel/slot priority information based on a result of the summing up.
At S340, the reception electric field intensity data processing unit 13g sets frequency band priority based on the calculated good channel/slot priority information in such a manner that the frequency band priority becomes higher in an order of increasing in the total number of good channel/slots. A band with higher priority information is more preferentially used. In the example of
In addition, in the examples of
On the other hand, at S310, if it is determined that there is a setting that the determination is not made based on the total number of good channel/slots, the process proceeds to S350.
At S350, the reception electric field intensity data processing unit 13g acquires data from the error channel/slot map. At S360, it performs a totaling operation for each frequency band based on each error counter of the error channel/slot map and calculates good channel/slot priority information by the error counter. In the example of
At S370, the reception electric field intensity data processing unit 13g sets frequency band priority based on the calculated good channel/slot priority information in such a manner that the frequency band priority becomes higher in an order of decreasing in the total number of good channel/slots. In other words, in the example of
In this manner, when priority is set for each frequency band in the sequence of good frequency band information storage, at S1070 of
In case of the master apparatus 20, if it is determined at S1030 that slots used are reception slots under data communication, which are slots 1 and 2 shown in
In the sequence of reception level badness determination, first, at S410, it is determined whether or not a setting indicating that a determination is made based on a reception level is valid. If it is determined at S410 that the setting is invalid, since it means that a process according to the sequence of reception level badness determination is not performed, this process is ended.
If it is determined at S410 that the setting is valid, at S420, it is determined whether or not electric field intensity of the reception slots for data communication is less than a predetermined value. This reception electric field intensity is input to the switching determining unit 13i through the reception electric field intensity data processing unit 13g.
If it is determined at S420 that the electric field intensity is less than the predetermined value, since it may mean that the master apparatus 20 is separated from the slave apparatus 30, a badness detection flag is effectively set at S430, and then the process is ended.
In this manner, when the sequence of reception level badness determination is ended, a sequence of error count is executed at S1090 of
Next, the sequence of error count will be described with reference to
In the sequence of error count shown in
If it is determined at S510 that the reception error is not generated, the process is ended. If it is determined at S510 that the reception error is generated, at S520, a corresponding error counter of the error channel/slot map shown in
In this manner, as each error counter of the error channel/slot map is counted up when the reception error or the like is generated, priority allocated for each frequency band is lowered in the sequence of good frequency band information storage (see
The error counter is counted down in all channel/slots whenever a predetermined period of time elapses. That is, if a predetermined period of time elapses at S1010 of
At S530 of
In this manner, when the sequence of error count process is ended, at S1100 of
Next, the sequence of error badness determination will be described with reference to
In
Next, at S620, the switching determining unit 13i acquires a value of the consecutive frame error counter 13p. The consecutive frame error counter 13p provided in the switching determining unit 13i is managed every slot and is a counter continuing to count up when an error is consecutively generated in a plurality of frames. For example, when a reception error such as a CRC error or a synchronization error is generated in any slot, this counter counts up by information from the error count processing unit 13h.
For example, as shown in
Next, at S630, the switching determining unit 13i determines whether or not an error rate is high or a value of the consecutive frame error counter 13p is a consecutive frame error exceeding a predetermined value. A high error rate means that the error rate calculated at S610 is equal to or more than a predetermined value and a reception error is frequently generated in slots of this channel. In addition, since the value of the consecutive frame error counter 13p acquired at S620 is counted up (+1) whenever a reception error is generated, for example, when a reception error is consecutively generated in five frames, the value of the consecutive frame error counter 13p becomes 5. Accordingly, if a reception error is generated in slots consecutive by five frames, the predetermined value is set to 4 with the reception error as the consecutive frame error.
If it is determined at S630 that the error rate is less than a predetermined value or the value of the consecutive frame error counter 13p is equal to or less than a predetermined value, the process is ended.
If it is determined at S630 that the error rate is high or the value of the consecutive frame error counter 13p exceeds the predetermined value, since it means that corresponding channel/slots are bad, at S640, a badness detection flag is made valid, and then the process is ended.
In this manner, when the sequence of error badness determination is ended, at S1110 of
Hereinafter, a case where the badness detection flag or the interference detection flag is valid will be described. If it is determined at S1110 of
First, at S1120, it is determined whether or not the channel/slot switching sequence flag is 1. At S1130, it is determined whether or not the channel/slot switching sequence flag is 2. At S1140, it is determined whether or not the channel/slot switching sequence flag is 3. At S1150, it is determined whether or not the channel/slot switching sequence flag is 4. If the channel/slot switching sequence flag is none of 1 to 4, the process proceeds to S1160.
First, if it is determined at S1120 that the channel/slot switching sequence flag is 1, at S1170, a channel/slot switching sequence A is executed. In the channel/slot switching sequence A, at S710 of
If it is determined at S710 that a good channel/slot is present, at S720, a channel/slot having the lowest reception electric field intensity in the channel/slot reception electric field intensity map (see
Upon receiving the best channel/slot, at S730, the channel/slot switching unit 13k instructs the wireless transceiver 12 to switch between the best channel/slot as a channel/slot of a switching destination and the slots detected as bad channel/slots (slots set at S430, S540 and S640). In such a channel/slot switching sequence A, a bad channel/slot is switched to the channel/slot having the lowest reception electric field intensity.
In this manner, even in case where an interference electric wave as a noise interferes with the same channel or interferes with all channels of the same frequency band, good communication can be maintained by switching to a different channel/slot of the same or different frequency band based on the channel/slot reception electric field intensity map. In addition, in this embodiment, by switching in unit of slot, not in the unit of channel, many candidates of the switching destination can be secured even when the number of channels allocated in a frequency band is small, thereby allowing a proper switching destination to be selected.
Next, a case where the channel/slot switching sequence flag is 2 will be described. If it is determined at S1130 of
If it is determined that no good channel/slot is present in a frequency band other than the current use band, it is determined at S750 whether or not a good channel/slot is present in the same frequency band as the current use band in the good channel/slot map.
If it is determined at S750 that no good channel/slot is present in the same frequency band as the current use band, since it means that a channel of a switching destination can not be selected, the process is ended. If it is determined at S750 that a good channel/slot is present, at S760, a channel/slot having the lowest reception electric field intensity in the current use band is acquired as the best channel/slot from the channel/slot reception electric field intensity map (see
In this manner, even when a bad channel/slot can not be switched to a different frequency band, by switching to a different channel or slot of the same frequency band, the probability of avoiding an interference electric wave can be increased.
If it is determined at S740 that a good channel/slot is present in a frequency band other than the current use band, at S780, a channel/slot having the lowest reception electric field intensity of good channel/slots other than the current use band is acquired from the channel/slot reception electric field intensity map. If the best channel/slot in a different band can be acquired, at S770, the best channel/slot as a channel/slot of a switching destination is switched with the slots detected as bad channel/slots.
In this manner, in the channel/slot switching sequence B, by first determining at S740 whether or not a good channel/slot is present in a frequency band different from the use band, the frequency band different from the use band can be preferentially set as a channel/slot of a switching destination, thereby avoiding an interference electric wave interfering in the entire use band. Accordingly, it is possible to reliably maintain good communication.
Next, a case where the channel/slot switching sequence flag is 3 will be described. If it is determined at S1140 of
If it is determined at S780 that a good channel/slot is present, at S790, good channel/slot priority information being calculated for each band is acquired as shown in
The priority in this case may be an order set by one of good channel/slot priority information calculated based on a marking indicating goodness from the good channel/slot map or good channel/slot priority information calculated based on an error counter from the good channel/slot map.
Upon receiving the best channel/slot, at S810, the channel/slot switching unit 13k instructs the wireless transceiver 12 to switch between the best channel/slot as a channel/slot of a switching destination and the slots detected as bad channel/slots.
In this manner, if conditions of different channels or slots in the same frequency band are not good overall although a switching destination is a good channel/slot, communication may be affected by an interference electric wave. Accordingly, by selecting channels of the switching destination in order from a frequency band having more channels with higher goodness, it is possible to select a frequency band allowing stable communication to continue.
In particular, with priority by the good channel/slot priority information calculated based on a marking indicating goodness, since a degree of goodness can be determined based on the measured reception electric field intensity, it is possible to select a frequency band insignificantly affected by an interference electric wave at the current point of time.
In addition, with priority by the good channel/slot priority information calculated based on an error counter, since a degree of goodness can be determined based on small sum-up of the error counter, it is possible to select a frequency band insignificantly affected by an interference electric wave from a statistical point of view.
Next, a case where the channel/slot switching sequence flag is 4 will be described. If it is determined at S1150 of
In the channel/slot switching sequence D, at S820 of
If it is determined at S820 that a good channel/slot is present, it is determined at S830 whether or not a setting is a communication distance priority mode. If it is determined at S830 that a setting is a communication distance priority mode, at S840, a channel/slot having the lowest reception electric field intensity in a frequency band having high communication distance priority in the channel/slot reception electric field intensity map (see
In the first embodiment, as frequency bands (bands 1 to 3), three frequency bands, that is, a 1.9 GHz band, a 2.4 GHz band and a 5.8 GHz band, are used. Since one having a longer wavelength of these three frequency bands provides a relatively longer arrival distance at the same transmission power, if it is assumed that these frequency bands have the same transmission power, priority becomes higher in order of band 1, band 2 and band 3. Accordingly, if a bad channel/slot is detected in band 2 or band 3, a good channel/slot of band 1 is first selected.
Upon receiving the best channel/slot, at S850, the channel/slot switching unit 13k instructs the wireless transceiver 12 to switch between the best channel/slot as a channel/slot of a switching destination and the slots detected as bad channel/slots.
In this manner, as priority is set in order of long wavelength of frequency bands 1 to 3, a frequency band providing a long arrival distance of an electric wave can be preferentially allocated as a channel/slot of a switching destination. Accordingly, even when reception electric field intensity is lowered or an reception error frequently occurs as the master apparatus 20 becomes distant from the slave apparatus 30, it is possible to improve communication environments to some extents.
If it is determined at S830 that a setting is not a communication distance priority mode, it is determined at S860 whether or not a setting is an interference avoidance priority mode.
If is determined at S860 that a setting is an interference avoidance priority mode, at S870, a channel/slot having the lowest reception electric field intensity in a frequency band having high interference avoidance priority in the channel/slot reception electric field intensity map (see
There exist many sources of interference electric waves, such as a microwave oven, a Wi-Fi as a wireless LAN and the like, in the 2.4 GHz frequency band. In addition, the 1.9 GHz frequency band is significantly affected by an interference electric wave since only five channels are allocated in this band according to a communication standard. Accordingly, in this embodiment, priority becomes higher in order of band 3, band 1 and band 2. Accordingly, if a bad channel/slot is detected in band 2 or band 1, a good channel/slot of band 3 is first selected.
If the best channel/slot can be acquired, at S850, the acquired best channel/slot as a channel/slot of a switching destination is switched with the slots detected as bad channel/slots.
In this manner, since priority is set depending on the kind of electronic devices in which interference electric wave is occurred such as a microwave oven, Wi-Fi and the like, it is possible to select a good frequency band by avoiding an interference electric wave.
If is determined at S860 that a setting is not an interference avoidance priority mode, at S880, a channel/slot having the lowest reception electric field intensity is acquired as the best channel/slot from the channel/slot reception electric field intensity map (see
If the best channel/slot can be acquired, at S850, by switching the acquired best channel/slot as a channel/slot of a switching destination with the slots detected as bad channel/slots, it is possible to maintain good communication by switching to a different channel/slot of the same frequency band or a channel/slot of a different frequency band.
Finally, a case where the channel/slot switching sequence flag is none of 1 to 4 and the process proceeds from S1150 of
At S1160, in particular, irrespective of whether or not a channel/slot of a switching destination is a good channel/slot, a channel/slot of a switching destination is randomly selected and switched. In this case, although there is a possibility that an effect by an interference electric wave is unavoidable, a control can be performed simply since there is no need to measure electric field intensity by a background scan.
In addition, for switching to a channel/slot of a switching destination, when a channel/slot being currently used is detected as a bad channel/slot, by using the channel/slot of the switching destination to conduct communication in two slots simultaneously and canceling communication in the bad channel/slot, it is possible to switch to a different channel/slot of the switching destination.
While the first embodiment has been illustrated in the above, the present invention is not limited to the first embodiment. For example, a switching destination may be set in the unit of channel instead of the unit of slot.
In addition, while the wireless communication apparatus has been illustrated with the cordless telephone system in the first embodiment, the same effect can be achieved even when the present invention is applied to time division-based communication between wireless communication apparatuses such as, for example, communication between mobile telephones and base stations.
In addition, since the communication distance of the frequency band 1 (1.9 GHz band) having a long wavelength at the same transmission power is the largest and a communication distance becomes smaller as a wavelength becomes shorter, priority is set in order of long wavelength in the frequency band 1 to 3 in this embodiment. However, if transmission power is different in the frequency bands, a relation between priority and a frequency band may be varied. Transmission power which can be set in each frequency band is specified according to national wireless standards and there is a need to set transmission power to be lower in one frequency band than in other frequency bands according to circumstances of every nation. In that case, since a communication distance can not be secured even with a long wavelength, priority of frequency bands is rated using both of wavelength and transmission power.
A wireless communication apparatus according to a second embodiment will be described by way of example of a cordless telephone system with reference to the drawings. A cordless telephone system according to a second embodiment has the same configuration as that of the first embodiment shown in
The master apparatus 20 and the slave apparatus 30 of the wireless telephone 10 shown in
A channel in use may be set for each slot and is switched to a channel to be used in a slot of a switching destination when a slot is changed. Hereinafter, a two-dimensional matrix consisting of channels on a frequency axis and slots on a time axis is called “channel/slot.” (As will be described in detail later, reception electric field intensity is measured for each channel/slot and is recorded as shown in
Next, a configuration of the master apparatus 20 and slave apparatus 30 will be described in detail with reference to
In
The antennas 11a to 11c for bands 1 to 3 are antennas having a characteristic suitable for transmission reception of electric waves of respective frequency bands. For wireless communication with the slave apparatus 30, the wireless transceiver 12 selectively switches one frequency band of bands 1 to 3 and conducts wireless communication with the slave apparatus 30.
The communication controller 13 is a controller to direct a channel or slot used in wireless communication with the slave apparatus 30 to the wireless transceiver 12. The communication controller 13 measures reception electric field intensity for each channel/slot and records it as shown in
The communication controller 13 includes a transmission control data packet processing unit 13a, a transmission voice data packet processing unit 13b, a transmission packet preparing unit 13c, a reception packet analyzing unit 13d, a reception control data packet processing unit 13e and a reception voice data packet processing unit 13f. In addition, the communication controller 13 includes a channel allocating unit 13t, a reception electric field intensity data processing unit 13o, an error count processing unit 13h, a replacement determining unit 13l, a channel selecting unit 13x and a channel replacement unit 13w.
The transmission control data packet processing unit 13a adds CRC which is an error detection code generated for communication control data. The transmission voice data packet processing unit 13b adds CRC generated for voice data.
The transmission packet preparing unit 13c combines the communication control data generated in the transmission control data packet processing unit 13a and the voice data generated in the transmission voice data packet processing unit 13b to generate packets to be transmitted by the wireless transceiver 12.
The reception packet analyzing unit 13d analyzes the packets received through the wireless transceiver 12 and separates the received packets into the control data and the voice data.
The reception control data packet processing unit 13e processes the communication control data and detects a reception error by the CRC added for the communication control data. The reception voice data packet processing unit 13f processes the voice data and detects a reception error by the CRC added for the voice data.
The channel allocating unit 13t allocates a plurality of channels in a plurality of frequency bands to the usual use channel group and the waiting channel group and stores the allocated channels in an internal memory 13u. Here, the usual use channel group refers to a plurality of channel allocated to a frequency band used for regular wireless communication. The waiting channel group refers to reserved channels which are allocatable instead as use channels although it is not initially used, and are prepared to replace channels of the usual use channel group.
The reception electric field intensity data processing unit 13o measures electric field intensity of each channel in each frequency band and stores it as reception electric field intensity data in an internal memory 13q. In addition, the reception electric field intensity data processing unit 13o determines whether or not slots are good based on the stored electric field intensity. In addition, the reception electric field intensity data processing unit 13o totals the number of good slots and sets priority of frequency bands as good frequency band priority information.
The error count processing unit 13h counts up an error counter when a reception error occurs.
The replacement determining unit 13l determines whether or not there is a need to replace a use channel with a different channel. Upon determining that there is a need of switching due to frequent occurrence of reception errors, the replacement determining unit 13l sets an interference detection flag indicating that interference is detected or a badness detection flag indicating that a reception condition is bad, depending on the content of the determination. The interference detection flag and the badness detection flag are stored in a memory 13r within the replacement determining unit 13l. In addition, the replacement determining unit 13l includes a consecutive frame error counter 13s to be counted up if an error consecutively occurs in a plurality of frames. The consecutive frame error counter 13s is managed for each slot.
If the replacement determining unit 13l determines that there is a need to replace a use channel, the channel selecting unit 13x selects a channel of a switching destination belonging to the waiting channel group based on the reception electric field intensity data measured by the reception electric field intensity data processing unit 13o or situations of occurrence of reception errors. Such replacement is made in a single channel or channels for respective frequency bands and is determined by a setting.
The channel replacement unit 13w instructs the wireless transceiver 12 to replace a use channel with a channel of the waiting channel group based on the channel selected by the channel selecting unit 13x. As shown in
A replacement method selecting unit 13v selects whether to replace a channel in the unit of single channel or in the unit of frequency band and informed the channel selecting unit 13x of a result of the selection.
The voice processing unit 21 decodes the voice data from the communication controller 13 by means of a speech decoder 21a and outputs the decoded voice data to the telephone line L through a line output unit 21b, or codes a signal input from the telephone line L through a line input unit 21c into voice data by means of a speech encoder 21d and outputs the voice data to the communication controller 13.
Although it has been illustrated in this embodiment that the master apparatus 20 is the cordless telephone system 10 connected to the telephone line L, the master apparatus 20 may be an IP telephone connected to Internet.
Next, the slave apparatus 30 will be described with reference to
In
Operation of the above-configured cordless telephone system according to the embodiment of the present invention will be described with reference to the drawings.
In a frame structure with which the master apparatus 20 communicates with the slave apparatuses 30(A to C) as shown in
For example, the master apparatus 20 and the slave apparatus 30 are allocated with the usual use channel group and the waiting channel group, as shown in
A control operation is performed for each reception slot of these slots in the master apparatus 20 and the slave apparatus 30, as shown in
In
Next, at S1030, the communication controller 13 determines whether or not the slot at that time is a reception slot for data communication. That is, in case of the master apparatus 20, it is determined whether or not the slot at that time is a reception slot for data communication (slot 0 to 5 shown in
At S1040, the reception electric field intensity data processing unit 13o determines whether or not the slot at that time is a reception slot for electric field intensity measurement. If it is determined that the slot at that time is not a reception slot for electric field intensity measurement, the process is ended. If it is determined at S1040 that the slot at that time is a reception slot for electric field intensity measurement, at S1050, the reception electric field intensity data processing unit 13o executes a sequence of good channel information storage.
Here, the sequence of good channel information storage will be described with reference to
In the sequence of good channel information storage, reception electric field intensity of a predetermined slot is first measured at S210, as shown in
This channel/slot reception electric field intensity map is a table storing the measured electric field intensity as reception electric field intensity data in association with respective channel numbers, in which the usual use channel group and the waiting channel group are allocated with five channels in three frequency bands (bands 1 to 3), respectively, by the channel allocating unit 13t. The electric field intensity measured at S210 is stored in a corresponding location in the channel/slot reception electric field intensity map.
The example of
The marking indicating the goodness at S230 is recorded as shown in
In the examples of
If it is determined at S220 of
At S250 of
When the sequence of good channel information storage is ended, a sequence of good frequency band information storage is executed at S1000 of
In the sequence of good frequency band information storage, first, at S310, the reception electric field intensity data processing unit 13o determines whether or not there is a setting that a degree of goodness of each frequency band is determined based on the total number of good channel/slots for each frequency band. If it is determined that there is a setting that the determination is made based on the total number of good channel/slots, the process proceeds to S320.
At S320, the reception electric field intensity data processing unit 13o acquires data of each channel/slot of the waiting channel group from the good channel/slot map. At S380, the reception electric field intensity data processing unit 13o sums up the number of markings indicating goodness for each frequency band belonging to the waiting channel group, and calculates good frequency band priority information about the waiting channel group based on a result of the summing up.
At S385, the reception electric field intensity data processing unit 13o sets priority of frequency bands belonging to the waiting channel group based on the calculated good frequency band priority information in such a manner that the frequency band priority becomes higher in an order of increasing in the total number of goodness markings. A frequency band with higher priority information is more preferentially used. In the example of
In addition, in the examples of
On the other hand, at S310, if it is determined that there is a setting that the determination is not made based on the total number of good channel/slots, the process proceeds to S350.
At S350, the reception electric field intensity data processing unit 13o acquires data of channel/slots of the waiting channel group from the error channel/slot map. At S390, it performs a totaling operation for each frequency band based on each error counter belonging to the waiting channel group of the error channel/slot map and calculates good frequency band priority information about the waiting channel group based on a result of the totaling. In the example of
At S395, the reception electric field intensity data processing unit 13o sets frequency band priority based on the calculated good frequency band priority information in such a manner that the frequency band priority becomes higher in an order of decreasing in the total number of good channel/slots. In other words, in the example of
In this manner, when priority is set for each frequency band in the sequence of good frequency band information storage (see
Next, a sequence of determination for data reception slots of the master apparatus 20 will be described. If it is determined at S1030 that slots at that time are reception slots (slots 0 to 5 shown in
Here, the sequence of reception level badness determination will be described with reference to
If it is determined at S410 that the setting is valid, at S420, it is determined whether or not electric field intensity of the reception slots for data communication is less than a predetermined value. This reception electric field intensity is input to the replacement determining unit 13l through the reception electric field intensity data processing unit 13o.
If it is determined at S420 that the electric field intensity is less than the predetermined value, since it may mean that the master apparatus 20 is separated from the slave apparatus 30, a badness detection flag is effectively set at S430, and then the process is ended.
In this manner, when the sequence of reception level badness determination is ended, a sequence of error count is executed at S1090 of
Next, the sequence of error count will be described with reference to
In the sequence of error count shown in
If it is determined at S550 that the reception error is not occurred in the use channel/slot belonging to the usual use channel group, the process is ended. If it is determined at S550 that the reception error is occurred, at S520, a corresponding error counter of the error channel/slot map shown in
In this manner, as each error counter of the error channel/slot map is counted up when the reception error or the like is generated, priority allocated for each frequency band is lowered in the sequence of good frequency band information storage (see
The error counter is counted down in all channel/slots whenever a predetermined period of time elapses. That is, if a predetermined period of time elapses at S1010 of
At S530 of
If electric field intensity of when a reception error is detected is relatively high, the reception error is very likely to be caused by an interference electric wave. This is because, if an reception error is detected although electric field intensity is high as the master apparatus 20 is close to the slave apparatus 30, it may be determined that the reception error is caused by the interference electric wave. Accordingly, in that interference is detected at S530 if the reception electric field intensity is more than the predetermined value, at S540, the replacement determining unit 13l determines an interference detection flag as valid and ends the process. If it is determined at S530 that the reception electric field intensity is equal to or less than the predetermined value, the process is ended.
In this manner, when the sequence of count process is ended, at S1100 of
Next, the sequence of error badness determination will be described with reference to
In the sequence of error badness determination, bad channel/slots are determined based on an error rate. In
Next, at S620, the replacement determining unit 13l acquires a value of the consecutive frame error counter 13s. The consecutive frame error counter 13s provided in the replacement determining unit 13l is managed every slot and is a counter continuing to count up when an error is consecutively generated in a plurality of frames. For example, when a reception error such as a CRC error or a synchronization error is generated in any slot, this counter counts up by information from the error count processing unit 13h.
For example, as shown in
Next, at S630, the replacement determining unit 13l determines whether or not an error rate is high or a value of the consecutive frame error counter 13s is a consecutive frame error exceeding a predetermined value. A high error rate means that the error rate calculated at S610 exceeds a predetermined value and a reception error is frequently generated in this use channel/slot. In addition, since the value of the consecutive frame error counter 13s acquired at S620 is counted up (+1) whenever a reception error is generated, for example, when a reception error is consecutively generated in five frames, the value of the consecutive frame error counter 13s becomes 5. Accordingly, if a reception error is generated in slots consecutive by five frames, the predetermined value is set to 4 with the reception error as the consecutive frame error.
If it is determined at S630 that the error rate is less than a predetermined value or the value of the consecutive frame error counter 13s is less than a predetermined value, the process is ended.
If it is determined at S630 that the error rate is high or the value of the consecutive frame error counter 13s exceeds the predetermined value, since it means that corresponding channel/slots are bad, at S640, a badness detection flag is made valid, and then the process is ended.
In this manner, when the sequence of error badness determination is ended, at S1110 of
Hereinafter, a case where the badness detection flag or the interference detection flag is valid will be described. If it is determined at S1110 of
There are two methods for replacement of use channel. Selection of one of these methods is determined by the replacement method selecting unit 13v. Next, a selection method performed at S2120 by the replacement method selecting unit 13v will be described with reference to
The replacement method selecting unit 13v acquires and checks the number of errors (error occurrence information) of all channels for a frequency band to which use channels belongs, from the error channel/slot map (S2710).
The replacement method selecting unit 13v determines whether or not the total number of errors of the channels belonging to this frequency band is more than 1 (S2720). If the total number of errors is more than 1, since it means that errors are generated in a plurality of channels, a setting for replacement for each frequency band is made (S2730). If the total number of errors is 0, since it means badness only in use channels, a setting for replacement in a single channel is made (S2740).
Next, at S2130 of
First, if it is determined at S2130 that the channel replacement sequence flag is 1, at S2170, a channel replacement sequence A is executed. In the channel replacement sequence A, as shown in
If the setting indicates that replacement of a use channel is performed in a single channel, then the channel selecting unit 13x determines whether or not a replaceable waiting channel is present in a waiting channel group of a channel state table (see
If any waiting channel is present in the waiting channel group, the channel selecting unit 13x acquires a waiting channel having the smallest number of errors for each channel as the best channel by referring to the error channel/slot map (S2830). In the examples of
While the channel replacement unit 13w instructs the wireless transceiver 12 to replace the use channel (bad channel) whose bad detection flag or interference detection flag was valid with the selected best channel (S2840), the channel selecting unit 13x changes channel number 16 of the channel state table from the waiting state to the use state and changes the replaced use channel from the use state to the replacement state and then process is ended (S2850).
If it is determined at S2810 that replacement of a use channel is not performed in a single channel, the channel selecting unit 13x determines whether or not there exist any frequency band having the number of waiting channels included in the waiting channel group, which is larger than the number of channels being used included in the frequency band to which a use channel required to be replaced belongs, by referring to the channel state table (S2860). Since this means replacing all channels of the frequency band to which the use channel belongs when the use channel is replaced with a waiting channel, waiting channels more than the total number of use channels belonging to at least this frequency band are needed in bands 1 to 3 of the waiting channel group. Accordingly, if replaceable bands 1 to 3 are not present in the waiting channel group, since it means that the use channel can not be replaced, the process is ended.
If it is determined at S2860 that frequency bands (bands 1 to 3) replaceable for each frequency band to which the use channel belongs are present in the waiting channel group, a frequency band having the smallest number of errors of the replaceable frequency bands is acquired as the best band by referring to the error channel/slot map (S2870). In the examples of
While the channel replacement unit 13w instructs the wireless transceiver 12 to replace a frequency band to which the use channel (bad channel) whose bad detection flag or interference detection flag was valid belongs with the selected best band (S2880), the channel selecting unit 13x changes band 2 of the waiting channel group of the channel state table from the waiting state to the use state and changes a frequency band to which the replaced use channel belongs from the use state to the replacement state and then process is ended (S2890).
Next, a case where the channel replacement sequence flag is 2 will be described. If it is determined at S2140 of
If the setting indicates that replacement of a use channel is performed in a single channel, then the channel selecting unit 13x determines whether or not a replaceable waiting channel out of the frequency band of the use channel is present in a waiting channel group of the channel state table (see
If any waiting channel is present in the waiting channel group, the channel selecting unit 13x acquires a waiting channel having the smallest number of errors for each channel as a waiting channel of a frequency band different from the frequency band of the use channel by referring to the error channel/slot map (S2930). In the examples of
While the channel replacement unit 13w instructs the wireless transceiver 12 to replace the use channel (bad channel) whose bad detection flag or interference detection flag was valid with the selected best channel (S2940), the channel selecting unit 13x changes channel number 24 of the channel state table from the waiting state to the use state and changes the replaced use channel from the use state to the replacement state and then process is ended (S2950).
If it is determined at S2910 that replacement of a use channel is not performed in a single channel, the channel selecting unit 13x determines whether or not there exist any frequency band different from the frequency band of the use channel and having the number of waiting channels included in the waiting channel group, which is larger than the number of channels being used included in the frequency band to which a use channel required to be replaced belongs, by referring to the channel state table (S2960). If replaceable bands 1 to 3 are not present, since it means that the frequency band of the use channel can not be replaced, the process is ended.
If it is determined at S2960 that frequency bands (bands 1 to 3) replaceable for each frequency band to which the use channel belongs are present in the waiting channel group, a frequency band having the smallest number of errors of the replaceable frequency bands is acquired as the best band by referring to the error channel/slot map (S2970). In the examples of
While the channel replacement unit 13w instructs the wireless transceiver 12 to replace a frequency band to which the use channel (bad channel) whose bad detection flag or interference detection flag was valid belongs with the selected best band (S2980), the channel selecting unit 13X changes band 2 of the waiting channel group of the channel state table from the waiting state to the use state and changes a frequency band to which the replaced use channel belongs from the use state to the replacement state and then process is ended (S2990).
Next, a case where the channel replacement sequence flag is 3 will be described. If it is determined at S2150 of
If the setting indicates that replacement of a use channel is performed in a single channel, then the channel selecting unit 13x determines whether or not a replaceable waiting channel out of the frequency band of the use channel is present in a waiting channel group of the channel state table (see
If any waiting channel is present in the waiting channel group, the channel selecting unit 13x acquires a frequency band having the highest priority based on good frequency band priority information by referring to the good channel/slot map. In the example of
While the channel replacement unit 13w instructs the wireless transceiver 12 to replace the use channel (bad channel) whose bad detection flag or interference detection flag was valid with the selected best channel (S3040), the channel selecting unit 13x changes channel number 24 of the channel state table from the waiting state to the use state and changes the replaced use channel from the use state to the replacement state and then process is ended (S3050).
If it is determined at S3010 that replacement of a use channel is not performed in a single channel, the channel selecting unit 13x determines whether or not there exist any frequency band having the number of waiting channels included in the waiting channel group, which is larger than the number of channels being used included in the frequency band to which a use channel required to be replaced belongs, by referring to the channel state table (S3060). If replaceable bands 1 to 3 are not present in the waiting channel group, since it means that the use channel can not be replaced, the process is ended.
If it is determined at S3060 that frequency bands (bands 1 to 3) replaceable for each frequency band to which the use channel belongs are present in the waiting channel group, a frequency band having the highest priority is acquired as the best band based on the good frequency band priority information of the error channel/slot map (S3070).
In the examples of
While the channel replacement unit 13w instructs the wireless transceiver 12 to replace a frequency band to which a bad channel belongs with the selected best band (S3080), the channel selecting unit 13x changes band 3 of the waiting channel group of the channel state table from the waiting state to the use state and changes band 2 to which the replaced use channel belongs from the use state to the replacement state and then process is ended (S3090).
Next, a case where the channel replacement sequence flag is 4 will be described. If it is determined at S2160 of
If the setting indicates that replacement of a use channel is performed in a single channel, then the channel selecting unit 13x determines whether or not a replaceable waiting channel is present in the waiting channel group of the channel state table (see
If any waiting channel is present in the waiting channel group, the channel selecting unit 13x determines whether or not a setting is a communication distance priority mode (S3130). If the setting is a communication distance priority mode, the channel selecting unit 13x acquires replaceable waiting channels from the waiting channel group by referring to the channel state table. Next, the channel selecting unit 13x acquires a channel having the smallest number of errors in a frequency band having high communication distance priority among the acquired waiting channels, as the best channel by referring to the error channel/slot map (S3140).
Here, the communication distance priority refers to an order of frequency band to allow a longer communication distance to be secured. In this embodiment, as frequency bands (bands 1 to 3), three frequency bands, that is, a 1.9 GHz band, a 2.4 GHz band and a 5.8 GHz band, are used. Since one having a longer wavelength of these three frequency bands provides a relatively longer arrival distance at the same transmission power, communication distance priority becomes higher in order of band 1, band 2 and band 3. Accordingly, if a bad channel/slot is detected in band 2 or band 3, a good channel/slot of band 1 is first selected.
For example, in the examples of
While the channel replacement unit 13w instructs the wireless transceiver 12 to replace a bad channel with the selected best band (S3150), the channel selecting unit 13x changes channel number 16 of the channel state table from the waiting state to the use state and changes the replaced use channel from the use state to the replacement state and then process is ended (S3160).
In this manner, as priority is set in order of long wavelength of frequency bands 1 to 3, a frequency band providing a long arrival distance of an electric wave can be preferentially allocated as a channel of a replacement destination. Accordingly, even when reception electric field intensity is lowered or an reception error frequently occurs as the master apparatus 20 becomes distant from the slave apparatus 30, it is possible to improve communication environments to some extents.
If it is determined at S3130 that a setting is not a communication distance priority mode, it is determined at S3170 whether or not a setting is an interference avoidance priority mode. If it is determined that a setting is not an interference avoidance priority mode, the process is ended.
If it is determined that a setting is an interference avoidance priority mode, the channel selecting unit 13x acquires replaceable waiting channels from the waiting channel group by referring to the channel state table. Next, the channel selecting unit 13x acquires a channel having the smallest number of errors in a frequency band having high interference avoidance priority among the acquired waiting channels, as the best channel by referring to the error channel/slot map (S3180).
Here, the interference avoidance priority refers to an order of little effect by an interference electric wave. There exist many sources of interference electric waves, such as a microwave oven, a Wi-Fi as a wireless LAN and the like, in the 2.4 GHz frequency band. In addition, the 1.9 GHz frequency band is significantly affected by an interference electric wave since only five channels are allocated in this band according to a communication standard. Accordingly, in this embodiment, interference avoidance priority becomes higher in order of band 3, band 1 and band 2.
For example, in the examples of
In this manner, since priority is set depending on the kind of electronic devices in which interference electric wave is occurred such as a microwave oven, Wi-Fi and the like, it is possible to select a good frequency band by avoiding an interference electric wave.
If it is determined at S3110 that replacement of a use channel is not performed in a single channel, the channel selecting unit 13x determines whether or not there exist any frequency band having the number of waiting channels included in the waiting channel group, which is larger than the number of channels being used included in the frequency band to which a use channel required to be replaced belongs, by referring to the channel state table (S3190). If replaceable bands 1 to 3 are not present in the waiting channel group, since it means that the use channel can not be replaced, the process is ended.
If it is determined at S3190 that frequency bands (bands 1 to 3) replaceable for each frequency band to which the use channel belongs are present in the waiting channel group, the channel selecting unit 13x determines whether or not a setting is a communication distance priority mode (S3200).
If it is determined that a setting is a communication distance priority mode, the channel selecting unit 13x acquires a frequency band having high communication distance priority of replaceable frequency bands, as the best band (S3210).
In the examples of
While the channel replacement unit 13w instructs the wireless transceiver 12 to replace a frequency band to which a bad channel belongs with the selected best band (S3220), the channel selecting unit 13x changes band 3 of the waiting channel group of the channel state table from the waiting state to the use state and changes band 2 to which the replaced use channel belongs from the use state to the replacement state and then process is ended (S3230).
If it is determined at S3200 that a setting is not a communication distance priority mode, it is determined at S3240 whether or not a setting is an interference avoidance priority mode. If it is determined that a setting is not an interference avoidance priority mode, the process is ended.
If it is determined that a setting is an interference avoidance priority mode, the channel selecting unit 13x acquires a frequency band having high interference avoidance priority among replaceable frequency bands in the waiting channel group, as the best band by referring to the channel state table (S3250).
In the examples of
Upon receiving a replacement instruction, the wireless transceiver 12 performs channel replacement between communication counterpart devices. This channel replacement will be described with reference to
For example, between the master apparatus 20 and the slave apparatus 30, it is assumed that slot 1 is used from the slave apparatus 30 to the master apparatus 20 and slot 7 is used from the master apparatus 20 to the slave apparatus 30. If a channel replacement event occurs in the slave apparatus 30, the slave apparatus 30 informs the master apparatus 20 of the channel replacement and a channel number of a replacement destination through slot 1. The master apparatus 20 informs the slave apparatus 30 of allowance for the channel replacement through slot 7. According to the information from the slave apparatus 30, the master apparatus 20 turns a use channel being used into a replacement state while performing a channel state table update that a waiting channel of a replaced waiting channel group is being used.
The slave apparatus 30 transmits data through slot 1 with a channel belonging to the replaced waiting channel group as a new use channel. The master apparatus 20 transmits data through slot 7 using the new use channel. Here, the slots are not changed.
In this manner, if an interference electric wave as a noise interferes in a use channel, it is possible to maintain good communication by switching the use channel to any channel belonging to a waiting channel group of other frequency bands based on the channel/slot reception electric field intensity map.
In addition, as shown in
In addition, as the replacement method selecting unit 13v can select one of the single channel replacement and the replacement of channels of different frequency bands, since it is possible to cope with an effect of interference electric waves on both of a single channel and the entire frequency bands, it is possible to secure high communication quality through more dynamic channel replacement. As the replacement method selecting unit 13v checks an error counter based on the error channel/slot map and selects channel replacement for each frequency band if an error occurs in a frequency band to which a use channel belongs, it is possible to detect an effect of interference electric waves on the entire frequency bands.
While the second embodiment has been illustrated in the above, the present invention is not limited to the second embodiment. For example, as shown in
In addition, for selection of channels belonging to the waiting channel group to be replaced for a use channel by means of the channel selecting unit 13x, a channel having the smallest number of reception electric field intensity data may be selected by referring to the channel/slot reception electric field intensity map. Thus, it is possible to select a channel, which is little affected by an interference electric wave, from the waiting channel group.
In addition, while the wireless communication apparatus has been illustrated with the cordless telephone system in the second embodiment, the same effect can be achieved even when the present invention is applied to time division-based communication between wireless communication apparatuses such as, for example, communication between mobile telephones and base stations.
In addition, since the communication distance of the frequency band 1 (1.9 GHz band) having a long wavelength at the same transmission power is the largest and a communication distance becomes smaller as a wavelength becomes shorter, priority is set in order of long wavelength in the frequency band 1 to 3 in the second embodiment. However, if transmission power is different in the frequency bands, a relation between priority and a frequency band may be different from the example in the second embodiment. Transmission power which can be set in each frequency band is specified according to national wireless standards and there is a need to set transmission power to be lower in one frequency band than in other frequency bands according to circumstances of every nation. In that case, since a communication distance can not be secured even with a long wavelength, priority of frequency bands is rated using both of wavelength and transmission power.
A wireless communication apparatus according to a third embodiment will be described by way of example of a cordless telephone system with reference to the drawings. A cordless telephone system according to a third embodiment has the same configuration as that of the first embodiment shown in
A cordless telephone system 10 shown in
In the third embodiment, the same data are transmitted through two slots between the master apparatus 20 and the slave apparatus 30, and a reception side conducts slot diversity communication to select reception data of a good slot and process voice. In the example of
In the third embodiment, the master apparatus 20 and the slave apparatus 30 conduct communication therebetween using three different frequency bands. Specifically, five carrier frequencies (hereinafter called “channel”) are allocated, as shown in
A channel in use may be set for each slot and is switched to a channel to be used in a slot of a switching destination when a slot is changed. Hereinafter, a two-dimensional matrix consisting of channels on a frequency axis and slots on a time axis is called “channel/slot.” (reception electric field intensity is measured for each channel/slot and is recorded as shown in
Next, a configuration of the master apparatus 20 and slave apparatuses 30 will be described in detail with reference to
The antennas 11a to 11c for bands 1 to 3 are antennas having a characteristic suitable for transmission reception of electric waves of respective frequency bands. For wireless communication with the slave apparatuses 30, the wireless transceiver 12 selectively switches one frequency band of bands 1 to 3 and conducts wireless communication with the slave apparatuses 30.
The communication controller 13 selects an optimal frequency band and directs use channel/slots to the wireless transceiver 12 in wireless communication with the slave apparatus 30. One (first channel/slot) of two channel/slots is set to be different from the other (second channel/slot) in frequency band to which respective channels belong.
If a use channel/slot is supposed to be changed, the communication controller 13 selects a frequency band of a switching destination according a determination process to be described later, and directs new channel/slots having a frequency band different from the frequency band to which respective channels of the first and second channel/slots belong. In this manner, channels of different frequency bands are necessarily used in the two slots used in the slot diversity.
The communication controller 13 includes a transmission control data packet processing unit 13a, a transmission voice data packet processing unit 13b, a transmission packet preparing unit 13c, a reception packet analyzing unit 13d, a reception control data packet processing unit 13e and a reception voice data packet processing unit 13f. In addition, the communication controller 13 includes a reception electric field intensity data processing unit 13g, an error count processing unit 13h, a channel/slot selecting unit 13y and a diversity processing unit 13z.
Hereinafter, various components of the communication controller 13 will be described in detail. The transmission control data packet processing unit 13a adds CRC which is an error detection code generated for communication control data. The transmission voice data packet processing unit 13b adds CRC generated for voice data.
The transmission packet preparing unit 13c combines the communication control data generated in the transmission control data packet processing unit 13a and the voice data generated in the transmission voice data packet processing unit 13b to generate packets to be transmitted by the wireless transceiver 12.
The reception packet analyzing unit 13d analyzes the packets received through the wireless transceiver 12 and separates the received packets into the control data and the voice data.
The reception control data packet processing unit 13e processes the communication control data. In addition, the reception control data packet processing unit 13e functions as a reception error detecting unit by detecting a reception error by the CRC added to the communication control data and outputting a value corresponding to the detected reception error (a reception error value) as reception error information.
The reception voice data packet processing unit 13f has a function to process the voice data. In addition, the reception voice data packet processing unit 13f functions as a reception error detecting unit by detecting a reception error by the CRC added to the voice data and outputting a value corresponding to the detected reception error (a reception error value) as reception error information.
The reception electric field intensity data processing unit 13g measures electric field intensity of each slot of each channel in each frequency band, stores it as reception electric field intensity data, determines whether or not slots are good based on the measured electric field intensity, or totals the number of good slots to set slot priority.
The error count processing unit 13h counts up an error counter when a reception error occurs.
The channel/slot selecting unit 13y selects a channel to be used as a first channel of channels determined as good based on the reception electric field intensity data and selects a channel to be used as a second channel in a frequency band other than the frequency band of the first channel.
The diversity processing unit 13z compares reception error information of respective slots and employs data of a good slot as reception data. The master apparatus 20 transmits the reception data employed in the diversity processing unit 13z to the line L through the voice processing unit 21. The slave apparatus 30 transmits the reception data employed in the diversity processing unit 13z to the voice processing unit 31.
The voice processing unit 21 of the master apparatus 20 decodes the voice data from the communication controller 13 by means of a speech decoder 21a and outputs the decoded voice data to the line L through a line output unit 21b, or codes a signal input from the line L through a line input unit 21c into voice data by means of a speech encoder 21d and outputs the voice data to the communication controller 13.
Although it has been illustrated in the third embodiment that the master apparatus 20 is the cordless telephone system 10 connected to the line L, the master apparatus 20 may be an IP telephone when the voice processing unit 21 is connected to Internet.
Next, the slave apparatus 30 will be described with reference to
The slave apparatus 30 includes antennas 11a to 11c for bands 1 to 3, a wireless transceiver 12, a communication controller 13 and a voice processing unit 31.
The voice processing unit 31 decodes voice data from the communication controller 13 by means of a speech decoder 31a and outputs the decoded voice data to the speaker SP, or codes a signal input through the microphone MIC into voice data by means of a speech encoder 31b and outputs the voice data to the communication controller 13.
Operation of the above-configured cordless telephone system according to the third embodiment will be described.
In the example of
In the third embodiment, two slots in a predetermined channel communicating between the master apparatus 20 and the slave apparatus 30 are called first channel/slot and second channel/slot, respectively.
The communication controller 13 of the master apparatus 20 or the slave apparatus 30 performs a background scan to measure reception electric field intensity for each slot of each channel of each frequency band (bands 1 to 3) by executing a sequence of good channel information storage (
In
A result of the measurement is stored, as a channel/slot reception electric field intensity map shown in
The example of
At S220, the reception electric field intensity data processing unit 13g determines whether or not the measured electric field intensity is lower than a predetermined value. If it is determined that the measured electric field intensity is lower than a predetermined value, it may mean that there is no or little interference electric wave. Then, at S230, a marking is made which indicates that corresponding channel/slots are good. The marking indicating the goodness at S230 of
If it is determined at S220 of
At S250, the reception electric field intensity data processing unit 13g counts up the error counter. This error counter is counted up based on the determination at S220 that the measured electric field intensity is equal to or more than the predetermined value, and the count-up is stored, as an error channel/slot map shown in
In this manner, the good channel/slot map or the error channel/slot map is updated (S260).
When the sequence of good channel information storage is ended, a sequence of good frequency band information storage is executed.
At S320, the reception electric field intensity data processing unit 13g acquires data from the good channel/slot map. At S330, the reception electric field intensity data processing unit 13g sums up the number of markings indicating goodness for each frequency band based on data from the good channel/slot map, and calculates good channel/slot priority information based on goodness markings. In the example of
In the examples of
At S340, the reception electric field intensity data processing unit 13g sets frequency band priority based on the calculated good channel/slot priority information in such a manner that the frequency band priority becomes higher in an order of increasing in the total number of good channel/slots. In the example of
If it is determined at S310 that there is a setting that the determination is not made based on the total number of good channel/slots, the process proceeds to S350.
At S350, the reception electric field intensity data processing unit 13g acquires data from the error channel/slot map. At S360, it performs a totaling operation for each frequency band based on each error counter of the error channel/slot map and calculates good channel/slot priority information by the error counter. In the example of
At S370, the reception electric field intensity data processing unit 13g sets frequency band priority based on the calculated good channel/slot priority information in such a manner that the frequency band priority becomes higher in an order of decreasing in the total number of good channel/slots. In the example of
In this manner, according to the sequence of good channel information storage and the sequence of good frequency band information storage, the reception electric field intensity is measured for each slot of each channel of each frequency band, and the channel/slot reception electric field intensity map, the good channel/slot map and the error channel/slot map are created based on the measured reception electric field intensity.
Next, the first channel/slot and the second channel/slot are allocated.
In
Subsequently, at S4060, it is determined whether or not selection of the second channel/slot is completed. If only the first channel/slot is selected (the second channel/slot not selected), the process proceeds to S4010 where the second channel/slot is selected in the same order as the first channel/slot.
Here, the channel/slot selection sequence A processed at S4030 will be described with reference to
In the channel/slot selection sequence A, first, at S4310, it is determined whether or not a selection order at that time is for selection of the first channel/slot. If it is determined that a selection order at that time is for selection of the first channel/slot (YES), at S4320, a channel/slot of a frequency band having the lowest reception electric field intensity in the channel/slot reception electric field intensity map (see
If it is determined at S4310 that a selection order at that time is not for selection of the first channel/slot, at S4330, as selection of the second channel/slot, a channel/slot of a frequency band which is out of the frequency band allocated for the first channel/slot and has the lowest reception electric field intensity in the channel/slot reception electric field intensity map (see
In this manner, by selecting the first and second channel/slots having different frequency bands, it is possible to select channel/slots having the best communication environments at this point, respectively.
Next, the channel/slot selection sequence B processed at S4040 will be described with reference to
In the channel/slot selection sequence B, first, at S4410, it is determined whether or not a good channel/slot is present in the good channel/slot (see
If it is determined at S4410 that a good channel/slot is present, at S4430, it is determined whether or not a selection order at that time is for selection of the first channel/slot. If it is determined that a selection order at that time is for selection of the first channel/slot (YES), at S4440, an order set by good channel/slot priority information (see
At S4450, a channel/slot having a frequency band highest in this order and the lowest reception electric field intensity is acquired from the channel/slot reception electric field intensity map, and the acquired channel/slot is set as the first channel/slot.
If it is determined at S4330 that a selection order at that time is not for selection of the first channel/slot (NO), at S4460, an order set by the good channel/slot priority information by goodness markings set in the sequence of good frequency band information storage or the good channel/slot priority information by the error counter is acquired.
At S4470, a channel/slot having the highest order frequency band other than the frequency band allocated for the first channel/slot and the lowest reception electric field intensity is acquired from the channel/slot reception electric field intensity map, and the acquired channel/slot is set as the second channel/slot.
In this manner, by selecting the first and second channel/slots having different frequency bands in channels determined as good based on the reception electric field intensity data, it is possible to select good frequency bands generally. In particular, with priority by the good channel/slot priority information calculated based on the goodness markings, since a degree of goodness can be determined based on the measured reception electric field intensity, it is possible to select frequency bands which insignificantly affected by interference electric waves at this point. In addition, with priority by the good channel/slot priority information calculated based on the error counter, since a degree of goodness can be determined based on small sum-up of the error counter, it is possible to select frequency bands insignificantly affected by interference electric waves from a statistical point of view.
Next, the channel/slot selection sequence C processed at S4050 will be described with reference to
In the channel/slot selection sequence C, first, at S4510, it is determined whether or not a selection order at that time is for selection of the first channel/slot. If it is determined that a selection order at that time is for selection of the first channel/slot (YES), at S4520, it is determined whether or not a setting is a communication distance priority mode. Whether or not a setting is a communication distance priority mode is preset.
If it is determined that a setting is a communication distance priority mode, at S4530, a channel/slot of a frequency band having high communication distance priority is set as the first channel/slot.
If it is determined at S4520 that a setting is not a communication distance priority mode, at S4540, it is determined whether or not a setting is an interference avoidance priority mode. Whether or not a setting is an interference avoidance priority mode is preset.
If it is determined that a setting is an interference avoidance priority mode, at S4550, a channel/slot of a frequency band having high interference avoidance priority is set as the first channel/slot.
If it is determined at S4540 that a setting is not an interference avoidance priority mode, at S4560, the channel/slot selection sequence A is executed.
If it is determined at S4510 that a selection order at that time is not for selection of the first channel/slot (NO), at S4570, it is determined whether or not a setting is a communication distance priority mode. If it is determined that a setting is a communication distance priority mode, at S4580, a channel/slot of a frequency band, which is out of the frequency band allocated for the first channel/slot and has the highest communication distance priority, is set as the second channel/slot.
If it is determined that a setting is not a communication distance priority mode, at S4590, it is determined whether or not a setting is an interference avoidance priority mode. If it is determined that a setting is an interference avoidance priority mode, at S4600, a channel/slot of a frequency band, which is out of the frequency band allocated for the first channel/slot and has the highest interference avoidance priority, is set as the second channel/slot.
If it is determined at S4590 that a setting is not an interference avoidance priority mode, at S4601, the channel/slot selection sequence A is processed to select the first and second channel/slots, and the process is ended. That is, if a setting is neither a communication distance priority mode nor an interference avoidance priority mode, the channel/slot selection sequence A is processed to select the first and second channel/slots.
Here, the communication distance priority will be described in detail. In general, as a frequency becomes lower (a wavelength becomes longer), an arrival distance becomes relatively longer at the same transmission power. In this embodiment, as frequency bands (bands 1 to 3), three frequency bands, that is, a 1.9 GHz band, a 2.4 GHz band and a 5.8 GHz band, are used. At the same transmission power, a communication distance of frequency band 1 (1.9 GHz band) is the longest, while a communication distance of frequency band 3 (5.8 GHz band) is the shortest. An order of communication distance is an order of increase of communication distance in bands 1 to 3. As the communication distance priority, the priority becomes higher in order of band 1, band 2 and band 3. Accordingly, in the communication distance priority mode, by allocating a band of the first channel/slot as first communication distance priority (band 1: 1.9 GHz) and allocating a band of the second channel/slot as second communication distance priority (band 2: 2.4 GHz), it is possible to increase a distance between the master apparatus 20 and the slave apparatus 30.
Next, the interference avoidance priority will be described in detail. The interference avoidance priority is an order of interference difficulty. For example, there exist many sources of interference electric waves, such as a microwave oven, a Wi-Fi as a wireless LAN and the like, in the 2.4 GHz frequency band of band 2. In addition, the 1.9 GHz frequency band is significantly affected by an interference electric wave since few channels, e.g., only five channels, can be allocated in this band according to a communication standard.
Accordingly, in the third embodiment, as the interference avoidance priority, the priority becomes higher in order of band 3, band 1 and band 2. Accordingly, in the interference avoidance priority mode, by allocating a band of the first channel/slot as first interference avoidance priority (band 3: 5.8 GHz) and allocating a band of the second channel/slot as second interference avoidance priority (band 1: 1.9 GHz), it is possible to provide interference-insensitive communication environments.
In this manner, when the selection of the second channel/slot is completed at S4580 or S4600, selection completion is determined at S4060 (
At S4070, communication is conducted in the selected first channel/slot. At S4080, communication is conducted in the selected second channel/slot. At S4090, a sequence of process in a communication frame is executed.
Next, at S4630, the communication controller 13 determines whether or not the slot at that time is a reception slot for data communication. That is, in case of the master apparatus 20, it is determined whether or not the slot at that time is a slot 0 to 5 shown in
In the sequence of good channel information storage, as described in detail above with reference to
Next, at S4660, the sequence of good frequency band information storage is executed. In the sequence of good frequency band information storage, as described in detail above with reference to
If it is determined at S4630 that the slot at that time is a reception slot for data communication, that is, in case of the master apparatus 20, it is determined that the slot at that time is a slot 0 to 5 shown in
As shown in
In the third embodiment, if communication data is voice data, one packet consists of four sub packets into which the voice data is divided, and CRCs given to the respective sub packets. That is, when a packet error is checked for each sub packet, the packet error may include one sub packet to four sub packets at maximum. In the error count processing unit 13h, a reception error value is set to 1 if a synch error occurs. If a sub packet error occurs, a reception error value is set to 1 to 4 depending on the number of sub packets in which a reception error occurs. If no reception error occurs, a reception error value is always set to 0.
Accordingly, if no reception error is detected at S4820, at S4830, 0 is set as a reception error value.
If a reception error is detected at S4820, at S4840, the error count processing unit 13h counts up an error counter of a corresponding channel/slot of the error channel/slot map shown in
Next, at S4850, a reception error value of the first channel/slot is acquired from the reception control data packet processing unit 13e and the reception voice data packet processing unit 13f. At S4860, the acquired reception error value is stored as the reception error value of the first channel/slot.
In this manner, count-up of the error counter and setting of the reception error of when the first channel/slot is received are performed.
Next, at S4690 of
In the sequence of error comparison information storage shown in
If a reception error is detected at S4870, at S4890, the error count processing unit 13h counts up an error counter of a corresponding channel/slot of the error channel/slot map shown in
As each error counter of the error channel/slot map is counted up due to occurrence of a reception error or the like, priority allocated for each frequency band is lowered in the sequence of good frequency band information storage (see
Next, at S4900, the error count processing unit 13h acquires a reception error value from the reception control data packet processing unit 13e and the reception voice data packet processing unit 13f. At S4910, the acquired reception error value is stored as a reception error value of the second channel/slot.
In this manner, count-up of the error counter and setting of the reception error of when the second channel/slot is received are performed.
Next, at S4710 of
At S4920, if the reception error value of the second channel/slot is smaller than the reception error value of the first channel/slot, at S4940, reception data of the second channel/slot is selected, and, like the first channel/slot, a voice process is performed by the voice processing unit 21 for the master apparatus 20, while a voice process is performed by the voice processing unit 31 for the slave apparatus 30.
In this manner, for example, in different frequency bands of 1.9 GHz and 2.4 GHz, since data transmitted in two slots are very likely to be properly received in one frequency band although a reception error occurs in the other frequency band due to an interference electric wave, it is possible to conduct communication with slots in the one frequency band although communication can not be conducted with slots in the other frequency band. In addition, since data of different frequency bands are not simultaneously received, it is possible to reduce power consumption of the wireless transceiver 12, as compared to simultaneous reception of data.
While the third embodiment has been illustrated in the above, the present invention is not limited to the third embodiment. For example, the first and second channel/slot may be set in the unit of channel instead of the unit of slot.
In addition, while the wireless communication apparatus has been illustrated with the cordless telephone system in the third embodiment, the same effect can be achieved even when the present invention is applied to time division-based communication between wireless communication apparatuses such as, for example, communication between mobile telephones and base stations.
In addition, since the communication distance of the frequency band 1 (1.9 GHz band) having a long wavelength at the same transmission power is the largest and a communication distance becomes smaller as a wavelength becomes shorter, priority is set in order of long wavelength in the frequency band 1 to 3 in this embodiment. However, if transmission power is different in the frequency bands, a relation between priority and a frequency band may be varied. Transmission power which can be set in each frequency band is specified according to national wireless standards and there is a need to set transmission power to be lower in one frequency band than in other frequency bands according to circumstances of every nation. In that case, since a communication distance can not be secured even with a long wavelength, priority of frequency bands is rated using both of wavelength and transmission power.
Many modifications and variations of the present invention are possible in the light of the above techniques. It is therefore to be understood that within the scope of the invention the invention may be practiced than as specifically described. The present application is based upon and claims the benefit of priorities of Japanese Patent Applications Nos. 2008-136235, 2008-165578 and 2008-190575, the contents of which are incorporated herein by reference in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
P2008-136235 | May 2008 | JP | national |
P2008-165578 | Jun 2008 | JP | national |
P2008-190575 | Jul 2008 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5406615 | Miller et al. | Apr 1995 | A |
5475868 | Duque-Anton et al. | Dec 1995 | A |
5722079 | Apraez et al. | Feb 1998 | A |
20020177444 | Nagato et al. | Nov 2002 | A1 |
Number | Date | Country |
---|---|---|
06 077 942 | Mar 1994 | JP |
10 285 644 | Oct 1998 | JP |
2000261449 | Sep 2000 | JP |
2004229087 | Aug 2004 | JP |
Number | Date | Country | |
---|---|---|---|
20090291644 A1 | Nov 2009 | US |