WO2023074784A1 - Communication device, communication system, communication method, and program - Google Patents

Communication device, communication system, communication method, and program Download PDF

Info

Publication number
WO2023074784A1
WO2023074784A1 PCT/JP2022/040107 JP2022040107W WO2023074784A1 WO 2023074784 A1 WO2023074784 A1 WO 2023074784A1 JP 2022040107 W JP2022040107 W JP 2022040107W WO 2023074784 A1 WO2023074784 A1 WO 2023074784A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication device
communication
value
values
unit
Prior art date
Application number
PCT/JP2022/040107
Other languages
French (fr)
Japanese (ja)
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 ダイキン工業株式会社
Publication of WO2023074784A1 publication Critical patent/WO2023074784A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/69Spread spectrum techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0446Resources in time domain, e.g. slots or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/52Allocation or scheduling criteria for wireless resources based on load
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/04Scheduled access

Definitions

  • the present disclosure relates to communication devices, communication systems, communication methods, and programs.
  • the communication device and the other communication device In a radio communication system using the spread spectrum system, in order to communicate between a communication device included in the radio communication system and another communication device, the communication device and the other communication device must have the same SF (Spreading Factor) value. must be set.
  • SF Spread Factor
  • the other communication devices may be provided with different SFs depending on the installation status of the other communication devices. You have a request to set a value.
  • the present disclosure facilitates communication with a plurality of other communication devices with different SF values in a communication device that can communicate with other communication devices with the same spread spectrum SF value.
  • a communication device is a communication device capable of communicating with another communication device having the same SF value in a spread spectrum system, and switching between a plurality of SF values in a time division manner. communicate with
  • a communication device capable of communicating with other communication devices having the same spread spectrum SF value can easily communicate with a plurality of other communication devices having different SF values. Become.
  • a second aspect of the present disclosure is the communication device according to the first aspect, wherein the plurality of SF values are arbitrary values within a range of SF values that can be set for the communication device.
  • a third aspect of the present disclosure is the communication device according to the first or second aspect, wherein the SF value is set in the other communication device by an installer who installs the other communication device. value.
  • a communication device such as a gateway communicates with a plurality of other communication devices such as sensors via spread spectrum wireless communication
  • Different SF values can be set according to the installation situation of the device.
  • a fourth aspect of the present disclosure is the communication device according to any one of the first to third aspects, wherein the communication device switches the SF value at a switching timing determined for each SF value. connect.
  • a fifth aspect of the present disclosure is the communication device according to any one of the first to fourth aspects, wherein the communication device changes the SF value at predetermined time intervals to and determines the plurality of SF values based on the communication availability determination result.
  • a sixth aspect of the present disclosure is the communication device according to the fifth aspect, wherein the communication device performs Modifying the plurality of SF values.
  • a seventh aspect of the present disclosure is the communication device according to any one of the first to sixth aspects, wherein the communication device can externally set the plurality of SF values.
  • An eighth aspect of the present disclosure is the communication device according to any one of the first to seventh aspects, wherein the communication device changes the SF value at predetermined time intervals, and A timing for switching the plurality of SF values is determined based on the time when the communication is performed.
  • a ninth aspect of the present disclosure is the communication device according to the eighth aspect, wherein the communication device changes the timing of switching the plurality of SF values according to radio wave conditions or congestion conditions of the communication. do.
  • a tenth aspect of the present disclosure is the communication device according to any one of the first to ninth aspects, wherein the communication device can externally set timing for switching the plurality of SF values.
  • An eleventh aspect of the present disclosure is a communication system including the communication device according to any one of the first to tenth aspects and another communication device, wherein the other communication device communicate with the communication device with the SF value set to .
  • a twelfth aspect of the present disclosure is the communication system according to the eleventh aspect, wherein the other communication device is a first communication device to which a first SF value is set; and a second communication device configured with a second SF value different from the SF value.
  • a thirteenth aspect of the present disclosure is the communication system according to the eleventh or twelfth aspect, wherein the other communication device transmits data to the communication device according to a set transmission schedule.
  • a fourteenth aspect of the present disclosure is the communication system according to any one of the eleventh to thirteenth aspects, wherein the other communication device receives a response from the communication device after transmitting data to the communication device If not, it determines that there is a communication abnormality, holds the data, and retransmits the held data to the communication device when the communication abnormality is resolved.
  • a communication device capable of communicating with another communication device having the same SF value of the spread spectrum method communicates with the other communication device while switching a plurality of SF values in a time division manner. do.
  • a program according to a sixteenth aspect of the present disclosure causes a communication device capable of communicating with other communication devices having the same spread spectrum SF value to communicate with the other communication device while switching a plurality of SF values in a time division manner. .
  • FIG. 1 is a diagram illustrating an example of a system configuration of a communication system according to one embodiment
  • FIG. 1 is a diagram (1) for explaining an outline of processing according to an embodiment
  • FIG. FIG. 2 is a diagram (2) for explaining an outline of processing according to an embodiment
  • It is a figure which shows the example of the hardware configuration of the communication apparatus which concerns on one Embodiment. It is a figure showing an example of functional composition of a communications system concerning one embodiment.
  • 8 is a flowchart illustrating an example of reception information acquisition processing according to the first embodiment
  • FIG. 9 is a flowchart showing another example of the reception information acquisition process according to the first embodiment
  • FIG. 7 is a flowchart showing an example of SF value determination processing according to the first embodiment
  • 6 is a flowchart showing an example of communication processing of the communication device (master device) according to the first embodiment
  • 4 is a flowchart showing an example of communication processing of the communication device (child device) according to the first embodiment
  • FIG. 10 is a flowchart (1) showing an example of reception information acquisition processing according to the second embodiment
  • FIG. 10 is a flowchart (2) showing an example of reception information acquisition processing according to the second embodiment
  • FIG. 11 is a flow chart showing an example of communication processing of a communication device (child device) according to the third embodiment;
  • FIG. FIG. 16 is a flowchart showing an example of a reception information acquisition process according to the fourth embodiment;
  • FIG. FIG. 14 is a flowchart showing an example of SF value change processing according to the fourth embodiment;
  • FIG. FIG. 14 is a flowchart showing an example of communication processing of a communication device (child device) according to the fourth embodiment;
  • FIG. 5 is a diagram illustrating an example of changes in SF values in a communication system according to an embodiment;
  • FIG. 1 is a diagram illustrating an example of a system configuration of a communication system according to one embodiment.
  • the communication system 1 includes a plurality of communication devices 110a, 110b, 110c, .
  • “communication device 110” is used when indicating an arbitrary communication device among the plurality of communication devices 110a, 110b, 110c, . . .
  • the number of communication devices 110 shown in FIG. 1 is an example, and the number may be two or more.
  • the communication device 100 is a LoRa (registered trademark) (Long Range) Private gateway, and the other communication device 110 is a LoRa Private device (sensor). I do.
  • LoRa registered trademark
  • LoRa Private device sensor
  • LoRa is one of the LPWA (Low Power Wide Area) wireless communications that can achieve wide-area wireless communications with low power consumption, and uses the spread spectrum method for wireless modulation.
  • a trade-off relationship between communication distance and communication speed can be set depending on the magnitude of the setting value (hereinafter referred to as SF value) of the spreading factor (SF) of the spread spectrum system. For example, if the SF value is set larger, the communication speed becomes slower, but the communication distance becomes longer. On the other hand, when the SF value is set smaller, the communication speed becomes faster, but the communication distance becomes shorter.
  • a public network is called LoRa WAN (Wide Area Network)
  • a private network is called LoRa Private.
  • LoRa and LoRa Private are examples of the communication system 1 of the spectrum communication scheme according to the present embodiment.
  • the communication system 1 may be a system to which a spectrum communication method other than LoRa is applied.
  • the same SF value is set to the communication device (base device) 100 and the communication device (child device) 110a. enables communication.
  • the communication device 100 capable of communicating with another communication device 110 having the same SF value of the spread spectrum system communicates with a plurality of other communication devices 110a, 110b, 110c, . . . having different SF values. It was difficult to communicate with
  • the communication device 100 communicates with a plurality of other communication devices 110a, 110b, 110c, .
  • the communication device 100 can communicate with a plurality of other communication devices 110a, 110b, 110c, . can.
  • communication devices 110a, 110b, and 110c have SF values of “5,” “8,” and SF values determined by an installer (or an administrator who manages each communication device) who installs each communication device, for example. Assume that it is set to "12". Further, it is assumed that the communication devices 110a, 110b, and 110c each transmit data (for example, sensor data, etc.) at predetermined transmission timings.
  • the communication device 100a is an example of a first communication device
  • the SF value "5" is an example of a first SF value.
  • the communication device 100b is an example of a second communication device
  • the SF value "8" is an example of a second SF value.
  • the communication device 100 receives data (for example, sensor data, etc.) transmitted by another communication device 110 while switching the SF value at predetermined time intervals. For example, as in state A in FIG. Signal Strength Indicator) and information such as transmission intervals are stored in the reception information 210a.
  • data for example, sensor data, etc.
  • Signal Strength Indicator information such as transmission intervals are stored in the reception information 210a.
  • the communication device 100 receives data transmitted by the communication device 110b, and , and transmission intervals are stored in the reception information 210b.
  • Information such as RSSI and transmission interval is stored in the reception information 210c.
  • the communication device 100 determines a plurality of SF values to be switched by the communication device 100 in a time division manner, switching timing of the SF values, and the like, based on the acquired reception information 210a to 210c.
  • the communication device 100 inputs the acquired received information (for example, received information 210a to 210c) to the SF value determination model 301 that has been learned by machine learning, thereby obtaining a plurality of SF values. , and the switching timing of the SF value.
  • the SF value determination model 301 is generated in advance using a plurality of learning data with a plurality of received information as explanatory variables and an optimal SF value as an objective variable (teaching data). keep learning.
  • the communication device 100 communicates with the communication devices 110a to 110c while switching the plurality of SF values in a time division manner according to the determined combination of the plurality of SF values and the switching timing 302.
  • time division means that communication is performed while switching a plurality of SF values temporally using one wireless module, and is called time slicing or time sharing, for example.
  • the communication device 100 sets the SF value to "5" in a period T5 from time t0 to t1, and sets the SF value to "8" in a period T8 from time t1 to t2. , during a period T12 from time t2 to time t3, communication is performed with the SF value set to "12".
  • the combination of the multiple SF values "5", “8", and “12” to be set is mainly determined by the "SF value” etc. included in the received information 210a to 210c. Also, the periods “T5", “T8", and “T12” are mainly determined by the "reception time” and the "transmission interval” included in the reception information 210a to 210c. Therefore, when the number of communication devices 110 is small and the transmission timings do not overlap, the communication device 100 determines the plurality of SFs based on the received information 210a to 210c without depending on the SF value determination model 301. A combination of values and switching timing 302 may be determined.
  • the communication devices 110a, 110b, and 110c may be controlled so that the transmission time, the transmission interval, or the like differs depending on the set SF value.
  • the communication device 100 can communicate with a plurality of other communication devices 110a, 110b, 110c, . can be done. Therefore, according to the present embodiment, the communication device 100 can be used with a plurality of other communication devices 110a, 110b, 110c, . can communicate with
  • the communication device 100 capable of communicating with other communication devices having the same spread spectrum SF value can easily communicate with a plurality of other communication devices 110 having different SF values. Become.
  • the communication device 100 is a parent device such as a gateway, and the other communication devices 110a, 110b, 110c, . . . are child devices such as sensors. Not limited.
  • the communication device 100 is a child device such as a sensor that transmits sensor data to a plurality of gateways, etc., and the other communication devices 110a, 110b, 110c, . It may be a parent device such as In this case, the communication device 100, which is a child device such as a sensor, uses one wireless module to transmit data to other communication devices 110a, 110b, 110c, etc., which are parent devices such as gateways having different SF values. be able to send.
  • the communication device (parent device) 100 and the communication device (child device) 110 according to this embodiment have, for example, a hardware configuration as shown in FIG.
  • FIG. 4 is a diagram showing an example of the hardware configuration of a communication device according to one embodiment.
  • the communication device 100 and the communication device 110 have, for example, a processor 401, a memory 402, a storage device 403, a wireless module 404, an output device 405, an input device 406, a bus 407, and the like.
  • the processor 401 is, for example, a computing device such as a CPU (Central Processing Unit) that implements various functions by executing a predetermined program stored in a storage medium such as the storage device 403 or memory 402.
  • the memory 402 includes, for example, RAM (Random Access Memory), which is a volatile memory used as a work area of the processor 401, etc., and ROM (Read Only Memory), which is a non-volatile memory that stores a program for starting the processor 401. Memory), etc.
  • the storage device 403 is a large-capacity storage device that stores an OS (Operating System), programs such as applications, and various data and information. etc.
  • OS Operating System
  • the wireless module 404 includes a wireless circuit, a baseband circuit, a communication control circuit, and the like for communicating with other communication devices using spread spectrum wireless communication such as LoRa.
  • the output device 405 is, for example, an output device that outputs to the outside, such as a display, a speaker, and an LED (Light Emitting Diode).
  • the input device 406 is, for example, an input device that accepts input from the outside, such as a touch panel, keyboard, or pointing device.
  • a bus 407 is connected to each component described above, and transmits, for example, address signals, data signals, and various control signals.
  • FIG. 5 is a diagram illustrating an example of a functional configuration of a communication system according to one embodiment
  • the communication device (master device) 100 has, for example, a control unit 500, a communication unit 501, a storage unit 502, and the like.
  • the control unit 500 is implemented by, for example, the processor 401 of FIG. It implements the change unit 506 and the like.
  • the acquisition unit 503 receives data transmitted by the other communication devices 110a, 110b, and 110c while switching the SF value of the communication device 100 at predetermined time intervals, and obtains data such as reception time, SF value, RSSI, and transmission interval.
  • Acquire reception information Execute reception information acquisition processing.
  • the acquisition unit 503 acquires the reception information 210a, 210b, 210c, etc. described in FIG.
  • the determination unit 504 executes SF value determination processing for determining a plurality of SF values to be switched by the communication apparatus 100 in a time division manner, the switching timing of the SF values, and the like. For example, as described with reference to FIG. 3, the determination unit 504 inputs the received information acquired by the acquisition unit 503 to the trained SF value determination model 301, thereby obtaining a plurality of SF values and switching timings of the SF values. 302 is determined.
  • the switching unit 505 executes switching processing for switching the SF value of the communication unit 501 according to the combination of multiple SF values determined by the determination unit 504 and the switching timing 302 .
  • the switching unit 505 sets the SF value “5” at time t0 to the communication unit 501 according to the combination of a plurality of SF values and the switching timing 302 as shown in FIG. A value of "8" is set, and an SF value of "12" is set at time t2.
  • the switching unit 505 is not limited to the example of FIG. 3, and may set an arbitrary value within the range of SF values that can be set in the communication apparatus 100 and switch.
  • the changing unit 506 changes the SF value of the other communication device 100 based on, for example, the state of radio communication congestion or the distance to the other communication devices 110a, 110b, 110c, etc. Execute the process. Note that the change unit 506 is optional and not essential.
  • control unit 500 also executes general communication control processes such as setting up radio channels, transmitting and receiving data, or controlling the communication device 110 .
  • the communication unit 501 is implemented by, for example, the wireless module 404 shown in FIG. , and execute communication processing to communicate with. For example, the communication unit 501 receives data transmitted by the communication devices 110a, 110b, 110c, .
  • the storage unit 502 is implemented by, for example, the storage device 403 or memory 402 in FIG. 4, and stores the SF value determination model 301 and the like described in FIG.
  • a manufacturer who manufactures the communication device 100 or an administrator who manages the communication device 100 previously stores the learned SF value determination model 301 in the storage unit 502 using an information processing device or the like.
  • the communication device (child device) 110 has, for example, a control unit 510, a communication unit 501, a storage unit 502, and the like.
  • the control unit 510 is implemented by, for example, the processor 401 in FIG. 4, and executes a program stored in a storage medium such as the storage device 403 or the memory 402 to implement the setting unit 514, the reception unit 513, and the like.
  • a storage medium such as the storage device 403 or the memory 402 to implement the setting unit 514, the reception unit 513, and the like.
  • the communication devices 110b and 110c are assumed to have the same functional configuration as the communication device 110a.
  • the reception unit 513 executes reception processing for receiving settings of SF values or transmission schedule settings from the outside.
  • the reception unit 513 may use the input device 406 in FIG. may accept the setting.
  • the setting unit 514 executes setting processing for setting the SF value received by the receiving unit 513, the transmission schedule, and the like in the communication unit 511.
  • the functional configuration of the control unit 510 shown in FIG. 5 is an example.
  • the control unit 510 also executes general communication control processing such as wireless channel setting and data transmission/reception.
  • the communication unit 511 is realized by, for example, the wireless module 404 shown in FIG. do.
  • the communication unit 501 transmits data (eg, sensor data, etc.) to the communication device 100 according to the SF value and transmission schedule set by the control unit 510 .
  • the communication unit 511 determines that there is a communication abnormality and retains the data when there is no response from the communication device 100 after data is transmitted to the communication device 100, and when the communication abnormality is resolved. Then, the held data is retransmitted to the communication device 100 .
  • the storage unit 512 is implemented by, for example, the storage device 403 or memory 402 in FIG.
  • control unit 500 of the communication device 100 may further include a reception unit 513, a setting unit 514, or the like.
  • control unit 510 of the communication device 110 may further include an acquisition unit 503, a determination unit 504, a switching unit 505, or the like.
  • FIG. 6 is a flowchart illustrating an example of reception information acquisition processing according to the first embodiment. This processing shows an example of the reception information acquisition processing executed by the communication device 100 described with reference to FIG.
  • an example of processing when the SF value that can be set in the other communication devices 110a, 110b, and 110c is any one of "5", "8", and "12" will be described.
  • step S601 the acquisition unit 503 of the communication device 100 sets the SF value "5" to the communication unit 501, receives data for a predetermined time, and acquires reception information.
  • the acquisition unit 503 acquires the reception information 210a including the reception time, SF value, RSSI (reception level), transmission interval, etc. of the received data, as described with reference to FIG.
  • step S602 the acquisition unit 503 sets the SF value "8" to the communication unit 501, receives data for a predetermined time, and acquires reception information.
  • the acquisition unit 503 acquires the reception information 210b including the reception time, SF value, RSSI, transmission interval, etc. of the received data, as described with reference to FIG.
  • step S603 the acquisition unit 503 sets the SF value "12" in the communication unit 501, receives data for a predetermined period of time, and acquires reception information.
  • the acquisition unit 503 acquires the reception information 210c including the reception time, SF value, RSSI, transmission interval, etc. of the received data, as described with reference to FIG.
  • step S604 the acquisition unit 503 determines whether or not the required amount of received information has been reached. For example, the acquisition unit 503 determines whether or not the acquired reception information includes necessary data such as reception time, SF value, RSSI (reception level), transmission interval, and the like. If the required amount of received information has not been reached, the acquisition unit 503 returns the process to step S601. On the other hand, if the required amount of received information has been reached, the acquisition unit 503 causes the process to proceed to step S605.
  • the acquisition unit 503 causes the process to proceed to step S605.
  • the acquisition unit 503 After moving to step S605, the acquisition unit 503 notifies the determination unit 504 of the acquired reception information (reception information 210a to 210c). By the processing in FIG. 6, the acquisition unit 503 can acquire the reception information used for the SF value determination processing.
  • FIG. 7 is a flowchart illustrating another example of the reception information acquisition process according to the first embodiment.
  • N is an integer equal to or greater than 2
  • step S701 the acquisition unit 503 of the communication device 100 initializes the variable i to 1, and executes the processing from step S702.
  • the acquisition unit 503 sets the SF value "i" in the communication unit 501 and receives predetermined time data.
  • the predetermined time is set to be sufficiently long, for example, so that data transmitted by the other communication device 110 can be received multiple times.
  • step S703 the acquisition unit 503 determines whether the communication unit 501 has received data. When data is received, the acquisition unit 503 causes the process to proceed to step S704. On the other hand, if data has not been received, the acquisition unit 503 shifts the process to step S705.
  • the acquisition unit 503 After moving to step S704, the acquisition unit 503 acquires the reception information when the SF value is "i".
  • the acquisition unit 503 determines whether the value of i has reached the maximum value N of the SF value. If the value of i has not reached the maximum SF value N, the acquisition unit 503 causes the process to proceed to step S706. On the other hand, when the value of i reaches the maximum value N of the SF values, the acquisition unit 503 shifts the processing to step S707.
  • the acquisition unit 503 After moving to step S706, the acquisition unit 503 adds "1" to i and returns the process to step S702. On the other hand, after proceeding to step S707, the acquisition unit 503 notifies the determination unit 504 of the acquired reception information.
  • the acquisition unit 503 changes the SF value at predetermined time intervals to determine whether or not communication with the other communication device 110 is possible. Received information can be obtained to determine the value.
  • FIG. 8 is a flowchart illustrating an example of SF value determination processing according to the first embodiment. This process represents an example of the SF value determination process executed by the determination unit 504 of the communication apparatus 100 . It is assumed that the communication device 100 has already executed the received information acquisition process described with reference to FIG. 6 or 7 at the start of the process shown in FIG.
  • step S801 the determination unit 504 of the communication device 100 inputs the received information (for example, received information 210a to 210c) acquired by the acquisition unit 503 to the learned SF value determination model 301 stored in the storage unit 502.
  • the received information for example, received information 210a to 210c
  • step S ⁇ b>802 the determination unit 504 applies to the communication apparatus 100 the combination of multiple SF values and the switching timing output by the learned SF value determination model 301 .
  • the determining unit 504 determines the time T5 when the SF value is “5”, the time T8 when the SF value is “8”, and the SF A time "T12" or the like with a value of "12" is determined and stored in the storage unit 502 or the like.
  • the determination unit 504 can determine the combination of multiple SF values and the switching timing 302 as shown in FIG. 3, for example, based on the acquired reception information.
  • FIG. 9 is a diagram illustrating an example of communication processing of the communication device (master device) according to the first embodiment. This processing is an example of processing in which the communication device 100 receives data from other communication devices 110a, 110b, 110c, etc., based on the combination of a plurality of SF values and the switching timing 302 determined by the determination unit 504. showing.
  • step S ⁇ b>901 the switching unit 505 of the communication device 100 sets the SF value “n” to the communication unit 501 based on the combination of multiple SF values and the switching timing 302 determined by the determining unit 504 . For example, in the case of a combination of multiple SF values and switching timing 302 as shown in FIG.
  • step S902 the communication unit 501 receives data of SF value n for time Tn. For example, when the value of n is "5" at the combination of a plurality of SF values and the switching timing 302 as shown in FIG. receive. Also, when the value of n is "8", the communication unit 501 receives data with an SF value of "8" during time T8. Similarly, when the value of n is "12", the communication unit 501 receives data with an SF value of "12" during time T12.
  • the communication unit 501 (or the control unit 500) confirms the content of the received data and determines whether or not it is a new reception format. If it is a new reception format, the communication unit 501 shifts the process to step S905. On the other hand, if it is not a new reception format, the communication unit 501 shifts the process to step S907.
  • step S905 After moving to step S905, the communication unit 501 starts receiving new data. Also, in step S906, the communication unit 501 (or the control unit 500) holds the reception format.
  • the communication unit 501 receives data in the retained reception format.
  • step S908 the switching unit 505 updates the SF value "n" in the communication unit 501 based on the combination of multiple SF values and the switching timing 302 determined by the determining unit 504. For example, in a combination of multiple SF values and switching timing 302 as shown in FIG. 3, when the current SF value is "5", the switching unit 505 updates the SF value to "8". Similarly, if the current SF value is "8", the switching unit 505 updates the SF value to "12", and if the current SF value is "12", the switching unit 505 updates the SF value to "5". ”.
  • the communication device 100 can communicate with other communication devices 110a, 110b, and 110c, for example, while switching a plurality of SF values in a time division manner.
  • FIG. 10 is a diagram illustrating an example of communication processing of the communication device (child device) according to the first embodiment. This processing shows an example of processing in which the communication device (child device) 110 transmits data to the communication device (master device) 100 . It is assumed that setting values such as the SF value and the transmission timing are set in advance in the communication device 110, for example.
  • control unit 510 of the communication device 110 waits until the transmission timing, and transmits data using the communication unit 511 when the transmission timing comes.
  • step S1003 the control unit 510 determines whether or not an ACK (Acknowledgment) indicating that data has been received has been received from the communication device 100 within a predetermined time. If ACK has not been received, control unit 510 causes the process to proceed to step S1004. On the other hand, when ACK is received, the control unit 510 shifts the process to step S1005.
  • ACK Acknowledgment
  • control unit 510 After moving to step S1004, the control unit 510 holds the transmission data and returns the process to step S1001.
  • control unit 510 determines whether or not there is unsent data up to the previous time. If there is unsent data, control unit 510 causes the process to proceed to step S1006. On the other hand, if there is no unsent data, control unit 510 returns the process to step S1001.
  • control unit 510 uses the communication unit 511 to transmit the held unsent data.
  • the communication device 110 can transmit the unsent data at the next transmission timing and thereafter when the data transmission fails.
  • the communication device 100 communicates with a plurality of other communication devices 110a, 110b, 110c, .
  • the communication device 100 can communicate with a plurality of other communication devices 110a, 110b, 110c, . can.
  • the communication device 100 has a function of changing a plurality of SF values for communication with other communication devices 110 based on the communication quality of wireless communication or the distance to other communication devices 110a, 110b, 110c, and the like. It's okay to be
  • FIG. 11 and 12 are flowcharts showing an example of reception information acquisition processing according to the second embodiment. This process represents another example of the received information acquisition process executed by the communication device 100 described with reference to FIG. Note that among the processes shown in FIG. 11, the processes of S601 to S605 are the same as the received information acquisition process according to the first embodiment described with reference to FIG. We will focus on points.
  • step S1101 the changing unit 506 of the communication device 100 determines whether or not the communication unit 501 has received the information. For example, if the required amount of received information is not reached at SF value "5" among SF values "5", "8", and "12", the changing unit 506 changes data with SF value "5". Determine whether or not it has been received.
  • the changing unit 506 shifts the process to step S1102. On the other hand, if reception is successful, the changing unit 506 shifts the process to step S1201 in FIG.
  • the changing unit 506 of the communication device 100 transmits an SF value change command to the corresponding other communication device 110 (the communication device 110 that has not received data) so that the communication device 110 to N+1.
  • N is the SF value at which data cannot be received.
  • the changing unit 506 sets the SF value of its own device (communication device 100) to N+1.
  • the acquisition unit 503 of the communication device 100 Upon moving to step S1103, the acquisition unit 503 of the communication device 100 resets the log of the corresponding other communication device 110 and acquires reception information for a predetermined period of time.
  • the changing unit 506 of the communication device 100 calculates the arrival rate, RSSI, or number of retransmissions for a predetermined period with an SF value that does not reach the required amount of received information. etc.
  • the arrival rate indicates the ratio of data received by the communication device 100 to data transmitted by the other communication devices 110 . Therefore, when the arrival rate is low (below the threshold value), it can be determined that the communication quality is poor (the radio wave condition is poor or the communication is congested).
  • the number of retransmissions indicates the number of times the other communication device 110 has retransmitted the same data. Therefore, when the number of retransmissions is large (when the number of retransmissions is greater than or equal to the threshold), it can be determined that the communication quality is poor.
  • RSSI indicates the reception level (strength) of a received signal, and a larger value indicates a higher reception level. Therefore, if the RSSI value is low (below the threshold), it can be determined that the other communication device 110 is far away.
  • step S1202 the changing unit 506 determines, for example, whether the arrival rate is less than the threshold, the RSSI is less than the threshold, and the number of retransmissions is greater than or equal to the threshold. If the above conditions are satisfied, the changing unit 506 determines that the communication quality is poor and the distance from the other communication device 110 is long, and moves the process to step S1203. On the other hand, if the above requirements are not satisfied, the changing unit 506 causes the process to proceed to step S1206.
  • step S1203 the changing unit 506 requests the corresponding other communication device (the communication device 110 whose amount of received information has not reached the required amount) to set the SF value to N+1 (transmits a change command). do). where N is the current SF value.
  • step S1204 the changing unit 506 determines whether or not an ACK has been received from the corresponding other communication device within a predetermined time. If ACK has not been received, the changing unit 506 returns the process to step S1203. On the other hand, when ACK is received, the changing unit 506 shifts the process to step S1205.
  • the changing unit 506 After moving to step S1205, the changing unit 506 sets the SF value of its own device (communication device 100) to N+1, and moves the process to step S1103 in FIG. Through the processing of steps S1202 to S1205, the changing unit 506 increases the SF values of the communication device 100 and the other communication device 110 when the communication quality is poor and the distance to the other communication device 110 is long. Can be changed to a larger value.
  • the changing unit 506 determines, for example, whether the arrival rate is greater than or equal to the threshold, the RSSI is greater than or equal to the threshold, and the number of retransmissions is less than the threshold. If the above conditions are satisfied, the changing unit 506 determines that the communication quality is good and the distance to the other communication device 110 is short, and moves the process to step S1207. On the other hand, if the above requirements are not satisfied, the changing unit 506 returns the process to step S601 in FIG.
  • step S1207 the changing unit 506 requests the corresponding other communication device (the communication device 110 whose amount of received information has not reached the required amount) to set the SF value to N ⁇ 1 (change command ).
  • N is the current SF value.
  • step S1208 the changing unit 506 determines whether or not an ACK has been received from the corresponding other communication device within a predetermined time. If ACK has not been received, the changing unit 506 returns the process to step S1207. On the other hand, when ACK is received, the changing unit 506 shifts the process to step S1209.
  • the changing unit 506 After moving to step S1209, the changing unit 506 sets the SF value of its own device (communication device 100) to N-1, and moves the process to step S1103 in FIG. Through the processing in steps S1206 to S1209, changing unit 506 reduces the SF values of communication device 100 and other communication device 110 to smaller values when the communication quality is good and the distance to other communication device 110 is short. can be changed to Note that the processing of steps S1206 to S1209 is optional and not essential.
  • the communication device 100 for example, based on the radio wave condition, the communication congestion condition, or the distance to the other communication device 110, the SF value for the other communication device 110 can request a change of
  • FIG. 13 is a diagram illustrating an example of communication processing of a communication device (child device) according to the second embodiment. This processing represents another example of processing in which communication device (child device) 110 transmits data to communication device (parent device) 100 . It is assumed that setting values such as the SF value and the transmission timing are set in advance in the communication device 110, for example.
  • control unit 510 of the communication device 110 waits until the transmission timing, and transmits data using the communication unit 511 when the transmission timing comes.
  • step S ⁇ b>1303 the setting unit 514 of the communication device 110 determines whether or not a command to change the SF value has been received from the communication device 100 . If the SF value change command has not been received, the setting unit 514 returns the process to step S1301. On the other hand, if a command to change the SF value has been received, the setting unit 514 causes the process to proceed to step S1304.
  • the setting unit 514 After moving to step S1304, the setting unit 514 sets the requested SF value in the communication unit 511 according to the received SF value change request. Also, in step S1305, the setting unit 514 transmits to the communication apparatus 100 an ACK indicating that the SF value has been changed.
  • the communication device 100 establishes a plurality of communication devices communicating with the other communication devices 110 based on the communication quality of the wireless communication or the distance to the other communication devices 110a, 110b, 110c, etc. SF values can be changed.
  • the communication device 100 changes a plurality of SF values for communication with other communication devices 110 based on the communication quality of wireless communication or the distance to other communication devices 110a, 110b, 110c, etc. It may have a function to
  • Communication processing of communication device 100 14 and 15 are flowcharts showing an example of communication processing of the communication device (master device) according to the third embodiment. This process represents another example of the communication process executed by the communication device 100 described with reference to FIG. A detailed description of the same processing contents as in the first and second embodiments will be omitted here.
  • step S1401 the changing unit 506 of the communication device 100 determines whether the communication unit 501 has received data. If data has not been received, the changing unit 506 causes the process to proceed to step S1402. On the other hand, if data has been received, the changing unit 506 causes the process to proceed to step S1405.
  • step S1402 When the process moves to step S1402, 1 is added to the communication disabled counter. Also, in step S1403, the changing unit 506 determines whether or not the value of the communication disabled counter is equal to or greater than the threshold. If the value of the communication disabled counter is greater than or equal to the threshold, the changing unit 506 causes the process to proceed to step S1404. On the other hand, if the value of the communication disabled counter is less than the threshold, the changing unit 506 returns the process to step S1401.
  • step S1404 After moving to step S1404, the changing unit 506 adds 1 to the SF value and returns the process to step S1401.
  • step S1405 when the process moves from step S1401 to step S1405, the changing unit 506 resets the communication disabled counter. Also, in step S1406, the communication device 100 executes, for example, data reception processing as shown in steps S904 to S907 in FIG. 9, and shifts the processing to step S1501 in FIG.
  • the changing unit 506 of the communication device 100 acquires the arrival rate, RSSI, number of retransmissions, or the like for a predetermined period.
  • step S1502 the changing unit 506 determines, for example, whether the arrival rate is less than the threshold, the RSSI is less than the threshold, and the number of retransmissions is greater than or equal to the threshold. If the above conditions are satisfied, the changing unit 506 causes the process to proceed to step S1503. On the other hand, if the above requirements are not satisfied, the changing unit 506 causes the process to proceed to step S1506.
  • the changing unit 506 After moving to step S1503, the changing unit 506 requests the corresponding other communication device to set the SF value to N+1 (transmits a change command).
  • N is the current SF value.
  • step S1504 the changing unit 506 determines whether or not an ACK has been received from the corresponding other communication device within a predetermined time. If ACK has not been received, the changing unit 506 returns the process to step S1503. On the other hand, when ACK is received, the changing unit 506 shifts the process to step S1505.
  • step S1505 the changing unit 506 sets the SF value of its own device (communication device 100) to N+1. Further, when the transmission timing differs depending on the set SF value, the communication devices 110a, 110b, and 110c change the reception timing according to the changed SF value. After completing the process of step S1505, the changing unit 506 returns the process to step S1401 in FIG.
  • step S1502 the changing unit 506 determines whether, for example, the arrival rate is greater than or equal to the threshold, the RSSI is greater than or equal to the threshold, and the number of retransmissions is less than the threshold. If the above conditions are satisfied, the changing unit 506 causes the process to proceed to step S1507. On the other hand, if the above requirements are not met, the changing unit 506 returns the process to step S1401 in FIG.
  • the changing unit 506 After moving to step S1507, the changing unit 506 requests the corresponding other communication device to set the SF value to N-1 (transmits a change command).
  • N is the current SF value.
  • step S1508 the changing unit 506 determines whether or not an ACK has been received from the corresponding other communication device within a predetermined time. If ACK has not been received, the changing unit 506 returns the process to step S1507. On the other hand, when ACK is received, the changing unit 506 shifts the process to step S1509.
  • the changing unit 506 After moving to step S1509, the changing unit 506 sets the SF value of its own device (communication device 100) to N-1. Further, when the transmission timing differs depending on the set SF value, the communication devices 110a, 110b, and 110c change the reception timing according to the changed SF value. After completing the process of step S1509, the changing unit 506 returns the process to step S1401 in FIG.
  • the communication device 100 changes the SF value, the timing for switching the SF value, etc., based on, for example, the radio wave condition, the communication congestion condition, or the distance from the other communication device 110. be able to.
  • FIG. 16 is a flowchart illustrating an example of communication processing of a communication device (child device) according to the third embodiment. This processing shows an example of communication processing of the communication device (child device) 110 corresponding to the communication processing of the communication device (master device) 100 described with reference to FIGS. A detailed description of the same processing contents as in the first and second embodiments will be omitted here.
  • control unit 510 of the communication device 110 waits until the transmission timing, and transmits data using the communication unit 511 when the transmission timing comes.
  • step S1603 the control unit 510 determines whether or not an ACK indicating that data has been received has been received from the communication device 100 within a predetermined time. If ACK has not been received, control unit 510 causes the process to proceed to step S1604. On the other hand, when ACK is received, control unit 510 causes the process to proceed to step S1609.
  • control unit 510 After moving to step S1004, the control unit 510 holds the transmission data. Also, in step S1606, control unit 510 adds 1 to the transmission disabled counter.
  • step S1607 the control unit 510 determines whether or not the value of the communication disabled counter is equal to or greater than the threshold. If the value of the communication disabled counter is greater than or equal to the threshold, control unit 510 causes the process to proceed to step S1608. On the other hand, if the value of the communication disabled counter is less than the threshold, the changing unit 506 returns the process to step S1601.
  • control unit 510 After moving to step S1608, the control unit 510 adds 1 to the SF value of its own device (communication device 110).
  • step S1603 when the process moves from step S1603 to step S1609, the control unit 510 resets the transmission disable counter.
  • control unit 510 determines whether or not there is unsent data up to the previous time. If there is unsent data, control unit 510 causes the process to proceed to step S1611. On the other hand, if there is no unsent data, control unit 510 returns the process to step S1601.
  • control unit 510 uses the communication unit 511 to transmit the held unsent data, and returns the process to step S1601.
  • step S1621 when the communication unit 511 of the communication device 110 receives the control information, the control unit 510 executes the process of step S1622.
  • step S1622 the control unit 510 determines whether or not the received control information is an SF value change command. If it is an SF value change command, control unit 510 causes the process to proceed to step S1608. On the other hand, if it is not an SF value change command, the control unit 510 returns the process to step S1601, for example. Alternatively, the control unit 510 may execute processing corresponding to the received control information.
  • the communication system 1 changes the SF value and the timing for switching the SF value based on, for example, the radio wave condition, the communication congestion condition, or the distance from the other communication device 110. be able to.
  • FIG. 17 is a flowchart illustrating an example of reception information acquisition processing according to the fourth embodiment. This process represents another example of the received information acquisition process executed by the communication device 100 described with reference to FIG. A detailed description of the same processing contents as in the first to third embodiments will be omitted here.
  • step S1701 the acquisition unit 503 of the communication device 100 sets the SF value "12" in the communication unit 501.
  • step S1702 the communication unit 501 receives predetermined time data with the set SF value.
  • step S1703 the acquisition unit 503 determines whether the communication unit 501 has received the data. If the data can be received, the acquisition unit 503 causes the process to proceed to step S1704. On the other hand, if the data cannot be received, the acquisition unit 503 shifts the process to step S1706.
  • the acquisition unit 503 determines whether or not the received data has reached a predetermined data amount. If the predetermined amount of data has not been reached, the acquisition unit 503 returns the process to step S1702. On the other hand, when the predetermined data amount is reached, the acquisition unit 503 causes the process to proceed to step S1705.
  • the acquisition unit 503 executes SF value change processing as shown in FIG.
  • FIG. 18 is a flowchart showing an example of SF value change processing according to the fourth embodiment.
  • the changing unit 506 of the communication device 100 acquires the arrival rate, RSSI, number of retransmissions, or the like for a predetermined period.
  • step S1802 the changing unit 506 determines whether, for example, the arrival rate is greater than or equal to the threshold, the RSSI is greater than or equal to the threshold, and the number of retransmissions is less than the threshold. If the above conditions are not satisfied, the changing unit 506 causes the process to proceed to step S1803. On the other hand, if the above condition is satisfied, the changing unit 506 causes the process to proceed to step S1806.
  • the changing unit 506 After moving to step S1803, the changing unit 506 requests the corresponding other communication device to set the SF value to N+1 (transmits a change command).
  • N is the current SF value.
  • step S1804 the changing unit 506 determines whether or not an ACK has been received from the corresponding other communication device within a predetermined time. If ACK has not been received, the changing unit 506 returns the process to step S1803. On the other hand, when ACK is received, the changing unit 506 shifts the process to step S1805.
  • the changing unit 506 After moving to step S1805, the changing unit 506 sets the SF value of its own device (communication device 100) to N+1. However, if the current SF value is 12, the changing unit 506 keeps the SF value at 12.
  • step S1802 the change unit 506 requests the corresponding other communication device to set the SF value to N-1 (transmits a change command).
  • N is the current SF value.
  • step S1807 the changing unit 506 determines whether or not an ACK has been received from the corresponding other communication device within a predetermined time. If ACK has not been received, the changing unit 506 returns the process to step S1806. On the other hand, when ACK is received, the changing unit 506 shifts the process to step S1808.
  • the changing unit 506 sets the SF value of its own device (communication device 100) to N-1, and returns the processing to step S1702 in FIG.
  • step S1703 the acquisition unit 503 adds 1 to the unsendable counter.
  • step S1707 the acquisition unit 503 determines whether or not the value of the communication disabled counter is greater than or equal to the threshold. If the value of the communication disabled counter is not greater than or equal to the threshold, the acquisition unit 503 returns the process to step S1702. On the other hand, if the value of the communication disabled counter is greater than or equal to the threshold, the acquisition unit 503 causes the process to proceed to step S1705.
  • the acquisition unit 503 After moving to step S1708, the acquisition unit 503 adds 1 to the SF value of its own device (communication device 100). However, if the current SF value is "12", the current SF value "12" is maintained.
  • the acquisition unit 503 acquires received information by switching the SF value every predetermined time.
  • step S1710 the acquisition unit 503 determines whether or not the required amount of received information has been reached. If the required amount of received information has not been reached, the acquisition unit 503 returns the process to step S1709. On the other hand, if the required amount of received information has been reached, the acquisition unit 503 causes the process to proceed to step S1711.
  • the acquiring unit 503 After moving to step S1711, the acquiring unit 503 notifies the determining unit 504 of the acquired reception information.
  • FIG. 19 is a flowchart illustrating an example of communication processing of a communication device (child device) according to the fourth embodiment. 19, steps S1601 to S1606, S1609 to S1611, and S1621 are the same as the communication processing of the communication device (slave device) according to the third embodiment described with reference to FIG. Now, the description will focus on the differences from the third embodiment.
  • step S1901 the control unit 510 of the communication device 110 determines whether or not the value of the communication disabled counter is greater than or equal to the threshold. If the value of the communication disabled counter is greater than or equal to the threshold, control unit 510 causes the process to proceed to step S1902. On the other hand, if the value of the communication disabled counter is less than the threshold, the changing unit 506 returns the process to step S1601.
  • control unit 510 After moving to step S1902, the control unit 510 adds 1 to the SF value of its own device (communication device 110). However, if the SF value of its own device is "12", control unit 510 maintains the SF value "12".
  • control unit 510 determines in step S1911 whether or not the received control information is an SF value change command. If the received control information is an SF value change command, control unit 510 causes the process to proceed to step S1912. On the other hand, if the received control information is not an SF value change command, control unit 510 returns the process to step S1601.
  • control unit 510 After moving to step S1912, the control unit 510 changes the SF value of its own device (communication device 110) according to the SF value change command. However, when the SF value of the device itself is "12", if a change command to add 1 to the SF value is accepted, the control unit 510 does not add the SF value.
  • the communication system 1 switches between the SF value and the SF value based on, for example, the radio wave condition, the communication congestion condition, or the distance from the other communication device 110. Timing etc. can be changed.
  • the communication device 100 that can communicate with other communication devices 110 having the same spread spectrum SF value communicates with a plurality of other communication devices 110 having different SF values. becomes easier.
  • the communication system 1 performs communication according to changes in the communication environment such as the radio wave condition, the degree of communication congestion, or the distance to another communication device 110.
  • the SF values of device 100 and communication device 110 can be changed.
  • FIG. 20 is a diagram illustrating an example of changes in SF values in a communication system according to an embodiment.
  • the communication device 100 receives data with an SF value of "5" during a period of time t0 to t1, receives data with an SF value of "8" during a period of time t1 to t2, and receives data with an SF value of "8" during a period of time t2 to t3. It is assumed that data is received with an SF value of "11" during the period.
  • the communication device 100 fails to receive data during the period from time t1 to t2, and the communication disable counter exceeds the threshold. In this case, the communication device 100 changes the SF value from "8" to "9" during the period from time t4 to t5.
  • the communication apparatus 110b which has been transmitting data at predetermined time intervals with an SF value of "8" changes its SF value from "8" to "9” when the transmission disable counter exceeds the threshold value at any timing. change to As a result, in the example of FIG. 20, the SF values of both the communication device 100 and the communication device 110 are "9" during the period from time t4 to time t5, and the communication device 100 receives the data transmitted by the communication device 110b. be able to receive.
  • the communication device 100 issues a change instruction to change the SF value from "11" to SF value "12" because the arrival rate of data with the SF value "11" is low. shall be sent.
  • the communication device 110c which has been transmitting data at predetermined time intervals with an SF value of “11”, receives an instruction to change the SF value to “12” from the communication device 100, for example, the next transmission timing , change the SF value to "12” and transmit the data.
  • This enables the communication device 100 to receive data transmitted by the communication device 110c with an SF value of "12", for example, during the period from time t6 to time t7.
  • communication device 110 communication device (other communication device) 110a communication device (an example of a first communication device) 110b communication device (an example of a second communication device) 500 control unit 501 communication unit 502 storage unit 503 acquisition unit 504 determination unit 505 switching unit 506 change unit 510 control unit 511 communication unit 513 reception unit 514 setting unit

