Wireless communication system and wireless communication method
The wireless communication system accurately determines channel restoration by detecting quality degradation and utilizing nearby channel data, ensuring high communication success rates by avoiding degraded channels and using improved alternatives.
Patent Information
- Application Number
- JP2023032172
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-02
- Publication Date
- 2024-09-12
- Estimated Expiration
- 2043-03-02
AI Technical Summary
Existing wireless communication systems fail to accurately determine when a degraded communication channel has improved in quality, leading to potential decreases in communication success rates as they revert unusable channels to usable states based on fixed time periods, which may not reflect current environmental conditions.
A wireless communication system that detects communication quality through characteristic data, deletes deteriorated channels, and determines if they can be restored based on the quality of nearby channels, using threshold comparisons and relaxation patterns to ensure high precision in channel restoration.
This approach allows for precise determination of channel restoration, maintaining high communication quality by avoiding degraded channels and utilizing improved nearby channels, thereby enhancing communication success rates.
Smart Images

Figure 2024124179000001
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a wireless communication system and a wireless communication method for performing wireless communication between a master device and a slave device via one communication channel that is sequentially selected from a plurality of communication channels. [Background technology]
[0002] As an example of this type of wireless communication system, one described in Patent Document 1 is known. In the wireless communication system of Patent Document 1, when a packet error occurs and the RSSI value of the wireless signal of the packet is greater than a preset threshold Th1, the system determines that the reception operation of receiving this packet is a reception error caused by interference with other radio waves. Then, the system counts the number of receptions and the number of reception errors, and stores the frequency of reception errors caused by interference in each frequency channel (number of reception errors / number of receptions). If the reception error frequency exceeds threshold Th2, the system determines that an interference source exists in the frequency channel where the reception error frequency caused by interference exceeds threshold Th2, and stores this frequency channel as an unusable channel. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2006-128812 A Summary of the Invention [Problem to be solved by the invention]
[0004] In the wireless communication system of Patent Document 1, a frequency channel that has been set as an unavailable channel is restored to an available frequency channel after a set period has elapsed.
[0005] However, the communication environment of each communication channel used in the wireless communication system, including interference with other radio waves, does not necessarily change even if the set period has elapsed. For this reason, if an unavailable communication channel is changed to an available communication channel when the set period has elapsed, as in Patent Document 1, there is a high possibility that wireless communication will be performed using a communication channel whose communication quality remains degraded. As a result, there is a risk that the communication success rate of the wireless communication system will decrease.
[0006] The present disclosure has been made in consideration of the above-mentioned points, and aims to provide a wireless communication system and a wireless communication method that are capable of determining with high accuracy that the communication quality of a communication channel that has been made unusable due to poor communication quality has improved. [Means for solving the problem]
[0007] In order to achieve the above object, a wireless communication system according to the present disclosure is a wireless communication system that performs wireless communication between a master device (20) and a slave device (30) via one communication channel sequentially selected from a plurality of communication channels, a detection unit (S60) for detecting characteristic data indicating communication quality of wireless communication performed for each communication channel; a deletion unit (S70) that deletes a communication channel whose communication quality has been determined to be degraded based on the characteristic data detected by the detection unit from a plurality of communication channels used for wireless communication; The method is configured to include a determination unit (S80) that determines whether or not the deleted communication channel can be restored to the multiple communication channels used for wireless communication based on characteristic data of nearby communication channels that are close in frequency to the communication channel deleted by the deletion unit.
[0008] A wireless communication method according to the present disclosure is a wireless communication method for performing wireless communication between a master device (20) and a slave device (30) via one communication channel sequentially selected from a plurality of communication channels, comprising: a detection step (S60) of detecting characteristic data indicating a communication quality of the wireless communication performed for each communication channel; a deletion step (S70) of deleting a communication channel whose communication quality has been determined to be degraded based on the characteristic data detected in the detection step from a plurality of communication channels used for wireless communication; The method is configured to include a determination step (S80) for determining whether or not the deleted communication channel can be restored to the multiple communication channels used for wireless communication based on characteristic data of nearby communication channels that are close in frequency to the communication channel deleted in the deletion step.
[0009] As described above, in the wireless communication system and wireless communication method according to the present disclosure, whether or not a deleted communication channel can be restored from a plurality of communication channels used for wireless communication is determined based on characteristic data of nearby communication channels having a frequency close to that of the deleted communication channel. In general, the communication quality of the nearby communication channels is correlated with the communication quality of the deleted communication channel because the frequencies are close. Therefore, based on the characteristic data of the nearby communication channels having a frequency close to that of the deleted communication channel, it is possible to determine with high accuracy whether or not the deleted communication channel can be restored.
[0010] The reference numbers in parentheses above are merely an example of a correspondence with a specific configuration in an embodiment described below, in order to facilitate understanding of the present disclosure, and are not intended to limit the scope of the present disclosure in any way.
[0011] In addition, technical features described in each claim in addition to the features of the present disclosure described above will become apparent from the description of the embodiments described below and the accompanying drawings. [Brief description of the drawings]
[0012] [Figure 1] 1 is a block diagram showing a schematic configuration of a wireless communication system according to a first embodiment. [Diagram 2] FIG. 4 is a diagram illustrating an example of the electric field strength distribution in a communication environment between a master device and a slave device. [Diagram 3] FIG. 4 is a diagram showing an example of received signal strength of each communication channel. [Figure 4] 5 is a flowchart showing a communication sequence between a master device and a slave device in the first embodiment. [Diagram 5] 5 is a flowchart showing a detailed example of a communication channel restoration determination process in the first embodiment. [Figure 6] 1 is a diagram showing a relationship between a communication channel to be considered for restoration and nearby communication channels in the restoration determination process of the first embodiment. FIG. [Figure 7] 13A shows that channel 3 has been used as a communication channel, and FIG. 13B shows that channel 3 has been deleted from multiple communication channels used for wireless communication by a deletion determination process because the communication quality of wireless communication using channel 3 is low. [Figure 8] (a) shows that channel 3 has been used as a communication channel, and (b) shows that channel 3 has been used for wireless communication, and channels 2 and 4 on either side of channel 3 are all available for wireless communication. [Figure 9] 13A shows that channel 3 has been used as a communication channel, and FIG. 13B shows a case in which channel 3 used for wireless communication remains available for wireless communication, while channel 2, which is being considered for restoration, and channel 1, which is the other adjacent channel to channel 2, have been deleted by a deletion determination process. [Figure 10] FIG. 1A shows that channel 3 has been used as a communication channel, and FIG. 1B shows a case in which channel 3 used for wireless communication remains available for wireless communication, channel 2 being considered for reversion has been deleted, and channel 1, the other adjacent channel to channel 2, is available for wireless communication. [Figure 11] FIG. 11 is a diagram showing an example of the relationship between the RSSI value of each communication channel and the one-sided RSSI threshold and the two-sided RSSI threshold when only the communication channel on one side adjacent to a deleted communication channel that is being considered for restoration is available for wireless communication. [Figure 12]11 is a diagram showing an example of the relationship between the RSSI value of each communication channel and the two-sided RSSI threshold when both communication channels on both sides of a deleted communication channel that is being considered for restoration are available for wireless communication. FIG. [Figure 13] 13 is a flowchart showing a part of a detailed example of a communication channel restoration determination process in the second embodiment. [Figure 14] 13 is a flowchart showing the remaining part of a detailed example of the communication channel restoration determination process in the second embodiment. [Figure 15] 13 is a diagram showing the relationship between a communication channel to be considered for restoration and nearby communication channels in the restoration determination process of the second embodiment. FIG. [Figure 16] (a) shows that channel 3 has been used as a communication channel, and (b) shows the threshold relaxation pattern when only the communication channel on one side of the deleted channel 2 that is being considered for restoration is usable for wireless communication. [Figure 17] 16(b) is a diagram showing an example of the relationship between the RSSI value of each communication channel and the one-sided RSSI threshold and relaxed one-sided RSSI threshold when the threshold relaxation pattern of FIG. 16(b) applies. FIG. [Figure 18] 13(a) to 13(c) are diagrams illustrating patterns other than the threshold relaxation pattern when only a communication channel on one side of deleted channel 2 that is being considered for restoration is available for wireless communication. [Figure 19] FIG. 19 is a diagram showing an example of the relationship between the RSSI value of each communication channel and the one-sided RSSI threshold value when the pattern in FIG. 18(a) applies. [Figure 20] 13A shows that channel 3 has been used as a communication channel, and FIG. 13B shows a threshold relaxation pattern when the communication channels on both sides of the deleted channel 2 that is being considered for restoration are available for wireless communication. [Figure 21] FIG. 21 is a diagram showing an example of the relationship between the RSSI value of each communication channel and the two-sided RSSI threshold and the relaxed two-sided RSSI threshold in the case where the threshold relaxation pattern in FIG. 20(b) applies. [Figure 22]13(a) to 13(c) are diagrams illustrating patterns other than the threshold relaxation pattern when communication channels on both sides of deleted channel 2 that is being considered for restoration are available for wireless communication. [Figure 23] FIG. 23 is a diagram showing an example of the relationship between the RSSI value of each communication channel and the two-sided RSSI threshold value in the case where the pattern in FIG. 22(a) applies. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] Hereinafter, preferred embodiments of the present disclosure will be described with reference to the drawings. Note that the same or similar configurations may be omitted from description by assigning the same reference number across multiple drawings. When only a portion of a configuration is described in each embodiment, the configuration of another embodiment described above may be applied to the other portion of the configuration. In addition to the combination of configurations explicitly stated in the description of each embodiment, configurations of multiple embodiments may be partially combined together even if not explicitly stated, as long as there is no particular problem with the combination.
[0014] (First embodiment) A wireless communication system and a wireless communication method according to the first embodiment will be described below. The wireless communication system of this embodiment includes a master device and a slave device. At least one of the master device and the slave device can be mounted on a moving object and used. The moving object includes, for example, a vehicle such as an automobile or a railroad car, an aircraft such as an electric vertical take-off and landing aircraft or a drone, a ship, a construction machine, an agricultural machine, and the like.
[0015] As a specific application in a vehicle, the wireless communication system according to the present embodiment can be applied to a battery management system that manages batteries mounted as a battery pack in an electric vehicle, a hybrid vehicle, a plug-in hybrid vehicle, or other electric vehicle. When applied to the battery management system, for example, a master device is connected to a battery control device, and multiple slave devices are connected to monitoring devices provided for multiple battery stacks that make up the battery pack. In this case, both the master device and the slave device are mounted in the vehicle.
[0016] Each monitoring device provided for each of the battery stacks acquires battery information such as the voltage and current of each battery cell included in the corresponding battery stack, the temperature of the battery stack, etc., using various sensors. Then, when each monitoring device receives data requesting battery information from the battery control device via the wireless communication system, it transmits the acquired battery information to the battery control device via the wireless communication system. Based on the acquired battery information, the battery control device calculates the state of charge (SOC) of the entire battery stack, drives a heating / cooling mechanism to adjust the temperature of the battery pack to an appropriate range, and determines whether or not it is necessary to perform a so-called equalization process to equalize the voltages of each battery cell. When the battery control device determines that it is necessary to perform an equalization process in at least one battery stack, it instructs the corresponding monitoring device to perform the equalization process via the wireless communication system. Also, each monitoring device performs a process to determine abnormalities in various sensors and in its own operation, and when an abnormality is determined, it transmits abnormality information to the battery control device via the wireless communication system.
[0017] Alternatively, the wireless communication system according to the present embodiment may be applied to a so-called smart key system or a tire pressure monitoring system in a vehicle. When applied to a smart key system, for example, the master device is mounted on the vehicle and connected to a control device that controls locking and unlocking of the vehicle door and on / off of a driving source such as the engine of the vehicle. The slave devices are mounted on portable keys or portable terminals held by multiple users. When applied to a tire pressure monitoring system, the master device is mounted on the vehicle and connected to a control device that displays the tire pressure and issues a warning when the tire pressure is abnormal. The slave devices are provided in each tire and connected to an air pressure detection device also provided in each tire. Furthermore, the wireless communication system according to the present embodiment may be applied to a vehicle diagnosis system. In this case, for example, the slave devices are connected to multiple on-board devices having a self-diagnosis function, and the master device is connected to a diagnosis control device installed in a service factory. In these examples, at least one of the master device and the multiple slave devices is disposed at a fixed position and / or at least one is mounted on the vehicle.
[0018] However, application examples of the wireless communication system according to the present embodiment are not limited to vehicles, and as described above, the system can be applied to systems that control and manage various equipment of moving objects other than vehicles, such as aircraft such as drones, ships, construction machinery, agricultural machinery, etc. Furthermore, the wireless communication system according to the present embodiment can be applied to systems that control and manage various equipment of buildings such as buildings, production facilities such as factories, etc.
[0019] 1 is a block diagram showing a schematic configuration of a wireless communication system 10. Both a master device 20 and a slave device 30 of the wireless communication system 10 are mounted on, for example, a vehicle (automobile). In this case, the master device 20 and the slave device 30 may be configured to be arranged in a common housing, or may not be arranged in a common housing. There may be one master device 20 or more. Similarly, there may be one slave device 30 or more. The master device 20 and the slave device 30 perform wireless communication via one communication channel sequentially selected from a plurality of communication channels, such as Bluetooth Low Energy (Bluetooth is a registered trademark, hereinafter referred to as Bluetooth LE) communication.
[0020] As an example, the wireless communication system 10 of the present embodiment includes one master device 20 and multiple slave devices 30. Although only one slave device 30 is shown in Fig. 1 for the sake of simplicity, all of the multiple slave devices 30 may be configured in the same manner.
[0021] In the wireless communication between the master device 20 and the slave device 30, a frequency band used in short-distance communication, such as the 2.4 GHz band or the 5 GHz band, can be used. Radio waves in such high-frequency bands tend to travel in a more directional manner than radio waves in the LF band, and tend to be reflected by metal objects such as the body of a vehicle. LF is an abbreviation for Low Frequency. For example, Bluetooth and Bluetooth LE can be adopted as standards for short-distance communication. As an example, the master device 20 and the slave device 30 of this embodiment are configured to be able to perform wireless communication in accordance with the Bluetooth LE standard. Details of the communication method related to communication connection and encrypted communication are performed according to a sequence defined in the Bluetooth LE standard.
[0022] 1, the master device 20 includes a control circuit (CNT) 21, a wireless communication circuit (WC) 22, and an antenna 23. In addition to the above-mentioned elements, the master device 20 also includes an input / output interface and a bus line for communicating with devices other than the slave device 30 in a wired or wireless manner.
[0023] The control circuit 21 includes, for example, a processor 211 and a memory 212. The memory 212 includes, for example, a RAM and a ROM. RAM is an abbreviation for Random Access Memory. ROM is an abbreviation for Read Only Memory.
[0024] In the control circuit 21, the processor 211 executes a program stored in the ROM while using the RAM as a temporary storage area, thereby performing a predetermined process (control). The processor 211 executes a plurality of instructions included in the program, thereby constructing a plurality of functional units. The storage medium for the program is not limited to the ROM. For example, various storage media such as an HDD or SSD can be adopted. HDD is an abbreviation for Hard-disk Drive. SSD is an abbreviation for Solid State Drive.
[0025] The processor 211 is, for example, a CPU, an MPU, a GPU, or a DFP. CPU is an abbreviation for Central Processing Unit. MPU is an abbreviation for Micro-Processing Unit. GPU is an abbreviation for Graphics Processing Unit. DFP is an abbreviation for Data Flow Processor. The control circuit 21 may be realized by combining multiple types of arithmetic processing devices such as a CPU, an MPU, and a GPU.
[0026] The control circuit 21 may be realized as an SoC. SoC is an abbreviation for System on Chip. The control circuit 21 may be realized using an ASIC or an FPGA. ASIC is an abbreviation for Application Specific Integrated Circuit. FPGA is an abbreviation for Field-Programmable Gate Array.
[0027] The control circuit 21 generates a command requesting processing from the slave device 30 (e.g., a command requesting data, a command requesting execution of a predetermined process, etc.), and transmits transmission data including the command in a transmission packet to the wireless communication circuit 22. The control circuit 21 also receives a packet transmitted from the slave device 30, and executes a predetermined process based on the data included in the received packet. That is, the wireless communication between the master device 20 and the slave device 30 is packet communication.
[0028] The wireless communication circuit 22 includes an RF circuit (not shown) for wirelessly transmitting and receiving packets. The wireless communication circuit 22 has a transmission function of modulating a transmission signal and oscillating at the frequency of an RF signal. The wireless communication circuit 22 also has a reception function of demodulating a reception signal. RF is an abbreviation for radio frequency.
[0029] The wireless communication circuit 22 modulates a packet including the data transmitted from the control circuit 21 and transmits it to the slave device 30 via the antenna 23. The control circuit 21 outputs to the wireless communication circuit 22 data obtained by encrypting transmission data such as battery information request data using encryption information exchanged in a connection establishment process described later. The wireless communication circuit 22 adds data necessary for wireless communication such as communication control information to the transmission packet and transmits it. The data necessary for wireless communication includes, for example, an identifier (ID), a sequence number, a next sequence number, an error detection code, and the like. The wireless communication circuit 22 may control the data size, communication format, schedule, error detection, and the like of the communication between the master device 20 and the slave device 30. The control circuit 21 may perform control related to these communications.
[0030] The wireless communication circuit 22 receives the packets transmitted from the slave device 30 via the antenna 23 and demodulates them. Then, it transmits the demodulated packets to the control circuit 21. The antenna 23 converts the electrical signals into radio waves and radiates them into space. The antenna 23 receives the radio waves propagating through space and converts them into electrical signals.
[0031] 1, the slave device 30 includes a control circuit (CNT) 31, a wireless communication circuit (WC) 32, and an antenna 33. In addition to the above-mentioned elements, the slave device 30 also includes an input / output interface and a bus line for wired or wireless communication with devices other than the master device 20. The control circuit 31 has a similar configuration to the control circuit 21 of the master device 20. The control circuit 31 includes, for example, a processor 311 and a memory 312. The memory 312 includes, for example, a RAM and a ROM.
[0032] The control circuit 31 executes the requested processing (such as a response processing of acquiring and returning the requested data, or a processing of executing the requested processing) based on the request command acquired via the wireless communication circuit 32. For example, if the request command included in the received data is a request to transmit battery information, the control circuit 31 of the slave device 30 transmits the transmission request to a monitoring device of the corresponding battery stack and acquires the battery information from the monitoring device. Then, in response to the request, the control circuit 31 transmits data encrypted using the encryption information, including the processing result (for example, the acquired battery information), to the wireless communication circuit 32. The control circuit 31 can also execute control of equipment mounted on a vehicle, for example, in accordance with the requested processing.
[0033] The wireless communication circuit 32 includes an RF circuit (not shown) for wirelessly transmitting and receiving packets. The wireless communication circuit 32 has a transmitting function and a receiving function, similar to the wireless communication circuit 22. The wireless communication circuit 32 receives the packet transmitted from the master device 20 via the antenna 33 and demodulates it. Then, it transmits the data contained in the demodulated packet to the control circuit 31. The wireless communication circuit 32 modulates the packet containing the data transmitted from the control circuit 31 and transmits it to the master device 20 via the antenna 33. The wireless communication circuit 32 adds data necessary for wireless communication, such as communication control information, to the transmission packet and transmits it.
[0034] The wireless communication circuit 32 may control the data size, communication format, schedule, error detection, etc. of the communication between the master device 20 and the slave device 30. The control circuit 31 may perform control related to these communications. The antenna 33 converts an electric signal into a radio wave and radiates it into space. The antenna 33 receives the radio wave propagating through space and converts it into an electric signal.
[0035] Fig. 2 is a diagram showing an example of an electric field strength distribution in a communication environment between the master unit 20 and the slave unit 30. Fig. 2 shows the results of an electromagnetic field simulation at a specific timing at a specific frequency. Hereinafter, the electric field strength distribution may be referred to as the electric field distribution.
[0036] The master unit 20 and the slave unit 30 are disposed, for example, at predetermined positions in a vehicle. When a radio wave signal of a predetermined frequency is transmitted from the master unit 20 and the slave unit 30 disposed at the respective predetermined positions, parts of high and low electric field strength are generated in the usage environment due to interference between the transmitted wave and the reflected wave and interference with external noise. The reflected wave is generated by reflection from metal elements of the vehicle present around the master unit 20 and the slave unit 30, such as reflection from the vehicle body, reflection from a metal casing, and reflection from a harness. For this reason, the communication environment of the master unit 20 and the slave unit 30 has a plurality of so-called NULL points, which are parts of high electric field strength and parts of low electric field strength, as shown in FIG. 2.
[0037] If the slave unit 30 is located in or near a portion of low electric field strength in the electric field distribution with the master unit 20, the slave unit 30 is more likely to be unable to correctly receive the wireless signal from the master unit 20, which may result in a communication error. A communication channel with a high probability of causing such a communication error is a communication channel with degraded communication quality.
[0038] When the master device 20 and the slave device 30 perform wireless communication via one communication channel selected in sequence from a plurality of communication channels, the frequency of each communication channel is different, and therefore the electric field distribution of each communication channel may also change. As a result, the communication quality of each communication channel may differ.
[0039] For example, as shown in FIG. 3, in wireless communication via communication channel A, the received power (received signal strength), which is one of the parameters indicating the communication quality, is good. In addition, in wireless communication via communication channel C, the received power indicates a very high value. Therefore, when the master device 20 and the slave device 30 use communication channels A and C, which have good or very high communication quality, they can perform high-quality wireless communication in which communication errors are sufficiently suppressed. On the other hand, in wireless communication via communication channels B and N, the received power is low. Therefore, when the master device 20 and the slave device 30 use communication channels B and N, which have poor communication quality, there is a high possibility that a communication error will occur in the wireless communication. Note that in FIG. 3, for ease of understanding, an example of the received power (received signal strength) versus frequency is shown by a solid line.
[0040] Therefore, it is preferable that wireless communication between the master device 20 and the slave device 30 be performed using a communication channel that can perform high-quality wireless communication, avoiding communication channels with degraded communication quality.
[0041] However, the electric field distribution between the master device 20 and the slave device 30 changes depending on the external environment (such as external noise) and vibrations of the master device 20 and / or the slave device 30 (including vibrations of the harness). Therefore, when the master device 20 and / or the slave device 30 are mounted on a vehicle, the electric field distribution of the communication environment between the master device 20 and the slave device 30 changes depending on, for example, the vibrations of the vehicle and the state of the surrounding environment of the vehicle. As a result, the communication channels with good communication quality and the communication channels with deteriorated communication quality are not fixed but may change from moment to moment. Therefore, it is required to monitor the communication quality of each communication channel and set the communication channel whose communication quality is determined to be deteriorated as a communication channel to be avoided. Furthermore, it is required to restore the communication channel that has been deleted from the multiple communication channels to be used for wireless communication as a communication channel to be avoided, in response to an improvement in the communication quality of the communication channel that has been deleted from the multiple communication channels to be used for wireless communication.
[0042] In the wireless communication system 10 of this embodiment, a control process for realizing wireless communication between the master device 20 and the slave device 30 using a communication channel other than a communication channel whose communication quality has deteriorated, including the deletion of a communication channel whose communication quality has been determined to have deteriorated and the restoration of a deleted communication channel, will be described with reference to the diagram showing the communication sequence between the master device 20 and the slave device 30 shown in Fig. 4. In Fig. 4, the master device 20 is indicated as MASTER and the slave device 30 as SLAVE.
[0043] First, the master device 20 and the slave device 30 execute a connection establishment process before executing the communication sequence shown in Fig. 4. When the wireless communication system 10 is mounted on a vehicle, for example, when the IG signal is switched from off to on by a user operation, the connection establishment process is executed. This connection establishment process is executed between the master device 20 and all slave devices 30 that are targets for wireless communication connection with the master device 20. Note that, when the master device 20 and the slave device 30 are constantly connected, the connection establishment process is executed only once at a predetermined timing. However, when an error occurs during communication and the wireless communication connection between the master device 20 and the slave device 30 is disconnected, the connection establishment process may be executed to reconnect.
[0044] In the connection establishment process, for example, the slave device 30 performs an advertising operation to transmit an advertising signal via a communication channel for advertising, and the master device 20 performs a scanning operation to scan for the advertising signal. The communication channel for advertising includes multiple communication channels (for example, three in the case of Bluetooth LE). When the master device 20 receives an advertising signal through the scanning operation, it transmits a connection request to the slave device 30 that transmitted the advertising signal. This establishes a communication connection between the master device 20 and the slave device 30. Furthermore, after the communication connection is established, the master device 20 and the slave device 30 exchange encryption information and share initial information related to frequency channel hopping. The initial information includes, for example, a hopping pattern or a function for hopping.
[0045] When the connection establishment process is completed, the master device 20 and the slave device 30 execute data communication via a data communication channel that is selected in sequence from the multiple communication channels for each communication event that occurs periodically. In the case of Bluetooth LE, 37 communication channels are prepared as data communication channels. For example, as shown in Fig. 4, in step S10, the master device 20 transmits a data request command, i.e., a data request, to the slave device 30. When the slave device 30 receives the data request in step S210, it executes a predetermined process required for responding, i.e., a process of acquiring and transmitting the requested data, in step S220.
[0046] The master unit 20 and the slave unit 30 switch the communication channel for data to be used by performing frequency channel hopping for each communication event, and transmit and receive a data request or requested data. At this time, the master unit 20 and the slave unit 30 determine the communication channel to be switched by frequency channel hopping according to a channel map described later.
[0047] In step S20, the master device 20 receives the requested data. In step S30, the master device 20 performs, for example, a checksum check based on the error detection code included in the received data to confirm whether the data has been received correctly. In the following step S40, if the master device 20 determines that the data has not been received correctly in the process of step S30, it determines whether to execute a process for retransmission within the same communication event. For example, if there is enough time until the end time of the current communication event to perform retransmission, the master device 20 can decide to perform retransmission, and if there is no time, it can decide not to perform retransmission. In step S40, if the master device 20 determines to perform retransmission, it executes the process from step S10 again. If it is determined that the data has been received correctly in the process of step S30, or if it is determined not to perform retransmission in step S40, the master device 20 proceeds to the process of step S50.
[0048] In step S50, the master device 20 executes a process based on information included in the received data. If it is determined in step S30 that the data has not been received correctly and it is determined in step S40 that retransmission is not to be performed, the process of step S50 may be omitted or the process of step S50 may be executed based on the previously received data.
[0049] In step S60, the master device 20 detects a received signal strength indicator (RSSI) and a packet error rate (PER) as characteristic data indicating the communication quality of the signal received from the slave device 30. The PER is a percentage of the number of error packets to the number of packets received by the master device 20. The master device 20 may detect a signal-to-noise ratio (SNR) / signal-to-interference-to-noise ratio (SINR) instead of the RSSI. For example, the SNR / SINR can be detected by the ratio between the RSSI value when the master device 20 receives a wireless signal from the slave device 30 and the RSSI value when the master device 20 does not receive a wireless signal. The master device 20 may also detect a bit error rate (BER) instead of the PER. The master device 20 saves and accumulates the detected RSSI or SNR / SINR and the PER or BER for each communication channel. In addition to or instead of the master device 20 detecting the characteristics data indicating the communication quality as described above, the slave device 30 can also obtain the characteristics data by detecting the RSSI, PER, etc. when receiving a signal from the master device 20 and transmitting them to the master device 20.
[0050] In step S70, the master device 20 determines a deterioration in the communication quality of the communication channel based on the characteristic data indicating the communication quality detected in step S60. For example, the master device 20 compares the RSSI or SNR / SINR and the PER or BER with a deletion threshold for determining a deterioration in the communication quality. Then, when at least one type of characteristic data satisfies the deletion threshold, the corresponding communication channel is deleted from the multiple communication channels used for wireless communication between the master device 20 and the slave device 30. Note that the communication channel to be deleted is a communication channel for data. In this way, the communication channel with the deteriorated communication quality is deleted from the communication channels used for wireless communication.
[0051] In step S80, the master device 20 executes a restoration determination for the deleted communication channel that was determined to be deleted during the previous communication event. Specifically, the master device 20 determines whether the deleted communication channel can be restored to the multiple communication channels used for wireless communication based on the characteristic data of the communication channels adjacent to the deleted communication channel. Generally, the communication quality of the adjacent communication channel is correlated with the communication quality of the deleted communication channel because the frequencies are close. Therefore, based on the characteristic data of the adjacent communication channels with close frequencies, it is possible to determine with high accuracy whether the deleted communication channel can be restored. The restoration determination process for the deleted communication channel will be described in detail later. Then, the communication channel determined to be restored as the communication channel to be used for wireless communication is actually used for wireless communication between the master device 20 and the slave device 30. However, if the communication quality when actually used for wireless communication remains deteriorated, it may be subject to the deletion determination again.
[0052] In step S90, the master device 20 creates a channel map based on the results of the deletion determination in step S70 and the return determination in step S80. This channel map may indicate communication channels that can be used for wireless communication, or may indicate communication channels that cannot be used. Furthermore, it may indicate both communication channels that can be used and communication channels that cannot be used. Note that, if the creation of the channel map results in a change in the available / unavailable communication channels, the frequency channel hopping pattern may be updated. If the frequency channel hopping pattern is not updated, for example, if the communication channel to be hopped is unavailable, the communication channel to be hopped next may be used.
[0053] In step S100, the master device 20 transmits the created channel map to the slave device 30. In step S230, the slave device 30 receives the channel map transmitted from the master device 20. In step S240, the slave device 30 returns a reception confirmation signal (Ack signal) to the master device 20. In step S110, the master device 20 receives the Ack signal from the slave device 30. Then, in step S120, the master device 20 performs, for example, a checksum determination based on an error detection code included in the received Ack signal to determine whether the Ack signal has been correctly received. In the following step S130, if it is determined in the process of step S120 that the data has not been correctly received, the master device 20 determines whether or not to perform a process for retransmission within the same communication event. In step S130, if the master device 20 determines to perform retransmission, the master device 20 executes the process from step S100 again. If it is determined in the process of step S120 that the data has been correctly received, or if it is determined in step S130 that retransmission is not to be performed, the master device 20 ends the process shown in the flowchart of FIG.
[0054] In this manner, the channel map sharing process is performed between the master device 20 and the slave device 30. The master device 20 may perform the above-mentioned processes from steps S70 to S130 for each communication event, or may perform the processes after each set of multiple communication events.
[0055] Next, the process of determining whether or not a deleted communication channel should be restored in step S80 will be described in detail with reference to the flowchart of Fig. 5. The flowchart of Fig. 5 shows in detail an example of the process of determining whether or not a deleted communication channel should be restored.
[0056] In this embodiment, the master device 20 judges whether or not the deleted communication channel can be restored based on the characteristic data of a nearby communication channel that has a frequency close to that of the deleted communication channel. Therefore, as shown in FIG. 6, the master device 20 determines the communication channel that the master device 20 and the slave device 30 actually used for communication as the relevant channel (channel 3 in the example of FIG. 6), and determines the adjacent channels on both sides that have a frequency close to that of the relevant channel (channels 2 and 4 in the example of FIG. 6) as communication channels to be considered for restoration. Furthermore, the other adjacent channel (channels 1 and 5 in the example of FIG. 6) on the opposite side of the communication channel to be considered for restoration is determined as a target for acquiring state and characteristic data. The state of the other adjacent channel indicates whether it is available for wireless communication or has been deleted from the multiple communication channels used for wireless communication. Furthermore, if the other adjacent channel is available for wireless communication, the characteristic data of the other adjacent channel is also acquired.
[0057] In step S310 of the flowchart in FIG. 5, the master device 20 first determines whether the channel has been deleted from the multiple communication channels used for wireless communication in the deletion determination process in step S70. As shown in FIGS. 7(a) and (b), when the channel has been deleted in the deletion determination process, it is difficult to determine the improvement of the communication quality of the adjacent channel based on the characteristic data of the channel. Therefore, when the master device 20 determines that the channel has been deleted from the multiple communication channels used for wireless communication, it does not perform any more return determination process and ends the process shown in the flowchart in FIG. 5. Note that FIG. 7(a) shows that channel 3 has been used as a communication channel, and FIG. 7(b) shows that channel 3 has been deleted from the multiple communication channels used for wireless communication by the deletion determination process because the communication quality of wireless communication using channel 3 is low.
[0058] On the other hand, if the master unit 20 determines in step S310 that the channel has not been deleted, the process proceeds to step S320. In step S320, the master unit 20 acquires the states of adjacent channels on both sides of the channel under consideration for recovery, that is, the states indicating whether the adjacent channels on both sides have been deleted or are available. Then, in step S330, the master unit 20 determines whether the adjacent channels have been deleted based on the acquired states of the adjacent channels under consideration for recovery.
[0059] For example, as shown in Figures 8(a) and (b), if the adjacent channels on both sides of the channel have not been deleted and are available, there is no need to perform the recovery determination process. Therefore, if the master device 20 determines in step S330 that the adjacent channels on both sides of the channel have not been deleted, it does not perform any more recovery determination processes and ends the process shown in the flowchart of Figure 5. Note that Figure 8(a) shows that channel 3 is used as a communication channel, and Figure 8(b) shows a state in which channel 3 (the channel) used for wireless communication and the adjacent channels on both sides of the channel (channels 2 and 4) are all available for wireless communication.
[0060] On the other hand, if the master device 20 determines in step S330 that at least one of the adjacent channels has been deleted, the process proceeds to step S340 and subsequent steps. In other words, in this embodiment, when wireless communication is performed between the master device 20 and the slave device 30 via any one of the communication channels, if a communication channel adjacent to the communication channel used for the wireless communication (corresponding channel) has been deleted, the master device 20 performs the restoration determination process in step S340 and subsequent steps, treating the deleted communication channel as a restoration consideration target.
[0061] In step S340, the master device 20 acquires the state of the other adjacent channel on the opposite side of the deleted adjacent channel (subject to return consideration) and, if the other adjacent channel is available for wireless communication, characteristic data indicating the communication quality of the other adjacent channel. For example, in the example shown in Fig. 6, if adjacent channel 2, which is the subject of return consideration, has been deleted, the master device 20 acquires the state of channel 1, which is the other adjacent channel of adjacent channel 2, and, if channel 1 has not been deleted, characteristic data of channel 1. In addition, if adjacent channel 4, which is the subject of return consideration, has been deleted, the master device 20 acquires the state of channel 5, which is the other adjacent channel of adjacent channel 4, and, if channel 5 has not been deleted, characteristic data of channel 5.
[0062] In step S350, it is determined whether the other adjacent channel has been deleted based on the state of the other adjacent channel acquired in step S340. In this step S350, if the adjacent channel to be considered for return has been deleted, the other adjacent channel on the opposite side of the channel to be considered for return is determined. Therefore, if both adjacent channels on both sides of the channel have been deleted, the determination in step S350 is performed separately for the two other adjacent channels. In step S350, if it is determined that the other adjacent channel has been deleted, the master device 20 proceeds to the process of step S360. On the other hand, in step S350, if it is determined that the other adjacent channel has not been deleted and is available for wireless communication, the master device 20 proceeds to the process of step S380.
[0063] 9(a) and (b) show a case where the other adjacent channel has already been deleted. That is, FIG. 9(a) shows that channel 3 was used as a communication channel, and FIG. 9(b) shows a case where channel 3 (corresponding channel) used for wireless communication is maintained available because no degradation of communication quality was determined in wireless communication, but the adjacent channel (channel 2) being considered for return and the other adjacent channel (channel 1) of the adjacent channel being considered for return have been deleted by the deletion determination process. In this case, the possibility of return of the adjacent channel (channel 2) being considered for return is determined based only on the characteristic data of the corresponding channel (channel 3) available for wireless communication.
[0064] Also, Figures 10(a) and (b) show a case where the other adjacent channel has not been deleted and is available for wireless communication. That is, Figure 10(a) shows that channel 3 was used as a communication channel, and Figure 10(b) shows a case where channel 3 (corresponding channel) used for wireless communication is maintained available because no degradation of communication quality was determined in wireless communication, and the adjacent channel (channel 2) of the corresponding channel that is the subject of recovery consideration has been deleted, but the other adjacent channel (channel 1) is available for wireless communication. In this case, whether or not the adjacent channel (channel 2) that is the subject of recovery consideration can be restored is determined based on the characteristic data of the corresponding channel (channel 3) that can be used for wireless communication and the other adjacent channel (channel 1).
[0065] In this embodiment, whether or not the deleted communication channel can be restored is determined according to different criteria when only one of the communication channels adjacent to the deleted communication channel to be considered for restoration is available for wireless communication and when both communication channels adjacent to the deleted communication channel to be considered for restoration are available for wireless communication. Below, examples of the criteria for the cases when only one of the communication channels is available for wireless communication and when both communication channels are available for wireless communication are described.
[0066] Steps S360 and S370 are executed when it is determined in step S350 that the other adjacent channel has been deleted. These steps show an example of a determination criterion when only one communication channel (i.e., the corresponding channel) is available for wireless communication. In step S360, it is determined whether or not the RSSI value, which is one of the characteristic data of the available communication channel on one side (i.e., the corresponding channel), is greater than the one-side RSSI threshold. In addition, in step S370, it is determined whether or not the PER value, which is another one of the characteristic data of the available communication channel on one side (i.e., the corresponding channel), is smaller than the one-side PER threshold. Note that the larger the RSSI value, the better the communication quality, and the smaller the PER value, the better the communication quality. In addition, the RSSI value and the PER value may be the RSSI value and the PER value detected in step S60 when the corresponding channel was used in the immediately previous wireless communication, or may be the average value of a predetermined number of RSSI values and PER values detected in multiple past wireless communications, or the median value thereof.
[0067] 11 shows an example of the relationship between the RSSI value and the one-sided RSSI threshold and the two-sided RSSI threshold when only one of the communication channels adjacent to the deleted communication channel under consideration for restoration is available for wireless communication. The one-sided RSSI threshold is a threshold for determining whether or not restoration is possible when only one of the communication channels adjacent to the deleted communication channel under consideration for restoration is available for wireless communication. The two-sided RSSI threshold is a threshold for determining whether or not restoration is possible when both communication channels adjacent to the deleted communication channel under consideration for restoration are available for wireless communication.
[0068] When only one of the communication channels adjacent to the deleted communication channel to be considered for restoration is available for wireless communication, as described above, the possibility of restoration of the adjacent channel to be considered for restoration is determined based only on the characteristic data of the communication channel (corresponding channel) available for wireless communication. For this reason, as shown in FIG. 11, for example, the one-sided RSSI threshold is set relatively large compared to the two-sided RSSI threshold to such an extent that the RSSI value of the adjacent channel (channel 2) to be considered for restoration can be considered to have improved at least to the deletion threshold or more. In step S360, the master device 20 determines whether the RSSI value of the communication channel (corresponding channel) available for wireless communication satisfies (exceeds) the one-sided RSSI threshold thus set relatively large. The one-sided PER threshold in step S370 is also set relatively small compared to the two-sided PER threshold, based on the same concept as the one-sided RSSI threshold in step S360. In step S370, the master device 20 determines whether the PER value of the communication channel (corresponding channel) available for wireless communication satisfies (is below) the one-sided PER threshold.
[0069] If it is determined in step S360 that the RSSI value does not satisfy the one-sided RSSI threshold or if it is determined in step S370 that the PER value does not satisfy the one-sided PER threshold, the master device 20 considers that the adjacent channel to be considered for recovery is not recoverable, and ends the process shown in the flowchart of Fig. 5. On the other hand, if it is determined in step S360 that the RSSI value satisfies the one-sided RSSI threshold and if it is determined in step S370 that the PER value satisfies the one-sided PER threshold, the master device 20 determines in step S420 that the adjacent channel to be considered for recovery that has been deleted is recoverable. After that, the master device 20 ends the process shown in the flowchart of Fig. 5 and returns to the process of the flowchart of Fig. 4. Note that in steps S360 and S370, two types of characteristic data (RSSI value and PER value) are compared with the respective one-sided thresholds, but the characteristic data to be compared with the one-sided thresholds may be one type or three or more types.
[0070] On the other hand, steps S380, S390, S400 and S410, which are executed when it is determined in step S350 that the other adjacent channel has not been deleted, show examples of criteria for when both communication channels on both sides (i.e., the channel in question and the other adjacent channel) are both available for wireless communication.
[0071] When both communication channels on both sides of a deleted communication channel that is the subject of restoration consideration are available for wireless communication, for example, the RSSI value of the adjacent channel (channel 2) that is the subject of restoration consideration is also likely to exhibit an RSSI value larger than the deletion threshold, as shown in Fig. 12. Therefore, the two-sided RSSI threshold shown in Fig. 12 is set to a value relatively smaller than the one-sided RSSI threshold described above.
[0072] In step S380, the master device 20 calculates the average value of the RSSI values of the relevant channel and the other adjacent channel. The RSSI value of the other adjacent channel is based on the RSSI value detected when wireless communication is performed using the other adjacent channel and stored. In step S390, the master device 20 determines whether the average RSSI value calculated in step S380 satisfies (exceeds) a two-sided RSSI threshold that is set relatively lower than the one-sided RSSI threshold.
[0073] In step S400, the master device 20 determines whether the PER value of the relevant channel, which is one of the communication channels on both sides that can be used for wireless communication, meets (is below) a two-sided PER threshold that is set relatively larger than the one-sided PER threshold. In step S410, the master device 20 determines whether the PER value of the other adjacent channel, which is another one of the communication channels on both sides that can be used for wireless communication, meets (is below) a two-sided PER threshold that is set relatively larger than the one-sided PER threshold.
[0074] If it is determined in step S390 that the RSSI average value does not satisfy the both-sided RSSI thresholds, if it is determined in step S400 that the PER value of the corresponding channel does not satisfy the both-sided PER thresholds, or if it is determined in step S410 that the PER value of the other adjacent channel does not satisfy the both-sided PER thresholds, the master device 20 considers that the adjacent channel to be considered for recovery is not recoverable, and ends the process shown in the flowchart of Fig. 5. On the other hand, if it is determined in step S390 that the RSSI average value satisfies the both-sided RSSI thresholds, if it is determined in step S400 that the PER value of the corresponding channel satisfies the both-sided PER thresholds, and if it is determined in step S410 that the PER value of the other adjacent channel satisfies the both-sided PER thresholds, the master device 20 proceeds to step S420 and determines that the recovery of the deleted adjacent channel to be considered for recovery is recoverable. After that, the master device 20 ends the process shown in the flowchart of Fig. 5 and returns to the process shown in the flowchart of Fig. 4.
[0075] In steps S380 to S410, two types of characteristic data (RSSI value and PER value) are compared with the threshold value, but the characteristic data to be compared with the threshold value may be one type or three or more types. In the above example, the average value of the RSSI value of the corresponding channel and the RSSI value of the other adjacent channel is calculated for the RSSI value, and the calculated RSSI average value is compared with the both-side RSSI threshold value, but the RSSI value of the corresponding channel and the RSSI value of the other adjacent channel may be compared with the both-side RSSI threshold value, respectively. Furthermore, in the above example, the PER value of the corresponding channel and the PER value of the other adjacent channel are compared with the both-side PER threshold value, but the average value of the PER value of the corresponding channel and the PER value of the other adjacent channel may be calculated, and the calculated PER average value may be compared with the both-side PER threshold value. In addition, in the above example, two types of characteristic data (RSSI value and PER value) are compared with the threshold value, but it may be determined that the deleted communication channel can be restored to multiple communication channels used for wireless communication if the communication channels on both sides of the channel being considered for restoration are usable for wireless communication.
[0076] In this way, according to the present embodiment, whether or not a deleted communication channel can be restored from a plurality of communication channels used for wireless communication is determined based on characteristic data of one or both adjacent communication channels having a frequency close to that of the deleted communication channel. In general, the communication quality of the adjacent communication channels is correlated with the communication quality of the deleted communication channel because the frequencies are close. Therefore, based on the characteristic data of the adjacent communication channels having a frequency close to that of the deleted communication channel, it is possible to determine with high accuracy whether or not the deleted communication channel can be restored.
[0077] Second embodiment Next, a wireless communication system and a wireless communication method according to a second embodiment of the present disclosure will be described with reference to the drawings. The wireless communication system according to this embodiment is configured similarly to the wireless communication system according to the first embodiment, and therefore the description of the configuration will be omitted.
[0078] The wireless communication system according to this embodiment differs from the wireless communication system according to the first embodiment only in the recovery determination process of the communication channel. Therefore, the recovery determination process performed in the wireless communication system according to this embodiment will be described below with reference to the flowcharts of Figures 13 and 14. Note that in the recovery determination process shown in the flowcharts of Figures 13 and 14, the processes of steps S352, S354, S356, S358, S381, S382, S383, S384, and S385 are added to the recovery determination process shown in the flowchart of Figure 5. Therefore, in the following description, the process added to the flowcharts of Figures 13 and 14 will be mainly described.
[0079] In step S352, the status of the communication channels of ±2CH of the deleted channel to be considered for restoration is acquired. For example, as shown in FIG. 15, when the deleted channel to be considered for restoration is channel 2, the communication channels of ±2CH correspond to channel 0 and channel 4, and when the deleted channel to be considered for restoration is channel 4, the communication channels of ±2CH correspond to channel 2 and channel 6. Since the statuses of channel 2 and channel 4 have already been acquired in step S320, in the end, in step S352, when the channel to be considered for restoration is channel 2, the status of channel 0 is acquired, and / or when the channel to be considered for restoration is channel 4, the status of channel 6 is acquired. Note that the communication channels of ±2CH can be defined as the communication channels (channels 0 and 4 for channel 2, channels 2 and 6 for channel 4) adjacent to the communication channels (channels 1 and 3 for channel 2, channels 3 and 5 for channel 4) on both sides of the deleted channel (channels 2 and 4) to be considered for restoration, respectively, on the opposite side to the deleted channel (channels 2 and 4) to be considered for restoration.
[0080] In step S354, the master device 20 determines whether or not the state of the communication channels close in frequency to the deleted channel being considered for restoration, specifically, the state of the communication channels ±1CH and ±2CH of the deleted channel being considered for restoration, corresponds to a threshold relaxation pattern for the case where only the communication channel on one side of the deleted communication channel being considered for restoration is usable for wireless communication. The threshold relaxation pattern for the case where only the communication channel on one side of the deleted communication channel being considered for restoration is usable for wireless communication will be described below.
[0081] When only one of the communication channels adjacent to the deleted communication channel being considered for restoration is available for wireless communication, as described in the first embodiment, the one-sided RSSI threshold to be compared with the RSSI value is set relatively larger than the two-sided RSSI threshold, and the one-sided PER threshold to be compared with the PER value is set relatively smaller than the two-sided PER threshold.
[0082] However, by considering the state of the ±2CH communication channels that are the subject of restoration consideration, it is possible to determine that the communication quality (RSSI value) of the deleted channel that is the subject of restoration consideration has improved to or above the deletion threshold, even if the RSSI value of the communication channel on one side is not so high. For example, as shown in FIG. 16(a), assume that channel 3 is the communication channel used for wireless communication, and channel 2 adjacent to channel 3 is the deleted channel. In this case, if channel 3 maintains a state where it can be used for wireless communication, the deleted channel 2 will be the subject of restoration consideration.
[0083] Then, as shown in Fig. 16(b), when both of the communication channels 0 and 4, which are ±2CH of the channel 2 being considered for restoration, are available for wireless communication, it can be said that the communication quality (RSSI value) of the deleted channel (channel 2) is highly likely to have improved to or above the deletion threshold even if the RSSI value of the communication channel on one side does not exceed the one-sided RSSI threshold, as shown in Fig. 17. In other words, as shown in Fig. 16(b), with regard to the communication channels (channel 1, channel 3) of ±1CH of the channel 2 being considered for restoration, only the communication channel on one side is available for wireless communication, but when both of the communication channels (channel 0, channel 4) of ±2CH of the channel 2 being considered for restoration are available for wireless communication, it is determined that the threshold relaxation pattern corresponds to the case where only the communication channel on one side of the deleted communication channel being considered for restoration is available for wireless communication. On the other hand, if the states of the communication channels ±1CH and ±2CH of the deleted channel being considered for restoration are patterns other than the threshold relaxation pattern shown in Figure 16(b), the master device 20 determines that they do not fall under the threshold relaxation pattern where only the communication channel on one side of the deleted communication channel being considered for restoration is usable for wireless communication.
[0084] 18(a) to 18(c) show patterns that do not correspond to the threshold relaxation pattern when only the communication channel on one side of the deleted communication channel that is the subject of restoration consideration is usable for wireless communication. Figs. 18(a) and 18(b) show patterns in which, for the communication channels (channel 1, channel 3) at ±1CH of channel 2 that is the subject of restoration consideration, only the communication channel on one side is usable for wireless communication, and also for the communication channels (channel 0, channel 4) at ±2CH of channel 2 that is the subject of restoration consideration, only the communication channel on one side is usable for wireless communication. Fig. 18(c) shows a pattern in which, for the communication channels (channel 1, channel 3) at ±1CH of channel 2 that is the subject of restoration consideration, only the communication channel on one side is usable for wireless communication, but for the communication channels (channel 0, channel 4) at ±2CH of channel 2 that is the subject of restoration consideration, both communication channels are deleted and cannot be used for wireless communication.
[0085] For example, FIG. 19 shows a representative example of the RSSI value of each channel in the case of the pattern shown in FIG. 18(a). As shown in FIG. 19, the two channels 0 and 1 on the left side of the channel 2 that is the subject of consideration for restoration have been deleted, and the RSSI values of these two channels are considered to be below the deletion threshold. Therefore, if the one-sided RSSI threshold is relaxed in the pattern shown in FIG. 18(a), even if the RSSI value of channel 2 has not improved to a level that exceeds the deletion threshold, the RSSI value of channel 3 may exceed the relaxed one-sided RSSI threshold. Therefore, in the pattern shown in FIG. 18(a), it is determined that the pattern does not correspond to the threshold relaxation pattern in which only the communication channel on one side of the deleted communication channel that is the subject of consideration for restoration is available for wireless communication. The same applies to the patterns shown in FIG. 18(b) and (c).
[0086] However, for the patterns shown in Figures 18(a) and (b), a relaxed one-sided threshold value that is less relaxed than the one-sided RSSI threshold value may be set, although the degree of relaxation is smaller than that of the pattern shown in Figure 16(b). This is because the patterns shown in Figures 18(a) and (b) can be considered to have a tendency toward improvement in communication quality compared to the pattern shown in Figure 18(c). In this way, the relaxed one-sided threshold value may be set in stages according to the state pattern of the communication channels of ±1CH and ±2CH of the deleted channel that is the subject of restoration consideration.
[0087] 13, if the master device 20 determines that the states of the communication channels of ±1CH and ±2CH of the deleted channel that is the subject of restoration consideration correspond to the threshold relaxation pattern, the process proceeds to step S356. On the other hand, if the master device 20 determines that the states of the communication channels of ±1CH and ±2CH of the deleted channel that is the subject of restoration consideration correspond to the threshold relaxation pattern, the process proceeds to step S360.
[0088] In step S356, the master device 20 uses a relaxed one-sided RSSI threshold that is more relaxed than the one-sided RSSI threshold to determine whether the RSSI value of one side of the communication channel (corresponding channel) available for wireless communication satisfies (exceeds) the one-sided RSSI threshold. In step S358, the master device 20 uses a relaxed one-sided PER threshold that is more relaxed than the one-sided PER threshold to determine whether the PER value of one side of the communication channel (corresponding channel) available for wireless communication satisfies (is below) the one-sided PER threshold.
[0089] In this manner, in this embodiment, when the state of the communication channels of ±1CH and ±2CH of the deleted channel that is the subject of restoration consideration corresponds to the threshold relaxation pattern in which only the communication channel on one side of the deleted communication channel that is the subject of restoration consideration is available for wireless communication, the master device 20 changes the one-sided RSSI threshold and one-sided PER threshold for determining restoration of the deleted channel to the relaxed one-sided RSSI threshold and relaxed one-sided PER threshold that indicate a lower communication quality than those thresholds. This can further improve the accuracy of determining whether or not the deleted channel can be restored. Note that the one-sided RSSI threshold and one-sided PER threshold correspond to the second restoration threshold, and the relaxed one-sided RSSI threshold and relaxed one-sided PER threshold correspond to the fourth restoration threshold.
[0090] The state of the ±2CH communication channel is determined according to characteristic data (RSSI, PER, etc.) when wireless communication is performed using the ±2CH communication channel. Therefore, as described above, changing the one-sided RSSI threshold and one-sided PER threshold in consideration of the state of the ±2CH communication channel in addition to the state of the ±1CH communication channel determines whether or not the deleted channel can be restored based on not only the characteristic data of the ±1CH communication channel of the deleted channel to be considered for restoration, but also the characteristic data of the ±2CH communication channel of the deleted channel to be considered for restoration. That is, in the present disclosure, the "neighboring communication channel" is a concept that includes not only the communication channel (±1CH) adjacent to the deleted channel to be considered for restoration, but also at least the communication channel (±2CH) adjacent to the adjacent communication channel (±1CH). Furthermore, the communication state of ±3CH may be considered as the neighboring communication channel.
[0091] If it is determined in step S356 that the RSSI value does not satisfy the relaxed one-sided RSSI threshold or if it is determined in step S358 that the PER value does not satisfy the relaxed one-sided PER threshold, the master device 20 considers that the restoration of the deleted channel being considered for restoration is not possible, and ends the process shown in the flowchart of Fig. 13. On the other hand, if it is determined in step S356 that the RSSI value satisfies the relaxed one-sided RSSI threshold and if it is determined in step S358 that the PER value satisfies the relaxed one-sided PER threshold, the master device 20 determines in step S420 that the restoration of the deleted channel being considered for restoration is possible. After that, the master device 20 ends the process shown in the flowchart of Fig. 13 and returns to the process in the flowchart of Fig. 4.
[0092] If it is determined in step S350 in Fig. 13 that the other adjacent channel has not been deleted, the master device 20 proceeds to step S380 in the flowchart in Fig. 14. In step S380, the master device 20 calculates the average value of the RSSI values of the relevant channel and the other adjacent channel. This is the same as the return determination process in the first embodiment.
[0093] In the next step S382, the master device 20 acquires the status of the communication channels ±2CH of the deleted channel that is the subject of restoration consideration. Then, in step S382, the master device 20 determines whether the status of the communication channels ±1CH and ±2CH of the deleted channel that is the subject of restoration consideration corresponds to a threshold relaxation pattern when both communication channels on both sides of the deleted communication channel that is the subject of restoration consideration are usable for wireless communication. The threshold relaxation pattern when both communication channels on both sides of the deleted communication channel that is the subject of restoration consideration are usable for wireless communication will be described below.
[0094] For example, as shown in Fig. 20(a), assume that channel 3 is a communication channel used for wireless communication, and channel 2 adjacent to channel 3 is a deleted channel. In this case, if channel 3 maintains a state in which it can be used for wireless communication, the deleted channel 2 becomes a target for consideration of restoration.
[0095] Then, as shown in FIG. 20(b), when the communication channels 0 and 4 of the ±2CH of the channel 2 to be considered for restoration are both available for wireless communication, even if the RSSI value of one of the ±1CH communication channels does not exceed the both-side RSSI threshold or the average value of the RSSI values of both communication channels does not exceed the both-side RSSI threshold as shown in FIG. 21, it can be said that the communication quality (RSSI value) of the deleted channel (channel 2) is highly likely to have improved to or above the deletion threshold. Therefore, as shown in FIG. 20(b), when the communication channels (channel 1, channel 3) of the ±1CH of the channel 2 to be considered for restoration are both available for wireless communication and further, when the communication channels (channel 0, channel 4) of the ±2CH of the channel 2 to be considered for restoration are both available for wireless communication, it is determined that the threshold relaxation pattern applies. On the other hand, when the pattern is other than the threshold relaxation pattern shown in FIG. 20(b), the master device 20 determines that the threshold relaxation pattern does not apply when the communication channels on both sides of the deleted communication channel to be considered for restoration are both available for wireless communication.
[0096] 22(a) to (c) show patterns that do not correspond to the threshold relaxation pattern when both communication channels on both sides of a deleted communication channel that is the subject of restoration consideration are usable for wireless communication. Figs. 22(a) and (b) show a pattern in which both communication channels (channel 1, channel 3) of channel 2, which is the subject of restoration consideration, are usable for wireless communication, but with respect to communication channels (channel 0, channel 4) of channel 2, which is the subject of restoration consideration, only one of the communication channels is usable for wireless communication. Fig. 22(c) shows a pattern in which both communication channels (channel 1, channel 3) of channel 2, which is the subject of restoration consideration, are usable for wireless communication, but with respect to communication channels (channel 0, channel 4) of channel 2, which is the subject of restoration consideration, both communication channels have been deleted and are not usable for wireless communication.
[0097] For example, FIG. 23 shows a representative example of the RSSI value of each channel in the case of the pattern shown in FIG. 22(a). As shown in FIG. 23, channel 0 corresponding to −2CH on the left side of channel 2, which is the subject of restoration consideration, has been deleted, and the RSSI value of channel 0 is considered to be below the deletion threshold. Therefore, if the both-side RSSI threshold is relaxed in the pattern shown in FIG. 22(a), even if the RSSI value of channel 2 has not improved to the extent that it exceeds the deletion threshold, the RSSI values of channel 1 and channel 3 may exceed the relaxed both-side RSSI threshold. Therefore, in the pattern shown in FIG. 22(a), it is determined that the pattern does not correspond to the threshold relaxation pattern in which both communication channels on both sides of the deleted communication channel, which is the subject of restoration consideration, are usable for wireless communication. The same applies to the patterns shown in FIG. 22(b) and (c).
[0098] However, for the patterns shown in Figures 22(a) and (b), relaxed two-sided thresholds may be set that are less relaxed than the two-sided RSSI thresholds, although the degree of relaxation is smaller than that of the pattern shown in Figure 20(b). This is because the patterns shown in Figures 22(a) and (b) can be considered to show an overall improvement in communication quality compared to the pattern shown in Figure 22(c). In this way, relaxed two-sided thresholds may be set in stages according to the state patterns of the communication channels of ±1CH and ±2CH of the deleted channel that is the subject of restoration consideration.
[0099] 14, if the master device 20 determines that the states of the communication channels ±1CH and ±2CH of the deleted channel under consideration for restoration correspond to the threshold relaxation pattern when both communication channels on both sides of the deleted communication channel under consideration for restoration are usable for wireless communication, the process proceeds to step S383. On the other hand, if the master device 20 determines that the states of the communication channels ±1CH and ±2CH of the deleted communication channel under consideration for restoration do not correspond to the threshold relaxation pattern when both communication channels on both sides of the deleted communication channel under consideration for restoration are usable for wireless communication, the process proceeds to step S390.
[0100] In step S383, the master device 20 determines whether the average RSSI value calculated in step S380 satisfies (exceeds) a relaxed both-side RSSI threshold that is relaxed (smaller) than the both-side RSSI threshold. In step S384, the master device 20 determines whether the PER value of the relevant channel, which is one of the communication channels on both sides that can be used for wireless communication, satisfies (is below) a relaxed both-side PER threshold that is relaxed (larger) than the both-side PER threshold. In step S385, the master device 20 determines whether the PER value of the other adjacent channel, which is another one of the communication channels on both sides that can be used for wireless communication, similarly satisfies (is below) the relaxed both-side PER threshold.
[0101] In this manner, in this embodiment, when the states of the communication channels of ±1CH and ±2CH of the deleted channel that is the subject of restoration consideration correspond to the threshold relaxation pattern in which both communication channels of the deleted communication channel that is the subject of restoration consideration are usable for wireless communication, the master device 20 changes the two-sided RSSI threshold and the two-sided PER threshold for determining restoration of the deleted channel to the relaxed two-sided RSSI threshold and the relaxed two-sided PER threshold that indicate a lower communication quality than those thresholds. This can further improve the accuracy of determining whether or not the deleted channel can be restored. Note that the two-sided RSSI threshold and the two-sided PER threshold correspond to the first restoration threshold, and the relaxed two-sided RSSI threshold and the relaxed two-sided PER threshold correspond to the third restoration threshold.
[0102] If it is determined in step S383 that the RSSI average value does not satisfy the relaxed two-sided RSSI threshold, if it is determined in step S384 that the PER value of the channel does not satisfy the relaxed two-sided PER threshold, or if it is determined in step S385 that the PER value of the other adjacent channel does not satisfy the relaxed two-sided PER threshold, the master device 20 considers that the restoration of the deleted channel to be considered for restoration is not possible, and ends the processing shown in the flowcharts of Figures 13 and 14. On the other hand, if it is determined in step S383 that the RSSI average value satisfies the relaxed two-sided RSSI threshold, if it is determined in step S384 that the PER value of the channel satisfies the relaxed two-sided PER threshold, and if it is determined in step S385 that the PER value of the other adjacent channel satisfies the relaxed two-sided PER threshold, the master device 20 proceeds to step S420 of the flowchart of Figure 13 and determines that the restoration of the deleted channel to be considered for restoration is possible. After that, the master device 20 ends the processing shown in the flowchart of Figure 13 and returns to the processing of the flowchart of Figure 4.
[0103] The restoration determination process of the second embodiment can achieve the same effects as those of the first embodiment. Furthermore, the restoration determination process of the second embodiment can determine with high accuracy whether or not the deleted channel that is the subject of restoration consideration can be restored by considering the state of the communication channels of ±2CH that are the subject of restoration consideration.
[0104] Although the above describes preferred embodiments of the present disclosure, the present disclosure is not limited to the above-described embodiments and can be modified in various ways without departing from the spirit and scope of the present disclosure.
[0105] For example, in the first and second embodiments described above, PER is used as the second characteristic data. However, instead of the error rate of packet communication, a packet arrival rate (PAR), which is a success rate of packet communication, can also be used. When PAR is used, the magnitude relationship with the threshold value is reversed from that in the first and second embodiments described above.
[0106] Finally, this specification discloses the following technical ideas and combinations thereof. The combinations of the following technical ideas apply not only to wireless communication systems but also to wireless communication methods.
[0107] (Technical thought 1) A wireless communication system for performing wireless communication between a master device (20) and a slave device (30) via one communication channel sequentially selected from a plurality of communication channels, A detection unit (S60) for detecting characteristic data indicating a communication quality of the wireless communication performed for each of the communication channels; a deletion unit (S70) that deletes the communication channel whose communication quality has been determined to be degraded based on the characteristic data detected by the detection unit from the plurality of communication channels used for the wireless communication; and a determination unit (S80) that determines whether the deleted communication channel can be restored to the multiple communication channels used for the wireless communication based on the characteristic data of a nearby communication channel that has a close frequency to the communication channel deleted by the deletion unit.
[0108] (Technical thought 2) The wireless communication system described in Technical Idea 1, wherein when the wireless communication is performed between the master device and the slave device via the communication channel, if the communication channel adjacent to the communication channel used for the wireless communication has been deleted by the deletion unit, the determination unit determines whether or not the deleted communication channel can be restored.
[0109] (Technical Thought 3) The wireless communication system described in Technical Idea 2, wherein when the deletion unit determines, based on the characteristic data, that the communication quality of the communication channel used for the wireless communication has deteriorated and the communication channel is deleted from the multiple communication channels used for the wireless communication, the determination unit does not determine whether the communication channel adjacent to the communication channel used for the wireless communication can be restored.
[0110] (Technical Thought 4) The wireless communication system described in any one of Technical Ideas 1 to 3, wherein the judgment unit judges whether or not the deleted communication channel can be restored according to different judgment criteria when the communication channels on both sides adjacent to the deleted communication channel that is the subject of the judgment of whether or not the channel can be restored are usable for the wireless communication and when only the communication channel on one side adjacent to the deleted communication channel that is the subject of the judgment of whether or not the channel can be restored is usable for the wireless communication.
[0111] (Technical Thought 5) The wireless communication system described in Technical Idea 4, wherein the judgment unit judges that the deleted communication channel can return to the multiple communication channels used for the wireless communication when the characteristic data of the communication channels on both sides satisfy a first return threshold when the communication channels adjacent to the deleted communication channel that is the subject of the judgment as to whether or not it can return are usable for the wireless communication, and judges that the deleted communication channel can return to the multiple communication channels used for the wireless communication when the characteristic data of the communication channels on both sides satisfy a first return threshold when the communication channel adjacent to the deleted communication channel that is the subject of the judgment as to whether or not it can return is usable for the wireless communication, and judges that the deleted communication channel can return to the multiple communication channels used for the wireless communication when the characteristic data of the communication channel on one side satisfies a second return threshold that indicates a communication quality higher than the first return threshold.
[0112] (Technical Thought 6) The wireless communication system described in Technical Idea 5, wherein the judgment unit changes the first return threshold to a third return threshold indicating a communication quality lower than the first return threshold when the communication channels on both sides adjacent to the deleted communication channel that is the subject of the judgment of whether or not recovery is possible are usable for the wireless communication, and also when the communication channels adjacent to both sides of the communication channel on the opposite side to the deleted communication channel are usable for the wireless communication.
[0113] (Technical Thought 7) The wireless communication system described in Technical Idea 5, wherein the judgment unit changes the second return threshold to a fourth return threshold indicating a communication quality lower than the second return threshold when only the communication channel on one side adjacent to the deleted communication channel that is the subject of the judgment of whether or not recovery is possible is usable for the wireless communication, and in addition, the communication channels adjacent to the communication channels on both sides of the deleted communication channel on the opposite side to the deleted communication channel are usable for the wireless communication.
[0114] (Technical Thought 8) The wireless communication system described in Technical Idea 4, wherein the judgment unit judges that the deleted communication channel can be restored to the multiple communication channels used for the wireless communication if the communication channels on both sides adjacent to the deleted communication channel that is being judged as to whether it can be restored or not are usable for the wireless communication, based on the fact that the communication channels on both sides are usable for the wireless communication.
[0115] (Technical Thought 9) the plurality of communication channels include a first channel group including a plurality of communication channels used in a connection establishment process for establishing a communication connection between the master device and the slave device, and a second channel group including a plurality of communication channels used in a communication process for performing data communication between the master device and the slave device; A wireless communication system described in any one of Technical Ideas 1 to 8, wherein the communication channel that the deletion unit deletes from the multiple communication channels used for the wireless communication is the communication channel included in the second channel group.
[0116] (Technical Thought 10) the wireless communication is packet communication, The wireless communication system according to any one of technical ideas 1 to 9, wherein the characteristic data is at least one of received signal strength, signal-to-noise ratio / signal-to-interference-to-noise ratio, packet error rate, packet arrival rate, and bit error rate in the packet communication.
[0117] (Technical Thought 11) The wireless communication system according to any one of Technical Ideas 1 to 10, wherein at least one of the master device and the slave device is mounted on a moving object.
[0118] (Technical Thought 12) The wireless communication system described in Technical Idea 11, wherein the moving body is a vehicle. [Explanation of symbols]
[0119] 10: wireless communication system, 20: master device, 21: control circuit, 22: wireless communication circuit, 23: antenna, 30: slave device, 31: control circuit, 32: wireless communication circuit, 33: antenna, 211: processor, 212: memory, 311: processor, 312: memory
Claims
1. A wireless communication system for performing wireless communication between a master device (20) and a slave device (30) via one communication channel sequentially selected from a plurality of communication channels, A detection unit (S60) for detecting characteristic data indicating a communication quality of the wireless communication performed for each of the communication channels; a deletion unit (S70) that deletes the communication channel whose communication quality has been determined to be degraded based on the characteristic data detected by the detection unit from the plurality of communication channels used for the wireless communication; a determination unit (S80) that determines whether the deleted communication channel can be restored to the multiple communication channels used for the wireless communication based on the characteristic data of a nearby communication channel that has a close frequency to the communication channel deleted by the deletion unit.
2. 2. The wireless communication system according to claim 1, wherein when the wireless communication is performed between the master device and the slave device via the communication channel, if the communication channel adjacent to the communication channel used for the wireless communication has been deleted by the deletion unit, the determination unit determines whether or not the deleted communication channel can be restored.
3. 3. The wireless communication system according to claim 2, wherein when the deletion unit determines, based on the characteristic data, that the communication quality of the communication channel used for the wireless communication has deteriorated and the communication channel is deleted from the plurality of communication channels used for the wireless communication, the determination unit does not perform a determination as to whether the communication channel adjacent to the communication channel used for the wireless communication can be restored.
4. The wireless communication system according to any one of claims 1 to 3, wherein the determination unit determines whether or not the deleted communication channel can be restored according to different determination criteria when the communication channels on both sides adjacent to the deleted communication channel that is the subject of the determination of whether or not the channel can be restored are usable for the wireless communication and when only the communication channel on one side adjacent to the deleted communication channel that is the subject of the determination of whether or not the channel can be restored is usable for the wireless communication.
5. 5. The wireless communication system according to claim 4, wherein, when the communication channels on both sides adjacent to the deleted communication channel that is the subject of the determination of whether or not the communication channel can be restored are usable for the wireless communication, the determination unit determines that the deleted communication channel can be restored to the multiple communication channels used for the wireless communication when the characteristic data of the communication channels on both sides satisfy a first return threshold, and when, when only the communication channel on one side adjacent to the deleted communication channel that is the subject of the determination of whether or not the communication channel can be restored is usable for the wireless communication, the determination unit determines that the deleted communication channel can be restored to the multiple communication channels used for the wireless communication when the characteristic data of the communication channel on the one side satisfies a second return threshold that indicates a communication quality higher than the first return threshold.
6. 6. The wireless communication system according to claim 5, wherein the determination unit changes the first return threshold to a third return threshold indicating a communication quality lower than the first return threshold when the communication channels on both sides adjacent to the deleted communication channel that is the subject of the determination of whether or not the return is possible are usable for the wireless communication, and in addition, when the communication channels adjacent to both sides of the communication channel on the opposite side to the deleted communication channel are usable for the wireless communication.
7. 6. The wireless communication system according to claim 5, wherein the determination unit changes the second return threshold to a fourth return threshold indicating a communication quality lower than the second return threshold when only the communication channel on one side adjacent to the deleted communication channel that is the subject of the determination of whether or not the return is possible is usable for the wireless communication, and in addition, the communication channels adjacent to the communication channels on both sides of the deleted communication channel on the opposite side to the deleted communication channel are usable for the wireless communication.
8. 5. The wireless communication system according to claim 4, wherein when the communication channels on both sides adjacent to the deleted communication channel that is being judged as to whether or not it can be restored are usable for the wireless communication, the judgment unit judges that the deleted communication channel can be restored to the multiple communication channels used for the wireless communication if the communication channels on both sides are usable for the wireless communication.
9. the plurality of communication channels include a first channel group including a plurality of communication channels used in a connection establishment process for establishing a communication connection between the master device and the slave device, and a second channel group including a plurality of communication channels used in a communication process for performing data communication between the master device and the slave device; The wireless communication system according to claim 1 , wherein the communication channel that is deleted by the deletion unit from the plurality of communication channels used for the wireless communication is the communication channel included in the second channel group.
10. the wireless communication is packet communication, 4. The wireless communication system according to claim 1, wherein the characteristic data is at least one of a received signal strength, a signal-to-noise ratio / signal-to-interference-to-noise ratio, a packet error rate, a packet arrival rate, and a bit error rate in the packet communication.
11. 4. The wireless communication system according to claim 1, wherein at least one of the master device and the slave device is mounted on a moving object.
12. The wireless communication system according to claim 11 , wherein the moving object is a vehicle.
13. A wireless communication method for performing wireless communication between a master device (20) and a slave device (30) via one communication channel sequentially selected from a plurality of communication channels, comprising: A detection step (S60) of detecting characteristic data indicating a communication quality of the wireless communication performed for each of the communication channels; a deletion step (S70) of deleting the communication channel whose communication quality has been determined to be degraded based on the characteristic data detected in the detection step from the plurality of communication channels used for the wireless communication; and a determination step (S80) of determining whether or not the deleted communication channel can be restored to the multiple communication channels used for the wireless communication based on the characteristic data of a nearby communication channel that has a close frequency to the communication channel deleted in the deletion step.
Citation Information
Patent Citations
Method and device for radio communication
JP2006211242A
Battery management system
JP2022148626A
Wireless communication apparatus and method
JP2006128812A
