Wireless communication system and wireless communication method

By detecting and deleting wireless communication channels with degraded quality, and using characteristic data of nearby channels to determine their recovery status, the problem in the existing technology of difficulty in recovering channels with degraded communication quality is solved, and the success rate and quality of wireless communications are improved.

CN118590892APending Publication Date: 2024-09-03DENSO CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410220118.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-02
Filing Date
2024-02-28
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

In existing wireless communication systems, it is difficult to accurately determine the recovery status of unusable channels when communication quality deteriorates, resulting in a decrease in communication success rate.

Method used

By detecting the communication quality characteristic data of each communication channel, the channel with degraded quality is deleted, and based on the characteristic data of the nearby frequency-close channel, it is determined whether it can be restored to a usable channel.

Benefits of technology

It achieves high-precision determination and recovery of channels with degraded communication quality, improving the success rate and quality of wireless communications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118590892A
    Figure CN118590892A
Patent Text Reader

Abstract

The master device (20) detects characteristic data indicating communication quality of a signal received from the slave device (30). On the basis of the detected characteristic data, the master device (20) deletes, from among a plurality of communication channels used for wireless communication between the master device (20) and the slave device (30), a communication channel for which the communication quality has been determined to be reduced. The master device (20) determines, on the basis of the characteristic data of the communication channels in the vicinity of the deleted communication channel, whether or not the deleted communication channel can be restored to the plurality of communication channels used in the wireless communication.
Need to check novelty before this filing date? Find Prior Art

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 sequentially selected from a plurality of communication channels. Background Art

[0002] As such a wireless communication system, for example, a system described in Patent Document 1 is known. In the wireless communication system of Patent Document 1, when a packet error occurs, if the RSSI value of the wireless signal of the packet is greater than a preset threshold value Th1, it is determined that the receiving action of receiving the packet is a reception error caused by interference with other radio waves. In addition, the number of receptions and the number of reception errors are counted, and the frequency of reception errors caused by interference for each frequency channel is stored (number of reception errors / number of receptions). When the reception error frequency exceeds the threshold value Th2, it is determined that there is an interference source in the frequency channel where the frequency of reception errors caused by interference exceeds the threshold value Th2, and the frequency channel is stored as an unusable channel.

[0003] Prior art literature

[0004] Patent Literature

[0005] Patent Document 1: Japanese Patent Application Publication No. 2006-128812 Summary of the invention

[0006] In the wireless communication system of Patent Document 1, when a set period has elapsed, a frequency channel that was an unusable channel is restored to a usable frequency channel.

[0007] However, the communication environment including interference with other radio waves of each communication channel used in the wireless communication system may not change even after the setting period has passed. Therefore, if the unusable communication channel is changed to a usable communication channel after the setting period has passed as in Patent Document 1, the possibility of using the communication channel to perform wireless communication in a state where the communication quality is degraded increases. As a result, there is a risk of reducing the communication success rate of the wireless communication system.

[0008] The present disclosure has been made in view of the above-mentioned circumstances, and an object of the present disclosure is to provide a wireless communication system and a wireless communication method that can accurately determine that the communication quality is poor and that the communication quality of a communication channel that is considered unusable has been improved.

[0009] In order to achieve the above-mentioned object, the wireless communication system of the present disclosure performs wireless communication between a master device and a slave device via a communication channel selected sequentially from a plurality of communication channels, and the wireless communication system is configured to include:

[0010] a detection unit that detects characteristic data indicating communication quality of wireless communication being performed for each communication channel;

[0011] a deleting unit that deletes a communication channel determined to have degraded communication quality based on the characteristic data detected by the detecting unit from a plurality of communication channels used for wireless communication; and

[0012] The determination unit determines whether the deleted communication channel can be restored to the plurality of communication channels used for wireless communication based on characteristic data of nearby communication channels having frequencies close to the communication channel deleted by the deletion unit.

[0013] In addition, the wireless communication method of the present disclosure is a wireless communication method for performing wireless communication between a master device and a slave device via a communication channel selected sequentially from a plurality of communication channels, and is configured to include:

[0014] a detection step of detecting characteristic data indicating communication quality of wireless communication being performed for each communication channel;

[0015] a deleting step of deleting the communication channel determined to have degraded communication quality based on the characteristic data detected in the detecting step from a plurality of communication channels used in wireless communication; and

[0016] The determining step determines whether the deleted communication channel can be restored to the plurality of communication channels used for wireless communication based on characteristic data of nearby communication channels having frequencies close to the communication channel deleted in the deleting step.

[0017] As described above, in the wireless communication system and wireless communication method of the present disclosure, whether a communication channel deleted from a plurality of communication channels used in wireless communication can be restored is determined based on characteristic data of a nearby communication channel whose frequency is close to that of the deleted communication channel. Generally, the communication quality of the nearby communication channel is correlated with the communication quality of the deleted communication channel due to the close frequency. Therefore, by determining whether the deleted communication channel can be restored based on the characteristic data of the nearby communication channel whose frequency is close, it is possible to determine with high accuracy whether the deleted communication channel can be restored. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 This is a block diagram showing a schematic configuration of a wireless communication system according to the first embodiment.

[0019] Figure 2 This is a diagram showing an example of the electric field intensity distribution in the communication environment between the master device and the slave device.

[0020] Figure 3 It is a diagram showing an example of the received signal strength of each communication channel.

[0021] Figure 4 This is a flowchart showing a communication sequence between the master device and the slave device in the first embodiment.

[0022] Figure 5 This is a flowchart showing a detailed example of the communication channel recovery determination process in the first embodiment.

[0023] Figure 6 This is a diagram showing the relationship between a communication channel that is a restoration investigation target and nearby communication channels in the restoration determination process of the first embodiment.

[0024] Figure 7 (a) is a diagram showing that channel 3 is used as a communication channel, and (b) is a diagram showing that the communication quality of wireless communication using channel 3 is low, so channel 3 has been deleted from multiple communication channels used in wireless communication through deletion determination processing.

[0025] Figure 8 (a) is a diagram showing that channel 3 is used as a communication channel, and (b) is a diagram showing that channel 3 used in wireless communication and channels 2 and 4 on both sides of channel 3 are all in a state where they can be used for wireless communication.

[0026] Fig. 9 (a) is a diagram showing that channel 3 is used as a communication channel, and (b) is a diagram showing that channel 3 used in wireless communication is maintained to be usable for wireless communication, but channel 2, which is the recovery research object, and the adjacent channel of the other party of channel 2, namely channel 1, have been deleted through the deletion judgment processing.

[0027] Fig.10 (a) is a diagram showing that channel 3 is used as a communication channel, and (b) is a diagram showing that channel 3 used in wireless communication is maintained to be usable for wireless communication, channel 2, which is the object of recovery research, has been deleted, and the adjacent channel of the other side of channel 2, namely channel 1, can be used for wireless communication.

[0028] Fig.11 This is a diagram showing an example of the relationship between the RSSI value of each communication channel and the one-side RSSI threshold and the two-side RSSI threshold when only the communication channel adjacent to the deleted communication channel to be restored can be used for wireless communication.

[0029] Fig.12 This is a diagram showing an example of the relationship between the RSSI value of each communication channel and the RSSI thresholds on both sides when both communication channels on both sides of a deleted communication channel to be restored can be used for wireless communication.

[0030] Fig.13This is a flowchart showing a part of an example of details of the communication channel recovery determination process in the second embodiment.

[0031] Fig.14 This is a flowchart showing the remaining part of an example of details of the communication channel recovery determination process in the second embodiment.

[0032] Fig.15 This is a diagram showing the relationship between a communication channel that is a restoration investigation target and nearby communication channels in the restoration determination process according to the second embodiment.

[0033] Fig.16 (a) is a diagram showing that channel 3 is used as a communication channel, and (b) is a diagram showing a threshold relaxation mode in which only the communication channel on one side of the deleted channel 2, which is the recovery target, can be used for wireless communication.

[0034] Fig.17 It means corresponding to Fig.16 (b) is a diagram showing an example of the relationship between the RSSI value of each communication channel, the one-sided RSSI threshold, and the relaxed one-sided RSSI threshold in the case of the threshold relaxation mode.