Landscapes

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

Abstract

A communication device capable of communicating with another communication device having the same SF value of a spread spectrum scheme is provided. In order to facilitate communication with a plurality of other communication devices having different SF values, the communication device, which is capable of communicating with another communication device having the same SF value of a spread spectrum scheme, communicates with another communication device while switching a plurality of SF values in a time-division manner.

Description

通信装置、通信システム、通信方法、及びプログラムCommunication device, communication system, communication method, and program
 本開示は、通信装置、通信システム、通信方法、及びプログラムに関する。 The present disclosure relates to communication devices, communication systems, communication methods, and programs.
 スペクトラム拡散方式を利用した無線通信システムにおいて、無線通信システムに含まれる通信装置と他の通信装置との間で通信を行うためには、通信装置と他の通信装置に同じSF(Spreading Factor)値を設定する必要がある。 In a radio communication system using the spread spectrum system, in order to communicate between a communication device included in the radio communication system and another communication device, the communication device and the other communication device must have the same SF (Spreading Factor) value. must be set.
 また、スペクトラム拡散方式のSF値を、例えば、ノイズレベル、基地局との距離、又は蓄電素子の出力電圧等に基づいて決定する技術が知られている(例えば、特許文献1~3参照)。 Also, there is known a technique of determining the SF value of the spread spectrum method based on, for example, the noise level, the distance from the base station, or the output voltage of the storage element (see Patent Documents 1 to 3, for example).
