WO2011036701A1 - 無線通信装置および通信プログラム - Google Patents

無線通信装置および通信プログラム Download PDF

Info

Publication number
WO2011036701A1
WO2011036701A1 PCT/JP2009/004800 JP2009004800W WO2011036701A1 WO 2011036701 A1 WO2011036701 A1 WO 2011036701A1 JP 2009004800 W JP2009004800 W JP 2009004800W WO 2011036701 A1 WO2011036701 A1 WO 2011036701A1
Authority
WO
WIPO (PCT)
Prior art keywords
transmission
packet
wireless communication
request
communication apparatus
Prior art date
Application number
PCT/JP2009/004800
Other languages
English (en)
French (fr)
Inventor
堀口智哉
Original Assignee
株式会社 東芝
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社 東芝 filed Critical 株式会社 東芝
Priority to PCT/JP2009/004800 priority Critical patent/WO2011036701A1/ja
Priority to JP2011532786A priority patent/JP5475790B2/ja
Publication of WO2011036701A1 publication Critical patent/WO2011036701A1/ja
Priority to US13/343,336 priority patent/US8798026B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
    • H04W52/0222Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave in packet switched networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to a wireless communication device and a communication program.
  • a packet transmission interval is determined in a communication modem in the wireless communication device, and until the next packet transmission, the own wireless communication device or network
  • a wireless communication device that operates other wireless communication devices in a sleep mode has been invented.
  • the communication modem in the wireless communication apparatus determines the interval until transmission of the next packet based on the transmission rate required by the host application from any one of a fixed interval, an increasing function, a decreasing function, and a periodic function. It is determined by using. Then, the determined transmission interval is notified to the wireless communication device of the communication partner, and the wireless communication device of the communication partner is set to the sleep mode to reduce power consumption.
  • An object of the present invention is to provide a wireless communication apparatus and a communication program capable of determining a packet transmission interval even when a communication modem does not receive application information from an application layer and reducing power consumption.
  • a wireless communication apparatus of the present invention is a wireless communication apparatus in which a communication unit transmits a packet in response to a transmission request notified from an application layer, and each time the transmission request is notified. And a history holding unit that obtains the notified time, calculates a request interval at which the transmission request is notified, and holds the request interval of the past n (n is an integer of 2 or more); A timing control unit that determines a transmission interval until the next packet transmission based on the past n request intervals, and a packet in which a time value of the transmission interval is added to a header portion of transmission data to generate a counterpart wireless communication device A transmission / reception unit that receives a packet from the counterpart wireless communication device, and at least the transmission / reception unit from when the packet is transmitted until the time of the transmission interval elapses Characterized in that it comprises a communication control unit and for locked.
  • the communication program of the present invention is a communication program for a wireless communication apparatus in which a communication unit transmits a packet in response to a transmission request notified from an application layer.
  • a function for obtaining the received time, calculating a request interval for notifying the transmission request, and holding the request interval of the past n (n is an integer of 2 or more), and the request interval of the past n A function of determining a transmission interval until the next packet transmission, a function of generating a packet in which a time value of the transmission interval is added to a header portion of transmission data, and transmitting the packet to a counterpart wireless communication device; And a function of stopping at least the transmission / reception unit from the time of transmission until the time of the transmission interval elapses.
  • the communication modem can determine the packet transmission interval without receiving application information from the application layer, and can achieve low power consumption.
  • the block diagram which shows the structure of the radio
  • the packet format which concerns on the same embodiment.
  • wireless communication apparatuses which concerns on the embodiment. 6 is a flowchart showing the operation of the wireless communication apparatus according to the embodiment.
  • the graph of the simulation result which shows the 1st characteristic example of the radio
  • the graph of the simulation result which shows the 2nd characteristic example of the radio
  • FIG. 1 shows a configuration of a wireless communication apparatus 101 according to an embodiment of the present invention.
  • the wireless communication apparatus 101 transmits and receives packets with another wireless communication apparatus 102 as a communication partner.
  • the wireless communication device 101 and the wireless communication device 102 are assumed to have the same configuration.
  • the wireless communication apparatus 101 includes an application layer 103, a communication unit (hereinafter referred to as a communication modem) 104, and a bus 105 that connects these modules.
  • a communication modem hereinafter referred to as a communication modem
  • the application layer 103 includes a CPU 106 that controls the entire wireless communication apparatus and a memory 107 that is used for a data buffer and the like.
  • the communication modem 104 includes a data buffer 108 that exchanges data with the application layer 103, a setting register 110 that exchanges commands and information with the application layer 103, and a communication control unit that controls the entire communication modem 104 (hereinafter referred to as the communication modem 104).
  • a modem control unit 111 a modem control unit 111, a transmission / reception unit (hereinafter referred to as a physical layer) 109 that performs signal processing for wireless communication, a history holding unit 113 that calculates and holds a transmission request interval notified from the application layer 103, A clock 112 for counting time, a timing control unit 114 for notifying the physical layer 109 of packet transmission timing, and a packet generation unit 115 for generating a transmission packet from data transferred from the application layer 103 are included.
  • the packet generator 115 is provided in the modem controller 111.
  • the timing control unit 114 includes a timer A
  • the modem control unit 111 includes a timer B.
  • the timer A is a timer that manages packet transmission timing
  • the timer B is a timer that manages the operation mode of the wireless communication apparatus 101.
  • operation modes in the wireless communication apparatus 101 there are a normal operation mode and a sleep mode.
  • the normal operation mode is a state in which the wireless communication apparatus 101 is operating normally and the data transmission / reception function and the carrier sense function are operating.
  • the sleep mode is a state in which the wireless communication apparatus 101 stops the data transmission / reception function and the carrier sense function. Specifically, power supply from at least a power supply unit (not shown) to the physical layer 109 is stopped. Details of the operation mode switching procedure will be described later.
  • the wireless communication device 101 operates as follows when transmitting a packet.
  • transmission data generated by the application layer 103 is stored in the memory 107.
  • the CPU 106 transfers transmission data read from the memory 107 to the data buffer 108 via the bus 105.
  • the CPU 106 writes a transmission request in the setting register 110 of the communication modem 104.
  • the history holding unit 113 acquires the time t2 when the transmission request is written from the clock 112.
  • the history holding unit 113 holds transmission request intervals for the past n times (n: an integer equal to or greater than 2).
  • the timing control unit 114 acquires the transmission request interval for the past n times from the history holding unit 113.
  • the timing control unit 114 determines the transmission interval D_ind until the next packet transmission using the transmission request intervals for the past n times. Details of the method for determining the transmission interval D_ind will be described later.
  • the timing control unit 114 notifies the modem control unit 111 of the determined transmission interval D_ind.
  • the timing control unit 114 holds the determined transmission interval D_ind as the transmission timing of the next packet transmission until the current packet transmission is completed.
  • the timing control unit 114 sets the transmission interval D_ind to the timer A and starts the timer A countdown.
  • the transmission interval D_ind-1 of the current packet transmission the transmission interval D_ind-1 determined at the previous packet transmission is set in the timer A. Therefore, when the previous packet transmission is completed, the timer A has already started to count down. If the countdown of the timer A is completed when the transmission request is written from the CPU 106 to the setting register 110, the timing control unit 114 immediately notifies the physical layer 109 of the transmission processing start signal 1. If the timer A is counting down, the timing control unit 114 waits until the timer A completes counting down. When the countdown of the timer A ends, the timing control unit 114 notifies the physical layer 109 of a transmission processing start signal 1.
  • the modem control unit 111 starts transmission processing such as packet generation and media access control.
  • the packet generation unit 115 built in the modem control unit 111 generates the packet.
  • FIG. 2 shows an example of a packet format.
  • the frame format of FIG. 2 shows one packet and includes Common Header, Sub Header, Frame Body, and FCS (frame check sequence).
  • a plurality of subpackets including Sub ⁇ Header, Frame Body, and FCS may exist in one packet.
  • Common Header includes the packet's destination address (Rx) UID), source address (Tx UID), number of subpackets (MUX), header error detection code (HCS), and transmission interval (D_ind) .
  • Rx destination address
  • Tx UID source address
  • MUX number of subpackets
  • HCS header error detection code
  • D_ind transmission interval
  • the modem control unit 111 reads the transmission data from the data buffer 108 and transfers it to the physical layer 109 while generating the packet header portion shown in FIG. At the time of packet generation, the modem control unit 111 stores the transmission interval D_ind notified from the timing control unit 114 in the D_ind field of the packet shown in FIG. At this time, the value of the transmission interval D_ind may be expressed in a predetermined time unit (for example, hexadecimal number), or may indicate an absolute time such as a microsecond and a millisecond. In addition, if the system is such that each wireless communication device can know the overall unified time, the time at which the next packet is transmitted may be stored instead of the transmission interval D_ind itself.
  • a predetermined time unit for example, hexadecimal number
  • the wireless communication apparatus 101 By transmitting this packet, the wireless communication apparatus 101 notifies the wireless communication apparatus 102 of the communication partner of the packet transmission interval D_ind of its own terminal. After completing these transmission processes, the modem control unit 111 notifies the physical layer 109 of a transmission process start signal 2.
  • the modem control unit 111 manages the operation mode of the wireless communication apparatus 101. Although the details of the operation mode switching procedure will be described later, the modem control unit 111 determines the time length of the sleep mode using the transmission interval D_ind notified from the timing control unit 114, and sets the determined time length of the sleep mode to the timer B. Set to. The modem control unit 111 shifts the wireless communication device 101 (here, the physical layer 109) to the sleep mode after packet transmission according to an algorithm described later, and starts the timer B countdown. When the timer B counts down, the modem control unit 111 shifts the wireless communication apparatus 101 to the normal operation mode.
  • the wireless communication device 101 here, the physical layer 109
  • the physical layer 109 reads the packet from the data buffer 108 at the stage when both the transmission processing start signal 1 from the timing control unit 114 and the transmission processing start signal 2 from the modem control unit 111 are notified. After adding the FCS, signal processing for wireless communication is performed. As signal processing, for example, encoding, modulation, D / A (Digital / Analog) conversion, and the like are performed on the packet.
  • the packet signal-processed by the physical layer 109 is transmitted from the wireless communication apparatus 101 to the wireless communication apparatus 102 as a radio wave.
  • the modem control unit 111 includes the packet generation unit 115.
  • the physical layer 109 may include the packet generation unit 115.
  • the timing control unit 114 notifies the physical layer 109 of the determined transmission interval D_ind.
  • the physical layer 109 reads the data from the data buffer 108 after receiving the transmission processing start signal 2 from the modem control unit 111 and generates a packet as shown in FIG. At this time, the physical layer 109 stores the transmission interval D_ind notified from the timing control unit 114 in the header of the packet.
  • the wireless communication device 101 and the wireless communication device 102 are configured by the same device shown in FIG. Further, the application layer 103 of the wireless communication apparatus 101 and the upper application layer 303 of the wireless communication apparatus 102 in FIG. 3 are the same as the upper application layer 103 in FIG.
  • the communication modem 104 of the wireless communication apparatus 101 and the communication modem 304 of the wireless communication apparatus 102 are the same as the communication modem 104 in FIG. Assume that processing such as synchronization and initialization has already been completed between the communication modem 104 of the wireless communication apparatus 101 and the communication modem 304 of the wireless communication apparatus 102. Further, it is assumed that both the wireless communication device 101 and the wireless communication device 102 are operating in the normal operation mode.
  • the CPU 106 of the application layer 103 of the wireless communication apparatus 101 writes the transmission request 305 in the setting register 110 of the communication modem 104 when the transmission data is ready.
  • the communication modem 104 of the wireless communication apparatus 101 executes the transmission interval determination process 301 in the timing control unit 114 to determine the transmission interval D_ind. Details of the transmission interval determination process 301 will be described later.
  • the communication modem 104 of the wireless communication apparatus 101 performs signal processing for wireless communication on the transmission data read from the data buffer 108 and transmits a packet 306 to the wireless communication apparatus 102.
  • the packet 306 includes the transmission interval D_ind determined by the transmission interval determination processing 301. That is, the wireless communication device 102 is notified of the time interval D_ind from the wireless communication device 101 until the next packet 316 is transmitted.
  • the transmission interval D_ind determined by the transmission interval determination processing 301 is an interval that guarantees that the wireless communication apparatus 101 does not transmit a packet, in other words. During this time, even if a transmission request is notified from the application layer 103 of the wireless communication apparatus 101, the communication modem 104 of the wireless communication apparatus 101 does not perform packet transmission processing, and the packet remains stored in the data buffer 108. . Conversely, if no data transmission request is generated from the application layer 103 of the wireless communication apparatus 101, packet transmission is not performed even after the time of the transmission interval D_ind has elapsed. The wireless communication apparatus 102 performs reception processing on the packet 306 transmitted from the wireless communication apparatus 101 and acquires received data. If no error is detected in the received data, the wireless communication apparatus 102 transmits an acknowledgment 307 to the wireless communication apparatus 101.
  • the wireless communication apparatus 102 transfers received data 308 from the communication modem 304 to the application layer 303. Thereafter, the communication modem 304 of the wireless communication apparatus 102 acquires the transmission interval D_ind of the wireless communication apparatus 101 from the packet 306 transmitted from the wireless communication apparatus 101.
  • the modem control unit 111 in the communication modem 304 of the wireless communication apparatus 102 calculates the time length of the sleep mode based on the transmission interval D_ind and sets it to the timer B. Thereafter, the communication modem 304 of the wireless communication apparatus 102 shifts to the sleep mode 313 and starts the timer B countdown.
  • the wireless communication apparatus 102 calculates the time length of the sleep mode
  • the time when the next packet is scheduled to be transmitted is calculated from the transmission interval D_ind stored in the header of the received packet.
  • the scheduled transmission time of the next packet takes into account the transition time from when the power of the physical layer 109 is started to complete the transition to the normal operation mode so that the carrier sense 314 and the next data reception 316 can be started.
  • the wireless communication apparatus 102 performs the carrier sense 314 and enters a packet reception waiting state.
  • the communication layer 104 notifies the application layer 103 that the transmission of the packet data 306 is successful by the information 309. Thereafter, the communication modem 104 of the wireless communication apparatus 101 performs carrier sense 310 and confirms that there is no packet transmission from the wireless communication apparatus 102.
  • the communication modem 104 of the wireless communication apparatus 101 sets the time length of the sleep mode to the timer B of the modem control unit 111 based on the transmission interval D_ind determined by the transmission interval processing 301. .
  • the time length of the sleep mode is determined in consideration of the transition time from the activation of the power supply of each circuit to the transition to the normal operation mode and the time of the carrier sense 312 for interference confirmation. Thereafter, the communication modem 104 shifts to the sleep mode 311 and starts the timer B countdown.
  • the communication modem 104 transitions from the sleep mode 311 to the normal operation mode, and executes the carrier sense 312.
  • the packet transmission from the wireless communication apparatus 102 is detected in the carrier sense 310, the packet reception operation is performed without shifting to the sleep mode as described above.
  • FIG. 3 shows a case where a new transmission request 315 is notified from the application layer 103 of the wireless communication apparatus 101 to the communication modem 104.
  • the communication modem 104 of the wireless communication apparatus 101 receives the transmission request 315, executes a transmission interval determination process 302, and determines a transmission interval D_ind + 1 until the next data transmission. Since the transmission interval D_ind determined in the previous transmission interval determination processing 301 has already elapsed, the communication modem 104 of the wireless communication apparatus 101 transmits the packet 316. Thereafter, the wireless communication device 101 and the wireless communication device 102 repeat the same operation as described above.
  • step S401 After the wireless communication device 101 shifts to the normal operation mode (step S401), it performs carrier sense (step S402). And it will be in the state of waiting for packet reception from the wireless communication apparatus 102 of the communication partner (step S403) and waiting for a transmission request from the application layer 103 (step S404).
  • step S403 When packet reception from the wireless communication apparatus 102 is detected (Yes in step S403), the wireless communication apparatus 101 branches to a packet reception process (step S414) described later.
  • step S414 When packet reception from the wireless communication apparatus 102 is not detected (No in step S403), the presence / absence of a transmission request from the application layer 103 is checked (step S404).
  • the history holding unit 113 determines the time t1 when the transmission request was previously notified from the time t2 when the transmission request obtained from the clock 112 was notified.
  • the transmission request interval is calculated by subtraction (t2-t1).
  • the history holding unit 113 holds a history for the calculated transmission request interval of the past n times (step S405).
  • the timing control unit 114 determines the transmission interval D_ind until the next packet transmission using these n transmission request intervals supplied from the history holding unit 113 (step S406).
  • a method of setting an intermediate value as the transmission interval D_ind among the past n transmission request intervals can be considered.
  • a method may be considered in which the minimum value is the transmission interval D_ind among the past n transmission request intervals.
  • the average of the past n transmission request intervals may be calculated, and the average value may be used as the transmission interval D_ind.
  • the transmission interval D_ind may be the m-th (m is a positive integer less than or equal to n) value from the smaller of the past n transmission request intervals.
  • m when it is desired to shorten the latency from the transmission request from the application layer 103 to the completion of packet transmission in the physical layer 109 (when the latency request from the application side is high), m is set to a small value. On the contrary, when the demand for low power consumption from the application side is high, m may be set to a large value. Further, the value of m may be dynamically changed in accordance with the level of the latency request / low power consumption request. If the application side determines the maximum latency as D_max as a latency request, the transmission interval calculated from the past n transmission request intervals is compared with the requested maximum latency D_max, and the smaller one is set as the transmission interval D_ind. There is also a method. Further, when there is no free space in the transmission request queue or the data buffer 108 for holding transmission data, the transmission interval D_ind may be set to the minimum value (for example, 0) without using the past n transmission request intervals. Good.
  • the communication modem 104 of the wireless communication apparatus 101 determines the transmission interval D_ind by any one of the above methods.
  • the determined transmission interval D_ind is stored in the header of the packet, subjected to transmission signal processing for wireless communication (step S407), and transmitted to the counterpart wireless communication apparatus 102.
  • the wireless communication apparatus 101 confirms whether or not an acknowledgment is received from the partner wireless communication apparatus 102 for the transmitted packet (step S408). Whether or not an acknowledgment has been received may be determined based on whether or not an error has occurred in the acknowledgment packet using an error detection code included in the acknowledgment packet. If an affirmative response cannot be received within a predetermined time after transmitting the packet (No in step S408), the packet transmission process (step S407) is performed again.
  • step S408 the wireless communication apparatus 101 determines whether or not a packet is transmitted from the counterpart wireless communication apparatus 102 (step S409).
  • the wireless communication apparatus 101 detects that a packet has been transmitted from the counterpart wireless communication apparatus 102 within a predetermined time after receiving the affirmative response (Yes in step S409), the packet reception process (step S414). Transition to the state.
  • step S409 the modem control unit 111 of the wireless communication apparatus 101 confirms whether or not there is a request for transmission of the next data (step S410). If there is a transmission request (Yes in step S410), processing for transmission (step S405) is started.
  • the modem control unit 111 compares the transmission interval D_ind supplied from the timing control unit 114 with a predetermined threshold value X.
  • the threshold X is, for example, a packet transfer time from when a transmission request is notified from the application layer 103 to when packet transmission is started, a transmission / reception switching time, an acknowledgment reception time, a transition time to a sleep mode, and a return to a normal operation mode. It is desirable to be the sum of time and interference detection time before transmission. If the transmission interval D_ind is smaller than the predetermined threshold value X (“No” in step S411), the wireless communication apparatus 101 enters the normal operation mode without entering the sleep mode (step S401). However, if the transmission interval D_ind is larger than the threshold value X, the wireless communication apparatus 101 shifts to the sleep mode (step S412).
  • the wireless communication apparatus 101 cuts off power supply to at least the physical layer 109 without performing data transmission / reception or carrier sense. Thereby, the power consumption of the wireless communication apparatus 101 is reduced.
  • the time during which the wireless communication apparatus 101 maintains the sleep mode the time obtained by subtracting the threshold value X from the determined transmission interval D_ind is used.
  • the wireless communication apparatus 101 shifts from the sleep mode to the normal operation mode (step S401) at the end of the timer B countdown (Yes in step S413). .
  • step S401 After the wireless communication apparatus 101 shifts to the normal operation mode (step S401), it again performs carrier sense (step S402), and when a packet from another wireless communication apparatus 102 is detected (Yes in step S403), the reception of the packet is performed. Processing (step S414) is performed.
  • This packet includes a transmission interval D_ind until the next packet transmission in the counterpart wireless communication apparatus 102 in accordance with the packet format of FIG.
  • the wireless communication apparatus 101 determines whether the packet has been successfully received (step S415). Whether or not the packet has been successfully received can be determined by examining whether or not an error has occurred in the packet by using an error detection code included in the payload portion of the packet. If an error occurs in the packet and reception of the packet fails (No in step S415), the wireless communication apparatus 101 shifts to the normal operation mode (step S401) in preparation for the packet being retransmitted. On the other hand, if the packet has been successfully received (Yes in step S415), an acknowledgment transmission process (step S416) for notifying the partner wireless communication apparatus 102 that the packet has been received is performed. In the acknowledgment transmission process, an acknowledgment packet is generated and an acknowledgment packet is transmitted.
  • the wireless communication apparatus 101 After transmitting the acknowledgment packet, the wireless communication apparatus 101 further determines whether or not a packet is transmitted from the counterpart wireless communication apparatus 102 (step S417). If the packet is transmitted from the counterpart wireless communication apparatus 102 within a predetermined time after the completion of the acknowledgment packet transmission (Yes in step S417), the process proceeds to the data reception process (step S414).
  • step S417 when packet transmission from the partner wireless communication apparatus 102 is not detected (No in step S417), it is confirmed whether or not there is a next transmission request from the application layer 103 (step S418). If there is a transmission request from the application layer 103 (Yes in step S418), processing for transmission (step S405) is started. If there is no transmission request (No in step S418), the transmission interval D_ind in the wireless communication apparatus 102 included in the received data is compared with a predetermined threshold Y.
  • the threshold Y is the sum of the packet transfer time from when the application layer notifies the transmission request to when transmission of the packet starts, transmission / reception switching time, acknowledgment reception time, transition time to sleep mode, return time to carrier sense mode Is desirable.
  • the wireless communication apparatus 101 If the transmission interval D_ind is smaller than the threshold Y (No in step S419), the wireless communication apparatus 101 enters the normal operation mode without entering the sleep mode (step S401). If the transmission interval D_ind is larger than the threshold Y (Yes in step S419), the wireless communication apparatus 101 shifts to the sleep mode (step S412). As the time length of the sleep mode, a time obtained by subtracting the threshold Y from the transmission interval D_ind notified from the wireless communication apparatus 102 is used. By setting this value in the timer B of the modem control unit 111, the wireless communication apparatus 101 shifts from the sleep mode to the normal operation mode (step S401) when the countdown of the timer B ends (Yes in step S413). .
  • the wireless communication apparatus 101 can operate in a similar manner even in a system using a negative response.
  • the maximum transfer rate of the communication modem is 1.9 Gbps
  • the power consumption of the communication modem is 400 mW
  • the power consumption of the communication modem is 200 mW
  • the power consumption of the communication modem in sleep mode is 0.1 mW.
  • the packet error rate is 0.16 and the acknowledgment packet error rate is 0.001.
  • FIG. 5 shows a case where the ratio between the maximum throughput of the application layer 103 and the maximum throughput of the communication modem is 1: 1.
  • FIG. 6 shows a case where the ratio is 1:11.
  • the horizontal axis in FIGS. 5 and 6 indicates the degree of congestion of the bus 105. That is, the left side of FIG. 5 shows a case where the bus 105 is congested, the throughput of the application layer 103 is reduced, and the transmission request interval variance is large (“fine”).
  • the right side of FIG. 5 shows a case where the bus 105 is free and the variance value of the transmission request interval is small (“sparse”).
  • the vertical axis in FIG. 5A is the power consumption of the communication modem.
  • the algorithm used in the simulation as a method for determining the transmission interval D_ind is as follows.
  • ⁇ SORT_3 When using an algorithm with D_ind as the middle value of the history of transmission request intervals.
  • ⁇ FIR_7 When using an algorithm that sets D_ind as the average value of the history of transmission request intervals.
  • NO_SLEEP When NO_SLEEP is used, the throughput is always the maximum and the latency is always the minimum in both FIGS. 5 and 6 as compared with other algorithms. This is because in NO_SLEEP, a transmission request from the upper application layer 103 is always monitored, and immediately after the transmission request is generated, the communication modem can immediately transmit data to the partner wireless communication apparatus 102. On the other hand, even when data transmission is not performed, the carrier sense operation is always continued without shifting to the sleep mode, so that the power consumption is maximized as compared with the algorithm for shifting to another sleep mode.
  • SORT_0, SORT_3, and FIR_7 in both FIG. 5 and FIG.
  • the power consumption is suppressed without reducing the throughput of data to be originally transferred (NO_SLEEP throughput).
  • NO_SLEEP throughput the throughput of data to be originally transferred
  • TH_CONT_5 When an algorithm for increasing D_ind (the algorithm described in Patent Document 1) is used when the transmission request interval is equal to or greater than the threshold.
  • the threshold is set using the throughput information from the application layer 103 and is fixed.
  • the transmission rate between the application layer and the communication modem can be obtained without receiving detailed information such as transmission rate information requested from the application layer, transmission request generation patterns, and trends.
  • the communication modem side observes the transmission start request signal from the application layer and determines the transmission interval D_ind, thereby satisfying the latency request and throughput requirement required by the application layer, and independence between the application layer and the communication modem. Can keep. Further, during the determined transmission interval D_ind, the mode is shifted to the sleep mode, and the power consumption of unnecessary circuits is cut off, so that the power consumption can be reduced.
  • the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage.
  • various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment.
  • constituent elements over different embodiments may be appropriately combined.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

