This application is based on Japanese Patent Application No. 2023-032172 filed on Mar. 2, 2023, the disclosure of which is incorporated herein by reference.
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 multiple communication channels.
This type of wireless communication system is known, for example, as described in a related art. In the wireless communication system disclosed in the related art, when an error occurs on a packet and an RSSI value of a radio signal of the packet is larger than a preset threshold Th1, a reception operation, in which the packet is received, is determined to be a reception error due to interference with other radio waves. The number of receptions and the number of reception errors are counted, and frequencies of the reception errors (the number of reception errors/the number of receptions) due to interference in each frequency channel are stored. When a reception error frequency exceeds a threshold Th2, a determination is made that an interference source exists in the frequency channel of which the reception error frequency due to interference exceeds the threshold Th2, and the frequency channel is stored as an unusable channel.
A wireless communication system is configured to detect characteristic data indicating communication quality in the performed wireless communication, for each of the communication channels, delete communication channel, in which deterioration in communication quality is determined based on the characteristic data detected by the detection unit, from the plurality of communication channels used for the wireless communication, and determine, based on the characteristic data of a neighboring communication channel close in frequency to a communication channel that has been deleted by the deletion unit, restorability of the deleted communication channel to the plurality of communication channels used for the wireless communication.
Objects, features and advantages of the present disclosure will become more apparent from the following detailed description made with reference to the accompanying drawings. In the drawings:
In the wireless communication system disclosed in a related art, a frequency channel, which is set as an unusable channel, is returned to a usable frequency channel after a set period has elapsed.
However, the communication environment of each communication channel used in the wireless communication system, including interference with other radio waves, does not necessarily change even after the set period has elapsed. Therefore, in a case where an unusable communication channel is changed to a usable communication channel when the set period has elapsed, there is a high possibility that wireless communication is performed using a communication channel having deteriorated communication quality. As a result, there is a concern that a communication success rate of the wireless communication system may decrease.
The present disclosure provides a wireless communication system and a wireless communication method capable of accurately determining whether communication quality of a communication channel, which is set unusable due to the poor communication quality, is improved.
According to one aspect of the present disclosure, a wireless communication system that performs wireless communication between a master device and a slave device via one communication channel, which is sequentially selected from a plurality of communication channels is provided. The wireless communication system comprises: a detection unit that detects characteristic data indicating communication quality in the performed wireless communication, for each of the communication channels; a deletion unit that deletes communication channel, in which deterioration in communication quality is determined based on the characteristic data detected by the detection unit, from the plurality of communication channels used for the wireless communication; and a determination unit that determines, based on the characteristic data of a neighboring communication channel close in frequency to a communication channel that has been deleted by the deletion unit, restorability of the deleted communication channel to the plurality of communication channels used for the wireless communication.
According to one aspect of the present disclosure, a wireless communication method of performing wireless communication between a master device and a slave device via one communication channel, which is sequentially selected from a plurality of communication channels is provided. The wireless communication method comprises: a detection step of detecting characteristic data indicating communication quality in the performed wireless communication, for each of the communication channels; a deletion step of deleting the communication channel, in which deterioration in communication quality is determined based on the characteristic data detected in the detection step, from the plurality of communication channels used for the wireless communication; and a determination step of determining, based on the characteristic data of a neighboring communication channel close in frequency to a communication channel that has been deleted in the deletion step, restorability of the deleted communication channel to the plurality of communication channels used for the wireless communication.
As described above, in a wireless communication system and a wireless communication method according to the present disclosure, restorability of a deleted communication channel, which has been deleted from multiple communication channels used for wireless communication, is determined based on characteristic data of a neighboring communication channel that is close in frequency to the deleted communication channel. Usually, the communication quality of the neighboring communication channel has a correlation with the communication quality of the deleted communication channel because the frequencies are close. Therefore, based on the characteristic data of the neighboring communication channel that is close in frequency, restorability of the deleted communication channel can be determined with high accuracy.
The following will describe embodiments of the present disclosure with reference to the drawings. Note that the same or similar components are denoted by the same reference numerals throughout a plurality of drawings, and description thereof may be omitted. When only a part of a configuration is described in each embodiment, the configurations of other embodiments previously described can be applied to the other parts of the configuration. In addition to the combination of the configurations explicitly described in the description of each embodiment, the configurations of multiple embodiments may be partially combined even if not explicitly described as long as there is no difficulty in the combination.
A wireless communication system and a wireless communication method according to a first embodiment will be described below. 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 may be used while being mounted on a moving object. The moving object includes, for example, a vehicle such as an automobile or a railroad vehicle, a flying object such as an electric vertical takeoff and landing aircraft or a drone, a ship, a construction machine, an agricultural machine, and the like.
As a specific application in a vehicle, the wireless communication system according to the present embodiment can be applied, for example, to a battery management system that manages batteries installed as a battery pack in an electric drive vehicle such as an electric vehicle, a hybrid vehicle, and a plug-in hybrid vehicle. When applied to a battery management system, for example, a master device is connected to a battery control device, and multiple slave devices are respectively connected to a monitoring device provided for each of multiple cell stacks forming a battery pack. In this case, both the master device and the slave device are mounted on the vehicle.
Each monitoring device provided for each of the multiple cell stacks acquires battery information such as the voltage and current of each battery cell included in the corresponding cell stack and the temperature of the cell stack using various sensors and the like. When each monitoring device receives data requesting the battery information from the battery control device via the wireless communication system, each monitoring device transmits the acquired battery information to the battery control device via the wireless communication system. The battery control device calculates the state of charge (SOC) of the entire cell stack based on the acquired battery information, drives the temperature raising and cooling mechanism in order to adjust the temperature of the battery pack to an appropriate range, and determines whether to execute a so-called equalization process of equalizing the voltages of each battery cell. The battery control device instructs the corresponding monitoring device to execute the equalization process via the wireless communication system when a determination is made that it is necessary to execute the equalization process on at least one cell stack. Each monitoring device performs a process of determining abnormalities in various sensors or abnormalities in the monitoring device's own operations and transmits abnormality information to the battery control device via the wireless communication system when an abnormality is determined.
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 the locking and unlocking of vehicle doors and turning on and off a driving source such as a vehicle engine. The multiple slave devices are installed in mobile keys or mobile terminals owned 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 tire pressure or issues warnings or the like when air pressure is abnormal. The multiple slave devices are provided within each tire and are connected to an air pressure detection device also provided within each tire. The wireless communication system according to the present embodiment may be applied to a vehicle diagnostic system. In this case, for example, the multiple slave devices are connected to multiple in-vehicle equipment equipped with a self-diagnosis function, and the master device is connected to a diagnostic control device installed at 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.
The application example of the wireless communication system according to the present embodiment is not limited to a vehicle, and as described above, the wireless communication system can also be applied to a moving object other than vehicles, for example, to a system for controlling or managing various types of equipment, such as a flying object such as a drone, a ship, a construction machine, and an agricultural machine. The wireless communication system according to the present embodiment can also be applied to a system for controlling or managing various types of equipment in a structure such as a building, a production facility such as a factory, or the like.
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
In the wireless communication between the master device 20 and the slave device 30, a frequency band used for short-range communication, such as a 2.4 GHz band or a 5 GHz band, can be used. Radio waves in such a high frequency band tend to travel more straightly than radio waves in the LF band and are more likely to be reflected by a metal object such as a body of a vehicle. LF is an abbreviation for Low Frequency. As the short-range communication standards, for example, Bluetooth, Bluetooth LE, or the like can be adopted. As an example, the master device 20 and the slave device 30 of the present embodiment are configured to be capable of performing wireless communication based on the Bluetooth LE standard. Details of the communication method related to communication connection, encrypted communication, and the like are performed according to a sequence defined by the Bluetooth LE standard.
As shown in
The control circuit 21 includes, for example, a processor 211 and a memory 212. The memory 212 includes, for example, RAM and ROM. RAM is an abbreviation for Random Access Memory. ROM is an abbreviation for Read Only Memory.
In the control circuit 21, the processor 211 executes a predetermined process (control) by executing a program stored in the ROM while using the RAM as a temporary storage area. The processor 211 constructs multiple function units by executing multiple instructions included in the program. A storage medium of the program is not limited to ROM. For example, various storage media such as HDD or SSD can be adopted. HDD is an abbreviation for Hard-disk Drive. SSD is an abbreviation for Solid State Drive.
The processor 211 is, for example, a CPU, an MPU, a GPU, a DFP, or the like. 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 calculation processing devices such as a CPU, an MPU, and a GPU.
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 ASIC or FPGA. ASIC is an abbreviation for Application Specific Integrated Circuit. FPGA is an abbreviation for Field-Programmable Gate Array.
The control circuit 21 generates a command requesting a process with respect to the slave device 30 (for example, a command requesting data, a command requesting execution of a predetermined process, or the like) and transmits transmission data including the command to a wireless communication circuit 22 through a transmission packet. The control circuit 21 receives the 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 between the master device 20 and the slave device 30 is packet communication.
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 the signal at the frequency of an RF signal. The wireless communication circuit 22 has a receiving function of demodulating the received signal. RF is an abbreviation for radio frequency.
The wireless communication circuit 22 modulates the packet containing data transmitted from the control circuit 21 and transmits the packet 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, for example, encryption information exchanged in a connection establishment process described later. The wireless communication circuit 22 adds data necessary for the wireless communication, such as communication control information, to the transmission packet and transmits the transmission packet. The data necessary for the 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 data size, communication format, schedule, error detection, or the like of communication between the master device 20 and the slave device 30. The control related to these communications may be performed by the control circuit 21.
The wireless communication circuit 22 receives the packet transmitted from the slave device 30 via the antenna 23 and demodulates the packet. The demodulated packet is transmitted to the control circuit 21. The antenna 23 converts electrical signals into radio waves and radiates the radio waves into space. The antenna 23 receives the radio waves propagating in space and converts the radio waves into electrical signals.
The slave device 30 includes a control circuit (CNT) 31, a wireless communication circuit (WC) 32, and an antenna 33, as shown in
The control circuit 31 executes the requested process (a response process such as acquiring and returning the requested data, an execution process of the requested process, or the like) based on the requested command acquired via the wireless communication circuit 32. For example, when the requested command, which is included in the received data, is a transmission request for the battery information, the control circuit 31 of the slave device 30 transmits the transmission request to the monitoring device of the corresponding cell stack and acquires the battery information from the monitoring device. As a response to the request, the control circuit 31 transmits data, which is encrypted by using the encryption information including processing result (for example, the acquired battery information), to the wireless communication circuit 32. The control circuit 31 is also capable of controlling devices mounted on the vehicle, for example, according to the requested process.
The wireless communication circuit 32 includes an RF circuit (not shown) for wirelessly transmitting and receiving packets. The wireless communication circuit 32, like the wireless communication circuit 22, has a transmission function and a receiving function. The wireless communication circuit 32 receives the packet transmitted from the master device 20 via the antenna 33 and demodulates the packet. The data, which is included in the demodulated packet, is transmitted to the control circuit 31. The wireless communication circuit 32 modulates the packet containing data transmitted from the control circuit 31 and transmits the packet to the master device 20 via the antenna 33. The wireless communication circuit 32 adds data necessary for the wireless communication, such as communication control information, to the transmission packet and transmits the transmission packet.
The wireless communication circuit 32 may control data size, communication format, schedule, error detection, or the like of communication between the master device 20 and the slave device 30. The control related to these communications may be performed by the control circuit 31. The antenna 33 converts electrical signals into radio waves and radiates the radio waves into space. The antenna 33 receives the radio waves propagating in space and converts the radio waves into electrical signals.
The master device 20 and the slave device 30 are disposed at predetermined positions in the vehicle, for example. When a wireless radio wave signal is transmitted at a predetermined frequency from the master device 20 and the slave device 30, which are respectively disposed at predetermined positions, a portion with high electric field intensity and a portion with low electric field intensity are generated in usage environment due to interference between transmission waves and reflected waves or interference with external noise. The reflected waves are caused by reflection from metal elements of the vehicle that are present around the master device 20 and the slave device 30, such as reflection from the vehicle body, reflection from a metal housing, reflection from a harness, and the like. For this reason, in the communication environment between the master device 20 and the slave device 30, there are so-called multiple NULL points, which are portions where the electric field intensity is high and portions where the electric field intensity is low, as shown in
When the slave device 30 is positioned at or near the portion where the electric field intensity is low in the electric field distribution with the master device 20, there is a high possibility that the slave device 30 is not capable of correctly receiving the radio signal from the master device 20, and a communication error may occur. A communication channel where such a communication error is likely to occur is a communication channel having deteriorated communication quality.
When the master device 20 and the slave device 30 perform the wireless communication via one communication channel that is sequentially selected from the multiple communication channels, the electric field distribution of each communication channel may also be changed because the frequency of each communication channel is different. As a result, the communication quality may vary between each of the communication channels.
For example, as shown in
Therefore, the wireless communication between the master device 20 and the slave device 30 is preferably performed using a communication channel that may perform high quality wireless communication, avoiding a communication channel having deteriorated communication quality.
The electric field distribution between the master device 20 and the slave device 30 is changed depending on the external environment (noise or the like from outside), vibrations (including harness vibration) of the master device 20 and/or the slave device 30, or the like. Therefore, when the master device 20 and/or the slave device 30 are mounted on the vehicle, the electric field distribution in the communication environment between the master device 20 and the slave device 30 is changed depending on, for example, the vibration of the vehicle or the state of the environment around the vehicle, or the like. As a result, a communication channel having good communication quality and a communication channel having deteriorated communication quality are not fixed and may be changed from time to time. Therefore, there is a requirement to monitor the communication quality of each communication channel and set the communication channel where the communication quality has been determined to have deteriorated as a communication channel whose use should be avoided. Regarding the communication channel whose use should be avoided, there is a requirement to restore the deleted communication channel to the multiple communication channels used for the wireless communication according to the improvement in the communication quality of the communication channel that has been deleted from the multiple communication channels used for the wireless communication.
In the wireless communication system 10 of the present embodiment, a control process, which includes deleting a communication channel where the communication quality has been determined to have deteriorated and restoring the deleted communication channel, and the like and is for realizing the wireless communication between the master device 20 and the slave device 30 using a communication channel other than the communication channel having deteriorated communication quality, will be explained with reference to a diagram showing a communication sequence between the master device 20 and the slave device 30 shown in
First, the master device 20 and the slave device 30 execute a connection establishment process before executing the communication sequence shown in
In the connection establishment process, for example, the slave device 30 executes an advertisement operation of transmitting an advertisement signal via an advertising communication channel, and the master device 20 executes a scan operation of scanning the advertisement signal. The advertising communication channel includes multiple communication channels (for example, three in the case of Bluetooth LE). When the master device 20 receives the advertisement signal through the scan operation, the master device 20 transmits a connection request to the slave device 30 in which the advertisement signal is transmitted. Accordingly, the communication connection is established between the master device 20 and the slave device 30. After the communication connection is established, the master device 20 and the slave device 30 exchange the encryption information and perform a process of sharing initial information related to frequency channel hopping. The initial information includes, for example, a hopping pattern or a function for hopping, and the like.
When the connection establishment process is ended, the master device 20 and the slave device 30 execute data communication via data communication channels that are sequentially selected from the multiple communication channels for each communication event that occurs periodically. In the case of Bluetooth LE, thirty-seven communication channels are prepared as the data communication channels. For example, as shown in
For each communication event, the master device 20 and the slave device 30 perform the frequency channel hopping to switch data communication channels to be used, and transmit and receive the data request and transmit and receive the requested data. At this time, the master device 20 and the slave device 30 determine the communication channel to be switched by the frequency channel hopping according to a channel map described later.
The master device 20 receives the requested data in step S20. In step S30, the master device 20 performs, for example, a checksum determination based on the error detection code included in the received data in order to confirm whether the data has been correctly received. In the following step S40, the master device 20 determines whether to execute a process for retransmission within the same communication event when a determination is made in the process of step S30 that the data has not been correctly received. For example, the master device 20 can determine to perform retransmission when there is enough time to perform the retransmission until the end time of the current communication event and can determine not to perform retransmission when there is no time. In step S40, when the master device 20 determines to perform retransmission, the master device 20 re-executes the process from step S10. When a determination is made in the process of step S30 that the data has been correctly received, or when a determination is made in step S40 that the retransmission is not performed, the master device 20 proceeds to the process of step S50.
In step S50, the master device 20 executes the process based on the information included in the received data. When a determination is made in the process of step S30 that the data has not been correctly received, and when a determination is made in step S40 that the retransmission is not performed, the process of step S50 may be omitted, and the process of step S50 may be executed based on the previously received data.
In step S60, the master device 20 detects received signal strength (RSSI) and a packet error rate (PER) as characteristic data indicating the communication quality of the signal received from the slave device 30. PER is a rate indicating a ratio of the number of error packets to the number of packets received by the master device 20 as a percentage. The master device 20 may detect signal-to-noise ratio (SNR)/signal interference-to-noise ratio (SINR) instead of RSSI. For example, the SNR/SINR can be detected by the master device 20 based on the ratio of an RSSI value when a radio signal from the slave device 30 is received and an RSSI value when a radio signal is not received. The master device 20 may detect a bit error rate (BER) instead of PER. The master device 20 stores and accumulates the detected RSSI or SNR/SINR and the PER or BER for each communication channel. The characteristic data, which indicates the communication quality, can also be acquired by the slave device 30 detecting the RSSI, PER, or the like when a signal from the master device 20 is received and transmitting the RSSI, PER, or the like to the master device 20 in addition to or instead of the master device 20 detecting as described above. Step S60 corresponds to a detection unit and a detection step.
In step S70, the master device 20 determines deterioration in the communication quality of the communication channel based on the characteristic data indicating the communication quality detected in step S60. For example, the master device 20 respectively compares RSSI or SNR/SINR and PER or BER with a deletion threshold for determining deterioration in the communication quality. When at least one type of characteristic data satisfies the deletion threshold, the corresponding communication channel is deleted from the multiple communication channels used for the wireless communication between the master device 20 and the slave device 30. The communication channel to be deleted is a data communication channel. In this way, the communication channel having deteriorated communication quality is deleted from the communication channel used for the wireless communication. The step S70 corresponds to a deletion unit and a deletion step.
In step S80, the master device 20 executes a restoration determination of the deleted communication channel corresponding to the deletion determination during the time of previous communication events. Specifically, the master device 20 determines the restorability of the deleted communication channel to the multiple communication channels used for the wireless communication based on the characteristic data of a neighboring communication channel of the deleted communication channel. Usually, the communication quality of the neighboring communication channel has a correlation with the communication quality of the deleted communication channel because the frequencies are close. Therefore, based on the characteristic data of the neighboring communication channel that is close in frequency, restorability of the deleted communication channel can be determined with high accuracy. A restoration determination process for the deleted communication channel will be explained in detail later. The communication channel, which is determined to be restored as a communication channel used for the wireless communication, is actually used for the wireless communication between the master device 20 and the slave device 30. In a case where the communication quality of the communication channel when actually used for the wireless communication remains deteriorated, the communication channel may again be the target of the deletion determination. The step S80 corresponds to a determination unit and a determination step.
In step S90, the master device 20 creates a channel map based on the results of the deletion determination in step S70 and the restoration determination in step S80. The channel map may indicate a usable communication channel for the wireless communication or may indicate an unusable communication channel. The channel map may indicate both the usable communication channel and the unusable communication channel. When there is a change in the usable/unusable communication channels due to the creation of the channel map, a frequency channel hopping pattern may be updated. When the frequency channel hopping pattern is not updated, or when the communication channel scheduled for hopping is unusable, for example, the communication channel scheduled next for hopping may be used.
In step S100, the master device 20 transmits the created channel map to the slave device 30. In step S230, the slave device 30 receives the channel map transmitted from the master device 20. In step S240, the slave device 30 returns a received 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. In step S120, the master device 20 performs, for example, the checksum determination based on the error detection code included in the received Ack signal in order to confirm whether the Ack signal has been correctly received. In the following step S130, the master device 20 determines whether to execute a process for retransmission within the same communication event when a determination is made in the process of step S120 that the data has not been correctly received. In step S130, when the master device 20 determines to perform retransmission, the master device 20 re-executes the process from step S100. When a determination is made in the process of step S120 that the data has been correctly received, or when a determination is made in step S130 that the retransmission is not performed, the master device 20 ends the process shown in the flowchart in
In this way, the master device 20 and the slave device 30 perform a process of sharing the channel map. The master device 20 may perform the processes from steps S70 to S130 described above for each communication event or may perform each time multiple communication events pass.
Next, the restoration determination process of the deleted communication channel in step S80 will be described in detail with reference to the flowchart in
In the present embodiment, restorability of the deleted communication channel is determined based on the characteristic data of the neighboring communication channel that is close in frequency to the deleted communication channel. Therefore, as shown in
In step S310 of the flowchart in
On the other hand, when the master device 20 determines in step S310 that the subject channel is not deleted, the process proceeds to step S320. In step S320, the master device 20 acquires states of the both-side adjacent channels of the subject channel, which are restoration examination targets, that is, states indicating whether the both-side adjacent channels have been deleted or are usable. In step S330, the master device 20 determines whether the adjacent channel has been deleted based on the acquired state of the adjacent channel, which is a restoration examination target.
For example, as shown in (a) and (b) of
On the other hand, when the master device 20 determines in step S330 that at least one of the adjacent channels has been deleted, the process proceeds to steps S340 and subsequent steps. That is, in the present embodiment, in a case where the wireless communication is performed between the master device 20 and the slave device 30 via any communication channel when the communication channel, which is adjacent to the communication channel (subject channel) used for the wireless communication, has been deleted, the master device 20 executes the restoration determination process from step S340 and subsequent steps using the deleted communication channel as a restoration examination target.
In step S340, the master device 20 acquires the state of the other-side adjacent channel, which is on the other side of the deleted adjacent channel (restoration examination target) and is on the opposite side of the subject channel, and when the other-side adjacent channel is usable for the wireless communication, the master device 20 acquires the characteristic data indicating the communication quality of the other-side adjacent channel. For example, in the example shown in
In step S350, a determination is made whether the other-side adjacent channel has been deleted based on the state of the other-side adjacent channel acquired in step S340. In this step S350, when the adjacent channel, which is a restoration examination target, has been deleted, the other-side adjacent channel, which is on the other side of the channel of the restoration examination target and is on the opposite side of the subject channel, is determined. Therefore, when the both-side adjacent channels of the subject channel have been deleted, a determination in step S350 is performed separately for the two other-side adjacent channels. In step S350, when a determination is made that the other-side adjacent channel has been deleted, the master device 20 proceeds to the process of step S360. On the other hand, in step S350, when a determination is made that the other-side adjacent channel has not been deleted and is usable for the wireless communication, the master device 20 proceeds to the process of step S380.
(a) and (b) of
(a) and (b) of
In the present embodiment, restorability of the deleted communication channel is determined according to different determination standards of a case where only one-side communication channel adjacent to the deleted communication channel, which is a restoration examination target, is usable for the wireless communication and a case where both-side communication channels adjacent to the deleted communication channel, which is a restoration examination target, are usable for the wireless communication. Examples of the respective determination standards for a case where only one-side communication channel is usable for the wireless communication and a case where both-side communication channels are usable for the wireless communication will be described below.
In step S350, steps S360 and S370, which are executed when a determination is made that the other-side adjacent channel has been deleted, show examples of the determination standard when only one-side communication channel (that is, the subject channel) is usable for the wireless communication. In step S360, a determination is made whether the RSSI value, which is one of the characteristic data of the usable one-side communication channel (that is, the subject channel), is larger than a one-side RSSI threshold. In step S370, a determination is made whether the PER value, which is another one of the characteristic data of the usable one-side communication channel (that is, the subject channel), is smaller than a one-side PER threshold. 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 an RSSI value and a PER value detected in step S60 when the subject channel has been used for the previous wireless communication, may be values obtained by averaging each of a predetermined number of RSSI values and PER values detected in multiple past wireless communications, or may be median values thereof.
When the only one-side communication channel adjacent to the deleted communication channel, which is a restoration examination target, is usable for the wireless communication, as described above, restorability of the adjacent channel, which is a restoration examination target, is determined based only on the characteristic data of the one-side communication channel (subject channel) that is usable for the wireless communication. Therefore, as shown in
When a determination is made that the RSSI value does not satisfy the one-side RSSI threshold in step S360, or when a determination is made that the PER value does not satisfy the one-side PER threshold in step S370, the master device 20 determines that the adjacent channel, which is a restoration examination target, is not restorable and ends the process shown in the flowchart in
On the other hand, in step S350, steps S380, S390, S400, and S410, which are executed when a determination is made that the other-side adjacent channel has not been deleted, show examples of the determination standard when both-side communication channels (that is, the subject channel, and the other-side adjacent channel) are both usable for the wireless communication.
When both-side communication channels of the deleted communication channel, which is a restoration examination target, are both usable for the wireless communication, for example, as shown in
In step S380, the master device 20 calculates an average value of the respective RSSI values of the subject channel and the other-side adjacent channel. The RSSI value of the other-side adjacent channel is detected when the wireless communication is performed by using the other-side adjacent channel and is based on the stored RSSI value. In step S390, the master device 20 determines whether the RSSI average value, which is calculated in step S380, satisfies (exceeds) the both-side RSSI threshold, which is set to be relatively smaller than the one-side RSSI threshold.
In step S400, the master device 20 determines whether the PER value of the subject channel, which is one of the both-side communication channels that are usable for the wireless communication, satisfies (below) the both-side PER threshold, which is set to be relatively larger than the one-side PER threshold. In step S410, a determination is made whether the PER value of the other-side adjacent channel, which is another one of the both-side communication channels that are usable for the wireless communication, satisfies (below) the both-side PER threshold, which is set to be relatively larger than the one-side PER threshold.
When a determination is made that the RSSI average value does not satisfy the both-side RSSI threshold in step S390, when a determination is made that the PER value of the subject channel does not satisfy the both-side PER threshold in step S400, or when a determination is made that the PER value of the other-side adjacent channel does not satisfy the both-side PER threshold in step S410, the master device 20 determines that the adjacent channel, which is a restoration examination target, is not restorable, and ends the process shown in the flowchart in
In steps S380 and S410, although two types of characteristic data (RSSI value and PER value) are respectively compared with the thresholds, the number of characteristic data to be compared with the threshold may be one type or three or more types. In the example above, regarding the RSSI value, although the average value of the RSSI value of the subject channel and the RSSI value of the other-side adjacent channel is calculated, and the calculated RSSI average value is compared with the both-side RSSI threshold, the RSSI value of the subject channel and the RSSI value of the other-side adjacent channel may be compared with both-side RSSI threshold, respectively. In the example above, regarding the PER value, although the PER value of the subject channel and the PER value of the other-side adjacent channel are respectively compared with the both-side PER threshold, the average value of the PER value of the subject channel and the PER value of the other-side adjacent channel may be calculated, and the calculated PER average value may be compared with the both-side PER threshold. In the example above, although two types of characteristic data (RSSI value and PER value) are respectively compared with the thresholds, a determination may be made that the deleted communication channel is restorable to the multiple communication channels used for the wireless communication with a fact that the both-side communication channels, which are restoration examination targets, are usable for the wireless communication.
In this way, according to the present embodiment, restorability of the deleted communication channel, which has been deleted from the multiple communication channels used for the wireless communication, is determined based on the characteristic data of the adjacent one-side or both-side communication channels that are close in frequency to the deleted communication channel. Usually, the communication quality of the adjacent communication channel has a correlation with the communication quality of the deleted communication channel because the frequencies are close. Therefore, based on the characteristic data of the adjacent communication channel that is close in frequency, restorability of the deleted communication channel can be determined with high accuracy.
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 the present embodiment is configured in the same manner as the wireless communication system according to the first embodiment, so a description regarding the configuration will be omitted.
The wireless communication system according to the present embodiment and the wireless communication system according to the first embodiment differ only in the restoration determination process of the communication channel. Therefore, the restoration determination process, which is performed in the wireless communication system according to the present embodiment, will be described below with reference to the flowcharts in
In step S352, states of ±2CH communication channels of the deleted channel, which is a restoration examination target, are acquired. For example, as shown in
In step S354, the master device 20 determines whether states of neighboring communication channels that are close in frequency to the deleted channel, which is a restoration examination target, specifically, states of ±1CH communication channels and ±2CH communication channels of the deleted channel, which is a restoration examination target, correspond to a threshold relaxation pattern when only one-side communication channel of the deleted communication channel, which is a restoration examination target, is usable for the wireless communication. The following describes a threshold relaxation pattern when only one-side communication channel of a deleted communication channel, which is a restoration examination target, is usable for the wireless communication.
When only one-side communication channel adjacent to the deleted communication channel, which is a restoration examination target, is usable for the wireless communication, as described in the first embodiment, the one-side RSSI threshold to be compared with the RSSI value is set to be relatively larger than the both-side RSSI threshold, and the one-side PER threshold to be compared with the PER value is set to be relatively smaller than the both-side PER threshold.
For example, by considering the states of the ±2CH communication channels of the restoration examination target, even when the RSSI value of the one-side communication channel is not very large, a determination can be performed that the communication quality (RSSI value) of the deleted channel, which is a restoration examination target, is improved to a value equal to or larger than the deletion threshold. For example, as shown in (a) of
When Channels 0 and 4, which are ±2CH communication channels of Channel 2 that is a restoration examination target, are both usable for the wireless communication as shown in (b) of
(a) to (c) of
For example,
Although the degree of relaxation is smaller than that of the pattern shown in (b) of
In step S354 of the flowchart in
In step S356, the master device 20 determines whether the RSSI value of the one-side communication channel (subject channel), which is usable for the wireless communication, is satisfied (exceeds) by using the relaxed one-side RSSI threshold, which is more relaxed than the one-side RSSI threshold. In step S358, the master device 20 determines whether the PER value of the one-side communication channel (subject channel), which is usable for the wireless communication, is satisfied (below) by using the relaxed one-side PER threshold, which is more relaxed than the one-side PER threshold.
In this way, in the present embodiment, in a case where the states of ±1CH communication channels and ±2CH communication channels of the deleted channel, which is a restoration examination target, correspond to the threshold relaxation pattern when only one-side communication channel of the deleted communication channel, which is a restoration examination target, is usable for the wireless communication, the master device 20 changes the one-side RSSI threshold and the one-side PER threshold, which are used for the restoration determination of the deleted channel, to the relaxed one-side RSSI threshold and the relaxed one-side PER threshold that indicate communication quality lower than the one-side RSSI threshold and the one-side PER threshold. Accordingly, the determination accuracy of restorability of the deleted channel can be further improved. The one-side RSSI threshold and the one-side PER threshold correspond to a second restoration threshold, and the relaxed one-side RSSI threshold and the relaxed one-side PER threshold correspond to a fourth restoration threshold.
The states of ±2 CH communication channels are determined according to the characteristic data (RSSI, PER, or the like) when the wireless communication is performed using the ±2 CH communication channels. Therefore, as described above, when the states of ±2CH communication channels are considered in addition to the states of ±1CH communication channels, changing the one-side RSSI threshold and the one-side PER threshold determines restorability of the deleted channel based not only on the characteristic data of the ±1CH communication channels of the deleted channel, which is a restoration examination target, but also the characteristic data of the ±2CH communication channels of the deleted channel, which is a restoration examination target. That is, in the present disclosure, a “neighboring communication channel” is a concept that includes not only the communication channels (±1CH) adjacent to the deleted channel, which is a restoration examination target, but also at least the communication channels (±2CH) adjacent to the communication channels (±1CH). As the neighboring communication channels, communication states of ±3CH may be considered.
When a determination is made that the RSSI value does not satisfy the relaxed one-side RSSI threshold in step S356, or when a determination is made that the PER value does not satisfy the relaxed one-side PER threshold in step S358, the master device 20 determines that the deleted channel, which is a restoration examination target, is not restorable and ends the process shown in the flowchart in
In step S350 in
In the subsequent step S382, the master device 20 acquires the states of ±2CH communication channels of the deleted channel, which is a restoration examination target. In step S382, the master device 20 determines whether the states of ±1CH communication channels and ±2CH communication channels of the deleted channel, which is a restoration examination target, correspond to the threshold relaxation pattern when both-side communication channels of the deleted communication channel, which is a restoration examination target, are both usable for the wireless communication. The following describes the threshold relaxation pattern when both-side communication channels of the deleted communication channel, which is a restoration examination target, are both usable for the wireless communication.
For example, as shown in (a) of
When Channels 0 and 4, which are ±2CH communication channels of Channel 2 that is a restoration examination target, are both usable for the wireless communication as shown in (b) of
(a) to (c) of
For example,
Although the degree of relaxation is smaller than that of the pattern shown in (b) of
In step S382 of the flowchart in
In step S383, the master device 20 determines whether the RSSI average value, which is calculated in step S380, satisfies (exceeds) the relaxed both-side RSSI threshold, which is more relaxed (made to be smaller) than the both-side RSSI threshold. In step S384, the master device 20 determines whether the PER value of the subject channel, which is one of the both-side communication channels that are usable for the wireless communication, satisfies (below) the relaxed both-side PER threshold, which is more relaxed (made to be larger) than the both-side PER threshold. In step S385, a determination is made whether the PER value of the other-side adjacent channel, which is another one of the both-side communication channels that are usable for the wireless communication, similarly satisfies (below) the relaxed both-side PER threshold.
In this way, in the present embodiment, in a case where the states of ±1CH communication channels and ±2CH communication channels of the deleted channel, which is a restoration examination target, correspond to the threshold relaxation pattern when both-side communication channel of the deleted communication channel, which is a restoration examination target, are both usable for the wireless communication, the master device 20 changes the both-side RSSI threshold and the both-side PER threshold, which are used for the restoration determination of the deleted channel, to the relaxed both-side RSSI threshold and the relaxed both-side PER threshold that indicate communication quality lower than the both-side RSSI threshold and the both-side PER threshold. Accordingly, the determination accuracy of restorability of the deleted channel can be further improved. The both-side RSSI threshold and the both-side PER threshold correspond to a first restoration threshold, and the relaxed both-side RSSI threshold and the relaxed both-side PER threshold correspond to a third restoration threshold.
When a determination is made that the RSSI average value does not satisfy the relaxed both-side RSSI threshold in step S383, when a determination is made that the PER value of the subject channel does not satisfy the relaxed both-side PER threshold in step S384, or when a determination is made that the PER value of the other-side adjacent channel does not satisfy the relaxed both-side PER threshold in step S385, the master device 20 determines that the deleted channel, which is a restoration examination target, is not restorable, and ends the processes shown in the flowcharts in
The same effects as in the first embodiment can be achieved even with the restoration determination process of the second embodiment. According to the restoration determination process of the second embodiment, restorability of the deleted channel, which is a restoration examination target, can be determined with higher accuracy by considering the states of ±2CH communication channels of the restoration examination target.
Although the preferred embodiments of the present disclosure have been described above, the present disclosure is not limited to the embodiments described above, and can be implemented with various modifications without departing from the gist of the present disclosure.
For example, in the first and second embodiments described above, PER is used as second characteristic data. However, instead of the error rate of packet communication, a packet arrival rate (PAR), which is the success rate of the packet communication, can also be used. When PAR is used, the magnitude relationship with the threshold is opposite to that in the first and second embodiments described above.
Number | Date | Country | Kind |
---|---|---|---|
2023-032172 | Mar 2023 | JP | national |