特開2000-261366号公報JP-A-2000-261366 特開2018-101831号公報JP 2018-101831 A 特開2019-29771号公報JP 2019-29771 A
 例えば、ゲートウェイ等の通信装置が、センサ等の複数の他の通信装置とスペクトラム拡散方式の無線通信で通信する通信システムにおいて、他の通信装置に、他の通信装置の設置状況に応じて異なるSF値を設定したいという要求がある。 For example, in a communication system in which a communication device such as a gateway communicates with a plurality of other communication devices such as sensors by wireless communication using a spread spectrum method, the other communication devices may be provided with different SFs depending on the installation status of the other communication devices. You have a request to set a value.
 しかし、従来の技術では、スペクトラム拡散方式のSF値が同一の他の通信装置と通信可能な通信装置が、SF値が異なる複数の他の通信装置と通信を行うことには困難を伴っていた。 However, in the conventional technology, it is difficult for a communication device capable of communicating with other communication devices having the same spread spectrum SF value to communicate with a plurality of other communication devices having different SF values. .
 本開示は、スペクトラム拡散方式のSF値が同一の他の通信装置と通信可能な通信装置において、SF値が異なる複数の他の通信装置と通信を行うことを容易にする。 The present disclosure facilitates communication with a plurality of other communication devices with different SF values in a communication device that can communicate with other communication devices with the same spread spectrum SF value.
 本開示の第1の態様に係る通信装置は、スペクトラム拡散方式のSF値が同一の他の通信装置と通信可能な通信装置であって、複数のSF値を時分割で切り替えながら他の通信装置と通信する。 A communication device according to a first aspect of the present disclosure is a communication device capable of communicating with another communication device having the same SF value in a spread spectrum system, and switching between a plurality of SF values in a time division manner. communicate with
 本開示の第1の態様によれば、スペクトラム拡散方式のSF値が同一の他の通信装置と通信可能な通信装置において、SF値が異なる複数の他の通信装置と通信を行うことが容易になる。 According to the first aspect of the present disclosure, a communication device capable of communicating with other communication devices having the same spread spectrum SF value can easily communicate with a plurality of other communication devices having different SF values. Become.
 本開示の第2の態様は、第1の態様に記載の通信装置であって、前記複数のSF値は、前記通信装置に設定可能なSF値の範囲内の任意の値である。 A second aspect of the present disclosure is the communication device according to the first aspect, wherein the plurality of SF values are arbitrary values within a range of SF values that can be set for the communication device.
 本開示の第3の態様は、第1又は2の態様に記載の通信装置であって、前記SF値は、前記他の通信装置を設置する設置者が、前記他の通信装置に設定する設定値である。 A third aspect of the present disclosure is the communication device according to the first or second aspect, wherein the SF value is set in the other communication device by an installer who installs the other communication device. value.
 本開示の第3の態様によれば、ゲートウェイ等の通信装置が、センサ等の複数の他の通信装置とスペクトラム拡散方式の無線通信で通信する通信システムにおいて、他の通信装置に、他の通信装置の設置状況に応じて異なるSF値を設定することができる。 According to a third aspect of the present disclosure, in a communication system in which a communication device such as a gateway communicates with a plurality of other communication devices such as sensors via spread spectrum wireless communication, Different SF values can be set according to the installation situation of the device.
 本開示の第4の態様は、第1から3のいずれかの態様に記載の通信装置であって、前記通信装置は、前記SF値ごとに定められた切替タイミングで、前記SF値を切り替えて通信する。 A fourth aspect of the present disclosure is the communication device according to any one of the first to third aspects, wherein the communication device switches the SF value at a switching timing determined for each SF value. connect.
 本開示の第5の態様は、第1から4のいずれかの態様に記載の通信装置であって、前記通信装置は、所定の時間間隔で前記SF値を変更して、前記他の通信装置との通信の可否を判定し、前記通信の可否の判定結果に基づいて前記複数のSF値を決定する。 A fifth aspect of the present disclosure is the communication device according to any one of the first to fourth aspects, wherein the communication device changes the SF value at predetermined time intervals to and determines the plurality of SF values based on the communication availability determination result.
 本開示の第6の態様は、第5の態様に記載の通信装置であって、前記通信装置は、電波状況、前記通信の混雑状況、又は前記他の通信装置との間の距離に基づいて前記複数のSF値を変更する。 A sixth aspect of the present disclosure is the communication device according to the fifth aspect, wherein the communication device performs Modifying the plurality of SF values.
 本開示の第7の態様は、第1から6のいずれかの態様に記載の通信装置であって、前記通信装置は、外部から前記複数のSF値を設定可能である。 A seventh aspect of the present disclosure is the communication device according to any one of the first to sixth aspects, wherein the communication device can externally set the plurality of SF values.
 本開示の第8の態様は、第1から7のいずれかの態様に記載の通信装置であって、前記通信装置は、所定の時間間隔で前記SF値を変更し、前記他の通信装置と前記通信を行った時刻に基づいて、前記複数のSF値を切り替えるタイミングを決定する。 An eighth aspect of the present disclosure is the communication device according to any one of the first to seventh aspects, wherein the communication device changes the SF value at predetermined time intervals, and A timing for switching the plurality of SF values is determined based on the time when the communication is performed.
 本開示の第9の態様は、第8の態様に記載の通信装置であって、前記通信装置は、電波状況、又は前記通信の混雑状況に応じて、前記複数のSF値を切り替えるタイミングを変更する。 A ninth aspect of the present disclosure is the communication device according to the eighth aspect, wherein the communication device changes the timing of switching the plurality of SF values according to radio wave conditions or congestion conditions of the communication. do.
 本開示の第10の態様は、第1から9のいずれかの態様に記載の通信装置であって、前記通信装置は、外部から前記複数のSF値を切り替えるタイミングを設定可能である。 A tenth aspect of the present disclosure is the communication device according to any one of the first to ninth aspects, wherein the communication device can externally set timing for switching the plurality of SF values.
 本開示の第11の態様は、第1~10のいずれかの態様に記載の通信装置と、他の通信装置とを含む通信システムであって、前記他の通信装置は、前記他の通信装置に設定された前記SF値で前記通信装置と通信する。 An eleventh aspect of the present disclosure is a communication system including the communication device according to any one of the first to tenth aspects and another communication device, wherein the other communication device communicate with the communication device with the SF value set to .
 本開示の第12の態様は、第11の態様に記載の通信システムであって、前記他の通信装置は、第1のSF値が設定されている第1の通信装置と、前記第1のSF値とは異なる第2のSF値が設定されている第2の通信装置とを含む。 A twelfth aspect of the present disclosure is the communication system according to the eleventh aspect, wherein the other communication device is a first communication device to which a first SF value is set; and a second communication device configured with a second SF value different from the SF value.
 本開示の第13の態様は、第11又は12の態様委記載の通信システムであって、前記他の通信装置は、設定された送信スケジュールに従って、前記通信装置にデータを送信する。 A thirteenth aspect of the present disclosure is the communication system according to the eleventh or twelfth aspect, wherein the other communication device transmits data to the communication device according to a set transmission schedule.
 本開示の第14の態様は、第11~13のいずれかの態様に記載の通信システムであって、前記他の通信装置は、前記通信装置にデータを送信した後に、前記通信装置から応答がない場合、通信異常と判定して前記データを保持し、前記通信異常が解消したときに、前記保持したデータを前記通信装置に再送する。 A fourteenth aspect of the present disclosure is the communication system according to any one of the eleventh to thirteenth aspects, wherein the other communication device receives a response from the communication device after transmitting data to the communication device If not, it determines that there is a communication abnormality, holds the data, and retransmits the held data to the communication device when the communication abnormality is resolved.
 本開示の第15の態様に係る通信方法は、スペクトラム拡散方式のSF値が同一の他の通信装置と通信可能な通信装置が、複数のSF値を時分割で切り替えながら他の通信装置と通信する。 In a communication method according to a fifteenth aspect of the present disclosure, a communication device capable of communicating with another communication device having the same SF value of the spread spectrum method communicates with the other communication device while switching a plurality of SF values in a time division manner. do.
 本開示の第16の態様に係るプログラムは、スペクトラム拡散方式のSF値が同一の他の通信装置と通信可能な通信装置に、複数のSF値を時分割で切り替えながら他の通信装置と通信させる。 A program according to a sixteenth aspect of the present disclosure causes a communication device capable of communicating with other communication devices having the same spread spectrum SF value to communicate with the other communication device while switching a plurality of SF values in a time division manner. .
一実施形態に係る通信システムのシステム構成の例を示す図である。1 is a diagram illustrating an example of a system configuration of a communication system according to one embodiment; FIG. 一実施形態に係る処理の概要について説明するための図(1)である。1 is a diagram (1) for explaining an outline of processing according to an embodiment; FIG. 一実施形態に係る処理の概要について説明するための図(2)である。FIG. 2 is a diagram (2) for explaining an outline of processing according to an embodiment; 一実施形態に係る通信装置のハードウェア構成の例を示す図である。It is a figure which shows the example of the hardware configuration of the communication apparatus which concerns on one Embodiment. 一実施形態に係る通信システムの機能構成の例を示す図である。It is a figure showing an example of functional composition of a communications system concerning one embodiment. 第1の実施形態に係る受信情報の取得処理の一例を示すフローチャートである。8 is a flowchart illustrating an example of reception information acquisition processing according to the first embodiment; 第1の実施形態に係る受信情報の取得処理の別の一例を示すフローチャートである。FIG. 9 is a flowchart showing another example of the reception information acquisition process according to the first embodiment; FIG. 第1の実施形態に係るSF値の決定処理の例を示すフローチャートである。7 is a flowchart showing an example of SF value determination processing according to the first embodiment; 第1の実施形態に係る通信装置(親機)の通信処理の例を示すフローチャートである。6 is a flowchart showing an example of communication processing of the communication device (master device) according to the first embodiment; 第1の実施形態に係る通信装置(子機)の通信処理の例を示すフローチャートである。4 is a flowchart showing an example of communication processing of the communication device (child device) according to the first embodiment; 第2の実施形態に係る受信情報の取得処理の例を示すフローチャート(1)である。FIG. 10 is a flowchart (1) showing an example of reception information acquisition processing according to the second embodiment; FIG. 第2の実施形態に係る受信情報の取得処理の例を示すフローチャート(2)である。FIG. 10 is a flowchart (2) showing an example of reception information acquisition processing according to the second embodiment; FIG. 第2の実施形態に係る通信装置(子機)の通信処理の例を示すフローチャートである。9 is a flowchart showing an example of communication processing of a communication device (child device) according to the second embodiment; 第3の実施形態に係る通信装置(親機)の通信処理の例を示すフローチャート(1)である。10 is a flowchart (1) showing an example of communication processing of the communication device (master device) according to the third embodiment; 第3の実施形態に係る通信装置(親機)の通信処理の例を示すフローチャート(2)である。14 is a flowchart (2) showing an example of communication processing of the communication device (master device) according to the third embodiment; 第3の実施形態に係る通信装置(子機)の通信処理の例を示すフローチャートである。FIG. 11 is a flow chart showing an example of communication processing of a communication device (child device) according to the third embodiment; FIG. 第4の実施形態に係る受信情報の取得処理の例を示すフローチャートである。FIG. 16 is a flowchart showing an example of a reception information acquisition process according to the fourth embodiment; FIG. 第4の実施形態に係るSF値の変更処理の例を示すフローチャートである。FIG. 14 is a flowchart showing an example of SF value change processing according to the fourth embodiment; FIG. 第4の実施形態に係る通信装置(子機)の通信処理の例を示すフローチャートである。FIG. 14 is a flowchart showing an example of communication processing of a communication device (child device) according to the fourth embodiment; FIG. 一実施形態に係る通信システムのSF値の変化の例を示す図である。FIG. 5 is a diagram illustrating an example of changes in SF values in a communication system according to an embodiment;
 以下、各実施形態について添付の図面を参照しながら説明する。なお、本明細書及び図面において、実質的に同一の機能構成を有する構成要素については、同一の符号を付することにより重複した説明を省略する。 Each embodiment will be described below with reference to the attached drawings. In the present specification and drawings, constituent elements having substantially the same functional configuration are denoted by the same reference numerals, thereby omitting redundant description.
 <システム構成>
 図1は、一実施形態に係る通信システムのシステム構成の例を示す図である。通信システム1は、通信装置(親機)100とスペクトラム拡散方式の無線通信で通信する複数の通信装置110a、110b、110c、・・・と、通信装置(親機)100とを含む。なお、以下の説明において、複数の通信装置110a、110b、110c、・・・のうち、任意の通信装置を示す場合、「通信装置110」を用いる。また、図1に示す通信装置110の数は一例であり、2つ以上の他の数であっても良い。