[0035] Fig.18 (a) to (c) are diagrams showing patterns other than the threshold relaxation mode in a case where only the communication channel on the side of the deleted channel 2, which is the restoration target, can be used for wireless communication.

[0036] Fig.19 It means corresponding to Fig.18 FIG. 1 is a diagram showing an example of the relationship between the RSSI value of each communication channel and the one-sided RSSI threshold value in the case of the pattern of (a).

[0037] Fig. 20 (a) is a diagram showing that channel 3 is used as a communication channel, and (b) is a diagram showing a threshold relaxation mode in which communication channels on both sides of the deleted channel 2, which is a restoration target, can be used for wireless communication.

[0038] Fig.21 It means corresponding to Fig. 20 (b) is a diagram showing an example of the relationship between the RSSI value of each communication channel and the RSSI threshold on both sides and the relaxed RSSI threshold on both sides in the case of the threshold relaxation mode.

[0039] Fig. 22 (a) to (c) are diagrams showing patterns other than the threshold relaxation mode when the communication channels on both sides of the deleted channel 2, which is the restoration target, can be used for wireless communication.

[0040] Fig.23It means corresponding to Fig. 22 FIG. 1 is a diagram showing an example of the relationship between the RSSI value of each communication channel and the RSSI threshold values ​​on both sides in the case of the pattern of (a). DETAILED DESCRIPTION

[0041] Hereinafter, preferred embodiments of the present disclosure will be described with reference to the accompanying drawings. In addition, regarding the same or similar structures, there are cases where the description is omitted by attaching the same reference numerals in multiple drawings. In the case where only a part of the structure is described in each embodiment, the structure of other embodiments previously described can be applied to the other parts of the structure. In addition, not only the combination of structures explicitly described in the description of each embodiment, but also the structures of multiple embodiments can be partially combined with each other even if not explicitly described, as long as no particular obstacles are caused in the combination.

[0042] (First Embodiment)

[0043] The following describes a wireless communication system and a wireless communication method according to a first embodiment. The wireless communication system according to 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 mobile object for use. The mobile object includes, for example, a vehicle such as a car or a railway vehicle, an air vehicle such as an electric helicopter or an unmanned aerial vehicle, a ship, a construction machine, an agricultural machine, etc.

[0044] As a specific application in a vehicle, the wireless communication system of this embodiment can be applied to a battery management system for managing batteries installed as a battery pack in electric vehicles such as electric vehicles, hybrid vehicles, and plug-in hybrid vehicles. When applied to a battery management system, for example, a master device is connected to a battery control device, and a plurality of slave devices are respectively connected to a monitoring device provided for each of a plurality of battery stacks constituting the battery pack. In this case, both the master device and the slave devices are installed in the vehicle.

[0045] Each monitoring device provided for each of the plurality of battery stacks obtains battery information such as the voltage and current of each battery cell contained in the corresponding battery stack, the temperature of the battery stack, etc. through various sensors and the like. In addition, when each monitoring device receives data requesting battery information from the battery control device via the wireless communication system, it transmits the obtained battery information to the battery control device via the wireless communication system. Based on the obtained battery information, the battery control device calculates the charge capacity (SOC) of the entire battery stack, drives the heating / cooling mechanism to adjust the temperature of the battery pack to an appropriate range, or determines whether it is necessary to perform the so-called equalization process to make the voltages of each battery cell consistent. When the battery control device determines that the equalization process needs to be performed in at least one battery stack, it instructs the corresponding monitoring device to perform the equalization process via the wireless communication system. In addition, each monitoring device performs a process of determining the abnormality of various sensors and the abnormality of its own operation, and when an abnormality is determined, the abnormality information is transmitted to the battery control device via the wireless communication system.

[0046] Alternatively, the wireless communication system of the present embodiment can also be applied to a so-called smart key system or a tire pressure monitoring system in a vehicle. In the case of being applied to a smart key system, for example, the master device is mounted in the vehicle and connected to a control device that controls the locking and unlocking of the vehicle door or the opening and closing of a driving source such as the engine of the vehicle. Multiple slave devices are mounted in portable keys or portable terminals owned by multiple users. In the case of being applied to a tire pressure monitoring system, the master device is mounted in the vehicle and connected to a control device that displays the tire pressure and issues a warning in the event of abnormal air pressure. Multiple slave devices are provided in each tire and connected to an air pressure detection device that is also provided in each tire. Furthermore, the wireless communication system of the present embodiment can also be applied to a vehicle diagnostic system. In this case, for example, multiple slave devices are connected to multiple vehicle-mounted equipment with a self-diagnostic function, and the master device is connected to a diagnostic control device provided in a service workshop. In these examples, at least one of the master device and the multiple slave devices is configured in a fixed position, and / or at least one of the multiple slave devices is mounted in the vehicle.

[0047] However, the application examples of the wireless communication system of this embodiment are not limited to vehicles, and as described above, it can also be applied to a system for controlling and managing various equipment such as mobile objects other than vehicles, such as flying objects such as drones, ships, construction machinery, agricultural machinery, etc. Furthermore, the wireless communication system of this embodiment can also be applied to a system for controlling and managing various equipment in buildings such as buildings, production equipment in factories, etc.

[0048] Figure 1It is a block diagram showing the schematic structure of the wireless communication system 10. The master device 20 and the slave device 30 of the wireless communication system 10 are both mounted in a vehicle (car), for example. In this case, the master device 20 and the slave device 30 may be a structure arranged in a common housing, or a structure not arranged in a common housing. There may be one or more master devices 20. Similarly, there may be one or more slave devices 30. The master device 20 and the slave device 30 perform wireless communication via one communication channel selected sequentially from a plurality of communication channels, such as Bluetooth Low Energy (Bluetooth is a registered trademark, hereinafter referred to as Bluetooth LE) communication.

[0049] As an example, the wireless communication system 10 of this embodiment includes one master device 20 and a plurality of slave devices 30. Figure 1 In order to simplify the illustration, only one slave device 30 is shown, but a plurality of slave devices 30 can be configured in the same manner.

[0050] In the wireless communication between the master device 20 and the slave device 30, the frequency band used for short-range communication can be, for example, a 2.4 GHz band or a 5 GHz band. Such high-frequency band radio waves have a strong tendency to travel in a straight line compared to LF band radio waves, and have the property of being easily reflected by metal objects such as the body of a vehicle. LF is the abbreviation of Low Frequency. As a standard for short-range communication, for example, Bluetooth, Bluetooth LE, etc. can be used. As an example, the master device 20 and the slave device 30 of the present embodiment are configured to be able to implement wireless communication in accordance with the Bluetooth LE standard. The details of the communication method related to the communication connection and encrypted communication are implemented in a sequence specified by the Bluetooth LE standard.

[0051] The main device 20 is as follows Figure 1 As shown, the host device 20 includes a control circuit (CNT) 21, a wireless communication circuit (WC) 22, and an antenna 23. In addition to the above elements, the host device 20 includes an input / output interface and a bus for communicating with devices other than the slave device 30 by wire or wirelessly.

[0052] 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 of Random Access Memory, and ROM is an abbreviation of Read Only Memory.

[0053] In the control circuit 21, the processor 211 uses the RAM as a temporary storage area and executes the program stored in the ROM to perform the specified processing (control). The processor 211 constructs multiple functional units by executing multiple commands included in the program. The storage medium of the program is not limited to ROM. For example, various storage media such as HDD and SSD can be used. HDD is the abbreviation of Hard-disk Drive. SSD is the abbreviation of Solid State Drive.

[0054] The processor 211 is, for example, a CPU, an MPU, a GPU, a DFP, etc. CPU is the abbreviation of Central Processing Unit. MPU is the abbreviation of Micro-Processing Unit. GPU is the abbreviation of Graphics Processing Unit. DFP is the abbreviation of Data Flow Processor. The control circuit 21 can also be implemented by combining multiple types of computing processing devices such as CPU, MPU, GPU, etc.

[0055] The control circuit 21 can also be implemented as a SoC. SoC is the abbreviation of System on Chip. The control circuit 21 can also be implemented using ASIC or FPGA. ASIC is the abbreviation of Application Specific Integrated Circuit. FPGA is the abbreviation of Field-Programmable Gate Array.

