Terminal device, aggregation device, control circuit, storage medium, and communication quality control method
Patent Information
- Application Number
- MYPI2025005248
- Authority / Receiving Office
- MY · MY
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-03
- Publication Date
- 2024-09-03
AI Technical Summary
The existing smart meter system faces challenges in selecting an appropriate modulation and coding method for wireless communication due to limited transmission opportunities, leading to frequent adjustments and inefficiencies in communication quality control.
A terminal device that records reception strength and consecutive confirmation data to determine modulation and coding method values, using a communication quality information table to minimize adjustments by correcting upper and lower limits based on reception strength, thereby selecting an appropriate modulation and coding method while reducing the number of adjustments.
This approach allows the terminal device to efficiently select appropriate modulation and coding method values, reducing the number of adjustments and enhancing communication quality in the smart meter system.
Smart Images

Figure PI2025005248_DRAWING_001 
Figure PI2025005248_DRAWING_002 
Figure PI2025005248_DRAWING_003
Abstract
Description
Terminal device, aggregation device, control circuit, storage medium, and communication quality control method
[0001] The present disclosure relates to a terminal device, an aggregation device, a control circuit, a storage medium, and a communication quality control method used in a smart meter system.
[0002] The next-generation smart meter system, scheduled to be introduced in 2025, is expected to perform various communications, such as environmental value trading and collection of electricity waveform data, in addition to conventional automatic meter reading, and traffic is expected to increase. To accommodate this increased traffic, in addition to the conventional 920 MHz band multi-hop communications using Gaussian Frequency Shift Keying (GFSK), the introduction of 920 MHz band multi-hop communications using Orthogonal Frequency Division Multiplexing (OFDM), which supports multiple MCSs (Modulation and Coding Schemes), including high rates, is being considered. Because the communication quality of the wireless links between an aggregation device and a terminal device and between two terminal devices varies depending on their installation location, it is necessary to select an appropriate MCS for each wireless link to maximize the communication capacity of the entire system.
[0003] To address this problem, Patent Document 1 discloses a technology in which a wireless communication device selects appropriate transmission power and modulation level depending on the propagation path conditions between the device and the opposite device. When the wireless communication device of Patent Document 1 determines that the modulation level should likely be increased based on the reception level of the device itself or the opposite device, it reduces the transmission power of the device itself and then determines whether to actually increase the modulation level depending on the CNR (Carrier-to-Noise Ratio) of the device itself or the opposite device. The wireless communication device of Patent Document 1 also makes a similar determination when decreasing the modulation level. Furthermore, the wireless communication device of Patent Document 1 increases the upper limit of the selection range of the modulation level as the reception level increases, thereby controlling the reduction of the transmission power of the device itself, while decreasing the upper limit of the selection range of the modulation level as the reception level decreases.
[0004] Japanese Patent Application Laid-Open No. 2017-188808
[0005] In smart meter systems, transmission opportunities are limited due to the transmission time limit of the 920 MHz band, so it is necessary to reduce the number of adjustments required to converge to an appropriate MCS as much as possible. However, the conventional technology maintains an appropriate modulation level by making frequent adjustments. Therefore, there is a problem in that the conventional technology cannot be applied to smart meter systems with limited transmission opportunities.
[0006] The present disclosure has been made in consideration of the above, and aims to provide a terminal device that can select an appropriate modulation and coding scheme value while suppressing an increase in the number of adjustments in wireless communication in a smart meter system.
[0007] In order to solve the above-mentioned problems and achieve the object, the present disclosure provides a terminal device that transmits data to an aggregation device in a smart meter system. The terminal device is characterized by comprising: a storage unit that stores a communication quality information table in which, for each wireless link available for wireless communication in the terminal device, a reception strength, a number of consecutive receptions of arrival confirmations from the aggregation device or another terminal device, a number of consecutive times when arrival confirmations have not been received, and a modulation / coding scheme value that is a combination of a modulation scheme and a coding rate, and a table management unit that, when adjusting the modulation / coding scheme value based on the number of consecutive receptions of arrival confirmations or the number of consecutive times when arrival confirmations have not been received, corrects an upper limit of the modulation / coding scheme value before determining whether to increase the modulation / coding scheme value and corrects a lower limit of the modulation / coding scheme value before determining whether to decrease the modulation / coding scheme value, based on the reception strength at the time of adjustment.
[0008] The terminal device according to the present disclosure has an effect of being able to select an appropriate modulation and coding scheme value while suppressing an increase in the number of adjustments in wireless communication in a smart meter system.
[0009] FIG. 1 is a diagram showing a configuration example of a smart meter system according to the first embodiment. Block diagram showing a configuration example of an aggregation device according to the first embodiment. Block diagram showing a configuration example of a terminal device according to the first embodiment. FIG. 2 is a diagram showing an example of a communication quality information table stored in a storage unit of a terminal device and a communication quality information table stored in a storage unit of an aggregation device. Flowchart showing operations of data transmission processing of the terminal device and the aggregation device according to the first embodiment. Flowchart showing operations of MCS rise determination of the terminal device and the aggregation device according to the first embodiment. Flowchart showing operations of MCS fall determination of the terminal device and the aggregation device according to the first embodiment. Flowchart showing operations of data reception processing of the terminal device and the aggregation device according to the first embodiment. Flowchart showing operations of calculating an average RSSI (Received Signal Strength Indicator) of received frames of the terminal device and the aggregation device according to the first embodiment. FIG. 1 is a diagram showing a configuration example of a processing circuit when the processing circuit realizing the terminal device according to the first embodiment is configured with a processor and a memory. FIG. 2 is a diagram showing an example of a processing circuit when the processing circuit realizing the terminal device according to the first embodiment is configured with dedicated hardware. Flowchart showing operations of data reception processing of the terminal device according to the second embodiment. Flowchart showing operations of data transmission processing of the terminal device and the aggregation device according to the second embodiment. Flowchart showing operations of parameter adjustment of communication quality information of the aggregation device according to the third embodiment.
[0010] Hereinafter, a terminal device, an aggregation device, a control circuit, a storage medium, and a communication quality control method according to embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
[0011] First Embodiment. FIG. 1 is a diagram illustrating an example of the configuration of a smart meter system 10 according to a first embodiment. The smart meter system 10 includes a server device 20, an aggregation device 30, and terminal devices 40-1 to 40-3. The terminal devices 40-1 to 40-3 have the same configuration, and when there is no need to distinguish between the terminal devices 40-1 to 40-3, they will be referred to as terminal devices 40. In the smart meter system 10, the terminal devices 40 measure the amount of power usage and transmit data including the measured values of the power usage to the aggregation device 30 via wireless communication. The aggregation device 30 aggregates data from multiple terminal devices 40 and transmits the aggregated data to the server device 20 via wired communication. The aggregation device 30 also transmits control data to the terminal devices 40 via wireless communication. The server device 20 stores and manages the data received from the aggregation device 30. The smart meter system 10 is assumed to have wired communication between the server device 20 and the aggregation device 30, wireless communication between the aggregation device 30 and the terminal device 40, and wireless communication between the terminal devices 40 themselves, but may also have a configuration in which the server device 20 and the aggregation device 30 communicate wirelessly.
[0012] In the example of FIG. 1 , the smart meter system 10 includes one aggregation device 30 and three terminal devices 40, but it is also possible to include two or more aggregation devices 30 and four or more terminal devices 40. In the smart meter system 10, when the aggregation device 30 and the terminal device 40 with which it is to communicate cannot communicate wirelessly directly with each other, another terminal device 40 on the path between the aggregation device 30 and the terminal device 40 with which it is to communicate relays data transmission between the aggregation device 30 and the terminal device 40 with which it is to communicate. In the example of FIG. 1 , if the terminal device 40-3 is the terminal device 40 with which it is to communicate, then the terminal device 40-2 is the other terminal device 40. The path between the aggregation device 30 and the terminal device 40 with which it is to communicate may be determined by the aggregation device 30 or may be determined autonomously between the terminal devices 40.
[0013] In the smart meter system 10, when a terminal device 40 transmits data, another terminal device 40 or an aggregation device 30 that receives the data transmits an ACK to the terminal device 40 that transmitted the data. Similarly, when an aggregation device 30 transmits data, the terminal device 40 that received the data transmits an ACK to the aggregation device 30 that transmitted the data. In the following description, the ACK may be referred to as an arrival confirmation.
[0014] The following describes the configuration of the aggregation device 30. Fig. 2 is a block diagram showing an example configuration of the aggregation device 30 according to embodiment 1. The aggregation device 30 includes a wireless communication unit 31, a wireless communication control unit 32, a data processing unit 33, a table management unit 34, a storage unit 35 that stores a communication quality information table 35a, a server communication control unit 36, and a server communication unit 37.
[0015] When the wireless communication unit 31 receives data from the terminal device 40, it converts the information included in the data into a format that can be read by the wireless communication control unit 32 and transmits the converted information to the wireless communication control unit 32. The wireless communication unit 31 also converts the information obtained from the wireless communication control unit 32 into a format that can be read by the terminal device 40 and transmits data including the converted information to the terminal device 40.
[0016] The wireless communication control unit 32 converts the information acquired from the wireless communication unit 31 into a format readable by the data processing unit 33 and transmits the converted information to the data processing unit 33. The wireless communication control unit 32 also converts the information acquired from the data processing unit 33 into a format readable by the wireless communication unit 31 and transmits the converted information to the wireless communication unit 31.
[0017] The data processing unit 33 extracts information required by the table management unit 34 or the server communication control unit 36 from the information acquired from the wireless communication control unit 32. The data processing unit 33 converts the information required by the table management unit 34 into a format readable by the table management unit 34 and transmits it to the table management unit 34, and converts the information required by the server communication control unit 36 into a format readable by the server communication control unit 36 and transmits it to the server communication control unit 36. The data processing unit 33 also extracts information required by the wireless communication control unit 32 from the information acquired from the table management unit 34 or the server communication control unit 36, converts it into a format readable by the wireless communication control unit 32, and transmits it to the wireless communication control unit 32.
[0018] The table management unit 34 generates communication quality information based on the information acquired from the data processing unit 33, and records the generated communication quality information in a communication quality information table 35a stored in the storage unit 35. Furthermore, when the data processing unit 33 requests that communication quality information for a specific wireless link be read, the table management unit 34 acquires the communication quality information of the specific wireless link from the communication quality information table 35a, converts it into a format readable by the data processing unit 33, and transmits it to the data processing unit 33.
[0019] The storage unit 35 stores a communication quality information table 35a. The communication quality information table 35a records communication quality information for each wireless link in response to an operation from the table management unit 34. Communication quality information is written to and read from the communication quality information table 35a in response to an operation from the table management unit 34.
[0020] The server communication control unit 36 converts the information acquired from the data processing unit 33 into a format readable by the server communication unit 37 and transmits it to the server communication unit 37. The server communication control unit 36 also converts the information acquired from the server communication unit 37 into a format readable by the data processing unit 33 and transmits it to the data processing unit 33.
[0021] The server communication unit 37 converts the information acquired from the server communication control unit 36 into a format readable by the server device 20 and transmits it to the server device 20. The server communication unit 37 also converts the information acquired from the server device 20 into a format readable by the server communication control unit 36 and transmits it to the server communication control unit 36.
[0022] Next, a description will be given of the configuration of the terminal device 40. Fig. 3 is a block diagram showing an example configuration of the terminal device 40 according to embodiment 1. The terminal device 40 includes a wireless communication unit 41, a wireless communication control unit 42, a data processing unit 43, a table management unit 44, and a storage unit 45 that stores a communication quality information table 45a.
[0023] When the wireless communication unit 41 receives data from the aggregation device 30 or the terminal device 40, it converts the information included in the data into a format readable by the wireless communication control unit 42 and transmits the converted information to the wireless communication control unit 42. In addition, the wireless communication unit 41 converts the information acquired from the wireless communication control unit 42 into a format readable by the aggregation device 30 or the terminal device 40 and transmits data including the converted information to the aggregation device 30 or the terminal device 40.
[0024] The wireless communication control unit 42 converts the information acquired from the wireless communication unit 41 into a format readable by the data processing unit 43 and transmits the converted information to the data processing unit 43. The wireless communication control unit 42 also converts the information acquired from the data processing unit 43 into a format readable by the wireless communication unit 41 and transmits the converted information to the wireless communication unit 41.
[0025] The data processing unit 43 converts the information acquired from the wireless communication control unit 42 into a format readable by the table management unit 44, and transmits the information to the table management unit 44. The data processing unit 43 also converts the information acquired from the table management unit 44 into a format readable by the wireless communication control unit 42, and transmits the information to the wireless communication control unit 42.
[0026] The table management unit 44 generates communication quality information based on the information acquired from the data processing unit 43, and records the generated communication quality information in a communication quality information table 45a stored in the storage unit 45. Furthermore, when the data processing unit 43 requests that communication quality information for a specific wireless link be read, the table management unit 44 acquires the communication quality information of the specific wireless link from the communication quality information table 45a, converts it into a format readable by the data processing unit 43, and transmits it to the data processing unit 43.
[0027] The storage unit 45 stores a communication quality information table 45a. The communication quality information table 45a records communication quality information for each wireless link in response to an operation from the table management unit 44. Communication quality information is written to and read from the communication quality information table 45a in response to an operation from the table management unit 44.
[0028] Next, the operation of transmitting data from a terminal device 40 to the aggregation device 30, i.e., the upstream communication of the terminal device 40, will be described. A certain terminal device 40 transmits data from itself to the aggregation device 30. When a certain terminal device 40 and the aggregation device 30 cannot wirelessly communicate with each other, another terminal device 40 on the path relays the data transmission from the certain terminal device 40 to the aggregation device 30. In this case, the path for relaying may be determined by the aggregation device 30 or may be determined autonomously between the terminal devices 40. In the following description, both the case where a terminal device 40 transmits data to the aggregation device 30 and the case where another terminal device 40 relays data from a certain terminal device 40 to the aggregation device 30 will be treated as a "data transmission process."
[0029] Prior to describing the data transmission process, the contents of the communication quality information table 45a will be described. Fig. 4 is a diagram showing an example of the communication quality information table 45a stored in the storage unit 45 of the terminal device 40 and the communication quality information table 35a stored in the storage unit 35 of the aggregation device 30 according to the first embodiment. The communication quality information table 45a and the communication quality information table 35a have the same configuration, but will be described here as the communication quality information table 45a. The communication quality information table 45a is created independently for each terminal device 40, and holds a record for each wireless link with which the terminal device 40 can communicate wirelessly, i.e., for each aggregation device 30 or terminal device 40 with which wireless communication is possible. Each record in the communication quality information table 45a preferably includes, i.e., records, for a wireless link identified by a number or a Media Access Control (MAC) address, the average RSSI, which is the reception strength of previously received frames; the update time of the average RSSI, which is the reception strength; the number of consecutive ACKs received for data transmission over the wireless link; the number of consecutive times an ACK was not received for data transmission over the wireless link; and the MCS selection value used for transmission over the wireless link. Here, the ACK is transmitted from the aggregation device 30 or another terminal device 40. In the following description, the MCS selection value will be simply referred to as MCS, and the MCS may also be referred to as a modulation and coding scheme value. The modulation and coding scheme value is a combination of a modulation scheme and a coding rate.
[0030] The terminal device 40 updates the initial MCS value, the upper limit MCS value, the lower limit MCS value, the threshold for the number of consecutive ACK receptions, and the threshold for the number of consecutive ACK non-receptions, based on the average RSSI in the communication quality information table 45a, at a specified timing in the data transmission process described later. It is assumed that the terminal device 40 has separately acquired the correspondence relationships between the average RSSI and the initial MCS value, the upper limit MCS value, the lower limit MCS value, the threshold for the number of consecutive ACK receptions, and the threshold for the number of consecutive ACK non-receptions, before or during operation.
[0031] The operation of the data transmission process of the terminal device 40 will be described using a flowchart. FIG. 5 is a flowchart showing the operation of the data transmission process of the terminal device 40 and the aggregation device 30 according to the first embodiment. Although the operations of the data transmission process of the terminal device 40 and the aggregation device 30 are similar, the operation of the data transmission process of the terminal device 40 will be described here. In the terminal device 40, the table management unit 44 checks whether the selected MCS value of the wireless link to be used is in the communication quality information table 45a (step S11). Note that in FIG. 5, for simplicity, the communication quality information table 45a is referred to as a table. This also applies hereinafter. If the selected MCS value of the wireless link to be used is not in the communication quality information table 45a (step S11: No), the table management unit 44 of the terminal device 40 refers to the communication quality information table 45a to read the average RSSI of frames previously received via the wireless link (step S12), and records the initial MCS value corresponding to the average RSSI in the communication quality information table 45a as the selected MCS value (step S13). That is, when adjusting the MCS, if there is no past record of the MCS, the table management unit 44 of the terminal device 40 determines the initial value of the MCS based on the average RSSI, which is the reception strength.
[0032] If the MCS selection value of the wireless link to be used is in the communication quality information table 45a (step S11: Yes), the table management unit 44 of the terminal device 40 checks whether the number of consecutive ACK receptions in the communication quality information table 45a exceeds a threshold (step S14). If the number of consecutive ACK receptions in the communication quality information table 45a exceeds the threshold (step S14: Yes), the table management unit 44 of the terminal device 40 proceeds to an MCS increase determination (step S15). If the number of consecutive ACK receptions in the communication quality information table 45a does not exceed the threshold (step S14: No), the table management unit 44 of the terminal device 40 checks whether the number of consecutive ACK non-receptions in the communication quality information table 45a exceeds the threshold (step S16). If the number of consecutive ACK non-receptions in the communication quality information table 45a exceeds the threshold (step S16: Yes), the table management unit 44 of the terminal device 40 proceeds to an MCS decrease determination (step S17).
[0033] If the number of consecutive ACK receptions in the communication quality information table 45 a does not exceed the threshold (step S14: No) and the number of consecutive ACK non-receptions in the communication quality information table 45 a does not exceed the threshold (step S16: No), the table management unit 44 of the terminal device 40 does not update the MCS selection value in the communication quality information table 45 a. After the operation of step S13, or after the operation of step S15, or if the number of consecutive ACK non-receptions in the communication quality information table 45 a does not exceed the threshold (step S16: No), or after the operation of step S17, the terminal device 40 transmits data using the MCS selection value in the communication quality information table 45 a (step S18).
[0034] When adjusting the MCS based on, for example, the number of consecutive ACK receptions or the number of consecutive non-receptions of ACK as a specified timing in the aforementioned data transmission process, the table management unit 44 of the terminal device 40 may correct the upper limit value of the MCS before determining whether the MCS is to increase, and may correct the lower limit value of the MCS before determining whether the MCS is to decrease, based on the average RSSI, which is the reception strength at the time of adjustment.
[0035] 5, the terminal device 40 may check the type of data to be transmitted and select either GFSK or OFDM. If OFDM is selected, the terminal device 40 may check the type of data to be transmitted and select either fixed MCS or variable MCS. If the MCS is fixed, the terminal device 40 updates the selected MCS value in the communication quality information table 45a to the MCS value determined before or during operation.
[0036] The MCS rise determination in step S15 of the flowchart shown in Figure 5 will be described in detail. Figure 6 is a flowchart showing the MCS rise determination operation of the terminal device 40 and the aggregation device 30 according to embodiment 1. Although the MCS rise determination operation of the terminal device 40 and the aggregation device 30 is similar, here, the MCS rise determination operation of the terminal device 40 will be described. In the terminal device 40, the table management unit 44 refers to the communication quality information table 45a and reads the average RSSI of frames previously received on the relevant wireless link (step S21). The table management unit 44 of the terminal device 40 checks whether the selected MCS value in the communication quality information table 45a is equal to or greater than the MCS upper limit value corresponding to the average RSSI (step S22). If the selected MCS value in the communication quality information table 45a is equal to or greater than the MCS upper limit value corresponding to the average RSSI (step S22: Yes), the table management unit 44 of the terminal device 40 does not update the selected MCS value and ends the MCS rise determination operation.
[0037] If the selected MCS value in the communication quality information table 45a is smaller than the upper MCS limit value corresponding to the average RSSI (step S22: No), the table management unit 44 of the terminal device 40 increases the selected MCS value in the communication quality information table 45a by 1 (step S23). The table management unit 44 of the terminal device 40 resets the number of consecutive ACK receptions in the communication quality information table 45a (step S24) and updates the threshold for the number of consecutive ACK receptions and the threshold for the number of consecutive ACK non-receptions in the communication quality information table 45a to values corresponding to the average RSSI in the communication quality information table 45a (step S25). Note that, although the example of step S23 in the flowchart shown in FIG. 6 describes a case where the selected MCS value is increased by 1, the table management unit 44 of the terminal device 40 may also check the conditions for increasing the selected MCS value to a higher value and increase the selected MCS value by 2 or more at a time.
[0038] The MCS drop determination in step S17 of the flowchart shown in FIG. 5 will be described in detail. FIG. 7 is a flowchart showing the MCS drop determination operation of the terminal device 40 and the aggregation device 30 according to the first embodiment. Although the MCS drop determination operation of the terminal device 40 and the aggregation device 30 is similar, the MCS rise determination operation of the terminal device 40 will be described here. In the terminal device 40, the table management unit 44 refers to the communication quality information table 45a and reads the average RSSI of frames previously received on the wireless link (step S31). The table management unit 44 of the terminal device 40 checks whether the selected MCS value in the communication quality information table 45a is equal to or less than the MCS lower limit corresponding to the average RSSI (step S32). If the selected MCS value in the communication quality information table 45a is equal to or less than the MCS lower limit corresponding to the average RSSI (step S32: Yes), the table management unit 44 of the terminal device 40 does not update the selected MCS value and terminates the MCS drop determination operation.
[0039] If the selected MCS value in the communication quality information table 45 a is greater than the lower limit MCS value corresponding to the average RSSI (step S32: No), the table management unit 44 of the terminal device 40 decreases the selected MCS value in the communication quality information table 45 a by 1 (step S33). The table management unit 44 of the terminal device 40 resets the number of consecutive ACKs not received in the communication quality information table 45 a (step S34) and updates the threshold for the number of consecutive ACKs not received and the threshold for the number of consecutive ACKs not received in the communication quality information table 45 a to values corresponding to the average RSSI in the communication quality information table 45 a (step S35). Note that, although the example of step S33 in the flowchart shown in FIG. 7 describes the case where the selected MCS value is decreased by 1, the table management unit 44 of the terminal device 40 may also check the conditions for decreasing the selected MCS value to a higher value and decrease the selected MCS value by 2 or more in one go.
[0040] In the data transmission process shown in Fig. 5, the MCS increase determination shown in Fig. 6, and the MCS decrease determination shown in Fig. 7, if the average RSSI of the frame received over the corresponding wireless link is not present in the communication quality information table 45a, the table management unit 44 of the terminal device 40 may update the initial MCS value, the upper limit of the MCS, the lower limit of the MCS, the threshold for the number of consecutive ACK receptions, and the threshold for the number of consecutive ACK non-receptions, assuming that the reference value of the average RSSI determined before or during operation is the minimum value of the average RSSI expected in the smart meter system 10. Furthermore, when the MCS is adjusted, the table management unit 44 of the terminal device 40 may correct the reference value for adjusting the MCS based on the average RSSI, which is the reception strength.
[0041] Next, the operation of the data reception process of the terminal device 40 will be described using a flowchart. FIG. 8 is a flowchart showing the operation of the data reception process of the terminal device 40 and the aggregation device 30 according to the first embodiment. The operation of the data reception process of the terminal device 40 and the aggregation device 30 is similar, but here, the operation of the data reception process of the terminal device 40 will be described. In the terminal device 40, the table management unit 44 checks whether the wireless communication unit 41 is waiting to receive an ACK (step S41). If the wireless communication unit 41 is waiting to receive an ACK (step S41: Yes), the table management unit 44 of the terminal device 40 checks whether the wireless communication unit 41 has received an ACK within a specified time (step S42). If the wireless communication unit 41 has received an ACK within the specified time (step S42: Yes), the table management unit 44 of the terminal device 40 calculates the average RSSI of the received frame using the received ACK as the received frame (step S46). If the wireless communication unit 41 does not receive an ACK within the specified time (step S42: No), the table management unit 44 of the terminal device 40 does not calculate the average RSSI of the received frame and terminates the data reception processing operation.
[0042] When the wireless communication unit 41 is not waiting for an ACK (step S41: No), the table management unit 44 of the terminal device 40 determines whether or not an ACK needs to be transmitted based on the frame type when the wireless communication unit 41 receives a data frame from another terminal device 40 (step S43) (step S44). If the table management unit 44 of the terminal device 40 determines that an ACK needs to be transmitted (step S44: Yes), it causes the wireless communication unit 41 to transmit an ACK (step S45). If the table management unit 44 of the terminal device 40 determines that an ACK does not need to be transmitted (step S44: No), it does not cause the wireless communication unit 41 to transmit an ACK. After the operation of step S45, or if step S44: No, i.e., regardless of whether an ACK was transmitted, the table management unit 44 of the terminal device 40 calculates the average RSSI of the received frame, using the data frame received from the other terminal device 40 as the received frame (step S46).
[0043] If the wireless communication unit 41 receives an ACK within the time period specified in step S42 (step S42: Yes), the table management unit 44 of the terminal device 40 increments the number of consecutive ACK receptions in the communication quality information table 45 a by 1 and resets the number of consecutive ACK non-receptions in the communication quality information table 45 a. If the wireless communication unit 41 does not receive an ACK within the time period specified in step S42 (step S42: No), the table management unit 44 of the terminal device 40 increments the number of consecutive ACK non-receptions in the communication quality information table 45 a by 1 and resets the number of consecutive ACK receptions in the communication quality information table 45 a.
[0044] The calculation of the average RSSI of the received frame in step S46 of the flowchart shown in Figure 8 will be described in detail. Figure 9 is a flowchart showing the operation of calculating the average RSSI of the received frame by the terminal device 40 and the aggregation device 30 according to embodiment 1. The operation of calculating the average RSSI of the received frame by the terminal device 40 and the aggregation device 30 is similar, but here it will be described as the operation of the data reception process of the terminal device 40. In the terminal device 40, when the table management unit 44 acquires the RSSI of the received frame received by the wireless communication unit 41 from the data processing unit 43 (step S51), it updates the average RSSI for the corresponding wireless link in the communication quality information table 45a using the acquired RSSI of the received frame (step S52). The table management unit 44 of the terminal device 40 records the update time of the average RSSI for the corresponding wireless link in the communication quality information table 45a (step S53). The table management unit 44 of the terminal device 40 sets a validity period for the average RSSI, and deletes a record in the communication quality information table 45 a if the validity period has elapsed since the update time. The validity period for the average RSSI may be common to all terminal devices 40, or may be set individually for each terminal device 40 according to the priority, operating conditions, etc.
[0045] Next, the operation of transmitting data from the aggregation device 30 to the terminal device 40, i.e., the downstream communication of the aggregation device 30, will be described. The aggregation device 30 transmits data to a certain terminal device 40. If the aggregation device 30 and a certain terminal device 40 cannot wirelessly communicate with each other, another terminal device 40 on the path relays the data transmission from the aggregation device 30 to the certain terminal device 40. In this case, the path for relaying may be determined by the aggregation device 30 or may be determined autonomously between the terminal devices 40. In the following description, both the case where the aggregation device 30 transmits data to the terminal device 40 and the case where another terminal device 40 relays data from the aggregation device 30 to the certain terminal device 40 will be treated as a "data transmission process."
[0046] As described above, the configuration of the communication quality information table 35a stored in the storage unit 35 of the aggregation device 30 is the same as the configuration of the communication quality information table 45a stored in the storage unit 45 of the terminal device 40 shown in FIG. 4. The communication quality information table 35a is created independently by the aggregation device 30 and holds a record for each wireless link capable of wireless communication with the aggregation device 30, i.e., for each terminal device 40 capable of wireless communication. Each record in the communication quality information table 35a preferably includes, for a corresponding wireless link identified by a number or MAC address, the average RSSI, which is the reception strength of previously received frames; the update time of the average RSSI, which is the reception strength; the number of consecutive ACKs received for transmissions on the corresponding wireless link; the number of consecutive ACKs not received for transmissions on the corresponding wireless link; and the MCS selection value used for transmissions on the corresponding wireless link. In this example, the ACK is transmitted from the terminal device 40. The terminal device 40 also uses the communication quality information table 45a shown in FIG. 4 in the data transmission process for downstream communication.
[0047] The initial MCS value, the upper limit MCS value, the lower limit MCS value, the threshold for the number of consecutive ACK receptions, and the threshold for the number of consecutive ACK non-receptions are updated by the aggregation device 30 at a specified timing in the data transmission process described below, based on the average RSSI in the communication quality information table 35a. It is assumed that the aggregation device 30 has separately acquired the correspondence relationships between the average RSSI and the initial MCS value, the upper limit MCS value, the lower limit MCS value, the threshold for the number of consecutive ACK receptions, and the threshold for the number of consecutive ACK non-receptions before or during operation.
[0048] The operation of the data transmission process of the aggregation device 30 will be described using a flowchart. FIG. 5 is a flowchart showing the operation of the data transmission process of the terminal device 40 and the aggregation device 30 according to the first embodiment. As described above, the data transmission process of the terminal device 40 and the aggregation device 30 is similar, but here it will be described as the operation of the data transmission process of the aggregation device 30. Note that the terminal device 40 performs the same data transmission process in the case of downstream communication as in the case of upstream communication described above. In the aggregation device 30, the table management unit 34 checks whether the MCS selection value of the wireless link to be used is in the communication quality information table 35a (step S11). Note that in FIG. 5, for simplicity of description, the communication quality information table 35a is referred to as a table. This also applies hereinafter. If the selected MCS value for the wireless link to be used is not in the communication quality information table 35a (step S11: No), the table management unit 34 of the aggregation device 30 refers to the communication quality information table 35a to read the average RSSI of frames previously received on the wireless link (step S12), and records the initial MCS value corresponding to the average RSSI as the selected MCS value in the communication quality information table 35a (step S13). That is, if there is no past record of the MCS when adjusting the MCS, the table management unit 34 of the aggregation device 30 determines the initial MCS value based on the average RSSI, which is the reception strength.
[0049] If the MCS selection value of the wireless link to be used is in the communication quality information table 35a (step S11: Yes), the table management unit 34 of the aggregation device 30 checks whether the number of consecutive ACK receptions in the communication quality information table 35a exceeds a threshold (step S14). If the number of consecutive ACK receptions in the communication quality information table 35a exceeds the threshold (step S14: Yes), the table management unit 34 of the aggregation device 30 proceeds to an MCS increase determination (step S15). If the number of consecutive ACK receptions in the communication quality information table 35a does not exceed the threshold (step S14: No), the table management unit 34 of the aggregation device 30 checks whether the number of consecutive ACK non-receptions in the communication quality information table 35a exceeds the threshold (step S16). If the number of consecutive ACK non-receptions in the communication quality information table 35a exceeds the threshold (step S16: Yes), the table management unit 34 of the aggregation device 30 proceeds to an MCS decrease determination (step S17).
[0050] If the number of consecutive ACK receptions in the communication quality information table 35a does not exceed the threshold (step S14: No) and if the number of consecutive ACK non-receptions in the communication quality information table 35a does not exceed the threshold (step S16: No), the table management unit 34 of the aggregation device 30 does not update the MCS selection value in the communication quality information table 35a. After the operation of step S13, or after the operation of step S15, or if the number of consecutive ACK non-receptions in the communication quality information table 35a does not exceed the threshold (step S16: No), or after the operation of step S17, the aggregation device 30 transmits data using the MCS selection value in the communication quality information table 35a (step S18).
[0051] When adjusting the MCS based on, for example, the number of consecutive ACKs received or the number of consecutive ACKs not received as a specified timing in the aforementioned data transmission process, the table management unit 34 of the aggregation device 30 may correct the upper limit value of the MCS before determining whether the MCS is increasing, and may correct the lower limit value of the MCS before determining whether the MCS is decreasing, based on the average RSSI, which is the reception strength at the time of adjustment.
[0052] 5, the aggregation device 30 may check the type of data to be transmitted and select either GFSK or OFDM. If OFDM is selected, the aggregation device 30 may check the type of data to be transmitted and select either fixed MCS or variable MCS. If the MCS is fixed, the aggregation device 30 updates the selected MCS value in the communication quality information table 35a to the MCS value determined before or during operation.
[0053] The MCS rise determination in step S15 of the flowchart shown in Fig. 5 will be described in detail. Fig. 6 is a flowchart showing the MCS rise determination operations of the terminal device 40 and the aggregation device 30 according to embodiment 1. Although the MCS rise determination operations of the terminal device 40 and the aggregation device 30 are similar, the MCS rise determination operations of the aggregation device 30 will be described here. Note that the terminal device 40 performs the MCS rise determination operations in downstream communication as well as in the upstream communication described above. In the aggregation device 30, the table management unit 34 refers to the communication quality information table 35a and reads the average RSSI of frames previously received on the wireless link (step S21). The table management unit 34 of the aggregation device 30 checks whether the selected MCS value in the communication quality information table 35a is equal to or greater than the MCS upper limit value corresponding to the average RSSI (step S22). If the MCS selection value in the communication quality information table 35a is equal to or greater than the MCS upper limit value corresponding to the average RSSI (step S22: Yes), the table management unit 34 of the aggregation device 30 does not update the MCS selection value and ends the operation of determining whether the MCS has increased.
[0054] If the selected MCS value in the communication quality information table 35a is smaller than the upper MCS limit value corresponding to the average RSSI (step S22: No), the table management unit 34 of the aggregation device 30 increases the selected MCS value in the communication quality information table 35a by 1 (step S23). The table management unit 34 of the aggregation device 30 resets the number of consecutive ACK receptions in the communication quality information table 35a (step S24) and updates the threshold for the number of consecutive ACK receptions and the threshold for the number of consecutive ACK non-receptions in the communication quality information table 35a to values corresponding to the average RSSI in the communication quality information table 45a (step S25). Note that, although the example of step S23 in the flowchart shown in FIG. 6 describes a case where the selected MCS value is increased by 1, the table management unit 34 of the aggregation device 30 may also check the conditions for increasing the selected MCS value to a higher value and increase the selected MCS value by 2 or more at a time.
[0055] The MCS drop determination in step S17 of the flowchart shown in Figure 5 will be described in detail. Figure 7 is a flowchart showing the MCS drop determination operations of the terminal device 40 and the aggregation device 30 according to embodiment 1. Although the MCS drop determination operations of the terminal device 40 and the aggregation device 30 are similar, the MCS rise determination operation of the aggregation device 30 will be described here. Note that the terminal device 40 performs the MCS drop determination operation in downstream communication as well as in the upstream communication described above. In the aggregation device 30, the table management unit 34 refers to the communication quality information table 35a and reads the average RSSI of frames previously received on the wireless link (step S31). The table management unit 34 of the aggregation device 30 checks whether the selected MCS value in the communication quality information table 35a is equal to or less than the MCS lower limit value corresponding to the average RSSI (step S32). If the MCS selection value in the communication quality information table 35a is equal to or less than the MCS lower limit value corresponding to the average RSSI (step S32: Yes), the table management unit 34 of the aggregation device 30 does not update the MCS selection value and ends the MCS drop determination operation.
[0056] If the selected MCS value in the communication quality information table 35a is greater than the lower limit MCS value corresponding to the average RSSI (step S32: No), the table management unit 34 of the aggregation device 30 decreases the selected MCS value in the communication quality information table 35a by 1 (step S33). The table management unit 34 of the aggregation device 30 resets the number of consecutive ACKs not received in the communication quality information table 35a (step S34) and updates the threshold for the number of consecutive ACKs not received and the threshold for the number of consecutive ACKs not received in the communication quality information table 35a to values corresponding to the average RSSI in the communication quality information table 35a (step S35). Note that, although the example of step S33 in the flowchart shown in FIG. 7 describes the case where the selected MCS value is decreased by 1, the table management unit 34 of the aggregation device 30 may also check the conditions for decreasing the selected MCS value to a higher value and decrease the selected MCS value by 2 or more in one go.
[0057] In the data transmission process shown in FIG. 5 , the MCS increase determination shown in FIG. 6 , and the MCS decrease determination shown in FIG. 7 , if the average RSSI of the frame received over the corresponding wireless link is not present in the communication quality information table 35 a, the table management unit 34 of the aggregation device 30 may update the initial MCS value, the upper limit of the MCS value, the lower limit of the MCS value, the threshold for the number of consecutive ACK receptions, and the threshold for the number of consecutive ACK non-receptions, assuming that the reference value of the average RSSI determined before or during operation is the minimum value of the average RSSI expected in the smart meter system 10. Furthermore, when the MCS is adjusted, the table management unit 34 of the aggregation device 30 may correct the reference value for adjusting the MCS based on the average RSSI, which is the reception strength.
[0058] Next, the operation of the data reception process of the aggregation device 30 will be described using a flowchart. FIG. 8 is a flowchart showing the operation of the data reception process of the terminal device 40 and the aggregation device 30 according to the first embodiment. The data reception process of the terminal device 40 and the aggregation device 30 is similar, but here, the operation of the data reception process of the aggregation device 30 will be described. Note that the terminal device 40 performs the same data reception process in downstream communication as in the upstream communication described above. In the aggregation device 30, the table management unit 34 checks whether the wireless communication unit 31 is waiting to receive an ACK (step S41). If the wireless communication unit 31 is waiting to receive an ACK (step S41: Yes), the table management unit 34 of the aggregation device 30 checks whether the wireless communication unit 31 has received an ACK within a specified time (step S42). If the wireless communication unit 31 has received an ACK within the specified time (step S42: Yes), the table management unit 34 of the aggregation device 30 calculates the average RSSI of the received frame using the received ACK as the received frame (step S46). If the wireless communication unit 31 does not receive an ACK within the specified time (step S42: No), the table management unit 34 of the aggregation device 30 does not calculate the average RSSI of the received frame and terminates the data reception processing operation.
[0059] When the wireless communication unit 31 is not waiting for an ACK (step S41: No), the table management unit 34 of the aggregation device 30 determines whether or not an ACK needs to be transmitted based on the frame type when the wireless communication unit 31 receives a data frame from the terminal device 40 (step S43) (step S44). If the table management unit 34 of the aggregation device 30 determines that an ACK needs to be transmitted (step S44: Yes), it causes the wireless communication unit 31 to transmit an ACK (step S45). If the table management unit 34 of the aggregation device 30 determines that an ACK does not need to be transmitted (step S44: No), it does not cause the wireless communication unit 31 to transmit an ACK. After the operation of step S45, or if step S44: No, i.e., regardless of whether an ACK was transmitted, the table management unit 34 of the aggregation device 30 calculates the average RSSI of the received frame, using the data frame received from the terminal device 40 as the received frame (step S46).
[0060] If the wireless communication unit 31 receives an ACK within the time specified in step S42 (step S42: Yes), the table management unit 34 of the aggregation device 30 increments the number of consecutive ACK receptions in the communication quality information table 35a by 1 and resets the number of consecutive ACK non-receptions in the communication quality information table 35a. If the wireless communication unit 31 does not receive an ACK within the time specified in step S42 (step S42: No), the table management unit 34 of the aggregation device 30 increments the number of consecutive ACK non-receptions in the communication quality information table 35a by 1 and resets the number of consecutive ACK receptions in the communication quality information table 35a.
[0061] The calculation of the average RSSI of the received frame in step S46 of the flowchart shown in FIG. 8 will be described in detail. FIG. 9 is a flowchart showing the operation of calculating the average RSSI of the received frame by the terminal device 40 and the aggregation device 30 according to the first embodiment. While the calculation of the average RSSI of the received frame by the terminal device 40 and the aggregation device 30 is similar, the operation of calculating the average RSSI of the received frame will be described here as the operation of calculating the average RSSI of the aggregation device 30. Note that the terminal device 40 performs the same average RSSI calculation operation for downstream communication as for upstream communication described above. In the aggregation device 30, when the table management unit 34 acquires the RSSI of the received frame received by the wireless communication unit 31 from the data processing unit 33 (step S51), it updates the average RSSI for the corresponding wireless link in the communication quality information table 35a using the acquired RSSI of the received frame (step S52). The table management unit 34 of the aggregation device 30 records the update time of the average RSSI for the corresponding wireless link in the communication quality information table 35a (step S53). The table management unit 34 of the aggregation device 30 sets a validity period for the average RSSI, and deletes a record in the communication quality information table 35 a when the validity period has elapsed since the update time. The validity period for the average RSSI may be the same as that of the terminal device 40, or may be set individually for the aggregation device 30 and the terminal device 40 according to the priority, operation conditions, etc. of each device.
[0062] Next, the hardware configuration of the terminal device 40 will be described. In the terminal device 40, the wireless communication unit 41 is a communication interface capable of wireless communication. The storage unit 45 is a memory. The wireless communication control unit 42, the data processing unit 43, and the table management unit 44 are realized by processing circuits. The processing circuit may be a processor and memory that executes a program stored in memory, or may be dedicated hardware. The processing circuit is also called a control circuit.
[0063] FIG. 10 is a diagram illustrating an example of the configuration of a processing circuit 90 that implements the terminal device 40 according to the first embodiment, where the processing circuit is configured with a processor 91 and a memory 92. The processing circuit 90 illustrated in FIG. 10 is a control circuit and includes a processor 91 and a memory 92. When the processing circuit 90 is configured with the processor 91 and the memory 92, each function of the processing circuit 90 is implemented by software, firmware, or a combination of software and firmware. The software or firmware is written as a program and stored in the memory 92. The processing circuit 90 implements each function by having the processor 91 read and execute the program stored in the memory 92. That is, the processing circuit 90 includes the memory 92 for storing a program that results in the processing of the terminal device 40 being executed. This program can also be said to be a program that causes the terminal device 40 to execute each function implemented by the processing circuit 90. This program may be provided by a storage medium on which the program is stored, or by other means such as a communication medium.
[0064] The above program can also be said to be a program that causes terminal device 40 to execute a data management step in which, when table management unit 34 adjusts a modulation / coding scheme value, which is a combination of a modulation scheme and a coding rate, based on the number of consecutive times that arrival confirmations have been received or the number of consecutive times that arrival confirmations have not been received, the upper limit value of the modulation / coding scheme value is corrected based on the reception intensity during the adjustment before determining whether the modulation / coding scheme value has increased, and the lower limit value of the modulation / coding scheme value is corrected before determining whether the modulation / coding scheme value has decreased.
[0065] Here, the processor 91 is, for example, a CPU (Central Processing Unit), a processing device, an arithmetic unit, a microprocessor, a microcomputer, or a DSP (Digital Signal Processor), etc. The memory 92 is, for example, a non-volatile or volatile semiconductor memory such as a RAM (Random Access Memory), a ROM (Read Only Memory), a flash memory, an EPROM (Erasable Programmable ROM), or an EEPROM (Electrically EPROM), a magnetic disk, a flexible disk, an optical disk, a compact disk, a minidisk, or a DVD (Digital Versatile Disc).
[0066] FIG. 11 is a diagram illustrating an example of a processing circuit 93 that implements the terminal device 40 according to the first embodiment when the processing circuit is configured with dedicated hardware. The processing circuit 93 illustrated in FIG. 11 may be, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or a combination thereof. The processing circuit may be partially implemented with dedicated hardware and partially implemented with software or firmware. In this way, the processing circuit can implement each of the above-described functions using dedicated hardware, software, firmware, or a combination thereof.
[0067] The hardware configuration of the terminal device 40 has been described above, but the hardware configuration of the aggregation device 30 is also similar. In the aggregation device 30, the wireless communication unit 31 is a communication interface capable of wireless communication. The server communication unit 37 is a communication interface capable of wired communication. The storage unit 35 is a memory. The wireless communication control unit 32, the data processing unit 33, the table management unit 34, and the server communication control unit 36 are realized by processing circuits. The processing circuit may be a processor and memory that executes a program stored in memory, or may be dedicated hardware.
[0068] As described above, according to the present embodiment, when adjusting the MCS based on the reception status of the arrival confirmation, the aggregation device 30 and the terminal device 40 use the average RSSI to correct the initial MCS value when the communication quality information table does not contain a selected MCS value, the upper limit MCS value when an MCS increase is determined, and the lower limit MCS value when an MCS decrease is determined. In other words, when adjusting the MCS based on the reception status of the ACK, the aggregation device 30 and the terminal device 40 correct the initial MCS value, the upper limit MCS value, the lower limit MCS value, and the like at an appropriate time based on the average RSSI. This allows the aggregation device 30 and the terminal device 40 to quickly reflect the wireless quality in the MCS.
[0069] Furthermore, when adjusting the MCS using ACK, the aggregation device 30 and the terminal device 40 correct the MCS adjustment standard using the average RSSI when the MCS increase and MCS decrease are completed. That is, when adjusting the MCS using ACK, the aggregation device 30 and the terminal device 40 correct the MCS adjustment standard at appropriate timing using the reception strength. This allows the aggregation device 30 and the terminal device 40 to control the MCS so as not to change it excessively in response to instantaneous fluctuations in wireless quality. The aggregation device 30 and the terminal device 40 can select an appropriate MCS while suppressing an increase in the number of adjustments in wireless communication in the smart meter system 10.
[0070] Embodiment 2 In the first embodiment, a case has been described in which MCSs are selected separately for upstream communication and downstream communication, on the assumption that there are a certain amount or more of each of upstream communication and downstream communication in the smart meter system 10. In the second embodiment, a method for dealing with a case in which the amount of downstream communication is smaller than that of upstream communication in the smart meter system 10 and an appropriate MCS cannot be selected for downstream communication alone will be described.
[0071] In the second embodiment, the configurations of the smart meter system 10, the aggregation device 30, and the terminal device 40 are the same as the configurations of the smart meter system 10, the aggregation device 30, and the terminal device 40 in the first embodiment shown in Figures 1 to 3.
[0072] The following describes the operation of upstream communication in which the terminal device 40 transmits data to the aggregation device 30. The operations of the terminal device 40 in the data transmission process, MCS increase determination, and MCS decrease determination are the same as those in the first embodiment.
[0073] The operation of the data reception process of the terminal device 40 will be described using a flowchart. FIG. 12 is a flowchart showing the operation of the data reception process of the terminal device 40 according to the second embodiment. In the terminal device 40, the table management unit 44 checks whether the wireless communication unit 41 is waiting to receive an ACK (step S61). If the wireless communication unit 41 is waiting to receive an ACK (step S61: Yes), the table management unit 44 of the terminal device 40 checks whether the wireless communication unit 41 has received an ACK within a specified time (step S62). If the wireless communication unit 41 has received an ACK within the specified time (step S62: Yes), the table management unit 44 of the terminal device 40 calculates the average RSSI of the received frame using the received ACK as the received frame (step S67). If the wireless communication unit 41 has not received an ACK within the specified time (step S62: No), the table management unit 44 of the terminal device 40 does not calculate the average RSSI of the received frame and terminates the operation of the data reception process.
[0074] When the wireless communication unit 41 is not waiting to receive an ACK (step S61: No), and the wireless communication unit 41 receives a data frame from another terminal device 40 (step S63), the table management unit 44 of the terminal device 40 determines whether or not it is necessary to transmit an ACK based on the frame type (step S64). If the table management unit 44 of the terminal device 40 determines that it is necessary to transmit an ACK (step S64: Yes), it causes the wireless communication unit 41 to transmit an ACK (step S65). If the table management unit 44 of the terminal device 40 determines that it is not necessary to transmit an ACK (step S64: No), it does not cause the wireless communication unit 41 to transmit an ACK. After the operation of step S65, or if step S64: No, i.e., regardless of whether an ACK has been transmitted or not, the table management unit 44 of the terminal device 40 checks the MCS of the data frame received by the wireless communication unit 41 from the other terminal device 40, and records the MCS of the data frame from the other terminal device 40 as the selected MCS value for the wireless link in the communication quality information table 45a (step S66). The table management unit 44 of the terminal device 40 calculates the average RSSI of the received frame, taking the data frame received from the other terminal device 40 as the received frame (step S67).
[0075] Note that the operation of calculating the average RSSI of the received frames in step S67 of the flowchart shown in FIG. 12 is similar to the operation of calculating the average RSSI of the received frames in step S46 of the flowchart shown in FIG. 8, and similar to the operation of the flowchart shown in FIG. 9.
[0076] Next, the operation of transmitting data from the aggregation device 30 to the terminal device 40, that is, the operation of downstream communication between the aggregation device 30 and the terminal device 40 will be described.
[0077] 13 is a flowchart showing the operation of the data transmission process of the terminal device 40 and the aggregation device 30 according to the second embodiment. The operations of the data transmission process of the terminal device 40 and the aggregation device 30 are similar, but here, the operation of the data transmission process of the aggregation device 30 will be described. In the aggregation device 30, the table management unit 34 checks whether the MCS selection value of the wireless link to be used is in the communication quality information table 35a (step S71). If the MCS selection value of the wireless link to be used is not in the communication quality information table 35a (step S71: No), the table management unit 34 of the aggregation device 30 refers to the communication quality information table 35a, reads the average RSSI of frames previously received via the wireless link (step S72), and records the initial MCS value corresponding to the average RSSI as the MCS selection value in the communication quality information table 35a (step S73). If the MCS selection value of the wireless link to be used is in the communication quality information table 35a (step S71: Yes), the table management unit 34 of the aggregation device 30 does not update the MCS selection value in the communication quality information table 35a. The aggregation device 30 transmits data using the selected MCS value in the communication quality information table 35a (step S74). Although the flowchart shown in Fig. 13 has been described as the operation of the aggregation device 30, the terminal device 40 also performs the same operation.
[0078] In the second embodiment, the data reception processing operation and the average RSSI calculation operation of the aggregation device 30 and the terminal device 40 are the same as the data reception processing operation and the average RSSI calculation operation of the aggregation device 30 and the terminal device 40 in the first embodiment. However, since the aggregation device 30 and the terminal device 40 do not adjust the MCS based on an ACK for downstream communication in the second embodiment, it is not necessary to record the number of consecutive ACK receptions and the number of consecutive ACK non-receptions in the communication quality information table.
[0079] In this way, the table management unit 34 of the terminal device 40 adjusts the MCS for upstream communication from the terminal device 40 to the aggregation device 30 based on the number of consecutive ACKs received or the number of consecutive times an ACK is not received from another terminal device 40, and for downstream communication from the aggregation device 30 to the terminal device 40, records and uses in the communication quality information table 45a the MCS received in the upstream communication from another terminal device 40. Also, the table management unit 34 of the aggregation device 30 adjusts the MCS for upstream communication from the terminal device 40 to the aggregation device 30 based on the number of consecutive ACKs received or the number of consecutive times an ACK is not received from the terminal device 40, and for downstream communication from the aggregation device 30 to the terminal device 40, records and uses in the communication quality information table 35a the MCS received in the upstream communication from the terminal device 40.
[0080] As described above, according to the present embodiment, the aggregation device 30 and the terminal device 40 apply the MCS adjusted in the upstream communication to the downstream communication. This allows the aggregation device 30 and the terminal device 40 to select an appropriate MCS even in an environment where downstream communication is less frequent than upstream communication. Note that, although the second embodiment has been described using an example where downstream communication is less frequent than upstream communication, this is not limiting. By switching the operations of the upstream communication and the downstream communication, the aggregation device 30 and the terminal device 40 can select an appropriate MCS even in an environment where upstream communication is less frequent than downstream communication.
[0081] Embodiment 3 In the first and second embodiments, the cases where the aggregation device 30 and the terminal device 40 independently select an MCS have been described. In the third embodiment, a case will be described in which the aggregation device 30 periodically collects communication quality information from the terminal device 40 and updates the correspondence relationships between the average RSSI and the initial MCS value, the upper limit value of the MCS, the lower limit value of the MCS, the threshold value for the number of consecutive ACK receptions, and the threshold value for the number of consecutive ACK non-receptions.
[0082] In the third embodiment, the configurations of the smart meter system 10, the aggregation device 30, and the terminal device 40 are the same as the configurations of the smart meter system 10, the aggregation device 30, and the terminal device 40 in the first embodiment shown in Figures 1 to 3.
[0083] The operation of uplink communication in which the terminal device 40 transmits data to the aggregation device 30 will be described. The operations of the terminal device 40 in the data transmission process, MCS increase determination, and MCS decrease determination are the same as those in the first embodiment. However, in the third embodiment, the terminal device 40 transmits communication quality information within the terminal device 40 to the aggregation device 30. The terminal device 40 may transmit the communication quality information to the aggregation device 30 in all or part of the data transmission described above, or may transmit the information separately from the data transmission described above. Furthermore, the communication quality information transmitted by the terminal device 40 may be the entire communication quality information table 45a, or each record or part of each record included in the communication quality information table 45a.
[0084] In the third embodiment, the operations of the aggregation device 30 and the terminal device 40 for data reception processing and average RSSI calculation are similar to those of the aggregation device 30 and the terminal device 40 in the first embodiment.
[0085] The following describes the operation of transmitting data from aggregation device 30 to terminal device 40, i.e., the operation of downstream communication between aggregation device 30 and terminal device 40. In embodiment 3, the operations of data transmission processing from aggregation device 30 to terminal device 40, MCS increase determination, and MCS decrease determination are similar to the operations of data transmission processing from aggregation device 30 to terminal device 40, MCS increase determination, and MCS decrease determination in embodiment 1. However, in embodiment 3, aggregation device 30 performs the operation of adjusting parameters of communication quality information shown in the flowchart of FIG. 14 at specified time intervals.
[0086] FIG. 14 is a flowchart showing the operation of the aggregation device 30 according to the third embodiment for adjusting communication quality information parameters. In the aggregation device 30, the table management unit 34 checks the communication quality information received from the terminal device 40 by the wireless communication unit 31 (step S81). The table management unit 34 of the aggregation device 30 updates the correspondence between the average RSSI and the initial MCS value (step S82). The table management unit 34 of the aggregation device 30 updates the correspondence between the average RSSI and the upper and lower MCS limits (step S83). The table management unit 34 of the aggregation device 30 updates the correspondence between the average RSSI and the threshold for the number of consecutive ACK receptions and the threshold for the number of consecutive ACK non-receptions (step S84). The table management unit 34 of the aggregation device 30 transmits the content of the communication quality information updated in steps S82 to S84 to all terminal devices 40 via the data processing unit 33, the wireless communication control unit 32, and the wireless communication unit 31 (step S85). The aggregation device 30 may transmit the contents of the updated communication quality information to the terminal device 40 according to the data transmission process described above, or may transmit the contents according to a method different from the data transmission process described above.
[0087] The operations of the data reception process in which the aggregation device 30 receives communication quality information from the terminal device 40, the operations of the data reception process in which the terminal device 40 receives the contents of the updated communication quality information from the aggregation device 30, and the operations of calculating the average RSSI of the aggregation device 30 and the terminal device 40 are the same as those in embodiment 1.
[0088] In this way, the table management unit 44 of the terminal device 40 controls transmission of the communication quality information recorded in the communication quality information table 45a to the aggregation device 30, and updates the correspondence relationships between the average RSSI, which is reception strength, and the initial MCS value, the upper limit of the MCS value, the lower limit of the MCS value, the threshold for the number of consecutive ACK receptions, and the threshold for the number of consecutive ACK non-receptions, based on the update information of the correspondence relationships acquired from the aggregation device 30. Furthermore, the table management unit 34 of the aggregation device 30 acquires, from the terminal device 40, communication quality information of the terminal device 40 for the same items as those recorded in the communication quality information table 35a, and updates the correspondence relationships between the average RSSI, which is reception strength, and the initial MCS value, the upper limit of the MCS value, the lower limit of the MCS value, the threshold for the number of consecutive ACK receptions, and the threshold for the number of consecutive ACK non-receptions, based on the communication quality information acquired from the terminal device 40.
[0089] As described above, according to the present embodiment, the aggregation device 30 updates the correspondence between the average RSSI and the initial MCS value, the upper limit of the MCS, and the lower limit of the MCS based on the communication quality information collected from the terminal device 40, and transmits the contents of the updated communication quality information to the terminal device 40. This allows the aggregation device 30 and the terminal device 40 to quickly reflect the wireless quality in the MCS. Furthermore, the aggregation device 30 updates the correspondence between the average RSSI and the threshold for the number of consecutive ACK receptions and the threshold for the number of consecutive ACK non-receptions based on the communication quality information collected from the terminal device 40, and transmits the contents of the updated communication quality information to the terminal device 40. This allows the aggregation device 30 and the terminal device 40 to control the MCS so as not to change excessively in response to instantaneous fluctuations in wireless quality.
[0090] The configurations shown in the above embodiments are merely examples, and may be combined with other known technologies, or different embodiments may be combined with each other. It is also possible to omit or modify parts of the configurations as long as they do not deviate from the gist of the invention.
[0091] 10 Smart meter system, 20 Server device, 30 Aggregation device, 31, 41 Wireless communication unit, 32, 42 Wireless communication control unit, 33, 43 Data processing unit, 34, 44 Table management unit, 35, 45 Storage unit, 35a, 45a Communication quality information table, 36 Server communication control unit, 37 Server communication unit, 40, 40-1 to 40-3 Terminal device, 90, 93 Processing circuit, 91 Processor, 92 Memory.
Claims
1. A terminal device that transmits data to an aggregation device in a smart meter system, comprising: a memory unit that stores a communication quality information table in which, for each wireless link over which the terminal device can perform wireless communication, a reception strength, a number of consecutive receptions of arrival confirmations from the aggregation device or other terminal devices, a number of consecutive times the arrival confirmations have not been received, and a modulation and coding method value which is a combination of a modulation method and a coding rate are recorded; and a table management unit that, when adjusting the modulation and coding method value based on the number of consecutive receptions of arrival confirmations or the number of consecutive times the arrival confirmations have not been received, corrects an upper limit value of the modulation and coding method value before determining whether the modulation and coding method value has increased, and corrects a lower limit value of the modulation and coding method value before determining whether the modulation and coding method value has decreased, based on the reception strength at the time of the adjustment.
2. The terminal device according to claim 1, characterized in that, when there is no past record of the modulation and coding scheme value at the time of the adjustment, the table management unit determines an initial value of the modulation and coding scheme value based on the reception strength.
3. The terminal device according to claim 1 or 2, characterized in that, when the modulation and coding scheme value is adjusted, the table management unit corrects a criterion for adjusting the modulation and coding scheme value based on the reception strength.
4. A terminal device as described in any one of claims 1 to 3, characterized in that, for upstream communication from the terminal device to the aggregation device, the table management unit adjusts the modulation and coding method value based on the number of consecutive receptions of the arrival confirmation received from the other terminal device or the number of consecutive failures to receive the arrival confirmation, and, for downstream communication from the aggregation device to the terminal device, records and uses the modulation and coding method value received in the upstream communication from the other terminal device in the communication quality information table.
5. A terminal device as described in any one of claims 1 to 4, characterized in that the table management unit controls the transmission of communication quality information recorded in the communication quality information table to the aggregation device, and updates the correspondence between the reception strength and the initial value of the modulation coding method value, the upper limit value of the modulation coding method value, the lower limit value of the modulation coding method value, the threshold value for the number of consecutive receptions of the arrival confirmation, and the threshold value for the number of consecutive non-receptions of the arrival confirmation based on update information of the correspondence obtained from the aggregation device.
6. An aggregating device that aggregates data from terminal devices in a smart meter system, comprising: a memory unit that stores a communication quality information table in which, for each wireless link capable of wireless communication in the aggregating device, a reception strength, a number of consecutive receptions of arrival confirmations from the terminal device, a number of consecutive times the arrival confirmation is not received, and a modulation and coding method value which is a combination of a modulation method and a coding rate are recorded; and a table management unit that, when adjusting the modulation and coding method value based on the number of consecutive receptions of arrival confirmations or the number of consecutive times the arrival confirmation is not received, corrects an upper limit value of the modulation and coding method value before determining whether the modulation and coding method value is increasing, and corrects a lower limit value of the modulation and coding method value before determining whether the modulation and coding method value is decreasing, based on the reception strength at the time of the adjustment.
7. The aggregation device according to claim 6, characterized in that, when there is no past record of the modulation and coding scheme value at the time of the adjustment, the table management unit determines an initial value of the modulation and coding scheme value based on the reception strength.
8. The aggregation device according to claim 6 or 7, characterized in that, when the modulation and coding scheme value is adjusted, the table management unit corrects a criterion for adjusting the modulation and coding scheme value based on the reception strength.
9. An aggregation device as described in any one of claims 6 to 8, characterized in that the table management unit adjusts the modulation and coding scheme value based on the number of consecutive receptions of the arrival confirmation received from the terminal device or the number of consecutive failures to receive the arrival confirmation for upstream communication from the terminal device to the aggregation device, and records and uses the modulation and coding scheme value received in the upstream communication from the terminal device in the communication quality information table for downstream communication from the aggregation device to the terminal device.
10. The aggregation device described in any one of claims 6 to 9, characterized in that the table management unit acquires from the terminal device communication quality information of the terminal device for the same items as those recorded in the communication quality information table, and updates the correspondence between the reception strength and the initial value of the modulation coding method value, the upper limit value of the modulation coding method value, the lower limit value of the modulation coding method value, the threshold value for the number of consecutive receptions of the arrival confirmation, and the threshold value for the number of consecutive non-receptions of the arrival confirmation based on the communication quality information acquired from the terminal device.
11. A control circuit for controlling a terminal device that transmits data to an aggregation device in a smart meter system, wherein the terminal device comprises: a memory unit in which a communication quality information table is stored in which, for each wireless link over which wireless communication is possible for the terminal device, a reception strength, the number of consecutive receptions of arrival confirmations from the aggregation device or other terminal devices, the number of consecutive times the arrival confirmations have not been received, and a modulation and coding method value which is a combination of a modulation method and a coding rate are recorded; and the control circuit causes the terminal device to perform the following when adjusting the modulation and coding method value based on the number of consecutive receptions of arrival confirmations or the number of consecutive times the arrival confirmations have not been received, based on the reception strength during the adjustment: correcting an upper limit value of the modulation and coding method value before determining whether the modulation and coding method value has increased, and correcting a lower limit value of the modulation and coding method value before determining whether the modulation and coding method value has decreased.
12. A control circuit for controlling an aggregating device that aggregates data from terminal devices in a smart meter system, the aggregating device comprising: a memory unit in which a communication quality information table is stored in which, for each wireless link capable of wireless communication in the aggregating device, a reception strength, the number of consecutive receptions of arrival confirmations from the terminal device, the number of consecutive times the arrival confirmation is not received, and a modulation and coding method value which is a combination of a modulation method and a coding rate are recorded; and the control circuit is characterized in that, when adjusting the modulation and coding method value based on the number of consecutive receptions of arrival confirmations or the number of consecutive times the arrival confirmation is not received, the control circuit causes the aggregating device to perform the following, based on the reception strength at the time of the adjustment: correcting an upper limit value of the modulation and coding method value before determining whether the modulation and coding method value has increased, and correcting a lower limit value of the modulation and coding method value before determining whether the modulation and coding method value has decreased.
13. A storage medium storing a program for controlling a terminal device that transmits data to an aggregation device in a smart meter system, wherein the terminal device comprises: a memory unit that stores a communication quality information table in which, for each wireless link over which wireless communication is possible for the terminal device, a reception strength, the number of consecutive receptions of arrival confirmations from the aggregation device or other terminal devices, the number of consecutive times the arrival confirmations have not been received, and a modulation and coding method value which is a combination of a modulation method and a coding rate are recorded; and the program causes the terminal device to perform, when adjusting the modulation and coding method value based on the number of consecutive receptions of arrival confirmations or the number of consecutive times the arrival confirmations have not been received, the following steps based on the reception strength during the adjustment: correct an upper limit value of the modulation and coding method value before determining whether the modulation and coding method value has increased, and correct a lower limit value of the modulation and coding method value before determining whether the modulation and coding method value has decreased.
14. A storage medium storing a program for controlling an aggregating device that aggregates data from terminal devices in a smart meter system, wherein the aggregating device comprises: a memory unit that stores a communication quality information table in which, for each wireless link capable of wireless communication in the aggregating device, reception strength, the number of consecutive receptions of arrival confirmations from the terminal device, the number of consecutive times the arrival confirmation has not been received, and a modulation coding method value which is a combination of a modulation method and a coding rate are recorded; and the program causes the aggregating device to perform, when adjusting the modulation coding method value based on the number of consecutive receptions of arrival confirmations or the number of consecutive times the arrival confirmation has not been received, the following correction, based on the reception strength at the time of the adjustment, of an upper limit value of the modulation coding method value before determining whether the modulation coding method value has increased, and a lower limit value of the modulation coding method value before determining whether the modulation coding method value has decreased.
15. A communication quality control method for a terminal device that transmits data to an aggregation device in a smart meter system, comprising: a memory unit that stores a communication quality information table in which, for each wireless link via which the terminal device can perform wireless communication, a reception strength, a number of consecutive receptions of arrival confirmations from the aggregation device or other terminal devices, a number of consecutive times the arrival confirmations have not been received, and a modulation and coding method value which is a combination of a modulation method and a coding rate are recorded; and the communication quality control method further comprises a data management step in which, when adjusting the modulation and coding method value based on the number of consecutive receptions of arrival confirmations or the number of consecutive times the arrival confirmations have not been received, the table management unit corrects an upper limit value of the modulation and coding method value before determining whether the modulation and coding method value has increased, and corrects a lower limit value of the modulation and coding method value before determining whether the modulation and coding method value has decreased, based on the reception strength at the time of the adjustment.
16. A communication quality control method of an aggregating device that aggregates data from terminal devices in a smart meter system, wherein the aggregating device is equipped with: a memory unit in which a communication quality information table is stored in which, for each wireless link capable of wireless communication in the aggregating device, a reception strength, the number of consecutive receptions of arrival confirmations from the terminal device, the number of consecutive times the arrival confirmation is not received, and a modulation and coding method value which is a combination of a modulation method and a coding rate are recorded; and the communication quality control method includes a data management step in which, when adjusting the modulation and coding method value based on the number of consecutive receptions of arrival confirmations or the number of consecutive times the arrival confirmation is not received, the table management unit corrects an upper limit value of the modulation and coding method value before determining whether the modulation and coding method value is increasing, and corrects a lower limit value of the modulation and coding method value before determining whether the modulation and coding method value is decreasing, based on the reception strength at the time of the adjustment.