<System configuration>
FIG. 1 is a diagram illustrating an example of a system configuration of a communication system according to one embodiment. The communication system 1 includes a plurality of communication devices 110a, 110b, 110c, . In the following description, "communication device 110" is used when indicating an arbitrary communication device among the plurality of communication devices 110a, 110b, 110c, . . . Also, the number of communication devices 110 shown in FIG. 1 is an example, and the number may be two or more.
 ここでは、具体的な一例として、通信装置100は、LoRa(登録商標)(Long Range)Privateのゲートウェイであり、他の通信装置110は、LoRa Privateのデバイス(センサ)であるものとして以下の説明を行う。 Here, as a specific example, the communication device 100 is a LoRa (registered trademark) (Long Range) Private gateway, and the other communication device 110 is a LoRa Private device (sensor). I do.
 LoRaは、低消費電力で広域無線通信を実現できるLPWA(Low Power Wide Area)の無線通信の1つであり、無線変調にスペクトラム拡散方式を用いる。LoRaでは、スペクトラム拡散方式の拡散率(SF:Spreading Factor)の設定値(以下、SF値と呼ぶ)の大小により、通信距離と通信速度のトレードオフの関係を設定できる。例えば、SF値をより大きく設定すると、通信速度が遅くなるが、通信距離が長くなる。一方、SF値をより小さく設定すると、通信速度が速くなるが、通信距離が短くなる。LoRaのうち、パブリックなネットワークをLoRa WAN(Wide Area Network)と呼び、プライベートなネットワークをLoRa Privateと呼ぶ。 LoRa is one of the LPWA (Low Power Wide Area) wireless communications that can achieve wide-area wireless communications with low power consumption, and uses the spread spectrum method for wireless modulation. In LoRa, a trade-off relationship between communication distance and communication speed can be set depending on the magnitude of the setting value (hereinafter referred to as SF value) of the spreading factor (SF) of the spread spectrum system. For example, if the SF value is set larger, the communication speed becomes slower, but the communication distance becomes longer. On the other hand, when the SF value is set smaller, the communication speed becomes faster, but the communication distance becomes shorter. Among LoRa, a public network is called LoRa WAN (Wide Area Network), and a private network is called LoRa Private.
 なお、LoRa、及びLoRa Privateは、本実施形態に係るスペクトラム通信方式の通信システム1の一例である。通信システム1は、LoRa以外のスペクトラム通信方式を適用したシステムであっても良い。 Note that LoRa and LoRa Private are examples of the communication system 1 of the spectrum communication scheme according to the present embodiment. The communication system 1 may be a system to which a spectrum communication method other than LoRa is applied.
 スペクトラム通信方式の通信システム1では、例えば、通信装置100と通信装置110aとの間で通信する場合、通信装置(親機)100と通信装置(子機)110aとに同じSF値を設定することにより、通信が可能となる。 In the communication system 1 of the spectrum communication method, for example, when communication is performed between the communication device 100 and the communication device 110a, the same SF value is set to the communication device (base device) 100 and the communication device (child device) 110a. enables communication.
 従って、従来の通信システムでは、例えば、複数の通信装置110a、110b、110c、・・・に、異なるSF値を設定する場合、通信装置100に、SF値の設定パターンの数だけ、無線モジュールを搭載している。しかし、この方法では、例えば、SF値の異なる通信装置110の数が増えた場合、通信装置100に無線モジュールを追加することになり、搭載スペースの拡大が必要になる。また、初めから、設定可能な全てのSF値に対応する無線モジュールを通信装置100に搭載しておくことも考えられるが、コストが増加してしまうという問題がある。 Therefore, in a conventional communication system, for example, when different SF values are set in a plurality of communication devices 110a, 110b, 110c, . Installed. However, with this method, for example, when the number of communication devices 110 having different SF values increases, a wireless module is added to the communication device 100, which requires expansion of the mounting space. It is also conceivable to install wireless modules corresponding to all settable SF values in the communication apparatus 100 from the beginning, but there is a problem that the cost increases.
 このように、従来の技術では、スペクトラム拡散方式のSF値が同一の他の通信装置110と通信可能な通信装置100が、SF値が異なる複数の他の通信装置110a、110b、110c、・・・と通信を行うことには困難を伴っていた。 As described above, according to the conventional technique, the communication device 100 capable of communicating with another communication device 110 having the same SF value of the spread spectrum system communicates with a plurality of other communication devices 110a, 110b, 110c, . . . having different SF values. It was difficult to communicate with
 そこで、本実施形態に係る通信装置100は、複数のSF値を時分割で切り替えながら、SF値が異なる複数の他の通信装置110a、110b、110c、・・・と通信する。これにより、通信装置100は、無線モジュールの搭載スペースの拡大、又はコストの増加等を伴わずに、SF値が異なる複数の他の通信装置110a、110b、110c、・・・と通信することができる。 Therefore, the communication device 100 according to the present embodiment communicates with a plurality of other communication devices 110a, 110b, 110c, . As a result, the communication device 100 can communicate with a plurality of other communication devices 110a, 110b, 110c, . can.
 <処理の概要>
 図2、3は、一実施形態に係る処理の概要について説明するための図である。図2において、通信装置110a、110b、110cは、例えば、各通信装置を設置する設置者(又は各通信装置を管理する管理者)等によって、それぞれ、SF値が「5」、「8」、「12」に設定されているものとする。また、通信装置110a、110b、110cは、それぞれ、所定の送信タイミングで、データ(例えば、センサデータ等)を送信しているものとする。なお、通信装置100aは、第1の通信装置の一例であり、SF値「5」は、第1のSF値の一例である。また、通信装置100bは、第2の通信装置の一例であり、SF値「8」は、第2のSF値の一例である。
<Overview of processing>
2 and 3 are diagrams for explaining an outline of processing according to an embodiment. In FIG. 2, communication devices 110a, 110b, and 110c have SF values of “5,” “8,” and SF values determined by an installer (or an administrator who manages each communication device) who installs each communication device, for example. Assume that it is set to "12". Further, it is assumed that the communication devices 110a, 110b, and 110c each transmit data (for example, sensor data, etc.) at predetermined transmission timings. Note that the communication device 100a is an example of a first communication device, and the SF value "5" is an example of a first SF value. Also, the communication device 100b is an example of a second communication device, and the SF value "8" is an example of a second SF value.
 (受信情報の取得処理)
 通信装置100は、SF値を所定の時間間隔で切り替えながら、他の通信装置110が送信するデータ(例えば、センサデータ等)を受信する。例えば、図2の状態Aのように、通信装置100のSF値が「5」である期間、通信装置100は、通信装置110aが送信するデータを受信し、受信時刻、SF値、RSSI(Receive Signal Strength Indicator)、及び送信間隔等の情報を、受信情報210aに記憶する。
(Acquisition processing of received information)
The communication device 100 receives data (for example, sensor data, etc.) transmitted by another communication device 110 while switching the SF value at predetermined time intervals. For example, as in state A in FIG. Signal Strength Indicator) and information such as transmission intervals are stored in the reception information 210a.
 また、例えば、図2の状態Bのように、通信装置100のSF値が「8」である期間、通信装置100は、通信装置110bが送信するデータを受信し、受信時刻、SF値、RSSI、及び送信間隔等の情報を、受信情報210bに記憶する。同様に、例えば、図2の状態Cのように、通信装置100のSF値が「12」である期間、通信装置100は、通信装置110cが送信するデータを受信し、受信時刻、SF値、RSSI、及び送信間隔等の情報を、受信情報210cに記憶する。 Further, for example, as in state B in FIG. 2, during a period in which the SF value of the communication device 100 is "8", the communication device 100 receives data transmitted by the communication device 110b, and , and transmission intervals are stored in the reception information 210b. Similarly, for example, as in state C of FIG. Information such as RSSI and transmission interval is stored in the reception information 210c.
 (SF値の決定処理)
 また、通信装置100は、取得した受信情報210a~210cに基づいて、通信装置100が時分割で切り替える複数のSF値、及びSF値の切替タイミング等を決定する。
(Determination process of SF value)
Further, the communication device 100 determines a plurality of SF values to be switched by the communication device 100 in a time division manner, switching timing of the SF values, and the like, based on the acquired reception information 210a to 210c.
 例えば、通信装置100は、図3に示すように、取得した受信情報(例えば、受信情報210a~210c)を、機械学習で学習済のSF値決定モデル301に入力することにより、複数のSF値、及びSF値の切替タイミングを決定する。この場合、例えば、情報処理装置等を用いて、複数の受信情報を説明変数とし、最適なSF値を目的変数(教師データ)とした複数の学習データを用いて、SF値決定モデル301を予め学習しておく。 For example, as shown in FIG. 3, the communication device 100 inputs the acquired received information (for example, received information 210a to 210c) to the SF value determination model 301 that has been learned by machine learning, thereby obtaining a plurality of SF values. , and the switching timing of the SF value. In this case, for example, using an information processing device or the like, the SF value determination model 301 is generated in advance using a plurality of learning data with a plurality of received information as explanatory variables and an optimal SF value as an objective variable (teaching data). keep learning.
 通信装置100は、決定した複数のSF値の組合せ、及び切替タイミング302に従って、複数のSF値を時分割で切り替えながら、通信装置110a~110cと通信する。ここで、時分割とは、1つの無線モジュールを用いて、複数のSF値を時間的に切り替えながら通信することを示しており、例えば、タイムスライス、又はタイムシェアリング等と呼ばれる。 The communication device 100 communicates with the communication devices 110a to 110c while switching the plurality of SF values in a time division manner according to the determined combination of the plurality of SF values and the switching timing 302. Here, time division means that communication is performed while switching a plurality of SF values temporally using one wireless module, and is called time slicing or time sharing, for example.
 図3の例では、通信装置100は、時間t0からt1までの期間T5において、SF値を「5」に設定し、時間t1からt2までの期間T8において、SF値を「8」に設定し、時間t2からt3迄の期間T12において、SF値を「12」に設定して通信している。 In the example of FIG. 3, the communication device 100 sets the SF value to "5" in a period T5 from time t0 to t1, and sets the SF value to "8" in a period T8 from time t1 to t2. , during a period T12 from time t2 to time t3, communication is performed with the SF value set to "12".
 なお、設定する複数のSF値「5」、「8」、「12」の組合せは、主に、受信情報210a~210cに含まれる「SF値」等によって決定される。また、期間「T5」、「T8」、「T12」は、主に、受信情報210a~210cに含まれる「受信時刻」、及び「送信間隔」等によって決定される。従って、通信装置100は、複数の通信装置110の数が少なく、送信タイミングが重複していないとき等は、SF値決定モデル301によらずに、受信情報210a~210cに基づいて、複数のSF値の組合せ、及び切替タイミング302を決定しても良い。 The combination of the multiple SF values "5", "8", and "12" to be set is mainly determined by the "SF value" etc. included in the received information 210a to 210c. Also, the periods "T5", "T8", and "T12" are mainly determined by the "reception time" and the "transmission interval" included in the reception information 210a to 210c. Therefore, when the number of communication devices 110 is small and the transmission timings do not overlap, the communication device 100 determines the plurality of SFs based on the received information 210a to 210c without depending on the SF value determination model 301. A combination of values and switching timing 302 may be determined.
 なお、通信装置110a、110b、110cは、設定されたSF値によって、送信時刻、又は送信間隔等が異なるように制御しても良い。 Note that the communication devices 110a, 110b, and 110c may be controlled so that the transmission time, the transmission interval, or the like differs depending on the set SF value.
 このように、本実施形態によれば、通信装置100は、複数のSF値を時分割で切り替えながら、SF値が異なる複数の他の通信装置110a、110b、110c、・・・と通信することができる。従って、本実施形態によれば、通信装置100は、無線モジュールの搭載スペースの拡大、又はコストの増加等を伴わずに、SF値が異なる複数の他の通信装置110a、110b、110c、・・・と通信することができる。 Thus, according to the present embodiment, the communication device 100 can communicate with a plurality of other communication devices 110a, 110b, 110c, . can be done. Therefore, according to the present embodiment, the communication device 100 can be used with a plurality of other communication devices 110a, 110b, 110c, . can communicate with
 以上、本実施形態によれば、スペクトラム拡散方式のSF値が同一の他の通信装置と通信可能な通信装置100において、SF値が異なる複数の他の通信装置110と通信を行うことが容易になる。 As described above, according to the present embodiment, the communication device 100 capable of communicating with other communication devices having the same spread spectrum SF value can easily communicate with a plurality of other communication devices 110 having different SF values. Become.
 なお、上記の説明では、通信装置100がゲートウェイ等の親機であり、他の通信装置110a、110b、110c、・・・がセンサ等の子機であるものとして説明を行ったが、これに限られない。例えば、通信装置100は、複数のゲートウェイ等にセンサデータを送信するセンサ等の子機であり、他の通信装置110a、110b、110c、・・・は、通信装置100からセンサデータを受信するゲートウェイ等の親機であっても良い。この場合、センサ等の子機である通信装置100は、1つ無線モジュールを用いて、SF値が異なるゲートウェイ等の親機である他の通信装置110a、110b、110c、・・・にデータを送信することができるようになる。 In the above description, the communication device 100 is a parent device such as a gateway, and the other communication devices 110a, 110b, 110c, . . . are child devices such as sensors. Not limited. For example, the communication device 100 is a child device such as a sensor that transmits sensor data to a plurality of gateways, etc., and the other communication devices 110a, 110b, 110c, . It may be a parent device such as In this case, the communication device 100, which is a child device such as a sensor, uses one wireless module to transmit data to other communication devices 110a, 110b, 110c, etc., which are parent devices such as gateways having different SF values. be able to send.
 <ハードウェア構成>
 本実施形態に係る通信装置(親機)100、及び通信装置(子機)110は、例えば、図4に示すようなハードウェア構成を有している。
<Hardware configuration>
The communication device (parent device) 100 and the communication device (child device) 110 according to this embodiment have, for example, a hardware configuration as shown in FIG.
 図4は、一実施形態に係る通信装置のハードウェア構成の例を示す図である。通信装置100、及び通信装置110は、例えば、プロセッサ401、メモリ402、ストレージデバイス403、無線モジュール404、出力装置405、入力装置406、及びバス407等を有する。 FIG. 4 is a diagram showing an example of the hardware configuration of a communication device according to one embodiment. The communication device 100 and the communication device 110 have, for example, a processor 401, a memory 402, a storage device 403, a wireless module 404, an output device 405, an input device 406, a bus 407, and the like.
 プロセッサ401は、例えば、ストレージデバイス403、又はメモリ402等の記憶媒体に記憶した所定のプログラムを実行することにより、様々な機能を実現するCPU(Central Processing Unit)等の演算装置である。メモリ402は、例えば、プロセッサ401のワークエリア等として用いられる揮発性のメモリであるRAM(Random Access Memory)、及びプロセッサ401の起動用のプログラム等を記憶する不揮発性のメモリであるROM(Read Only Memory)等を含む。ストレージデバイス403は、OS(Operating System)、アプリケーション等のプログラム、及び各種のデータ、情報等を記憶する大容量の記憶装置であり、例えば、SSD(Solid State Drive)、又はHDD(Hard Disk Drive)等によって実現される。 The processor 401 is, for example, a computing device such as a CPU (Central Processing Unit) that implements various functions by executing a predetermined program stored in a storage medium such as the storage device 403 or memory 402. The memory 402 includes, for example, RAM (Random Access Memory), which is a volatile memory used as a work area of the processor 401, etc., and ROM (Read Only Memory), which is a non-volatile memory that stores a program for starting the processor 401. Memory), etc. The storage device 403 is a large-capacity storage device that stores an OS (Operating System), programs such as applications, and various data and information. etc.
 無線モジュール404は、例えば、LoRa等のスペクトラム拡散方式の無線通信で、他の通信装置と通信するための無線回路、ベースバンド回路、及び通信制御回路等を含む。出力装置405は、例えば、ディスレイ、スピーカ、LED(Light Emitting Diode)等の外部への出力を行う出力デバイスである。入力装置406は、例えば、タッチパネル、キーボード、又はポインティングデバイス等の外部からの入力を受け付ける入力デバイスである。バス407は、上記の各構成要素に接続され、例えば、アドレス信号、データ信号、及び各種の制御信号等を伝送する。 The wireless module 404 includes a wireless circuit, a baseband circuit, a communication control circuit, and the like for communicating with other communication devices using spread spectrum wireless communication such as LoRa. The output device 405 is, for example, an output device that outputs to the outside, such as a display, a speaker, and an LED (Light Emitting Diode). The input device 406 is, for example, an input device that accepts input from the outside, such as a touch panel, keyboard, or pointing device. A bus 407 is connected to each component described above, and transmits, for example, address signals, data signals, and various control signals.
 <機能構成>
 図5は、一実施形態に係る通信システムの機能構成の例を示す図である。
<Functional configuration>
FIG. 5 is a diagram illustrating an example of a functional configuration of a communication system according to one embodiment;
 (通信装置100の機能構成)
 通信装置(親機)100は、例えば、制御部500、通信部501、及び記憶部502等を有する。