通信モデムがアプリケーションレイヤからアプリケーションの情報をもらうことなくパケット送信間隔を決定し、低消費電力化を実現する。無線通信装置101は、アプリケーションレイヤ103から通知される送信要求に応じて、通信モデム104がパケットを送信する無線通信装置であって、前記送信要求が通知される度にその時刻を取得し、前記送信要求が通知される要求間隔を計算すると共に、過去n個(nは2以上の整数)の前記要求間隔を保持する履歴保持部113と、前記過去n個の要求間隔に基づき次のパケット送信までの送信間隔を決定するタイミング制御部114と、前記送信間隔を示す時間情報をパケットに記載するパケット生成部115と、パケットを送受信する物理レイヤ109と、パケットを送信してから送信間隔の時間が経過するまでの間、少なくとも物理レイヤ109を停止させるモデム制御部111とを備える。

Description

無線通信装置および通信プログラム
 本発明は、無線通信装置および通信プログラムに関する。
 従来、無線通信装置における低消費を図る電力制御技術の一つとして、無線通信装置内の通信モデムにおいてパケットの送信間隔を決定し、次のパケット送信までの間は、自無線通信装置、またはネットワーク内の他の無線通信装置をスリープモードとして動作させる無線通信装置が発明されている。(例えば、特許文献1参照。)
 特許文献1では、無線通信装置内の通信モデムが、次のパケットの送信までの間隔を、上位のアプリケーションが要求する伝送レートに基づき、一定間隔・増加関数・減少関数・周期関数の何れかを用いて決定している。そして、決定した送信間隔を通信相手の無線通信装置に通知し、通信相手の無線通信装置をスリープモードにさせることで低消費電力化を図っている。
 一方で、アプリケーションで必要とされるレイテンシやスループットを満たすためにはアプリケーションの情報を考慮する必要がある。例えば、パケットの送信間隔を決定する際に、アプリケーションが要求する送信レートや、送信データの発生が周期的であることを満たす必要がある。