[0056] The control circuit 21 generates a command (e.g., a command requesting data, a command requesting execution of a predetermined process, etc.) for requesting processing from the slave device 30, and transmits the transmission data including the command to the wireless communication circuit 22 via a transmission packet. In addition, the control circuit 21 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 performed by the master device 20 and the slave device 30 is packet communication.

[0057] 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. In addition, the wireless communication circuit 22 has a reception function of demodulating a reception signal. RF is the abbreviation of radio frequency.

[0058] The wireless communication circuit 22 modulates a packet containing data sent from the control circuit 21 and transmits it to the slave device 30 via the antenna 23. The control circuit 21 outputs the encrypted data such as the battery information request data to the wireless communication circuit 22 using the encryption information exchanged in the connection establishment process described later. The wireless communication circuit 22 assigns the data required for wireless communication such as communication control information to the transmission packet and transmits it. The data required for wireless communication includes, for example, an identifier (ID), a sequence number, the next sequence number, an error detection code, etc. The wireless communication circuit 22 can also control the data size, communication format, scheduling, error detection, etc. of the communication between the master device 20 and the slave device 30. These communication-related controls can also be performed by the control circuit 21.

[0059] The wireless communication circuit 22 receives and demodulates the packet transmitted from the slave device 30 via the antenna 23. Then, the demodulated packet is transmitted to the control circuit 21. The antenna 23 converts the electrical signal into a radio wave and radiates it into space. The antenna 23 receives the radio wave propagating in space and converts it into an electrical signal.

[0060] From the device 30 Figure 1 As shown, 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 elements, the slave device 30 also includes an input / output interface and a bus for communicating with devices other than the master device 20 in a wired or wireless manner. The control circuit 31 has the same structure as 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.

[0061] The control circuit 31 executes the requested processing (response processing such as obtaining and returning the requested data, execution processing of the requested processing, etc.) according to the request instruction obtained via the wireless communication circuit 32. For example, when the request instruction contained in the received data is a request to send battery information, the control circuit 31 of the slave device 30 sends the sending request to the corresponding battery stack monitoring device and obtains the battery information from the monitoring device. In addition, the control circuit 31, as a response to the request, sends the data encrypted using the encryption information and containing the processing result (for example, the obtained battery information) to the wireless communication circuit 32. The control circuit 31 can also execute, for example, the control of the equipment installed in the vehicle according to the requested processing.

[0062] 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 and demodulates the packet transmitted from the host device 20 via the antenna 33. And, the data contained in the demodulated packet is transmitted 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 host device 20 via the antenna 33. The wireless communication circuit 32 adds data required for wireless communication such as communication control information to the transmission packet and transmits it.

[0063] The wireless communication circuit 32 may also control the data size, communication format, scheduling, error detection, etc. of the communication between the master device 20 and the slave device 30. These communication-related controls may also be performed by the control circuit 31. The antenna 33 converts the electrical signal into an electric wave and radiates it into space. The antenna 33 receives the electric wave propagating in space and converts it into an electrical signal.

[0064] Figure 2 This is a diagram showing an example of the electric field intensity distribution in the communication environment between the master device 20 and the slave device 30 . Figure 2 The electromagnetic field simulation results at a predetermined timing at a predetermined frequency are shown. In the following, the electric field intensity distribution may be shown as the electric field distribution.

[0065] The master device 20 and the slave device 30 are, for example, arranged at specified positions in the vehicle. When radio wave signals of specified frequencies are transmitted from the master device 20 and the slave device 30 respectively arranged at specified positions, portions with high and low electric field strengths are generated in the use environment due to interference between the transmitted waves and the reflected waves, and interference with external noise. The reflected waves are generated by reflections caused by metal elements of the vehicle existing around the master device 20 and the slave device 30, such as reflections caused by the vehicle body, reflections caused by the metal shell, reflections caused by the harness, and the like. For this reason, multiple such as Figure 2 The portion with a strong electric field intensity and the portion with a low electric field intensity as shown are so-called NULL points.

[0066] If the slave device 30 is located in or near a portion with low electric field strength in the electric field distribution with the master device 20, the slave device 30 is more likely to fail to correctly receive the wireless signal from the master device 20, which may cause a communication error. Such a communication channel with a high probability of causing a communication error is a communication channel with reduced communication quality.

[0067] Here, when the master device 20 and the slave device 30 perform wireless communication via one communication channel selected sequentially from a plurality of communication channels, since the frequencies of the communication channels are different, the electric field distribution of each communication channel also changes. As a result, the communication quality of each communication channel will be different.

[0068] For example, Figure 3 As shown, 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 exhibits a very high value. Therefore, when the master device 20 and the slave device 30 utilize communication channels A and C with 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 becomes lower. Therefore, when the master device 20 and the slave device 30 utilize communication channels B and N with degraded communication quality, the possibility of communication errors occurring in wireless communication becomes higher. In addition, Figure 3 In FIG. 1 , for easy understanding, an example of received power (received signal strength) corresponding to frequency is represented by a solid line.

[0069] Therefore, it is preferable that the wireless communication between the master device 20 and the slave device 30 be performed using a communication channel capable of high-quality wireless communication, avoiding a communication channel having degraded communication quality.

[0070] However, the electric field distribution between the master device 20 and the slave device 30 changes according to the external environment (noise from the outside, etc.), the vibration of the master device 20 and / or the slave device 30 (including the vibration of the wiring harness), etc. Therefore, when the master device 20 and / or the slave device 30 are mounted in a vehicle, the electric field distribution of the communication environment of the master device 20 and the slave device 30 changes, for example, corresponding to the vibration of the vehicle, the state of the surrounding environment of the vehicle, etc. As a result, the communication channels with good communication quality and the communication channels with degraded communication quality are not fixed, and there is a possibility of changing at all times. Therefore, it is required to monitor the communication quality of each communication channel and set the communication channel determined to have degraded communication quality as a communication channel that should be avoided. In addition, it is required to restore the deleted communication channel to the multiple communication channels used in wireless communication in response to the situation that the communication quality of the communication channel that has been deleted from the multiple communication channels used in wireless communication as a communication channel that should be avoided has improved.

[0071] In the wireless communication system 10 of this embodiment, referring to Figure 4The diagram showing the communication sequence between the master device 20 and the slave device 30 is used to explain the control processing for realizing wireless communication between the master device 20 and the slave device 30 using a communication channel other than the communication channel with degraded communication quality, including deletion of the communication channel determined to have degraded communication quality and restoration of the deleted communication channel. Figure 4 In the figure, the master device 20 is represented as MASTER, and the slave device 30 is represented as SLAVE.

[0072] First, the master device 20 and the slave device 30 execute Figure 4 Before the communication sequence shown, a connection establishment process is performed. When the wireless communication system 10 is installed in a vehicle, for example, when the IG signal is switched from off to on by a user's operation, a connection establishment process is performed. The connection establishment process is performed between the master device 20 and all slave devices 30 that are connection objects for wireless communication with the master device 20. In addition, when the master device 20 and the slave device 30 are always connected, the connection establishment process is performed only once at a prescribed timing. However, when an error occurs in the communication and the wireless communication connection between the master device 20 and the slave device 30 is disconnected, there is a case where the connection establishment process is performed for reconnection.

[0073] In the connection establishment process, for example, the slave device 30 performs a broadcast action of sending a broadcast signal via a communication channel for broadcast (advertise), and the master device 20 performs a scanning action of scanning the broadcast signal. The communication channel for broadcasting includes multiple (for example, 3 in the case of Bluetooth LE) communication channels. When the master device 20 receives a broadcast signal through a scanning action, it sends a connection request to the slave device 30 that sent the broadcast signal. As a result, a communication connection is established 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 encrypted information, or share initial information related to frequency channel hopping. The initial information includes, for example, a hopping pattern or a function for hopping.

[0074] When the connection establishment process is completed, the master device 20 and the slave device 30 perform data communication via the communication channel for data selected in sequence from the plurality of communication channels for each communication event that occurs periodically. In addition, in the case of Bluetooth LE, 37 communication channels are prepared as communication channels for data. For example, Figure 4As shown, in step S10, the master device 20 sends a data request instruction to the slave device 30, that is, sends a data request. When the slave device 30 receives the data request in step S210, it performs a predetermined process required for responding, that is, a process of obtaining and sending the requested data in step S220.