(Functional configuration of communication device 100)
The communication device (master device) 100 has, for example, a control unit 500, a communication unit 501, a storage unit 502, and the like.
 制御部500は、例えば、図4のプロセッサ401等によって実現され、ストレージデバイス403又はメモリ402等の記憶媒体に記憶したプログラムを実行することにより、取得部503、決定部504、切替部505、及び変更部506等を実現している。 The control unit 500 is implemented by, for example, the processor 401 of FIG. It implements the change unit 506 and the like.
 取得部503は、通信装置100のSF値を所定の時間間隔で切り替えながら、他の通信装置110a、110b、110cが送信するデータを受信し、受信時刻、SF値、RSSI、及び送信間隔等の受信情報を取得する受信情報の取得処理を実行する。例えば、取得部503は、図2で説明した、受信情報210a、210b、210c等を取得する。 The acquisition unit 503 receives data transmitted by the other communication devices 110a, 110b, and 110c while switching the SF value of the communication device 100 at predetermined time intervals, and obtains data such as reception time, SF value, RSSI, and transmission interval. Acquire reception information Execute reception information acquisition processing. For example, the acquisition unit 503 acquires the reception information 210a, 210b, 210c, etc. described in FIG.
 決定部504は、取得部503が取得した受信情報に基づいて、通信装置100が時分割で切り替える複数のSF値、及びSF値の切替タイミング等を決定するSF値の決定処理を実行する。例えば、決定部504は、図3で説明したように、取得部503が取得した受信情報を、学習済のSF値決定モデル301に入力することにより、複数のSF値、及びSF値の切替タイミング302を決定する。 Based on the received information acquired by the acquisition unit 503, the determination unit 504 executes SF value determination processing for determining a plurality of SF values to be switched by the communication apparatus 100 in a time division manner, the switching timing of the SF values, and the like. For example, as described with reference to FIG. 3, the determination unit 504 inputs the received information acquired by the acquisition unit 503 to the trained SF value determination model 301, thereby obtaining a plurality of SF values and switching timings of the SF values. 302 is determined.
 切替部505は、決定部504が決定した複数のSF値の組合せ、及び切替タイミング302に従って、通信部501のSF値を切り替える切替処理を実行する。例えば、切替部505は、図3に示すような、複数のSF値の組合せ、及び切替タイミング302に従って、通信部501に対して、時間t0にSF値「5」を設定し、時間t1にSF値「8」を設定し、時間t2にSF値「12」を設定する。なお、図3の例に限られず、切替部505は、通信装置100に設定可能なSF値の範囲内の任意の値を設定し、切り替えるものであって良い。 The switching unit 505 executes switching processing for switching the SF value of the communication unit 501 according to the combination of multiple SF values determined by the determination unit 504 and the switching timing 302 . For example, the switching unit 505 sets the SF value “5” at time t0 to the communication unit 501 according to the combination of a plurality of SF values and the switching timing 302 as shown in FIG. A value of "8" is set, and an SF value of "12" is set at time t2. Note that the switching unit 505 is not limited to the example of FIG. 3, and may set an arbitrary value within the range of SF values that can be set in the communication apparatus 100 and switch.
 変更部506は、例えば、無線通信の混雑状況、又は他の通信装置110a、110b、110c、・・・等との間の距離等に基づいて、他の通信装置100のSF値を変更する変更処理を実行する。なお、変更部506は、オプションであり必須ではない。 The changing unit 506 changes the SF value of the other communication device 100 based on, for example, the state of radio communication congestion or the distance to the other communication devices 110a, 110b, 110c, etc. Execute the process. Note that the change unit 506 is optional and not essential.
 なお、図5に示す制御部500の機能構成は一例である。制御部500は、上記の各処理以外にも、例えば、無線チャネルの設定、データの送受信、又は通信装置110の制御等の一般的な通信制御処理も実行する。 Note that the functional configuration of the control unit 500 shown in FIG. 5 is an example. In addition to the above processes, the control unit 500 also executes general communication control processes such as setting up radio channels, transmitting and receiving data, or controlling the communication device 110 .
 通信部501は、例えば、図4の無線モジュール404等によって実現され、制御部500からの制御に従って、例えば、LoRa等のスペクトラム拡散方式の無線通信で、他の通信装置110a、110b、110c、・・・と通信する通信処理を実行する。例えば、通信部501は、制御部500によって設定されたSF値で、通信装置110a、110b、110c、・・・が送信するデータを受信する。 The communication unit 501 is implemented by, for example, the wireless module 404 shown in FIG. , and execute communication processing to communicate with. For example, the communication unit 501 receives data transmitted by the communication devices 110a, 110b, 110c, .
 記憶部502は、例えば、図4のストレージデバイス403、又はメモリ402等によって実現され、図3で説明した、SF値決定モデル301等を記憶する。例えば、通信装置100を製造する製造者、又は通信装置100を管理する管理者等は、情報処理装置等を用いて学習済のSF値決定モデル301を、記憶部502に予め記憶しておく。 The storage unit 502 is implemented by, for example, the storage device 403 or memory 402 in FIG. 4, and stores the SF value determination model 301 and the like described in FIG. For example, a manufacturer who manufactures the communication device 100 or an administrator who manages the communication device 100 previously stores the learned SF value determination model 301 in the storage unit 502 using an information processing device or the like.
 (通信装置110の機能構成)
 通信装置(子機)110は、例えば、制御部510、通信部501、及び記憶部502等を有する。
(Functional configuration of communication device 110)
The communication device (child device) 110 has, for example, a control unit 510, a communication unit 501, a storage unit 502, and the like.
 制御部510は、例えば、図4のプロセッサ401等によって実現され、ストレージデバイス403又はメモリ402等の記憶媒体に記憶したプログラムを実行することにより、設定部514、及び受付部513等を実現している。なお、図5において、通信装置110b、110cは、通信装置110aと同様の機能構成を有しているものとする。 The control unit 510 is implemented by, for example, the processor 401 in FIG. 4, and executes a program stored in a storage medium such as the storage device 403 or the memory 402 to implement the setting unit 514, the reception unit 513, and the like. there is In FIG. 5, the communication devices 110b and 110c are assumed to have the same functional configuration as the communication device 110a.
 受付部513は、外部からのSF値の設定、又は送信スケジュールの設定等を受け付ける受付処理を実行する。例えば、受付部513は、図4の入力装置406を用いて、設置者等による設定を受け付けても良いし、無線モジュール404を用いて、通信装置(親機)100等から受信する制御情報等により、設定を受け付けても良い。 The reception unit 513 executes reception processing for receiving settings of SF values or transmission schedule settings from the outside. For example, the reception unit 513 may use the input device 406 in FIG. may accept the setting.
 設定部514は、受付部513が受け付けたSF値、及び送信スケジュール等を通信部511に設定する設定処理を実行する。なお、図5に示す制御部510の機能構成は一例である。制御部510は、上記の受付処理、及び設定処理以外にも、例えば、無線チャネルの設定、データの送受信等の一般的な通信制御処理も実行する。 The setting unit 514 executes setting processing for setting the SF value received by the receiving unit 513, the transmission schedule, and the like in the communication unit 511. Note that the functional configuration of the control unit 510 shown in FIG. 5 is an example. In addition to the reception processing and setting processing described above, the control unit 510 also executes general communication control processing such as wireless channel setting and data transmission/reception.
 通信部511は、例えば、図4の無線モジュール404等によって実現され、制御部510からの制御に従って、例えば、LoRa等のスペクトラム拡散方式の無線通信で、通信装置100等と通信する通信処理を実行する。例えば、通信部501は、制御部510によって設定されたSF値、及び送信スケジュールに従って、通信装置100にデータ(例えば、センサデータ等)を送信する。 The communication unit 511 is realized by, for example, the wireless module 404 shown in FIG. do. For example, the communication unit 501 transmits data (eg, sensor data, etc.) to the communication device 100 according to the SF value and transmission schedule set by the control unit 510 .
 好ましくは、通信部511(又は制御部510)は、通信装置100にデータを送信した後に、通信装置100から応答がない場合、通信異常と判定してデータを保持し、通信異常が解消したときに、保持したデータを通信装置100に再送する。 Preferably, the communication unit 511 (or the control unit 510) determines that there is a communication abnormality and retains the data when there is no response from the communication device 100 after data is transmitted to the communication device 100, and when the communication abnormality is resolved. Then, the held data is retransmitted to the communication device 100 .
 記憶部512は、例えば、図4のストレージデバイス403、又はメモリ402等によって実現され、受付部513が受け付けた設定値、及び通信部511が保持するデータ等の様々な情報又はデータを記憶する。 The storage unit 512 is implemented by, for example, the storage device 403 or memory 402 in FIG.
 なお、図5に示した通信システム1の機能構成は一例である。例えば、通信装置100の制御部500は、受付部513、又は設定部514等をさらに有していても良い。また、通信装置110の制御部510は、取得部503、決定部504、又は切替部505等をさらに有していても良い。 Note that the functional configuration of the communication system 1 shown in FIG. 5 is an example. For example, the control unit 500 of the communication device 100 may further include a reception unit 513, a setting unit 514, or the like. Also, the control unit 510 of the communication device 110 may further include an acquisition unit 503, a determination unit 504, a switching unit 505, or the like.
 <処理の流れ>
 続いて、本実施形態に係る通信方法の処理の流れについて説明する。
<Process flow>
Next, the processing flow of the communication method according to this embodiment will be described.
 [第1の実施形態]
 (受信情報の取得処理1)
 図6は、第1の実施形態に係る受信情報の取得処理の一例を示すフローチャートである。この処理は、図2で説明した、通信装置100が実行する受信情報の取得処理の一例を示している。なお、ここでは、他の通信装置110a、110b、110cに設定可能なSF値が、「5」、「8」、「12」のいずれかである場合の処理の例について説明する。
[First Embodiment]
(Received information acquisition process 1)
FIG. 6 is a flowchart illustrating an example of reception information acquisition processing according to the first embodiment. This processing shows an example of the reception information acquisition processing executed by the communication device 100 described with reference to FIG. Here, an example of processing when the SF value that can be set in the other communication devices 110a, 110b, and 110c is any one of "5", "8", and "12" will be described.
 ステップS601において、通信装置100の取得部503は、通信部501にSF値「5」を設定して所定の時間だけデータを受信し、受信情報を取得する。例えば、取得部503は、図2で説明したように、受信したデータに関する受信時刻、SF値、RSSI(受信レベル)、及び送信間隔等を含む受信情報210aを取得する。 In step S601, the acquisition unit 503 of the communication device 100 sets the SF value "5" to the communication unit 501, receives data for a predetermined time, and acquires reception information. For example, the acquisition unit 503 acquires the reception information 210a including the reception time, SF value, RSSI (reception level), transmission interval, etc. of the received data, as described with reference to FIG.
 ステップS602において、取得部503は、通信部501にSF値「8」を設定して所定の時間だけデータを受信し、受信情報を取得する。例えば、取得部503は、図2で説明したように、受信したデータに関する受信時刻、SF値、RSSI、及び送信間隔等を含む受信情報210bを取得する。 In step S602, the acquisition unit 503 sets the SF value "8" to the communication unit 501, receives data for a predetermined time, and acquires reception information. For example, the acquisition unit 503 acquires the reception information 210b including the reception time, SF value, RSSI, transmission interval, etc. of the received data, as described with reference to FIG.
 ステップS603において、取得部503は、通信部501にSF値「12」を設定して所定の時間だけデータを受信し、受信情報を取得する。例えば、取得部503は、図2で説明したように、受信したデータに関する受信時刻、SF値、RSSI、及び送信間隔等を含む受信情報210cを取得する。 In step S603, the acquisition unit 503 sets the SF value "12" in the communication unit 501, receives data for a predetermined period of time, and acquires reception information. For example, the acquisition unit 503 acquires the reception information 210c including the reception time, SF value, RSSI, transmission interval, etc. of the received data, as described with reference to FIG.
 ステップS604において、取得部503は、必要な受信情報の量に達したか否かを判断する。例えば、取得部503は、取得した受信情報に、上述した、受信時刻、SF値、RSSI(受信レベル)、及び送信間隔等の必要なデータが含まれているか否かを判断する。必要な受信情報の量に達していない場合、取得部503は、処理をステップS601に戻す。一方、必要な受信情報の量に達している場合、取得部503は、処理をステップS605に移行させる。 In step S604, the acquisition unit 503 determines whether or not the required amount of received information has been reached. For example, the acquisition unit 503 determines whether or not the acquired reception information includes necessary data such as reception time, SF value, RSSI (reception level), transmission interval, and the like. If the required amount of received information has not been reached, the acquisition unit 503 returns the process to step S601. On the other hand, if the required amount of received information has been reached, the acquisition unit 503 causes the process to proceed to step S605.
 ステップS605に移行すると、取得部503は、取得した受信情報(受信情報210a~210c)を、決定部504に通知する。図6の処理により、取得部503は、SF値の決定処理に用いる受信情報を取得することができる。 After moving to step S605, the acquisition unit 503 notifies the determination unit 504 of the acquired reception information (reception information 210a to 210c). By the processing in FIG. 6, the acquisition unit 503 can acquire the reception information used for the SF value determination processing.
 (受信情報の取得処理2)
 図7は、第1の実施形態に係る受信情報の取得処理の別の一例を示すフローチャートである。ここでは、他の通信装置110a、110b、110cに設定されているSF値が、1~N(Nは2以上の整数)の間の任意の値に設定可能である場合の処理の例について説明する。
(Received information acquisition process 2)
FIG. 7 is a flowchart illustrating another example of the reception information acquisition process according to the first embodiment. Here, an example of processing when the SF values set in the other communication devices 110a, 110b, and 110c can be set to any value between 1 and N (N is an integer equal to or greater than 2) will be described. do.
 ステップS701において、通信装置100の取得部503は、変数iを1に初期化して、ステップS702以降の処理を実行する。 In step S701, the acquisition unit 503 of the communication device 100 initializes the variable i to 1, and executes the processing from step S702.
 ステップS702に移行すると、取得部503は、通信部501にSF値「i」を設定して、所定の時間データを受信する。好ましくは、所定の時間は、例えば、他の通信装置110が送信するデータを、複数回受信できるように、十分に長い時間を設定しておく。 After moving to step S702, the acquisition unit 503 sets the SF value "i" in the communication unit 501 and receives predetermined time data. Preferably, the predetermined time is set to be sufficiently long, for example, so that data transmitted by the other communication device 110 can be received multiple times.
 ステップS703において、取得部503は、通信部501がデータを受信したか否かを判断する。データを受信した場合、取得部503は、処理をステップS704に移行させる。一方、データを受信していない場合、取得部503は、処理をステップS705に移行させる。 In step S703, the acquisition unit 503 determines whether the communication unit 501 has received data. When data is received, the acquisition unit 503 causes the process to proceed to step S704. On the other hand, if data has not been received, the acquisition unit 503 shifts the process to step S705.
 ステップS704に移行すると、取得部503は、SF値が「i」の場合の受信情報を取得する。 After moving to step S704, the acquisition unit 503 acquires the reception information when the SF value is "i".
 ステップS705に移行すると、取得部503は、iの値が、SF値の最大値Nに達したか否かを判断する。iの値がSF値の最大値Nに達していない場合、取得部503は、処理をステップS706に移行させる。一方、iの値がSF値の最大値Nに達した場合、取得部503は、処理をステップS707に移行させる。 After moving to step S705, the acquisition unit 503 determines whether the value of i has reached the maximum value N of the SF value. If the value of i has not reached the maximum SF value N, the acquisition unit 503 causes the process to proceed to step S706. On the other hand, when the value of i reaches the maximum value N of the SF values, the acquisition unit 503 shifts the processing to step S707.
 ステップS706に移行すると、取得部503は、iに「1」を加算して、処理をステップS702に戻す。一方、ステップS707に移行すると、取得部503は、取得した受信情報を決定部504に通知する。 After moving to step S706, the acquisition unit 503 adds "1" to i and returns the process to step S702. On the other hand, after proceeding to step S707, the acquisition unit 503 notifies the determination unit 504 of the acquired reception information.
 図7の処理により、取得部503は、所定の時間間隔でSF値を変更して、他の通信装置110との通信の可否を判定し、通信の可否の判定結果に基づいて、複数のSF値を決定するための受信情報を取得することができる。 7, the acquisition unit 503 changes the SF value at predetermined time intervals to determine whether or not communication with the other communication device 110 is possible. Received information can be obtained to determine the value.
 (SF値の決定処理)
 図8は、第1の実施形態に係るSF値の決定処理の例を示すフローチャートである。この処理は、通信装置100の決定部504が実行するSF値の決定処理の一例を示している。なお、図8に示す処理の開始時点において、通信装置100は、図6、又は図7で説明した、受信情報の取得処理を実行済であるものとする。
(Determination process of SF value)
FIG. 8 is a flowchart illustrating an example of SF value determination processing according to the first embodiment. This process represents an example of the SF value determination process executed by the determination unit 504 of the communication apparatus 100 . It is assumed that the communication device 100 has already executed the received information acquisition process described with reference to FIG. 6 or 7 at the start of the process shown in FIG.
 ステップS801において、通信装置100の決定部504は、取得部503が取得した受信情報(例えば、受信情報210a~210c)を、記憶部502に記憶した学習済のSF値決定モデル301に入力する。 In step S801, the determination unit 504 of the communication device 100 inputs the received information (for example, received information 210a to 210c) acquired by the acquisition unit 503 to the learned SF value determination model 301 stored in the storage unit 502.
 ステップS802において、決定部504は、学習済のSF値決定モデル301が出力する、複数のSF値の組合せ、及び切替タイミングを通信装置100に適用する。例えば、決定部504は、図3で説明した複数のSF値の組合せ、及び切替タイミング302に示すように、SF値が「5」の時間T5、SF値が「8」の時間T8、及びSF値が「12」の時間「T12」等を決定し、記憶部502等に記憶する。 In step S<b>802 , the determination unit 504 applies to the communication apparatus 100 the combination of multiple SF values and the switching timing output by the learned SF value determination model 301 . For example, the determining unit 504 determines the time T5 when the SF value is “5”, the time T8 when the SF value is “8”, and the SF A time "T12" or the like with a value of "12" is determined and stored in the storage unit 502 or the like.
 図8の処理により、決定部504は、取得した受信情報に基づいて、例えば、図3に示すような、複数のSF値の組合せ、及び切替タイミング302を決定することができる。 By the processing in FIG. 8, the determination unit 504 can determine the combination of multiple SF values and the switching timing 302 as shown in FIG. 3, for example, based on the acquired reception information.
 (通信装置100の通信処理)
 図9は、第1の実施形態に係る通信装置(親機)の通信処理の例を示す図である。この処理は、決定部504が決定した、複数のSF値の組合せ、及び切替タイミング302に基づいて、通信装置100が、他の通信装置110a、110b、110c等からデータを受信する処理の一例を示している。
(Communication processing of communication device 100)
FIG. 9 is a diagram illustrating an example of communication processing of the communication device (master device) according to the first embodiment. This processing is an example of processing in which the communication device 100 receives data from other communication devices 110a, 110b, 110c, etc., based on the combination of a plurality of SF values and the switching timing 302 determined by the determination unit 504. showing.
 ステップS901において、通信装置100の切替部505は、決定部504が決定した、複数のSF値の組合せ、及び切替タイミング302に基づいて、通信部501にSF値「n」を設定する。例えば、図3に示すような、複数のSF値の組合せ、及び切替タイミング302である場合、切替部505は、通信部501に、SF値「5」を設定する。 In step S<b>901 , the switching unit 505 of the communication device 100 sets the SF value “n” to the communication unit 501 based on the combination of multiple SF values and the switching timing 302 determined by the determining unit 504 . For example, in the case of a combination of multiple SF values and switching timing 302 as shown in FIG.
 ステップS902において、通信部501は、時間Tnの間、SF値nのデータを受信する。例えば、図3に示すような、複数のSF値の組合せ、及び切替タイミング302において、nの値が「5」である場合、通信部501は、時間T5の間、SF値「5」のデータを受信する。また、nの値が「8」である場合、通信部501は、時間T8の間、SF値「8」のデータを受信する。同様に、nの値が「12」である場合、通信部501は、時間T12の間、SF値「12」のデータを受信する。 In step S902, the communication unit 501 receives data of SF value n for time Tn. For example, when the value of n is "5" at the combination of a plurality of SF values and the switching timing 302 as shown in FIG. receive. Also, when the value of n is "8", the communication unit 501 receives data with an SF value of "8" during time T8. Similarly, when the value of n is "12", the communication unit 501 receives data with an SF value of "12" during time T12.
 ステップS903、S904において、通信部501(又は制御部500)は、受信データの内容を確認し、新たな受信フォーマットであるか否かを判断する。新たな受信フォーマットである場合、通信部501は、処理をステップS905に移行させる。一方、新たな受信フォーマットでない場合、通信部501は、処理をステップS907に移行させる。 In steps S903 and S904, the communication unit 501 (or the control unit 500) confirms the content of the received data and determines whether or not it is a new reception format. If it is a new reception format, the communication unit 501 shifts the process to step S905. On the other hand, if it is not a new reception format, the communication unit 501 shifts the process to step S907.
 ステップS905に移行すると、通信部501は、新たなデータの受信を開始する。また、ステップS906において、通信部501(又は制御部500)は、受信フォーマットを保持する。 After moving to step S905, the communication unit 501 starts receiving new data. Also, in step S906, the communication unit 501 (or the control unit 500) holds the reception format.
 一方、ステップS907に移行すると、通信部501は、保持した受信フォーマットでデータを受信する。 On the other hand, when moving to step S907, the communication unit 501 receives data in the retained reception format.
 ステップS908において、切替部505は、決定部504が決定した、複数のSF値の組合せ、及び切替タイミング302に基づいて、通信部501にSF値「n」を更新する。例えば、図3に示すような、複数のSF値の組合せ、及び切替タイミング302であり、現在のSF値が「5」である場合、切替部505は、SF値を「8」に更新する。同様に、現在のSF値が「8」である場合、切替部505はSF値を「12」に更新し、現在のSF値が「12」である場合、切替部505はSF値を「5」に更新する。 In step S908, the switching unit 505 updates the SF value "n" in the communication unit 501 based on the combination of multiple SF values and the switching timing 302 determined by the determining unit 504. For example, in a combination of multiple SF values and switching timing 302 as shown in FIG. 3, when the current SF value is "5", the switching unit 505 updates the SF value to "8". Similarly, if the current SF value is "8", the switching unit 505 updates the SF value to "12", and if the current SF value is "12", the switching unit 505 updates the SF value to "5". ”.
 図9の処理により、通信装置100は、複数のSF値を時分割で切り替えながら、例えば、他の通信装置110a、110b、110cと通信することができる。 By the processing of FIG. 9, the communication device 100 can communicate with other communication devices 110a, 110b, and 110c, for example, while switching a plurality of SF values in a time division manner.
 (通信装置110の通信処理)
 図10は、第1の実施形態に係る通信装置(子機)の通信処理の例を示す図である。この処理は、通信装置(子機)110が、通信装置(親機)100にデータを送信する処理の一例を示している。なお、通信装置110には、例えば、SF値、及び送信タイミング等の設定値が予め設定されているものとする。