特開2004-320153
 特許文献1に記載される無線通信装置では、アプリケーションが求めているレイテンシやスループットを満たすために、アプリケーションレイヤから通信モデムにアプリケーションの情報を通知する必要がある。その結果、アプリケーションレイヤと無線通信モデム間の独立性が損なわれる虞がある。
 本発明の目的は、通信モデムがアプリケーションレイヤからアプリケーションの情報をもらわなくてもパケット送信間隔を決定することができ、低消費電力化が可能な無線通信装置および通信プログラムを提供することにある。
 上記目的を達成するために、本発明の無線通信装置は、アプリケーションレイヤから通知される送信要求に応じて、通信部がパケットを送信する無線通信装置であって、前記送信要求が通知される度に、その通知された時刻を取得して、前記送信要求が通知される要求間隔を計算すると共に、過去n個(nは2以上の整数)の前記要求間隔を保持する履歴保持部と、前記過去n個の要求間隔に基づき、次のパケット送信までの送信間隔を決定するタイミング制御部と、送信データのヘッダ部に前記送信間隔の時間値を付加したパケットを生成して相手の無線通信装置に送信し、前記相手の無線通信装置からのパケットを受信する送受信部と、前記パケットを送信してから前記送信間隔の時間が経過するまでの間、少なくとも前記送受信部を停止させる通信制御部とを備えることを特徴とする。
 また、本発明の通信プログラムは、アプリケーションレイヤから通知される送信要求に応じて、通信部がパケットを送信する無線通信装置の通信プログラムであって、前記送信要求が通知される度に、その通知された時刻を取得して、前記送信要求が通知される要求間隔を計算すると共に、過去n個(nは2以上の整数)の前記要求間隔を保持する機能と、前記過去n個の要求間隔に基づき、次のパケット送信までの送信間隔を決定する機能と、送信データのヘッダ部に前記送信間隔の時間値を付加したパケットを生成して相手の無線通信装置に送信する機能と、前記パケットを送信してから前記送信間隔の時間が経過するまでの間、少なくとも前記送受信部を停止させる機能と、を有することを特徴とする。
 本発明の無線通信装置によれば、通信モデムがアプリケーションレイヤからアプリケーションの情報をもらうことなくパケット送信間隔を決定し、低消費電力化を図ることができる。