[0075] In addition, the master device 20 and the slave device 30 perform frequency channel hopping and switch the communication channel for data to be used for each communication event, and perform transmission and reception of data requests and transmission and reception of requested data. At this time, the master device 20 and the slave device 30 determine the communication channel to be switched by frequency channel hopping according to a channel map described later.

[0076] The master device 20 receives the requested data in step S20. And, in step S30, the master device 20 performs a checksum judgment, for example, based on an error detection code included in the received data, in order to confirm whether the data is correctly received. In the next step S40, if it is determined that the data is not correctly received in the process of step S30, the master device 20 determines whether to perform a resend process within the same communication event. For example, if there is a margin for resending between the end time of this communication event, the master device 20 can decide to resend, and if there is no margin, it can decide not to resend. In step S40, if the master device 20 decides to resend, it executes the process from step S10 again. If it is determined that the data is correctly received in the process of step S30, or if it is decided not to resend in step S40, the master device 20 proceeds to the process of step S50.

[0077] In step S50, the host device 20 performs processing based on the information included in the received data. In addition, if it is determined in the processing of step S30 that the data is not correctly received, and it is determined in the processing of step S40 that retransmission is not performed, the processing of step S50 may be omitted, or the processing of step S50 may be performed based on the previously received data.

[0078] In step S60, the master device 20 detects the received signal strength (RSSI) and the packet error rate (PER) as characteristic data indicating the communication quality of the signal received from the slave device 30. The PER represents the ratio of the number of error packets to the number of packets received by the master device 20 in percentage. The master device 20 may detect the signal-to-noise ratio (SNR) / signal-to-interference-and-noise ratio (SINR) instead of the RSSI. The SNR / SINR can be detected, for example, based on the ratio of the RSSI value when the master device 20 receives the wireless signal from the slave device 30 to the RSSI value when the wireless signal is not received. In addition, the master device 20 may detect the bit error rate (BER) instead of the PER. The master device 20 stores and accumulates the detected RSSI or SNR / SINR and the PER or BER for each communication channel. In addition, the characteristic data indicating the communication quality may be detected by the slave device 30 in addition to the above-mentioned detection by the master device 20, or may be acquired by transmitting the RSSI, PER, etc. when the slave device 30 receives the signal from the master device 20 to the master device 20.

[0079] In step S70, the device 20 determines the degradation of 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 RSSI or SNR / SINR and PER or BER with the deletion threshold used to determine the degradation of the communication quality. Then, when at least one characteristic data satisfies the deletion threshold, the corresponding communication channel is deleted from the plurality of communication channels used in the wireless communication between the master device 20 and the slave device 30. In addition, the deleted communication channel is a communication channel for data. In this way, the communication channel with degraded communication quality is deleted from the communication channels used in the wireless communication.

[0080] In step S80, the main device 20 performs a recovery judgment of the deleted communication channel corresponding to the deletion judgment in the communication event so far. Specifically, the main device 20 determines whether the deleted communication channel can be restored to a plurality of communication channels used for wireless communication based on the characteristic data of the communication channels near the deleted communication channel. Usually, the communication quality of the nearby communication channels is correlated with the communication quality of the deleted communication channel due to the proximity of the frequencies. Therefore, by using the characteristic data of the nearby communication channels with close frequencies, it is possible to accurately determine whether the deleted communication channel can be restored. In addition, the recovery judgment processing of the deleted communication channel will be described in detail later. Moreover, the communication channel that has been judged to be a communication channel used in wireless communication after the recovery judgment is made is actually used in the wireless communication between the main device 20 and the slave device 30. However, if the communication quality when it is actually used in wireless communication still decreases, it can become the object of deletion judgment again.

[0081] In step S90, the main device 20 creates a channel map based on the results of the deletion determination in step S70 and the recovery determination in step S80. The channel map may indicate communication channels that can be used in wireless communication, or may indicate communication channels that cannot be used. Furthermore, both usable communication channels and unusable communication channels may be indicated. In addition, by creating a channel map, the frequency channel hopping pattern may be updated when there is a change in usable / unusable communication channels. In the case where the frequency channel hopping pattern is not updated and the communication channel to be jumped cannot be used, for example, the communication channel to be jumped may be used next.

[0082] In step S100, the master device 20 sends the created channel map to the slave device 30. In step S230, the slave device 30 receives the channel map sent 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. And, in step S120, the master device 20 performs a check and determination based on the error detection code included in the received Ack signal, for example, to confirm whether the Ack signal is correctly received. In the next step S130, if the master device 20 determines that the data is not correctly received in the process of step S120, it determines whether to perform a process for resending within the same communication event. In step S130, if the master device 20 decides to resend, it executes the process starting 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 the data will not be retransmitted, the host device 20 ends the process. Figure 4 The process is shown in the flowchart.

[0083] In this way, the channel map sharing process is performed by the master device 20 and the slave device 30. In addition, the master device 20 may perform the processes of steps S70 to S130 described above for each communication event, or may perform the processes every time a plurality of communication events pass.

[0084] Next, refer to Figure 5 The flowchart of FIG. 1 illustrates in detail the restoration determination process of the deleted communication channel in step S80. Figure 5 The flowchart of FIG. 1 shows in detail an example of the restoration determination processing of the deleted communication channel.