(Communication processing of communication device 110)
FIG. 10 is a diagram illustrating an example of communication processing of the communication device (child device) according to the first embodiment. This processing shows an example of processing in which the communication device (child device) 110 transmits data to the communication device (master device) 100 . It is assumed that setting values such as the SF value and the transmission timing are set in advance in the communication device 110, for example.
 ステップS1001、S1002において、通信装置110の制御部510は、送信タイミングまで待機し、送信タイミングになると、通信部511を用いてデータを送信する。 In steps S1001 and S1002, the control unit 510 of the communication device 110 waits until the transmission timing, and transmits data using the communication unit 511 when the transmission timing comes.
 ステップS1003において、制御部510は、所定の時間内に、データを受信したことを示すACK(Acknowledgement)を通信装置100から受信したか否かを判断する。ACKを受信していない場合、制御部510は、処理をステップS1004に移行させる。一方、ACKを受信した場合、制御部510は、処理をステップS1005に移行させる。 In step S1003, the control unit 510 determines whether or not an ACK (Acknowledgment) indicating that data has been received has been received from the communication device 100 within a predetermined time. If ACK has not been received, control unit 510 causes the process to proceed to step S1004. On the other hand, when ACK is received, the control unit 510 shifts the process to step S1005.
 ステップS1004に移行すると、制御部510は、送信データを保持し、処理をステップS1001に戻す。 After moving to step S1004, the control unit 510 holds the transmission data and returns the process to step S1001.
 一方、ステップS1005に移行すると、制御部510は、前回までの未送信データがあるか否かを判断する。未送信データがある場合、制御部510は、処理をステップS1006に移行させる。一方、未送信データがない場合、制御部510は、処理をステップS1001に戻す。 On the other hand, when proceeding to step S1005, the control unit 510 determines whether or not there is unsent data up to the previous time. If there is unsent data, control unit 510 causes the process to proceed to step S1006. On the other hand, if there is no unsent data, control unit 510 returns the process to step S1001.
 ステップS1006に移行すると、制御部510は、通信部511を用いて、保持している未送信データを送信する。 After moving to step S1006, the control unit 510 uses the communication unit 511 to transmit the held unsent data.
 図10の処理により、通信装置110は、データの送信に失敗した場合、次回以降の送信タイミングで、未送信データを送信することができる。 By the process of FIG. 10, the communication device 110 can transmit the unsent data at the next transmission timing and thereafter when the data transmission fails.
 以上、第1の実施形態によれば、通信装置100は、複数のSF値を時分割で切り替えながら、SF値が異なる複数の他の通信装置110a、110b、110c、・・・と通信する。これにより、通信装置100は、無線モジュールの搭載スペースの拡大、又はコストの増加等を伴わずに、SF値が異なる複数の他の通信装置110a、110b、110c、・・・と通信することができる。 As described above, according to the first embodiment, the communication device 100 communicates with a plurality of other communication devices 110a, 110b, 110c, . As a result, the communication device 100 can communicate with a plurality of other communication devices 110a, 110b, 110c, . can.
 [第2の実施形態]
 通信装置100は、無線通信の通信品質、又は他の通信装置110a、110b、110c等との間の距離等に基づいて、他の通信装置110と通信する複数のSF値を変更する機能を有していても良い。
[Second embodiment]
The communication device 100 has a function of changing a plurality of SF values for communication with other communication devices 110 based on the communication quality of wireless communication or the distance to other communication devices 110a, 110b, 110c, and the like. It's okay to be
 (受信情報の取得処理)
 図11、12は、第2の実施形態に係る受信情報の取得処理の例を示すフローチャートである。この処理は、図2で説明した、通信装置100が実行する受信情報の取得処理の別の一例を示している。なお、図11に示す処理のうち、S601~S605の処理は、図6で説明した、第1の実施形態に係る受信情報の取得処理と同様なので、ここでは、第1の実施形態との相違点を中心に説明する。
(Acquisition processing of received information)
11 and 12 are flowcharts showing an example of reception information acquisition processing according to the second embodiment. This process represents another example of the received information acquisition process executed by the communication device 100 described with reference to FIG. Note that among the processes shown in FIG. 11, the processes of S601 to S605 are the same as the received information acquisition process according to the first embodiment described with reference to FIG. We will focus on points.
 ステップS604において、必要な受信情報の量に達していないと判断された場合、ステップS1101において、通信装置100の変更部506は、通信部501により受信ができているか否かを判断する。例えば、変更部506は、SF値「5」、「8」、「12」のうち、SF値「5」において、必要な受信情報の量に達していない場合、SF値「5」でデータを受信できているか否かを判断する。 If it is determined in step S604 that the required amount of received information has not been reached, then in step S1101 the changing unit 506 of the communication device 100 determines whether or not the communication unit 501 has received the information. For example, if the required amount of received information is not reached at SF value "5" among SF values "5", "8", and "12", the changing unit 506 changes data with SF value "5". Determine whether or not it has been received.
 受信ができていない場合、変更部506は、処理をステップS1102に移行させる。一方、受信ができている場合、変更部506は、処理を図12のステップS1201に移行させる。 If it has not been received, the changing unit 506 shifts the process to step S1102. On the other hand, if reception is successful, the changing unit 506 shifts the process to step S1201 in FIG.
 ステップS1102に移行すると、通信装置100の変更部506は、該当する他の通信装置110(データを受信できていない通信装置110)に、SF値の変更命令を送信することにより、当該通信装置110のSF値をN+1に変更する。ここで、Nは、データを受信できていないSF値である。また,変更部506は、自装置(通信装置100)のSF値をN+1に設定する。 After moving to step S1102, the changing unit 506 of the communication device 100 transmits an SF value change command to the corresponding other communication device 110 (the communication device 110 that has not received data) so that the communication device 110 to N+1. Here, N is the SF value at which data cannot be received. Further, the changing unit 506 sets the SF value of its own device (communication device 100) to N+1.
 ステップS1103に移行すると、通信装置100の取得部503は、該当する他の通信装置110のログをリセットし、所定の時間、受信情報を取得する。 Upon moving to step S1103, the acquisition unit 503 of the communication device 100 resets the log of the corresponding other communication device 110 and acquires reception information for a predetermined period of time.
 一方、ステップS1101から、図12のステップS1201に移行すると、通信装置100の変更部506は、必要な受信情報の量に達していないSF値で、所定の期間の到達率、RSSI、又は再送回数等を取得する。 On the other hand, when the process moves from step S1101 to step S1201 in FIG. 12, the changing unit 506 of the communication device 100 calculates the arrival rate, RSSI, or number of retransmissions for a predetermined period with an SF value that does not reach the required amount of received information. etc.
 ここで、到達率は、他の通信装置110が送信したデータのうち、通信装置100が受信したデータの割合を示す。従って、到達率が低い場合(閾値以下の場合)、通信品質が悪い(電波状況が悪い、又は通信混雑している)と判断することができる。再送回数は、他の通信装置110が、同じデータを再送した回数を示す。従って、再送回数が多い場合(閾値以上の場合)、通信品質が悪いと判断することができる。RSSIは、受信信号の受信レベル(強度)を示し、値が大きいほど受信レベルが高いことを示す。従って、RSSIの値が低い場合(閾値以下の場合)、他の通信装置110との間の距離が離れていると判断することができる。 Here, the arrival rate indicates the ratio of data received by the communication device 100 to data transmitted by the other communication devices 110 . Therefore, when the arrival rate is low (below the threshold value), it can be determined that the communication quality is poor (the radio wave condition is poor or the communication is congested). The number of retransmissions indicates the number of times the other communication device 110 has retransmitted the same data. Therefore, when the number of retransmissions is large (when the number of retransmissions is greater than or equal to the threshold), it can be determined that the communication quality is poor. RSSI indicates the reception level (strength) of a received signal, and a larger value indicates a higher reception level. Therefore, if the RSSI value is low (below the threshold), it can be determined that the other communication device 110 is far away.
 ステップS1202において、変更部506は、例えば、到達率が閾値未満、RSSIが閾値未満、及び再送回数が閾値以上であるか否かを判断する。上記の条件を満たす場合、変更部506は、通信品質が悪く、かつ他の通信装置110との間の距離が離れていると判断し、処理をステップS1203に移行させる。一方、上記の要件を満たさない場合、変更部506は、処理をステップS1206に移行させる。 In step S1202, the changing unit 506 determines, for example, whether the arrival rate is less than the threshold, the RSSI is less than the threshold, and the number of retransmissions is greater than or equal to the threshold. If the above conditions are satisfied, the changing unit 506 determines that the communication quality is poor and the distance from the other communication device 110 is long, and moves the process to step S1203. On the other hand, if the above requirements are not satisfied, the changing unit 506 causes the process to proceed to step S1206.
 ステップS1203に移行すると、変更部506は、該当する他の通信装置(必要な受信情報の量に達していない通信装置110)に、SF値をN+1に設定するように要求する(変更命令を送信する)。ここで、Nは、現在のSF値である。 In step S1203, the changing unit 506 requests the corresponding other communication device (the communication device 110 whose amount of received information has not reached the required amount) to set the SF value to N+1 (transmits a change command). do). where N is the current SF value.
 ステップS1204において、変更部506は、該当する他の通信装置から、所定の時間内にACKを受信したか否かを判断する。ACKを受信していない場合、変更部506は、処理をステップS1203に戻す。一方、ACKを受信した場合、変更部506は、処理をステップS1205に移行させる。 In step S1204, the changing unit 506 determines whether or not an ACK has been received from the corresponding other communication device within a predetermined time. If ACK has not been received, the changing unit 506 returns the process to step S1203. On the other hand, when ACK is received, the changing unit 506 shifts the process to step S1205.
 ステップS1205に移行すると、変更部506は、自装置(通信装置100)のSF値をN+1に設定し、処理を図11のステップS1103に移行させる。ステップS1202~S1205の処理により、変更部506は、通信品質が悪く、他の通信装置110との間の距離が離れている場合、通信装置100、及び他の通信装置110のSF値を、より大きな値に変更することができる。 After moving to step S1205, the changing unit 506 sets the SF value of its own device (communication device 100) to N+1, and moves the process to step S1103 in FIG. Through the processing of steps S1202 to S1205, the changing unit 506 increases the SF values of the communication device 100 and the other communication device 110 when the communication quality is poor and the distance to the other communication device 110 is long. Can be changed to a larger value.
 一方、ステップS1202からステップS1206に移行すると、変更部506は、例えば、到達率が閾値以上、RSSIが閾値以上、及び再送回数が閾値未満であるか否かを判断する。上記の条件を満たす場合、変更部506は、通信品質が良く、かつ他の通信装置110との間の距離が近いと判断し、処理をステップS1207に移行させる。一方、上記の要件を満たさない場合、変更部506は、処理を図11のステップS601に戻す。 On the other hand, when the process moves from step S1202 to step S1206, the changing unit 506 determines, for example, whether the arrival rate is greater than or equal to the threshold, the RSSI is greater than or equal to the threshold, and the number of retransmissions is less than the threshold. If the above conditions are satisfied, the changing unit 506 determines that the communication quality is good and the distance to the other communication device 110 is short, and moves the process to step S1207. On the other hand, if the above requirements are not satisfied, the changing unit 506 returns the process to step S601 in FIG.
 ステップS1207に移行すると、変更部506は、該当する他の通信装置(必要な受信情報の量に達していない通信装置110)に、SF値をN-1に設定するように要求する(変更命令を送信する)。ここで、Nは、現在のSF値である。 In step S1207, the changing unit 506 requests the corresponding other communication device (the communication device 110 whose amount of received information has not reached the required amount) to set the SF value to N−1 (change command ). where N is the current SF value.
 ステップS1208において、変更部506は、該当する他の通信装置から、所定の時間内にACKを受信したか否かを判断する。ACKを受信していない場合、変更部506は、処理をステップS1207に戻す。一方、ACKを受信した場合、変更部506は、処理をステップS1209に移行させる。 In step S1208, the changing unit 506 determines whether or not an ACK has been received from the corresponding other communication device within a predetermined time. If ACK has not been received, the changing unit 506 returns the process to step S1207. On the other hand, when ACK is received, the changing unit 506 shifts the process to step S1209.
 ステップS1209に移行すると、変更部506は、自装置(通信装置100)のSF値をN-1に設定し、処理を図11のステップS1103に移行させる。ステップS1206~S1209の処理により、変更部506は、通信品質が良く、他の通信装置110との間の距離が近い場合、通信装置100、及び他の通信装置110のSF値を、より小さい値に変更することができる。なお、ステップS1206~S1209の処理はオプションであり、必須ではない。 After moving to step S1209, the changing unit 506 sets the SF value of its own device (communication device 100) to N-1, and moves the process to step S1103 in FIG. Through the processing in steps S1206 to S1209, changing unit 506 reduces the SF values of communication device 100 and other communication device 110 to smaller values when the communication quality is good and the distance to other communication device 110 is short. can be changed to Note that the processing of steps S1206 to S1209 is optional and not essential.
 図11、12の処理により、通信装置100は、例えば、電波状況、通信の混雑状況、又は他の通信装置110との間の距離等に基づいて、他の通信装置110に対して、SF値の変更を要求することができる。 11 and 12, the communication device 100, for example, based on the radio wave condition, the communication congestion condition, or the distance to the other communication device 110, the SF value for the other communication device 110 can request a change of
 (通信装置110の通信処理)
 図13は、第2の実施形態に係る通信装置(子機)の通信処理の例を示す図である。この処理は、通信装置(子機)110が、通信装置(親機)100にデータを送信する処理の別の一例を示している。なお、通信装置110には、例えば、SF値、及び送信タイミング等の設定値が予め設定されているものとする。
(Communication processing of communication device 110)
FIG. 13 is a diagram illustrating an example of communication processing of a communication device (child device) according to the second embodiment. This processing represents another example of processing in which communication device (child device) 110 transmits data to communication device (parent device) 100 . It is assumed that setting values such as the SF value and the transmission timing are set in advance in the communication device 110, for example.
 ステップS1301、S1302において、通信装置110の制御部510は、送信タイミングまで待機し、送信タイミングになると、通信部511を用いてデータを送信する。 In steps S1301 and S1302, the control unit 510 of the communication device 110 waits until the transmission timing, and transmits data using the communication unit 511 when the transmission timing comes.
 ステップS1303において、通信装置110の設定部514は、通信装置100から、SF値の変更命令を受信したか否かを判断する。SF値の変更命令を受信していない場合、設定部514は、処理をステップS1301に戻す。一方、SF値の変更命令を受信している場合、設定部514は、処理をステップS1304に移行させる。 In step S<b>1303 , the setting unit 514 of the communication device 110 determines whether or not a command to change the SF value has been received from the communication device 100 . If the SF value change command has not been received, the setting unit 514 returns the process to step S1301. On the other hand, if a command to change the SF value has been received, the setting unit 514 causes the process to proceed to step S1304.
 ステップS1304に移行すると、設定部514は、受信したSF値の変更要求に従って、要求されたSF値を通信部511に設定する。また、ステップS1305において、設定部514は、SF値を変更したことを示すACKを通信装置100に送信する。 After moving to step S1304, the setting unit 514 sets the requested SF value in the communication unit 511 according to the received SF value change request. Also, in step S1305, the setting unit 514 transmits to the communication apparatus 100 an ACK indicating that the SF value has been changed.
 図11~13の処理により、通信装置100は、無線通信の通信品質、又は他の通信装置110a、110b、110c等との間の距離等に基づいて、他の通信装置110と通信する複数のSF値を変更することができる。 11 to 13, the communication device 100 establishes a plurality of communication devices communicating with the other communication devices 110 based on the communication quality of the wireless communication or the distance to the other communication devices 110a, 110b, 110c, etc. SF values can be changed.
 [第3の実施形態]
 通信装置100は、通信中に、無線通信の通信品質、又は他の通信装置110a、110b、110c等との間の距離等に基づいて、他の通信装置110と通信する複数のSF値を変更する機能を有していても良い。
[Third Embodiment]
During communication, the communication device 100 changes a plurality of SF values for communication with other communication devices 110 based on the communication quality of wireless communication or the distance to other communication devices 110a, 110b, 110c, etc. It may have a function to
 (通信装置100の通信処理)
 図14、15は、第3の実施形態に係る通信装置(親機)の通信処理の例を示すフローチャートである。この処理は、図2で説明した、通信装置100が実行する通信処理の別の一例を示している。なお、ここでは、第1の、2の実施形態と同様の処理内容に対する詳細な説明は省略する。