本発明の実施形態に係る無線通信装置の構成を示すブロック図。 同実施形態に係るパケットフォーマット。 同実施形態に係る無線通信装置間のシーケンスチャート。 同実施形態に係る無線通信装置の動作を示すフローチャート。 本発明の無線通信装置の第1の特性例を示すシミュレーション結果のグラフ。 本発明の無線通信装置の第2の特性例を示すシミュレーション結果のグラフ。
 以下、図面を参照しながら本発明の実施形態について詳細に説明する。
 図1に、本発明の実施形態に係る無線通信装置101の構成を示す。無線通信装置101は、他の無線通信装置102を通信相手としてパケットの送受信を行う。無線通信装置101と無線通信装置102は、同様の構成を有するものとする。
 無線通信装置101は、アプリケーションレイヤ103、通信部(以下、通信モデムという)104、およびこれらのモジュールを接続するバス105を有する。
 アプリケーションレイヤ103は、無線通信装置全体の制御を行うCPU106とデータバッファ等に利用するメモリ107を有する。
 通信モデム104は、アプリケーションレイヤ103とのデータの受け渡しを行うデータバッファ108、アプリケーションレイヤ103との間で命令や情報のやりとりを行う設定レジスタ110、通信モデム104全体の制御を行う通信制御部(以下、モデム制御部という)111、無線通信のための信号処理を行う送受信部(以下、物理レイヤという)109、アプリケーションレイヤ103から通知された送信要求の間隔を計算して保持する履歴保持部113、時刻を計数するための時計112、物理レイヤ109に対してパケットの送信タイミングを通知するタイミング制御部114、アプリケーションレイヤ103から受け渡されたデータから送信パケットを生成するパケット生成部115を有する。本実施形態では、モデム制御部111内にパケット生成部115を備えるものとして説明する。また、タイミング制御部114はタイマーAを備え、モデム制御部111はタイマーBを備える。タイマーAはパケット送信のタイミングを管理するタイマーであり、タイマーBは無線通信装置101の動作モードを管理するタイマーである。無線通信装置101における動作モードとして、通常動作モードとスリープモードが存在する。通常動作モードは、無線通信装置101が通常動作し、データの送受信機能やキャリアセンス機能が動作している状態である。スリープモードは、無線通信装置101がデータの送受信機能やキャリアセンス機能を停止している状態である。具体的には、少なくとも、図示しない電源部から物理レイヤ109への電源供給が停止されている。動作モード切替手順の詳細は後述する。
 無線通信装置101は、パケット送信時に以下のように動作する。ここでは、アプリケーションレイヤ103で生成された送信データが、メモリ107に格納されているものとする。まず、CPU106は、メモリ107から読み出した送信データをバス105を介してデータバッファ108に転送する。その後、CPU106は、通信モデム104の設定レジスタ110に、送信要求を書き込む。
 CPU106から設定レジスタ110に送信要求が書き込まれると、履歴保持部113は、送信要求が書き込まれた時刻t2を時計112から取得する。履歴保持部113は、その時刻t2から、その前に送信要求が書き込まれた時刻t1までの時間(=t2-t1、これを送信要求間隔という)を計算し、保持する。履歴保持部113は、過去n回分(n:2以上の整数)の送信要求間隔を保持するものとする。
 一方、タイミング制御部114は、設定レジスタ110に送信要求が書き込まれると、履歴保持部113から過去n回分の送信要求間隔を取得する。タイミング制御部114は、この過去n回分の送信要求間隔を用いて、次回のパケット送信までの送信間隔D_indを決定する。送信間隔D_indの決定方法の詳細は、後述する。タイミング制御部114は、決定した送信間隔D_indをモデム制御部111に通知する。
 また、タイミング制御部114は、決定した送信間隔D_indを、次回のパケット送信の送信タイミングとして用いるため、今回のパケット送信が完了するまで保持している。タイミング制御部114は、今回のパケット送信が完了したとき、送信間隔D_indをタイマーAに設定し、タイマーAのカウントダウンを開始する。一方、今回のパケット送信の送信間隔D_ind-1は、前回のパケット送信時に決定された送信間隔D_ind-1がタイマーAに設定されている。よって、前回のパケット送信完了時にはタイマーAのカウントダウンがすでに開始されている。CPU106から設定レジスタ110に送信要求が書き込まれたときに、タイマーAのカウントダウンが終了していれば、タイミング制御部114は直ちに、送信処理開始信号1を物理レイヤ109に通知する。タイマーAがカウントダウン中であれば、タイミング制御部114は、タイマーAのカウントダウンが完了するまで待つ。タイマーAのカウントダウンが終了すると、タイミング制御部114は送信処理開始信号1を物理レイヤ109に通知する。
 一方、モデム制御部111は、設定レジスタ110に送信要求が書き込まれると、パケット生成やメディアアクセス制御などの送信処理を開始する。パケットの生成は、モデム制御部111に内蔵するパケット生成部115が行う。
 図2は、パケットフォーマットの一例を示す。図2のフレームフォーマットは1つのパケットを示しており、Common Header、Sub Header、Frame Body、FCS(フレームチェックシーケンス)を含む。なお、Sub Header、Frame Body、FCSを含むサブパケットは1つのパケット内に複数存在してもよい。Common Headerには、パケットの宛先アドレス(Rx UID)、送信元アドレス(Tx UID)、サブパケットの数(MUX)、ヘッダの誤り検出符号(HCS)に加えて、送信間隔(D_ind)が含まれる。各情報のフィールド長は、図2に示すが、そのバイト数に限らなくて良い。
 モデム制御部111は、データバッファ108から送信データを読み出し、パケット生成部115において図2に示すパケットのヘッダ部分を生成しながら、物理レイヤ109に転送する。パケット生成時、モデム制御部111は、タイミング制御部114から通知された送信間隔D_indを、図2に示すパケットのD_indフィールドに格納する。このとき、送信間隔D_indの値は、あらかじめ定められた時間単位(例えば16進数など)で表してもよいし、マイクロ秒・ミリ秒のように絶対時間を表してもよい。また、各無線通信装置が全体的な統一時刻を知ることができるようなシステムであれば、送信間隔D_indそのものではなく次のパケットを送信する時刻を格納してもよい。無線通信装置101は、このパケットを送信することで、通信相手の無線通信装置102に自端末のパケット送信間隔D_indを通知する。これらの送信処理完了後、モデム制御部111は、送信処理開始信号2を物理レイヤ109に通知する。
 また、モデム制御部111は、無線通信装置101の動作モードの管理を行う。動作モード切替手順の詳細は後述するが、モデム制御部111は、タイミング制御部114から通知された送信間隔D_indを用いてスリープモードの時間長を決定し、決定したスリープモードの時間長をタイマーBに設定する。モデム制御部111は、後述するアルゴリズムに従ってパケット送信後に無線通信装置101(ここでは、物理レイヤ109)をスリープモードに移行させ、タイマーBのカウントダウンを開始する。タイマーBのカウントダウンが終了した時に、モデム制御部111は、無線通信装置101を通常動作モードに移行させる。
 物理レイヤ109は、タイミング制御部114からの送信処理開始信号1と、モデム制御部111からの送信処理開始信号2の両方が通知された段階で、データバッファ108からパケットを読み出しながら、図2のFCSを付加した後、無線通信のための信号処理を行う。信号処理として、例えば符号化や変調、D/A(Digital/Analog)変換などをパケットに施す。物理レイヤ109によって信号処理されたパケットは、無線通信装置101から無線通信装置102に電波として送信される。
 なお、上記ではモデム制御部111がパケット生成部115を備える例を説明したが、物理レイヤ109がパケット生成部115を有してもよい。物理レイヤ109がパケット生成部115を有する場合には、タイミング制御部114は決定した送信間隔D_indを物理レイヤ109に通知する。物理レイヤ109は、モデム制御部111から送信処理開始信号2が通知された後、データバッファ108からデータを読み出し、パケット生成部115において図2に示すようなパケットを生成する。この際、物理レイヤ109は、パケットのヘッダに、タイミング制御部114から通知された送信間隔D_indを格納する。
 次に、図1および図3を用いて、無線通信装置101が他の無線通信装置102と通信している場合における、動作モードの遷移について以下に説明する。ここでは、無線通信装置101がデータを送信し、無線通信装置102がデータを受信する場合としている。
 無線通信装置101と無線通信装置102は、図1に示す同じ装置で構成されている。また、図3における無線通信装置101のアプリケーションレイヤ103と無線通信装置102の上位アプリケーションレイヤ303は、図1における上位アプリケーションレイヤ103と同じものである。また、無線通信装置101の通信モデム104と無線通信装置102の通信モデム304は、図1における通信モデム104と同じものである。無線通信装置101の通信モデム104と無線通信装置102の通信モデム304の間ではすでに同期・初期化等の処理が終了しているものとする。また、無線通信装置101と無線通信装置102は、いずれも通常動作モードで動作しているものとする。
 まず、無線通信装置101のアプリケーションレイヤ103のCPU106は、送信データの準備ができた段階で送信要求305を通信モデム104の設定レジスタ110に書き込む。送信要求305が書き込まれると、無線通信装置101の通信モデム104は、タイミング制御部114において送信間隔決定処理301を実行し、送信間隔D_indを決定する。送信間隔決定処理301の詳細については後述する。
 同時に無線通信装置101の通信モデム104は、データバッファ108から読み出した送信データに対し無線通信のための信号処理を行い、無線通信装置102にパケット306を送信する。このとき、パケット306には、送信間隔決定処理301で決定した送信間隔D_indが含まれている。すなわち、無線通信装置101から次のパケット316を送信するまでの時間間隔D_indが無線通信装置102に通知されることになる。
 なお、送信間隔決定処理301で決定される送信間隔D_indとは、別の言い方をすると、無線通信装置101がパケットを送信しないことを保証する間隔である。この間は、無線通信装置101のプリケーションレイヤ103から送信要求が通知されたとしても、無線通信装置101の通信モデム104はパケット送信処理を行わず、パケットはデータバッファ108に蓄えらたままとなる。反対に、無線通信装置101のアプリケーションレイヤ103からのデータ送信要求が発生しなければ、送信間隔D_indの時間が経過した後でもパケット送信は行われない。無線通信装置102は、無線通信装置101から送信されてきたパケット306の受信処理を行い、受信データを取得する。受信データ中に誤りが検出されない場合、無線通信装置102は、無線通信装置101に対して肯定応答307を送信する。
 ここから説明する無線通信装置102の動作は、図1を用いて説明する。まず、無線通信装置102は、通信モデム304からアプリケーションレイヤ303に対して、受信データ308を転送する。この後、無線通信装置102の通信モデム304は、無線通信装置101から送信されたパケット306から無線通信装置101の送信間隔D_indを取得する。無線通信装置102の通信モデム304内のモデム制御部111は、この送信間隔D_indに基づきスリープモードの時間長を計算し、タイマーBに設定する。その後、無線通信装置102の通信モデム304はスリープモード313へ移行し、タイマーBのカウントダウンを開始する。
 ここで、無線通信装置102がスリープモードの時間長を計算する際、受信パケットのヘッダに格納された送信間隔D_indから次のパケットが送信される予定の時刻を算出する。その次パケットの送信予定時刻には、キャリアセンス314、および次のデータ受信316が開始できるように、物理レイヤ109の電源を起動して通常動作モードに遷移完了するまでの遷移時間を考慮して、スリープモードの時間長を決定する。タイマーBが満了し、通信モデム304がスリープモード313から通常動作モードに遷移すると、無線通信装置102はキャリアセンス314を行い、パケット受信待ち状態になる。
 一方、無線通信装置101の通信モデム104は肯定応答307を受信すると、アプリケーションレイヤ103に対して、パケットデータ306の送信が成功した事を情報309により通知する。この後、無線通信装置101の通信モデム104はキャリアセンス310を行い、無線通信装置102からパケット送信がないことを確認する。
 無線通信装置101の通信モデム104は、無線通信装置102からパケット送信がない場合、送信間隔処理301で決定した送信間隔D_indに基づき、スリープモードの時間長をモデム制御部111のタイマーBに設定する。スリープモードの時間長は、各回路の電源を起動して通常動作モードに遷移するまでの遷移時間や干渉確認のためのキャリアセンス312の時間を考慮して決定する。その後、通信モデム104はスリープモード311へ移行し、タイマーBのカウントダウンを開始する。
 タイマーBのカウントダウンが終了すると、通信モデム104はスリープモード311から通常動作モードへ遷移し、キャリアセンス312を実行する。一方、キャリアセンス310において、無線通信装置102からのパケット送信が検出された場合には、上述のようにスリープモードには遷移せずにパケットの受信動作を行う。
 さらに、図3では、無線通信装置101のアプリケーションレイヤ103から、通信モデム104に新規の送信要求315が通知される場合を示している。無線通信装置101の通信モデム104は送信要求315を受けて、送信間隔決定処理302を実行し、次のデータ送信までの送信間隔D_ind+1を決定する。前の送信間隔決定処理301で決定した送信間隔D_indの時間はすでに経過しているので、無線通信装置101の通信モデム104はパケット316を送信する。その後、無線通信装置101と無線通信装置102は、上述の説明と同様の動作を繰り返す。
 次に、図4のフローチャートを用いて、タイミング制御部114における送信間隔D_indの決定方法(図3の送信間隔決定処理301、302の詳細)と、モデム制御部104における動作モード切替手順の詳細を説明する。この例では、無線通信装置101と通信相手の無線通信装置102との間で、すでに同期・初期化等の処理が終了しているものとする。
 まず、無線通信装置101は通常動作モードに移行(ステップS401)した後、キャリアセンスを行う(ステップS402)。そして、通信相手の無線通信装置102からのパケット受信待ち(ステップS403)およびアプリケーションレイヤ103からの送信要求待ち(ステップS404)の状態になる。
 無線通信装置102からのパケット受信を検出した場合(ステップS403のYes)、無線通信装置101は後述するパケット受信処理(ステップS414)に分岐する。無線通信装置102からのパケット受信が検出されない場合(ステップS403のNo)、アプリケーションレイヤ103からの送信要求の有無をチェックする(ステップS404)。
 アプリケーションレイヤ103から送信要求が通知された場合(ステップS404のYes)、履歴保持部113は、時計112から得られる送信要求が通知された時刻t2から、以前に送信要求が通知された時刻t1を減算(t2-t1)して、送信要求間隔を算出する。履歴保持部113は、算出した過去n回の送信要求間隔について履歴を保持する(ステップS405)。タイミング制御部114は、履歴保持部113から供給されるこれらn回分の送信要求間隔を用いて、次のパケット送信までの送信間隔D_indを決定する(ステップS406)。
 タイミング制御部114における送信間隔D_indの決定方法として、過去n回の送信要求間隔の中で、中間の値を送信間隔D_indとする方法が考えられる。または、過去n回の送信要求間隔の中で、最小値を送信間隔D_indとする方法も考えられる。他には、過去n回の送信要求間隔の平均を計算し、その平均値を送信間隔D_indとしてもよい。また、過去n回の送信要求間隔の中で小さい方からm番目(mはn以下の正の整数)の値を送信間隔D_indとしてもよい。この場合、アプリケーションレイヤ103からの送信要求から、物理レイヤ109におけるパケット送信完了までの間のレイテンシを短くしたい場合(アプリケーション側からのレイテンシ要求が高い場合)は、mを小さな値に設定する。逆に、アプリケーション側からの低消費電力の要求が高い場合には、mを大きな値に設定するとよい。また、mの値は、レイテンシ要求・低消費電力要求の高低にあわせて、動的に変更してもよい。また、アプリケーション側がレイテンシ要求としてレイテンシの最大値をD_maxと定めている場合は、過去n回の送信要求間隔から算出した送信間隔と要求最大レイテンシD_maxとを比較し、小さい方を送信間隔D_indとする方法もある。また、送信要求のキューや送信データを保持しておくためのデータバッファ108に空き容量がない場合、過去n回の送信要求間隔を用いずに、送信間隔D_indを最小値(たとえば0)としてもよい。
 無線通信装置101の通信モデム104は、上記いずれかの方法によって送信間隔D_indを決定する。決定した送信間隔D_indはパケットのヘッダに格納され、無線通信のための送信信号処理(ステップS407)が施され、相手の無線通信装置102へ送信される。
 パケット送信の後、無線通信装置101は、送信したパケットに対する相手の無線通信装置102からの肯定応答の受信有無を確認する(ステップS408)。肯定応答の受信有無は、肯定応答パケット内に含まれる誤り検出符号を用いて、肯定応答パケット内の誤り発生の有無によって、判定してもよい。パケットを送信してから所定の時間内に、肯定応答が受信できない場合(ステップS408のNo)、再びパケットの送信処理(ステップS407)を行う。
 一方、肯定応答が受信できたら(ステップS408のYes)、無線通信装置101は、相手の無線通信装置102からパケットが送信されてきているか否かの判断(ステップS409)を行う。無線通信装置101は、肯定応答を受信してから所定の時間内に、相手の無線通信装置102からパケットが送信されてきたことを検出すると(ステップS409のYes)、パケット受信処理(ステップS414)の状態へ移行する。
 一方、相手の無線通信装置102からパケットが送信されてこない場合(ステップS409のNo)、無線通信装置101のモデム制御部111は次のデータの送信要求の有無を確認する(ステップS410)。送信要求が存在すれば(ステップS410のYes)、送信のための処理(ステップS405)を開始する。
 一方、送信要求が存在しなければ(ステップS410の“No”)、モデム制御部111はタイミング制御部114から供給される送信間隔D_indをあらかじめ定めた閾値Xと比較する。閾値Xは、例えば、アプリケーションレイヤ103から送信要求を通知されてからパケット送信を開始するまでのパケット転送時間、送受信切り替え時間、肯定応答受信時間、スリープモードへの遷移時間、通常動作モードへの復帰時間、送信前の干渉検出時間の和であることが望ましい。送信間隔D_indがあらかじめ定めた閾値Xより小さければ(ステップS411の“No”)、無線通信装置101はスリープモードに入らず通常動作モードへ移行する(ステップS401)。しかし、送信間隔D_indが閾値Xより大きければ、無線通信装置101はスリープモードへ移行する(ステップS412)。
 スリープモードでは、無線通信装置101は、データの送受信やキャリアセンスを行わず、少なくとも物理レイヤ109のへ電源供給を遮断にする。これにより、無線通信装置101の低消費電力化を図る。無線通信装置101がスリープモードを保つ時間としては、決定した送信間隔D_indから閾値Xを減じた時間を用いる。この値をモデム制御部111のタイマーBに設定することで、タイマーBのカウントダウンの終了時(ステップS413のYes)に、無線通信装置101はスリープモードから通常動作モードへと移行(ステップS401)する。
 次に、無線通信装置101のパケット受信動作を説明する。無線通信装置101は通常動作モードに移行(ステップS401)した後、再びキャリアセンス(ステップS402)を実行し、他の無線通信装置102からのパケットを検出したら(ステップS403のYes)、パケットの受信処理(ステップS414)を行う。このパケットには、図2のパケットフォーマットに従い、相手の無線通信装置102における次のパケット送信までの送信間隔D_indが含まれている。
 無線通信装置101はパケットの受信処理を行った後、パケットの受信が成功したかどうかの判定(ステップS415)を行う。パケットの受信が成功したかどうかは、パケットのペイロード部分に含まれる誤り検出符号を用いて、パケット内の誤り発生の有無を調べることで、判定することができる。パケットに誤りが発生し、パケットの受信に失敗した場合(ステップS415のNo)、パケットが再送されてくることに備えて、無線通信装置101は通常動作モード(ステップS401)へ移行する。一方、パケットの受信に成功した場合(ステップS415のYes)、パケットを受信した事を相手の無線通信装置102に通知するための肯定応答送信処理(ステップS416)を行う。肯定応答送信処理では、肯定応答パケットの生成や、肯定応答パケットの送信を行う。
 肯定応答パケットの送信後、無線通信装置101は、さらに、相手無線通信装置102からパケットが送信されてきているか否かの判断(ステップS417)を行う。肯定応答パケット送信完了後、所定の時間内に、相手無線通信装置102からパケットが送信されてきていれば(ステップS417のYes)、データ受信処理(ステップS414)へ移行する。
 一方、相手無線通信装置102からのパケット送信が検出されない場合(ステップS417のNo)、アプリケーションレイヤ103からの次の送信要求の有無を確認する(ステップS418)。アプリケーションレイヤ103からの送信要求が存在すれば(ステップS418のYes)、送信のための処理(ステップS405)を開始する。送信要求が存在しなければ(ステップS418のNo)、受信データに含まれている無線通信装置102における送信間隔D_indとあらかじめ定められた閾値Yとを比較する。閾値Yは、アプリケーションレイヤが送信要求を通知してからパケットを送信開始するまでのパケット転送時間、送受信切り替え時間、肯定応答受信時間、スリープモードへの移行時間、キャリアセンスモードへの復帰時間の和とすることが望ましい。
 送信間隔D_indが閾値Yより小さければ(ステップS419のNo)、無線通信装置101はスリープモードに入らず通常動作モードへ移行(ステップS401)する。送信間隔D_indが閾値Yより大きければ(ステップS419のYes)、無線通信装置101はスリープモードへ移行する(ステップS412)。スリープモードの時間長は、無線通信装置102から通知された送信間隔D_indから閾値Yを減じた時間を用いる。この値をモデム制御部111のタイマーBに設定することで、タイマーBのカウントダウンを終了時(ステップS413のYes)に、無線通信装置101はスリープモードから通常動作モードへと移行(ステップS401)する。
 なお、図4のフローチャートでは肯定応答を用いた場合の例を説明しているが、否定応答を用いたシステムにおいても無線通信装置101は同様に動作することが可能である。
 次に、図5、図6を用いて、本実施形態の送信間隔D_indの決定方法を用いた場合の効果についてシミュレーションを行った結果を説明する。シミュレーションの条件として、通信モデムの最大転送レート1.9Gbps、通信モデムの送信時消費電力400mW、通信モデムのキャリアセンス時消費電力200mW、通信モデムのスリープモード時の消費電力 0.1mWとしている。また、送信間隔D_indの決定のために過去8回(n=8)の送信要求間隔の履歴を保持するものとし、パケット誤り率0.16、肯定応答パケット誤り率0.001としている。
 図5は、アプリケーションレイヤ103の最大スループットと通信モデムの最大スループットの比が1:1の場合を示す。図6は、その比が1:11の場合を示している。図5、図6の横軸はバス105の混み具合を示している。即ち、図5の左側が、バス105が混んでいて、アプリケーションレイヤ103のスループットが低下し、送信要求間隔の分散値が大きい場合(「密」)を示している。図5の右側が、バス105が空いていて、送信要求間隔の分散値が小さい場合(「疎」)を示している。図5(a)の縦軸は通信モデムの消費電力である。図5(b)の縦軸は、無線通信装置間のデータのスループットである。図5(c)の縦軸は、送信要求が発生してから送信が完了するまでのレイテンシである。送信間隔D_indの決定方法としてシミュレーションで用いたアルゴリズムは、以下の通りである。
