communication systems
The communication system uses communication characteristics to accurately determine abnormality locations by recording and confirming matches between master and slave devices, addressing inaccuracies in existing systems.
Patent Information
- Application Number
- JP2022086240
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-05-26
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2042-05-26
AI Technical Summary
Existing communication systems inaccurately determine the source of abnormalities due to reliance on packet loss rates, which can be influenced by external factors, leading to misidentification of device malfunctions.
A communication system with a master and multiple slave devices that records communication abnormalities and determines their location using communication characteristics like RSSI and PER, confirming matches between master and slave devices to accurately identify the abnormality source.
Accurately locates communication abnormalities, ensuring high precision in identifying the source of issues within the system.
Smart Images

Figure 0007718326000001 
Figure 0007718326000002 
Figure 0007718326000003
Abstract
Description
[Technical Field]
[0001] The present disclosure relates to a communication system having at least one master communication device and a plurality of slave communication devices, and in particular to a technique for identifying an abnormality when an abnormality occurs in the communication system. [Background technology]
[0002] For example, Patent Document 1 describes a wireless communication device configured to determine a failure in a wireless network. The wireless communication device has a failure determination unit. The failure determination unit refers to a packet loss rate table and identifies wireless communication terminals whose packet loss rates are equal to or greater than a predetermined threshold. If all wireless communication terminals have packet loss rates equal to or greater than the threshold, the failure determination unit determines that the wireless communication device has failed. On the other hand, if only some wireless communication terminals have packet loss rates equal to or greater than the threshold, the failure determination unit determines that the wireless communication terminals whose packet loss rates are equal to or greater than the threshold have failed. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 6403522 Summary of the Invention [Problem to be solved by the invention]
[0004] The wireless communication device described in the above-mentioned Patent Document 1 determines whether the wireless communication device or the wireless communication terminal has a malfunction based on the packet loss rate in communication between the wireless communication device and the wireless communication terminal.
[0005] However, since it is based solely on the packet loss rate, there is a risk that even when a communication failure occurs due to an external factor (such as interference with external radio waves), it may be mistakenly determined that the wireless communication device or wireless communication terminal is malfunctioning.
[0006] The present disclosure has been made in consideration of the above-mentioned points, and aims to provide a communication system that, when an abnormality occurs in the communication system, is capable of determining with high accuracy where the abnormality has occurred. [Means for solving the problem]
[0007] In order to achieve the above object, the communication system according to the present disclosure comprises: A communication system having at least one master communication device (20A, 20B) and a plurality of slave communication devices (30A to 30E), The master communication device and the plurality of slave communication devices are each disposed at a fixed position, the master communication device is capable of wirelessly communicating with each of the plurality of slave communication devices; the master communication device has a communication characteristics acquisition unit (22) that acquires information indicating communication characteristics related to wireless communication while wirelessly communicating with each of the slave communication devices; a recording unit (23) that, when a communication abnormality occurs in wireless communication between the master communication device and each of the plurality of slave communication devices, records a pair of the master communication device and the slave communication device in which the communication abnormality occurs; At least some of the slave communication devices with respect to the master communication device and multiple and during the wireless communication, based on the communication characteristics acquired by the communication characteristics acquisition unit, multiple The master communication device determines whether wireless communication with the slave communication device was normal or abnormal, and multiple Based on the result of determining whether the wireless communication with the slave communication device is normal or abnormal, multiple The slave communication device determines the location where the abnormality is occurring, It was determined that an abnormality had occurred. The device is provided with an abnormality location determination unit (13) that, when the abnormality determination location matches the pair of the master communication device and the slave communication device in which the communication abnormality recorded in the recording unit has occurred, determines the abnormality determination location as the location where the abnormality has occurred.
[0008] As described above, in the communication system according to the present disclosure, the abnormality location determination unit (13) determines the location of the abnormality based on the determination result of whether the wireless communication between the master communication device (20A, 20B) and at least some of the slave communication devices (30A-30E) is normal or abnormal. Furthermore, the abnormality location determination unit confirms that the determined abnormality location matches the pair of the master communication device and the slave communication device in which the communication abnormality occurred, which is recorded in the recording unit (23), and then determines the determined abnormality location as the location of the abnormality. Therefore, when an abnormality occurs in the communication system, the location of the abnormality can be determined with high accuracy.
[0009] The reference numbers in parentheses above merely indicate an example of a correspondence with specific configurations in the embodiments 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.
[0010] Furthermore, the technical features of the present disclosure other than those described above will become apparent from the following description of the embodiments and the accompanying drawings. [Brief explanation of the drawings]
[0011] [Figure 1] 1 is a configuration diagram showing the overall configuration of a communication system according to an embodiment. [Figure 2] FIG. 2 is a diagram illustrating an example of the internal configuration of a management device, a master communication device, and a slave communication device. [Figure 3] 2 is a flowchart showing an outline of the flow of various processes executed in the communication system 100. [Figure 4] 10 is a flowchart illustrating details of a connection mode process. [Figure 5] 10 is a flowchart showing details of a data communication mode process. [Figure 6] 10 is a diagram showing an example of the recorded content of a communication NG recording unit of a master communication device. FIG. [Figure 7] 10 is a flowchart showing details of a reference characteristic update mode process. [Figure 8] 10 is a flowchart showing details of a self-diagnosis mode process. [Figure 9] 10A and 10B are diagrams illustrating an example of the overall trend of the acquired RSSI and the overall trend of the reference RSSI acquired when a master communication device communicates with one slave communication device over multiple frequency channels. [Figure 10] FIG. 10 is a diagram showing an example of the results of determining, for each of the first and second master communication devices, whether an abnormality in wireless communication between the master communication device and a plurality of slave communication devices has occurred, using RSSI. [Figure 11] 10A and 10B are diagrams illustrating an example of the overall trend of the acquired PER and the overall trend of the reference PER acquired when a master communication device communicates with one slave communication device over multiple frequency channels. [Figure 12] 10 is a part of a flowchart showing details of an abnormality location determination mode process. [Figure 13] 13 is the remaining part of the flowchart showing details of the abnormality location determination mode processing of FIG. 12. [Figure 14] 10A and 10B are diagrams illustrating an example of a result of determining whether wireless communication between the first and second master communication devices and a plurality of slave communication devices is abnormal when one of the master communication devices is abnormal. [Figure 15] 10A and 10B are diagrams illustrating an example of an abnormality determination result of wireless communication between first and second master communication devices and multiple slave communication devices when one slave communication device is abnormal. [Figure 16] 10A and 10B are diagrams illustrating an example of an abnormality determination result of wireless communication between first and second master communication devices and a plurality of slave communication devices when an abnormality occurs in a communication propagation path. [Figure 17] 10A and 10B are diagrams illustrating an example of an abnormality determination result of wireless communication between the first and second master communication devices and a plurality of slave communication devices when the location of the abnormality cannot be identified. DETAILED DESCRIPTION OF THE INVENTION
[0012] Hereinafter, an embodiment of a communication system according to the present disclosure will be described in detail with reference to the drawings. In multiple drawings, the same or similar parts may be designated by the same reference numerals, and duplicated descriptions may be omitted.
[0013] FIG. 1 is a configuration diagram showing the overall configuration of a communication system 100 according to this embodiment. As shown in FIG. 1, the communication system 100 according to this embodiment includes a management device 10, first and second master communication devices 20A and 20B, and first to fifth slave communication devices 30A to 30E. In the following description, the first and second master communication devices 20A and 20B may be collectively referred to as master communication devices 20. Similarly, the first to fifth slave communication devices 30A to 30E may be collectively referred to as slave communication devices 30. Note that the number of master communication devices 20 is not limited to two, as long as at least one master communication device is provided. Similarly, the number of slave communication devices 30 is not limited to five, as long as two or more slave communication devices are provided.
[0014] The communication system 100 according to this embodiment is installed in, for example, a vehicle and is used for communication between a plurality of on-board devices and at least one control unit that controls and manages the plurality of on-board devices. In this case, for example, at least two master communication devices 20 are connected to at least one control unit, and a plurality of slave communication devices 30 are connected to each of the plurality of on-board devices. The master communication device 20 and the plurality of slave communication devices 30 are each installed in a fixed position in the vehicle. However, the master communication device 20 and the plurality of slave communication devices 30 do not necessarily have to be installed in a fixed position.
[0015] As a specific application in a vehicle, the communication system 100 according to the present embodiment can be applied to a battery management system that manages batteries installed as a battery pack in an electrically powered vehicle such as an electric vehicle, a hybrid vehicle, or a plug-in hybrid vehicle. In the battery management system, a monitoring device is provided as on-board equipment for each of a plurality of battery stacks that make up the battery pack. Each monitoring device for the plurality of battery stacks acquires battery information such as the voltage and current of each battery cell included in the battery stack and the temperature of the battery stack using various sensors.
[0016] When each monitoring device receives data requesting battery information from the battery control device acting as a control unit via the communication system 100, it transmits the acquired battery information to the battery control device via the communication system 100. 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 within an appropriate range, and determines whether or not to perform so-called equalization processing to equalize the voltages of each battery cell. If the battery control device determines that equalization processing is required for at least one battery stack, it instructs the corresponding monitoring device to perform equalization processing via the communication system 100.
[0017] Alternatively, the communication system 100 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 communication device 20 is mounted on the vehicle and connected to a control device that locks and unlocks the vehicle doors and controls the on / off of the vehicle's driving source, such as the engine. Multiple slave communication devices 30 are mounted on portable keys or mobile terminals owned by multiple users. When applied to a tire pressure monitoring system, the master communication device 20 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. Multiple slave communication devices 30 are mounted in each tire and connected to an air pressure detection device also mounted in each tire. Furthermore, the communication system 100 according to the present embodiment may be applied to a vehicle diagnostic system. In this case, for example, multiple slave communication devices are connected to multiple on-board devices equipped with self-diagnosis functions, and the master communication device is connected to a diagnostic control device installed in a service shop. In these examples, at least one of the master communication device 20 and the plurality of slave devices 30 is located at a fixed location and / or at least one is mounted on a vehicle.
[0018] However, application examples of the communication system 100 according to this embodiment are not limited to vehicles, and it can also be applied to systems that control and manage various equipment in moving bodies other than vehicles, such as flying bodies such as drones, ships, construction machinery, agricultural machinery, etc. Furthermore, the communication system according to this embodiment can also be applied to systems that control and manage various equipment in buildings such as buildings, production facilities in factories, etc.
[0019] The master communication device 20 is configured to be able to perform wireless communication over multiple frequency channels with each of the multiple slave communication devices 30. For example, BLUETOOTH LOW ENERGY (BLE; BLUETOOTH is a registered trademark) can be used for wireless communication between the master communication device 20 and each of the multiple slave communication devices 30. Alternatively, other wireless communication technologies, for example, wireless LAN such as Wi-Fi (registered trademark), may be used.
[0020] 1, the first and second master communication devices 20A, 20B may be connected to the same control unit. In this case, when the communication system 100 is operating normally, the control unit may be configured to use one of the first and second master communication devices 20A, 20B to communicate with the multiple slave communication devices 30A to 30E. If one of the first and second master communication devices 20A, 20B fails, the control unit can use the other of the first and second master communication devices 20A, 20B to communicate with the multiple slave communication devices 30A to 30E.
[0021] Alternatively, at least one control unit may be configured to communicate with the multiple slave communication devices 30A-30E using the first and second master communication devices 20A and 20B even when the communication system 100 is operating normally. That is, the first master communication device 20A may be configured to handle wireless communication with some of the multiple slave communication devices 30A-30E, and the second master communication device 20B may be configured to handle wireless communication with the remaining multiple slave communication devices 30A-30E. In this case, the first and second master communication devices 20A and 20B may communicate with different slave communication devices 30A-30E at the same time, thereby increasing the communication speed between the master communication device 20 and the multiple slave communication devices 30A-30E. Furthermore, if one of the first and second master communication devices 20A and 20B fails, the control unit can use the other of the first and second master communication devices 20A and 20B to communicate with the multiple slave communication devices 30A-30E.
[0022] Thus, according to the communication system 100 of the present disclosure, by connecting multiple master communication devices 20A, 20B to at least one control unit, even if one of the master communication devices 20A or 20B fails, it is possible to continue communication between the control unit and various equipment such as in-vehicle equipment.
[0023] As shown in FIG. 1, the management device 10 is connected to the first and second master communication devices 20A and 20B by wire. However, the management device 10 may also be connected to the first and second master communication devices 20A and 20B wirelessly. The management device 10 performs self-diagnosis of the communication system 100 in a self-diagnosis mode based on various information acquired from the first and second master communication devices 20A and 20B, and diagnoses whether or not there is an abnormality in the communication system 100. If the self-diagnosis diagnoses that there is an abnormality in the communication system 100, the management device 10 determines the location where the abnormality has occurred in an abnormality location determination mode. Furthermore, the management device 10 also has a function to update the reference communication characteristics used for self-diagnosis and for determining the location where the abnormality has occurred.
[0024] FIG. 2 is a configuration diagram showing an example of the internal configuration of the management device 10, the master communication device 20, and the slave communication device 30. As shown in FIG. 2, the management device 10, the master communication device 20, and the slave communication device 30 each have a microcomputer 11, 21, or 31. The microcomputers 11, 21, and 31 may be configured by a microcomputer including a CPU as a processor, ROM and RAM as memories, an input / output interface, and buses connecting these. The CPU executes various programs stored in the ROM while utilizing the temporary storage function of the RAM to perform various functions. FIG. 2 shows some of the various functions executed by each microcomputer 11, 21, or 31 using blocks.
[0025] The management device 10 includes, as functions executed by the microcomputer 11, a self-diagnosis unit 12 that performs self-diagnosis, an abnormality location determination unit 13 that determines an abnormality location, and a reference characteristic update unit 14 that updates reference communication characteristics. The self-diagnosis unit 12, the abnormality location determination unit 13, and the reference characteristic update unit 14 will be described in detail later. The microcomputer 11 of the management device 10 also includes a memory unit 15 that stores, in a storage medium, reference communication characteristics for each frequency channel when the master communication device 20 communicates with each of the multiple slave communication devices 30 over multiple frequency channels, for each of the slave communication devices 30. While FIG. 1 illustrates the memory unit 15 as being provided inside the microcomputer 11, the memory unit 15 may also be provided external to the microcomputer 11 (management device 10). Some of the various functions executed by the microcomputer 11 of the management device 10 may also be implemented by hardware circuits.
[0026] The master communication device 20 has, as functions executed by the microcomputer 21, a communication characteristics acquisition unit 22 that acquires information indicating communication characteristics related to wireless communication while wirelessly communicating with each slave communication device 30, and a communication failure recording unit 23 that records slave communication devices 30 with which a connection cannot be established or communication is not possible. The communication characteristics acquisition unit 22 acquires, as communication characteristic information, for example, a received signal strength indicator (RSSI) that indicates the reception strength of the wireless communication, and a packet error rate (PER) in the wireless communication between the master communication device 20 and the slave communication device 30. The packet error rate may be replaced with a bit error rate (BER). The bit error rate can be calculated from the packet error rate using a predetermined equation.
[0027] 2, the master communication device 20 and the slave communication device 30 each have a wireless communication device 24, 32 for wirelessly transmitting and receiving packet data. The wireless communication devices 24, 32 have a transmitting function of modulating packet data to be transmitted and transmitting it at an RF signal frequency. The wireless communication devices 24, 32 also have a receiving function of demodulating received packet data. RF is an abbreviation for radio frequency.
[0028] The microcomputer 21 of the master communication device 20 encrypts transmission data such as battery information request data using encryption information exchanged in a connection mode (described later), and outputs the encrypted data to the wireless communication device 24. The wireless communication device 24 modulates the transmission data output from the microcomputer 21 and transmits it to the slave communication device 30 via an antenna. The wireless communication device 24 adds information necessary for wireless communication to the transmission data before transmitting it. The information 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 device 24 also controls the data size, schedule, error detection, and the like of wireless communication.
[0029] The wireless communication device 32 of the slave communication device 30 receives the data transmitted from the wireless communication device 24 of the master communication device 20 via the antenna and demodulates the data. The demodulated data is provided to the microcomputer 31 of the slave communication device 30. For example, if the received data is a transmission request for battery information, the microcomputer 31 of the slave communication device 30 transmits the transmission request to the monitoring device of the corresponding battery stack. In response to the transmission request, the monitoring device outputs the acquired battery information to the slave communication device 30. Then, the microcomputer 31 of the slave communication device 30 transmits the battery information output from the monitoring device to the wireless communication device 24 of the master communication device 20 via the wireless communication device 32.
[0030] Next, various processes executed in the communication system 100 according to this embodiment will be described. Fig. 3 is a flowchart showing an outline of the various processes executed in the communication system 100. The process shown in the flowchart of Fig. 3 starts with connection mode process in step S100, for example, when a main switch of the vehicle is turned on and power is supplied to the devices 10, 20, and 30 of the communication system 100. Then, data communication mode process in step S200 is continuously executed until the main switch is turned off. When the main switch is turned off, the data communication mode in step S200 is ended, and after that, necessary processes are performed, the process shown in the flowchart of Fig. 3 ends.
[0031] However, in cases where the master communication device 20 and the slave communication device 30 only need to communicate intermittently, such as when the communication system 100 is applied to the battery management system described above, the processing shown in the flowchart of Fig. 3 may end each time the intermittent communication between the master communication device 20 and the slave communication device 30 ends. Then, at the timing when communication is to be performed next, the connection mode processing may be executed again in order, starting from step S100.
[0032] 3, the connection mode process of step S100 and the data communication mode process of step S200 are mainly executed by the master communication device 20 and the slave communication device 30. On the other hand, the reference characteristic update mode process of step S300, the self-diagnosis mode process of step S400, and the abnormality location determination mode process of step S500 are mainly executed by the management device 10 in cooperation with the master communication device 20 and the slave communication device 30. The self-diagnosis unit 12 of the microcomputer 11 of the management device 10 shown in FIG. 2 mainly executes the self-diagnosis mode process of step S400. The abnormality location determination unit 13 of the microcomputer 11 of the management device 10 mainly executes the abnormality location determination mode process of step S500. The reference characteristic update unit 14 of the microcomputer 11 of the management device 10 mainly executes the reference characteristic update mode process of step S300.
[0033] First, the details of the connection mode process will be described with reference to the flowchart in Fig. 4. In Fig. 4, the flowchart on the left side shows the process executed by the master communication device 20, and the flowchart on the right side shows the process executed by the slave communication device 30.
[0034] In the connection mode process, the master communication device 20 opens a scan window and performs a scan operation in step S105. For example, in the case of BLE, as a scan operation, the master communication device 20 periodically enables reception of the transmission channel of an advertisement packet (connection request) from the slave communication device 30 for a predetermined period of time. Meanwhile, in step S140, the slave communication device 30 transmits a connection request on the connection request transmission channel and performs an advertising operation. The scan operation may start earlier than, approximately at the same timing as, or later than the start of the advertising operation. The connection request includes ID information of the master communication device 20 (the slave communication device 30) and the master communication device 20.
[0035] In step S110, the master communication device 20 receives data including a connection request from the slave communication device 30. Next, in step S115, the master communication device 20 determines whether the received data is correct, i.e., whether the data including the connection request from the slave communication device 30 was successfully received, for example, based on an error detection code included in the received data. If the received data is correct, the process proceeds to step S120. In step S120, the master communication device 20 transmits data including a connection response to the slave communication device 30 that transmitted the data including the connection request. On the other hand, if the received data is incorrect, the process proceeds to step S125. In step S125, the master communication device 20 determines whether self-diagnosis needs to be performed. For example, in step S115, the master communication device 20 can determine that self-diagnosis needs to be performed if the number of times the received data is determined to be incorrect reaches a predetermined number. If it is determined that self-diagnosis needs to be performed, the master communication device 20 transitions to self-diagnosis mode. If it is determined that the self-diagnosis does not need to be performed, the master communication device 20 returns to the process of step S105 and continues the scanning operation.
[0036] In step S145, the slave communication device 30 receives data including a connection response from the master communication device 20. Next, in step S150, the slave communication device 30 determines whether the received data is correct, that is, whether the data including the connection response from the master communication device 20 has been received successfully, for example, based on an error detection code included in the received data. If the received data is correct, the process proceeds to step S155. On the other hand, if the received data is incorrect, the process returns to step S140, and the slave communication device 30 again transmits data including a connection request to the master communication device 20.
[0037] The master communication device 20 and the slave communication device 30 execute connection completion processing in steps S130 and S155, respectively. The connection completion processing includes a process of exchanging unique information. For example, in the process of exchanging unique information, the master communication device 20 and the slave communication device 30 exchange the unique information they each hold and store it in their respective memories. This enables encryption using the exchanged unique information. The unique information is, for example, key information or information for generating a key.
[0038] In this way, a connection is established between the master communication device 20 and the slave communication device 30. Once the connection is established, the slave communication device 30 stops transmitting data including the connection request, and the master communication device 20 and the slave communication device 30 then transition to data communication mode.
[0039] Before switching to the data communication mode, the master communication device 20 determines in step S135 whether or not a self-diagnosis needs to be performed. For example, the master communication device 20 may determine that a self-diagnosis needs to be performed if, despite the master communication device 20 having performed a connection completion process, the corresponding slave communication device 30 continues to send data including a connection request. Alternatively, the master communication device 20 may determine that a self-diagnosis needs to be performed when such a state occurs a predetermined number of times in succession.
[0040] The master communication device 20 (first and second master communication devices 20A, 20B) individually executes the above-described connection mode process with each of the multiple slave communication devices 30. If the master communication device 20 cannot establish a connection with a slave communication device 30 through the above-described connection mode process, the communication NG recording unit 23 records the slave communication device 30 with which the connection could not be established, along with the time. The communication NG recording unit 23 has a function of recording, at predetermined intervals, the slave communication device 30 with which the connection could not be established and the slave communication device 30 with which communication could not be established, along with the time. Therefore, a slave communication device 30 with which a connection cannot be established is recorded as a slave communication device 30 with which communication could not be continuously established, in the recording at each predetermined interval.
[0041] Next, details of the data communication mode process will be explained with reference to the flowchart in Fig. 5. In Fig. 5, the flowchart on the left side shows the process executed by the master communication device 20, and the flowchart on the right side shows the process executed by the slave communication device 30.
[0042] In step S255, the slave communication device 30 opens a scan window and performs a scan operation in accordance with the connection parameters notified by the master communication device 20. Note that the connection parameters are set for each slave communication device 30 so that it communicates with the master communication device 20 at different timings. For example, in the case of BLE, the connection parameters include a transmit window size indicating the transmission period of a data packet, a connection interval indicating the cycle for hopping between frequency channels, channel mapping indicating which data channel is to be used in a connection event, and a hop increment specifying the order of frequency channel switching. Based on the above connection parameters, the slave communication device 30 performs a scan operation to enable reception of a signal on the frequency channel used for transmission at the timing when packet data is transmitted from the master communication device 20.
[0043] In step S205, the master communication device 20 transmits a data request to the slave communication device 30 via the corresponding frequency channel in synchronization with the timing at which the slave communication device 30 opens the scan window. In step S260, the slave communication device 30 receives the data request transmitted from the master communication device 20. Next, in step S265, the slave communication device 30 determines whether the received data is correct, i.e., whether the data request from the master communication device 20 was received successfully, for example, based on an error detection code included in the received data. If the received data is correct, the process proceeds to step S270. In step S270, the slave communication device 30 acquires the requested data, for example, from a control device of the corresponding equipment, and transmits it to the master communication device 20. On the other hand, if the received data is incorrect, the slave communication device 30 returns to the process of step S255, opens a scan window in accordance with the above connection parameters, and performs a scan operation.
[0044] After transmitting the data request in step S205, the master communication device 20 performs a scan operation in step S210 to open a scan window in preparation for receiving packet data transmitted from the slave communication device 30. In step S215, the master communication device 20 receives the packet data transmitted by the slave communication device 30. Next, in step S220, the master communication device 20 determines whether the received data is correct, i.e., whether the data transmitted by the slave communication device 30 was received successfully, based on, for example, an error detection code included in the received data.
[0045] If the received data is correct, the master communication device 20 proceeds to step S225. In step S225, the master communication device 20 determines whether to end the data communication mode. For example, if the communication system 100 is applied to a vehicle and the master communication device 20 and the slave communication device 30 communicate continuously while the vehicle is in operation, the master communication device 20 can determine that the data communication mode has ended when the main switch of the vehicle is turned off. Alternatively, if the master communication device 20 and the slave communication device 30 communicate intermittently, the master communication device 20 can determine that the data communication mode has ended when a predetermined communication period has elapsed.
[0046] If it is determined that the data communication mode has ended, the master communication device 20 proceeds to step S230. In step S230, the master communication device 20 transmits a data communication termination request to the slave communication device 30. Thereafter, the master communication device 20 transitions to the reference characteristic update mode. Furthermore, if it is determined in step S275 that the slave communication device 30 has received a data communication termination request from the master communication device 20, the master communication device 20 also transitions to the reference characteristic update mode. The master communication device 20 may transition to the reference characteristic update mode without transmitting a data communication termination request. The slave communication device 30 does not necessarily need to distinguish between the data communication mode and the reference characteristic update mode. The slave communication device 30 may simply transmit the requested data in response to receiving a data request from the master communication device 20, or may continuously transmit advertisement packets if the connection is not established or terminated. If the data communication mode has not ended, the master communication device 20 returns to step S205, and the slave communication device 30 returns to step S255.
[0047] On the other hand, if the received data is incorrect, the master communication device 20 proceeds to the process of step S235. In step S235, the master communication device 20 determines whether to retransmit the same data request as the previously transmitted data request. For example, in the case of BLE, whether to retransmit the same data request can be determined based on the SN (Sequence Number) bit and NESN (Next Expected Sequence Number) bit included in the header. Initially, the SN bit and NESN bit are set to 0. If data transmission from the master communication device 20 to the slave communication device 30 is successful, the NESN bit is set to 1 in the next data transmission from the slave communication device 30 to the master communication device 20. Then, since the NESN bit is 1, the master communication device 20 transmits data with the SN bit set to 1 to the slave communication device 30. In the above case, if the NESN bit is 0, it means that the data transfer failed. Therefore, the master communication device 20 can determine that it is necessary to retransmit previously transmitted data with an SN bit of 0. Furthermore, when a wireless communication protocol other than BLE is used, it is possible to determine whether or not to retransmit based on, for example, ACK / NACK. If retransmission is to be performed, the master communication device 20 proceeds to the process of step S245, and transmits the same data request as before on the same frequency channel or the next frequency channel after frequency hopping. If retransmission is not to be performed because the number of retransmissions has reached a predetermined number, for example, the master communication device 20 proceeds to the process of step S240.
[0048] In step S240, the master communication device 20 determines whether or not a self-diagnosis needs to be performed. For example, the master communication device 20 can determine that a self-diagnosis needs to be performed if the number of times that the received data is determined to be incorrect reaches a predetermined number in step S220. If it is determined that a self-diagnosis needs to be performed, the master communication device 20 transitions to the self-diagnosis mode. If it is determined that a self-diagnosis does not need to be performed, the master communication device 20 returns to the processing of step S205.
[0049] In the data communication mode process described above, if an abnormality occurs in data transmission / reception and a slave communication device 30 is unable to communicate normally, the master communication device 20 records the slave communication device 30 where the abnormality occurred together with the time in the communication NG recording unit 23. Fig. 6 is a diagram showing an example of the contents recorded in the communication NG recording unit 23 of the master communication device 20. The example shown in Fig. 6 indicates that an abnormality has continuously occurred between the master communication device 20 and the slave communication device 30 indicated as "S2." Note that Fig. 6 shows an example in which slave communication devices 30 that can communicate normally are also recorded, but recording normal slave communication devices 30 is optional.
[0050] Next, the reference characteristic update mode process will be described in detail with reference to the flowchart in Fig. 7. In Fig. 7, the flowchart on the left side shows the process executed by the management device 10 and the master communication device 20, and the flowchart on the right side shows the process executed by the slave communication device 30.
[0051] As described above, the storage unit 15 of the management device 10 stores, in a storage medium, the reference communication characteristics (RSSI, PER) for each frequency channel when the master communication device 20 communicates with each of the multiple slave communication devices 30 over multiple frequency channels, for each individual slave communication device 30. These reference communication characteristics can be obtained, for example, by actually measuring the RSSI and PER when the master communication device 20 and the slave communication device 30 are mounted on an installation object such as a vehicle and placed in a predetermined position.
[0052] However, the reference communication characteristics may change over time or due to changes in the installation environment. Therefore, in this embodiment, the reference communication characteristics stored in the storage unit 15 are updated when a predetermined update condition is met. The predetermined update condition may be, for example, that a predetermined period of time has passed since the previous reference characteristic update mode process was performed, that the vehicle's mileage has increased by a predetermined distance since the previous reference characteristic update mode process was performed, and / or that an update instruction has been received from an external source.
[0053] In step S305, the management device 10 determines whether to update the reference characteristics based on whether the above-mentioned predetermined update condition is satisfied. When updating the reference characteristics, the reference characteristics update unit 14 of the management device 10 instructs the master communication device 20 to communicate with each slave communication device 30 over multiple frequency channels (preferably all frequency channels used in data communication mode). In response to this instruction, the two master communication devices 20 communicate with each slave communication device 30. Note that in this reference characteristic update mode, the master communication device 20 may communicate with each slave communication device 30 using connection parameters different from those in the data communication mode.
[0054] In step S355, each slave communication device 30 opens a scan window and performs a scan operation in accordance with the connection parameters notified by the master communication device 20. Note that the connection parameters are set for each slave communication device 30 so that it communicates with the master communication device 20 at different times. If the above-mentioned predetermined update condition is not met and the reference characteristic update is not performed, the slave communication device 30 will not receive a data request from the master communication device 20 even if it performs a scan operation. Therefore, if the slave communication device 30 does not receive a data request from the master communication device 20 even after a predetermined time has elapsed, it will end the reference characteristic update mode processing without performing the processing from step S360 onwards.
[0055] In step S310, the master communication device 20 transmits a data request to each slave communication device 30 via the corresponding frequency channel in synchronization with the timing at which each slave communication device 30 opens its scan window. Each slave communication device 30 receives the data request transmitted from the master communication device 20 in step S360. Next, in step S365, each slave communication device 30 determines whether the received data is correct, for example, based on an error detection code included in the received data. If the received data is correct, the process proceeds to step S370. In step S370, each slave communication device 30 transmits packet data to the master communication device 20. This packet data may be empty or may contain some data. On the other hand, if the received data is incorrect, each slave communication device 30 returns to the process of step S355, opens a scan window in accordance with the above connection parameters, and performs a scan operation.
[0056] After transmitting the data request in step S310, the master communication device 20 performs a scanning operation in step S315 to open a scan window in preparation for receiving packet data transmitted from the slave communication device 30. In step S320, the master communication device 20 receives the packet data transmitted by the slave communication device 30. At this time, the communication characteristic acquisition unit 22 of the master communication device 20 acquires RSSI, which indicates the received signal strength of the packet data from the slave communication device 30, as the communication characteristic.
[0057] Next, in step S325, the master communication device 20 determines whether the received data is correct, for example, based on an error detection code included in the received data. At this time, the communication characteristics acquisition unit 22 of the master communication device 20 acquires a packet error rate that indicates the proportion of packet data that was not received correctly among the packet data transmitted by the slave communication device 30.
[0058] If the received data is correct, the master communication device 20 proceeds to step S330. In step S330, the master communication device 20 determines whether the transmission and reception required to update the reference characteristics has been completed. For example, if transmission and reception with each slave communication device 30 has not yet been performed on most or all of the frequency channels equal to or greater than a first predetermined number, the master communication device 20 determines that the required transmission and reception has not been completed. In this case, the master communication device 20 returns to step S310, changes the frequency channel, and repeats the transmission of the data request. On the other hand, if it is determined that the required transmission and reception have been completed, the master communication device 20 proceeds to step S345. In step S345, the management device 10 updates the reference communication characteristics stored in the storage unit 15 with the communication characteristics acquired by the communication characteristics acquisition unit 22 of the master communication device 20.
[0059] If the received data is incorrect, the master communication device 20 proceeds to the process of step S335. In step S335, the master communication device 20 determines whether to retransmit the same data request as the previously transmitted data request. If retransmission is to be performed, the master communication device 20 proceeds to the process of step S340, where it transmits the same data request as before on the same frequency channel or the next frequency channel after frequency hopping. If retransmission is not to be performed, the master communication device 20 returns to the process of step S310.
[0060] In step S350, which is executed after step S345, the master communication device 20 transmits an update mode end request to each of the slave communication devices 30. Thereafter, the master communication device 20 terminates the reference characteristic update mode processing. When the slave communication device 30 determines in step S375 that it has received an update mode end request from the master communication device 20, it terminates the reference characteristic update mode processing. Note that, for the same reason as described above, the master communication device 20 does not have to transmit an update mode end request to each of the slave communication devices 30.
[0061] The above describes an example in which packet data is transmitted and received between the master communication device 20 and the slave communication device 30, and the reference communication characteristics stored in the storage unit 15 are updated based on the actual communication characteristics obtained through the transmission and reception. However, the method for updating the reference communication characteristics is not limited to the above example. For example, an external management server can collect communication characteristics from multiple communication systems 100 applied to the same type of vehicle and determine standard reference communication characteristics from the collected communication characteristics. The management server can then distribute the determined reference communication characteristics to each communication system 100, and each communication system 100 can update the reference communication characteristics stored in the storage unit 15 based on the distributed reference communication characteristics.
[0062] Next, the details of the self-diagnosis mode process will be described with reference to the flowchart of FIG.
[0063] First, in step S405, the self-diagnosis unit 12 of the management device 10 determines whether the master communication device 20 has established connections with all of the slave communication devices 30. If the master communication device 20 has not established connections with all of the slave communication devices 30, it is clear that some kind of abnormality has occurred in the communication system 100, and the self-diagnosis unit 12 of the management device 10 transitions to an abnormality location determination mode in which the location of the abnormality is identified. On the other hand, if the master communication device 20 has established connections with all of the slave communication devices 30, the self-diagnosis unit 12 of the management device 10 proceeds to the processing of step S410.
[0064] In step S410, the self-diagnosis unit 12 of the management device 10 instructs the first and second master communication devices 20A, 20B to communicate with all of the slave communication devices 30A to 30E over multiple frequency channels and acquire RSSI. In response to this instruction, wireless communication is performed over multiple frequency channels for all combinations of master communication devices 20 and slave communication devices 30, and the RSSI of each wireless communication is acquired. Each of the acquired RSSIs is provided by the master communication device 20 to the management device 10. Note that the self-diagnosis unit 12 of the management device 10 does not necessarily have to instruct the first and second master communication devices 20A, 20B to communicate wirelessly with all of the slave communication devices 30A to 30E. For example, the self-diagnosis unit 12 of the management device 10 may instruct the first and second master communication devices 20A, 20B to perform wireless communication with some of the slave communication devices 30, including the slave communication device 30 in which a communication abnormality occurred and the slave communication device 30 that triggered the determination that a self-diagnosis is necessary, which are recorded in the communication NG recording unit 23. Furthermore, the multiple frequency channels may be all the frequency channels, or may be not necessarily all but a second predetermined number or more of the frequency channels.
[0065] In step S415, the self-diagnosis unit 12 of the management device 10 reads from the storage unit 15 the reference RSSI, which is the reference communication characteristic for each frequency channel when the master communication device 20 communicates over multiple frequency channels with each of the multiple slave communication devices 30. Then, in step S420, the self-diagnosis unit 12 of the management device 10 determines an abnormality in the wireless communication between the master communication device 20 and the multiple slave communication devices 30 for each slave communication device 30, based on the magnitude of correlation between the overall trend of the multiple acquired RSSIs across the multiple frequency channels for each slave communication device 30 and the overall trend of the reference RSSI.
[0066] FIG. 9 illustrates an example of the overall trend of acquired RSSIs and the overall trend of reference RSSIs acquired when the master communication device 20 communicates with one slave communication device 30 over multiple frequency channels. The magnitude of the correlation between the overall trend of acquired RSSIs and the overall trend of reference RSSIs can be calculated, for example, by forming waveforms connecting multiple acquired RSSIs across multiple frequency channels and multiple reference RSSIs across multiple frequency channels, as shown in FIG. 9 , and then calculating the degree of match between these waveforms. In the example shown in FIG. 9 , when the acquired RSSI is the first acquired RSSI, the degree of match between the reference RSSI waveform connecting the reference RSSIs across multiple frequency channels and the first acquired RSSI waveform connecting the acquired RSSIs across multiple frequency channels is high. Therefore, the magnitude of the correlation between the reference RSSI waveform and the first acquired RSSI waveform is calculated to be a value equal to or greater than a predetermined threshold. On the other hand, when the acquired RSSI is the second acquired RSSI, the degree of match between the reference RSSI waveform connecting the reference RSSIs across multiple frequency channels and the second acquired RSSI waveform connecting the acquired RSSIs across multiple frequency channels is low. Therefore, the magnitude of the correlation between the reference RSSI waveform and the second obtained RSSI waveform is calculated as a value less than the predetermined threshold value.
[0067] A determination of normality or abnormality based on the magnitude of correlation between the overall trend of the acquired RSSI and the overall trend of the reference RSSI is made for each of the multiple slave communication devices 30. Fig. 10 shows a state in which a normality determination has been made for all of the slave communication devices 30A to 30E, indicated by "S1" to "S5," for the first and second master communication devices 20A and 20B, indicated by "M1" and "M2." In this case, in the determination process of step S425, it is determined that communications between all combinations of the master communication device 20 and the slave communication device 30 are normal. In this case, the process proceeds to step S450, and the self-diagnosis unit 12 of the management device 10 determines that the self-diagnosis is OK.
[0068] On the other hand, if it is determined in step S425 that all of the parameters are not normal, the process proceeds to step S430. In step S430, the self-diagnostic unit 12 of the management device 10 instructs the first and second master communication devices 20A and 20B to communicate with all of the slave communication devices 30A to 30E over multiple frequency channels and acquire the PER. In response to this instruction, wireless communication is performed over multiple frequency channels for all combinations of the master communication device 20 and the slave communication device 30, and the PER of each wireless communication (packet data communication) is acquired. Each of the acquired PERs is provided to the management device 10 by each master communication device 20. Note that, as described above, the self-diagnostic unit 12 of the management device 10 may instruct the first and second master communication devices 20A and 20B to perform wireless communication with not all of the slave communication devices 30, but some of the slave communication devices 30. Furthermore, the multiple frequency channels may be all of the frequency channels, or may be a second predetermined number or more of frequency channels, not necessarily all of the frequency channels. Furthermore, the acquisition of PER in step S430 may be performed simultaneously with the acquisition of RSSI in step S410 described above.
[0069] In step S435, the self-diagnosis unit 12 of the management device 10 reads from the storage unit 15 the reference PER, which is the reference communication characteristic for each frequency channel when the master communication device 20 communicates over multiple frequency channels with each of the multiple slave communication devices 30. Then, in step S440, the management device 10 determines whether the wireless communication between the master communication device 20 and the multiple slave communication devices 30 is normal or abnormal for each slave communication device 30, for all combinations of the master communication device 20 and the slave communication device 30, based on the magnitude of correlation between the overall trend of the multiple acquired PERs across the multiple frequency channels for each slave communication device 30 and the overall trend of the reference PER.
[0070] FIG. 11 illustrates an example of the overall trend of the acquired PER and the overall trend of the reference PER acquired when the master communication device 20 communicates with one slave communication device 30 over multiple frequency channels. FIG. 11 illustrates an example in which the magnitude of correlation between the overall trend of the acquired PER and the overall trend of the reference PER is calculated from the proportion of similar data. That is, an allowable range is defined around the reference PER, and the magnitude of correlation can be calculated from the proportion of acquired PERs that fall within that allowable range. In the example illustrated in FIG. 11, when the acquired PER is the first acquired PER, the proportion of acquired PERs that fall within the allowable range around the reference PER across multiple frequency channels is high. Therefore, the magnitude of correlation between the overall trend of the first acquired PER and the overall trend of the reference PER is calculated as a value equal to or greater than a predetermined threshold. On the other hand, when the acquired PER is the second acquired PER, the proportion of acquired PERs that fall within the allowable range around the reference PER across multiple frequency channels is low. Therefore, the magnitude of correlation between the overall trend of the second acquired PER and the overall trend of the reference PER is calculated as a value less than a predetermined threshold.
[0071] The magnitude of correlation between the overall trend of the acquired PER and the overall trend of the reference PER may be calculated from the degree of agreement between waveforms that connect multiple acquired PERs across multiple frequency channels and multiple reference PERs across multiple frequency channels, as shown in the example of Fig. 9. Conversely, the magnitude of correlation between the overall trend of the acquired RSSI and the overall trend of the reference RSSI may be calculated from the proportion of similar data, as shown in the example of Fig. 11.
[0072] A normality / abnormality determination based on the magnitude of correlation between the overall trend of the acquired PER and the overall trend of the reference PER is performed for each of the multiple slave communication devices 30 for the first and second master communication devices 20A, 20B. If a normality determination is made for all slave communication devices 30 for the first and second master communication devices 20A, 20B, the determination processing in step S445 determines that all communications between all combinations of the master communication device 20 and the slave communication device 30 are normal. In this case, the processing proceeds to step S450, where the self-diagnosis unit 12 of the management device 10 determines that the self-diagnosis is OK. On the other hand, if a normality determination is not made for all communications in step S445, the self-diagnosis unit 12 of the management device 10 transitions to an abnormality location determination mode.
[0073] In this way, the self-diagnosis unit 12 of the management device 10 uses the overall tendency of multiple communication characteristics across multiple frequency channels to determine whether wireless communication between the first and second master communication devices 20A, 20B and the multiple slave communication devices 30A to 30E is normal or abnormal for each of the slave communication devices 30A to 30E. Therefore, even if normal communication cannot be performed on some frequency channels due to an external factor, it is possible to prevent the management device 10 from erroneously determining that any of the communication devices 20A, 20B, 30A to 30E is faulty.
[0074] Furthermore, when the self-diagnosis unit 12 of the management device 10 determines whether the wireless communication for each individual slave communication device 30 is normal or abnormal, if an abnormality in the wireless communication is determined for at least one slave communication device 30, the management device 10 transitions to an abnormality location determination mode.
[0075] In particular, the self-diagnostic unit 12 of the management device 10 first uses RSSI as first communication characteristic information to determine whether the wireless communication between the master communication device 20 and the multiple slave communication devices 30 is normal or abnormal for each of the first and second master communication devices 20A, 20B for each of the slave communication devices 30. When the management device 10 determines an abnormality in the wireless communication for at least one slave communication device 30 in the determination of the normality or abnormality of the wireless communication for each of the slave communication devices 30 using RSSI, the management device 10 further uses PER as second communication characteristic information to determine whether the wireless communication between the master communication device 20 and the multiple slave communication devices 30 is normal or abnormal for each of the first and second master communication devices 20A, 20B for each of the slave communication devices 30. When the self-diagnostic unit 12 of the management device 10 determines an abnormality in the wireless communication for at least one slave communication device 30 in the determination of the abnormality in the wireless communication for each of the slave communication devices 30 using PER, the management device 10 transitions to an abnormality location determination mode. Therefore, only when there is a high possibility that some kind of abnormality has occurred in the communication system 100, the management device 10 can execute the abnormality location determination mode process.
[0076] Next, the details of the abnormality location determination mode process will be described with reference to the flowchart in Fig. 12. The abnormality location determination mode process determines whether an abnormality has occurred in the first and second master communication devices 20A, 20B, the plurality of slave communication devices 30, or the communication propagation path between the master communication device 20 and the plurality of slave communication devices 30, based on the determination results of whether the wireless communication between the master communication device 20 and the plurality of slave communication devices 30 is normal or abnormal for each of the first and second master communication devices 20A, 20B.
[0077] First, in step S505, the abnormality location determination unit 13 of the management device 10 determines whether the master communication device 20 has established connections with all of the slave communication devices 30. If the master communication device 20 has not established connections with all of the slave communication devices 30, the process proceeds to step S510. In step S510, the abnormality location determination unit 13 of the management device 10 determines whether there are any connected slave communication devices 30 with which connections have been established. If there are any connected slave communication devices 30, the process proceeds to step S515. On the other hand, if there are no connected slave communication devices 30, the process proceeds to step S590 in the flowchart of FIG. 13.
[0078] In step S515, the abnormality location determination unit 13 of the management device 10 sets the acquired communication characteristics to a determination default value because it cannot acquire communication characteristics for the unconnected slave communication device 30. The determination default value is a value set so that a communication abnormality is determined in steps S530 and S555, which will be described later.
[0079] In step S520, which is executed following step S515 or when it is determined in step S505 that the master communication device 20 has established connections with all of the slave communication devices 30, the abnormality location determination unit 13 of the management device 10 instructs the first and second master communication devices 20A and 20B to communicate with all of the connected slave communication devices 30A to 30E over multiple frequency channels and acquire RSSIs. In response to this instruction, wireless communication is performed over multiple frequency channels for all combinations of the master communication device 20 and the connected slave communication devices 30, and the RSSIs of each wireless communication are acquired. The acquired RSSIs are provided from the master communication device 20 to the management device 10. The multiple frequency channels may be all frequency channels, or may be a second predetermined number or more of frequency channels, not necessarily all. Furthermore, the RSSIs acquired in the self-diagnosis mode may be used in the abnormality location determination mode without acquiring new RSSIs.
[0080] In step S525, the abnormality location determination unit 13 of the management device 10 reads from the storage unit 15 the reference RSSI, which is the reference communication characteristic for each frequency channel when the master communication device 20 communicates with each of the multiple slave communication devices 30 over the multiple frequency channels. Then, in step S530, the abnormality location determination unit 13 of the management device 10 determines whether the wireless communication between the master communication device 20 and the multiple slave communication devices 30 is normal or abnormal for each slave communication device 30, for all combinations of the master communication device 20 and the slave communication device 30, based on the magnitude of correlation between the overall trend of the multiple acquired RSSIs across the multiple frequency channels for each slave communication device 30 and the overall trend of the reference RSSI. This determination process is performed in the same way as the determination process in the self-diagnosis mode.
[0081] In step S535, the abnormality location determination unit 13 of the management device 10 uses RSSI to determine the abnormality location for each of the first and second master communication devices 20A, 20B, based on the determination result of whether the wireless communication between the master communication device 20 and the plurality of slave communication devices 30 is normal or abnormal for each slave communication device 30. The method for determining the abnormality location will be described in detail below.
[0082] First, if the abnormality location determination unit 13 of the management device 10 determines that all wireless communications between one of the first and second master communication devices 20A, 20B and the multiple slave communication devices 30 are abnormal, and the wireless communications between the other of the first and second master communication devices 20A, 20B and at least some of the multiple slave communication devices 30 are normal, it determines that an abnormality has occurred in one of the master communication devices.
[0083] 14 shows an example of an abnormality determination result for wireless communications between the first and second master communication devices 20A, 20B and the plurality of slave communication devices 30A to 30E when one of the master communication devices is abnormal. It is determined that wireless communications between the master communication device 20 designated by "M1" and all of the slave communication devices 30 designated by "S1" to "S5" are abnormal. Conversely, it is determined that wireless communications between the master communication device 20 designated by "M2" and all of the slave communication devices 30 designated by "S1" to "S5" are normal. In such a case, it can be determined that an abnormality has occurred in the master communication device 20 designated by "M1." Even if wireless communications between the master communication device 20 designated by "M2" and all of the slave communication devices 30 designated by "S1" to "S5" are abnormal and wireless communications with some of the slave communication devices 30 are abnormal, it is still possible to determine that an abnormality has occurred in the master communication device 20 designated by "M1."
[0084] Next, the abnormality location determination unit 13 of the management device 10 determines that an abnormality has occurred in the corresponding slave communication device 30 if the slave communication device 30 determined to have an abnormality in the wireless communication between one of the first and second master communication devices 20A, 20B and the multiple slave communication devices 30 is the same as the slave communication device 30 determined to have an abnormality in the wireless communication between the other of the first and second master communication devices 20A, 20B and the multiple slave communication devices 30.
[0085] 15 shows an example of the determination result of whether wireless communication between the first and second master communication devices 20A, 20B and the plurality of slave communication devices 30A-30E is normal or abnormal when one slave communication device 30 is abnormal. The wireless communication between the master communication device 20 indicated by "M1" and the slave communication device 30 indicated by "S1" is determined to be abnormal, and the wireless communication between the slave communication devices 30 indicated by "S2" to "S5" is determined to be normal. Furthermore, the wireless communication between the master communication device 20 indicated by "M2" and the slave communication device 30 indicated by "S1" is determined to be abnormal, and the wireless communication between the slave communication devices 30 indicated by "S2" to "S5" is determined to be normal. In this way, when the determination results of whether wireless communication between the first and second master communication devices 20A, 20B and the plurality of slave communication devices 30A-30E is normal or abnormal match, the abnormality location determination unit 13 of the management device 10 can determine that an abnormality has occurred in the slave communication device 30 that was determined to have a communication abnormality.
[0086] Furthermore, when it is determined that all wireless communications between one of the first and second master communication devices 20A, 20B and the plurality of slave communication devices 30 are abnormal, and when it is also determined that all wireless communications between the other of the first and second master communication devices 20A, 20B and the plurality of slave communication devices 30 are abnormal, the abnormality location determination unit 13 of the management device 10 determines that an abnormality has occurred in the communication propagation path between the first and second master communication devices 20A, 20B and the plurality of slave communication devices 30A to 30E. An abnormality in the communication propagation path can occur, for example, in a situation where a radio wave obstruction is present in the communication propagation path.
[0087] 16 shows an example of the determination result of whether wireless communication between the first and second master communication devices 20A, 20B and the multiple slave communication devices 30A to 30E is normal or abnormal when an abnormality occurs in the communication propagation path. The wireless communication between the master communication device 20 designated by "M1" and all of the slave communication devices 30 designated by "S1" to "S5" is determined to be abnormal. Similarly, the wireless communication between the master communication device 20 designated by "M2" and all of the slave communication devices 30 designated by "S1" to "S5" is also determined to be abnormal. In such a case, the abnormality location determination unit 13 of the management device 10 can determine that an abnormality has occurred in the communication propagation path between the first and second master communication devices 20A, 20B and the multiple slave communication devices 30.
[0088] Here, the abnormality location determination unit 13 of the management device 10 uses the first communication characteristic information, RSSI, to determine an abnormality in the wireless communication between the master communication device 20 and multiple slave communication devices 30 for each individual slave communication device 30.However, if the abnormality results of the wireless communication for each of the first and second master communication devices 20A and 20B do not match, the abnormality location determination unit 13 cannot identify the location where the abnormality has occurred.
[0089] FIG. 17 shows an example of the normal / abnormal determination results of the wireless communication between the first and second master communication devices 20A and 20B and the multiple slave communication devices 30A to 30E when the location of the abnormality cannot be identified. As shown in FIG. 17, there is no regularity or consistency between the normal / abnormal determination results of the wireless communication between the master communication device 20 designated by "M1" and all the slave communication devices 30 designated by "S1" to "S5" and the normal / abnormal determination results of the wireless communication between the master communication device 20 designated by "M2" and all the slave communication devices 30 designated by "S1" to "S5." In such a case, the abnormality location determination unit 13 of the management device 10 determines in step S540 that the abnormality location cannot be identified. If the abnormality location cannot be identified, the abnormality location determination unit 13 of the management device 10 proceeds to the processing of step S545.
[0090] In step S545, the anomaly location determination unit 13 of the management device 10 instructs the first and second master communication devices 20A and 20B to communicate with all connected slave communication devices 30A to 30E over multiple frequency channels and acquire PERs. In response to this instruction, wireless communication is performed over multiple frequency channels for all combinations of the master communication device 20 and the connected slave communication devices 30, and the PERs of each wireless communication (packet data communication) are acquired. Each of the acquired PERs is provided to the management device 10 by each master communication device 20. The multiple frequency channels may be all frequency channels, or may be a second predetermined number or more of frequency channels, not necessarily all. The acquisition of PERs in step S545 may be performed simultaneously with the acquisition of RSSIs in step S520. Alternatively, the PER acquired in the self-diagnosis mode may be used in the anomaly location determination mode.
[0091] In step S550, the abnormality location determination unit 13 of the management device 10 reads from the storage unit 15 the reference PER, which is the reference communication characteristic for each frequency channel when the master communication device 20 communicates over multiple frequency channels with each of the multiple slave communication devices 30. Then, in step S555, the abnormality location determination unit 13 of the management device 10 determines, for all combinations of the master communication device 20 and the slave communication device 30, whether the wireless communication between the master communication device 20 and the multiple slave communication devices 30 is normal or abnormal, based on the magnitude of correlation between the overall trend of the multiple acquired PERs across the multiple frequency channels for each slave communication device 30 and the overall trend of the reference PER.
[0092] In step S560, the abnormality location determination unit 13 of the management device 10 uses the PER to determine the abnormality location for each of the first and second master communication devices 20A, 20B, based on the determination result of whether the wireless communication between the master communication device 20 and the multiple slave communication devices 30 is normal or abnormal for each slave communication device 30. The method for determining the abnormality location is the same as the determination method in step S535.
[0093] In this way, by taking into consideration the normal / abnormal determination results of wireless communication between the first and second master communication devices 20A, 20B and the multiple slave communication devices 30, the abnormality location determination unit 13 of the management device 10 can accurately determine where the abnormality has occurred: between the first and second master communication devices 20A, 20B, the multiple slave communication devices 30, or the communication propagation path between the master communication device 20 and the multiple slave communication devices 30.
[0094] Furthermore, if the abnormality location determination unit 13 of the management device 10 cannot identify the abnormality location from the determination results of the normality or abnormality of the wireless communication between the master communication device 20 and the multiple slave communication devices 30 for each of the first and second master communication devices 20A and 20B using RSSI, the abnormality location determination unit 13 attempts to identify the abnormality location from the determination results of the normality or abnormality of the wireless communication between the master communication device 20 and the multiple slave communication devices 30 for each of the first and second master communication devices 20A and 20B. This increases the likelihood of identifying the abnormality location. However, the abnormality location determination process using PER may be performed regardless of the success or failure of the abnormality location determination process using RSSI. If an abnormality location is identified in either of the abnormality location determination processes, the identified location may be considered to be the location where the abnormality has occurred. Alternatively, if the abnormality locations identified in both abnormality location determination processes match, the identified location may be considered to be the location where the abnormality has occurred.
[0095] If it is determined in step S540 or S565 that the abnormality location has been identified, the process proceeds to step S570 in the flowchart of Fig. 13. On the other hand, if it is determined that the abnormality location cannot be identified, the process proceeds to step S590.
[0096] In step S570, the abnormality location determination unit 13 of the management device 10 reads out the communication NG record from the communication NG recording unit 23 of the first and second master communication devices 20A and 20B. From this communication NG record, the abnormality location determination unit 13 of the management device 10 can acquire the pair of master communication device and slave communication device in which the communication abnormality occurred. In step S575, the abnormality location determination unit 13 of the management device 10 determines whether or not a communication NG record exists based on the read communication NG record. If a communication NG record exists, the abnormality location determination unit 13 of the management device 10 proceeds to processing of step S580. If a communication NG record does not exist, the abnormality location determination unit 13 of the management device 10 proceeds to processing of step S590.
[0097] In step S580, it is determined whether the pair of the master communication device and the slave communication device in which the communication abnormality occurred due to the communication NG record matches the abnormality location determined in the abnormality location determination mode. For example, if the communication NG record of one master communication device 20 records communications with all slave communication devices 30 as abnormal and the abnormality location determined in step S535 or S560 is that one master communication device 20, it can be determined that the pair of the master communication device and the slave communication device in which the communication abnormality occurred due to the communication NG record matches the abnormality location determined in the abnormality location determination mode. Also, if the communication NG record of the first and second master communication devices 20A and 20B records communications with a specific slave communication device 30 as abnormal and the abnormality location determined in step S535 or S560 is that specific slave communication device 30, it can be determined that the pair of the master communication device and the slave communication device in which the communication abnormality occurred due to the communication NG record matches the abnormality location determined in the abnormality location determination mode.
[0098] If it is determined in step S580 that the pair of master communication device and slave communication device in which the communication abnormality due to the communication NG record occurred matches the abnormality location determined in the abnormality location determination mode, the process proceeds to step S585, where the abnormality location is notified to a user or administrator. On the other hand, if it is determined in step S580 that the pair of master communication device and slave communication device in which the communication abnormality due to the communication NG record occurred does not match the abnormality location determined in the abnormality location determination mode, the process proceeds to step S590. In step S590, since the location of the abnormality cannot be identified, the user or administrator is notified of the abnormality in the entire communication system 100.
[0099] The above describes preferred embodiments of the present disclosure, but the present disclosure is not limited to the above-described embodiments and can be implemented in various modifications within the scope of the gist of the present disclosure.
[0100] For example, in the above-described embodiment, the communication system 100 is described as using two master communication devices 20, but the number of master communication devices 20 may be three or more. Alternatively, if detailed identification of an abnormality location is not required, the number of master communication devices 20 may be one.
[0101] In the above-described embodiment, RSSI is used as the first communication characteristic information and PER is used as the second communication characteristic information, but PER may be used as the first communication characteristic information and RSSI may be used as the second communication characteristic information. Furthermore, communication characteristic information other than RSSI and PER may be used.
[0102] Furthermore, in the above-described embodiment, the master communication device 20 and the multiple slave communication devices 30 perform wireless communication to acquire RSSI and PER in both the self-diagnosis mode and the abnormality location determination mode. However, the wireless communication to acquire RSSI and PER may be shared between the self-diagnosis mode and the abnormality location determination mode.
[0103] In the above-described embodiment, an example has been described in which the management device 10 first performs the self-diagnosis mode, and if a wireless communication abnormality is determined in the self-diagnosis mode, performs the abnormality location determination mode. However, the management device 10 may perform only the self-diagnosis mode, and if a wireless communication abnormality is determined in the self-diagnosis mode, notify the result to a user, etc. Alternatively, the management device 10 may perform the abnormality location determination mode from the beginning without performing the self-diagnosis mode.
[0104] Finally, this specification discloses the following technical ideas and their combinations:
[0105] (Technical thought 1) A communication system having at least one master communication device (20A, 20B) and a plurality of slave communication devices (30A to 30E), the master communication device and the plurality of slave communication devices are each disposed at a fixed position; the master communication device is capable of wirelessly communicating with each of the plurality of slave communication devices; the master communication device has a communication characteristics acquisition unit (22) that acquires information indicating communication characteristics related to wireless communication while wirelessly communicating with each of the slave communication devices, a recording unit (23) configured to record, when a communication abnormality occurs in wireless communication between the master communication device and each of the plurality of slave communication devices, a pair of the master communication device and the slave communication device in which the communication abnormality occurs; an abnormality location determination unit (13) that instructs the master communication device to perform wireless communication with at least some of the slave communication devices among the plurality of slave communication devices, and determines during the wireless communication whether the wireless communication between the master communication device and at least some of the slave communication devices was normal or abnormal based on the communication characteristics acquired by the communication characteristics acquisition unit, and determines a location where an abnormality has occurred in at least the master communication device and at least some of the slave communication devices based on the determination result of whether the wireless communication between the master communication device and at least some of the slave communication devices was normal or abnormal, and determines the location where the abnormality has occurred as the location where the abnormality has occurred if the determined abnormality location matches the pair of the master communication device and the slave communication device in which the communication abnormality has occurred, which is recorded in the recording unit.
[0106] (Technical thought 2) The communication system according to Technical Idea 1, wherein at least one of the master communication device and the plurality of slave communication devices is arranged at a fixed position.
[0107] (Technical Thought 3) The communication system according to Technical Idea 1 or 2, wherein at least one of the master communication device and the plurality of slave communication devices is mounted on a vehicle.
[0108] (Technical Thought 4) At least two master communication devices are provided, at least two of the master communication devices are capable of wirelessly communicating with each of the plurality of slave communication devices; The communication system described in any one of Technical Ideas 1 to 3, wherein the abnormality location determination unit determines, for each of the at least two master communication devices, a location where an abnormality has occurred among at least two of the master communication devices, at least some of the slave communication devices among the plurality of slave communication devices, and the communication propagation path between the master communication device and the plurality of slave communication devices, based on a determination result of whether wireless communication between the master communication device and at least some of the slave communication devices is normal or abnormal.
[0109] (Technical Thought 5) The communication system described in Technical Idea 4, wherein the abnormality location determination unit determines one of the master communication devices as the abnormal location when wireless communication between one of the at least two master communication devices and at least some of the slave communication devices among the plurality of slave communication devices is determined to be abnormal, and wireless communication between the other of the at least two master communication devices and at least some of the slave communication devices among the plurality of slave communication devices is determined to be normal.
[0110] (Technical Thought 6) In the communication system described in Technical Idea 4 or 5, when a slave communication device determined to have an abnormality in wireless communication between one of the at least two master communication devices and at least some of the slave communication devices among the plurality of slave communication devices is the same as a slave communication device determined to have an abnormality in wireless communication between the other of the at least two master communication devices and at least some of the plurality of slave communication devices, the abnormality location determination unit determines the corresponding slave communication device to be the abnormal location.
[0111] (Technical Thought 7) The communication system according to any one of Technical Ideas 4 to 6, wherein the abnormality location determination unit determines the communication propagation path between the master communication device and the plurality of slave communication devices as the abnormality location when all wireless communications between one of the at least two master communication devices and at least some of the plurality of slave communication devices are determined to be abnormal, and all wireless communications between the other of the at least two master communication devices and at least some of the plurality of slave communication devices are also determined to be abnormal.
[0112] (Technical Thought 8) the communication characteristic acquisition unit is capable of acquiring first communication characteristic information and second communication characteristic information different from the first communication characteristic information; The communication system described in any one of Technical Ideas 4 to 7, wherein, when the abnormality location determination unit cannot identify the abnormality location from the determination result of whether wireless communication with at least some of the plurality of slave communication devices is normal or abnormal for each of the at least two master communication devices using the first communication characteristic information, the abnormality location determination unit attempts to identify the abnormality location based on the determination result of whether wireless communication with at least some of the plurality of slave communication devices is normal or abnormal for each of the at least two master communication devices using the second communication characteristic information.
[0113] (Technical Thought 9) The communication system described in Technical Idea 8, wherein the first communication characteristic information is a received signal strength indicator indicating the reception strength of wireless communication, and the second communication characteristic information is a packet error rate or a bit error rate in wireless communication between the master communication device and the slave communication device.
[0114] (Technical Thought 10) the master communication device is capable of wirelessly communicating with each of the plurality of slave communication devices over a plurality of frequency channels; a storage unit (15) that stores, for each of the slave communication devices, reference communication characteristics for each frequency channel when the master communication device communicates with each of the plurality of slave communication devices over a plurality of frequency channels; The communication system described in any one of Technical Ideas 1 to 9, wherein, while wireless communication is being performed between the master communication device and at least some of the slave communication devices among the plurality of slave communication devices, the abnormality location determination unit determines, for each of the slave communication devices, whether wireless communication between the master communication device and at least some of the slave communication devices among the plurality of slave communication devices was performed normally or abnormally, based on the magnitude of correlation between the overall trend of multiple communication characteristics across multiple frequency channels for each of the slave communication devices acquired by the communication characteristic acquisition unit, regarding wireless communication over multiple frequency channels with each of the slave communication devices, and the overall trend of multiple reference communication characteristics across multiple frequency channels stored in the memory unit for each of the slave communication devices.
[0115] (Technical Thought 11) The communication system described in Technical Idea 10 further includes an update unit that updates the reference communication characteristics for each frequency channel stored in the memory unit for each of the slave communication devices when the master communication device communicates with each of the multiple slave communication devices over multiple frequency channels.
[0116] (Technical Thought 12) The communication system described in Technical Idea 11, wherein the update unit updates the reference communication characteristics stored in the memory unit using reference communication characteristics acquired from outside, or using communication characteristics acquired by the communication characteristic acquisition unit when the master communication device communicates with each of the multiple slave communication devices over multiple frequency channels.
[0117] (Technical Thought 13) The communication system described in any one of Technical Ideas 1 to 12, wherein the abnormality location determination unit determines that an abnormality exists in the entire communication system when the abnormality location determined from the normal / abnormal determination result of the wireless communication between the master communication device and each of the plurality of slave communication devices does not match the pair of the master communication device and the slave communication device in which the communication abnormality occurred, as recorded in the recording unit. [Explanation of symbols]
[0118] 10: management device, 11: microcomputer, 12: self-diagnosis unit, 13: abnormality location determination unit, 14: reference characteristic update unit, 15: memory unit, 20A: first master communication device, 20B: second master communication device, 21: microcomputer, 22: communication characteristic acquisition unit, 23: communication NG recording unit, 24: wireless communication device, 30A to 30E: slave communication device, 31: microcomputer, 32: wireless communication device, 100: communication system
Claims
1. A communication system having at least one master communication device (20A, 20B) and a plurality of slave communication devices (30A to 30E), the master communication device is capable of wirelessly communicating with each of the plurality of slave communication devices; the master communication device has a communication characteristics acquisition unit (22) that acquires information indicating communication characteristics related to wireless communication while wirelessly communicating with each of the slave communication devices, a recording unit (23) that, when a communication abnormality occurs in wireless communication between the master communication device and each of the plurality of slave communication devices, records a pair of the master communication device and the slave communication device in which the communication abnormality occurs; an abnormality location determination unit (13) that instructs the master communication device to communicate wirelessly with at least some of the slave communication devices, and determines during the wireless communication whether the wireless communication between the master communication device and the slave communication devices was normal or abnormal based on the communication characteristics acquired by the communication characteristics acquisition unit, and determines a location where an abnormality has occurred between the master communication device and the slave communication devices based on the determination result of whether the wireless communication between the master communication device and the slave communication devices was normal or abnormal, and if the abnormality determination location determined as the location where an abnormality has occurred matches the pair of the master communication device and the slave communication device in which the communication abnormality has occurred, which is recorded in the recording unit, determines the abnormality determination location as the location where the abnormality has occurred.
2. 2. The communication system according to claim 1, wherein at least one of the master communication device and the plurality of slave communication devices is located at a fixed position.
3. 3. The communication system according to claim 1, wherein at least one of the master communication device and the plurality of slave communication devices is mounted on a vehicle.
4. At least two master communication devices are provided, at least two of the master communication devices are capable of wirelessly communicating with each of the plurality of slave communication devices; 2. The communication system according to claim 1, wherein the abnormality location determination unit determines, for each of the at least two master communication devices, a location where an abnormality has occurred among at least two of the master communication devices, at least some of the slave communication devices, and a communication propagation path between the master communication device and at least some of the slave communication devices, based on a determination result of normality or abnormality of wireless communication between the master communication device and at least some of the slave communication devices.
5. 5. The communication system according to claim 4, wherein the abnormality location determination unit determines one of the master communication devices as the abnormal location when wireless communication between one of the at least two master communication devices and at least some of the slave communication devices is determined to be abnormal, and wireless communication between the other of the at least two master communication devices and at least some of the slave communication devices is determined to be normal.
6. 5. The communication system according to claim 4, wherein, when a slave communication device determined to have an abnormality in wireless communication in determining whether wireless communication between one of the at least two master communication devices and at least some of the slave communication devices is normal or abnormal is the same as a slave communication device determined to have an abnormality in wireless communication in determining whether wireless communication between the other of the at least two master communication devices and at least some of the slave communication devices, the abnormality location determination unit determines the slave communication device determined to have an abnormality in wireless communication as the abnormal location.
7. 5. The communication system according to claim 4, wherein when wireless communications between one of the at least two master communication devices and at least some of the slave communication devices are determined to be abnormal, and when wireless communications between the other of the at least two master communication devices and at least some of the slave communication devices are also determined to be abnormal, the abnormality location determination unit determines a communication propagation path between the master communication device and the plurality of slave communication devices as the abnormality location.
8. the communication characteristic acquisition unit is capable of acquiring first communication characteristic information and second communication characteristic information different from the first communication characteristic information; 8. The communication system according to claim 4, wherein, when the abnormality location determination unit cannot identify the abnormality location from a determination result of whether wireless communication between at least two of the master communication devices and at least some of the plurality of slave communication devices is normal or abnormal using the first communication characteristic information, the abnormality location determination unit attempts to identify the abnormality location based on a determination result of whether wireless communication between at least two of the master communication devices and at least some of the plurality of slave communication devices is normal or abnormal using the second communication characteristic information.
9. 9. The communication system according to claim 8, wherein the first communication characteristic information is a received signal strength indicator indicating the reception strength of wireless communication, and the second communication characteristic information is a packet error rate or a bit error rate in wireless communication between the master communication device and the slave communication device.
10. the master communication device is capable of wirelessly communicating with each of the plurality of slave communication devices over a plurality of frequency channels; a storage unit (15) for storing, for each of the slave communication devices, reference communication characteristics for each frequency channel when the master communication device communicates with each of the plurality of slave communication devices over a plurality of frequency channels; 5. The communication system according to claim 1, wherein, while wireless communication is being performed between the master communication device and at least some of the slave communication devices among the plurality of slave communication devices, the abnormality location determination unit determines, for each of the slave communication devices, whether wireless communication between the master communication device and at least some of the slave communication devices among the plurality of slave communication devices was performed normally or abnormally, based on a magnitude of correlation between an overall trend of multiple communication characteristics across the multiple frequency channels for each of the slave communication devices acquired by the communication characteristic acquisition unit, regarding wireless communication over the multiple frequency channels with each of the slave communication devices, and an overall trend of multiple reference communication characteristics across the multiple frequency channels stored in the storage unit for each of the slave communication devices.
11. 11. The communication system according to claim 10, further comprising an update unit that updates the reference communication characteristics for each frequency channel stored in the memory unit for each of the slave communication devices when the master communication device communicates with each of the plurality of slave communication devices over a plurality of frequency channels.
12. 12. The communication system according to claim 11, wherein the update unit updates the reference communication characteristics stored in the memory unit using reference communication characteristics acquired from an external source, or using communication characteristics acquired by the communication characteristic acquisition unit when the master communication device communicates with each of the plurality of slave communication devices over a plurality of frequency channels.
13. 5. The communication system according to claim 1, wherein the abnormality location determination unit determines that an abnormality exists in the entire communication system when an abnormality location determined from a determination result of whether wireless communication between the master communication device and at least some of the plurality of slave communication devices is normal or abnormal does not match a pair of the master communication device and the slave communication device in which a communication abnormality has occurred, which is recorded in the recording unit.
Citation Information
Patent Citations
Pyroelectric element
JP1989003522A
Wireless communication system, monitoring device, and failure detection method
JP2013042390A
Communication management device and communication system
JP2018006786A
Radio performance measuring system, radio performance measuring method, radio performance measuring device, and radio performance measuring program
JP2020048128A
Network connection method and device
US20200266905A1