[0085] In this embodiment, whether the deleted communication channel can be restored is determined based on the characteristic data of the nearby communication channels whose frequencies are close to the deleted communication channel. Figure 6As shown, the master device 20 determines the communication channel actually used by the master device 20 and the slave device 30 in communication as the corresponding channel ( Figure 6 In the example, it is channel 3), and the adjacent channels ( Figure 6 In the example, channels 2 and 4 are determined as the communication channels to be restored. Furthermore, the adjacent channels ( Figure 6 In the example of , channels 1 and 5 are determined as the objects of acquisition of status and characteristic data. In addition, the status of the other party's adjacent channel indicates whether it can be used for wireless communication or has been deleted from the plurality of communication channels used for wireless communication. Furthermore, when the other party's adjacent channel is in a state that can be used for wireless communication, characteristic data of the other party's adjacent channel is also acquired.

[0086] exist Figure 5 In step S310 of the flowchart of FIG. 1 , the host device 20 first determines whether the corresponding channel has been deleted from the plurality of communication channels used in wireless communication in the deletion determination process of step S70. Figure 7 As shown in (a) and (b) of FIG. 1 , if the corresponding channel is 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 corresponding channel. Therefore, when the master device 20 determines that the corresponding channel has been deleted from the plurality of communication channels used in wireless communication, it does not perform the restoration determination process but ends the process. Figure 5 The process is shown in the flowchart. Figure 7 (a) shows that channel 3 is used as a communication channel, Figure 7 (b) shows that the communication quality of the wireless communication using the channel 3 is low, so the channel 3 is deleted from the plurality of communication channels used for the wireless communication through the deletion determination process.

[0087] On the other hand, if the host device 20 determines in step S310 that the corresponding channel has not been deleted, the process proceeds to step S320. In step S320, the host device 20 obtains the status of the adjacent channels on both sides of the corresponding channel to be restored, that is, whether the adjacent channels on both sides have been deleted or can be used. Then, in step S330, the host device 20 determines whether the adjacent channel has been deleted based on the acquired status of the adjacent channel to be restored.

[0088] For example Figure 8 As shown in (a) and (b) of FIG. 3 , if the adjacent channels on both sides of the corresponding channel have not been deleted and are available for use, there is no need to perform the recovery determination process itself. Therefore, if the host device 20 determines in step S330 that the adjacent channels on both sides of the corresponding channel have not been deleted, the recovery determination process is no longer performed and the process ends. Figure 5 The process is shown in the flowchart. Figure 8 (a) shows that channel 3 is used as a communication channel, Figure 8 (b) shows a state where channel 3 (corresponding channel) used in wireless communication and adjacent channels on both sides of the corresponding channel (channel 2, channel 4) can all be used for wireless communication.

[0089] 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 thereafter. That is, in the present embodiment, after wireless communication is performed between the master device 20 and the slave device 30 via an arbitrary communication channel, if a communication channel adjacent to the communication channel (corresponding channel) used in the wireless communication has been deleted, the master device 20 takes the deleted communication channel as a restoration study object and performs the restoration determination process after step S340.

[0090] In step S340, the main device 20 obtains the state of the other adjacent channel on the opposite side of the corresponding channel of the deleted adjacent channel (the restoration target), and the characteristic data indicating the communication quality of the other adjacent channel when the other adjacent channel is in a state that can be used for wireless communication. Figure 6 In the example shown, if adjacent channel 2, which is the restoration target, has been deleted, the main device 20 obtains the state of channel 1, which is the other adjacent channel of adjacent channel 2, and the characteristic data of channel 1 when channel 1 is not deleted. In addition, if adjacent channel 4, which is the restoration target, has been deleted, the main device 20 obtains the state of channel 5, which is the other adjacent channel of adjacent channel 4, and the characteristic data of channel 5 when channel 5 is not deleted.

[0091] In step S350, based on the state of the other party's adjacent channel obtained in step S340, it is determined whether the other party's adjacent channel has been deleted. In addition, in step S350, when the adjacent channel that is the recovery study object has been deleted, the adjacent channel of the other party on the opposite side of the channel of the recovery study object is determined. Therefore, in the case where the adjacent channels on both sides of the corresponding channel have been deleted, the determination of step S350 is performed on the two adjacent channels of the other party respectively. In step S350, if it is determined that the adjacent channel of the other party has been deleted, the main device 20 enters the process of step S360. On the other hand, in step S350, if it is determined that the adjacent channel of the other party has not been deleted but is in a state that can be used for wireless communication, the main device 20 enters the process of step S380.

[0092] Fig. 9 (a) and (b) show the case where the adjacent channel of the other party has been deleted. That is, Fig. 9 (a) shows that channel 3 is used as a communication channel, Fig. 9 (b) shows the following situation: Channel 3 (corresponding channel) used in wireless communication is not determined to have communication quality degradation in wireless communication and is therefore maintained as usable, but the adjacent channel (channel 2) that is the recovery study target and the adjacent channel (channel 1) that is the other side of the adjacent channel that is the recovery study target are deleted through deletion determination processing. In this case, it is determined whether the adjacent channel (channel 2) that is the recovery study target can be restored based only on the characteristic data of the corresponding channel (channel 3) that can be used for wireless communication.

[0093] in addition, Fig.10 (a) and (b) show the case where the adjacent channel of the other party is not deleted but can be used for wireless communication. That is, Fig.10 (a) Channel 3 is shown being used as a communication channel, Fig.10 (b) shows the following situation: channel 3 (corresponding channel) used in wireless communication is not determined to have communication quality degradation in wireless communication and is therefore maintained as usable, the adjacent channel (channel 2) of the corresponding channel as the recovery study object has been deleted, but the other party's adjacent channel (channel 1) can be used for wireless communication. In this case, it is determined whether the adjacent channel (channel 2) as the recovery study object can be restored based on the characteristic data of the corresponding channel (channel 3) that can be used for wireless communication and the other party's adjacent channel (channel 1).

[0094] In this embodiment, when only the communication channel on one side adjacent to the deleted communication channel as the restoration study object can be used for wireless communication and when the communication channels on both sides adjacent to the deleted communication channel as the restoration study object can be used for wireless communication, it is determined whether the deleted communication channel can be restored according to different judgment criteria. The following describes examples of the respective judgment criteria when only the communication channel on one side can be used for wireless communication and when the communication channels on both sides can be used for wireless communication.

[0095] Steps S360 and S370, which are executed when it is determined in step S350 that the other party's adjacent channel has been deleted, show an example of a determination criterion when only a single-side communication channel (i.e., the corresponding channel) can be used for wireless communication. In step S360, it is determined whether one of the characteristic data of the single-side communication channel (i.e., the corresponding channel) that can be used, namely, the RSSI value, is greater than the single-side RSSI threshold. In addition, in step S370, it is determined whether the other characteristic data of the single-side communication channel (i.e., the corresponding channel) that can be used, namely, the PER value, is smaller than the single-side PER threshold. In addition, 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 by step S60 when the corresponding channel was used in the previous wireless communication, or may be the value obtained by averaging a predetermined number of RSSI values ​​and PER values ​​detected in multiple wireless communications in the past, or their central value.

[0096] Fig.11 An example of the relationship between the RSSI value and the one-sided RSSI threshold and the two-sided RSSI threshold is shown when only the communication channel on one side adjacent to the deleted communication channel as the restoration study object can be used for wireless communication. The one-sided RSSI threshold is a threshold used to determine whether restoration is possible when only one of the communication channels on the two sides adjacent to the deleted communication channel as the restoration study object can be used for wireless communication. The two-sided RSSI threshold is a threshold used to determine whether restoration is possible when both of the communication channels on the two sides adjacent to the deleted communication channel as the restoration study object can be used for wireless communication.

[0097] In the case where only the communication channel adjacent to the deleted communication channel to be restored can be used for wireless communication, as described above, it is determined whether the adjacent channel to be restored can be restored based on the characteristic data of the communication channel (corresponding channel) on one side that can be used for wireless communication. Fig.11 As shown, the RSSI threshold on one side is determined to be relatively large compared to the RSSI threshold on both sides, so that the RSSI value of the adjacent channel (channel 2) that can be regarded as the recovery study object is improved to at least above the deletion threshold. In step S360, the main device 20 determines whether the RSSI value of the communication channel (corresponding channel) on one side that can be used for wireless communication meets (exceeds) the RSSI threshold on one side that is determined to be relatively large. The PER threshold on one side of step S370 is also determined to be relatively small compared to the PER threshold on both sides with the same concept as the RSSI threshold on one side of step S360. In step S370, the main device 20 determines whether the PER value of the communication channel (corresponding channel) on one side that can be used for wireless communication meets (is lower than) the PER threshold on one side.

[0098] If it is determined in step S360 that the RSSI value does not satisfy the one-sided RSSI threshold, or in step S370 that the PER value does not satisfy the one-sided PER threshold, the master device 20 considers that it is impossible to recover the adjacent channel of the recovery target, and ends. Figure 5 On the other hand, if it is determined in step S360 that the RSSI value satisfies the one-sided RSSI threshold and 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 that is the deleted recovery target can be restored. Then, the master device 20 ends Figure 5 The process shown in the flowchart returns to Figure 4 In addition, in steps S360 and S370, two types of characteristic data (RSSI value and PER value) are compared with each unilateral threshold value, but the characteristic data compared with the unilateral threshold value may be one type or three or more types.

[0099] On the other hand, steps S380, S390, S400 and S410, which are performed when it is determined in step S350 that the other party's adjacent channel has not been deleted, show an example of a judgment criterion when the communication channels on both sides (i.e., the corresponding channel and the other party's adjacent channel) can be used for wireless communication.

[0100] In the case where the communication channels on both sides of the deleted communication channel as the recovery target can be used for wireless communication, for example Fig.12 As shown, the RSSI value of the adjacent channel (channel 2) that is the recovery target also shows a high probability of being a RSSI value greater than the deletion threshold. Fig.12 The illustrated two-sided RSSI threshold is determined to be a relatively smaller value compared to the above-described one-sided RSSI threshold.

[0101] In step S380, the host device 20 calculates the average value of the RSSI value of the corresponding channel and the adjacent channel of the other party. In addition, the RSSI value of the adjacent channel of the other party is based on the RSSI value detected and stored when the wireless communication is performed using the adjacent channel of the other party. In step S390, the host device 20 determines whether the RSSI average value calculated in step S380 meets (exceeds) the RSSI threshold value on both sides, which is set to be relatively lower than the RSSI threshold value on one side.

[0102] In step S400, the host device 20 determines whether the PER value of one of the communication channels on both sides that can be used for wireless communication, that is, the corresponding channel, satisfies (is lower than) the PER threshold value on both sides that is determined to be relatively larger than the PER threshold value on one side. In step S410, it is determined whether the PER value of the other of the communication channels on both sides that can be used for wireless communication, that is, the other adjacent channel, satisfies (is lower than) the PER threshold value on both sides that is determined to be relatively larger than the PER threshold value on one side.

[0103] If it is determined in step S390 that the RSSI average value does not meet the RSSI threshold on both sides, or it is determined in step S400 that the PER value of the corresponding channel does not meet the PER threshold on both sides, or it is determined in step S410 that the PER value of the other adjacent channel does not meet the PER threshold on both sides, the master device 20 regards that the adjacent channel of the recovery target cannot be recovered, and ends. Figure 5 On the other hand, if it is determined in step S390 that the RSSI average value satisfies the RSSI threshold on both sides, and in step S400 it is determined that the PER value of the corresponding channel satisfies the PER threshold on both sides, and in step S410 it is determined that the PER value of the other adjacent channel satisfies the PER threshold on both sides, the master device 20 proceeds to step S420 and determines that the adjacent channel that is the deleted recovery target can be restored. Thereafter, the master device 20 ends Figure 5 The process shown in the flowchart returns Figure 4 Flowchart of the process.

[0104] In addition, in steps S380 to S410, two types of characteristic data (RSSI value and PER value) are compared with threshold values, respectively. However, the characteristic data to be compared with the threshold value may be one type or three or more types. In addition, in the above example, regarding the RSSI value, the average value of the RSSI value of the corresponding channel and the RSSI value of the other adjacent channel is calculated, and the calculated RSSI average value is compared with the RSSI threshold values ​​on both sides. However, the RSSI value of the corresponding channel and the RSSI value of the other adjacent channel may be compared with the RSSI threshold values ​​on both sides. Moreover, in the above example, regarding the PER value, the PER value of the corresponding channel and the PER value of the other adjacent channel are compared with the PER threshold values ​​on both sides. However, 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 is compared with the PER threshold values ​​on both sides. In addition, in the above example, two types of characteristic data (RSSI value and PER value) are compared with threshold values, respectively. However, it is also possible to determine that the deleted communication channel can be restored to a plurality of communication channels used in wireless communication based on the fact that the communication channels on both sides of the restoration study object can be used for wireless communication.

[0105] Thus, according to the present embodiment, whether a communication channel deleted from a plurality of communication channels used in wireless communication can be restored is determined based on characteristic data of adjacent single-side or double-side communication channels whose frequencies are close to the deleted communication channel. Generally, the communication quality of adjacent communication channels is correlated with the communication quality of the deleted communication channel due to the close frequencies. Therefore, by determining whether the deleted communication channel can be restored based on characteristic data of adjacent communication channels whose frequencies are close, it is possible to determine with high accuracy whether the deleted communication channel can be restored.

[0106] (Second Embodiment)

[0107] 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 has the same configuration as the wireless communication system according to the first embodiment, and therefore description of the configuration will be omitted.

[0108] The wireless communication system of this embodiment differs from the wireless communication system of the first embodiment only in the recovery determination process of the communication channel. Fig.13 The flowcharts of FIG. 14 and FIG. 15 illustrate the recovery determination process performed in the wireless communication system of the present embodiment. Fig.13 as well as Fig.14 In the recovery determination process shown in the flowchart of Figure 5 The recovery determination process shown in the flowchart of FIG. 1 is added with the processes of steps S352, S354, S356, S358, S381, S382, S383, S384 and S385. Fig.13 as well as Fig.14 The description will focus on the processing added to the flowchart.

[0109] In step S352, the status of the communication channels of ±2CH of the deleted channel to be restored is obtained. Fig.15As shown, when the deleted channel to be restored is channel 2, channel 0 and channel 4 correspond to the communication channels of ±2CH, and when the deleted channel to be restored is channel 4, channel 2 and channel 6 correspond to the communication channels of ±2CH. The states of channel 2 and channel 4 are acquired in step S320, so as a result, in step S352, when the restoration target is channel 2, the state of channel 0 is acquired, and / or when the restoration target is channel 4, the state of channel 6 is acquired. In addition, the communication channels of ±2CH can be defined as communication channels (channels 0 and 4 for channel 2, and channels 2 and 6 for channel 4) adjacent to the communication channels on both sides of the deleted channel (channels 2 and 4) on the opposite side to the restored target, that is, the deleted channel (channels 2 and 4) (channels 1 and 3 for channel 2, and channels 3 and 5 for channel 4).

[0110] In step S354, the main device 20 determines whether the state of the communication channels close to the deleted channel as the restoration target, specifically, the state of the communication channels of ±1CH and ±2CH of the deleted channel as the restoration target, corresponds to the threshold relaxation mode in the case where only the communication channels on one side of the deleted communication channel as the restoration target can be used for wireless communication. The threshold relaxation mode in the case where only the communication channels on one side of the deleted communication channel as the restoration target can be used for wireless communication is described below.

[0111] In a case where only the communication channel on one side adjacent to the deleted communication channel that is the object of recovery study can be used for wireless communication, as described in the first embodiment, the one-sided RSSI threshold compared with the RSSI value is set to be relatively larger than the two-sided RSSI threshold, and the one-sided PER threshold compared with the PER value is set to be relatively smaller than the two-sided PER threshold.

[0112] However, by considering the status of the ±2CH communication channels of the restoration study object, for example, even if the RSSI value of one communication channel is not that high, it can be determined that the communication quality (RSSI value) of the deleted channel as the restoration study object has been improved to above the deletion threshold. Fig.16 As shown in (a), it is assumed that channel 3 is a communication channel used in wireless communication, and channel 2 adjacent to channel 3 is a deleted channel. In this case, if channel 3 remains usable in wireless communication, the deleted channel 2 becomes a restoration target.

[0113] Moreover, if Fig.16 As shown in (b), when the communication channels of ±2CH of channel 2, i.e., channels 0 and 4, are both in a state that can be used for wireless communication, Fig.17 As shown in FIG. 1 , it can be said that even if the RSSI value of one communication channel does not exceed the one-side RSSI threshold, the communication quality (RSSI value) of the deleted channel (channel 2) is likely to have been improved to above the deletion threshold. Fig.16 As shown in (b), regarding the communication channels (channel 1, channel 3) of the ±1CH of the channel 2 to be restored, when only one side of the communication channels is in a state that can be used for wireless communication, but the communication channels (channel 0, channel 4) of the ±2CH of the channel 2 to be restored are both in a state that can be used for wireless communication, it is determined that it is in accordance with the threshold relaxation mode in which only the communication channels of one side of the deleted communication channel to be restored are in a state that can be used for wireless communication. On the other hand, the host device 20 is in a state where the communication channels of the ±1CH and ±2CH of the deleted channel to be restored are in a state where Fig.16 In the case of a mode other than the threshold relaxation mode shown in (b), it is determined that the threshold relaxation mode in which only the communication channel on one side of the deleted communication channel to be restored can be used for wireless communication is not met.

[0114] The pattern that does not conform to the threshold relaxation pattern in the case where only the communication channel on one side of the deleted communication channel as the recovery target can be used for wireless communication is shown in Fig.18 In (a) to (c). Fig.18 (a) and (b) show the following pattern: regarding the communication channels of ±1CH (channel 1, channel 3) of channel 2 which is the recovery research object, only one side of the communication channel is in a state that can be used for wireless communication, and regarding the communication channels of ±2CH (channel 0, channel 4) of channel 2 which is the recovery research object, only one side of the communication channel is in a state that can be used for wireless communication. Fig.18 (c) shows the following pattern: with respect to the communication channels (channel 1, channel 3) of ±1CH of channel 2 which is the object of recovery study, only one side of the communication channel is in a state that can be used for wireless communication, but with respect to the communication channels (channel 0, channel 4) of ±2CH of channel 2 which is the object of recovery study, both sides of the communication channels are deleted and are in a state that cannot be used for wireless communication.

[0115] For example, Fig.18 A representative example of the RSSI value of each channel in the case of the mode shown in (a) is shown in Fig.19 In. Fig.19 As shown in FIG. 1 , the two channels 0 and 1 on the left side of the channel 2 to be recovered have been deleted, and it is considered that the RSSI values ​​of these two channels are lower than the deletion threshold. Fig.18In the pattern shown in (a) of FIG. 1 , if the one-sided RSSI threshold is relaxed, even if the RSSI value of channel 2 does not improve to the extent that it exceeds the deletion threshold, the RSSI value of channel 3 may exceed the relaxed one-sided RSSI threshold. Fig.18 In the pattern shown in (a), it is determined that the threshold relaxation pattern in which only the communication channel on one side of the deleted communication channel to be restored can be used for wireless communication is not met. Fig.18 The same is true for the patterns shown in (b) and (c).

[0116] However, for Fig.18 The patterns shown in (a) and (b) are similar to Fig.16 The pattern shown in (b) is less relaxed than that shown in the previous example, but a relaxed one-sided threshold value that is wider than the one-sided RSSI threshold value can also be set. This is because Fig.18 The patterns shown in (a) and (b) are similar to Fig.18 Thus, the one-sided threshold may be relaxed in stages according to the state of the ±1CH communication channels and ±2CH communication channels of the deleted channels to be restored.

[0117] exist Fig.13 In step S354 of the flowchart of FIG. 1 , if the master device 20 determines that the states of the communication channels of ±1CH and ±2CH of the deleted channels to be restored are in compliance with the threshold relaxation mode, 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 channels to be restored are in compliance with the threshold relaxation mode, the process proceeds to step S360.

[0118] In step S356, the host device 20 uses the relaxed one-sided RSSI threshold value that is relaxed than the one-sided RSSI threshold value to determine whether the RSSI value of the one-sided communication channel (corresponding channel) that can be used for wireless communication meets (exceeds) the relaxed one-sided RSSI threshold value. In step S358, the host device 20 uses the relaxed one-sided PER threshold value that is relaxed than the one-sided PER threshold value to determine whether the PER value of the one-sided communication channel (corresponding channel) that can be used for wireless communication meets (is lower than) the relaxed one-sided PER threshold value.

[0119] Thus, in this embodiment, when the states of the communication channels of ±1CH and ±2CH of the deleted channel as the restoration target meet the threshold relaxation mode in which only the communication channels on one side of the deleted communication channel as the restoration target can be used for wireless communication, the main device 20 changes the one-sided RSSI threshold and the one-sided PER threshold used for the restoration judgment of the deleted channel to the relaxed one-sided RSSI threshold and the relaxed one-sided PER threshold indicating the communication quality lower than these thresholds. Thus, the judgment accuracy of whether the deleted channel can be restored can be further improved. In addition, the one-sided RSSI threshold and the one-sided PER threshold correspond to the second restoration threshold, and the relaxed one-sided RSSI threshold and the relaxed one-sided PER threshold correspond to the fourth restoration threshold.

[0120] The state of the communication channels of ±2CH is determined based on the characteristic data (RSSI, PER, etc.) when the communication channels of ±2CH are used for wireless communication. Therefore, as described above, the so-called change of the one-sided RSSI threshold and the one-sided PER threshold by considering the state of the communication channels of ±2CH in addition to the state of the communication channels of ±1CH means that it is determined whether the deleted channel can be restored based not only on the characteristic data of the communication channels of ±1CH of the deleted channel as the restoration study object, but also on the characteristic data of the communication channels of ±2CH of the deleted channel as the restoration study object. That is, in the present disclosure, the "nearby communication channels" are concepts that include not only the communication channels (±1CH) adjacent to the deleted channel as the restoration study object, but also at least the communication channels (±2CH) adjacent to the adjacent communication channels (±1CH). Moreover, as nearby communication channels, the communication state of ±3CH can also be considered.

[0121] If it is determined in step S356 that the RSSI value does not satisfy the relaxed unilateral RSSI threshold, or if it is determined in step S358 that the PER value does not satisfy the relaxed unilateral PER threshold, the master device 20 regards that the deleted channel of the recovery target cannot be restored, and ends the process. 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 in step S358 that the PER value satisfies the relaxed one-sided PER threshold, the master device 20 determines in step S420 that the deleted channel of the restoration target can be restored. Then, the master device 20 ends Fig.13 The process shown in the flowchart returns Figure 4 Flowchart of the process.

[0122] exist Fig.13 In step S350, if it is determined that the other adjacent channel has not been deleted, the master device 20 enters Fig.14In step S380, the host device 20 calculates the average value of the RSSI value of the corresponding channel and the other adjacent channel. This point is the same as the recovery determination process of the first embodiment.

[0123] In the next step S382, the main device 20 obtains the status of the communication channels of ±2CH of the deleted channel as the restoration study object. Then, in step S382, the main device 20 determines whether the status of the communication channels of ±1CH and ±2CH of the deleted channel as the restoration study object conforms to the threshold relaxation mode in the case where the communication channels on both sides of the deleted communication channel as the restoration study object can be used for wireless communication. The following describes the threshold relaxation mode in the case where the communication channels on both sides of the deleted communication channel as the restoration study object can be used for wireless communication.

[0124] For example Fig. 20 As shown in (a), it is assumed that channel 3 is a communication channel used in wireless communication, and channel 2 adjacent to channel 3 is a deleted channel. In this case, if channel 3 remains usable in wireless communication, the deleted channel 2 becomes a restoration target.

[0125] Moreover, if Fig. 20 As shown in (b), when the communication channels of ±2CH of channel 2, i.e., channels 0 and 4, are both in a state that can be used for wireless communication, Fig.21 As shown, it can be said that even if the RSSI value of one of the ±1CH communication channels does not exceed the RSSI thresholds on both sides, or the average RSSI value of the two communication channels does not exceed the RSSI thresholds on both sides, the communication quality (RSSI value) of the deleted channel (channel 2) is likely to have been improved to above the deletion threshold. Fig. 20 As shown in (b), when the communication channels of ±1CH (channel 1, channel 3) of the channel 2 to be restored are all in a state that can be used for wireless communication, and the communication channels of ±2CH (channel 0, channel 4) of the channel 2 to be restored are all in a state that can be used for wireless communication, it is determined that the threshold relaxation mode is met. On the other hand, the master device 20 Fig. 20 In the case of a mode other than the threshold relaxation mode shown in (b), it is determined that the threshold relaxation mode is not applicable when both communication channels on both sides of the deleted communication channel to be restored can be used for wireless communication.

[0126] The mode that does not conform to the threshold relaxation mode in the case where both communication channels on both sides of the deleted communication channel that is the recovery target can be used for wireless communication is shown in Fig. 22In (a) to (c). Fig. 22 (a) and (b) show the following pattern: the communication channels (channel 1, channel 3) of ±1CH of channel 2 which is the recovery research object are all in a state that can be used for wireless communication, but regarding the communication channels (channel 0, channel 4) of ±2CH of channel 2 which is the recovery research object, only one side of the communication channel is in a state that can be used for wireless communication. Fig. 22 (c) shows the following pattern: the communication channels (channel 1, channel 3) of ±1CH of channel 2 which is the recovery research object are in a state that can be used for wireless communication, but regarding the communication channels (channel 0, channel 4) of ±2CH of channel 2 which is the recovery research object, the communication channels of both parties are deleted and are in a state that cannot be used for wireless communication.

[0127] For example, Fig. 22 A representative example of the RSSI value of each channel in the case of the mode shown in (a) is shown in Fig.23 In. Fig.23 As shown in the figure, the channel 0 corresponding to the -2CH on the left side of the channel 2, which is the recovery research object, has been deleted, and it is considered that the RSSI value of the channel 0 is lower than the deletion threshold. Fig. 22 In the mode shown in (a), if the RSSI thresholds on both sides are relaxed, even if the RSSI value of channel 2 does not improve to the extent that it exceeds the deletion threshold, the RSSI values ​​of channel 1 and channel 3 may exceed the relaxed RSSI thresholds on both sides. Fig. 22 In the mode shown in (a), it is determined that the threshold relaxation mode is not applicable when both communication channels on both sides of the deleted communication channel that is the recovery target can be used for wireless communication. Fig. 22 The same is true for the patterns shown in (b) and (c).

[0128] However, for Fig. 22 For the modes shown in (a) and (b), although the degree of relaxation is Fig. 20 The pattern shown in (b) is smaller, but it is also possible to set the thresholds on both sides to be relaxed compared to the RSSI thresholds on both sides. This is because Fig. 22 The patterns shown in (a) and (b) are Fig. 22 In this way, the thresholds on both sides can be relaxed in stages according to the state of the ±1CH communication channels and ±2CH communication channels of the deleted channels to be recovered.

[0129] exist Fig.14In step S382 of the flowchart of FIG. 1 , if the master device 20 determines that the states of the communication channels of ±1CH and ±2CH of the deleted channel as the restoration target are in accordance with the threshold relaxation mode in which the communication channels on both sides of the deleted communication channel as the restoration target can be used 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 of ±1CH and ±2CH of the deleted communication channel as the restoration target are in accordance with the threshold relaxation mode in which the communication channels on both sides of the deleted communication channel as the restoration target can be used for wireless communication, the process proceeds to step S390.

[0130] In step S383, the host device 20 determines whether the RSSI average value calculated in step S380 satisfies (exceeds) a relaxed both-side RSSI threshold value that is relaxed (decreased) than the both-side RSSI threshold value. In step S384, the host device 20 determines whether the PER value of one of the both-side communication channels that can be used for wireless communication, that is, the corresponding channel, satisfies (is lower than) a relaxed both-side PER threshold value that is relaxed (increased) than the both-side PER threshold value. In step S385, it is determined whether the PER value of the other of the both-side communication channels that can be used for wireless communication, that is, the other adjacent channel, also satisfies (is lower than) the relaxed both-side PER threshold value.

[0131] Thus, in this embodiment, when the states of the communication channels of ±1CH and ±2CH of the deleted channel as the restoration study target meet the threshold relaxation mode in which the communication channels on both sides of the deleted communication channel as the restoration study target can be used for wireless communication, the main device 20 changes the RSSI threshold on both sides and the PER threshold on both sides used for the restoration judgment of the deleted channel to the relaxed RSSI threshold on both sides and the relaxed PER threshold on both sides indicating the communication quality lower than these thresholds. Thus, the judgment accuracy of whether the deleted channel can be restored can be further improved. In addition, the RSSI threshold on both sides and the PER threshold on both sides correspond to the first restoration threshold, and the relaxed RSSI threshold on both sides and the relaxed PER threshold on both sides correspond to the third restoration threshold.

[0132] If it is determined in step S383 that the RSSI average value does not satisfy the relaxed RSSI threshold on both sides, or in step S384 that the PER value of the corresponding channel does not satisfy the relaxed PER threshold on both sides, or in step S385 that the PER value of the other adjacent channel does not satisfy the relaxed PER threshold on both sides, the master device 20 regards that the deleted channel of the recovery target cannot be restored, and ends. Fig.13 as well as Fig.14On the other hand, if it is determined in step S383 that the RSSI average value satisfies the relaxed RSSI threshold on both sides, in step S384 that the PER value of the corresponding channel satisfies the relaxed PER threshold on both sides, and in step S385 that the PER value of the other adjacent channel satisfies the relaxed PER threshold on both sides, the master device 20 enters Fig.13 In step S420 of the flowchart, it is determined that the deleted channel of the recovery object can be restored. Then, the main device 20 ends Fig.13 The process shown in the flowchart returns Figure 4 Flowchart of the process.

[0133] The restoration determination process according to the second embodiment can also achieve the same effect as the first embodiment. Moreover, according to the restoration determination process according to the second embodiment, by considering the state of the ±2CH communication channels of the restoration study object, it is possible to more accurately determine whether the deleted channel that is the restoration study object can be restored.

[0134] Although preferred embodiments of the present disclosure have been described above, the present disclosure is not limited to the above-described embodiments, and can be implemented with various modifications within the scope not departing from the gist of the present disclosure.

[0135] For example, in the first and second embodiments described above, PER is used as the second characteristic data. However, a packet arrival rate (PAR) as a success rate of packet communication may be used instead of the error rate of packet communication. In addition, when PAR is used, the magnitude relationship with the threshold is opposite to that of the first and second embodiments described above.

Claims

1. A wireless communication system for performing wireless communication between a master device and a slave device via one of a plurality of communication channels selected in sequence, characterized in that: The wireless communication system comprises: a detection unit that detects characteristic data indicating a communication quality of the wireless communication being performed for each of the communication channels; a deleting unit that deletes the communication channel determined to have degraded communication quality based on the characteristic data detected by the detecting unit from the plurality of communication channels used in the wireless communication; as well as The determination unit determines whether the deleted communication channel can be restored to the plurality of communication channels used in the wireless communication based on the characteristic data of the neighboring communication channels having frequencies close to the communication channel deleted by the deletion unit.

2. The wireless communication system according to claim 1, characterized in that: When the communication channel adjacent to the communication channel used in the wireless communication has been deleted by the deleting unit after the wireless communication has been performed between the master device and the slave device via the communication channel, the determining unit determines whether the deleted communication channel can be restored.

3. The wireless communication system according to claim 2, characterized in that: When the deletion unit deletes the communication channel that is determined based on the characteristic data to be the communication channel used in the wireless communication with degraded communication quality from the plurality of communication channels used in the wireless communication, the determination unit does not determine whether the communication channel adjacent to the communication channel used in the wireless communication can be restored.

4. The wireless communication system according to any one of claims 1 to 3, characterized in that: The determination unit determines whether the deleted communication channel can be restored according to different determination criteria, in a case where the communication channels on both sides adjacent to the deleted communication channel, which is the object of determination on whether it can be restored, can be used for the wireless communication, and in a case where only the communication channel on one side adjacent to the deleted communication channel, which is the object of determination on whether it can be restored, can be used for the wireless communication.

5. The wireless communication system according to claim 4, characterized in that: The determination unit determines that the deleted communication channel can be restored to the plurality of communication channels used in the wireless communication based on the fact that the characteristic data of the communication channels on both sides satisfy a first restoration threshold when the communication channels on both sides adjacent to the deleted communication channel, which is the object of determination on whether restoration can be used for the wireless communication; and determines that the deleted communication channel can be restored to the plurality of communication channels used in the wireless communication based on the fact that the characteristic data of the communication channels on both sides satisfy a second restoration threshold indicating a higher communication quality than the first restoration threshold when only the communication channel on one side adjacent to the deleted communication channel, which is the object of determination on whether restoration can be used for the wireless communication.

6. The wireless communication system according to claim 5, characterized in that: In a case where in addition to the communication channels on both sides adjacent to the deleted communication channel that is the object of recovery determination being able to be used for the wireless communication, the communication channels adjacent to the communication channels on both sides on the side opposite to the deleted communication channel are also able to be used for the wireless communication, the determination unit changes the first recovery threshold to a third recovery threshold indicating a communication quality lower than the first recovery threshold.

7. The wireless communication system according to claim 5, characterized in that: In a case where only the communication channel on the side adjacent to the deleted communication channel that is the object of recovery determination can be used for the wireless communication, and the communication channels adjacent to the communication channels on both sides of the deleted communication channel on the side opposite to the deleted communication channel can also be used for the wireless communication, the determination unit changes the second recovery threshold to a fourth recovery threshold indicating a communication quality lower than the second recovery threshold.

8. The wireless communication system according to claim 4, characterized in that: When the communication channels on both sides adjacent to the deleted communication channel, which is the object of determination on whether it can be restored, can be used for the wireless communication, the determination unit determines that the deleted communication channel can be restored to the plurality of communication channels used in the wireless communication based on the fact that the communication channels on both sides can be used for the wireless communication.

9. The wireless communication system according to any one of claims 1 to 3, characterized in that: The plurality of communication channels include: a first channel group including a plurality of communication channels for connection establishment processing for establishing a communication connection between the master device and the slave device; and a second channel group including a plurality of communication channels for communication processing for performing data communication between the master device and the slave device, The communication channel deleted by the deletion unit from among the plurality of communication channels used in the wireless communication is the communication channel included in the second channel group.

10. The wireless communication system according to any one of claims 1 to 3, characterized in that: The wireless communication is packet communication, The characteristic data is at least one of a received signal strength, a signal-to-noise ratio / a signal-to-interference-and-noise ratio, a packet error rate, a packet arrival rate, and a bit error rate in the packet communication.

11. The wireless communication system according to any one of claims 1 to 3, characterized in that: 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, characterized in that: The moving object is a vehicle.

13. A wireless communication method for performing wireless communication between a master device and a slave device via one of the communication channels selected sequentially from a plurality of communication channels, characterized in that: The wireless communication method comprises: a detection step of detecting characteristic data indicating the communication quality of the wireless communication being performed for each of the communication channels; a deleting step of deleting the communication channel determined to have degraded communication quality based on the characteristic data detected in the detecting step from the plurality of communication channels used in the wireless communication; as well as A determination step of determining whether the deleted communication channel can be restored to the plurality of communication channels used in the wireless communication based on the characteristic data of the nearby communication channels having frequencies close to the communication channel deleted in the deletion step.