(実施例)
・NO_SLEEP: スリープモードに入らない場合。つまり常にD_ind=0となる。
・SORT_0 :送信要求間隔の履歴の最小値をD_indとするアルゴリズムを用いた場合。
・SORT_3 : 送信要求間隔の履歴の中間の値をD_indとするアルゴリズムを用いた場合。
・FIR_7 : 送信要求間隔の履歴の平均値をD_indとするアルゴリズムを用いた場合。
 NO_SLEEPを用いた場合、他のアルゴリズムと比較して、図5、図6ともにスループットは常に最大、レイテンシは常に最小の値となっている。これは、NO_SLEEPでは、上位アプリケーションレイヤ103からの送信要求を常に監視し、送信要求発生直後、すぐに通信モデムは相手の無線通信装置102にデータを送信できるためである。一方、データ送信を行っていない場合にもスリープモードに移行せず、常にキャリアセンス動作を続けるので、消費電力は他のスリープモードに移行するアルゴリズムと比較して最大となる。 本実施形態のアルゴリズムである、SORT_0、SORT_3、FIR_7を用いる場合、図5、図6のいずれにおいても、本来転送するべきデータのスループット(NO_SLEEPのスループット)を低下させることなく、電力消費を抑えていることがわかる。これらのアルゴリズムを用いる場合の電力消費の大小は、レイテンシの大小とトレードオフの関係となっている。このため、システムの消費電力要求およびレイテンシ要求に合わせて、いずれかのアルゴリズムを選択してもよいし、その要求に合わせて、アルゴリズムを適応的に切り替えてもよい。