(Communication processing of communication device 100)
14 and 15 are flowcharts showing an example of communication processing of the communication device (master device) according to the third embodiment. This process represents another example of the communication process executed by the communication device 100 described with reference to FIG. A detailed description of the same processing contents as in the first and second embodiments will be omitted here.
 ステップS1401において、通信装置100の変更部506は、通信部501がデータを受信したか否かを判断する。データを受信していない場合、変更部506は、処理をステップS1402に移行させる。一方、データを受信した場合、変更部506は、処理をステップS1405に移行させる。 In step S1401, the changing unit 506 of the communication device 100 determines whether the communication unit 501 has received data. If data has not been received, the changing unit 506 causes the process to proceed to step S1402. On the other hand, if data has been received, the changing unit 506 causes the process to proceed to step S1405.
 ステップS1402に移行すると、通信不可カウンタに1を加算する。また、ステップS1403において、変更部506は、通信不可カウンタの値が閾値以上であるか否かを判断する。通信不可カウンタの値が閾値以上である場合、変更部506は、処理をステップS1404に移行させる。一方、通信不可カウンタの値が閾値以上でない場合、変更部506は、処理をステップS1401に戻す。 When the process moves to step S1402, 1 is added to the communication disabled counter. Also, in step S1403, the changing unit 506 determines whether or not the value of the communication disabled counter is equal to or greater than the threshold. If the value of the communication disabled counter is greater than or equal to the threshold, the changing unit 506 causes the process to proceed to step S1404. On the other hand, if the value of the communication disabled counter is less than the threshold, the changing unit 506 returns the process to step S1401.
 ステップS1404に移行すると、変更部506は、SF値に1を加算して、処理をステップS1401に戻す。 After moving to step S1404, the changing unit 506 adds 1 to the SF value and returns the process to step S1401.
 一方、ステップS1401からステップS1405に移行すると、変更部506は、通信不可カウンタをリセットする。また、ステップS1406において、通信装置100は、例えば、図9のステップS904~S907に示すような、データ受信処理を実行し、処理を図15のステップS1501に移行させる。 On the other hand, when the process moves from step S1401 to step S1405, the changing unit 506 resets the communication disabled counter. Also, in step S1406, the communication device 100 executes, for example, data reception processing as shown in steps S904 to S907 in FIG. 9, and shifts the processing to step S1501 in FIG.
 ステップS1501に移行すると、通信装置100の変更部506は、所定の期間の到達率、RSSI、又は再送回数等を取得する。 After moving to step S1501, the changing unit 506 of the communication device 100 acquires the arrival rate, RSSI, number of retransmissions, or the like for a predetermined period.
 ステップS1502において、変更部506は、例えば、到達率が閾値未満、RSSIが閾値未満、及び再送回数が閾値以上であるか否かを判断する。上記の条件を満たす場合、変更部506は、処理をステップS1503に移行させる。一方、上記の要件を満たさない場合、変更部506は、処理をステップS1506に移行させる。 In step S1502, the changing unit 506 determines, for example, whether the arrival rate is less than the threshold, the RSSI is less than the threshold, and the number of retransmissions is greater than or equal to the threshold. If the above conditions are satisfied, the changing unit 506 causes the process to proceed to step S1503. On the other hand, if the above requirements are not satisfied, the changing unit 506 causes the process to proceed to step S1506.
 ステップS1503に移行すると、変更部506は、該当する他の通信装置に、SF値をN+1に設定するように要求する(変更命令を送信する)。ここで、Nは、現在のSF値である。 After moving to step S1503, the changing unit 506 requests the corresponding other communication device to set the SF value to N+1 (transmits a change command). where N is the current SF value.
 ステップS1504において、変更部506は、該当する他の通信装置から、所定の時間内にACKを受信したか否かを判断する。ACKを受信していない場合、変更部506は、処理をステップS1503に戻す。一方、ACKを受信した場合、変更部506は、処理をステップS1505に移行させる。 In step S1504, the changing unit 506 determines whether or not an ACK has been received from the corresponding other communication device within a predetermined time. If ACK has not been received, the changing unit 506 returns the process to step S1503. On the other hand, when ACK is received, the changing unit 506 shifts the process to step S1505.
 ステップS1505に移行すると、変更部506は、自装置(通信装置100)のSF値をN+1に設定する。また、通信装置110a、110b、110cが、設定されたSF値によって、送信タイミングが異なる場合、変更後のSF値に合わせて受信タイミングを変更する。ステップS1505の処理を終了後、変更部506は、処理を図14のステップS1401に戻す。 When the process moves to step S1505, the changing unit 506 sets the SF value of its own device (communication device 100) to N+1. Further, when the transmission timing differs depending on the set SF value, the communication devices 110a, 110b, and 110c change the reception timing according to the changed SF value. After completing the process of step S1505, the changing unit 506 returns the process to step S1401 in FIG.
 一方、ステップS1502からステップS1506に移行すると、変更部506は、例えば、到達率が閾値以上、RSSIが閾値以上、及び再送回数が閾値未満であるか否かを判断する。上記の条件を満たす場合、変更部506は、処理をステップS1507に移行させる。一方、上記の要件を満たさない場合、変更部506は、処理を図14のステップS1401に戻す。 On the other hand, when the process moves from step S1502 to step S1506, the changing unit 506 determines whether, for example, the arrival rate is greater than or equal to the threshold, the RSSI is greater than or equal to the threshold, and the number of retransmissions is less than the threshold. If the above conditions are satisfied, the changing unit 506 causes the process to proceed to step S1507. On the other hand, if the above requirements are not met, the changing unit 506 returns the process to step S1401 in FIG.
 ステップS1507に移行すると、変更部506は、該当する他の通信装置に、SF値をN-1に設定するように要求する(変更命令を送信する)。ここで、Nは、現在のSF値である。 After moving to step S1507, the changing unit 506 requests the corresponding other communication device to set the SF value to N-1 (transmits a change command). where N is the current SF value.
 ステップS1508において、変更部506は、該当する他の通信装置から、所定の時間内にACKを受信したか否かを判断する。ACKを受信していない場合、変更部506は、処理をステップS1507に戻す。一方、ACKを受信した場合、変更部506は、処理をステップS1509に移行させる。 In step S1508, the changing unit 506 determines whether or not an ACK has been received from the corresponding other communication device within a predetermined time. If ACK has not been received, the changing unit 506 returns the process to step S1507. On the other hand, when ACK is received, the changing unit 506 shifts the process to step S1509.
 ステップS1509に移行すると、変更部506は、自装置(通信装置100)のSF値をN-1に設定する。また、通信装置110a、110b、110cが、設定されたSF値によって、送信タイミングが異なる場合、変更後のSF値に合わせて受信タイミングを変更する。ステップS1509の処理を終了後、変更部506は、処理を図14のステップS1401に戻す。 After moving to step S1509, the changing unit 506 sets the SF value of its own device (communication device 100) to N-1. Further, when the transmission timing differs depending on the set SF value, the communication devices 110a, 110b, and 110c change the reception timing according to the changed SF value. After completing the process of step S1509, the changing unit 506 returns the process to step S1401 in FIG.
 図15の処理により、通信装置100は、例えば、電波状況、通信の混雑状況、又は他の通信装置110との間の距離等に基づいて、SF値、及びSF値を切り替えるタイミング等を変更することができる。 15, the communication device 100 changes the SF value, the timing for switching the SF value, etc., based on, for example, the radio wave condition, the communication congestion condition, or the distance from the other communication device 110. be able to.
 (通信装置110の通信処理)
 図16は、第3の実施形態に係る通信装置(子機)の通信処理の例を示すフローチャートである。この処理は、図14、15で説明した通信装置(親機)100の通信処理に対応する、通信装置(子機)110の通信処理の例を示している。なお、ここでは、第1、2の実施形態と同様の処理内容に対する詳細な説明は省略する。
(Communication processing of communication device 110)
FIG. 16 is a flowchart illustrating an example of communication processing of a communication device (child device) according to the third embodiment. This processing shows an example of communication processing of the communication device (child device) 110 corresponding to the communication processing of the communication device (master device) 100 described with reference to FIGS. A detailed description of the same processing contents as in the first and second embodiments will be omitted here.
 ステップS1601、S1602において、通信装置110の制御部510は、送信タイミングまで待機し、送信タイミングになると、通信部511を用いてデータを送信する。 In steps S1601 and S1602, the control unit 510 of the communication device 110 waits until the transmission timing, and transmits data using the communication unit 511 when the transmission timing comes.
 ステップS1603において、制御部510は、所定の時間内に、データを受信したことを示すACKを通信装置100から受信したか否かを判断する。ACKを受信していない場合、制御部510は、処理をステップS1604に移行させる。一方、ACKを受信した場合、制御部510は、処理をステップS1609に移行させる。 In step S1603, the control unit 510 determines whether or not an ACK indicating that data has been received has been received from the communication device 100 within a predetermined time. If ACK has not been received, control unit 510 causes the process to proceed to step S1604. On the other hand, when ACK is received, control unit 510 causes the process to proceed to step S1609.
 ステップS1004に移行すると、制御部510は、送信データを保持する。また、ステップS1606において、制御部510は、送信不可カウンタに1を加算する。 After moving to step S1004, the control unit 510 holds the transmission data. Also, in step S1606, control unit 510 adds 1 to the transmission disabled counter.
 ステップS1607において、制御部510は、通信不可カウンタの値が閾値以上であるか否かを判断する。通信不可カウンタの値が閾値以上である場合、制御部510は、処理をステップS1608に移行させる。一方、通信不可カウンタの値が閾値以上でない場合、変更部506は、処理をステップS1601に戻す。 In step S1607, the control unit 510 determines whether or not the value of the communication disabled counter is equal to or greater than the threshold. If the value of the communication disabled counter is greater than or equal to the threshold, control unit 510 causes the process to proceed to step S1608. On the other hand, if the value of the communication disabled counter is less than the threshold, the changing unit 506 returns the process to step S1601.
 ステップS1608に移行すると、制御部510は、自装置(通信装置110)のSF値に1を加算する。 After moving to step S1608, the control unit 510 adds 1 to the SF value of its own device (communication device 110).
 一方、ステップS1603からステップS1609に移行すると、制御部510は、送信不可カウンタをリセットする。 On the other hand, when the process moves from step S1603 to step S1609, the control unit 510 resets the transmission disable counter.
 ステップS1610において、制御部510は、前回までの未送信データがあるか否かを判断する。未送信データがある場合、制御部510は、処理をステップS1611に移行させる。一方、未送信データがない場合、制御部510は、処理をステップS1601に戻す。 At step S1610, the control unit 510 determines whether or not there is unsent data up to the previous time. If there is unsent data, control unit 510 causes the process to proceed to step S1611. On the other hand, if there is no unsent data, control unit 510 returns the process to step S1601.
 ステップS1611に移行すると、制御部510は、通信部511を用いて、保持している未送信データを送信し、処理をステップS1601に戻す。 After moving to step S1611, the control unit 510 uses the communication unit 511 to transmit the held unsent data, and returns the process to step S1601.
 また、通信装置110は、通信装置100から制御情報を受信した場合、ステップS1621、S1622の処理を実行する。ステップS1621において、通信装置110の通信部511が制御情報を受信すると、制御部510は、ステップS1622の処理を実行する。 Also, when the communication device 110 receives the control information from the communication device 100, the processing of steps S1621 and S1622 is executed. In step S1621, when the communication unit 511 of the communication device 110 receives the control information, the control unit 510 executes the process of step S1622.
 ステップS1622において、制御部510は、受信した制御情報が、SF値の変更命令であるか否かを判断する。SF値の変更命令である場合、制御部510は、処理をステップS1608に移行させる。一方、SF値の変更命令でない場合、制御部510は、例えば、処理をステップS1601に戻す。或いは、制御部510は、受信した制御情報に対応する処理を実行しても良い。 In step S1622, the control unit 510 determines whether or not the received control information is an SF value change command. If it is an SF value change command, control unit 510 causes the process to proceed to step S1608. On the other hand, if it is not an SF value change command, the control unit 510 returns the process to step S1601, for example. Alternatively, the control unit 510 may execute processing corresponding to the received control information.
 図14の処理により、通信システム1は、例えば、電波状況、通信の混雑状況、又は他の通信装置110との間の距離等に基づいて、SF値、及びSF値を切り替えるタイミング等を変更することができる。 14, the communication system 1 changes the SF value and the timing for switching the SF value based on, for example, the radio wave condition, the communication congestion condition, or the distance from the other communication device 110. be able to.
 [第4の実施形態]
 (受信情報の取得処理)
 図17は、第4の実施形態に係る受信情報の取得処理の例を示すフローチャートである。この処理は、図2で説明した、通信装置100が実行する受信情報の取得処理の別の一例を示している。なお、ここでは、第1~3の実施形態と同様の処理内容に対する詳細な説明は省略する。
[Fourth embodiment]
(Acquisition processing of received information)
FIG. 17 is a flowchart illustrating an example of reception information acquisition processing according to the fourth embodiment. This process represents another example of the received information acquisition process executed by the communication device 100 described with reference to FIG. A detailed description of the same processing contents as in the first to third embodiments will be omitted here.
 ステップS1701において、通信装置100の取得部503は、通信部501にSF値「12」を設定する。 In step S1701, the acquisition unit 503 of the communication device 100 sets the SF value "12" in the communication unit 501.
 ステップS1702において、通信部501は、設定されたSF値で所定の時間データを受信する。 In step S1702, the communication unit 501 receives predetermined time data with the set SF value.
 ステップS1703において、取得部503は、通信部501がデータを受信できたか否かを判断する。データを受信できた場合、取得部503は、処理をステップS1704に移行させる。一方、データを受信できない場合、取得部503は、処理をステップS1706に移行させる。 In step S1703, the acquisition unit 503 determines whether the communication unit 501 has received the data. If the data can be received, the acquisition unit 503 causes the process to proceed to step S1704. On the other hand, if the data cannot be received, the acquisition unit 503 shifts the process to step S1706.
 ステップS1704に移行すると、取得部503は、受信したデータが、所定のデータ量に達したか否かを判断する。所定のデータ量に達していない場合、取得部503は、処理をステップS1702に戻す。一方、所定のデータ量に達した場合、取得部503は、処理をステップS1705に移行させる。 After moving to step S1704, the acquisition unit 503 determines whether or not the received data has reached a predetermined data amount. If the predetermined amount of data has not been reached, the acquisition unit 503 returns the process to step S1702. On the other hand, when the predetermined data amount is reached, the acquisition unit 503 causes the process to proceed to step S1705.
 ステップS1705に移行すると、取得部503は、図18に示すような、SF値の変更処理を実行する。 After moving to step S1705, the acquisition unit 503 executes SF value change processing as shown in FIG.
 図18は、第4の実施形態に係るSF値の変更処理の例を示すフローチャートである。ステップS1801において、通信装置100の変更部506は、所定の期間の到達率、RSSI、又は再送回数等を取得する。 FIG. 18 is a flowchart showing an example of SF value change processing according to the fourth embodiment. In step S1801, the changing unit 506 of the communication device 100 acquires the arrival rate, RSSI, number of retransmissions, or the like for a predetermined period.
 ステップS1802において、変更部506は、例えば、到達率が閾値以上、RSSIが閾値以上、及び再送回数が閾値未満であるか否かを判断する。上記の条件を満たさない場合、変更部506は、処理をステップS1803に移行させる。一方、上記の条件を満たす場合、変更部506は、処理をステップS1806に移行させる。 In step S1802, the changing unit 506 determines whether, for example, the arrival rate is greater than or equal to the threshold, the RSSI is greater than or equal to the threshold, and the number of retransmissions is less than the threshold. If the above conditions are not satisfied, the changing unit 506 causes the process to proceed to step S1803. On the other hand, if the above condition is satisfied, the changing unit 506 causes the process to proceed to step S1806.
 ステップS1803に移行すると、変更部506は、該当する他の通信装置に、SF値をN+1に設定するように要求する(変更命令を送信する)。ここで、Nは、現在のSF値である。 After moving to step S1803, the changing unit 506 requests the corresponding other communication device to set the SF value to N+1 (transmits a change command). where N is the current SF value.
 ステップS1804において、変更部506は、該当する他の通信装置から、所定の時間内にACKを受信したか否かを判断する。ACKを受信していない場合、変更部506は、処理をステップS1803に戻す。一方、ACKを受信した場合、変更部506は、処理をステップS1805に移行させる。 In step S1804, the changing unit 506 determines whether or not an ACK has been received from the corresponding other communication device within a predetermined time. If ACK has not been received, the changing unit 506 returns the process to step S1803. On the other hand, when ACK is received, the changing unit 506 shifts the process to step S1805.
 ステップS1805に移行すると、変更部506は、自装置(通信装置100)のSF値をN+1に設定する。ただし、現在のSF値が12である場合、変更部506は、SF値を12のまま維持する。 After moving to step S1805, the changing unit 506 sets the SF value of its own device (communication device 100) to N+1. However, if the current SF value is 12, the changing unit 506 keeps the SF value at 12.
 一方、ステップS1802からステップS1806に移行すると、変更部506は該当する他の通信装置に、SF値をN-1に設定するように要求する(変更命令を送信する)。ここで、Nは、現在のSF値である。 On the other hand, when the process moves from step S1802 to step S1806, the change unit 506 requests the corresponding other communication device to set the SF value to N-1 (transmits a change command). where N is the current SF value.
 ステップS1807において、変更部506は、該当する他の通信装置から、所定の時間内にACKを受信したか否かを判断する。ACKを受信していない場合、変更部506は、処理をステップS1806に戻す。一方、ACKを受信した場合、変更部506は、処理をステップS1808に移行させる。 In step S1807, the changing unit 506 determines whether or not an ACK has been received from the corresponding other communication device within a predetermined time. If ACK has not been received, the changing unit 506 returns the process to step S1806. On the other hand, when ACK is received, the changing unit 506 shifts the process to step S1808.
 ステップS1808に移行すると、変更部506は、自装置(通信装置100)のSF値をN-1に設定して、処理を図17のステップS1702に戻す。 After moving to step S1808, the changing unit 506 sets the SF value of its own device (communication device 100) to N-1, and returns the processing to step S1702 in FIG.
 ここで、図17に戻り、受信情報の取得処理のフローチャートの説明を続ける。図17のステップS1703からステップS1706に移行すると、取得部503は、送信不可カウンタに1を加算する。 Returning to FIG. 17, the description of the flowchart of the reception information acquisition process will be continued. When the process moves from step S1703 to step S1706 in FIG. 17, the acquisition unit 503 adds 1 to the unsendable counter.
 ステップS1707において、取得部503は、通信不可カウンタの値が閾値以上であるか否かを判断する。通信不可カウンタの値が閾値以上でない場合、取得部503は、処理をステップS1702に戻す。一方、通信不可カウンタの値が閾値以上である場合、取得部503は、処理をステップS1705に移行させる。 In step S1707, the acquisition unit 503 determines whether or not the value of the communication disabled counter is greater than or equal to the threshold. If the value of the communication disabled counter is not greater than or equal to the threshold, the acquisition unit 503 returns the process to step S1702. On the other hand, if the value of the communication disabled counter is greater than or equal to the threshold, the acquisition unit 503 causes the process to proceed to step S1705.
 ステップS1708に移行すると、取得部503は、自装置(通信装置100)のSF値に1を加算する。ただし、現在のSF値が「12」である場合、現在のSF値「12」を維持する。 After moving to step S1708, the acquisition unit 503 adds 1 to the SF value of its own device (communication device 100). However, if the current SF value is "12", the current SF value "12" is maintained.
 ステップS1709に移行すると、取得部503は、SF値を所定の時間ごとに切り替えて受信情報を取得する。 When the process moves to step S1709, the acquisition unit 503 acquires received information by switching the SF value every predetermined time.
 ステップS1710において、取得部503は、必要な受信情報の量に達したか否かを判断する。必要な受信情報の量に達していない場合、取得部503は、処理をステップS1709に戻す。一方、必要な受信情報の量に達している場合、取得部503は、処理をステップS1711に移行させる。 In step S1710, the acquisition unit 503 determines whether or not the required amount of received information has been reached. If the required amount of received information has not been reached, the acquisition unit 503 returns the process to step S1709. On the other hand, if the required amount of received information has been reached, the acquisition unit 503 causes the process to proceed to step S1711.
 ステップS1711に移行すると、取得部503は、取得した受信情報を決定部504に通知する。 After moving to step S1711, the acquiring unit 503 notifies the determining unit 504 of the acquired reception information.
 (通信装置110の通信処理)
 図19は、第4の実施形態に係る通信装置(子機)の通信処理の例を示すフローチャートである。なお、図19に示す処理のうち、ステップS1601~1606、S1609~S1611、S1621の処理は、図16で説明した第3の実施形態に係る通信装置(子機)の通信処理と同様なので、ここでは、第3の実施形態との相違点を中心に説明する。
