Wireless communication system and wireless communication method
The wireless communication system addresses channel management issues by dynamically adjusting to maintain a sufficient number of channels with relaxed quality standards, improving reliability in environments with interference.
Patent Information
- Application Number
- JP2023043504
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-17
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2043-03-17
AI Technical Summary
Existing wireless communication systems struggle to effectively manage communication channels when interference occurs, leading to a reduction in usable channels and increased communication errors, especially in environments with poor communication quality between a master device and a slave device.
A wireless communication system that dynamically manages communication channels by detecting communication quality, deleting channels with deteriorated quality, and adjusting to a relaxed communication quality standard to maintain a minimum number of usable channels, ensuring effective interference avoidance.
This approach ensures a sufficient number of communication channels are maintained, reducing the likelihood of communication errors by allowing channels with relaxed quality standards to be used, thereby enhancing communication reliability.
Smart Images

Figure 2024132650000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a wireless communication system and a wireless communication method for performing wireless communication between a master device and a slave device via one communication channel that is sequentially selected from a plurality of communication channels. [Background technology]
[0002] As an example of this type of wireless communication system, one described in Patent Document 1 is known. In the wireless communication system of Patent Document 1, when a packet error occurs and the RSSI value of the wireless signal of the packet is greater than a preset threshold Th1, the system determines that the reception operation of receiving this packet is a reception error caused by interference with other radio waves. Then, the system counts the number of receptions and the number of reception errors, and stores the frequency of reception errors caused by interference in each frequency channel (number of reception errors / number of receptions). If the reception error frequency exceeds threshold Th2, the system determines that an interference source exists in the frequency channel where the reception error frequency caused by interference exceeds threshold Th2, and stores this frequency channel as an unusable channel. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2006-128812 A Summary of the Invention [Problem to be solved by the invention]
[0004] As described above, the wireless communication system of Patent Document 1 sets a frequency channel whose communication quality has deteriorated due to interference with other radio waves as an unavailable channel. In addition, the wireless communication system of Patent Document 1 returns the unavailable frequency channel to an available frequency channel after a set period has elapsed.
[0005] However, for example, when the communication environment between the master device and the slave device constituting the wireless communication system is poor, the number of available frequency channels (communication channels) may be extremely reduced. In this case, channel hopping among multiple communication channels cannot be fully utilized, and the function of avoiding interference with external noise may be degraded.
[0006] In the wireless communication system of Patent Document 1, a communication channel that has been set as an unavailable channel is restored to an available communication channel after a set period has elapsed, but if the set period is long, it is difficult to resolve the shortage in the number of communication channels. On the other hand, if the set period is short, there is a high possibility that wireless communication will be performed using a communication channel whose communication quality remains degraded, which may result in frequent communication errors. Thus, it is difficult to effectively prevent the occurrence of a shortage in the number of communication channels by simply restoring an unavailable communication channel to an available communication channel after the set period has elapsed.
[0007] The present disclosure has been made in consideration of the above-mentioned points, and aims to provide a wireless communication system and a wireless communication method that can effectively prevent a shortage in the number of communication channels even when a communication channel whose communication quality has deteriorated is deleted from multiple communication channels used for wireless communication. [Means for solving the problem]
[0008] In order to achieve the above object, a wireless communication system according to the present disclosure is a wireless communication system that performs wireless communication between a master device (20) and a slave device (30) via one communication channel that is sequentially selected from a plurality of communication channels, a detection unit (S60) for detecting characteristic data indicating communication quality of wireless communication performed for each communication channel; a deletion unit (S70) that deletes a communication channel that is determined not to satisfy a predetermined communication quality standard based on the characteristic data detected by the detection unit from a plurality of communication channels used for wireless communication; a determination unit (S440, S530) that determines whether or not the number of the communication channels used for wireless communication falls below a minimum limit value as a result of the deletion of the communication channels by the deletion unit; The method is configured to include a change unit (S460 to S490, S550 to S570) that, when the determination unit determines that the number of multiple communication channels used for wireless communication is below a minimum limit value, changes the multiple communication channels used for wireless communication to multiple communication channels that satisfy a relaxed communication quality standard that is more relaxed than a predetermined communication quality standard.
[0009] A wireless communication method according to the present disclosure is a wireless communication method for performing wireless communication between a master device (20) and a slave device (30) via one communication channel sequentially selected from a plurality of communication channels, comprising: a detection step (S60) of detecting characteristic data indicating a communication quality of the wireless communication performed for each communication channel; a deletion step (S70) of deleting a communication channel determined not to satisfy a predetermined communication quality standard based on the characteristic data detected in the detection step from a plurality of communication channels used for wireless communication; a determination step (S440, S530) of determining whether or not the number of the plurality of communication channels used for wireless communication falls below a minimum limit value as a result of the deletion of the communication channels in the deletion step; If it is determined in the determination step that the number of multiple communication channels used for wireless communication falls below the minimum limit value, the method is configured to include a change step (S460 to S490, S550 to S570) of changing the multiple communication channels used for wireless communication to multiple communication channels that satisfy a relaxed communication quality standard that is more relaxed than a predetermined communication quality standard.
[0010] As described above, in the wireless communication system and wireless communication method according to the present disclosure, when the number of multiple communication channels used for wireless communication falls below a minimum limit value due to the deletion of communication channels that do not satisfy a predetermined communication quality standard, the multiple communication channels used for wireless communication are changed to multiple communication channels including communication channels that satisfy a relaxed communication quality standard that is more relaxed than the predetermined communication quality standard. Since the relaxed communication quality standard is more relaxed than the predetermined communication quality standard, the number of communication channels that satisfy the relaxed communication quality standard is greater than the number of communication channels that satisfy the predetermined communication quality standard. This makes it easy to secure multiple communication channels in a number equal to or greater than the minimum limit value as multiple communication channels to be used for wireless communication. Furthermore, since the increased multiple communication channels at least satisfy the relaxed communication quality standard, the risk of communication errors occurring can also be reduced.
[0011] The reference numbers in parentheses above are merely an example of a correspondence with a specific configuration in an embodiment described below, in order to facilitate understanding of the present disclosure, and are not intended to limit the scope of the present disclosure in any way.
[0012] In addition, the technical features described in each claim in addition to the features of the present disclosure described above will become apparent from the description of the embodiments described below and the accompanying drawings. [Brief description of the drawings]
[0013] [Figure 1] 1 is a block diagram showing a schematic configuration of a wireless communication system according to a first embodiment. [Diagram 2] FIG. 4 is a diagram illustrating an example of the electric field strength distribution in a communication environment between a master device and a slave device. [Diagram 3] FIG. 4 is a diagram showing an example of received signal strength of each communication channel. [Figure 4] 5 is a flowchart showing a communication sequence between a master device and a slave device in the first embodiment. [Diagram 5] 10 is a flowchart showing a detailed example of a communication channel deletion determination process in the first embodiment. [Figure 6] FIG. 13 is a diagram showing that two types of threshold values are determined for each of the RSSI value and the PER value, which are characteristic data indicating communication quality. [Figure 7] 5 is a flowchart showing a detailed example of a channel map creation process in the first embodiment. [Figure 8] 11 is an explanatory diagram for explaining a process of performing an AND operation on communication channels included in the first and second communication channel groups of all slave devices and calculating the result of the AND operation. FIG. [Figure 9] 13 is a flowchart showing a detailed example of a channel map creation process in the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] Hereinafter, preferred embodiments of the present disclosure will be described with reference to the drawings. Note that the same or similar configurations may be omitted from description by assigning the same reference number across multiple drawings. When only a portion of a configuration is described in each embodiment, the configuration of another embodiment described above may be applied to the other portion of the configuration. In addition to the combination of configurations explicitly stated in the description of each embodiment, configurations of multiple embodiments may be partially combined together even if not explicitly stated, as long as there is no particular problem with the combination.
[0015] (First embodiment) The wireless communication system of the present embodiment includes a master device and a slave device. At least one of the master device and the slave device can be mounted on a moving object for use. The moving object includes, for example, a vehicle such as an automobile or a railroad car, an air vehicle such as an electric vertical take-off and landing aircraft or a drone, a ship, a construction machine, an agricultural machine, and the like.
[0016] As a specific application in a vehicle, the wireless communication system according to the present embodiment can be applied to a battery management system that manages batteries mounted as a battery pack in an electric vehicle, a hybrid vehicle, a plug-in hybrid vehicle, or other electric vehicle. When applied to the battery management system, for example, a master device is connected to a battery control device, and multiple slave devices are connected to monitoring devices provided in multiple battery stacks that constitute the battery pack. In this case, both the master device and the multiple slave devices are mounted in the vehicle.
[0017] Each monitoring device provided for each of the battery stacks acquires battery information such as the voltage and current of each battery cell included in the corresponding battery stack, the temperature of the battery stack, etc., using various sensors. Then, when each monitoring device receives data requesting battery information from the battery control device via the wireless communication system, it transmits the acquired battery information to the battery control device via the wireless communication system. Based on the acquired battery information, the battery control device calculates the state of charge (SOC) of the entire battery stack, drives a heating / cooling mechanism to adjust the temperature of the battery pack to an appropriate range, and determines whether or not it is necessary to perform a so-called equalization process to equalize the voltages of each battery cell. When the battery control device determines that it is necessary to perform an equalization process in at least one battery stack, it instructs the corresponding monitoring device to perform the equalization process via the wireless communication system. Also, each monitoring device performs a process to determine abnormalities in various sensors and in its own operation, and when an abnormality is determined, it transmits abnormality information to the battery control device via the wireless communication system.
[0018] Alternatively, the wireless communication system according to the present embodiment may be applied to a so-called smart key system or a tire pressure monitoring system in a vehicle. When applied to a smart key system, for example, the master device is mounted on the vehicle and connected to a control device that controls locking and unlocking of the vehicle door and on / off of a driving source such as the engine of the vehicle. The slave devices are mounted on portable keys or portable terminals held by multiple users. When applied to a tire pressure monitoring system, the master device is mounted on the vehicle and connected to a control device that displays the tire pressure and issues a warning when the tire pressure is abnormal. The slave devices are provided in each tire and connected to an air pressure detection device also provided in each tire. Furthermore, the wireless communication system according to the present embodiment may be applied to a vehicle diagnosis system. In this case, for example, the slave devices are connected to multiple on-board devices having a self-diagnosis function, and the master device is connected to a diagnosis control device installed in a service factory. In these examples, at least one of the master device and the multiple slave devices is disposed at a fixed position and / or at least one is mounted on the vehicle.
[0019] However, application examples of the wireless communication system according to the present embodiment are not limited to vehicles, and as described above, the system can be applied to systems that control and manage various equipment of moving objects other than vehicles, such as aircraft such as drones, ships, construction machinery, agricultural machinery, etc. Furthermore, the wireless communication system according to the present embodiment can be applied to systems that control and manage various equipment of buildings such as buildings, production facilities such as factories, etc.
[0020] 1 is a block diagram showing a schematic configuration of a wireless communication system 10. Both a master device 20 and a slave device 30 of the wireless communication system 10 are mounted on, for example, a vehicle (automobile). In this case, the master device 20 and the slave device 30 may be configured to be arranged in a common housing, or may not be arranged in a common housing. There may be one master device 20 or more. Similarly, there may be one slave device 30 or more. The master device 20 and the slave device 30 perform wireless communication via one communication channel sequentially selected from a plurality of communication channels, such as Bluetooth Low Energy (Bluetooth is a registered trademark, hereinafter referred to as Bluetooth LE) communication.
[0021] As an example, the wireless communication system 10 of the present embodiment includes one master device 20 and multiple slave devices 30. Although only one slave device 30 is shown in Fig. 1 for the sake of simplicity, all of the multiple slave devices 30 may be configured in the same manner.
[0022] In the wireless communication between the master device 20 and the slave device 30, a frequency band used in short-distance communication, such as the 2.4 GHz band or the 5 GHz band, can be used. Radio waves in such high-frequency bands have a tendency to travel in a more directional manner than radio waves in the LF band, and tend to be reflected by metal objects such as the body of a vehicle. LF is an abbreviation for Low Frequency. For example, Bluetooth and Bluetooth LE can be adopted as standards for short-distance communication. As an example, the master device 20 and the slave device 30 of this embodiment are configured to be able to carry out wireless communication conforming to the Bluetooth LE standard (hereinafter, Bluetooth LE communication). Details of the communication method related to the communication connection and encrypted communication are carried out according to a sequence defined in the Bluetooth LE standard.
[0023] 1, the master device 20 includes a control circuit (CNT) 21, a wireless communication circuit (WC) 22, and an antenna 23. In addition to the above-mentioned elements, the master device 20 also includes an input / output interface and a bus line for communicating with devices other than the slave device 30 in a wired or wireless manner.
[0024] The control circuit 21 includes, for example, a processor 211 and a memory 212. The memory 212 includes, for example, a RAM and a ROM. RAM is an abbreviation for Random Access Memory. ROM is an abbreviation for Read Only Memory.
[0025] In the control circuit 21, the processor 211 executes a program stored in the ROM while using the RAM as a temporary storage area, thereby performing a predetermined process (control). The processor 211 executes a plurality of instructions included in the program, thereby constructing a plurality of functional units. The storage medium for the program is not limited to the ROM. For example, various storage media such as an HDD or SSD can be adopted. HDD is an abbreviation for Hard-disk Drive. SSD is an abbreviation for Solid State Drive.
[0026] The processor 211 is, for example, a CPU, an MPU, a GPU, or a DFP. CPU is an abbreviation for Central Processing Unit. MPU is an abbreviation for Micro-Processing Unit. GPU is an abbreviation for Graphics Processing Unit. DFP is an abbreviation for Data Flow Processor. The control circuit 21 may be realized by combining multiple types of arithmetic processing devices such as a CPU, an MPU, and a GPU.
[0027] The control circuit 21 may be realized as an SoC. SoC is an abbreviation for System on Chip. The control circuit 21 may be realized using an ASIC or an FPGA. ASIC is an abbreviation for Application Specific Integrated Circuit. FPGA is an abbreviation for Field-Programmable Gate Array.
[0028] The control circuit 21 generates a command requesting processing from the slave device 30 (e.g., a command requesting data, a command requesting execution of a predetermined process, etc.), and transmits transmission data including the command in a transmission packet to the wireless communication circuit 22. The control circuit 21 receives the packet transmitted from the slave device 30, and executes the predetermined process based on the data included in the received packet. That is, the wireless communication between the master device 20 and the slave device 30 is packet communication.
[0029] The wireless communication circuit 22 includes an RF circuit (not shown) for wirelessly transmitting and receiving packets. The wireless communication circuit 22 has a transmission function of modulating a transmission signal and oscillating at the frequency of an RF signal. The wireless communication circuit 22 has a reception function of demodulating a reception signal. RF is an abbreviation for radio frequency.
[0030] The wireless communication circuit 22 modulates a packet including the data transmitted from the control circuit 21 and transmits it to the slave device 30 via the antenna 23. The control circuit 21 outputs to the wireless communication circuit 22 data obtained by encrypting transmission data such as battery information request data using encryption information exchanged in a connection establishment process described later. The wireless communication circuit 22 adds data necessary for wireless communication such as communication control information to the transmission packet and transmits it. The data necessary for wireless communication includes, for example, an identifier (ID), a sequence number, a next sequence number, an error detection code, and the like. The wireless communication circuit 22 may control the data size, communication format, schedule, error detection, and the like of the communication between the master device 20 and the slave device 30. The control circuit 21 may perform control related to these communications.
[0031] The wireless communication circuit 22 receives the packets transmitted from the slave device 30 via the antenna 23 and demodulates them. Then, it transmits the demodulated packets to the control circuit 21. The antenna 23 converts the electrical signals into radio waves and radiates them into space. The antenna 23 receives the radio waves propagating through space and converts them into electrical signals.
[0032] 1, the slave device 30 includes a control circuit (CNT) 31, a wireless communication circuit (WC) 32, and an antenna 33. In addition to the above-mentioned elements, the slave device 30 also includes an input / output interface and a bus line for wired or wireless communication with devices other than the master device 20. The control circuit 31 has a similar configuration to the control circuit 21 of the master device 20. The control circuit 31 includes, for example, a processor 311 and a memory 312. The memory 312 includes, for example, a RAM and a ROM.
[0033] The control circuit 31 executes requested processing (such as a response process of acquiring and returning requested data, or an execution process of the requested processing) based on a request command acquired via the wireless communication circuit 32. For example, if the request command included in the received data is a request to transmit battery information, the control circuit 31 of the slave device 30 transmits the transmission request to a monitoring device of the corresponding battery stack and acquires the battery information from the monitoring device, and then, in response to the request, transmits data encrypted using the encryption information including the processing result (for example, the acquired battery information) to the wireless communication circuit 32. The control circuit 31 can also execute control of equipment mounted on a vehicle, for example, in accordance with the requested processing.
[0034] The wireless communication circuit 32 includes an RF circuit (not shown) for wirelessly transmitting and receiving packets. The wireless communication circuit 32 has a transmitting function and a receiving function, similar to the wireless communication circuit 22. The wireless communication circuit 32 receives the packet transmitted from the master device 20 via the antenna 33 and demodulates it. Then, it transmits the data contained in the demodulated packet to the control circuit 31. The wireless communication circuit 32 modulates the packet containing the data transmitted from the control circuit 31 and transmits it to the master device 20 via the antenna 33. The wireless communication circuit 32 adds data necessary for wireless communication, such as communication control information, to the transmission packet and transmits it.
[0035] The wireless communication circuit 32 may control the data size, communication format, schedule, error detection, etc. of the communication between the master device 20 and the slave device 30. The control circuit 31 may perform control related to these communications. The antenna 33 converts an electric signal into a radio wave and radiates it into space. The antenna 33 receives the radio wave propagating through space and converts it into an electric signal.
[0036] Fig. 2 is a diagram showing an example of an electric field strength distribution in a communication environment between the master unit 20 and the slave unit 30. Fig. 2 shows the results of an electromagnetic field simulation at a specific timing at a specific frequency. Hereinafter, the electric field strength distribution may be referred to as the electric field distribution.
[0037] The master unit 20 and the slave unit 30 are disposed, for example, at predetermined positions in a vehicle. When a radio wave signal of a predetermined frequency is transmitted from the master unit 20 and the slave unit 30 disposed at the respective predetermined positions, parts of high and low electric field strength are generated in the usage environment due to interference between the transmitted wave and the reflected wave and interference with external noise. The reflected wave is generated by reflection from metal elements of the vehicle present around the master unit 20 and the slave unit 30, such as reflection from the vehicle body, reflection from a metal casing, and reflection from a harness. For this reason, the communication environment of the master unit 20 and the slave unit 30 has a plurality of so-called NULL points, which are parts of high electric field strength and parts of low electric field strength, as shown in FIG. 2.
[0038] If the slave unit 30 is located in or near a portion of low electric field strength in the electric field distribution with the master unit 20, the slave unit 30 is more likely to be unable to correctly receive the wireless signal from the master unit 20, which may result in a communication error. A communication channel with a high probability of causing such a communication error is a communication channel with degraded communication quality.
[0039] When the master device 20 and the slave device 30 perform wireless communication via one communication channel selected in sequence from a plurality of communication channels, the frequency of each communication channel is different, and therefore the electric field distribution of each communication channel may also change. As a result, the communication quality of each communication channel may differ.
[0040] For example, as shown in FIG. 3, in wireless communication via communication channel A, the received power (received signal strength), which is one of the parameters indicating the communication quality, is good. In addition, in wireless communication via communication channel C, the received power indicates a very high value. Therefore, when the master device 20 and the slave device 30 use communication channels A and C, which have good or very high communication quality, they can perform high-quality wireless communication in which communication errors are sufficiently suppressed. On the other hand, in wireless communication via communication channels B and N, the received power is low. Therefore, when the master device 20 and the slave device 30 use communication channels B and N, which have poor communication quality, there is a high possibility that a communication error will occur in the wireless communication. Note that in FIG. 3, for ease of understanding, an example of the received signal strength versus frequency is shown by a solid line.
[0041] Therefore, it is preferable that wireless communication between the master device 20 and the slave device 30 be performed using a communication channel that can perform high-quality wireless communication, avoiding communication channels with degraded communication quality.
[0042] However, the electric field distribution between the master device 20 and the slave device 30 changes depending on the external environment (such as external noise) and vibrations (including vibrations of the harness) of the master device 20 and / or the slave device 30. Therefore, when the master device 20 and the slave device 30 are mounted on a vehicle, the electric field distribution of the communication environment between the master device 20 and the slave device 30 changes depending on, for example, the vibrations of the vehicle and the state of the surrounding environment of the vehicle. As a result, the communication channel with good communication quality and the communication channel with deteriorated communication quality are not fixed but may change from moment to moment. Therefore, it is required to delete the corresponding communication channel from the multiple communication channels used for wireless communication when the communication quality deteriorates, and to restore the corresponding communication channel as one of the multiple communication channels used for wireless communication when the communication quality recovers. Furthermore, in order to enable the function of avoiding interference with external noise, etc., it is required to secure a number of communication channels equal to or greater than the minimum limit value as the multiple communication channels used for wireless communication.
[0043] In the wireless communication system 10 of the present embodiment, a control process for realizing wireless communication between the master device 20 and the slave device 30 by securing a number of communication channels equal to or greater than a minimum limit value as a number of communication channels to be used for wireless communication while excluding communication channels with degraded communication quality will be described with reference to a diagram showing a communication sequence between the master device 20 and the slave device 30 shown in Fig. 4. In Fig. 4, the master device 20 is shown as MASTER, and the slave device 30 is shown as SLAVE. Fig. 4 also shows a communication sequence executed between the master device 20 and one slave device 30. When there are multiple slave devices 30, the master device 20 individually executes the communication sequence shown in Fig. 4 with the multiple slave devices 30.
[0044] First, the master device 20 and the slave device 30 execute a connection establishment process before executing the communication sequence shown in Fig. 2. For example, when the wireless communication system 10 is mounted on a vehicle, the connection establishment process is executed when the IG signal is switched from off to on by, for example, a user operation. This connection establishment process is executed between the master device 20 and all slave devices 30 that are targets for wireless communication connection with the master device 20. Note that, when the master device 20 and the slave device 30 are constantly connected, the connection establishment process is executed only once at a predetermined timing. However, when an error occurs during communication and the wireless communication connection between the master device 20 and the slave device 30 is disconnected, the connection establishment process may be executed to reconnect.
[0045] In the connection establishment process, for example, the slave device 30 performs an advertising operation to transmit an advertising signal via a communication channel for advertising, and the master device 20 performs a scanning operation to scan for the advertising signal. The communication channel for advertising includes multiple communication channels (for example, three in the case of Bluetooth LE). When the master device 20 receives an advertising signal through the scanning operation, it transmits a connection request to the slave device 30 that transmitted the advertising signal. This establishes a communication connection between the master device 20 and the slave device 30. Furthermore, after the communication connection is established, the master device 20 and the slave device 30 exchange encryption information and share initial information related to frequency channel hopping. The initial information includes, for example, a hopping pattern or a function for hopping.
[0046] When the connection establishment process is completed, the master device 20 and the slave device 30 execute data communication via a data communication channel that is selected in sequence from the multiple communication channels for each communication event that occurs periodically. In the case of Bluetooth LE, 37 communication channels are prepared as data communication channels. Specifically, as shown in Fig. 4, in step S10, the master device 20 transmits, for example, a data request command, that is, a data request, to the slave device 30. When the slave device 30 receives the data request in step S210, in step S220, the slave device 30 executes a predetermined process required for responding, that is, a process of acquiring and transmitting the requested data.
[0047] The master device 20 and the slave device 30 switch the communication channel for data to be used by performing frequency channel hopping for each communication event, and transmit and receive a data request or requested data. At this time, the master device 20 and the slave device 30 determine the communication channel to be switched by frequency channel hopping, for example, according to a channel map described later.
[0048] In step S20, the master device 20 receives the requested data. In step S30, the master device 20 performs, for example, a checksum check based on the error detection code included in the received data to confirm whether the data has been received correctly. In the following step S40, if the master device 20 determines that the data has not been received correctly in the process of step S30, it determines whether to execute a process for retransmission within the same communication event. For example, if there is enough time until the end time of the current communication event to perform retransmission, the master device 20 can decide to perform retransmission, and if there is no time, it can decide not to perform retransmission. In step S40, if the master device 20 determines to perform retransmission, it executes the process from step S10 again. If it is determined that the data has been received correctly in the process of step S30, or if it is determined not to perform retransmission in step S40, the master device 20 proceeds to the process of step S50.
[0049] In step S50, the master device 20 executes a process based on information included in the received data. If it is determined in step S30 that the data has not been received correctly and it is determined in step S40 that retransmission is not to be performed, the process of step S50 may be omitted or the process of step S50 may be executed based on the previously received data.
[0050] In step S60, the master device 20 detects a received signal strength indicator (RSSI) and a packet error rate (PER) as characteristic data indicating the communication quality of the signal received from the slave device 30. The PER is a percentage of the number of error packets to the number of packets received by the master device 20. The master device 20 may detect a signal-to-noise ratio (SNR) / signal-to-interference-to-noise ratio (SINR) instead of the RSSI. For example, the SNR / SINR can be detected by the ratio between the RSSI value when the master device 20 receives a wireless signal from the slave device 30 and the RSSI value when the master device 20 does not receive a wireless signal. The master device 20 may also detect a bit error rate (BER) instead of the PER. The master device 20 saves and accumulates the detected RSSI or SNR / SINR and the PER or BER for each communication channel. In addition to or instead of the master device 20 detecting the characteristics data indicating the communication quality as described above, the slave device 30 can also obtain the characteristics data by detecting the RSSI, PER, etc. when receiving a signal from the master device 20 and transmitting them to the master device 20.
[0051] In step S70, the master device 20 determines whether the communication quality of the communication channel has deteriorated based on the characteristic data indicating the communication quality detected in step S60. Then, the master device 20 deletes the communication channel whose communication quality has been determined to have deteriorated from the communication channels used for wireless communication between the master device 20 and the slave device 30. Note that the communication channel to be deleted is a communication channel for data. This process of determining whether to delete the communication channel will be described in detail later.
[0052] In step S80, the master device 20 executes a restoration determination for the communication channel deleted by the deletion determination during the previous communication event. In this restoration determination, if a predetermined restoration condition is satisfied, the deleted communication channel is restored as a communication channel to be used for wireless communication. For example, as an example of the predetermined restoration condition, the deleted communication channel may be restored in response to a predetermined time having elapsed since the communication channel was deleted. Alternatively, as another example of the predetermined restoration condition, the deleted communication channel may be restored as a communication channel to be used for wireless communication in response to a communication channel adjacent to the deleted communication channel exhibiting good communication quality. In this way, the communication channel determined to be capable of restoration as a communication channel to be used for wireless communication is actually used for wireless communication between the master device 20 and the slave device 30. However, if the communication quality when actually used for wireless communication remains deteriorated, the communication channel may be subject to the deletion determination again.
[0053] In step S90, the master device 20 creates a channel map based on the deletion determination result in step S70, the return determination result in step S80, and the number of multiple communication channels available for wireless communication. In this embodiment, an example in which a common channel map is created for multiple slave devices 30 will be described. The channel map creation process of this embodiment will be described in detail later. The channel map may indicate communication channels available for wireless communication, or may indicate communication channels that cannot be used. Furthermore, it may indicate both available communication channels and unavailable communication channels. In addition, when the available / unavailable communication channels are changed by creating the channel map, the frequency channel hopping pattern may be updated. In the case where the frequency channel hopping pattern is not updated, when the communication channel to be hopped is unavailable, for example, the communication channel to be hopped next may be used.
[0054] In step S100, the master device 20 transmits the channel map created by the channel map creation process to the slave device 30. In step S230, the slave device 30 receives the channel map transmitted from the master device 20. In step S240, the slave device 30 returns a reception confirmation signal (Ack signal) to the master device 20. In step S110, the master device 20 receives the Ack signal from the slave device 30. Then, in step S120, the master device 20 performs, for example, a checksum determination based on the error detection code included in the received Ack signal to confirm whether the Ack signal has been correctly received. In the following step S130, if it is determined in the process of step S120 that the data has not been correctly received, the master device 20 determines whether or not to perform a process for retransmission within the same communication event. In step S130, if the master device 20 determines to perform retransmission, the master device 20 executes the process from step S100 again. If it is determined in the process of step S120 that the data has been correctly received, or if it is determined in step S130 that retransmission is not to be performed, the master device 20 ends the process shown in the flowchart of FIG.
[0055] In this manner, the channel map sharing process is performed between the master device 20 and the slave device 30. The master device 20 may perform the above-mentioned processes from steps S70 to S130 for each communication event, or may perform the processes after a number of communication events have passed. The processes from steps S70 to S90 may be executed by a processing device other than the master device 20, and the process results may be provided to the master device 20.
[0056] Next, the above-mentioned communication channel deletion determination process will be described in detail with reference to the flowchart of Fig. 5. The flowchart of Fig. 5 shows a detailed example of the communication channel deletion determination process.
[0057] In step S310, the master device 20 acquires the RSSI value and the PER value, which are the first and second characteristic data indicating the communication quality of the communication channel used for the wireless communication. Note that the larger the RSSI value, the better the communication quality, and the smaller the PER value, the better the communication quality. The RSSI value and the PER value may be the RSSI value and the PER value detected in step S60 when the communication channel was used for the immediately previous wireless communication, or may be the average value or the median value of a predetermined number of RSSI values and PER values detected in multiple past wireless communications.
[0058] In step S320, the master device 20 judges whether the acquired RSSI value satisfies the first threshold value for RSSI (is greater than the first threshold value for RSSI). In this judgment process, if the master device 20 judges that the RSSI value satisfies the first threshold value for RSSI, the master device 20 proceeds to the process of step S330. On the other hand, if the master device 20 judges that the RSSI value does not satisfy the first threshold value for RSSI, the master device 20 proceeds to the process of step S340.
[0059] In step S330, the master device 20 determines whether the acquired PER value satisfies the first threshold value for PER (is smaller than the first threshold value for PER). In this determination process, if the master device 20 determines that the PER value satisfies the first threshold value for PER, the master device 20 proceeds to the process of step S350. In this case, since it can be considered that the communication quality of the communication channel has not deteriorated, the communication channel is not deleted from the first communication channel group. On the other hand, if the master device 20 determines that the PER value does not satisfy the first threshold value for PER, the master device 20 proceeds to the process of step S340.
[0060] In step S340, as a result of comparing the RSSI value with the first threshold for RSSI or as a result of comparing the PER value with the first threshold for PER, since either the RSSI value or the PER value does not satisfy the first threshold, the master device 20 deletes the communication channel from the first communication channel group. The first communication channel group is a set of communication channels whose RSSI value is greater than the first threshold for RSSI and whose PER value is smaller than the first threshold for PER. In other words, the first communication channel group is a set of communication channels whose communication quality is determined to be good based on the RSSI value and the PER value.
[0061] In this manner, in the deletion determination process, if both the RSSI value and the PER value satisfy the respective first thresholds corresponding to the predetermined communication quality standard, the communication channel is deemed to satisfy the predetermined communication quality standard and is left belonging to the first communication channel group. On the other hand, if at least one of the RSSI value and the PER value does not satisfy the respective first threshold, the communication channel is deemed not to satisfy the predetermined communication quality standard and is deleted from the first communication channel group.
[0062] In step S350, the master device 20 determines whether the RSSI value satisfies a second threshold for RSSI that is smaller than the first threshold for RSSI (greater than the second threshold for RSSI). If the master device 20 determines in this determination process that the RSSI value satisfies the second threshold for RSSI, the master device 20 proceeds to step S360. On the other hand, if the master device 20 determines that the RSSI value does not satisfy the second threshold for RSSI, the master device 20 proceeds to step S370.
[0063] In step S360, the master device 20 judges whether the PER value satisfies a second threshold for PER that is greater than the first threshold for PER (is smaller than the second threshold for PER). In this judgment process, if the master device 20 judges that the PER value satisfies the second threshold for PER, the master device 20 ends the deletion judgment process. In this case, the communication quality of the communication channel can be considered not to have deteriorated below the relaxed communication quality standard corresponding to each second threshold, so the communication channel is not deleted from the second communication channel group. On the other hand, if the master device 20 judges that the PER value does not satisfy the second threshold for PER, the master device 20 proceeds to the process of step S370.
[0064] In step S370, as a result of comparing the RSSI value with the second threshold for RSSI or as a result of comparing the PER value with the second threshold for PER, since either the RSSI value or the PER value does not satisfy the second threshold, the master device 20 deletes the communication channel from the second communication channel group. The second communication channel group is a collection of communication channels whose RSSI values are greater than the second threshold for RSSI and whose PER values are less than the second threshold for PER.
[0065] In this manner, in the deletion determination process, if both the RSSI value and the PER value satisfy the respective second thresholds corresponding to relaxed communication quality standards that are more relaxed than the predetermined communication quality standards, the communication channel is deemed to satisfy the relaxed communication quality standards and is left in the second communication channel group. On the other hand, if at least one of the RSSI value and the PER value does not satisfy the respective second thresholds, the communication channel is deemed not to satisfy the relaxed communication quality standards and is deleted from the second communication channel group.
[0066] Here, the relationship between the first communication channel group and the second communication channel group will be described in detail with reference to the drawings. In this embodiment, two types of data, RSSI value and PER value, are detected as characteristic data indicating the communication quality of the communication channel, and two types of thresholds (a first threshold for RSSI, a second threshold for RSSI, a first threshold for PER, and a second threshold for PER) corresponding to a predetermined communication quality standard and a relaxed communication quality standard, respectively, are determined for the detected RSSI value and PER value.
[0067] As shown in Fig. 6, the first threshold value for RSSI is greater than the second threshold value for RSSI. The larger the RSSI value, the better the communication quality. In other words, from the viewpoint of determining a deterioration in communication quality, the second threshold value for RSSI determines a greater deterioration in communication quality than the first threshold value for RSSI. Therefore, it can be said that the second threshold value for RSSI is more lenient than the first threshold value for RSSI.
[0068] Also, as shown in Fig. 6, the first threshold value for PER is smaller than the second threshold value for PER. The smaller the PER value, the better the communication quality. Therefore, similar to the case of RSSI, from the viewpoint of determining the deterioration of communication quality, the second threshold value for PER determines a larger deterioration of communication quality than the first threshold value for PER. Therefore, it can be said that the second threshold value for PER is also more relaxed than the first threshold value for PER.
[0069] In this embodiment, as shown in FIG. 6, an area with good communication quality where the RSSI value is greater than the first threshold for RSSI and the PER value is less than the first threshold for PER is defined as the main use area. A set of communication channels belonging to the main use area is defined as a first communication channel group. In contrast, an area where the RSSI value is less than the first threshold for RSSI but greater than the second threshold for RSSI, and where the PER value is greater than the first threshold for PER but less than the second threshold for PER is defined as a usage-restricted area. The communication channels belonging to the usage-restricted area are used for wireless communication only when the number of communication channels belonging to the main use area is less than or equal to a minimum limit value, as described later. A set of communication channels belonging to the main use area and the usage-restricted area is defined as a second communication channel group. That is, the second communication channel group includes the communication channels of the first communication channel group, and further includes the communication channels belonging to the usage-restricted area.
[0070] Next, the above-mentioned channel map creation process will be described in detail with reference to the flowchart of Fig. 7. The flowchart of Fig. 7 shows a detailed example of the channel map creation process. As described above, the channel map creation process of this embodiment is for creating a common channel map for multiple slave devices 30.
[0071] In step S410, after the deletion determination process in step S70 and the return determination process in step S80, the master device 20 reads out the communication channels belonging to the first communication channel group and the communication channels belonging to the second communication channel group for all slave devices 30.
[0072] As described using the flowchart of Fig. 5, in the deletion determination process, communication channels whose communication quality does not satisfy a predetermined communication quality standard are deleted from the first communication channel group, and communication channels that do not satisfy the relaxed communication quality standard are deleted from the second communication channel group. In other words, a set of communication channels that satisfy the predetermined communication quality standard is stored as the first communication channel group, and a set of communication channels that satisfy the relaxed communication quality standard is stored as the second communication channel group. These first communication channel group and second communication channel group are stored separately for each slave device 30 in the master device 20.
[0073] Furthermore, when it is determined in the restoration determination process performed for each slave device 30 that the communication channel can be restored, the master device 20 adds the communication channel determined to be capable of being restored to both the first communication channel group and the second communication channel group stored for the corresponding slave device 30. In this manner, the communication channels included in the first communication channel group and the second communication channel group are updated for each slave device 30 by the deletion determination process and / or the restoration determination process.
[0074] In step S420, the master device 20 performs an AND operation on the communication channels included in the first communication channel groups of all the slave devices 30 to calculate an AND operation result. For example, as shown in FIG. 8, in a case where slave 1 to slave 3 are provided as the multiple slave devices 30, communication channels belonging to all of the first communication channel groups of slave 1, slave 2, and slave 3 are calculated as the AND operation result of the first communication channel groups. The example of FIG. 8 shows that CH35, CH2, CH0, etc. are calculated as the AND operation result of the first communication channel groups. Note that in FIG. 8, communication channels included in each communication channel group are indicated by "1", and communication channels not included are indicated by "0".
[0075] In step S430, the master device 20 calculates the number of communication channels obtained as a result of the AND operation on the first communication channel group. In step S440, the master device 20 determines whether the calculated number of communication channels is less than a minimum limit value. The minimum limit value specifies the number of communication channels considered necessary to avoid interference with external noise. When switching the communication channels used for wireless communication by channel hopping, if the number of communication channels available for wireless communication is small, channel hopping between multiple communication channels cannot be fully utilized, and there is a possibility that the function of avoiding interference with external noise, etc. will be reduced.
[0076] If it is determined in step S440 that the calculated number of communication channels is equal to or greater than the minimum limit, the master device 20 proceeds to processing in step S450, and if it is determined that the number is less than the minimum limit, the master device 20 proceeds to processing in step S460. In step S450, a channel map common to all of the slave devices 30 is created from the multiple communication channels calculated by ANDing the first communication channel group.
[0077] In step S460, the master device 20 performs an AND operation on the communication channels included in the second communication channel groups of all the slave devices 30 to calculate an AND operation result. In the AND operation on this second communication channel group, similar to the AND operation on the first communication channel group, communication channels belonging to all of the second communication channel groups of slave 1, slave 2, and slave 3 are calculated as the AND operation result of the second communication channel group. In the example of FIG. 8, in addition to CH35, CH2, and CH0, which are the AND operation results of the first communication channel group, CH36, CH1, and the like are calculated as the AND operation result of the second communication channel group. In this way, the number of communication channels calculated by the AND operation on the second communication channel group is greater than the number of communication channels calculated by the AND operation on the first communication channel group.
[0078] In step S470, the master device 20 calculates the number of communication channels obtained as a result of the AND operation on the second group of communication channels. In step S480, the master device 20 determines whether the calculated number of communication channels is less than a minimum limit value. This minimum limit value is the same as the minimum limit value in step S440. If it is determined in step S480 that the calculated number of communication channels is equal to or greater than the minimum limit value, the master device 20 proceeds to processing in step S490, and if it is determined that the calculated number of communication channels is less than the minimum limit value, the master device 20 proceeds to processing in step S500.
[0079] In step S490, a channel map common to all slave devices 30 is created from the multiple communication channels calculated by the AND operation of the second communication channel group. On the other hand, in step S500, since the number of communication channels included in the second communication channel group is less than the minimum limit value, and a number of communication channels equal to or greater than the minimum limit value cannot be obtained even with the relaxed communication quality standard, the channel map common to all slave devices 30 is initialized. In other words, the common channel map is initialized to include all communication channels for data.
[0080] As described above, in this embodiment, when the number of multiple communication channels used for wireless communication falls below the minimum limit value due to the deletion of communication channels that do not satisfy the predetermined communication quality standard, the multiple communication channels used for wireless communication are changed to multiple communication channels including communication channels that satisfy a relaxed communication quality standard that is more relaxed than the predetermined communication quality standard. Since the relaxed communication quality standard is more relaxed than the predetermined communication quality standard, the number of communication channels that satisfy the relaxed communication quality standard is greater than the number of communication channels that satisfy the predetermined communication quality standard. This makes it easy to secure multiple communication channels in a number equal to or greater than the minimum limit value as multiple communication channels to be used for wireless communication. Furthermore, since the increased multiple communication channels at least satisfy the relaxed communication quality standard, the risk of communication errors occurring can also be reduced.
[0081] Second embodiment Next, a wireless communication system according to a second embodiment of the present disclosure will be described with reference to the drawings. The wireless communication system according to the present embodiment is configured similarly to the wireless communication system according to the first embodiment, and therefore the description of the configuration will be omitted.
[0082] In the wireless communication system according to the first embodiment, a common channel map is created for all slave devices 30. In contrast, in the wireless communication system according to the second embodiment, a channel map is created individually for each of the slave devices 30. Therefore, the wireless communication system according to the second embodiment differs from the wireless communication system according to the first embodiment only in the channel map creation process. The channel map creation process performed in the wireless communication system according to this embodiment will be described below with reference to the flowchart in FIG.
[0083] In step S510, after the deletion determination process in step S70 and the return determination process in step S80, the master device 20 reads out the communication channels belonging to the first communication channel group and the communication channels belonging to the second communication channel group for all slave devices 30.
[0084] In step S520, the master device 20 selects one slave device 30 from the multiple slave devices 30, and calculates the number of communication channels included in the first communication channel group of the selected slave device. In step S530, the master device 20 determines whether the calculated number of communication channels is less than a minimum limit value. The minimum limit value in this embodiment is the same as the minimum limit value in the first embodiment.
[0085] If it is determined in step S530 that the calculated number of communication channels is equal to or greater than the minimum limit, the master device 20 proceeds to step S540, and if it is determined that the calculated number of communication channels is less than the minimum limit, the master device 20 proceeds to step S550. In step S540, a channel map for the slave device 30 selected in step S520 is created from the multiple communication channels belonging to the first communication channel group.
[0086] In step S550, the master device 20 calculates the number of communication channels included in the second communication channel group. In step S560, the master device 20 determines whether the calculated number of communication channels is less than a minimum limit value. This minimum limit value is the same as the minimum limit value in step S530. If it is determined in step S560 that the calculated number of communication channels is equal to or greater than the minimum limit value, the master device 20 proceeds to processing in step S570, and if it is determined that the calculated number of communication channels is less than the minimum limit value, the master device 20 proceeds to processing in step S580.
[0087] In step S570, a channel map for the slave device 30 selected in step S520 is created from the multiple communication channels belonging to the second communication channel group. Meanwhile, in step S590, because the relaxed communication quality standard does not provide a number of communication channels equal to or greater than the minimum limit, the channel map for the slave device 30 selected in step S520 is initialized.
[0088] In step S590, all slave devices 30 are selected, and it is determined whether or not creation of individual channel maps has been completed for all slave devices 30. If it is determined in step S590 that creation of individual channel maps has been completed for all slave devices 30, the process shown in the flowchart of Fig. 9 ends. On the other hand, if it is determined that creation of individual channel maps has not been completed for all slave devices 30, the process returns to step S520, a slave device 30 for which creation of a channel map has not been completed is selected, and the processes of steps S520 to S590 described above are repeated.
[0089] As in the first embodiment, the second embodiment described above also has the effect of easily securing a number of communication channels equal to or greater than the minimum limit as a number of communication channels used for wireless communication. In addition, since the increased number of communication channels at least meets the relaxed communication quality standard, it also has the effect of reducing the risk of communication errors. In addition, in the second embodiment, a channel map is created individually for each of the slave devices 30, which makes it easier to create the channel map and makes it easier to secure a number of communication channels equal to or greater than the minimum limit.
[0090] Although the preferred embodiments of the present disclosure have been described above, the present disclosure is not limited to the above-described embodiments and can be modified in various ways without departing from the spirit of the present disclosure. Some modified examples of the present disclosure are shown below.
[0091] (Variation 1) In the above-described first embodiment, an example has been described in which the RSSI value is used as the first characteristic data indicating the communication quality and the PER value is used as the second characteristic data, that is, an example in which two types of characteristic data are used. However, the characteristic data indicating the communication quality may be only one type, not two or more types.
[0092] (Variation 2) In the first and second embodiments described above, when a deterioration in communication quality is determined based on characteristic data indicating the communication quality (such as an RSSI value or a PER value), only the communication channel through which the communication for which the characteristic data was detected was carried out is deleted.
[0093] However, the communication channels to be deleted from the communication channels for wireless communication between the master device 20 and the slave device 30 as a result of assuming that the communication quality has deteriorated may include communication channels in the vicinity of the communication channels in which the communication quality can be directly determined to have deteriorated from the detected characteristic data (RSSI value, PER value, etc.). This is because, when it is determined that the communication quality of one communication channel has deteriorated, it is generally highly likely that the communication quality of communication channels of nearby frequencies will also show a similar tendency. In this case, for example, the number of communication channels to be deleted may be increased when both the RSSI value and the PER value do not satisfy the threshold value, compared to when either one of the RSSI value or the PER value does not satisfy the threshold value.
[0094] (Variation 3) In the first and second embodiments described above, PER is used as the second characteristic data. However, instead of the error rate of packet communication, a packet arrival rate (PAR), which is a success rate of packet communication, can also be used. When PAR is used, the magnitude relationship with the threshold value and the magnitude relationship between the average value and the instantaneous value are reversed from those in the first and second embodiments described above.
[0095] (Variation 4) In the above-described second embodiment, an example has been described in which channel maps for a plurality of slave devices 30 are created at one time, but channel map creation may be performed at different times for a plurality of slave devices 30. For example, in response to the deletion of a communication channel, a channel map creation process may be performed for the slave device 30 from which the communication channel has been deleted, while the channel maps for the other slave devices 30 may be maintained as they are.
[0096] (Variation 5) In the first and second embodiments described above, in the initial process (steps S410, S510) of the channel map creation process, the communication channels belonging to the first communication channel group and the communication channels belonging to the second communication channel group of all slave devices 30 are read. However, it is also possible to read the communication channels belonging to the first communication channel group first, and if the number of communication channels does not reach the minimum limit, read the communication channels belonging to the second communication channel group. Furthermore, in the second embodiment, as described in Modification 4, when the channel map creation process is performed individually, it is also possible to read only the communication channels belonging to the first communication channel group and the communication channels belonging to the second communication channel group of the slave device 30 that is the target of the channel map creation process.
[0097] Finally, this specification discloses the following technical ideas and combinations thereof. The combinations of the following technical ideas apply not only to wireless communication systems but also to wireless communication methods.
[0098] (Technical thought 1) A wireless communication system for performing wireless communication between a master device (20) and a slave device (30) via one communication channel sequentially selected from a plurality of communication channels, A detection unit (S60) for detecting characteristic data indicating a communication quality of the wireless communication performed for each of the communication channels; a deletion unit (S70) that deletes the communication channel that is determined not to satisfy a predetermined communication quality standard based on the characteristic data detected by the detection unit from the plurality of communication channels used for the wireless communication; a determination unit (S440, S530) for determining whether or not the number of the plurality of communication channels used for the wireless communication falls below a minimum limit value as a result of the deletion of the communication channels by the deletion unit; and a change unit (S460 to S490, S550 to S570) that, when the determination unit determines that the number of the plurality of communication channels used for the wireless communication is below the minimum limit value, changes the plurality of communication channels used for the wireless communication to a plurality of communication channels that satisfy a relaxed communication quality standard that is more relaxed than the predetermined communication quality standard.
[0099] (Technical thought 2) the deletion unit generates a first communication channel group consisting of the plurality of communication channels remaining after deleting the communication channels that do not satisfy the predetermined communication quality criterion, and a second communication channel group consisting of the plurality of communication channels remaining after deleting the communication channels that do not satisfy the relaxed communication quality criterion; The wireless communication system described in Technical Idea 1, wherein when the determination unit determines that the number of the multiple communication channels included in the first communication channel group falls below the minimum limit value, the change unit changes the multiple communication channels used for the wireless communication to the multiple communication channels included in the second communication channel group.
[0100] (Technical Thought 3) when the change unit changes the plurality of communication channels used for the wireless communication, the determination unit also determines whether or not a number of the plurality of communication channels after the change is less than the minimum limit value; The wireless communication system described in Technical Idea 1 or 2 further comprises an initialization unit (S500, S580) that initializes the multiple communication channels to be used for the wireless communication to an initial multiple communication channels when the determination unit determines that the number of the multiple communication channels changed by the change unit is below the minimum limit value.
[0101] (Technical Thought 4) The wireless communication system described in any one of Technical Ideas 1 to 3 further includes a channel map sharing unit (S100, S110, S230, S240) that, when the determination unit determines that the number of the multiple communication channels is equal to or greater than the minimum limit value, causes the master device and the slave device to share a channel map indicating the multiple communication channels being determined.
[0102] (Technical Thought 5) The wireless communication system described in any one of Technical Ideas 1 to 4 further comprises a restoration unit (S80) that restores the deleted communication channel to the multiple communication channels used for the wireless communication when a predetermined restoration condition is satisfied for the communication channel deleted by the deletion unit.
[0103] (Technical Thought 6) the characteristic data detected for each communication channel includes first characteristic data and second characteristic data; The wireless communication system described in any one of Technical Ideas 1 to 5, wherein the deletion unit determines that the corresponding communication channel satisfies the specified communication quality standard when both the first characteristic data and the second characteristic data satisfy their respective first thresholds corresponding to the specified communication quality standard, and determines that the corresponding communication channel does not satisfy the specified communication quality standard when at least one of the first characteristic data and the second characteristic data does not satisfy the respective first thresholds.
[0104] (Technical Thought 7) The wireless communication system described in Technical Idea 6, wherein the deletion unit determines that the corresponding communication channel satisfies the relaxed communication quality criterion when both the first characteristic data and the second characteristic data satisfy respective second thresholds indicating communication quality lower than the respective first thresholds corresponding to the relaxed communication quality criterion, and determines that the corresponding communication channel does not satisfy the relaxed communication quality criterion when at least one of the first characteristic data and the second characteristic data does not satisfy the respective second thresholds.
[0105] (Technical Thought 8) A plurality of the slave devices are provided, the master device performs the wireless communication with each of the plurality of slave devices, the determination unit calculates the number of the plurality of communication channels used for the wireless communication to be compared with the minimum limit value as the number of the communication channels available for use by all of the plurality of slave devices, The wireless communication system according to any one of Technical Ideas 1 to 7, wherein the plurality of communication channels used for the wireless communication are shared by the plurality of slave devices.
[0106] (Technical Thought 9) A plurality of the slave devices are provided, the master device performs the wireless communication with each of the plurality of slave devices, the determination unit calculates, for each of the slave devices, a number of the communication channels used for the wireless communication to be compared with the minimum limit value; The wireless communication system according to any one of Technical Ideas 1 to 7, wherein the plurality of communication channels used for the wireless communication are set individually for the plurality of slave devices.
[0107] (Technical Thought 10) the wireless communication is packet communication, The wireless communication system according to any one of technical ideas 1 to 9, wherein the characteristic data is at least one of received signal strength, signal-to-noise ratio / signal-to-interference-to-noise ratio, packet error rate, packet arrival rate, and bit error rate in the packet communication.
[0108] (Technical Thought 11) The wireless communication system according to any one of Technical Ideas 1 to 10, wherein at least one of the master device and the slave device is mounted on a moving object.
[0109] (Technical Thought 12) The wireless communication system described in Technical Idea 11, wherein the moving body is a vehicle. [Explanation of symbols]
[0110] 10: wireless communication system, 20: master device, 21: control circuit, 22: wireless communication circuit, 23: antenna, 30: slave device, 31: control circuit, 32: wireless communication circuit, 33: antenna, 211: processor, 212: memory, 311: processor, 312: memory
Claims
1. A wireless communication system for performing wireless communication between a master device (20) and a slave device (30) via one communication channel sequentially selected from a plurality of communication channels, A detection unit (S60) for detecting characteristic data indicating a communication quality of the wireless communication performed for each of the communication channels; a deletion unit (S70) that deletes the communication channel that is determined not to satisfy a predetermined communication quality standard based on the characteristic data detected by the detection unit from the plurality of communication channels used for the wireless communication; a determination unit (S440, S530) for determining whether or not the number of the plurality of communication channels used for the wireless communication falls below a minimum limit value as a result of the deletion of the communication channels by the deletion unit; and a change unit (S460 to S490, S550 to S570) that, when the determination unit determines that the number of the plurality of communication channels used for the wireless communication is below the minimum limit value, changes the plurality of communication channels used for the wireless communication to a plurality of communication channels that satisfy a relaxed communication quality standard that is more relaxed than the specified communication quality standard.
2. the deletion unit generates a first communication channel group consisting of the plurality of communication channels remaining after deleting the communication channels that do not satisfy the predetermined communication quality criterion, and a second communication channel group consisting of the plurality of communication channels remaining after deleting the communication channels that do not satisfy the relaxed communication quality criterion; 2. The wireless communication system according to claim 1, wherein when the determination unit determines that the number of the plurality of communication channels included in the first communication channel group falls below the minimum limit value, the change unit changes the plurality of communication channels to be used for the wireless communication to the plurality of communication channels included in the second communication channel group.
3. when the change unit changes the plurality of communication channels used for the wireless communication, the determination unit also determines whether or not a number of the plurality of communication channels after the change is less than the minimum limit value; 3. The wireless communication system according to claim 1, further comprising an initialization unit (S500, S580) that initializes the plurality of communication channels to be used for the wireless communication to an initial plurality of communication channels when the determination unit determines that the number of the plurality of communication channels changed by the change unit falls below the minimum limit value.
4. 3. The wireless communication system according to claim 1, further comprising a channel map sharing unit (S100, S110, S230, S240) that, when the determination unit determines that the number of the plurality of communication channels is equal to or greater than the minimum limit value, causes the master device and the slave device to share a channel map indicating the plurality of communication channels to be determined.
5. 3. The wireless communication system according to claim 1, further comprising a restoration unit (S80) that restores the communication channel that has been deleted by the deletion unit to the plurality of communication channels used for the wireless communication when a predetermined restoration condition is satisfied for the communication channel that has been deleted by the deletion unit.
6. the characteristic data detected for each communication channel includes first characteristic data and second characteristic data; 3. The wireless communication system according to claim 1, wherein the deletion unit determines that the corresponding communication channel satisfies the specified communication quality standard when both the first characteristic data and the second characteristic data satisfy respective first thresholds corresponding to the specified communication quality standard, and determines that the corresponding communication channel does not satisfy the specified communication quality standard when at least one of the first characteristic data and the second characteristic data does not satisfy the respective first thresholds.
7. 7. The wireless communication system according to claim 6, wherein the deletion unit determines that the corresponding communication channel satisfies the relaxed communication quality criterion when both the first characteristic data and the second characteristic data satisfy respective second thresholds indicating communication quality lower than the respective first thresholds corresponding to the relaxed communication quality criterion, and determines that the corresponding communication channel does not satisfy the relaxed communication quality criterion when at least one of the first characteristic data and the second characteristic data does not satisfy the respective second thresholds.
8. A plurality of the slave devices are provided, the master device performs the wireless communication with each of the plurality of slave devices, the determination unit calculates the number of the plurality of communication channels used for the wireless communication to be compared with the minimum limit value as the number of the communication channels available for use by all of the plurality of slave devices, 3. The wireless communication system according to claim 1, wherein the plurality of communication channels used for the wireless communication are shared by the plurality of slave devices.
9. A plurality of the slave devices are provided, the master device performs the wireless communication with each of the plurality of slave devices, the determination unit calculates, for each of the slave devices, a number of the communication channels used for the wireless communication to be compared with the minimum limit value; 3. The wireless communication system according to claim 1, wherein the plurality of communication channels used for the wireless communication are set individually for the plurality of slave devices.
10. the wireless communication is packet communication, 3. The wireless communication system according to claim 1, wherein the characteristic data is at least one of a received signal strength, a signal-to-noise ratio / signal-to-interference-to-noise ratio, a packet error rate, a packet arrival rate, and a bit error rate in the packet communication.
11. 3. The wireless communication system according to claim 1, wherein at least one of the master device and the slave device is mounted on a moving object.
12. The wireless communication system according to claim 11 , wherein the moving object is a vehicle.
13. A wireless communication method for performing wireless communication between a master device (20) and a slave device (30) via one communication channel sequentially selected from a plurality of communication channels, comprising: a detection step (S60) of detecting characteristic data indicating a communication quality of the wireless communication performed for each of the communication channels; a deletion step (S70) of deleting the communication channel determined not to satisfy a predetermined communication quality standard based on the characteristic data detected in the detection step from the plurality of communication channels used for the wireless communication; a determination step (S440, S530) of determining whether or not the number of the plurality of communication channels used for the wireless communication falls below a minimum limit value as a result of the deletion of the communication channels in the deletion step; and a change step (S460 to S490, S550 to S570) of changing the plurality of communication channels to be used for the wireless communication to a plurality of communication channels that satisfy a relaxed communication quality standard that is more relaxed than the specified communication quality standard, if it is determined in the determination step that the number of the plurality of communication channels to be used for the wireless communication falls below the minimum limit value.
Citation Information
Patent Citations
Wireless communication apparatus
JP2005295369A
Radio system, radio apparatus, communication program, and communication method
JP2020031448A
Wireless communication apparatus and method
JP2006128812A