(比較例)
・TH_CONT_5: 送信要求間隔が閾値以上の場合に、D_indを増加させるアルゴリズム(特許文献1に記載のアルゴリズム)を用いた場合。閾値は、アプリケーションレイヤ103からのスループット情報を用いて設定し、固定である。
 TH_CONT_5(特許文献1に記載のアルゴリズム)を用いた場合、図5のようにアプリケーションレイヤの最大スループットと通信モデムの最大スループットの比が1:1の場合では、スループットの低下は見られないものの、消費電力を抑える効果が表れていない。また、図6のようにアプリケーションレイヤ103の最大スループットと通信モデムの最大スループットの比が1:11の場合では、消費電力を抑える効果は表れているものの、アプリケーションレイヤから要求されているデータを送信できずに、他のアルゴリズムと比較してスループットが大きく低下していることがわかる。このような連続的に送信間隔D_indを制御するアルゴリズムを用いる場合、アプリケーションレイヤ103からスループット情報等の詳細な情報が必須となり、アプリケーションレイヤと通信モデムとの独立性が損なわれる可能性がある。
 このように、本実施形態の無線通信装置によれば、アプリケーションレイヤから要求される伝送レートの情報や送信要求発生のパターン、傾向等の詳細な情報をもらわなくても、アプリケーションレイヤと通信モデム間の独立性を保つことができる。つまり、通信モデム側がアプリケーションレイヤからの送信開始要求信号を観測し送信間隔D_indを決定することで、アプリケーションレイヤで必要とされるレイテンシ要求やスループット要求を満たしつつ、アプリケーションレイヤと通信モデム間の独立性を保つことができる。また、決定した送信間隔D_indの間はスリープモードに移行し、不要な回路の電源を切断することで、低消費電力化を図ることができる。
 なお、本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。