(Communication processing of communication device 110)
FIG. 19 is a flowchart illustrating an example of communication processing of a communication device (child device) according to the fourth embodiment. 19, steps S1601 to S1606, S1609 to S1611, and S1621 are the same as the communication processing of the communication device (slave device) according to the third embodiment described with reference to FIG. Now, the description will focus on the differences from the third embodiment.
 ステップS1901において、通信装置110の制御部510は、通信不可カウンタの値が閾値以上であるか否かを判断する。通信不可カウンタの値が閾値以上である場合、制御部510は、処理をステップS1902に移行させる。一方、通信不可カウンタの値が閾値以上でない場合、変更部506は、処理をステップS1601に戻す。 In step S1901, the control unit 510 of the communication device 110 determines whether or not the value of the communication disabled counter is greater than or equal to the threshold. If the value of the communication disabled counter is greater than or equal to the threshold, control unit 510 causes the process to proceed to step S1902. On the other hand, if the value of the communication disabled counter is less than the threshold, the changing unit 506 returns the process to step S1601.
 ステップS1902に移行すると、制御部510は、自装置(通信装置110)のSF値に1を加算する。ただし、自装置のSF値が「12」である場合、制御部510は、SF値「12」を維持する。 After moving to step S1902, the control unit 510 adds 1 to the SF value of its own device (communication device 110). However, if the SF value of its own device is "12", control unit 510 maintains the SF value "12".
 また、ステップS1621において、制御情報を受信した場合、ステップS1911において、制御部510は、受信した制御情報が、SF値の変更命令であるか否かを判断する。受信した制御情報がSF値の変更命令である場合、制御部510は、処理をステップS1912に移行させる。一方、受信した制御情報がSF値の変更命令でない場合、制御部510は、処理をステップS1601に戻す。 Also, when control information is received in step S1621, the control unit 510 determines in step S1911 whether or not the received control information is an SF value change command. If the received control information is an SF value change command, control unit 510 causes the process to proceed to step S1912. On the other hand, if the received control information is not an SF value change command, control unit 510 returns the process to step S1601.
 ステップS1912に移行すると、制御部510は、SF値の変更命令に従って、自装置(通信装置110)のSF値を変更する。ただし、自装置のSF値が「12」であるときに、SF値に1を加算する変更命令を受け付けた場合、制御部510は、SF値の加算を行わない。 After moving to step S1912, the control unit 510 changes the SF value of its own device (communication device 110) according to the SF value change command. However, when the SF value of the device itself is "12", if a change command to add 1 to the SF value is accepted, the control unit 510 does not add the SF value.
 以上、第4の実施形態によれば、通信システム1は、例えば、電波状況、通信の混雑状況、又は他の通信装置110との間の距離等に基づいて、SF値、及びSF値を切り替えるタイミング等を変更することができる。 As described above, according to the fourth embodiment, the communication system 1 switches between the SF value and the SF value based on, for example, the radio wave condition, the communication congestion condition, or the distance from the other communication device 110. Timing etc. can be changed.
 以上、本開示の各実施形態によれば、スペクトラム拡散方式のSF値が同一の他の通信装置110と通信可能な通信装置100において、SF値が異なる複数の他の通信装置110と通信を行うことが容易になる。 As described above, according to each embodiment of the present disclosure, the communication device 100 that can communicate with other communication devices 110 having the same spread spectrum SF value communicates with a plurality of other communication devices 110 having different SF values. becomes easier.
 また、第2~4の実施形態によれば、通信システム1は、例えば、電波状況、通信の混雑度、又は他の通信装置110との間の距離等の通信環境が変化に応じて、通信装置100、及び通信装置110のSF値を変更することができる。 Further, according to the second to fourth embodiments, the communication system 1 performs communication according to changes in the communication environment such as the radio wave condition, the degree of communication congestion, or the distance to another communication device 110. The SF values of device 100 and communication device 110 can be changed.
 (SF値の変化の例)
 図20は、一実施形態に係る通信システムのSF値の変化の例を示す図である。図20において、通信装置100は、時間t0~t1の期間、SF値「5」でデータを受信し、時間t1~t2の期間、SF値「8」でデータを受信し、時間t2~t3の期間、SF値「11」でデータ受信しているものとする。
(Example of change in SF value)
FIG. 20 is a diagram illustrating an example of changes in SF values in a communication system according to an embodiment. In FIG. 20, the communication device 100 receives data with an SF value of "5" during a period of time t0 to t1, receives data with an SF value of "8" during a period of time t1 to t2, and receives data with an SF value of "8" during a period of time t2 to t3. It is assumed that data is received with an SF value of "11" during the period.
 また、例えば、時間t1~t2の期間において、通信装置100がデータの受信に失敗し、通信不可カウンタが閾値を超過したものとする。この場合、通信装置100は、時間t4~t5の期間において、SF値を「8」から「9」に変更する。 Also, for example, assume that the communication device 100 fails to receive data during the period from time t1 to t2, and the communication disable counter exceeds the threshold. In this case, the communication device 100 changes the SF value from "8" to "9" during the period from time t4 to t5.
 一方、SF値「8」で、所定の時間間隔でデータを送信していた通信装置110bも、いずれかのタイミングで、送信不可カウンタが閾値を超過すると、SF値を「8」から「9」に変更する。これにより、図20の例では、時間t4~t5の期間において、通信装置100、及び通信装置110のSF値が、いずれも「9」となり、通信装置100は、通信装置110bが送信するデータを受信することができるようになる。 On the other hand, the communication apparatus 110b, which has been transmitting data at predetermined time intervals with an SF value of "8", changes its SF value from "8" to "9" when the transmission disable counter exceeds the threshold value at any timing. change to As a result, in the example of FIG. 20, the SF values of both the communication device 100 and the communication device 110 are "9" during the period from time t4 to time t5, and the communication device 100 receives the data transmitted by the communication device 110b. be able to receive.
 また、別の一例として、時間t5~t6の期間において、通信装置100は、SF値「11」のデータの到達率が低いため、SF値「11」で、SF値「12」への変更命令を送信するものとする。 As another example, during the period from time t5 to time t6, the communication device 100 issues a change instruction to change the SF value from "11" to SF value "12" because the arrival rate of data with the SF value "11" is low. shall be sent.
 この場合、SF値「11」で、所定の時間間隔でデータを送信していた通信装置110cは、通信装置100から、SF値「12」への変更命令を受信すると、例えば、次の送信タイミングから、SF値を「12」に変更してデータを送信する。これにより、例えば、時間t6~t7の期間において、通信装置100は、SF値「12」で、通信装置110cが送信するデータを受信できるようになる。 In this case, when the communication device 110c, which has been transmitting data at predetermined time intervals with an SF value of “11”, receives an instruction to change the SF value to “12” from the communication device 100, for example, the next transmission timing , change the SF value to "12" and transmit the data. This enables the communication device 100 to receive data transmitted by the communication device 110c with an SF value of "12", for example, during the period from time t6 to time t7.
 以上、実施形態を説明したが、特許請求の範囲の趣旨及び範囲から逸脱することなく、形態や詳細の多様な変更が可能なことが理解されるであろう。 Although the embodiments have been described above, it will be understood that various changes in form and detail are possible without departing from the spirit and scope of the claims.
 本願は、日本特許庁に2021年11月1日に出願された基礎出願2021-178622号の優先権を主張するものであり、その全内容を参照によりここに援用する。 This application claims priority from Basic Application No. 2021-178622 filed with the Japan Patent Office on November 1, 2021, the entire contents of which are incorporated herein by reference.
 1   通信システム
 100 通信装置
 110 通信装置(他の通信装置)
 110a 通信装置(第1の通信装置の一例)
 110b 通信装置(第2の通信装置の一例)
 500 制御部
 501 通信部
 502 記憶部
 503 取得部
 504 決定部
 505 切替部
 506 変更部
 510 制御部
 511 通信部
 513 受付部
 514 設定部
1 communication system 100 communication device 110 communication device (other communication device)
110a communication device (an example of a first communication device)
110b communication device (an example of a second communication device)
500 control unit 501 communication unit 502 storage unit 503 acquisition unit 504 determination unit 505 switching unit 506 change unit 510 control unit 511 communication unit 513 reception unit 514 setting unit

Claims (16)

  1.  スペクトラム拡散方式のSF値が同一の他の通信装置と通信可能な通信装置であって、
     複数のSF値を時分割で切り替えながら他の通信装置と通信する、通信装置。
    A communication device capable of communicating with another communication device having the same spread spectrum SF value,
    A communication device that communicates with another communication device while switching a plurality of SF values in a time division manner.
  2.  前記複数のSF値は、前記通信装置に設定可能なSF値の範囲内の任意の値である、請求項1に記載の通信装置。 The communication device according to claim 1, wherein the plurality of SF values are arbitrary values within a range of SF values that can be set for the communication device.
  3.  前記SF値は、前記他の通信装置を設置する設置者が、前記他の通信装置に設定する設定値である、請求項1又は2に記載の通信装置。 The communication device according to claim 1 or 2, wherein the SF value is a setting value set in the other communication device by an installer who installs the other communication device.
  4.  前記通信装置は、前記SF値ごとに定められた切り替えタイミングで、前記SF値を切り替えて通信する、請求項1乃至3のいずれか一項に記載の通信装置。 The communication device according to any one of claims 1 to 3, wherein the communication device performs communication by switching the SF value at a switching timing determined for each SF value.
  5.  前記通信装置は、
     所定の時間間隔で前記SF値を変更して、前記他の通信装置との通信の可否を判定し、
     前記通信の可否の判定結果に基づいて前記複数のSF値を決定する、
     請求項1乃至4のいずれか一項に記載の通信装置。
    The communication device
    changing the SF value at predetermined time intervals to determine whether communication with the other communication device is possible;
    Determining the plurality of SF values based on the determination result of the communication availability;
    5. A communication device according to any one of claims 1-4.
  6.  前記通信装置は、電波状況、前記通信の混雑状況、又は前記他の通信装置との間の距離に基づいて前記複数のSF値を変更する、請求項5に記載の通信装置。 6. The communication device according to claim 5, wherein the communication device changes the plurality of SF values based on the radio wave condition, the communication congestion condition, or the distance from the other communication device.
  7.  前記通信装置は、外部から前記複数のSF値を設定可能である、請求項1乃至6のいずれか一項に記載の通信装置。 The communication device according to any one of claims 1 to 6, wherein said communication device can externally set said plurality of SF values.
  8.  前記通信装置は、所定の時間間隔で前記SF値を変更し、前記他の通信装置と前記通信を行った時刻に基づいて、前記複数のSF値を切り替えるタイミングを決定する、請求項1乃至7のいずれか一項に記載の通信装置。 8. The communication device changes the SF value at predetermined time intervals, and determines the timing of switching the plurality of SF values based on the time when the communication with the other communication device is performed. The communication device according to any one of Claims 1 to 3.
  9.  前記通信装置は、電波状況、又は前記通信の混雑状況に応じて、前記複数のSF値を切り替えるタイミングを変更する、請求項8に記載の通信装置。 The communication device according to claim 8, wherein the communication device changes the timing of switching the plurality of SF values according to radio wave conditions or congestion conditions of the communication.
  10.  前記通信装置は、外部から前記複数のSF値を切り替えるタイミングを設定可能である、請求項1乃至9のいずれか一項に記載の通信装置。 The communication device according to any one of claims 1 to 9, wherein the communication device can externally set timing for switching the plurality of SF values.
  11.  請求項1乃至10のいずれか一項に記載の通信装置と、他の通信装置とを含む通信システムであって、
     前記他の通信装置は、前記他の通信装置に設定された前記SF値で前記通信装置と通信する、通信システム。
    A communication system comprising the communication device according to any one of claims 1 to 10 and another communication device,
    The communication system, wherein the other communication device communicates with the communication device using the SF value set in the other communication device.
  12.  前記他の通信装置は、第1のSF値が設定されている第1の通信装置と、前記第1のSF値とは異なる第2のSF値が設定されている第2の通信装置とを含む、請求項11に記載の通信システム。 The other communication device comprises a first communication device to which a first SF value is set and a second communication device to which a second SF value different from the first SF value is set. 12. The communication system of claim 11, comprising:
  13.  前記他の通信装置は、設定された送信スケジュールに従って、前記通信装置にデータを送信する、請求項11又は12に記載の通信システム。 The communication system according to claim 11 or 12, wherein said another communication device transmits data to said communication device according to a set transmission schedule.
  14.  前記他の通信装置は、
     前記通信装置にデータを送信した後に、前記通信装置から応答がない場合、通信異常と判定して前記データを保持し、
     前記通信異常が解消したときに、前記保持したデータを前記通信装置に再送する、
     請求項11乃至13のいずれか一項に記載の通信システム。
    The other communication device is
    If there is no response from the communication device after transmitting the data to the communication device, determining that communication is abnormal and holding the data;
    retransmitting the held data to the communication device when the communication abnormality is resolved;
    14. A communication system according to any one of claims 11-13.
  15.  スペクトラム拡散方式のSF値が同一の他の通信装置と通信可能な通信装置が、
     複数のSF値を時分割で切り替えながら他の通信装置と通信する、
     通信方法。
    A communication device capable of communicating with another communication device having the same spread spectrum SF value,
    Communicate with other communication devices while switching multiple SF values in a time division manner.
    Communication method.
  16.  スペクトラム拡散方式のSF値が同一の他の通信装置と通信可能な通信装置に、
     複数のSF値を時分割で切り替えながら他の通信装置と通信させる、
     プログラム。
    A communication device capable of communicating with another communication device having the same spread spectrum SF value,
    Communicate with other communication devices while switching multiple SF values in a time division manner.
    program.
PCT/JP2022/040107 2021-11-01 2022-10-27 Communication device, communication system, communication method, and program WO2023074784A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2021178622A JP7299521B2 (en) 2021-11-01 2021-11-01 Communication device, communication system, communication method, and program
JP2021-178622 2021-11-01

Publications (1)

Publication Number Publication Date
WO2023074784A1 true WO2023074784A1 (en) 2023-05-04

Family

ID=86159937

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/040107 WO2023074784A1 (en) 2021-11-01 2022-10-27 Communication device, communication system, communication method, and program

Country Status (2)

Country Link
JP (1) JP7299521B2 (en)
WO (1) WO2023074784A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020141322A (en) * 2019-02-28 2020-09-03 国立研究開発法人情報通信研究機構 Wireless communication system and method
WO2020188937A1 (en) * 2019-03-15 2020-09-24 日本電気株式会社 Information processing device, data collection system, communication setting method, and computer-readable medium in which program is stored
US10790871B1 (en) * 2019-09-18 2020-09-29 Kabushiki Kaisha Toshiba Collision aware radio resource allocation
US20200358475A1 (en) * 2019-05-07 2020-11-12 Cisco Technology, Inc. Methods for improving flexibility and data rate of chirp spread spectrum systems in lorawan
JP2021093716A (en) * 2019-09-26 2021-06-17 パナソニック株式会社 Terminal, base station, and control method
JP2021136649A (en) * 2020-02-28 2021-09-13 国立大学法人信州大学 Interference power estimation device, interference power estimation program, and information collection station

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101995160B1 (en) 2018-02-21 2019-07-02 한국과학기술원 Wireless communication system allocating spreading coefficient to end device to accommodate massive end devices

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020141322A (en) * 2019-02-28 2020-09-03 国立研究開発法人情報通信研究機構 Wireless communication system and method
WO2020188937A1 (en) * 2019-03-15 2020-09-24 日本電気株式会社 Information processing device, data collection system, communication setting method, and computer-readable medium in which program is stored
US20200358475A1 (en) * 2019-05-07 2020-11-12 Cisco Technology, Inc. Methods for improving flexibility and data rate of chirp spread spectrum systems in lorawan
US10790871B1 (en) * 2019-09-18 2020-09-29 Kabushiki Kaisha Toshiba Collision aware radio resource allocation
JP2021093716A (en) * 2019-09-26 2021-06-17 パナソニック株式会社 Terminal, base station, and control method
JP2021136649A (en) * 2020-02-28 2021-09-13 国立大学法人信州大学 Interference power estimation device, interference power estimation program, and information collection station

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
EMMANUEL ALSTON LLOYED; FERNANDO XAVIER; HUSSAIN FATIMA; FARJOW WISAM: "Optimization of Spreading Factor Distribution in High Density LoRa Networks", 2020 IEEE 91ST VEHICULAR TECHNOLOGY CONFERENCE (VTC2020-SPRING), IEEE, 25 May 2020 (2020-05-25), pages 1 - 5, XP033787233, DOI: 10.1109/VTC2020-Spring48590.2020.9129498 *
YUKI KATSUMATA, SATOSHI YAMAZAKI: "Effect of user distribution on energy efficiency of LoRaWAN", IEICE TECHNICAL REPORT, IEICE, JP, vol. 121, no. 170 (NS2021-57), 2 September 2021 (2021-09-02), JP , pages 1 - 5, XP009545900, ISSN: 2432-6380 *

Also Published As

Publication number Publication date
JP2023067414A (en) 2023-05-16
JP7299521B2 (en) 2023-06-28

Similar Documents

Publication Publication Date Title
CN106664538B (en) Communication system and method
WO2021190180A1 (en) Time synchronization method and apparatus, computer-readable medium, and electronic device
CN104919869A (en) Methods and apparatus for controlling access points coupled to a common power source
US8111680B2 (en) Mobile object information sharing system
US20110109478A1 (en) System and method for expanding preemption and bus priority signals
JP2014512759A (en) Method and apparatus for triggering coordinated positioning or learning in a wireless network
CN101326747A (en) Wireless communication method and wireless communication apparatus
CN104464767A (en) Audio frequency playing method and system synchronizing multi-player
CN102664781B (en) The control method of a kind of multinode RS485 bus data transmission route
CN109996325B (en) Clock synchronization system and method of wireless sensor network
CN102171954A (en) Method and apparatus for using ranging measurements in a multimedia home network
JP2023521983A (en) GNSS data of non-terrestrial network system information
JP7410318B2 (en) Methods, systems, and devices and media for handling resource allocation in V2X communications
CN105228178A (en) A kind of aircraft environment parameter detecting system based on radio communication and detection method
WO2023074784A1 (en) Communication device, communication system, communication method, and program
KR20120066979A (en) Wireless local area communication system
Fürst et al. Leveraging physical locality to integrate smart appliances in non-residential buildings with ultrasound and bluetooth low energy
KR101792040B1 (en) Parallel inverter system
CN109150435B (en) CSI-RS configuration method and device, storage medium, base station and terminal
JP2006140764A (en) Radio transmitter-receiver and light control system
CN112596423B (en) Cluster control method based on spatial light modulator and spatial light modulator
Kshash Modelling and simulation of device to device based protocol for ultra-reliable low latency communication
CN114389906B (en) Group control method, device, equipment and storage medium for intelligent equipment
US11979898B2 (en) Wireless communication system, wireless communication method, management station device, base station device, and terminal station device
WO2020179214A1 (en) Control device, control method, non-transitory computer readable medium, and communication system

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: 22887109

Country of ref document: EP

Kind code of ref document: A1