WO2015198403A1 - Communication device, smart meter, and wireless mesh network - Google Patents
Communication device, smart meter, and wireless mesh network Download PDFInfo
- Publication number
- WO2015198403A1 WO2015198403A1 PCT/JP2014/066735 JP2014066735W WO2015198403A1 WO 2015198403 A1 WO2015198403 A1 WO 2015198403A1 JP 2014066735 W JP2014066735 W JP 2014066735W WO 2015198403 A1 WO2015198403 A1 WO 2015198403A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- smart meter
- time
- smart
- meter
- local time
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
- H04W56/001—Synchronization between nodes
- H04W56/002—Mutual synchronization
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/35—Services specially adapted for particular environments, situations or purposes for the management of goods or merchandise
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
Definitions
- the present invention relates to a communication device, a smart meter, and a wireless mesh network that transmit / receive a meter reading value of power used by multi-hop communication.
- Each measuring instrument forms a wireless mesh network, and transmits a meter reading value as a measurement result to a device that collects the meter reading value by multi-hop communication.
- a device that manages a reference time distributes information on a reference time, and surrounding devices that receive the information on the reference time adjust their own time (local time). To match the reference time and distribute time information.
- each device that receives the time information adjusts the local time and distributes the time information to realize time synchronization.
- the data collection system described in Patent Document 2 realizes time synchronization using an NTP (Network Time Protocol) server.
- NTP Network Time Protocol
- a gateway of a multi-hop wireless communication network formed by a measuring instrument terminal installed at a consumer periodically acquires information on a reference time from an NTP server, corrects an internal clock, Send time information into the network.
- the scale terminal corrects the internal clock when receiving the time information.
- the reference time information is acquired using an NTP server.
- the NTP server cannot be used, such as when a device that manages the reference time must be installed in a location where access to the NTP server is not possible, the time of each device in the system can be adjusted to the correct time.
- a host device that collects meter reading values often uses a clock with a crystal that is not highly accurate, so if the time managed by the host device is a reference time, the number of devices per day Deviations from 10 seconds to several minutes occur.
- the automatic meter reading system for example, when real-time meter reading in units of 30 minutes is required, it becomes a problem.
- the present invention has been made in view of the above, and an object thereof is to obtain a communication device, a smart meter, and a wireless mesh network that realize time synchronization between devices in a wireless mesh network.
- the present invention is a communication device that forms a wireless mesh network together with each smart meter, the number of hops to each smart meter and the wireless between each smart meter. Based on at least one of the communication qualities, a reference candidate smart meter that is a candidate for a reference smart meter that synchronizes the local time of its own device is selected from each smart meter, and the local time and reference of the reference candidate smart meter are selected.
- the synchronization partner determination unit that determines the reference smart meter, and adjusts the local time of its own device to synchronize with the local time of the reference smart meter, and , Information on the local time of its own device in the wireless mesh network, Characterized by comprising a time synchronization controller to be distributed to each smart meter other than the reference smart meter, the even without.
- the time of each smart meter in the wireless mesh network is synchronized with the correct time even when installed in a place where it is difficult to acquire the correct time information from an external NTP server or the like. There is an effect that can be.
- FIG. 1 is a diagram illustrating an example of an automatic meter reading system using a wireless mesh network.
- FIG. 2 is a diagram illustrating a configuration example of the host device.
- FIG. 3 is a diagram illustrating a configuration example of the smart meter.
- FIG. 4 is a flowchart illustrating an example of an operation in which the host device adjusts the time.
- FIG. 5 is a flowchart illustrating an example of an operation in which the smart meter adjusts the time.
- FIG. 6 is a sequence diagram showing an example of a control procedure for realizing initial time synchronization in the wireless mesh network having the configuration shown in FIG.
- FIG. 7 is a sequence diagram illustrating an example of a meter reading transmission operation in a wireless mesh network.
- FIG. 1 is a diagram illustrating an example of an automatic meter reading system using a wireless mesh network.
- FIG. 2 is a diagram illustrating a configuration example of the host device.
- FIG. 3 is a diagram illustrating a configuration example of the
- FIG. 8 is a diagram illustrating an example of the network status table.
- FIG. 9 is a sequence diagram illustrating an example of a time synchronization control procedure.
- FIG. 10 is a sequence diagram illustrating an example of a time synchronization control procedure.
- FIG. 11 is a diagram illustrating an example of a time quality evaluation value calculation operation.
- FIG. 12 is a diagram for explaining the time quality evaluation value.
- FIG. 1 is a diagram showing an example of an automatic meter reading system using a wireless mesh network formed by a communication device according to the present invention.
- the automatic meter reading system of the present embodiment is a communication device according to the present invention, and a smart meter that is a watt hour meter including a host device 1 that collects meter reading values and a wireless communication unit. 2 1 to 2 12 .
- the host device 1 and the smart meters 2 1 to 2 12 form a wireless mesh network.
- the host device 1 manages a local time that is a reference in the wireless mesh network (hereinafter also referred to as a reference time), and appropriately distributes information on the reference time into the wireless mesh network. It is assumed that the host device 1 manages the reference time with a clock using a crystal resonator.
- the smart meters 2 1 to 2 12 manage the local time using a power synchronous clock, and when receiving information on the reference time managed by the host device 1, adjust the local time to adjust the reference time. Synchronize with. Further, the smart meters 2 1 to 2 12 measure the power consumption in the customer in which they are installed, and transmit the meter reading value indicating the measurement result to the host device 1 at a predetermined timing. Further, when the smart meters 2 1 to 2 12 receive data that is not addressed to themselves, the smart meters 2 1 to 2 12 transfer the data to the destination. For example, when a meter reading value transmitted to the host device 1 is received, the meter reading value is transferred to the host device 1.
- the smart meters 2 1 , 2 2 , 2 3 and 2 4 are set to communicate with the host device 1. That is, the smart meters 2 1 , 2 2 , 2 3 and 2 4 are located at the first hop from the host device 1 and directly transmit the meter reading value to the host device 1.
- Smart meter 2 5 is set to communicate with the smart meters 2 1 is a device from the host device 1 first hop. That is, the smart meter 2 5 is located from the host device 1 to 2 th hop, and transmits to the host device 1 the meter reading value via the smart meters 2 1 of 1 hop higher.
- the smart meter 2 6 is set to communicate with the smart meter 2 2 which is a first hop device from the host device 1. That is, the smart meter 2 6 are located from the host device 1 to 2 th hop, and transmits to the host device 1 the meter reading value via the smart meters 2 2 1 hop higher.
- the smart meter 2 7 is set to communicate with the smart meter 2 2 , which is a first hop device from the host device 1. That is, the smart meter 2 7 is located at the second hop from the host device 1 and transmits the meter reading value to the host device 1 via the smart meter 2 2 that is one hop higher.
- Smart meter 2 8 is set to communicate with a smart meter 2 2 is a device from the host device 1 first hop. That is, the smart meter 2 8 is located from the host device 1 to 2 th hop, and transmits to the host device 1 the meter reading value via the smart meters 2 2 1 hop higher.
- Smart meter 2 9 is configured to communicate with a smart meter 2 3 is a device from the host device 1 first hop. That is, the smart meter 2 9 is positioned from the host device 1 to 2 th hop, and transmits to the host device 1 the meter reading value via the smart meters 2 3 one hop higher.
- Smart meter 2 10 is configured to communicate with a smart meter 2 4 is a device from the host device 1 first hop. That is, the smart meter 2 10 is located from the host device 1 to 2 th hop, and transmits to the host device 1 the meter reading value via the smart meters 2 4 1 hop higher.
- Smart meter 211 is configured to communicate with a smart meter 2 4 is a device from the host device 1 first hop. That is, the smart meter 211 is positioned from the host device 1 to 2 th hop, and transmits to the host device 1 the meter reading value via the smart meters 2 4 1 hop higher.
- Smart meter 2 12 is configured to communicate with the smart meters 2 1 is a device from the host device 1 first hop. That is, the smart meter 2 12 is located from the host device 1 to 2 th hop, and transmits to the host device 1 the meter reading value via the smart meters 2 1 of 1 hop higher.
- the maximum number of hops from the host device 1 to the smart meter is 2, but a smart meter having three or more hops from the host device 1 may be included.
- the host device 1 holds identification information of each smart meter forming the wireless mesh network and information regarding the configuration of the wireless mesh network (connection relationship of each smart meter). That is, the host device 1 grasps each smart meter of 1 hop from itself, each smart meter of 2 hops or more, and grasps a route (communication route) through which the meter reading value is transmitted from each smart meter. It shall be.
- the identification information of each smart meter and the information related to the connection relationship of each smart meter can be acquired, for example, when the smart meter enters the wireless mesh network.
- the smart meter searches for a communicable device (another smart meter or host device 1 that has already entered the wireless mesh network) at the time of startup.
- a communicable device another smart meter or host device 1 that has already entered the wireless mesh network
- a network entry request is transmitted to the device.
- the selected device becomes the transmission destination of the meter reading value after the entry into the wireless mesh network is completed.
- the entry request is transferred as necessary, and finally reaches the host device 1.
- the host device 1 recognizes the entry of the smart meter requesting entry, the host device 1 returns a response indicating that.
- the host device 1 can newly enter the smart It is possible to grasp the connection relationship between a meter and a smart meter that has already entered the market. If the connection relationship is known, the number of hops to the smart meter can be found. The host device 1 can know the connection relationship of each smart meter other than when receiving the entry request. For example, when the meter reading value is received from each smart meter, the connection relationship can be known by the same method.
- each smart meter of the wireless mesh network becomes unable to communicate with the transmission destination of the meter reading value which is the device (other smart meter or host device 1) selected when entering the wireless mesh network
- the wireless mesh network Entry operation is again executed, and a new connection destination device (the transmission destination of the meter reading value) is selected.
- the wireless communication quality is unstable and the optimal connection destination may change, and the optimal communication path to the host device 1 may change when a new smart meter enters the wireless mesh network.
- Each smart meter may reset the connection destination device at a predetermined timing.
- the host device 1 since the host device 1 manages the local time using a clock that uses a crystal resonator, the local time starts from the correct time as time elapses due to variations in the specifications and performance of the crystal resonator used. There is a possibility of shifting. For example, in the case of using a crystal resonator with high accuracy, there is a possibility that a deviation of several tens of seconds or more per day may occur.
- the host device 1 can access an external NTP server or the like that manages the correct time, it acquires the correct time information from the outside and adjusts the local time to indicate the correct time. To do.
- the host device 1 when the host device 1 is installed in a place where it cannot access an external NTP server or the like, the local time cannot be adjusted.
- each smart meter 2 uses a highly accurate power synchronous clock, basically, if the local time of the smart meter 2 is adjusted to indicate the correct time, the local time will be indicated thereafter. Will not deviate from the correct time. However, when the smart meter 2 is installed at a position close to a power source such as an elevator, the local time may not show the correct time due to the influence of noise generated from the inverter.
- the host device 1 when the host device 1 cannot acquire the correct time information from the NTP server or the like, the host device 1 uses the correct time among the local times managed by each smart meter 2. Is adjusted so that the reference time indicates the correct time. Further, control is performed so that the local time of all smart meters is synchronized with the reference time. Specifically, first, the host device 1 identifies a smart meter whose local time is correct, and uses its time information acquired from this smart meter to adjust its own time (reference time) to the correct time. At the same time, the reference time information is broadcast into the wireless mesh network. Next, each smart meter adjusts its own time based on the reference time information transmitted from the host device 1 and synchronizes with the reference time.
- FIG. 2 is a diagram illustrating a configuration example of the host device 1.
- the host device 1 includes a timer unit 11, a time synchronization control unit 12, a synchronization partner determination unit 13, a data collection unit 14, a network management unit 15, and a wireless communication unit 16.
- the timer unit 11 is constituted by a clock using a crystal resonator and manages the local time of the host device 1.
- the time managed by the time measuring unit 11 is the reference time of the wireless mesh network.
- the time synchronization control unit 12 adjusts the time managed by the time measuring unit 11 to the correct time. For example, when it is possible to access an external NTP server that manages the correct time, information on the correct time is periodically acquired from the outside, and the time managed by the time measuring unit 11 is adjusted. When it is impossible to acquire the correct time information from the outside, the time managed by the time measuring unit 11 is adjusted so that the time is synchronized with the smart meter 2 of the local time indicating the correct time. . Further, the adjusted time information is distributed as reference time information in the wireless mesh network, and an instruction is given to synchronize the local time of each smart meter 2 with the reference time.
- the synchronization partner determination unit 13 adjusts and synchronizes the time managed by the time measurement unit 12 with the time synchronization control unit 12 when it is impossible to obtain correct time information from the outside. And time information (information of the correct time) is acquired from the selected smart meter 2.
- the data collection unit 14 collects meter reading values from each of the smart meters 2 forming the wireless mesh network.
- the network management unit 15 manages the wireless mesh network and manages the identification information of each smart meter 2 forming the wireless mesh network, the communication path to each smart meter 2, and the like. Moreover, when the entry request to a wireless mesh network is received from the smart meter 2, it is determined whether entry is permitted.
- the wireless communication unit 16 transmits and receives wireless signals to and from the smart meter 2 via an antenna (not shown). Further, the wireless communication unit 16 measures the quality of wireless communication with each smart meter 2 capable of direct communication.
- FIG. 3 is a diagram illustrating a configuration example of the smart meter 2.
- the smart meter 2 includes a timer unit 21, a time synchronization control unit 22, a time evaluation unit 23, a weighing unit 24, a route management unit 25, and a wireless communication unit 26.
- the timer unit 21 is composed of a power synchronous clock and manages the local time of the smart meter 2.
- the time synchronization control unit 22 When the time synchronization control unit 22 receives the reference time information (hereinafter referred to as reference time information) transmitted from the host device 1, the time synchronization control unit 22 determines the time managed by the time measuring unit 21 based on the received reference time information. adjust. Also, the received reference time information is transferred. Further, when a time inquiry is received from the host device 1, the time managed by the timer unit 21 is notified to the host device 1.
- reference time information hereinafter referred to as reference time information
- the time evaluation unit 23 collects time information from other smart meters 2 capable of direct communication, and whether the time managed by the time measuring unit 21 is synchronized with the time managed by the other smart meter. Is determined.
- the measuring unit 24 performs meter reading at a predetermined timing, and transmits the obtained meter reading value to the host device 1.
- the route management unit 25 manages a communication route with the host device 1. In addition, a request to participate in the wireless mesh network is transmitted to the host device 1.
- the wireless communication unit 26 transmits and receives wireless signals to and from the host device 1 or another smart meter 2 via an antenna (not shown). Further, the wireless communication unit 26 measures the wireless communication quality between the host device 1 and each smart meter 2 that can perform direct communication.
- FIG. 3 shows a configuration example in which the components of the smart meter 2 are housed in the same housing, but some components may be configured separately.
- the route management unit 25 and the wireless communication unit 26 and other components are configured separately, and a measuring device having a meter reading function (a device provided with a time measuring unit 21, a time synchronization control unit 22, a time evaluation unit 23, and a measuring unit 24) ) May be connected to a wireless communication unit (a device including the path management unit 25 and the wireless communication unit 26).
- FIG. 4 is a flowchart showing an example of the operation of the host device 1 adjusting the time.
- FIG. 5 is a flowchart illustrating an example of an operation in which the smart meter 2 adjusts the time.
- the host device 1 when an external NTP server or the like that manages correct time information cannot be used, the host device 1 operates according to FIG. 4 and each smart meter 2 operates according to FIG. Thus, time synchronization is realized.
- the host device 1 monitors whether or not it is time synchronization execution time and whether or not data is received (steps S11 and S17).
- Step S11 Yes
- a smart meter candidate time information acquisition source meter candidate
- the synchronization partner determining unit 13 determines the time information acquisition source smart meter candidates based on the number of hops from itself (the host device 1), wireless communication quality (for example, electric field strength), that is, Select a reference candidate smart meter. For example, when selecting based on the number of hops, a certain number of smart meters 2 are selected as candidates in order from the smallest number of hops.
- a certain number of smart meters 2 are selected as candidates in order from the best wireless communication quality. Candidates may be selected based on both the number of hops and the wireless communication quality.
- the time synchronization is performed at a frequency of once / day, for example.
- the synchronization partner determination unit 13 of the higher-level device 1 selects a candidate for a time information acquisition source meter, it instructs each smart meter 2 selected as a candidate to perform a peripheral search (step S13). Specifically, another smart meter in the vicinity is searched, and an instruction is given to collect time information from the discovered smart meter.
- the synchronization partner determination unit 13 selects a smart meter as a time information acquisition source, that is, a reference smart meter, based on the peripheral search results (collected time information) performed by each of the time information acquisition source meter candidates. Further, time information (information on the local time of the smart meter 2 as a time information acquisition source) is acquired from the determined reference smart meter (step S14).
- the time synchronization control unit 12 adjusts the time managed by the time measuring unit 11 in accordance with the time information acquired in step S14 (step S15).
- the time synchronization control unit 12 distributes the adjusted time information to each smart meter 2 in the wireless mesh network (step S16).
- the smart meter 2 receives the time information distributed in step S16, the smart meter 2 adjusts the local time according to the received time information.
- the time information distributed in step S16 is the local time of the reference smart meter itself, it is not necessary to distribute it to the reference smart meter.
- the time information is sent to the reference smart meter for the purpose of notifying that the synchronization with the reference time is completed or notifying that it is the reference smart meter. You may distribute. Further, the time information may be distributed to the reference smart meter in order to distribute the time information via the reference smart meter to the smart meter 2 in a position where the host device 1 cannot communicate directly. Furthermore, in order to simplify the configurations of the host device 1, the smart meter 2, and the wireless mesh network, the time information is distributed to the reference smart meter without being distinguished from other smart meters 2, and the same time information as the local time is obtained. However, the reference smart meter may adjust the local time. For these reasons, it can be said that the time synchronization control unit 12 distributes time information to each smart meter 2 other than at least the reference smart meter in the wireless mesh network.
- the network status table (hereinafter referred to as a network status table) is updated ( Step S18).
- the received data is, for example, meter reading values and wireless communication quality data.
- the network status table is a table in which the number of hops to each smart meter 2 forming the wireless mesh network, the quality of wireless communication with each smart meter 2, and the like are registered. Used when selecting acquisition source meter candidates. Details of the network status table will be described later.
- the network status table may be held by the data collection unit 14 or may be held by a storage unit (not shown).
- the time synchronization control unit 12 or the synchronization partner determination unit 13 may hold it.
- the smart meter 2 monitors whether it is a data transmission time, whether it has received time information, whether it has received a time inquiry, and whether it has received a peripheral search instruction.
- the measuring unit 24 transmits the meter reading value and the wireless communication quality data to the host device 1 (step S27).
- the wireless communication quality data is, for example, data of wireless communication quality with a device (host device 1 or smart meter 2) one hop higher, for example, information indicating the electric field strength.
- the wireless communication quality data is managed by the wireless communication unit 26, and the measuring unit 24 acquires the wireless communication quality data from the wireless communication unit 26 and transmits it together with the meter reading value.
- the timing at which the meter reading value and the wireless communication quality data are transmitted by executing step S27 is determined in advance, and the measuring unit 24 transmits the meter reading value and the wireless communication quality data, for example, every 30 minutes.
- step S22 When the time synchronization control unit 22 of the smart meter 2 receives the time information (step S22: Yes), the time synchronization control unit 22 adjusts its own time (the time managed by the time measuring unit 21) according to the received time information, The time of the transmission source device is synchronized with the own time (step S28). Further, when a time inquiry is received (step S23: Yes), time information indicating its own time is transmitted to the host device 1 (step S29). In addition, when the time evaluation unit 23 of the smart meter 2 receives a surrounding search instruction (step S24: Yes), the smart meter 2 searches for the surrounding smart meter 2 (step S25).
- the management time (local time) is inquired to surrounding smart meters 2, and information on the local time of each smart meter 2 in the cycle is collected.
- a time quality evaluation value is calculated based on the collected local time information and transmitted to the host device 1 (step S26).
- the time quality evaluation value is information indicating the reliability of its own time. In the present embodiment, a case where the time quality evaluation value is large and the possibility that the own time is likely to be correct is high will be described as an example.
- the time evaluation unit 23 may transmit the collected local time information as it is to the higher-level device 1 and calculate a time quality evaluation value on the higher-level device 1 side.
- the synchronization partner determination unit 13 determines the local time and the reference of the reference candidate smart meter. It can be said that the reference smart meter is determined based on the local time of the smart meter 2 around the candidate smart meter (the smart meter 2 to which the reference candidate smart meter 2 can directly communicate). Therefore, it can be said that the host device 1 acquires the time quality evaluation value includes the case where the host device 1 itself calculates the time quality evaluation value.
- the local time of the smart meter 2 around the reference candidate smart meter (the smart meter 2 to which the reference candidate smart meter 2 can directly communicate) is determined from the reference candidate smart meter. Is acquired through the reference candidate smart meter, and only the local time of the reference candidate smart meter is acquired. Next, the local time of the acquired reference candidate smart meter may be compared to determine the reference candidate smart meter having the local time with the highest time reliability as the reference smart meter. That is, the local time of the reference candidate smart meter is compared, and the time quality evaluation value for each local time of the reference candidate smart meter is calculated, and the local time with the highest time reliability is obtained from the time quality evaluation value.
- the reference candidate smart meter is determined as the reference smart meter.
- the time quality evaluation value calculation method here is also calculated from the local time of the reference candidate smart meter and the local time of the smart meter 2 around the reference candidate smart meter (the smart meter 2 to which the reference candidate smart meter 2 can directly communicate). Since it is the same as that to do, description is abbreviate
- FIG. 6 is a sequence diagram showing an example of a control procedure for realizing initial time synchronization in the wireless mesh network having the configuration shown in FIG.
- information on the correct time is input to the host device 1 from the outside (operator) at the timing of startup, for example.
- the time synchronization control unit 12 sets the time managed by the time measuring unit 11 to the correct time in accordance with the input information (correct time information) (step) S31).
- the host device 1 When the host device 1 sets its own time to the correct time, the host device 1 broadcasts information on its own time (a reference time that is a time managed by the timer unit 11) into the wireless mesh network (step S32). The broadcast time information reaches the smart meters 2 1 to 2 4 that can directly communicate with the host device 1.
- Smart meter 2 1 to 2 4 receives the time information from the host device 1, and adjusts its own time synchronize to the time of the host apparatus 1 (reference time) (step S33). That is, in the smart meter 2 1 to 2 4, the time synchronization control unit 22 in accordance with time information received from the host device 1, set the time managed by the time measuring section 21 to the correct time (time of the host device 1).
- Smart meter 2 1 to 2 setting its own time to the correct time, broadcasts the information of the time to the wireless mesh network (step S34).
- the broadcast time information reaches the smart meters 2 5 to 2 12 that can directly communicate with the smart meters 2 1 to 2 4 .
- the time information transmitted by the smart meter 2 1 reaches the smart meters 2 5 and 2 12
- the time information transmitted by the smart meter 2 2 reaches the smart meters 2 6 , 2 7 and 2 8
- time information smart meter 2 3 sends reaches the smart meter 2 9
- time information smart meter 2 4 transmits arrives at the smart meter 2 10 and 2 11.
- the smart meters 2 1 to 2 4 may transmit their own time information in the broadcast of time information, or may transmit (transfer) the time information received from the host device 1 as it is.
- the time information transmitted indicates the time at which the smart meters 2 1 to 2 4 executes the transmission process
- the time information transmitted, the upper device 1 executes the transmission process Indicates the current time.
- step S35 The operations of the smart meters 2 5 to 2 12 in step S35 are the same as when the smart meters 2 1 to 2 4 receive time information from the host device 1. However, when the received time information indicates the time at which the host apparatus 1 executes the transmission process, the smart meters 2 5 to 2 12 are configured to execute the transfer process by the smart meters 2 1 to 2 4. The time is adjusted in consideration of the accompanying delay time. The delay time generated by the transfer process can be grasped in advance by performing a simulation or the like. Each smart meter 2 is assumed to know in advance the delay time that occurs in association with the transfer process.
- the time synchronization is established in the wireless mesh network by the host device 1 and each smart meter 2 executing the processes in steps S31 to S35 according to the sequence shown in FIG.
- each smart meter 2 periodically (for example, every 30 minutes) displays the wireless communication quality information together with the meter reading value as the host device 1.
- the wireless communication quality is, for example, at least a reception level (also referred to as electric field strength) of a signal received from a higher-level device (high-level device 1 or smart meter 2) and a reception level of a signal received from a lower-level device (smart meter 2).
- a reception level also referred to as electric field strength
- the host device 1 updates the wireless network status every time it receives wireless communication quality information from the smart meter 2 (steps S41B to S52B).
- the wireless network status updated in steps S41B to S52B is, for example, the information table having the configuration shown in FIG. 8, and this information table corresponds to the “network status table” described above.
- the host device 1 holds the network status table shown in FIG. 8, and grasps the number of hops to each smart meter 2 forming the wireless mesh network and the quality of wireless communication with each smart meter 2. ing.
- the network status table includes “smart meter ID”, “information acquisition date / time”, “hop count”, “first hop smart meter”, “radio quality up to one hop”, “ The “second hop smart meter” and “wireless quality up to two hops” are registered.
- the smart meter 2 of the 3rd hop or more exists from the high-order apparatus 1, the information regarding the smart meter of the 3rd hop or more is also registered into a network status table.
- Smart meter ID is identification information of each smart meter that has already entered the wireless mesh network.
- Information acquisition date and time indicates the date and time when wireless communication quality information is acquired from the corresponding smart meter 2.
- Numberer of hops indicates the number of hops to the corresponding smart meter 2.
- the “first hop smart meter” is identification information of the first hop smart meter 2 in the communication path to the corresponding smart meter 2.
- Radio quality up to one hop indicates the radio communication quality with the smart meter 2 at the first hop.
- the “second hop smart meter” is identification information of the second hop smart meter 2 in the communication path to the corresponding smart meter 2.
- Radio quality up to two hops indicates the radio communication quality with the smart meter 2 of the second hop.
- the wireless quality registered in the “wireless quality up to 2 hops” is the wireless quality between the host device 1 and the first hop smart meter 2 and the first hop smart meter 2 and the second hop smart meter. 2 based on the wireless quality between the two. For example, the average value of the former (the radio quality between the host device 1 and the first hop smart meter 2) and the latter (the radio quality between the first hop smart meter 2 and the second hop smart meter 2) Register for. Of the previous night and the latter, the one with the lower quality may be selected and registered.
- the host device 1 and each smart meter 2 periodically execute the operations shown in FIG. 9 and FIG. Correct the time. Further, information on the reference time is notified to each smart meter 2, and an instruction is given to synchronize the local time with the reference time.
- the period for executing the operation (time synchronization control) shown in FIG. 9 and FIG. 10 depends on the performance of the crystal unit used by the host device 1 and the required specifications of the automatic meter reading system to which the wireless mesh network is applied. Decide in consideration. For example, the cycle is one day (24 hours).
- the host device 1 selects a candidate for obtaining time information from the smart meters 2 1 to 2 12 forming the wireless mesh network at a predetermined timing (FIG. 9, step S61). ). Specifically, a certain number of smart meters 2 are selected as candidates based on at least one of the number of hops to each smart meter 2 and the wireless communication quality. When the wireless communication quality is poor, the transmission delay increases due to the occurrence of retransmission, and the error included in the acquired time information increases. The error included in the time information acquired from the smart meter 2 having a large number of hops tends to be larger than the error included in the time information acquired from the smart meter 2 having a small number of hops.
- the host device 1 selects the smart meter 2 having a small number of hops and good wireless communication quality. For example, 1-hop wireless communication quality (field strength) from the top to the Nth is selected as a candidate. When the number of 1-hop smart meters 2 is less than N, one having a higher wireless communication quality is further selected from the 2-hop smart meters 2. Instead of setting the number of candidates to be selected as a fixed value, a condition may be set for each of the number of hops and wireless communication quality, and the smart meter 2 that satisfies the condition may be selected as a candidate.
- the smart meters 2 1 , 2 2 , 2 3 and 2 4 are selected.
- step S61 When the host apparatus 1 executes step S61 and selects a candidate, next, it instructs the selected smart meters 2 1 , 2 2 , 2 3 and 2 4 to sequentially search for surroundings (steps S62, S67, S71, S75).
- Smart meter 2 1 receives the peripheral search instruction broadcasts a message inquiring the time to a smart meter 2 near that enables direct communication (step S63). This message reaches the smart meters 2 2 , 2 4 , 2 5 , 2 6 and 2 12 and is received. The smart meters 2 2 , 2 4 , 2 5 , 2 6 and 2 12 which have received the time inquiry return the local time information (step S 64).
- the difference of T1 is calculated, respectively, the number of smart meters 2 where the difference T1-Tn is less than the specified value (Ts) (referred to as the number of time synchronization devices Ns), and the number of smart meters 2 detected by the peripheral search (the number of detections) N), a time quality evaluation value is calculated.
- Ts the specified value
- Ns the number of time synchronization devices
- Ns the number of smart meters 2 detected by the peripheral search
- the smart meters 2 2 , 2 3, and 2 4 When the smart meters 2 2 , 2 3, and 2 4 receive the surrounding search instruction, the smart meters 2 2 , 2 3, and 2 4 calculate a time quality evaluation value in the same procedure as the smart meter 2 1 and transmit it to the host device 1 (steps S 67 to S 78).
- the host device 1 Upon receiving the time quality evaluation values from all candidates selected in step S61, the host device 1 compares the received time quality evaluation values, and the time quality evaluation value having the maximum value, that is, the time quality evaluation value is the highest.
- the smart meter 2 that has transmitted the reliability value is determined as a reference smart meter from which time information is acquired (step S79 in FIG. 10). If all the received time quality evaluation values are equal to or smaller than a certain value (threshold value), step S61 is executed again to select a candidate, and the same processes as in steps S62 to S78 are executed.
- the time quality evaluation value may be reacquired.
- the description will be continued assuming that determine the smart meter 2 2 to retrieve.
- Host device 1 may then request time information to the smart meter 2 2 determined in step S79 (step S80), smart meter 2 which has received the request 2 to the host device 1 the time information indicating the local time Transmit (step S81).
- Host device 1 receives the time information from the smart meter 2 2, synchronize its time to the local time of the smart meter 2 2 (step S82). That is, by adjusting its time, adjusted to the time at which the received time information indicates (local time of the smart meter 2 2).
- the host device 1 broadcasts its own time (reference time) information into the wireless mesh network (step S83).
- each smart meter 2 receives the reference time information, it adjusts the local time to the reference time (steps S84 to S86). Note that the processing of steps S83 to S86 is the same as the processing of steps S32 to S35 shown in FIG.
- step S61 described above by selecting the first hop smart meter 2 as a candidate, the transmission delay associated with the transfer process can be minimized.
- a field whose electric field strength is greater than a specified value it is less susceptible to the dynamic switching of the route, which is a feature of a wireless mesh network using multi-hops. I try to be a hop.
- step S79 the smart meter 2 having the largest time quality evaluation value, that is, the smart meter 2 having the smallest time difference from the surroundings is determined as the time information acquisition source, which affects the power supply quality.
- the time information acquisition source which affects the power supply quality.
- the smart meters 2 2 and 2 3 are affected by noise, and the time is advanced by 10 seconds from the surroundings.
- the signal transmitted from the smart meter 2 1 reaches only the smart meter 2 12
- the signal transmitted from the smart meter 2 4 reaches only the smart meter 2 11
- the signal transmitted from the smart meter 2 2 is transmitted to the smart meter 2.
- 3 , 2 6 , 2 7 and 2 8 and the signal transmitted by the smart meter 2 3 reaches the smart meters 2 2 , 2 8 , 2 9 , and 2 10 .
- the difference in time is within the specified value (here, assumed to be 5 seconds), it becomes like the “evaluation value (case in which the number of detections are not included)” in the table shown in FIG.
- the evaluation values of the smart meters 2 2 and 2 3 that are affected by and the smart meters 2 1 and 2 4 that are not affected are the same.
- the host device 1 manages the correct time among the smart meters 2 provided with the power-synchronous clock that is a highly accurate clock. To adjust the own time to synchronize with the local time of the selected smart meter 2, and to distribute the information of the adjusted time in the wireless mesh network so that the local time is synchronized with the own time. It was decided to instruct the smart meter 2. Further, as the smart meter 2 managing the correct time, a smart meter 2 having a small number of hops from itself and good wireless communication quality, and having a small error between the local time and the local time of the surrounding smart meter 2 is selected. It was decided.
- the reference time managed by the host device 1 is adjusted to the correct time.
- Embodiment 2 In the operation for maintaining the state in which time synchronization is established (the operation shown in FIGS. 9 and 10), the host device 1 according to the first embodiment selects the time information acquisition source candidate in the same procedure every time. A peripheral search is instructed for each selected candidate, and time quality evaluation values are collected. However, the place where each smart meter 2 is installed is less likely to change, and the place such as an inverter that is a source of noise is less likely to change. That is, the smart meter 2 in which the local time is shifted is always likely to be the same.
- the host device 1 preliminarily obtains the time information acquisition source candidate from the next time synchronization control. You may make it exclude. Thereby, it is possible to prevent an unnecessary peripheral search sequence from being executed.
- Embodiment 3 In the operation for maintaining the state in which time synchronization is established (the operation shown in FIGS. 9 and 10), the host device 1 according to the first and second embodiments selects all the candidates for the time information acquisition source, The candidate is instructed to search the surroundings in order, and the time quality evaluation value is acquired. However, when a time quality evaluation value satisfying a certain condition is received, for example, the received time quality evaluation value is found to be five or more smart meters 2 and the same time as all the smart meters 2 found. , The local time of the smart meter 2 that is the transmission source of the time quality evaluation value is likely to be correct.
- the host device 1 may instruct the peripheral search in order from the candidate with the smallest number of hops and good wireless communication quality. This increases the possibility of receiving a time quality evaluation value that satisfies a certain condition earlier and determining the acquisition source of time information, thereby reducing the time required to determine the acquisition source of time information. Further, it is possible to avoid performing an unnecessary peripheral search.
- Embodiment 4 FIG.
- the host device 1 sets the time information acquisition source candidate as the latest radio in the operation for maintaining the state in which time synchronization is established (the operation illustrated in FIGS. 9 and 10).
- the selection was made based on the communication quality.
- wireless communication quality is unstable and may vary with time. Therefore, each time the host device 1 receives the meter reading value and the wireless communication quality from each smart meter 2, the upper level device 1 determines the network status table (FIG. 8) based on the number of hops to each smart meter 2 and the received wireless communication quality. Reference) is generated and stored. Then, based on a plurality of network status tables generated after the previous operation for maintaining the state in which time synchronization is established, a candidate for obtaining time information may be selected.
- the source of time information acquisition is in order from the one with the best wireless communication quality among them. Select a candidate.
- the smart meter 2 in which the wireless network status (the number of hops and the wireless communication quality) is stable can be selected.
- the number of times of one hop and the number of times that wireless communication quality is the best is calculated, and the candidate of the acquisition source of the time information is selected in order from the smart meter having the largest total value of both. Also in this case, the smart meter 2 whose wireless network status is stable can be selected.
- the wireless mesh network has been described as being formed by the host device 1 and the smart meter 2, but is transmitted and received between the host device 1 and the smart meter 2.
- a relay device that relays data (for example, a device having a configuration in which the measuring unit 24 is removed from the smart meter) may be included in the wireless mesh network.
- the timekeeping unit 21 of each smart meter 2 has been described as a power-synchronized timepiece.
- the timekeeping unit 21 even when a radio timepiece is used for each smart meter 2, Depending on the installation environment of the meter 2, since radio waves cannot be received, the time of the smart meter may be greatly shifted as in the case of power supply system noise of the power supply synchronization method.
- the present invention can also be applied to the case where such a radio timepiece is used for each smart meter 2, and the same effect can be achieved.
- the communication device according to the present invention is useful as a communication device for managing a reference time in an automatic meter reading system using a wireless mesh network.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
This communication device is a host device (1) that forms a wireless mesh network together with smart meters each including a power supply synchronization-type clock, the communication device comprising: a synchronization partner determination unit (13) that selects a candidate for synchronizing the local time of the present communication device on the basis of the hop count to each smart meter forming the wireless mesh network and/or the wireless communication quality between the communication device and each smart meter, and that determines a reference smart meter on the basis of the local time of the reference candidate smart meter and the local time of each smart meter with which the reference candidate smart meter can directly communicate; and a time synchronization control unit (12) that adjusts the local time of the present communication device and synchronizes the local time with the local time of the reference smart meter, and also distributes information on the local time of the present communication device to at least the smart meters other than the reference smart meter within the wireless mesh network.
Description
本発明は、マルチホップ通信により使用電力の検針値などを送受信する通信装置、スマートメータおよび無線メッシュネットワークに関する。
The present invention relates to a communication device, a smart meter, and a wireless mesh network that transmit / receive a meter reading value of power used by multi-hop communication.
近年、無線通信ユニットを備えた計量器(メーター)を各需要家に設置し、電気やガス、水道などの使用量を自動的に収集するシステムが検討されている。このシステムは自動検針システムなどと呼ばれる。各計量器は、無線メッシュネットワークを形成し、計測結果である検針値を、検針値を収集する装置に対してマルチホップ通信で送信する。
In recent years, a system has been studied in which a measuring instrument (meter) equipped with a wireless communication unit is installed in each consumer and the usage amount of electricity, gas, water, etc. is automatically collected. This system is called an automatic meter reading system. Each measuring instrument forms a wireless mesh network, and transmits a meter reading value as a measurement result to a device that collects the meter reading value by multi-hop communication.
例えば、需要家における電力使用量を自動的に収集する自動検針システムでは、検針値を収集する時間のスケジュール管理を行っており、ある決められた時刻に計量計より中央のデータ収集装置へ検針値などのデータを送信している。そのため、自動検針システムにおいては、データ収集装置と各計量器が個別に管理している時刻を同期させる必要がある。
For example, in an automatic meter reading system that automatically collects electricity usage at consumers, schedule management of the time to collect meter readings is performed, and the meter reading value from the meter to the central data collecting device at a certain time Sending data such as. Therefore, in the automatic meter reading system, it is necessary to synchronize the time managed individually by the data collection device and each measuring instrument.
通信ネットワークを形成している装置同士の時刻同期を実現する技術として、例えば、特許文献1や2に記載された発明が存在する。
As a technique for realizing time synchronization between devices forming a communication network, for example, there are inventions described in Patent Documents 1 and 2.
特許文献1に記載された無線通信システムにおいては、基準時刻を管理する装置が基準時刻の情報を配信し、基準時刻の情報を受信した周囲の装置は、自身の時刻(ローカル時刻)を調整して基準時刻に合わせるとともに、時刻の情報を配信する。以下、同様に、時刻の情報を受信した各装置が、ローカル時刻の調整を行うとともに時刻情報を配信することにより、時刻同期を実現している。
In the wireless communication system described in Patent Document 1, a device that manages a reference time distributes information on a reference time, and surrounding devices that receive the information on the reference time adjust their own time (local time). To match the reference time and distribute time information. Hereinafter, similarly, each device that receives the time information adjusts the local time and distributes the time information to realize time synchronization.
特許文献2に記載されたデータ収集システムは、NTP(Network Time Protocol)サーバを利用して時刻同期を実現している。このデータ収集システムにおいては、需要家に設置された計量器端末により形成されたマルチホップ無線通信ネットワークのゲートウェイが、定期的にNTPサーバから基準時刻の情報を取得し、内部時計を修正するとともに、時刻の情報をネットワーク内へ送信する。計量器端末は、時刻の情報を受信すると内部時計を修正する。
The data collection system described in Patent Document 2 realizes time synchronization using an NTP (Network Time Protocol) server. In this data collection system, a gateway of a multi-hop wireless communication network formed by a measuring instrument terminal installed at a consumer periodically acquires information on a reference time from an NTP server, corrects an internal clock, Send time information into the network. The scale terminal corrects the internal clock when receiving the time information.
上述したような従来のシステムでは、NTPサーバを利用して基準時刻の情報を取得している。しかしながら、基準時刻を管理する装置をNTPサーバへのアクセスが不可能な場所に設置する必要があるなど、NTPサーバを利用できない場合には、システム内の各装置の時刻を正しい時刻に合わせることができない、という問題があった。自動検針システムにおいて、検針値の収集を行う上位装置は、精度の高くない水晶による時計を用いている場合が多いため、上位装置が管理している時刻を基準時刻とすると、1日あたりで数十秒~数分のずれが発生してしまう。自動検針システムにおいて、例えば30分単位でのリアルタイム検針が要求される場合には問題となる。
In the conventional system as described above, the reference time information is acquired using an NTP server. However, when the NTP server cannot be used, such as when a device that manages the reference time must be installed in a location where access to the NTP server is not possible, the time of each device in the system can be adjusted to the correct time. There was a problem that it was not possible. In an automatic meter reading system, a host device that collects meter reading values often uses a clock with a crystal that is not highly accurate, so if the time managed by the host device is a reference time, the number of devices per day Deviations from 10 seconds to several minutes occur. In the automatic meter reading system, for example, when real-time meter reading in units of 30 minutes is required, it becomes a problem.
本発明は、上記に鑑みてなされたものであって、無線メッシュネットワークにおいて装置間の時刻同期を実現する通信装置、スマートメータおよび無線メッシュネットワークを得ることを目的とする。
The present invention has been made in view of the above, and an object thereof is to obtain a communication device, a smart meter, and a wireless mesh network that realize time synchronization between devices in a wireless mesh network.
上述した課題を解決し、目的を達成するために、本発明は、各スマートメータとともに無線メッシュネットワークを形成する通信装置であって、各スマートメータまでのホップ数および各スマートメータとの間の無線通信品質のうち少なくとも一つに基づいて、各スマートメータのうちから、自装置のローカル時刻を同期させる基準スマートメータの候補となる基準候補スマートメータを選択し、基準候補スマートメータのローカル時刻および基準候補スマートメータが直接通信可能な各スマートメータのローカル時刻に基づいて、基準スマートメータを決定する同期相手決定部と、自装置のローカル時刻を調整して基準スマートメータのローカル時刻に同期させ、さらに、自装置のローカル時刻の情報を無線メッシュネットワーク内の、少なくとも基準スマートメータ以外の各スマートメータへ配信する時刻同期制御部と、を備えることを特徴とする。
In order to solve the above-described problems and achieve the object, the present invention is a communication device that forms a wireless mesh network together with each smart meter, the number of hops to each smart meter and the wireless between each smart meter. Based on at least one of the communication qualities, a reference candidate smart meter that is a candidate for a reference smart meter that synchronizes the local time of its own device is selected from each smart meter, and the local time and reference of the reference candidate smart meter are selected. Based on the local time of each smart meter with which the candidate smart meter can communicate directly, the synchronization partner determination unit that determines the reference smart meter, and adjusts the local time of its own device to synchronize with the local time of the reference smart meter, and , Information on the local time of its own device in the wireless mesh network, Characterized by comprising a time synchronization controller to be distributed to each smart meter other than the reference smart meter, the even without.
本発明にかかる通信装置によれば、外部のNTPサーバなどから正しい時刻の情報を取得するのが難しい場所に設置された場合でも無線メッシュネットワーク内の各スマートメータの時刻を正しい時刻に同期させることができる、という効果を奏する。
According to the communication device of the present invention, the time of each smart meter in the wireless mesh network is synchronized with the correct time even when installed in a place where it is difficult to acquire the correct time information from an external NTP server or the like. There is an effect that can be.
以下に、本発明にかかる通信装置、スマートメータおよび無線メッシュネットワークの実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。
Hereinafter, embodiments of a communication device, a smart meter, and a wireless mesh network according to the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.
実施の形態1.
図1は、本発明にかかる通信装置により形成された無線メッシュネットワークを利用した自動検針システムの一例を示す図である。Embodiment 1 FIG.
FIG. 1 is a diagram showing an example of an automatic meter reading system using a wireless mesh network formed by a communication device according to the present invention.
図1は、本発明にかかる通信装置により形成された無線メッシュネットワークを利用した自動検針システムの一例を示す図である。
FIG. 1 is a diagram showing an example of an automatic meter reading system using a wireless mesh network formed by a communication device according to the present invention.
図1に示したように、本実施の形態の自動検針システムは、本発明にかかる通信装置であり、検針値を収集する上位装置1と、無線通信ユニットを備えた電力量計であるスマートメータ21から212とを含んで構成されている。上位装置1とスマートメータ21から212は無線メッシュネットワークを形成している。
As shown in FIG. 1, the automatic meter reading system of the present embodiment is a communication device according to the present invention, and a smart meter that is a watt hour meter including a host device 1 that collects meter reading values and a wireless communication unit. 2 1 to 2 12 . The host device 1 and the smart meters 2 1 to 2 12 form a wireless mesh network.
上位装置1は、無線メッシュネットワークにおいて基準となるローカル時刻(以下、基準時刻と称する場合もある)を管理しており、基準時刻の情報を無線メッシュネットワーク内へ適宜配信する。上位装置1は水晶振動子を利用した時計により基準時刻を管理しているものとする。
The host device 1 manages a local time that is a reference in the wireless mesh network (hereinafter also referred to as a reference time), and appropriately distributes information on the reference time into the wireless mesh network. It is assumed that the host device 1 manages the reference time with a clock using a crystal resonator.
スマートメータ21から212は、電源同期方式の時計を利用してローカル時刻を管理しており、上位装置1で管理されている基準時刻の情報を受信すると、ローカル時刻を調整して基準時刻に同期させる。また、スマートメータ21から212は、自身が設置されている需要家における電力消費量を計測し、計測結果を示す検針値を予め決められたタイミングで上位装置1へ送信する。また、スマートメータ21から212は、自身宛ではないデータ等を受信した場合、宛先に向けて転送する。例えば、上位装置1宛に送信された検針値を受信した場合、検針値を上位装置1に向けて転送する。
The smart meters 2 1 to 2 12 manage the local time using a power synchronous clock, and when receiving information on the reference time managed by the host device 1, adjust the local time to adjust the reference time. Synchronize with. Further, the smart meters 2 1 to 2 12 measure the power consumption in the customer in which they are installed, and transmit the meter reading value indicating the measurement result to the host device 1 at a predetermined timing. Further, when the smart meters 2 1 to 2 12 receive data that is not addressed to themselves, the smart meters 2 1 to 2 12 transfer the data to the destination. For example, when a meter reading value transmitted to the host device 1 is received, the meter reading value is transferred to the host device 1.
図1に示した無線メッシュネットワークの構成について説明する。
The configuration of the wireless mesh network shown in FIG. 1 will be described.
スマートメータ21、22、23および24は上位装置1と通信するように設定されている。すなわち、スマートメータ21、22、23および24は、上位装置1から1ホップ目に位置しており、検針値を上位装置1へ直接送信する。
The smart meters 2 1 , 2 2 , 2 3 and 2 4 are set to communicate with the host device 1. That is, the smart meters 2 1 , 2 2 , 2 3 and 2 4 are located at the first hop from the host device 1 and directly transmit the meter reading value to the host device 1.
スマートメータ25は、上位装置1から1ホップ目の機器であるスマートメータ21と通信するように設定されている。すなわち、スマートメータ25は、上位装置1から2ホップ目に位置しており、検針値を1ホップ上位のスマートメータ21経由で上位装置1へ送信する。
Smart meter 2 5 is set to communicate with the smart meters 2 1 is a device from the host device 1 first hop. That is, the smart meter 2 5 is located from the host device 1 to 2 th hop, and transmits to the host device 1 the meter reading value via the smart meters 2 1 of 1 hop higher.
スマートメータ26は、上位装置1から1ホップ目の機器であるスマートメータ22と通信するように設定されている。すなわち、スマートメータ26は、上位装置1から2ホップ目に位置しており、検針値を1ホップ上位のスマートメータ22経由で上位装置1へ送信する。
The smart meter 2 6 is set to communicate with the smart meter 2 2 which is a first hop device from the host device 1. That is, the smart meter 2 6 are located from the host device 1 to 2 th hop, and transmits to the host device 1 the meter reading value via the smart meters 2 2 1 hop higher.
スマートメータ27は、上位装置1から1ホップ目の機器であるスマートメータ22と通信するように設定されている。すなわち、スマートメータ27は、上位装置1から2ホップ目に位置しており、検針値を1ホップ上位のスマートメータ22経由で上位装置1へ送信する。
The smart meter 2 7 is set to communicate with the smart meter 2 2 , which is a first hop device from the host device 1. That is, the smart meter 2 7 is located at the second hop from the host device 1 and transmits the meter reading value to the host device 1 via the smart meter 2 2 that is one hop higher.
スマートメータ28は、上位装置1から1ホップ目の機器であるスマートメータ22と通信するように設定されている。すなわち、スマートメータ28は、上位装置1から2ホップ目に位置しており、検針値を1ホップ上位のスマートメータ22経由で上位装置1へ送信する。
Smart meter 2 8 is set to communicate with a smart meter 2 2 is a device from the host device 1 first hop. That is, the smart meter 2 8 is located from the host device 1 to 2 th hop, and transmits to the host device 1 the meter reading value via the smart meters 2 2 1 hop higher.
スマートメータ29は、上位装置1から1ホップ目の機器であるスマートメータ23と通信するように設定されている。すなわち、スマートメータ29は、上位装置1から2ホップ目に位置しており、検針値を1ホップ上位のスマートメータ23経由で上位装置1へ送信する。
Smart meter 2 9 is configured to communicate with a smart meter 2 3 is a device from the host device 1 first hop. That is, the smart meter 2 9 is positioned from the host device 1 to 2 th hop, and transmits to the host device 1 the meter reading value via the smart meters 2 3 one hop higher.
スマートメータ210は、上位装置1から1ホップ目の機器であるスマートメータ24と通信するように設定されている。すなわち、スマートメータ210は、上位装置1から2ホップ目に位置しており、検針値を1ホップ上位のスマートメータ24経由で上位装置1へ送信する。
Smart meter 2 10 is configured to communicate with a smart meter 2 4 is a device from the host device 1 first hop. That is, the smart meter 2 10 is located from the host device 1 to 2 th hop, and transmits to the host device 1 the meter reading value via the smart meters 2 4 1 hop higher.
スマートメータ211は、上位装置1から1ホップ目の機器であるスマートメータ24と通信するように設定されている。すなわち、スマートメータ211は、上位装置1から2ホップ目に位置しており、検針値を1ホップ上位のスマートメータ24経由で上位装置1へ送信する。
Smart meter 211 is configured to communicate with a smart meter 2 4 is a device from the host device 1 first hop. That is, the smart meter 211 is positioned from the host device 1 to 2 th hop, and transmits to the host device 1 the meter reading value via the smart meters 2 4 1 hop higher.
スマートメータ212は、上位装置1から1ホップ目の機器であるスマートメータ21と通信するように設定されている。すなわち、スマートメータ212は、上位装置1から2ホップ目に位置しており、検針値を1ホップ上位のスマートメータ21経由で上位装置1へ送信する。
Smart meter 2 12 is configured to communicate with the smart meters 2 1 is a device from the host device 1 first hop. That is, the smart meter 2 12 is located from the host device 1 to 2 th hop, and transmits to the host device 1 the meter reading value via the smart meters 2 1 of 1 hop higher.
なお、図1では、上位装置1からスマートメータまでの最大ホップ数が2となっているが、上位装置1からのホップ数が3以上のスマートメータを含んでいても構わない。上位装置1は、無線メッシュネットワークを形成している各スマートメータの識別情報と無線メッシュネットワークの構成(各スマートメータの接続関係)に関する情報を保持しているものとする。すなわち、上位装置1は、自身から1ホップの各スマートメータ、2ホップ以上の各スマートメータを把握しているとともに、各スマートメータから検針値が送信されてくる経路(通信経路)を把握しているものとする。各スマートメータの識別情報と各スマートメータの接続関係に関する情報は、例えば、スマートメータが無線メッシュネットワークへ参入する際に取得することができる。スマートメータが無線メッシュネットワークへ参入する動作を簡単に説明すると、スマートメータは、例えば、起動時に、通信可能な機器(無線メッシュネットワークに参入済の他のスマートメータまたは上位装置1)を探索し、通信可能な機器が見つかった場合、その機器に対してネットワークへの参入要求を送信する。通信可能な機器が複数存在する場合もあるが、その場合には、上位装置1までのホップ数、無線通信品質などを考慮して1台の機器を選択する。選択した機器は、無線メッシュネットワークへの参入が完了した後の検針値の送信先となる。参入要求は、必要に応じて転送され、最終的に上位装置1へ到達する。上位装置1は、参入を要求しているスマートメータの参入を認める場合、その旨を示す応答を返送する。このとき、例えば、参入要求を転送する機器(無線メッシュネットワークに参入済のスマートメータ)が自身の識別情報を参入要求に付加してから転送することにより、上位装置1は、新たに参入するスマートメータと参入済みのスマートメータの接続関係を把握することができる。接続関係が分かればスマートメータまでのホップ数も分かる。上位装置1は、参入要求の受信時以外にも各スマートメータの接続関係を知ることが可能である。例えば、各スマートメータから検針値を受信する場合に、同様の方法で接続関係を知ることができる。
In FIG. 1, the maximum number of hops from the host device 1 to the smart meter is 2, but a smart meter having three or more hops from the host device 1 may be included. It is assumed that the host device 1 holds identification information of each smart meter forming the wireless mesh network and information regarding the configuration of the wireless mesh network (connection relationship of each smart meter). That is, the host device 1 grasps each smart meter of 1 hop from itself, each smart meter of 2 hops or more, and grasps a route (communication route) through which the meter reading value is transmitted from each smart meter. It shall be. The identification information of each smart meter and the information related to the connection relationship of each smart meter can be acquired, for example, when the smart meter enters the wireless mesh network. The operation of the smart meter entering the wireless mesh network will be briefly described. For example, the smart meter searches for a communicable device (another smart meter or host device 1 that has already entered the wireless mesh network) at the time of startup. When a communicable device is found, a network entry request is transmitted to the device. There may be a plurality of communicable devices. In that case, one device is selected in consideration of the number of hops to the higher-level device 1 and the wireless communication quality. The selected device becomes the transmission destination of the meter reading value after the entry into the wireless mesh network is completed. The entry request is transferred as necessary, and finally reaches the host device 1. When the host device 1 recognizes the entry of the smart meter requesting entry, the host device 1 returns a response indicating that. At this time, for example, when the device that transmits the entry request (the smart meter that has already entered the wireless mesh network) adds its identification information to the entry request and transfers it, the host device 1 can newly enter the smart It is possible to grasp the connection relationship between a meter and a smart meter that has already entered the market. If the connection relationship is known, the number of hops to the smart meter can be found. The host device 1 can know the connection relationship of each smart meter other than when receiving the entry request. For example, when the meter reading value is received from each smart meter, the connection relationship can be known by the same method.
無線メッシュネットワークの各スマートメータは、無線メッシュネットワークへ参入する際に選択した機器(他のスマートメータまたは上位装置1)である検針値の送信先との通信が不能となった場合、無線メッシュネットワークへの参入動作を再度実行し、新たな接続先の機器(検針値の送信先)を選択する。また、無線通信品質は不安定であり最適な接続先が変化する可能性があること、新たなスマートメータが無線メッシュネットワークに参入することにより上位装置1までの最適な通信経路が変化する可能性があること、などを考慮し、各スマートメータは、接続先の機器を所定のタイミングで再設定するようにしてもよい。
When each smart meter of the wireless mesh network becomes unable to communicate with the transmission destination of the meter reading value which is the device (other smart meter or host device 1) selected when entering the wireless mesh network, the wireless mesh network Entry operation is again executed, and a new connection destination device (the transmission destination of the meter reading value) is selected. Also, the wireless communication quality is unstable and the optimal connection destination may change, and the optimal communication path to the host device 1 may change when a new smart meter enters the wireless mesh network. Each smart meter may reset the connection destination device at a predetermined timing.
以下の説明においては、スマートメータ21から212を区別する必要がなく、スマートメータ21から212に共通の事項(構成や動作)を説明する場合には、スマートメータ21から212を総称してスマートメータ2と記載する。
In the following description, it is not necessary to distinguish between the two 12 from the smart meter 2 1, when describing common matters (configuration and operation) from the smart meter 2 1 to 2 12, 2 12 from the smart meter 2 1 Are collectively referred to as a smart meter 2.
上述したように、上位装置1は水晶振動子を利用した時計によりローカル時刻を管理しているため、利用する水晶振動子の仕様や性能のばらつきなどにより、ローカル時刻は時間の経過とともに正しい時刻からずれていく可能性がある。例えば、精度の高くない水晶振動子を利用する場合には、1日あたり数十秒以上のずれが発生する可能性があり問題となる。この問題の対処として、上位装置1は、正しい時刻を管理している外部のNTPサーバなどにアクセスが可能な場合、外部から正しい時刻の情報を取得し、ローカル時刻が正しい時刻を示すように調整する。しかし、上位装置1が外部のNTPサーバなどにアクセスできない場所に設置された場合には、ローカル時刻を調整することができない。
As described above, since the host device 1 manages the local time using a clock that uses a crystal resonator, the local time starts from the correct time as time elapses due to variations in the specifications and performance of the crystal resonator used. There is a possibility of shifting. For example, in the case of using a crystal resonator with high accuracy, there is a possibility that a deviation of several tens of seconds or more per day may occur. As a countermeasure to this problem, when the host device 1 can access an external NTP server or the like that manages the correct time, it acquires the correct time information from the outside and adjusts the local time to indicate the correct time. To do. However, when the host device 1 is installed in a place where it cannot access an external NTP server or the like, the local time cannot be adjusted.
一方、各スマートメータ2は、高精度な電源同期方式の時計を利用しているため、基本的には、スマートメータ2のローカル時刻を調整して正しい時刻を示すようにすると、以後はローカル時刻が正しい時刻からずれることはない。しかしながら、スマートメータ2がエレベータなどの動力源に近い位置に設置されている場合、インバータから発生するノイズの影響を受け、ローカル時刻が正しい時刻を示さなくなる可能性がある。
On the other hand, since each smart meter 2 uses a highly accurate power synchronous clock, basically, if the local time of the smart meter 2 is adjusted to indicate the correct time, the local time will be indicated thereafter. Will not deviate from the correct time. However, when the smart meter 2 is installed at a position close to a power source such as an elevator, the local time may not show the correct time due to the influence of noise generated from the inverter.
そのため、本実施の形態の無線メッシュネットワークにおいて、上位装置1がNTPサーバ等から正しい時刻の情報を取得できない場合、上位装置1は、各スマートメータ2が管理しているローカル時刻のうち、正しい時刻を示しているものを利用し、基準時刻が正しい時刻を示すように調整する。また、全てのスマートメータのローカル時刻が基準時刻に同期するように制御する。具体的には、まず、上位装置1が、ローカル時刻が正しい時刻を示しているスマートメータを特定し、このスマートメータから取得した時刻情報を用いて自身の時刻(基準時刻)を正しい時刻に合わせるとともに、基準時刻の情報を無線メッシュネットワーク内へブロードキャストする。次に、各スマートメータが、上位装置1から送信された基準時刻の情報に基づいて自身の時刻を調整し、基準時刻に同期させる。
Therefore, in the wireless mesh network according to the present embodiment, when the host device 1 cannot acquire the correct time information from the NTP server or the like, the host device 1 uses the correct time among the local times managed by each smart meter 2. Is adjusted so that the reference time indicates the correct time. Further, control is performed so that the local time of all smart meters is synchronized with the reference time. Specifically, first, the host device 1 identifies a smart meter whose local time is correct, and uses its time information acquired from this smart meter to adjust its own time (reference time) to the correct time. At the same time, the reference time information is broadcast into the wireless mesh network. Next, each smart meter adjusts its own time based on the reference time information transmitted from the host device 1 and synchronizes with the reference time.
以下、本実施形態にかかる無線メッシュネットワークについて、詳しく説明する。
Hereinafter, the wireless mesh network according to the present embodiment will be described in detail.
図2は、上位装置1の構成例を示す図である。上位装置1は、計時部11、時刻同期制御部12、同期相手決定部13、データ収集部14、ネットワーク管理部15および無線通信部16を備える。
FIG. 2 is a diagram illustrating a configuration example of the host device 1. The host device 1 includes a timer unit 11, a time synchronization control unit 12, a synchronization partner determination unit 13, a data collection unit 14, a network management unit 15, and a wireless communication unit 16.
計時部11は、水晶振動子を利用した時計により構成されており、上位装置1のローカル時刻を管理する。計時部11が管理している時刻は無線メッシュネットワークの基準時刻となる。
The timer unit 11 is constituted by a clock using a crystal resonator and manages the local time of the host device 1. The time managed by the time measuring unit 11 is the reference time of the wireless mesh network.
時刻同期制御部12は、計時部11が管理している時刻を正しい時刻に調整する。例えば、正しい時刻を管理している外部のNTPサーバなどにアクセスが可能な場合、定期的に外部から正しい時刻の情報を取得し、計時部11が管理している時刻を調整する。外部から正しい時刻の情報を取得するのが不可能な場合には、正しい時刻を示しているローカル時刻のスマートメータ2と時刻同期状態となるよう、計時部11が管理している時刻を調整する。また、調整後の時刻の情報を基準時刻情報として無線メッシュネットワーク内へ配信し、各スマートメータ2のローカル時刻を基準時刻に同期させるよう指示する。
The time synchronization control unit 12 adjusts the time managed by the time measuring unit 11 to the correct time. For example, when it is possible to access an external NTP server that manages the correct time, information on the correct time is periodically acquired from the outside, and the time managed by the time measuring unit 11 is adjusted. When it is impossible to acquire the correct time information from the outside, the time managed by the time measuring unit 11 is adjusted so that the time is synchronized with the smart meter 2 of the local time indicating the correct time. . Further, the adjusted time information is distributed as reference time information in the wireless mesh network, and an instruction is given to synchronize the local time of each smart meter 2 with the reference time.
同期相手決定部13は、外部から正しい時刻の情報を取得するのが不可能な場合に、計時部11が管理している時刻を時刻同期制御部12が調整して同期させる相手のスマートメータ2を選択し、選択したスマートメータ2から時刻情報(正しい時刻の情報)を取得する。
The synchronization partner determination unit 13 adjusts and synchronizes the time managed by the time measurement unit 12 with the time synchronization control unit 12 when it is impossible to obtain correct time information from the outside. And time information (information of the correct time) is acquired from the selected smart meter 2.
データ収集部14は、無線メッシュネットワークを形成しているスマートメータ2の各々から検針値を収集する。
The data collection unit 14 collects meter reading values from each of the smart meters 2 forming the wireless mesh network.
ネットワーク管理部15は、無線メッシュネットワークを管理し、無線メッシュネットワーク形成している各スマートメータ2の識別情報、各スマートメータ2までの通信経路などを管理する。また、無線メッシュネットワークへの参入要求をスマートメータ2から受けた場合、参入を認めるか否かを判定する。
The network management unit 15 manages the wireless mesh network and manages the identification information of each smart meter 2 forming the wireless mesh network, the communication path to each smart meter 2, and the like. Moreover, when the entry request to a wireless mesh network is received from the smart meter 2, it is determined whether entry is permitted.
無線通信部16は、図示を省略したアンテナを介して、スマートメータ2との間で無線信号を送受信する。また、無線通信部16は、直接通信が可能な各スマートメータ2との間の無線通信品質を測定する。
The wireless communication unit 16 transmits and receives wireless signals to and from the smart meter 2 via an antenna (not shown). Further, the wireless communication unit 16 measures the quality of wireless communication with each smart meter 2 capable of direct communication.
図3は、スマートメータ2の構成例を示す図である。スマートメータ2は、計時部21、時刻同期制御部22、時刻評価部23、計量部24、経路管理部25および無線通信部26を備える。
FIG. 3 is a diagram illustrating a configuration example of the smart meter 2. The smart meter 2 includes a timer unit 21, a time synchronization control unit 22, a time evaluation unit 23, a weighing unit 24, a route management unit 25, and a wireless communication unit 26.
計時部21は、電源同期方式の時計により構成されており、スマートメータ2のローカル時刻を管理する。
The timer unit 21 is composed of a power synchronous clock and manages the local time of the smart meter 2.
時刻同期制御部22は、上位装置1から送信された基準時刻の情報(以下、基準時刻情報と称する)を受信すると、受信した基準時刻情報に基づいて、計時部21が管理している時刻を調整する。また、受信した基準時刻情報を転送する。また、上位装置1から時刻の問い合わせを受けた場合、計時部21が管理している時刻を上位装置1へ通知する。
When the time synchronization control unit 22 receives the reference time information (hereinafter referred to as reference time information) transmitted from the host device 1, the time synchronization control unit 22 determines the time managed by the time measuring unit 21 based on the received reference time information. adjust. Also, the received reference time information is transferred. Further, when a time inquiry is received from the host device 1, the time managed by the timer unit 21 is notified to the host device 1.
時刻評価部23は、直接通信が可能な他のスマートメータ2から時刻情報を収集し、計時部21が管理している時刻と他のスマートメータが管理している時刻が同期しているか否かを判別する。
The time evaluation unit 23 collects time information from other smart meters 2 capable of direct communication, and whether the time managed by the time measuring unit 21 is synchronized with the time managed by the other smart meter. Is determined.
計量部24は、予め決められているタイミングで検針を行い、得られた検針値を上位装置1宛に送信する。
The measuring unit 24 performs meter reading at a predetermined timing, and transmits the obtained meter reading value to the host device 1.
経路管理部25は、上位装置1との間の通信経路を管理する。また、無線メッシュネットワークへの参加要求を上位装置1へ送信する。
The route management unit 25 manages a communication route with the host device 1. In addition, a request to participate in the wireless mesh network is transmitted to the host device 1.
無線通信部26は、図示を省略したアンテナを介して、上位装置1または他のスマートメータ2との間で無線信号を送受信する。また、無線通信部26は、直接通信が可能な上位装置1および各スマートメータ2との間の無線通信品質を測定する。
The wireless communication unit 26 transmits and receives wireless signals to and from the host device 1 or another smart meter 2 via an antenna (not shown). Further, the wireless communication unit 26 measures the wireless communication quality between the host device 1 and each smart meter 2 that can perform direct communication.
図3においては、スマートメータ2の各構成要素が同一筐体に収められた構成例を示したが、一部の構成要素を別構成としても構わない。例えば、経路管理部25および無線通信部26とその他の構成要素を別構成とし、検針機能を有する計量機器(計時部21、時刻同期制御部22、時刻評価部23および計量部24を備えた機器)に無線通信ユニット(経路管理部25および無線通信部26を備えた機器)が接続された構成としても構わない。
FIG. 3 shows a configuration example in which the components of the smart meter 2 are housed in the same housing, but some components may be configured separately. For example, the route management unit 25 and the wireless communication unit 26 and other components are configured separately, and a measuring device having a meter reading function (a device provided with a time measuring unit 21, a time synchronization control unit 22, a time evaluation unit 23, and a measuring unit 24) ) May be connected to a wireless communication unit (a device including the path management unit 25 and the wireless communication unit 26).
図4は、上位装置1が時刻を調整する動作の一例を示すフローチャートである。図5は、スマートメータ2が時刻を調整する動作の一例を示すフローチャートである。本実施の形態の無線メッシュネットワークにおいては、正しい時刻の情報を管理している外部のNTPサーバ等を利用できない場合、上位装置1が図4に従って動作し、各スマートメータ2が図5に従って動作することにより、時刻同期を実現する。
FIG. 4 is a flowchart showing an example of the operation of the host device 1 adjusting the time. FIG. 5 is a flowchart illustrating an example of an operation in which the smart meter 2 adjusts the time. In the wireless mesh network of the present embodiment, when an external NTP server or the like that manages correct time information cannot be used, the host device 1 operates according to FIG. 4 and each smart meter 2 operates according to FIG. Thus, time synchronization is realized.
図4に示したように、上位装置1は、時刻同期の実施時刻か否か、および、データを受信したか否かを監視しており(ステップS11、S17)、時刻同期の実施時刻の場合(ステップS11:Yes)、正しい時刻を示す情報の取得元とするスマートメータの候補(時刻情報の取得元メータの候補)を選択する(ステップS12)。このステップS12においては、同期相手決定部13が、自身(上位装置1)からのホップ数、無線通信品質(例えば、電界強度)などに基づいて、時刻情報の取得元スマートメータの候補、すなわち、基準候補スマートメータを選択する。例えば、ホップ数に基づいて選択する場合、ホップ数が少ないものから順番に、一定数のスマートメータ2を候補として選択する。無線通信品質に基づいて選択する場合、無線通信品質が最良なものから順番に、一定数のスマートメータ2を候補として選択する。ホップ数と無線通信品質の両方に基づいて候補を選択するようにしても構わない。時刻同期は、例えば、1回/1日の頻度で実施する。
As shown in FIG. 4, the host device 1 monitors whether or not it is time synchronization execution time and whether or not data is received (steps S11 and S17). (Step S11: Yes), a smart meter candidate (time information acquisition source meter candidate) that is an acquisition source of information indicating the correct time is selected (step S12). In this step S12, the synchronization partner determining unit 13 determines the time information acquisition source smart meter candidates based on the number of hops from itself (the host device 1), wireless communication quality (for example, electric field strength), that is, Select a reference candidate smart meter. For example, when selecting based on the number of hops, a certain number of smart meters 2 are selected as candidates in order from the smallest number of hops. When selecting based on wireless communication quality, a certain number of smart meters 2 are selected as candidates in order from the best wireless communication quality. Candidates may be selected based on both the number of hops and the wireless communication quality. The time synchronization is performed at a frequency of once / day, for example.
上位装置1の同期相手決定部13は、時刻情報の取得元メータの候補を選択すると、候補として選択した各スマートメータ2に対して、周辺探索を指示する(ステップS13)。具体的には、周辺の他のスマートメータを探索し、発見したスマートメータから時刻情報を収集するよう指示する。同期相手決定部13は、次に、時刻情報の取得元メータの候補それぞれが実施した周辺探索結果(収集した時刻情報)に基づいて、時刻情報の取得元とするスマートメータ、すなわち、基準スマートメータを決定し、さらに、決定した基準スマートメータから時刻情報(時刻情報の取得元としたスマートメータ2のローカル時刻の情報)を取得する(ステップS14)。
When the synchronization partner determination unit 13 of the higher-level device 1 selects a candidate for a time information acquisition source meter, it instructs each smart meter 2 selected as a candidate to perform a peripheral search (step S13). Specifically, another smart meter in the vicinity is searched, and an instruction is given to collect time information from the discovered smart meter. Next, the synchronization partner determination unit 13 selects a smart meter as a time information acquisition source, that is, a reference smart meter, based on the peripheral search results (collected time information) performed by each of the time information acquisition source meter candidates. Further, time information (information on the local time of the smart meter 2 as a time information acquisition source) is acquired from the determined reference smart meter (step S14).
次に、時刻同期制御部12が、ステップS14で取得した時刻情報に従い、計時部11が管理している時刻を調整する(ステップS15)。時刻同期制御部12は、時刻の調整が終了すると、調整後の時刻の情報を無線メッシュネットワーク内の各スマートメータ2へ配信する(ステップS16)。スマートメータ2は、このステップS16で配信した時刻情報を受信すると、受信した時刻情報に従ってローカル時刻を調整する。なお、ステップS16で配信する時刻情報は、基準スマートメータ自身のローカル時刻であるため、基準スマートメータへあえて配信する必要はない。もちろん、上位装置1および基準スマートメータ以外の各スマートメータ2において、基準時刻への同期が完了したことを伝える目的や自身が基準スマートメータであることを伝える目的で、時刻情報を基準スマートメータへ配信してもよい。また、上位装置1が直接通信できない位置にあるスマートメータ2へ基準スマートメータを介して時刻情報を配信するために、時刻情報を基準スマートメータへ配信してもよい。さらに、上位装置1、スマートメータ2、無線メッシュネットワークの構成を簡略化する目的で、他のスマートメータ2と区別せず、基準スマートメータにも時刻情報を配信して、ローカル時刻と同じ時刻情報ではあるが、基準スマートメータにローカル時刻を調整させてもよい。これらの理由から、時刻同期制御部12は、無線メッシュネットワーク内の、少なくとも基準スマートメータ以外の各スマートメータ2へ時刻情報を配信するものといえる。
Next, the time synchronization control unit 12 adjusts the time managed by the time measuring unit 11 in accordance with the time information acquired in step S14 (step S15). When the time adjustment is completed, the time synchronization control unit 12 distributes the adjusted time information to each smart meter 2 in the wireless mesh network (step S16). When the smart meter 2 receives the time information distributed in step S16, the smart meter 2 adjusts the local time according to the received time information. In addition, since the time information distributed in step S16 is the local time of the reference smart meter itself, it is not necessary to distribute it to the reference smart meter. Of course, in each smart meter 2 other than the host device 1 and the reference smart meter, the time information is sent to the reference smart meter for the purpose of notifying that the synchronization with the reference time is completed or notifying that it is the reference smart meter. You may distribute. Further, the time information may be distributed to the reference smart meter in order to distribute the time information via the reference smart meter to the smart meter 2 in a position where the host device 1 cannot communicate directly. Furthermore, in order to simplify the configurations of the host device 1, the smart meter 2, and the wireless mesh network, the time information is distributed to the reference smart meter without being distinguished from other smart meters 2, and the same time information as the local time is obtained. However, the reference smart meter may adjust the local time. For these reasons, it can be said that the time synchronization control unit 12 distributes time information to each smart meter 2 other than at least the reference smart meter in the wireless mesh network.
また、上位装置1のデータ収集部14は、スマートメータ2からデータを受信した場合(ステップS11:No、ステップS17:Yes)、ネットワーク状況のテーブル(以下、ネットワーク状況テーブルと称する)を更新する(ステップS18)。受信するデータは、例えば、検針値と無線通信品質のデータである。ネットワーク状況テーブルは、無線メッシュネットワークを形成している各スマートメータ2までのホップ数、各スマートメータ2との間の無線通信品質などが登録されたテーブルであり、上述したステップS12において時刻情報の取得元メータの候補を選択する際に利用する。ネットワーク状況テーブルの詳細については後述する。ネットワーク状況テーブルは、データ収集部14が保持してもよいし、図示を省略した記憶部が保持してもよい。時刻同期制御部12または同期相手決定部13が保持するようにしても構わない。
Further, when the data collection unit 14 of the host device 1 receives data from the smart meter 2 (step S11: No, step S17: Yes), the network status table (hereinafter referred to as a network status table) is updated ( Step S18). The received data is, for example, meter reading values and wireless communication quality data. The network status table is a table in which the number of hops to each smart meter 2 forming the wireless mesh network, the quality of wireless communication with each smart meter 2, and the like are registered. Used when selecting acquisition source meter candidates. Details of the network status table will be described later. The network status table may be held by the data collection unit 14 or may be held by a storage unit (not shown). The time synchronization control unit 12 or the synchronization partner determination unit 13 may hold it.
図5に示したように、スマートメータ2は、データの送信時刻か否か、時刻情報を受信したか否か、時刻の問い合わせ受けたか否か、周辺探索指示を受けたか否かを監視している(ステップS21からS24)。データ送信時刻の場合(ステップS21:Yes)、計量部24は、検針値と無線通信品質データを上位装置1に向けて送信する(ステップS27)。無線通信品質データは、例えば、1ホップ上位の機器(上位装置1またはスマートメータ2)との間の無線通信品質のデータであり、例えば、電界強度を示す情報である。無線通信品質データは無線通信部26で管理されており、計量部24は、無線通信品質データを無線通信部26から取得し、検針値とともに送信する。ステップS27を実行して検針値と無線通信品質データを送信するタイミングは、予め決められており、計量部24は、例えば、30分毎に検針値と無線通信品質データを送信する。
As shown in FIG. 5, the smart meter 2 monitors whether it is a data transmission time, whether it has received time information, whether it has received a time inquiry, and whether it has received a peripheral search instruction. (Steps S21 to S24). In the case of the data transmission time (step S21: Yes), the measuring unit 24 transmits the meter reading value and the wireless communication quality data to the host device 1 (step S27). The wireless communication quality data is, for example, data of wireless communication quality with a device (host device 1 or smart meter 2) one hop higher, for example, information indicating the electric field strength. The wireless communication quality data is managed by the wireless communication unit 26, and the measuring unit 24 acquires the wireless communication quality data from the wireless communication unit 26 and transmits it together with the meter reading value. The timing at which the meter reading value and the wireless communication quality data are transmitted by executing step S27 is determined in advance, and the measuring unit 24 transmits the meter reading value and the wireless communication quality data, for example, every 30 minutes.
スマートメータ2の時刻同期制御部22は、時刻情報を受信した場合(ステップS22:Yes)、受信した時刻情報に従って自身の時刻(計時部21が管理している時刻)を調整し、時刻情報の送信元の装置の時刻と自身の時刻を同期させる(ステップS28)。また、時刻の問い合わせを受けた場合(ステップS23:Yes)、自身の時刻を示す時刻情報を上位装置1に向けて送信する(ステップS29)。また、スマートメータ2の時刻評価部23は、周辺探索指示を受けた場合(ステップS24:Yes)、周辺のスマートメータ2を探索する(ステップS25)。具体的には、周囲のスマートメータ2に対し、管理している時刻(ローカル時刻)を問い合わせ、周期の各スマートメータ2のローカル時刻の情報を収集する。周辺探索が終了すると、収集したローカル時刻の情報に基づいて時刻品質評価値を算出し、上位装置1へ送信する(ステップS26)。時刻品質評価値の詳細については後述するが、時刻品質評価値は、自身の時刻の信頼性を示す情報である。本実施の形態では、時刻品質評価値が大きい場合、自身の時刻が正しい可能性が高いことを示す場合を例にして説明する。なお、時刻評価部23は、収集したローカル時刻の情報をそのまま上位装置1へ送信し、上位装置1側で時刻品質評価値を算出するようにしても構わない。
When the time synchronization control unit 22 of the smart meter 2 receives the time information (step S22: Yes), the time synchronization control unit 22 adjusts its own time (the time managed by the time measuring unit 21) according to the received time information, The time of the transmission source device is synchronized with the own time (step S28). Further, when a time inquiry is received (step S23: Yes), time information indicating its own time is transmitted to the host device 1 (step S29). In addition, when the time evaluation unit 23 of the smart meter 2 receives a surrounding search instruction (step S24: Yes), the smart meter 2 searches for the surrounding smart meter 2 (step S25). Specifically, the management time (local time) is inquired to surrounding smart meters 2, and information on the local time of each smart meter 2 in the cycle is collected. When the peripheral search is completed, a time quality evaluation value is calculated based on the collected local time information and transmitted to the host device 1 (step S26). Although details of the time quality evaluation value will be described later, the time quality evaluation value is information indicating the reliability of its own time. In the present embodiment, a case where the time quality evaluation value is large and the possibility that the own time is likely to be correct is high will be described as an example. The time evaluation unit 23 may transmit the collected local time information as it is to the higher-level device 1 and calculate a time quality evaluation value on the higher-level device 1 side.
すなわち、上位装置1が時刻品質評価値を算出する場合、またはスマートメータ2が時刻品質評価値を算出する場合のいずれの場合でも、同期相手決定部13は、基準候補スマートメータのローカル時刻および基準候補スマートメータの周囲のスマートメータ2(基準候補スマートメータ2が直接通信可能なスマートメータ2)のローカル時刻に基づいて、基準スマートメータを決定するといえる。よって、上位装置1が時刻品質評価値を取得するとは、上位装置1自身が時刻品質評価値を算出する場合も含んでいるといえる。
That is, in either case where the host device 1 calculates the time quality evaluation value or the smart meter 2 calculates the time quality evaluation value, the synchronization partner determination unit 13 determines the local time and the reference of the reference candidate smart meter. It can be said that the reference smart meter is determined based on the local time of the smart meter 2 around the candidate smart meter (the smart meter 2 to which the reference candidate smart meter 2 can directly communicate). Therefore, it can be said that the host device 1 acquires the time quality evaluation value includes the case where the host device 1 itself calculates the time quality evaluation value.
さらに、上位装置1が時刻品質評価値を算出する場合、基準候補スマートメータからは、基準候補スマートメータの周囲のスマートメータ2(基準候補スマートメータ2が直接通信可能なスマートメータ2)のローカル時刻を基準候補スマートメータ経由で取得せずに、基準候補スマートメータ自身のローカル時刻のみを取得する。次に、取得した基準候補スマートメータのローカル時刻同士を比較して、時刻の信頼性が最も高いローカル時刻を有する基準候補スマートメータを基準スマートメータに決定してもよい。つまり、基準候補スマートメータのローカル時間同士を比較して、それぞれ基準候補スマートメータのローカル時刻ごとの時刻品質評価値を算出し、時刻品質評価値から、時刻の信頼性が最も高いローカル時刻を有する基準候補スマートメータを基準スマートメータに決定することになる。ここでの時刻品質評価値の算出方法も、基準候補スマートメータのローカル時刻および基準候補スマートメータの周囲のスマートメータ2(基準候補スマートメータ2が直接通信可能なスマートメータ2)のローカル時刻から算出する場合と同様であるので、説明は省略する。
Further, when the host device 1 calculates the time quality evaluation value, the local time of the smart meter 2 around the reference candidate smart meter (the smart meter 2 to which the reference candidate smart meter 2 can directly communicate) is determined from the reference candidate smart meter. Is acquired through the reference candidate smart meter, and only the local time of the reference candidate smart meter is acquired. Next, the local time of the acquired reference candidate smart meter may be compared to determine the reference candidate smart meter having the local time with the highest time reliability as the reference smart meter. That is, the local time of the reference candidate smart meter is compared, and the time quality evaluation value for each local time of the reference candidate smart meter is calculated, and the local time with the highest time reliability is obtained from the time quality evaluation value. The reference candidate smart meter is determined as the reference smart meter. The time quality evaluation value calculation method here is also calculated from the local time of the reference candidate smart meter and the local time of the smart meter 2 around the reference candidate smart meter (the smart meter 2 to which the reference candidate smart meter 2 can directly communicate). Since it is the same as that to do, description is abbreviate | omitted.
つづいて、本実施の形態の無線メッシュネットワークにおける全体動作、具体的には、正しい時刻の情報を管理している外部のNTPサーバ等を利用できない場合の時刻同期制御動作について説明する。図6は、図1に示した構成の無線メッシュネットワークにおいて初期の時刻同期を実現するための制御手順の一例を示すシーケンス図である。図6に示したように、上位装置1には、例えば、立ち上げ時などのタイミングにおいて、外部(オペレータ)より正しい時刻の情報が入力さる。正しい時刻の情報が入力された上位装置1においては、時刻同期制御部12が、入力された情報(正しい時刻の情報)に従い、計時部11で管理している時刻を正しい時刻に設定する(ステップS31)。
Next, the overall operation in the wireless mesh network of this embodiment, specifically, the time synchronization control operation when an external NTP server that manages the correct time information cannot be used will be described. FIG. 6 is a sequence diagram showing an example of a control procedure for realizing initial time synchronization in the wireless mesh network having the configuration shown in FIG. As shown in FIG. 6, information on the correct time is input to the host device 1 from the outside (operator) at the timing of startup, for example. In the host device 1 to which the correct time information is input, the time synchronization control unit 12 sets the time managed by the time measuring unit 11 to the correct time in accordance with the input information (correct time information) (step) S31).
上位装置1は、自身の時刻を正しい時刻に設定すると、自身の時刻(計時部11で管理している時刻である基準時刻)の情報を無線メッシュネットワーク内へブロードキャストする(ステップS32)。ブロードキャストされた時刻情報は、上位装置1との直接通信が可能なスマートメータ21から24に到達する。
When the host device 1 sets its own time to the correct time, the host device 1 broadcasts information on its own time (a reference time that is a time managed by the timer unit 11) into the wireless mesh network (step S32). The broadcast time information reaches the smart meters 2 1 to 2 4 that can directly communicate with the host device 1.
スマートメータ21から24は、上位装置1から時刻情報を受信すると、自身の時刻を調整して上位装置1の時刻(基準時刻)に同期させる(ステップS33)。すなわち、スマートメータ21から24において、時刻同期制御部22は、上位装置1から受信した時刻情報に従い、計時部21で管理している時刻を正しい時刻(上位装置1の時刻)に合わせる。
Smart meter 2 1 to 2 4 receives the time information from the host device 1, and adjusts its own time synchronize to the time of the host apparatus 1 (reference time) (step S33). That is, in the smart meter 2 1 to 2 4, the time synchronization control unit 22 in accordance with time information received from the host device 1, set the time managed by the time measuring section 21 to the correct time (time of the host device 1).
スマートメータ21から24は、自身の時刻を正しい時刻に設定すると、時刻の情報を無線メッシュネットワーク内へブロードキャストする(ステップS34)。ブロードキャストされた時刻情報は、スマートメータ21から24との直接通信が可能なスマートメータ25から212に到達する。具体的には、スマートメータ21が送信した時刻情報はスマートメータ25および212に到達し、スマートメータ22が送信した時刻情報はスマートメータ26、27および28に到達し、スマートメータ23が送信した時刻情報はスマートメータ29に到達し、スマートメータ24が送信した時刻情報はスマートメータ210および211に到達する。なお、スマートメータ21から24は、時刻情報のブロードキャストにおいて、自身の時刻の情報を送信してもよいし、上位装置1から受信した時刻情報をそのまま送信(転送)してもよい。前者の場合、送信された時刻情報は、スマートメータ21から24が送信処理を実行した時点の時刻を示し、後者の場合、送信された時刻情報は、上位装置1が送信処理を実行した時点の時刻を示す。
Smart meter 2 1 to 2 4, setting its own time to the correct time, broadcasts the information of the time to the wireless mesh network (step S34). The broadcast time information reaches the smart meters 2 5 to 2 12 that can directly communicate with the smart meters 2 1 to 2 4 . Specifically, the time information transmitted by the smart meter 2 1 reaches the smart meters 2 5 and 2 12 , and the time information transmitted by the smart meter 2 2 reaches the smart meters 2 6 , 2 7 and 2 8 , time information smart meter 2 3 sends reaches the smart meter 2 9, time information smart meter 2 4 transmits arrives at the smart meter 2 10 and 2 11. The smart meters 2 1 to 2 4 may transmit their own time information in the broadcast of time information, or may transmit (transfer) the time information received from the host device 1 as it is. In the former case, the time information transmitted indicates the time at which the smart meters 2 1 to 2 4 executes the transmission process, in the latter case, the time information transmitted, the upper device 1 executes the transmission process Indicates the current time.
スマートメータ25から212は、時刻情報を受信すると、自身の時刻を調整して上位装置1の時刻(基準時刻)に同期させる(ステップS35)。このステップS35におけるスマートメータ25から212の動作は、スマートメータ21から24が上位装置1から時刻情報を受信した場合と同様である。ただし、受信した時刻情報が、上位装置1が送信処理を実行した時点の時刻を示している場合、スマートメータ25から212は、スマートメータ21から24が転送処理を実行することに伴い発生する遅延時間を考慮して時刻を調整する。転送処理に伴い発生する遅延時間は、シミュレーション等を行うことにより事前に把握することができる。各スマートメータ2は、転送処理に伴い発生する遅延時間を予め把握しているものとする。
2 12 from the smart meter 2 5 receives the time information, and adjusts its own time synchronize to the time of the host apparatus 1 (reference time) (step S35). The operations of the smart meters 2 5 to 2 12 in step S35 are the same as when the smart meters 2 1 to 2 4 receive time information from the host device 1. However, when the received time information indicates the time at which the host apparatus 1 executes the transmission process, the smart meters 2 5 to 2 12 are configured to execute the transfer process by the smart meters 2 1 to 2 4. The time is adjusted in consideration of the accompanying delay time. The delay time generated by the transfer process can be grasped in advance by performing a simulation or the like. Each smart meter 2 is assumed to know in advance the delay time that occurs in association with the transfer process.
図6に示したシーケンスに従って上位装置1および各スマートメータ2がステップS31からS35の各処理を実行することにより、無線メッシュネットワークにおいて時刻同期が確立する。
The time synchronization is established in the wireless mesh network by the host device 1 and each smart meter 2 executing the processes in steps S31 to S35 according to the sequence shown in FIG.
無線メッシュネットワークで時刻同期が確立した状態においては、図7に示したように、各スマートメータ2が、定期的に(たとえば30分ごとに)、無線通信品質の情報を検針値とともに上位装置1へ送信する(ステップS41AからS52A)。無線通信品質は、例えば、上位の機器(上位装置1またはスマートメータ2)から受信した信号の受信レベル(電界強度ともいう)および下位の機器(スマートメータ2)から受信した信号の受信レベルの少なくとも一方または双方とする。
In a state in which time synchronization is established in the wireless mesh network, as shown in FIG. 7, each smart meter 2 periodically (for example, every 30 minutes) displays the wireless communication quality information together with the meter reading value as the host device 1. (Steps S41A to S52A). The wireless communication quality is, for example, at least a reception level (also referred to as electric field strength) of a signal received from a higher-level device (high-level device 1 or smart meter 2) and a reception level of a signal received from a lower-level device (smart meter 2). One or both.
上位装置1は、スマートメータ2から無線通信品質の情報を受信するごとに、無線ネットワーク状況を更新する(ステップS41BからS52B)。これらのステップS41BからS52Bにおいて更新する無線ネットワーク状況は、例えば図8に示した構成の情報テーブルであり、この情報テーブルは、上述した「ネットワーク状況テーブル」に相当する。上位装置1は、図8に示したネットワーク状況テーブルを保持しており、無線メッシュネットワークを形成している各スマートメータ2までのホップ数、各スマートメータ2との間の無線通信品質を把握している。
The host device 1 updates the wireless network status every time it receives wireless communication quality information from the smart meter 2 (steps S41B to S52B). The wireless network status updated in steps S41B to S52B is, for example, the information table having the configuration shown in FIG. 8, and this information table corresponds to the “network status table” described above. The host device 1 holds the network status table shown in FIG. 8, and grasps the number of hops to each smart meter 2 forming the wireless mesh network and the quality of wireless communication with each smart meter 2. ing.
図8に示したように、ネットワーク状況テーブルには、「スマートメータID」、「情報取得日時」、「ホップ数」、「1ホップ目のスマートメータ」、「1ホップまでの無線品質」、「2ホップ目のスマートメータ」、「2ホップまでの無線品質」が登録されている。なお、上位装置1から3ホップ目またはそれ以上のスマートメータ2が存在する場合、それら3ホップ目以上のスマートメータに関する情報もネットワーク状況テーブルに登録される。
As shown in FIG. 8, the network status table includes “smart meter ID”, “information acquisition date / time”, “hop count”, “first hop smart meter”, “radio quality up to one hop”, “ The “second hop smart meter” and “wireless quality up to two hops” are registered. In addition, when the smart meter 2 of the 3rd hop or more exists from the high-order apparatus 1, the information regarding the smart meter of the 3rd hop or more is also registered into a network status table.
「スマートメータID」は、無線メッシュネットワークに参入済みの各スマートメータの識別情報である。「情報取得日時」は、対応するスマートメータ2から無線通信品質の情報を取得した日時を示す。「ホップ数」は、対応するスマートメータ2までのホップ数を示す。「1ホップ目のスマートメータ」は、対応するスマートメータ2までの通信経路における1ホップ目のスマートメータ2の識別情報である。「1ホップまでの無線品質」は、1ホップ目のスマートメータ2との間の無線通信品質を示す。「2ホップ目のスマートメータ」は、対応するスマートメータ2までの通信経路における2ホップ目のスマートメータ2の識別情報である。「2ホップまでの無線品質」は、2ホップ目のスマートメータ2との間の無線通信品質を示す。この「2ホップまでの無線品質」に登録する無線品質は、上位装置1と1ホップ目のスマートメータ2との間の無線品質、および、1ホップ目のスマートメータ2と2ホップ目のスマートメータ2との間の無線品質、に基づいて求める。例えば、前者(上位装置1と1ホップ目のスマートメータ2との間の無線品質)と後者(1ホップ目のスマートメータ2と2ホップ目のスマートメータ2との間の無線品質)の平均値を求めて登録する。前夜と後者のうち、品質が悪い方を選択して登録するようにしてもよい。
“Smart meter ID” is identification information of each smart meter that has already entered the wireless mesh network. “Information acquisition date and time” indicates the date and time when wireless communication quality information is acquired from the corresponding smart meter 2. “Number of hops” indicates the number of hops to the corresponding smart meter 2. The “first hop smart meter” is identification information of the first hop smart meter 2 in the communication path to the corresponding smart meter 2. “Radio quality up to one hop” indicates the radio communication quality with the smart meter 2 at the first hop. The “second hop smart meter” is identification information of the second hop smart meter 2 in the communication path to the corresponding smart meter 2. “Radio quality up to two hops” indicates the radio communication quality with the smart meter 2 of the second hop. The wireless quality registered in the “wireless quality up to 2 hops” is the wireless quality between the host device 1 and the first hop smart meter 2 and the first hop smart meter 2 and the second hop smart meter. 2 based on the wireless quality between the two. For example, the average value of the former (the radio quality between the host device 1 and the first hop smart meter 2) and the latter (the radio quality between the first hop smart meter 2 and the second hop smart meter 2) Register for. Of the previous night and the latter, the one with the lower quality may be selected and registered.
また、無線メッシュネットワークで時刻同期が確立した状態を維持するために、上位装置1および各スマートメータ2は、図9および図10に示した動作を定期的に実行し、基準時刻である自身の時刻を補正する。また、基準時刻の情報を各スマートメータ2へ通知し、ローカル時刻を基準時刻に同期させるよう指示する。図9および図10に示した動作(時刻同期制御)を実行する周期は、上位装置1が使用している水晶振動子の性能や、無線メッシュネットワークが適用される自動検針システムの要求仕様などを考慮して決定する。例えば、1日(24時間)周期とする。
Further, in order to maintain the state in which time synchronization is established in the wireless mesh network, the host device 1 and each smart meter 2 periodically execute the operations shown in FIG. 9 and FIG. Correct the time. Further, information on the reference time is notified to each smart meter 2, and an instruction is given to synchronize the local time with the reference time. The period for executing the operation (time synchronization control) shown in FIG. 9 and FIG. 10 depends on the performance of the crystal unit used by the host device 1 and the required specifications of the automatic meter reading system to which the wireless mesh network is applied. Decide in consideration. For example, the cycle is one day (24 hours).
すなわち、上位装置1は、予め決められているタイミングで、無線メッシュネットワークを形成しているスマートメータ21から212の中から、時刻情報の取得元の候補を選択する(図9、ステップS61)。具体的には、各スマートメータ2までのホップ数および無線通信品質のうち少なくとも1つに基づいて、一定数のスマートメータ2を候補として選択する。無線通信品質が悪い場合、再送発生により伝送遅延が大きくなり、取得した時刻情報に含まれる誤差が大きくなる。ホップ数が大きいスマートメータ2から取得した時刻情報に含まれる誤差は、ホップ数が小さいスマートメータ2から取得した時刻情報に含まれる誤差よりも大きくなる傾向がある。そのため、上位装置1は、ホップ数が小さく、かつ無線通信品質の良いスマートメータ2を選択する。例えば、1ホップかつ無線通信品質(電界強度)が上位からN番目までのものを候補として選択する。1ホップのスマートメータ2がN台未満の場合には、2ホップのスマートメータ2の中から無線通信品質が上位のものをさらに選択する。なお、選択する候補の数を固定値とするのではなく、ホップ数と無線通信品質のそれぞれに条件を設定し、条件を満たしたスマートメータ2を候補として選択するようにしてもよい。ここでは、スマートメータ21、22、23および24を選択したものとして説明を続ける。
That is, the host device 1 selects a candidate for obtaining time information from the smart meters 2 1 to 2 12 forming the wireless mesh network at a predetermined timing (FIG. 9, step S61). ). Specifically, a certain number of smart meters 2 are selected as candidates based on at least one of the number of hops to each smart meter 2 and the wireless communication quality. When the wireless communication quality is poor, the transmission delay increases due to the occurrence of retransmission, and the error included in the acquired time information increases. The error included in the time information acquired from the smart meter 2 having a large number of hops tends to be larger than the error included in the time information acquired from the smart meter 2 having a small number of hops. Therefore, the host device 1 selects the smart meter 2 having a small number of hops and good wireless communication quality. For example, 1-hop wireless communication quality (field strength) from the top to the Nth is selected as a candidate. When the number of 1-hop smart meters 2 is less than N, one having a higher wireless communication quality is further selected from the 2-hop smart meters 2. Instead of setting the number of candidates to be selected as a fixed value, a condition may be set for each of the number of hops and wireless communication quality, and the smart meter 2 that satisfies the condition may be selected as a candidate. Here, the description will be continued assuming that the smart meters 2 1 , 2 2 , 2 3 and 2 4 are selected.
上位装置1は、ステップS61を実行して候補を選択すると、次に、選択したスマートメータ21、22、23および24に対し、順次、周辺探索を指示する(ステップS62、S67、S71、S75)。
When the host apparatus 1 executes step S61 and selects a candidate, next, it instructs the selected smart meters 2 1 , 2 2 , 2 3 and 2 4 to sequentially search for surroundings (steps S62, S67, S71, S75).
スマートメータ21は、周辺探索指示を受けると、直接通信が可能な周辺のスマートメータ2に対して時刻を問い合わせるメッセージをブロードキャストする(ステップS63)。このメッセージは、スマートメータ22、24、25、26および212に到達し、受信される。時刻の問い合わせを受けたスマートメータ22、24、25、26および212は、ローカル時刻の情報を返送する(ステップS64)。
Smart meter 2 1 receives the peripheral search instruction broadcasts a message inquiring the time to a smart meter 2 near that enables direct communication (step S63). This message reaches the smart meters 2 2 , 2 4 , 2 5 , 2 6 and 2 12 and is received. The smart meters 2 2 , 2 4 , 2 5 , 2 6 and 2 12 which have received the time inquiry return the local time information (step S 64).
スマートメータ21は、ステップS64で送信された時刻情報を受信すると、自身のローカル時刻の信頼性を示す時刻品質評価値を計算する(ステップS66)。例えば、図11に示したように、周辺のスマートメータ22、24、25、26および212における各ローカルTn(n=2,4,5,6,12)と自身のローカル時刻T1の差分をそれぞれ計算し、差分T1-Tnが規定値(Ts)未満であるスマートメータ2の数(時刻同期装置数Nsと称する)と、周辺探索により検出したスマートメータ2の数(検出数Nと称する)から、時刻品質評価値を算出する。ここでは、(時刻品質評価値)=Ns/Nとする。
Smart meter 2 1 receives the time information transmitted in step S64, to calculate the time quality evaluation value indicating the reliability of the local time of the own (Step S66). For example, as shown in FIG. 11, each local Tn (n = 2 , 4 , 5 , 6, 12 ) and its own local time in the surrounding smart meters 2 2 , 2 4 , 2 5 , 2 6 and 2 12 The difference of T1 is calculated, respectively, the number of smart meters 2 where the difference T1-Tn is less than the specified value (Ts) (referred to as the number of time synchronization devices Ns), and the number of smart meters 2 detected by the peripheral search (the number of detections) N), a time quality evaluation value is calculated. Here, (time quality evaluation value) = Ns / N.
スマートメータ21は、時刻品質評価値の算出が終了すると、評価結果として上位装置1へ送信する(ステップS66)。
Smart meter 2 1, the calculation time quality evaluation value is completed, the evaluation results as to transmit to the host device 1 (step S66).
スマートメータ22、23および24は、周辺探索指示を受けると、スマートメータ21と同様の手順で時刻品質評価値を算出し、上位装置1へ送信する(ステップS67からS78)。
When the smart meters 2 2 , 2 3, and 2 4 receive the surrounding search instruction, the smart meters 2 2 , 2 3, and 2 4 calculate a time quality evaluation value in the same procedure as the smart meter 2 1 and transmit it to the host device 1 (steps S 67 to S 78).
上位装置1は、ステップS61で選択した全ての候補から時刻品質評価値を受信すると、受信した時刻品質評価値を比較し、値が最大の時刻品質評価値、すなわち、時刻品質評価値が最も高い信頼性の値を送信してきたスマートメータ2を時刻情報の取得元である基準スマートメータに決定する(図10、ステップS79)。なお、受信した時刻品質評価値のすべてが一定の値(しきい値)以下の場合には、ステップS61を再度実行して候補を選びなおし、上記のステップS62からS78と同様の処理を実行して時刻品質評価値を再取得するようにしてもよい。ここでは、スマートメータ22を取得元に決定したものとして説明を続ける。
Upon receiving the time quality evaluation values from all candidates selected in step S61, the host device 1 compares the received time quality evaluation values, and the time quality evaluation value having the maximum value, that is, the time quality evaluation value is the highest. The smart meter 2 that has transmitted the reliability value is determined as a reference smart meter from which time information is acquired (step S79 in FIG. 10). If all the received time quality evaluation values are equal to or smaller than a certain value (threshold value), step S61 is executed again to select a candidate, and the same processes as in steps S62 to S78 are executed. The time quality evaluation value may be reacquired. Here, the description will be continued assuming that determine the smart meter 2 2 to retrieve.
上位装置1は、次に、ステップS79で決定したスマートメータ22に対して時刻情報を要求し(ステップS80)、要求を受けたスマートメータ22はローカル時刻を示す時刻情報を上位装置1へ送信する(ステップS81)。
Host device 1 may then request time information to the smart meter 2 2 determined in step S79 (step S80), smart meter 2 which has received the request 2 to the host device 1 the time information indicating the local time Transmit (step S81).
上位装置1は、スマートメータ22から時刻情報を受信すると、自身の時刻をスマートメータ22のローカル時刻に同期させる(ステップS82)。すなわち、自身の時刻を調整し、受信した時刻情報が示している時刻(スマートメータ22のローカル時刻)に合わせる。次に、上位装置1は、自身の時刻(基準時刻)の情報を無線メッシュネットワーク内へブロードキャストする(ステップS83)。各スマートメータ2は、基準時刻の情報を受信すると、ローカル時刻を調整して基準時刻に合わせる(ステップS84からS86)。なお、ステップS83からS86の処理は、図6に示したステップS32からS35の処理と同様である。
Host device 1 receives the time information from the smart meter 2 2, synchronize its time to the local time of the smart meter 2 2 (step S82). That is, by adjusting its time, adjusted to the time at which the received time information indicates (local time of the smart meter 2 2). Next, the host device 1 broadcasts its own time (reference time) information into the wireless mesh network (step S83). When each smart meter 2 receives the reference time information, it adjusts the local time to the reference time (steps S84 to S86). Note that the processing of steps S83 to S86 is the same as the processing of steps S32 to S35 shown in FIG.
上記のステップS61において、1ホップ目のスマートメータ2を候補として選択することにより、転送処理に伴う伝送遅延を最小に抑えることができる。また、電界強度が規定値以上のものを選択することにより、マルチホップを用いた無線メッシュネットワークの特徴である経路の動的な切り替わりの影響を受けにくくし、一度選択したスマートメータ2が常に1ホップ目となるようにしている。
In step S61 described above, by selecting the first hop smart meter 2 as a candidate, the transmission delay associated with the transfer process can be minimized. In addition, by selecting a field whose electric field strength is greater than a specified value, it is less susceptible to the dynamic switching of the route, which is a feature of a wireless mesh network using multi-hops. I try to be a hop.
また、上記のステップS79においては、時刻品質評価値が最も大きいスマートメータ2、すなわち、周囲との時刻差が最も小さいスマートメータ2を時刻情報の取得元に決定するので、電源品質に影響を与えるノイズが局所的に発生し、周囲と時刻がずれているスマートメータ2が存在する場合にそれを選択することがない。このとき、検出数を時刻品質評価値に入れることで、検出数が少ないが周囲との時刻差が少ないようなスマートメータでも基準時計の候補として残すようにしている。図12を用いて具体例を説明する。
In step S79, the smart meter 2 having the largest time quality evaluation value, that is, the smart meter 2 having the smallest time difference from the surroundings is determined as the time information acquisition source, which affects the power supply quality. When there is a smart meter 2 in which noise occurs locally and the time is shifted from that of the surrounding area, it is not selected. At this time, by inserting the number of detections into the time quality evaluation value, even a smart meter with a small number of detections but a small time difference from the surroundings is left as a reference clock candidate. A specific example will be described with reference to FIG.
図12では、スマートメータ22および23がノイズの影響を受け、時刻が周囲より10秒進んでいるものとする。また、スマートメータ21が送信した信号はスマートメータ212のみに到達し、スマートメータ24が送信した信号はスマートメータ211のみに到達し、スマートメータ22が送信した信号はスマートメータ23、26、27および28に到達し、スマートメータ23が送信した信号はスマートメータ22、28、29,および210に到達するものとする。この時、時刻の差が規定値(ここでは仮に5秒とする)以内のものをカウントすると、図12に示した表の「評価値(検出数を入れないケース)」のようになり、ノイズの影響を受けているスマートメータ22および23と影響を受けていないスマートメータ21および24の評価値が同等となる。検出数を評価値にいれることで、図12に示した表の「評価値(検出数を入れたケース)」に示すように、ノイズの影響を受けているスマートメータ22および23の評価値が下がるため、時刻にずれが生じているスマートメータを選択することがなくなる。
In FIG. 12, it is assumed that the smart meters 2 2 and 2 3 are affected by noise, and the time is advanced by 10 seconds from the surroundings. The signal transmitted from the smart meter 2 1 reaches only the smart meter 2 12, the signal transmitted from the smart meter 2 4 reaches only the smart meter 2 11 , and the signal transmitted from the smart meter 2 2 is transmitted to the smart meter 2. 3 , 2 6 , 2 7 and 2 8 , and the signal transmitted by the smart meter 2 3 reaches the smart meters 2 2 , 2 8 , 2 9 , and 2 10 . At this time, if the difference in time is within the specified value (here, assumed to be 5 seconds), it becomes like the “evaluation value (case in which the number of detections are not included)” in the table shown in FIG. The evaluation values of the smart meters 2 2 and 2 3 that are affected by and the smart meters 2 1 and 2 4 that are not affected are the same. By putting the number of detections in the evaluation value, as shown in the “evaluation value (case including the number of detections)” in the table shown in FIG. 12, the evaluation of the smart meters 2 2 and 2 3 affected by noise Since the value is lowered, it is not possible to select a smart meter having a time lag.
このように、本実施の形態の無線メッシュネットワークにおいて、上位装置1は、高精度な時計である電源同期方式の時計を備えているスマートメータ2の中から正しい時刻を管理しているスマートメータ2を選択し、選択したスマートメータ2のローカル時刻に自身の時刻が同期するよう調整するとともに、調整後の時刻の情報を無線メッシュネットワーク内に配信してローカル時刻を自身の時刻に同期させるよう各スマートメータ2に指示することとした。また、正しい時刻を管理しているスマートメータ2として、自身からのホップ数が少なくかつ無線通信品質が良好であるとともに、ローカル時刻と周囲のスマートメータ2のローカル時刻の誤差が少ないものを選択することとした。これにより、例えば、外部のNTPサーバなどから正しい時刻の情報を取得するのが難しい場所に上位装置1が設置されている場合においても、上位装置1が管理している基準時刻を正しい時刻に合わせることができるとともに、ノイズの影響を受けてずれが生じているスマートメータ2の時刻を基準時刻に再同期させることができる。
As described above, in the wireless mesh network according to the present embodiment, the host device 1 manages the correct time among the smart meters 2 provided with the power-synchronous clock that is a highly accurate clock. To adjust the own time to synchronize with the local time of the selected smart meter 2, and to distribute the information of the adjusted time in the wireless mesh network so that the local time is synchronized with the own time. It was decided to instruct the smart meter 2. Further, as the smart meter 2 managing the correct time, a smart meter 2 having a small number of hops from itself and good wireless communication quality, and having a small error between the local time and the local time of the surrounding smart meter 2 is selected. It was decided. Thereby, for example, even when the host device 1 is installed in a place where it is difficult to obtain correct time information from an external NTP server, the reference time managed by the host device 1 is adjusted to the correct time. In addition, it is possible to resynchronize the time of the smart meter 2 in which a shift occurs due to the influence of noise with the reference time.
実施の形態2.
実施の形態1の上位装置1は、時刻同期が確立した状態を維持するための動作(図9および図10に示した動作)において、時刻情報の取得元の候補を毎回同じ手順で選択し、選択した各候補に対して周辺探索を指示し、時刻品質評価値を収集することとした。しかし、各スマートメータ2が設置されている場所が変化する可能性が低く、また、ノイズの発生源となるインバータ等の場所が変化する可能性も低い。すなわち、ローカル時刻にずれが生じるスマートメータ2は常に同じ可能性が高い。そのため、上位装置1は、例えば、予め規定しておいた許容値よりも低い時刻品質評価値を送信してきたスマートメータ2については、次回以降の時刻同期制御において、時刻情報の取得元候補から予め除外するようにしてもよい。これにより、不要な周辺探索シーケンスが実行されるのを防止できる。Embodiment 2. FIG.
In the operation for maintaining the state in which time synchronization is established (the operation shown in FIGS. 9 and 10), thehost device 1 according to the first embodiment selects the time information acquisition source candidate in the same procedure every time. A peripheral search is instructed for each selected candidate, and time quality evaluation values are collected. However, the place where each smart meter 2 is installed is less likely to change, and the place such as an inverter that is a source of noise is less likely to change. That is, the smart meter 2 in which the local time is shifted is always likely to be the same. For this reason, for example, for the smart meter 2 that has transmitted a time quality evaluation value lower than a predetermined allowable value, the host device 1 preliminarily obtains the time information acquisition source candidate from the next time synchronization control. You may make it exclude. Thereby, it is possible to prevent an unnecessary peripheral search sequence from being executed.
実施の形態1の上位装置1は、時刻同期が確立した状態を維持するための動作(図9および図10に示した動作)において、時刻情報の取得元の候補を毎回同じ手順で選択し、選択した各候補に対して周辺探索を指示し、時刻品質評価値を収集することとした。しかし、各スマートメータ2が設置されている場所が変化する可能性が低く、また、ノイズの発生源となるインバータ等の場所が変化する可能性も低い。すなわち、ローカル時刻にずれが生じるスマートメータ2は常に同じ可能性が高い。そのため、上位装置1は、例えば、予め規定しておいた許容値よりも低い時刻品質評価値を送信してきたスマートメータ2については、次回以降の時刻同期制御において、時刻情報の取得元候補から予め除外するようにしてもよい。これにより、不要な周辺探索シーケンスが実行されるのを防止できる。
In the operation for maintaining the state in which time synchronization is established (the operation shown in FIGS. 9 and 10), the
なお、許容値よりも低い時刻品質評価値を1回だけ送信してきた場合に直ちに候補から除外するのではなく、許容値よりも低い時刻品質評価値の送信回数が一定値に達した場合に候補から除外するようにしてもよい。
In addition, when a time quality evaluation value lower than the allowable value is transmitted only once, it is not immediately excluded from the candidates, but when the number of times of transmission of the time quality evaluation value lower than the allowable value reaches a certain value You may make it exclude from.
実施の形態3.
実施の形態1および2の上位装置1は、時刻同期が確立した状態を維持するための動作(図9および図10に示した動作)において、時刻情報の取得元の候補を選択した後、全ての候補に対して順番に周辺探索を指示し、時刻品質評価値を取得することとした。しかし、一定条件を満たす時刻品質評価値を受信した場合、例えば、受信した時刻品質評価値が、5台以上のスマートメータ2を発見し、かつ発見した全てのスマートメータ2と同じ時刻であることを示している場合、この時刻品質評価値の送信元のスマートメータ2のローカル時刻は正しい可能性が高い。そのため、一定条件を満たす時刻品質評価値の送信元のスマートメータ2から時刻情報を取得することに決定し、残りの候補に対しては周辺探索を指示しないようにしてもよい。これにより、不必要に周辺探索が実施されるのを回避し、トラフィックが増加するのを防止できる。 Embodiment 3 FIG.
In the operation for maintaining the state in which time synchronization is established (the operation shown in FIGS. 9 and 10), thehost device 1 according to the first and second embodiments selects all the candidates for the time information acquisition source, The candidate is instructed to search the surroundings in order, and the time quality evaluation value is acquired. However, when a time quality evaluation value satisfying a certain condition is received, for example, the received time quality evaluation value is found to be five or more smart meters 2 and the same time as all the smart meters 2 found. , The local time of the smart meter 2 that is the transmission source of the time quality evaluation value is likely to be correct. Therefore, it may be decided to acquire time information from the smart meter 2 that is the transmission source of the time quality evaluation value that satisfies a certain condition, and the peripheral search may not be instructed for the remaining candidates. As a result, it is possible to avoid unnecessary searching around and prevent traffic from increasing.
実施の形態1および2の上位装置1は、時刻同期が確立した状態を維持するための動作(図9および図10に示した動作)において、時刻情報の取得元の候補を選択した後、全ての候補に対して順番に周辺探索を指示し、時刻品質評価値を取得することとした。しかし、一定条件を満たす時刻品質評価値を受信した場合、例えば、受信した時刻品質評価値が、5台以上のスマートメータ2を発見し、かつ発見した全てのスマートメータ2と同じ時刻であることを示している場合、この時刻品質評価値の送信元のスマートメータ2のローカル時刻は正しい可能性が高い。そのため、一定条件を満たす時刻品質評価値の送信元のスマートメータ2から時刻情報を取得することに決定し、残りの候補に対しては周辺探索を指示しないようにしてもよい。これにより、不必要に周辺探索が実施されるのを回避し、トラフィックが増加するのを防止できる。 Embodiment 3 FIG.
In the operation for maintaining the state in which time synchronization is established (the operation shown in FIGS. 9 and 10), the
このとき、上位装置1は、時刻情報の取得元の候補を選択した後、ホップ数が少なく、かつ無線通信品質が良い候補から順番に、周辺探索を指示するようにしてもよい。これにより、一定条件を満たす時刻品質評価値をより早く受信し、時刻情報の取得元を決定できる可能性が高くなるので、時刻情報の取得元を決定するまでの所要時間を短縮できる。また、不要な周辺探索が実施されるのを回避できる。
At this time, after selecting the time information acquisition source candidate, the host device 1 may instruct the peripheral search in order from the candidate with the smallest number of hops and good wireless communication quality. This increases the possibility of receiving a time quality evaluation value that satisfies a certain condition earlier and determining the acquisition source of time information, thereby reducing the time required to determine the acquisition source of time information. Further, it is possible to avoid performing an unnecessary peripheral search.
実施の形態4.
実施の形態1、2および3の上位装置1は、時刻同期が確立した状態を維持するための動作(図9および図10に示した動作)において、時刻情報の取得元の候補を最新の無線通信品質に基づいて選択することとした。しかし、無線通信品質は不安定であり、時間の経過とともに変動する可能性がある。そのため、上位装置1は、各スマートメータ2から検針値および無線通信品質を受信するごとに、その時点の各スマートメータ2までのホップ数および受信した無線通信品質に基づいてネットワーク状況テーブル(図8参照)を生成して記憶しておく。そして、時刻同期が確立した状態を維持するための動作を前回実施した後に生成した複数のネットワーク状況テーブルに基づいて、時刻情報の取得元の候補を選択するようにしてもよい。Embodiment 4 FIG.
Thehost device 1 according to the first, second, and third embodiments sets the time information acquisition source candidate as the latest radio in the operation for maintaining the state in which time synchronization is established (the operation illustrated in FIGS. 9 and 10). The selection was made based on the communication quality. However, wireless communication quality is unstable and may vary with time. Therefore, each time the host device 1 receives the meter reading value and the wireless communication quality from each smart meter 2, the upper level device 1 determines the network status table (FIG. 8) based on the number of hops to each smart meter 2 and the received wireless communication quality. Reference) is generated and stored. Then, based on a plurality of network status tables generated after the previous operation for maintaining the state in which time synchronization is established, a candidate for obtaining time information may be selected.
実施の形態1、2および3の上位装置1は、時刻同期が確立した状態を維持するための動作(図9および図10に示した動作)において、時刻情報の取得元の候補を最新の無線通信品質に基づいて選択することとした。しかし、無線通信品質は不安定であり、時間の経過とともに変動する可能性がある。そのため、上位装置1は、各スマートメータ2から検針値および無線通信品質を受信するごとに、その時点の各スマートメータ2までのホップ数および受信した無線通信品質に基づいてネットワーク状況テーブル(図8参照)を生成して記憶しておく。そして、時刻同期が確立した状態を維持するための動作を前回実施した後に生成した複数のネットワーク状況テーブルに基づいて、時刻情報の取得元の候補を選択するようにしてもよい。
The
例えば、複数記憶しているネットワーク状況テーブルのうち、1ホップのスマートメータ数が最も少ないテーブルを参照し、その中で1ホップかつ無線通信品質が最も良いものから順番に、時刻情報の取得元の候補を選択する。これにより、無線ネットワーク状況(ホップ数と無線通信品質)が安定しているスマートメータ2を選択することができる。
For example, referring to the table having the smallest number of 1-hop smart meters among a plurality of stored network status tables, the source of time information acquisition is in order from the one with the best wireless communication quality among them. Select a candidate. Thereby, the smart meter 2 in which the wireless network status (the number of hops and the wireless communication quality) is stable can be selected.
または、例えば、複数記憶しているネットワーク状況テーブルのそれぞれに登録されている情報から、各スマートメータ2について、1ホップとなる回数と、無線通信品質がもっともよくなる回数(他のスマートメータ2のいずれよりも無線通信品質がよい状態の回数)とを計算し、両者の合計値が最も大きいスマートメータから順番に、時刻情報の取得元の候補を選択する。この場合にも、無線ネットワーク状況が安定しているスマートメータ2を選択することができる。
Or, for example, from the information registered in each of a plurality of stored network status tables, for each smart meter 2, the number of times of one hop and the number of times that wireless communication quality is the best (any of the other smart meters 2 The number of times when the wireless communication quality is better than) is calculated, and the candidate of the acquisition source of the time information is selected in order from the smart meter having the largest total value of both. Also in this case, the smart meter 2 whose wireless network status is stable can be selected.
なお、説明を簡単化するため、各実施の形態では無線メッシュネットワークが上位装置1とスマートメータ2により形成されているものとして説明を行ったが、上位装置1とスマートメータ2の間で送受信されるデータの中継を行う中継装置(例えば、スマートメータから計量部24を取り除いた構成の装置)が無線メッシュネットワークに含まれた構成としても構わない。
In order to simplify the description, in each embodiment, the wireless mesh network has been described as being formed by the host device 1 and the smart meter 2, but is transmitted and received between the host device 1 and the smart meter 2. A relay device that relays data (for example, a device having a configuration in which the measuring unit 24 is removed from the smart meter) may be included in the wireless mesh network.
また、各実施の形態では、各スマートメータ2の計時部21は電源同期方式の時計として説明を行ったが、計時部21としては、電波時計を各スマートメータ2に用いた場合でも、各スマートメータ2の設置環境によっては、電波が受信できないため、電源同期方式の電源系統ノイズの場合と同様に、当該スマートメータの時刻が大きくずれてしまうことがある。このような電波時計を各スマートメータ2に用いた場合にも本発明を適用可能であり、同様の効果を奏するものである。
In each embodiment, the timekeeping unit 21 of each smart meter 2 has been described as a power-synchronized timepiece. However, as the timekeeping unit 21, even when a radio timepiece is used for each smart meter 2, Depending on the installation environment of the meter 2, since radio waves cannot be received, the time of the smart meter may be greatly shifted as in the case of power supply system noise of the power supply synchronization method. The present invention can also be applied to the case where such a radio timepiece is used for each smart meter 2, and the same effect can be achieved.
以上のように、本発明にかかる通信装置は、無線メッシュネットワークを用いた自動検針システムにおいて、基準となる時刻を管理する通信装置として有用である。
As described above, the communication device according to the present invention is useful as a communication device for managing a reference time in an automatic meter reading system using a wireless mesh network.
1 上位装置、21から212 スマートメータ、11,21 計時部、12,22 時刻同期制御部、13 同期相手決定部、14 データ収集部、15 ネットワーク管理部、16,25 無線通信部、23 時刻評価部、24 計量部、25 経路管理部。
DESCRIPTION OF SYMBOLS 1 Host apparatus, 2 1 to 2 12 Smart meter, 11, 21 Time measuring part, 12, 22 Time synchronization control part, 13 Synchronization partner determination part, 14 Data collection part, 15 Network management part, 16, 25 Wireless communication part, 23 Time evaluation unit, 24 weighing unit, 25 route management unit.
Claims (12)
- 各スマートメータとともに無線メッシュネットワークを形成する通信装置であって、
前記各スマートメータまでのホップ数および前記各スマートメータとの間の無線通信品質のうち少なくとも一つに基づいて、前記各スマートメータのうちから、自装置のローカル時刻を同期させる基準スマートメータの候補となる基準候補スマートメータを選択し、
前記基準候補スマートメータのローカル時刻および前記基準候補スマートメータが直接通信可能な前記各スマートメータのローカル時刻に基づいて、前記基準スマートメータを決定する同期相手決定部と、
自装置のローカル時刻を調整して前記基準スマートメータのローカル時刻に同期させ、さらに、自装置のローカル時刻の情報を前記無線メッシュネットワーク内の、少なくとも前記基準スマートメータ以外の前記各スマートメータへ配信する時刻同期制御部と、
を備えることを特徴とする通信装置。 A communication device that forms a wireless mesh network with each smart meter,
Based on at least one of the number of hops to each smart meter and the wireless communication quality with each smart meter, a candidate for a reference smart meter that synchronizes the local time of its own device from each of the smart meters. Select the standard candidate smart meter to be
A synchronization partner determination unit that determines the reference smart meter based on the local time of the reference candidate smart meter and the local time of each smart meter with which the reference candidate smart meter can directly communicate;
The local time of the own device is adjusted to synchronize with the local time of the reference smart meter, and further, the local time information of the own device is distributed to at least each of the smart meters other than the reference smart meter in the wireless mesh network. A time synchronization control unit,
A communication apparatus comprising: - 前記同期相手決定部は、
前記基準候補スマートメータから、前記基準候補スマートメータのローカル時刻と、前記基準候補スマートメータが直接通信可能な前記各スマートメータのローカル時刻とを、それぞれ比較して得られる前記基準候補スマートメータのローカル時刻ごとの信頼性を示す時刻品質評価値を取得し、
前記時刻品質評価値が最も高い信頼性の値である前記基準候補スマートメータを前記基準スマートメータに決定する、
ことを特徴とする請求項1に記載の通信装置。 The synchronization partner determination unit
From the reference candidate smart meter, the local time of the reference candidate smart meter obtained by comparing the local time of the reference candidate smart meter with the local time of each smart meter with which the reference candidate smart meter can directly communicate. Obtain a time quality evaluation value indicating the reliability of each time,
Determining the reference candidate smart meter whose time quality evaluation value is the highest reliability value as the reference smart meter;
The communication apparatus according to claim 1. - 前記同期相手決定部は、
前記ホップ数が少ないものを優先させ、かつホップ数が同じ場合には前記無線通信品質が良いものを優先させて、前記基準候補スマートメータを選択する、
ことを特徴とする請求項2に記載の通信装置。 The synchronization partner determination unit
Priority is given to those with a small number of hops, and if the number of hops is the same, priority is given to those with good wireless communication quality, and the reference candidate smart meter is selected.
The communication device according to claim 2. - 前記同期相手決定部は、
前記各スマートメータとの間の無線通信品質が測定されるごとに、測定された無線通信品質と前記各スマートメータまでのホップ数が登録されたテーブルを記憶し、
自装置のローカル時刻を同期させるスマートメータを決定する処理を前回実施した後に記憶したテーブルのうち、登録されている1ホップのスマートメータの数が最も少ないテーブルを参照し、1ホップかつ無線通信品質が最も良いものから順番に、前記基準候補スマートメータを選択する、
ことを特徴とする請求項2に記載の通信装置。 The synchronization partner determination unit
Each time the wireless communication quality between each smart meter is measured, a table storing the measured wireless communication quality and the number of hops to each smart meter is stored.
Refers to the table with the smallest number of registered 1-hop smart meters among the tables stored after the previous process of determining the smart meter to synchronize the local time of its own device, and the 1-hop wireless communication quality In order from the best, select the reference candidate smart meter,
The communication device according to claim 2. - 前記同期相手決定部は、
前記各スマートメータとの間の無線通信品質が測定されるごとに、測定された無線通信品質と前記各スマートメータまでのホップ数が登録されたテーブルを記憶し、
自装置のローカル時刻を同期させるスマートメータを決定する処理を前回実施した後に記憶したテーブルの各々に登録されている情報から、スマートメータごとに、1ホップとなる回数および無線通信品質が最も良くなる回数を計算し、計算した2つの値の合計値が最も大きいスマートメータから順番に、前記基準候補スマートメータを選択する、
ことを特徴とする請求項2に記載の通信装置。 The synchronization partner determination unit
Each time the wireless communication quality between each smart meter is measured, a table storing the measured wireless communication quality and the number of hops to each smart meter is stored.
From the information registered in each of the tables stored after the previous process of determining the smart meter that synchronizes the local time of its own device, the number of 1 hops and the wireless communication quality are the best for each smart meter. The number of times is calculated, and the reference candidate smart meter is selected in order from the smart meter having the largest total value of the two calculated values.
The communication device according to claim 2. - 前記同期相手決定部は、
前記時刻品質評価値を過去に算出済みのスマートメータのうち、過去に算出した時刻品質評価値が予め規定されている許容値よりも低いスマートメータについては、前記基準候補スマートメータから予め除外しておく、
ことを特徴とする請求項2から5のいずれか一つに記載の通信装置。 The synchronization partner determination unit
Among the smart meters whose time quality evaluation values have been calculated in the past, smart meters whose time quality evaluation values calculated in the past are lower than a predetermined allowable value are excluded in advance from the reference candidate smart meter. deep,
The communication device according to any one of claims 2 to 5, wherein: - 前記同期相手決定部は、
選択された前記基準候補スマートメータの各々に対して順番に、
前記基準候補スマートメータから、前記基準候補スマートメータのローカル時刻と、前記基準候補スマートメータが直接通信可能な前記各スマートメータのローカル時刻とを、それぞれ比較して得られる前記基準候補スマートメータのローカル時刻ごとの信頼性を示す時刻品質評価値の算出を指示し、
一定の値に達している前記時刻品質評価値を算出したスマートメータを検知した場合、当該検知したスマートメータを前記基準スマートメータに決定する、
ことを特徴とする請求項1に記載の通信装置。 The synchronization partner determination unit
In turn for each of the selected reference candidate smart meters,
From the reference candidate smart meter, the local time of the reference candidate smart meter obtained by comparing the local time of the reference candidate smart meter with the local time of each smart meter with which the reference candidate smart meter can directly communicate. Instructed to calculate the time quality evaluation value indicating the reliability of each time,
When the smart meter that has calculated the time quality evaluation value reaching a certain value is detected, the detected smart meter is determined as the reference smart meter.
The communication apparatus according to claim 1. - 前記同期相手決定部は、
選択された前記基準候補スマートメータの各々に対して、無線通信品質が最も良いものから順番に、前記時刻品質評価値の算出を指示する、
ことを特徴とする請求項7に記載の通信装置。 The synchronization partner determination unit
Instructing each of the selected reference candidate smart meters to calculate the time quality evaluation value in order from the wireless communication quality that is the best,
The communication apparatus according to claim 7. - 自動検針システムにおいて、検針値を収集する上位装置とともに無線メッシュネットワークを形成するスマートメータであって、
直接通信が可能な他のスマートメータの各々のローカル時刻および自身のローカル時刻に基づいて、自身のローカル時刻の信頼性を示す時刻品質評価値を算出して前記上位装置へ送信する時刻評価部、
を備えることを特徴とするスマートメータ。 In an automatic meter reading system, a smart meter that forms a wireless mesh network with a host device that collects meter reading values,
A time evaluation unit that calculates a time quality evaluation value indicating the reliability of its own local time based on the local time of each of the other smart meters capable of direct communication and its own local time, and transmits the time quality evaluation value to the host device.
A smart meter characterized by comprising: - 前記時刻評価部は、
自装置のローカル時刻を直接通信が可能な他のスマートメータの各ローカル時刻と個別に比較し、ローカル時刻が自装置のローカル時刻と同期しているスマートメータが、前記直接通信が可能な他のスマートメータの中に何台存在するかを示す情報、を算出して前記時刻品質評価値とする、
ことを特徴とする請求項9に記載のスマートメータ。 The time evaluation unit
The local time of the local device is individually compared with the local time of other smart meters capable of direct communication, and the smart meter whose local time is synchronized with the local time of the local device Information indicating how many units are present in the smart meter, and the time quality evaluation value,
The smart meter according to claim 9. - 各スマートメータおよび当該スマートメータから検針値を収集する上位装置を含んで構成された無線メッシュネットワークであって、
前記スマートメータは、
自身のローカル時刻の信頼性を示す時刻品質評価値を算出して上位装置へ送信する時刻評価部、
を備え
前記上位装置は、
前記各スマートメータまでのホップ数および前記各スマートメータとの間の無線通信品質のうち少なくとも1つに基づいて、前記各スマートメータから時刻同期の基準の候補となる基準候補スマートメータを選択し、選択された前記基準候補スマートメータが算出した前記時刻品質評価値に基づいて、前記基準スマートメータを決定する同期相手決定部と、
自装置のローカル時刻を調整して前記基準スマートメータのローカル時刻に同期させ、前記自装置のローカル時刻の情報を前記無線メッシュネットワーク内の、少なくとも前記基準スマートメータ以外の前記各スマートメータへ配信する時刻同期制御部と、
を備えることを特徴とする無線メッシュネットワーク。 A wireless mesh network configured to include each smart meter and a host device that collects meter reading values from the smart meter,
The smart meter is
A time evaluation unit that calculates a time quality evaluation value indicating the reliability of its own local time and transmits it to the host device;
The host device comprises:
Based on at least one of the number of hops to each smart meter and the wireless communication quality between each smart meter, a reference candidate smart meter that is a candidate for time synchronization reference is selected from each smart meter; A synchronization partner determination unit that determines the reference smart meter based on the time quality evaluation value calculated by the selected reference candidate smart meter;
The local time of the own device is adjusted and synchronized with the local time of the reference smart meter, and information on the local time of the own device is distributed to each smart meter other than the reference smart meter in the wireless mesh network. A time synchronization control unit;
A wireless mesh network comprising: - 前記基準候補スマートメータは、自身が直接通信可能な自身以外の前記各スマートメータのローカル時刻および自身のローカル時刻から時刻品質評価値を算出することを特徴とする請求項11に記載の無線メッシュネットワーク。 The wireless mesh network according to claim 11, wherein the reference candidate smart meter calculates a time quality evaluation value from a local time of each of the smart meters other than itself capable of directly communicating with the reference candidate smart meter and its own local time. .
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2014/066735 WO2015198403A1 (en) | 2014-06-24 | 2014-06-24 | Communication device, smart meter, and wireless mesh network |
JP2014551480A JP5774240B1 (en) | 2014-06-24 | 2014-06-24 | Communication device, smart meter and wireless mesh network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2014/066735 WO2015198403A1 (en) | 2014-06-24 | 2014-06-24 | Communication device, smart meter, and wireless mesh network |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015198403A1 true WO2015198403A1 (en) | 2015-12-30 |
Family
ID=54192525
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2014/066735 WO2015198403A1 (en) | 2014-06-24 | 2014-06-24 | Communication device, smart meter, and wireless mesh network |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP5774240B1 (en) |
WO (1) | WO2015198403A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105824233A (en) * | 2016-06-02 | 2016-08-03 | 南京林洋电力科技有限公司 | Initiative time service module based on Beidou/GPS and ammeter initiative time service method |
JP2017139520A (en) * | 2016-02-01 | 2017-08-10 | 株式会社東芝 | Control system, communication method, communication device, and terminal device |
JP2017228260A (en) * | 2016-06-25 | 2017-12-28 | ムサシノ機器株式会社 | Measurement system |
CN110392373A (en) * | 2019-08-05 | 2019-10-29 | 深圳市久通物联科技股份有限公司 | A kind of wireless self-networking method and system applied to intelligent electronic lock |
JP2021507613A (en) * | 2017-12-19 | 2021-02-22 | クゥアルコム・インコーポレイテッドQualcomm Incorporated | Time synchronization for wireless communication |
JP2021523622A (en) * | 2018-05-08 | 2021-09-02 | ランディス・ギア イノベーションズ インコーポレイテッドLandis+Gyr Innovations, Inc. | Informational element indicating loss of backhaul connection |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010170243A (en) * | 2009-01-21 | 2010-08-05 | Sumitomo Electric Ind Ltd | Roadside communication equipment |
JP2013017178A (en) * | 2011-07-04 | 2013-01-24 | Mitsubishi Electric R&D Centre Europe B.V. | Methods, system, communication device, and server device for performing synchronization and compensating clock drift among plurality of communication devices interconnected to form mesh communications network |
JP2013153400A (en) * | 2011-12-27 | 2013-08-08 | Mitsubishi Electric Corp | Radio communication system, radio communication device, and reference device |
-
2014
- 2014-06-24 WO PCT/JP2014/066735 patent/WO2015198403A1/en active Application Filing
- 2014-06-24 JP JP2014551480A patent/JP5774240B1/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010170243A (en) * | 2009-01-21 | 2010-08-05 | Sumitomo Electric Ind Ltd | Roadside communication equipment |
JP2013017178A (en) * | 2011-07-04 | 2013-01-24 | Mitsubishi Electric R&D Centre Europe B.V. | Methods, system, communication device, and server device for performing synchronization and compensating clock drift among plurality of communication devices interconnected to form mesh communications network |
JP2013153400A (en) * | 2011-12-27 | 2013-08-08 | Mitsubishi Electric Corp | Radio communication system, radio communication device, and reference device |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017139520A (en) * | 2016-02-01 | 2017-08-10 | 株式会社東芝 | Control system, communication method, communication device, and terminal device |
CN105824233A (en) * | 2016-06-02 | 2016-08-03 | 南京林洋电力科技有限公司 | Initiative time service module based on Beidou/GPS and ammeter initiative time service method |
JP2017228260A (en) * | 2016-06-25 | 2017-12-28 | ムサシノ機器株式会社 | Measurement system |
JP2021507613A (en) * | 2017-12-19 | 2021-02-22 | クゥアルコム・インコーポレイテッドQualcomm Incorporated | Time synchronization for wireless communication |
JP7314140B2 (en) | 2017-12-19 | 2023-07-25 | クゥアルコム・インコーポレイテッド | Time synchronization for wireless communication |
JP2021523622A (en) * | 2018-05-08 | 2021-09-02 | ランディス・ギア イノベーションズ インコーポレイテッドLandis+Gyr Innovations, Inc. | Informational element indicating loss of backhaul connection |
JP7303829B2 (en) | 2018-05-08 | 2023-07-05 | ランディス・ギア イノベーションズ インコーポレイテッド | Information element indicating loss of backhaul connection |
CN110392373A (en) * | 2019-08-05 | 2019-10-29 | 深圳市久通物联科技股份有限公司 | A kind of wireless self-networking method and system applied to intelligent electronic lock |
Also Published As
Publication number | Publication date |
---|---|
JPWO2015198403A1 (en) | 2017-04-20 |
JP5774240B1 (en) | 2015-09-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5774240B1 (en) | Communication device, smart meter and wireless mesh network | |
EP2143210B1 (en) | Apparatus and method for intelligent frequency-hopping discovery and synchronization | |
KR101275548B1 (en) | Node in a Wireless System and Method for Time and Frequency Synchronizing Nodes in a Wireless System | |
US9730173B2 (en) | Synchronization between devices of same or different wireless network | |
JP5738474B2 (en) | Communication apparatus and communication method | |
CN102986282A (en) | Uplink synchronization processing | |
JP6338370B2 (en) | Node device, wireless multi-hop network, and time synchronization method | |
JP6111908B2 (en) | Communication device and battery remaining capacity derivation method | |
JP6398359B2 (en) | Mesh wireless communication system, wireless communication method, and wireless device | |
JP2009253823A (en) | Automatic measuring system | |
US11509409B2 (en) | Communication device, communication method, computer program product, and communication system | |
JP2013160521A (en) | Method for setting time, communication device, and time setting program | |
JP2009152899A (en) | Radio terminal, radio base station, time distributing system and time distributing method | |
US8595351B2 (en) | Monitoring system | |
JP2012129931A (en) | Wireless sensor network system | |
JP6674400B2 (en) | Time synchronization system and time synchronization method | |
JP6813202B1 (en) | Wireless communication systems, wireless communication methods, relay stations, and programs | |
JP6509065B2 (en) | Wireless communication system and wireless communication device | |
US10887856B2 (en) | Adaptive mesh synchronized time network | |
JP2013239793A (en) | Base station device, and method for setting master base station device of the same | |
JP5605096B2 (en) | Node device, time synchronization system, and time synchronization method | |
JP2018157340A (en) | Radio communication device, program, and method | |
US11962654B2 (en) | Communication system, communication method, communication apparatus, and computer program product | |
JP2015177247A (en) | Radio communication network system, radio terminal, time correction method, and program | |
JP5906438B2 (en) | Communications system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ENP | Entry into the national phase |
Ref document number: 2014551480 Country of ref document: JP Kind code of ref document: A |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14895566 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14895566 Country of ref document: EP Kind code of ref document: A1 |