101、102・・・無線通信装置
103・・・アプリケーションレイヤ
104・・・通信モデム
105・・・バス
106・・・CPU
107・・・メモリ
108・・・データバッファ
109・・・物理レイヤ
110・・・設定レジスタ
111・・・モデム制御部
112・・・時計
113・・・履歴保持部
114・・・タイミング制御部
115・・・パケット生成部

Claims (6)

  1.  アプリケーションレイヤから通知される送信要求に応じて、通信部がパケットを送信する無線通信装置であって、
     前記送信要求が通知される度に、その通知された時刻を取得して、前記送信要求が通知される要求間隔を計算すると共に、過去n個(nは2以上の整数)の前記要求間隔を保持する履歴保持部と、
     前記過去n個の要求間隔に基づき、次のパケット送信までの送信間隔を決定するタイミング制御部と、
     送信データのヘッダ部に前記送信間隔を示す時間情報を付加したパケットを生成して相手の無線通信装置に送信し、前記相手の無線通信装置からのパケットを受信する送受信部と、
     前記パケットを送信してから前記送信間隔の時間が経過するまでの間、少なくとも前記送受信部を停止させる通信制御部と
    を備えることを特徴とする無線通信装置。
  2.  前記タイミング制御部は、前記履歴保持部に保持した前記過去n個の要求間隔の中間の値または平均値を前記送信間隔と決定することを特徴とする請求項1に記載の無線通信装置。
  3.  前記タイミング制御部は、前記履歴保持部に保持した前記過去n個の要求間隔のうち、小さい方からm番目(mはn以下の正の整数)の値を、前記送信間隔と決定し、
     前記送信要求が通知されてから前記パケット送信開始までの時間を短くする要求が通知された場合に前記mを小さく設定し、消費電力を小さくする要求が通知された場合に前記mを大きく設定する
    ことを特徴とする請求項1に記載の無線通信装置。
  4.  前記通信制御部は、前記パケットの送信後に前記パケットに対する肯定応答を受信した場合に、前記パケットの送信した時点から前記送信間隔の時間が経過するまでの間、少なくとも前記送受信部を停止させる
    ことを特徴とする請求項1に記載の無線通信装置。
  5.  前記通信制御部は、前記送信間隔を示す時間情報を含むパケットを受信し、かつ、前記上位アプリケーションレイヤから送信要求がない場合に、前記受信パケットの前記送信間隔の時間が経過するまでの間、少なくとも前記送受信部を停止させる
    ことを特徴とする前記請求項1に記載の無線通信装置。
  6.  アプリケーションレイヤから通知される送信要求に応じて、通信部がパケットを送信する無線通信装置の通信プログラムであって、
     前記送信要求が通知される度に、その通知された時刻を取得して、前記送信要求が通知される要求間隔を計算すると共に、過去n個(nは2以上の整数)の前記要求間隔を保持する機能と、
     前記過去n個の要求間隔に基づき、次のパケット送信までの送信間隔を決定する機能と、
     送信データのヘッダ部に前記送信間隔を示す時間情報を付加したパケットを生成して相手の無線通信装置に送信する機能と、
     前記パケットを送信してから前記送信間隔の時間が経過するまでの間、少なくとも前記送受信部を停止させる機能と
    を有することを特徴とする通信プログラム。
PCT/JP2009/004800 2009-09-24 2009-09-24 無線通信装置および通信プログラム WO2011036701A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/JP2009/004800 WO2011036701A1 (ja) 2009-09-24 2009-09-24 無線通信装置および通信プログラム
JP2011532786A JP5475790B2 (ja) 2009-09-24 2009-09-24 無線通信装置および通信プログラム
US13/343,336 US8798026B2 (en) 2009-09-24 2012-01-04 Wireless communication device and communication program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2009/004800 WO2011036701A1 (ja) 2009-09-24 2009-09-24 無線通信装置および通信プログラム

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/343,336 Continuation US8798026B2 (en) 2009-09-24 2012-01-04 Wireless communication device and communication program

Publications (1)

Publication Number Publication Date
WO2011036701A1 true WO2011036701A1 (ja) 2011-03-31

Family

ID=43795476

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2009/004800 WO2011036701A1 (ja) 2009-09-24 2009-09-24 無線通信装置および通信プログラム

Country Status (3)

Country Link
US (1) US8798026B2 (ja)
JP (1) JP5475790B2 (ja)
WO (1) WO2011036701A1 (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013183281A (ja) * 2012-03-01 2013-09-12 Toshiba Corp 無線通信装置及び方法
WO2013137165A1 (ja) * 2012-03-16 2013-09-19 シャープ株式会社 端末装置、基地局装置、通信システム、制御方法および集積回路

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5329581B2 (ja) 2011-02-04 2013-10-30 株式会社東芝 無線通信端末および無線通信方法
US9167530B2 (en) * 2012-11-30 2015-10-20 Qualcomm Incorporated Power saving modes in wireless devices
JP6463163B2 (ja) * 2015-02-16 2019-01-30 キヤノン株式会社 通信装置及びその制御方法、並びにプログラム
US9985886B2 (en) * 2015-03-27 2018-05-29 Intel Corporation Technologies for network packet pacing during segmentation operations
JP7163002B2 (ja) * 2016-05-25 2022-10-31 キヤノン株式会社 プロセッサに接続されるデバイスから通知される復帰時間に応じてプロセッサの省電力のレベルを決定する情報処理装置及びプロセッサの省電力方法
JP2018113630A (ja) * 2017-01-13 2018-07-19 富士ゼロックス株式会社 中継装置、エラー情報管理システムおよびプログラム

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003087185A (ja) * 2001-09-12 2003-03-20 Sony Corp 送受信システムおよび送受信方法
JP2003244166A (ja) * 2002-02-21 2003-08-29 Honda Motor Co Ltd 無線式通話システム
JP2004320153A (ja) * 2003-04-11 2004-11-11 Sony Corp 無線通信システム及びその電力制御方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002300175A (ja) 2001-04-03 2002-10-11 Matsushita Electric Ind Co Ltd 無線通信システム
US7356360B2 (en) 2002-02-05 2008-04-08 Honda Giken Kogyo Kabushiki Kaisha Radio communication system
JP2008072415A (ja) * 2006-09-14 2008-03-27 Hitachi Ltd センサネットシステム及びセンサノード
US20100128645A1 (en) * 2008-11-26 2010-05-27 Murata Manufacturing Co., Ltd. System and method for adaptive power conservation based on traffic profiles

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003087185A (ja) * 2001-09-12 2003-03-20 Sony Corp 送受信システムおよび送受信方法
JP2003244166A (ja) * 2002-02-21 2003-08-29 Honda Motor Co Ltd 無線式通話システム
JP2004320153A (ja) * 2003-04-11 2004-11-11 Sony Corp 無線通信システム及びその電力制御方法

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013183281A (ja) * 2012-03-01 2013-09-12 Toshiba Corp 無線通信装置及び方法
WO2013137165A1 (ja) * 2012-03-16 2013-09-19 シャープ株式会社 端末装置、基地局装置、通信システム、制御方法および集積回路
JP2013197635A (ja) * 2012-03-16 2013-09-30 Sharp Corp 移動局装置、基地局装置、通信システム、送受信制御方法および集積回路

Also Published As

Publication number Publication date
US8798026B2 (en) 2014-08-05
JP5475790B2 (ja) 2014-04-16
US20120106535A1 (en) 2012-05-03
JPWO2011036701A1 (ja) 2013-02-14

Similar Documents

Publication Publication Date Title
JP5475790B2 (ja) 無線通信装置および通信プログラム
JP5462243B2 (ja) 無線通信システムおよびチャンネル切換方法
JP2007089174A (ja) 無線通信システムにおける信号の伝送速度を改善する方法及び装置
WO2008032750A1 (fr) dispositif de communication
JP2009060559A (ja) 間欠動作通信装置及び通信システム
JP2009141962A (ja) 無線通信システムにおいて不連続受信機能を改善する方法及び装置
WO2011158467A1 (ja) データ送信装置及びデータ送信方法
JP2014216679A (ja) 通信方法、通信システム、及び通信装置
WO2018010497A1 (zh) 一种混合自动重传请求进程处理方法、设备及通信系统
CN113424164A (zh) USB 2.0转接驱动器和eUSB2中继器中的功耗降低
JP2019106697A (ja) 相互接続ネットワークでのメッセージ再送遅延を動的に管理するための方法及びデバイス
WO2007066588A1 (ja) 無線lan通信システム
US20070217389A1 (en) Apparatus and method for processing data in a wireless network
WO2014067266A1 (zh) 处理数据冲突的方法及系统
JP2008270951A (ja) データ通信装置
JP2004192256A (ja) ネットワークコントローラ
CN107534496B (zh) 体内通信设备、体内通信方法和程序
KR102609328B1 (ko) 무선 통신 방법 및 디바이스
JP2012114494A (ja) 無線送信装置及び受信装置
JP2010098766A (ja) 受信装置、受信方法、無線通信システム、及び通信方法
JP2008278014A (ja) 自動再送制御方法、送信装置および受信装置
JP2014222466A (ja) 情報処理装置、情報処理システムおよび情報処理システムの通信方法
WO2022262531A1 (zh) 一种通信方法及装置
JP2004260562A (ja) パケット送受信方法、及び装置
JP7286513B2 (ja) 通信装置、通信装置の制御方法、及びプログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09849733

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2011532786

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09849733

Country of ref document: EP

Kind code of ref document: A1