Control communication support device, control communication support method, and control communication support program
The control communication support device addresses the challenge of ensuring real-time and reliable wireless communication in FA sites by determining optimal settings based on condition and overhead information, enhancing network performance and reducing worker burden.
Patent Information
- Application Number
- PCT/JP2025/016800
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-05-08
- Publication Date
- 2026-11-12
AI Technical Summary
Existing wireless communication systems in Factory Automation (FA) sites face challenges in ensuring real-time and reliable data transmission due to environmental influences, and existing setting techniques do not adequately consider the characteristics of wireless communication, increasing the burden on workers and compromising network performance.
A control communication support device that determines suitable wireless communication settings by acquiring condition and overhead information from wireless devices, using a support device to calculate and output setting values that enhance real-time performance and reliability in FA systems.
The solution enables the determination of a wireless communication scheme tailored to FA systems, ensuring real-time and reliable data transmission by considering the characteristics of wireless communication, thereby improving network performance and reducing worker burden.
Smart Images

Figure JP2025016800_12112026_PF_FP_ABST
Abstract
Description
Control communication support device, control communication support method, and control communication support program
[0001] The present disclosure relates to a control communication support device, a control communication support method, and a control communication support program.
[0002] In recent years, at Factory Automation (FA) sites, wireless communication technologies represented by wireless Local Area Network (LAN) and the 5th generation mobile communication system have been increasingly utilized due to their advantages of enabling wiring saving and layout flexibility. For example, in a control system using a control device such as a Programmable Logic Controller (PLC) that is widely prevalent at FA sites, the above-described wireless communication technology is applied to data communication between the control device and controlled equipment, whereby a wireless communication network is constructed.
[0003] When constructing a wireless communication network, it is necessary to design the network first and then configure settings related to the wireless communication scheme for each wireless device. Here, at FA sites, the number of installed wireless devices is generally large, and performing the work of individually setting information for a large number of wireless devices increases the burden on workers. Accordingly, a technique for writing setting information to a device responsible for wireless connection has been proposed (for example, see Patent Document 1).
[0004] Japanese Unexamined Patent Publication No. 2018-147267
[0005] In FA systems, real-time and reliable transmission of data is emphasized. However, since wireless communication is more susceptible to influences from the surrounding environment than wired communication, the real-time performance and reliability may be impaired in FA systems using wireless communication. Therefore, it is desirable to determine a wireless communication scheme suitable for FA systems in consideration of the characteristics of wireless communication, but the technique described in Patent Document 1 does not take the characteristics of wireless communication into account at all when creating setting information.
[0006] The present disclosure aims to determine a wireless communication scheme suitable for FA systems in consideration of the characteristics of wireless communication.
[0007] To achieve the above objective, the control communication support device of the present disclosure is connected to at least two wireless devices that are communicating wirelessly with each other, and determines a setting value for the wireless communication method to be set on the two wireless devices in order to perform control communication over a communication path including wireless communication between a control device that controls equipment and a communication device, and comprises: acquisition means for acquiring condition information that indicates the communication cycle of the control communication and the size of the data to be transmitted within the communication cycle as execution conditions for the control communication; receiving means for receiving overhead information indicating the communication status regarding the overhead of wireless communication from at least one of the two wireless devices; determination means for determining a setting value based on the condition information and the overhead information; and output means for outputting the setting value determined by the determination means.
[0008] According to this disclosure, a wireless communication method suitable for FA systems can be determined by taking into account the characteristics of wireless communication.
[0009] A diagram showing the configuration of the control system according to Embodiment 1. A diagram showing an example of communication status information according to Embodiment 1. A diagram showing the hardware configuration of the support device according to Embodiment 1. A diagram showing the functional configuration of the support device according to Embodiment 1. A diagram showing an example of system configuration information according to Embodiment 1. A diagram showing an example of wireless device information according to Embodiment 1. A diagram showing an example of condition information according to Embodiment 1. A sequence diagram showing the processing flow in the control system according to Embodiment 1. A flowchart showing the device ID matching process according to Embodiment 1. A flowchart showing the request value calculation process according to Embodiment 1. A flowchart showing the calculation of the approximate lower limit of the communication speed according to Embodiment 1. A diagram for explaining the communication path according to Embodiment 1. A flowchart showing the connection destination determination process according to Embodiment 1. A flowchart showing the setting value calculation process according to Embodiment 1. A diagram showing a first example of the display screen according to Embodiment 1. A diagram showing a second example of the display screen according to Embodiment 1. A flowchart showing the request value calculation process according to Embodiment 2. A flowchart showing the connection destination determination process according to Embodiment 2. A flowchart showing the setting value calculation process according to Embodiment 2. A sequence diagram showing the processing flow in the control system according to Embodiment 2.
[0010] The support device according to the embodiment of this disclosure will be described in detail below with reference to the drawings.
[0011] Embodiment 1. The control system 1000 according to this embodiment is a system for controlling equipment in a facility 1001, such as a factory or plant, as shown in Figure 1. In this control system 1000, the setting value of the wireless communication method, which corresponds to a part of the communication path, is determined to be suitable for controlling the equipment.
[0012] The control system 1000 includes a control device 20 and devices 31-33 that communicate with each other, master units 41, 42 and slave units 51-53 that communicate wirelessly between the control device 20 and devices 31-33, relay devices 61, 62 that relay communications, and a support device 10 that helps to realize smooth control communication by determining the setting values of the wireless communication method. Hereinafter, devices 31-33 will be referred to as device 30 without distinction, master units 41 and 42 will be referred to as master unit 40 without distinction, slave units 51-53 will be referred to as slave unit 50 without distinction, and relay devices 61 and 62 will be referred to as relay device 60 without distinction.
[0013] The control device 20 is wired to the master unit 41 via the relay device 61, and is wired to the master unit 42 via the relay devices 61 and 62 in that order. In Figure 1, the dashed lines show that the master unit 41 communicates wirelessly with the slave unit 51, and the master unit 42 communicates wirelessly with the slave units 52 and 53. However, each master unit 40 and each slave unit 50 can change their wireless communication partner more easily than wired communication. Slave unit 51 is wired to device 31, slave unit 52 is wired to device 32, and slave unit 53 is wired to device 33. The wired connections between the control device 20, the relay device 60, and the master unit 40, as well as the wired connections between the slave units 50 and device 30, are each realized by communication cables such as LAN cables.
[0014] The control device 20 is an FA device, such as a PLC. The control device 20 controls the equipment 30 by communicating with it via a relay device 60, a master unit 40, and a slave unit 50, thereby carrying out manufacturing, machining, inspection, and other processes. For example, the control device 20 receives sensing results from a sensor device 31, causes a robot device 32 to transport the workpiece, and causes a machine tool device 33 to cut the workpiece. Equipment 30 is a controlled device controlled by the control device 20. Equipment 30 is not limited to the above examples, and may be, for example, a remote I / O (Input / Output) device or a camera, or other FA equipment.
[0015] Control communication that guarantees real-time performance and reliability must be implemented between the control device 20 and the equipment 30. Specifically, the control communication is conducted according to a protocol that specifies the transmission and reception of data of a predetermined size at predetermined communication cycles. Control communication differs from information communication in general information networks in that it guarantees real-time performance and reliability.
[0016] The master unit 40 and the slave units 50 are wireless devices that perform wireless communication on the communication path of control communication. The master unit 40 is an access point that has the function of connecting to multiple slave units 50, and the slave units 50 are stations that participate in a wireless communication network. The wireless communication network constructed by the master unit 40 and the slave units 50 may be a wireless LAN, or it may be a mobile communication network represented by LTE (Long Term Evolution) and fifth-generation mobile communication systems. The following explanation will focus on an example in which a wireless LAN is constructed by the master unit 40 and the slave units 50.
[0017] The base unit 40 and the slave unit 50 have the function of wirelessly communicating in one or more frequency bands from the 2.4 GHz band, the 5 GHz band, and the 6 GHz band. Furthermore, the base unit 40 and the slave unit 50 have the function of wirelessly communicating using one or more bandwidths from the 20 MHz, 40 MHz, 80 MHz, and 160 MHz bands. In addition, the base unit 40 and the slave unit 50 have the function of wirelessly communicating in accordance with one or more standards of the IEEE 802.11 series. The IEEE 802.11 series includes, for example, the so-called 802.11be, 802.11ax, 802.11ac, and 802.11n / a standards. The frequency band, bandwidth, and standards to which the master unit 40 and slave unit 50 operate are not limited to those described above. The master unit 40 and slave unit 50 may use other frequency bands, such as the 920 MHz band, or other bandwidths, such as the 320 MHz band, or they may perform wireless communication according to standards different from those described above.
[0018] All or part of the master unit 40 and the slave unit 50 may have a multilink function that establishes a link with a communication partner via multiple frequency channels and communicates. Transmitting the same data in parallel on multiple frequency channels using the multilink function improves the reliability of the wireless communication network. Also, transmitting different data simultaneously on multiple frequency channels using the multilink function substantially improves the communication speed. In addition, all or part of the master unit 40 and the slave unit 50 may have a low-latency function that reduces the delay time when transmitting data. The low-latency function is a function that communicates by setting a period for transmitting data that requires a short delay time, such as R-TWT (Restricted Target Wake Time).
[0019] Each master unit 40 maintains communication status information indicating the communication status with the connected slave units 50. As illustrated in Figure 2, the communication status information shows, for each connected slave unit 50, the device ID (Identifier), signal strength, number of communication retries, number of reception errors, number of transmission errors, and cumulative data volume, all related to each other. The device ID is identification information for uniquely identifying a device on the network, such as a MAC (Media Access Control) address. Note that the communication status information is not limited to the example shown in Figure 2 and may represent other statistical values calculated from the communication history with the slave units 50. Of the communication status information, the number of communication retries, number of reception errors, and number of transmission errors are used as information regarding the overhead of wireless communication. Details of the use of overhead information will be described later.
[0020] The relay device 60 is a communication device such as a switching hub, bridge, or gateway. The relay device 60 relays data transmission in the control system 1000.
[0021] The support device 10 is a computer device such as an industrial PC (Personal Computer), a tablet terminal, or a smartphone. The support device 10 is connected to the relay device 61 via a communication cable, and through this relay device 61, it is connected to the control device 20, the equipment 30, the master unit 40, the slave unit 50, and other relay devices 62.
[0022] The support device 10 has the hardware configuration shown in Figure 3. The support device 10 includes a processor 101, a main memory unit 102, an auxiliary memory unit 103, an input unit 104, an output unit 105, and a communication unit 106. The main memory unit 102, the auxiliary memory unit 103, the input unit 104, the output unit 105, and the communication unit 106 are all connected to the processor 101 via an internal bus 107.
[0023] The processor 101 includes a CPU (Central Processing Unit) or MPU (Micro Processing Unit) as a processing circuit. The processor 101 performs various functions and processes described later by executing a program P1 stored in the auxiliary storage unit 103. Program P1 may be an engineering tool. Program P1 is an example of a control communication support program.
[0024] The main memory unit 102 includes RAM (Random Access Memory). Program P1 is loaded into the main memory unit 102 from the auxiliary memory unit 103. The main memory unit 102 is then used as a working area for the processor 101.
[0025] The auxiliary storage unit 103 includes semiconductor flash memory and non-volatile memory such as an HDD (Hard Disk Drive). In addition to program P1, the auxiliary storage unit 103 stores various data used in the processing of the processor 101. The auxiliary storage unit 103 supplies data to be used by the processor 101 according to the instructions of the processor 101. The auxiliary storage unit 103 also stores data supplied from the processor 101.
[0026] The input unit 104 includes input components such as hardware switches, input keys, a keyboard, and a pointing device. The input unit 104 acquires information entered by the user of the support device 10 and notifies the processor 101 of the acquired information. The user of the support device 10 is, for example, the operator or administrator of the control system 1000.
[0027] The output unit 105 includes output components such as an LED (Light Emitting Diode), an LCD (Liquid Crystal Display), and a speaker. The output unit 105 presents various information to the user according to instructions from the processor 101. The LCD of the output unit 105 and the pointing device of the input unit 104 may be integrated as a touchscreen.
[0028] The communication unit 106 includes a communication interface circuit for communicating with an external device and a terminal such as a serial port or a USB (Universal Serial Bus) port. The communication unit 106 receives signals from the outside and outputs data indicated by these signals to the processor 101. The communication unit 106 also transmits signals indicating the data output from the processor 101 to the external device.
[0029] The hardware configuration described above works together to enable the support device 10 to perform various functions for determining and setting the wireless communication method settings on the master unit 40 and the slave unit 50. Specifically, as shown in Figure 4, the support device 10 includes an acquisition unit 11 for acquiring pre-set information, a receiving unit 12 for receiving information from an external device, a verification unit 13 for verifying the device ID of the device 30, a determination unit 14 for determining the setting values, a display unit 15 for displaying information to the user, and an output unit 16 for outputting the determined setting values. The information input to each functional unit of the support device 10, and the information output from each functional unit, are stored as appropriate in at least one of the main memory unit 102 and the auxiliary memory unit 103 of the support device 10. Note that the arrows in Figure 4 schematically show the main flow of information, and information may be transmitted via paths other than those shown in Figure 4 as appropriate.
[0030] The acquisition unit 11 is primarily implemented by the input unit 104. The acquisition unit 11 acquires system configuration information 71, wireless device information 72, and condition information 73 indicating control communication conditions, which are created and edited and input by the user. The acquisition unit 11 is an example of an acquisition means that acquires condition information via a user interface.
[0031] Furthermore, all or part of the information acquired by the acquisition unit 11 may be read from a removable memory card by the acquisition unit 11 implemented by the processor 101, or it may be input to an external UI terminal of the support device 10 and received by the acquisition unit 11 implemented by the communication unit 106. For example, the acquisition unit 11 may acquire condition information 73 by receiving it from the control device 20 and the equipment 30.
[0032] The system configuration information 71 is information that shows the configuration of the control system 1000. As illustrated in Figure 5, the system configuration information 71 shows the name, model number, equipment ID, and the connection device that is directly connected to the equipment by wire for each device that makes up the control system 1000. The names of the devices in Figure 5 include a number equivalent to the code of the device. For example, the name of equipment 31 is shown as "equipment #31". Furthermore, by referring to the connection device in the system configuration information 71, the relationships of wired connections between each device in the control system 1000 shown in Figure 1 can be understood.
[0033] The wireless device information 72 is information indicating the functions of the wireless devices, namely the master unit 40 and the slave unit 50. As illustrated in Figure 6, the wireless device information 72 indicates, for each wireless device, the name, location, the wireless communication standards, frequency band, bandwidth and channel that the wireless device can support, whether or not it can provide multilink functionality, and whether or not it can provide low-latency functionality. The location of the wireless device in Figure 6 is a coordinate value in three-dimensional space in meters, but it is not limited to this, and any information that represents the positional relationship between wireless devices is acceptable. For example, the location of the wireless device may be expressed in terms of latitude and longitude, or as the distance from a specific point.
[0034] Condition information 73 is information indicating the conditions required for control communication between the control device 20 and the device 30. As illustrated in Figure 7, condition information 73 indicates, for each device 30, the communication cycle, the allowable delay time, the data size of the data transmitted within the communication cycle, whether or not data loss prevention is necessary, and whether or not it is mobile. Whether or not data loss prevention is necessary indicates whether or not measures to prevent data loss as much as possible when a failure occurs in part of the network need to be applied to the control communication of the device 30. In this embodiment, if data loss prevention is required, the same data is transmitted in parallel on multiple channels using the multilink function, so that even if communication on one channel is unsuccessful, data is transmitted on other channels. Mobility is set to "yes," for example, when the device 30 is a mobile device such as an AGV (Automatic Guided Vehicle). The acquisition unit 11 corresponds to an example of an acquisition means that acquires condition information indicating the communication cycle of the control communication and the size of the data to be transmitted within the communication cycle as execution conditions for the control communication.
[0035] In Figure 7, the condition information 73 does not indicate the conditions for control communication regarding the control device 20, but the condition information 73 may indicate conditions related to the control device 20. However, generally, the control device 20 has many functions for control communication with various devices 30, and the actual method of control communication is often determined by the conditions on the device 30 side.
[0036] Returning to Figure 4, the receiving unit 12 is primarily implemented by the communication unit 106. The receiving unit 12 receives overhead information 81 indicating the overhead of wireless communication from each master unit 40 and device ID information 82 indicating the device ID of each device 30 from each device 30. The receiving unit 12 may periodically collect the overhead information 81 and the device ID information 82.
[0037] Here, wireless communication overhead refers to the inability to smoothly transmit data due to environmental factors such as diffraction and scattering of electromagnetic waves, electromagnetic waves generated from wireless devices other than the communication partner, and ambient electromagnetic noise, and the resulting load on wireless communication. Wireless communication overhead is a load unique to wireless communication that would not occur if replaced by wired communication. For example, among the communication status information shown in Figure 2, the number of communication retries, the number of reception errors, and the number of transmission errors are information related to overhead. The receiving unit 12 may receive the communication status information as overhead information 81, or it may receive a part of the communication status information as overhead information 81. The receiving unit 12 corresponds to an example of a receiving means that receives overhead information indicating the communication status related to wireless communication overhead, and corresponds to an example of a receiving means that receives identification information of a device from a device.
[0038] The matching unit 13 is primarily implemented by the processor 101. The matching unit 13 compares the device ID of the device 30 whose conditions are specified by the condition information 73 acquired by the acquisition unit 11 with the device ID received by the receiving unit 12. Specifically, the matching unit 13 extracts the device ID from the system configuration information 71 for devices 30 whose names are defined in the system configuration information 71 and the condition information 73. The matching unit 13 then determines whether the extracted device ID matches the device ID received from the device 30 that actually constitutes the control system 1000. If the device IDs match, the matching unit 13 determines that the device 30 for which the control communication conditions are defined is actually connected to the control system 1000 and notifies the determination unit 14 that the setting value based on the conditions of the device 30 should be determined.
[0039] In the example shown in Figures 5 and 7, the condition information 73 associates the device ID of device 30 with the execution conditions for control communication for device 30 via the name of device 30. However, the condition information 73 may also directly associate the device ID of device 30 with the execution conditions. The condition information 73 is an example of condition information that associates the identification information of a device with the communication cycle of the control communication to be performed for the device and the size of the data to be transmitted within that communication cycle.
[0040] The determination unit 14 is primarily implemented by the processor 101. Based on the information acquired by the acquisition unit 11 and the information received by the receiving unit 12, the determination unit 14 determines the setting values to be set in the wireless device in order to realize control communication. The determination unit 14 includes a request value calculation unit 141 that calculates the request values required for realizing control communication, and a setting value calculation unit 142 that calculates the setting values based on the calculated request values. The calculation of values by the request value calculation unit 141 and the setting value calculation unit 142 will be described in detail later. The determination unit 14 corresponds to an example of a determination means that determines the setting values based on condition information and overhead information.
[0041] The setting values determined by the determination unit 14 include the identification information of the master unit 40 to which each slave unit 50 is connected, the wireless communication standard, frequency band, bandwidth, channel, whether or not a multilink function is provided, and whether or not a low-latency function is provided for the wireless communication performed by each wireless device. The identification information of the master unit 40 to which the slave unit 50 is connected is, for example, the SSID (Service Set Identifier). The setting values are not limited to these and may also include security-related parameters and values for other parameters that should be set.
[0042] The display unit 15 is primarily implemented by the output unit 105. The display unit 15 displays the set value determined by the determination unit 14, or errors that occurred during verification by the verification unit 13 or during the determination of the set value by the determination unit 14. The display unit 15 is an example of a display means that displays the set value determined by the determination means.
[0043] The output unit 16 is primarily realized through the cooperation of the processor 101 and the communication unit 106. The output unit 16 outputs the setting value determined by the determination unit 14 to the master unit 40 and the slave unit 50 to set it, and causes the master unit 40 and the slave unit 50 to start wireless communication according to the setting value. By the master unit 40 and the slave unit 50 communicating according to the setting value, control communication that satisfies the conditions defined in the condition information 73 becomes possible. The output unit 16 corresponds to an example of an output means that outputs the setting value determined by the determination means.
[0044] Next, the flow of processing executed in the control system 1000 will be described with reference to FIGS. 8 to 15. As shown in FIG. 8, the master unit 40 and the slave unit 50 establish communication and perform wireless communication (step S1). The wireless communication scheme at this time may be different from the scheme for executing control communication. The master unit 40 accumulates information representing the communication status when this wireless communication is performed, and prepares to provide the overhead information 81. In addition, each master unit 40 preferably attempts communication with a plurality of slave units 50 with which communication can be established, and accumulates information representing the communication status for all slave units 50 that can be connection candidates in the processing described later.
[0045] Next, the acquisition unit 11 acquires the system configuration information 71, wireless device information 72, and condition information 73 (step S2). Then, the receiving unit 12 requests the overhead information 81 from the master unit 40 registered in the system configuration information 71 (step S3), and the master unit 40 transmits the overhead information 81 to the support device 10 (step S4). In addition, the receiving unit 12 requests a device ID from each device 30 (step S5), and each device 30 transmits device ID information 82 to the support device 10 (step S6). The device ID request in step S5 is, for example, a broadcast of an ARP (Address Resolution Protocol) request.
[0046] Next, the collating unit 13 executes device ID collation processing (step S7). In the device ID collation processing, as shown in FIG. 9, the collating unit 13 selects one unselected device ID from the received device IDs (step S71). Next, the collating unit 13 determines whether or not the selected device ID matches any of the device IDs indicated by the condition information 73 (step S72). Specifically, the collating unit 13 searches for the received device ID from the device IDs of the devices 30 for which control communication conditions are defined in the system configuration information 71 and the condition information 73.
[0047] When it is determined that the device IDs do not match (Step S72; No), the collating unit 13 causes the display unit 15 to notify that a device 30 whose device ID does not match and which is not registered in the system configuration information 71 and the condition information 73 is connected within the control system 1000, together with the device ID of the said device 30 (Step S73). The display unit 15 corresponds to an example of a notification unit that notifies that a device not registered in the condition information is connected when the identification information indicated by the condition information is different from the identification information received by the receiving unit. Next, the collating unit 13 records an error indicating that the collation has failed, with content equivalent to the notification by the display unit 15 (Step S74). After that, the collating unit 13 shifts the process to Step S76.
[0048] When it is determined in Step S72 that the device IDs match (Step S72; Yes), the collating unit 13 determines that the device 30 corresponding to the device ID is the device 30 with which control communication is to be performed (Step S75). Then, the collating unit 13 determines whether or not all received device IDs have been selected (Step S76). When it is determined that not all device IDs have been selected (Step S76; No), the collating unit 13 repeats the processes from Step S71 onwards. Thereby, the received device IDs are selected one by one, and it is determined whether or not the execution condition of the device 30 corresponding to the selected device ID is specified in the condition information 73. When it is determined that all device IDs have been selected (Step S76; Yes), the device ID collation process ends.
[0049] Returning to FIG. 8, following the device ID collation process of Step S7, the required value calculation unit 141 executes a required value calculation process (Step S8). In the required value calculation process, as shown in FIG. 10, the required value calculation unit 141 selects one unselected device 30 from the devices 30 whose device IDs matched in the device ID collation process (Step S81). Next, the required value calculation unit 141 executes a calculation process for the approximate lower limit value of the communication speed for the selected device 30 (Step S82).
[0050] In the process of calculating the approximate lower limit of the communication speed, as shown in Figure 11, the request value calculation unit 141 calculates the allowable delay time of the wireless section for all combinations of master unit 40 and slave unit 50 that can be connected to the selected device 30 (step S821). For example, if the selected device 30 is device 31, as shown in Figure 12, there are two communication paths for the control communication of device 31: a first communication path connecting device 31, slave unit 51, master unit 41, relay device 61 and control device 20 in that order when the slave unit 51 is connected to the master unit 41, and a second communication path connecting device 31, slave unit 51, master unit 42, relay device 62, relay device 61 and control device 20 in that order when the slave unit 51 is connected to the master unit 42.
[0051] The allowable delay time in the wireless section is calculated by subtracting the delay time from frame input to frame output at each device other than the wireless device on the control communication path from the control communication cycle. Specifically, let T1 be the allowable delay time in the wireless section, Pr be the communication cycle, and D1 be the delay time at each device other than the wireless device, and T1 is calculated using the following formula (1).
[0052] T1=Pr-ΣD1...(1)
[0053] The delay time for each device is predetermined, for example, as shown in Figure 12. The delay time for each device may also be specified in the system configuration information 71.
[0054] In the example shown in Figure 12, the communication cycle of device 31 is 32 ms, as can be seen from Figure 7. Therefore, the allowable delay time for the wireless section of the first communication path is derived to be 27 ms using the formula 32 - (1 + 2 + 2). Similarly, the allowable delay time for the wireless section of the second communication path is derived to be 25 ms using the formula 32 - (1 + 2 + 2 + 2).
[0055] Returning to Figure 11, following step S821, the request value calculation unit 141 calculates the allowable transmission time of the wireless section for all combinations of the master unit 40 and slave unit 50 that can be connected to the selected device 30 (step S822). The allowable transmission time of the wireless section is calculated by subtracting the delay time in the master unit 40 and slave unit 50, which are wireless devices, from the allowable delay time of the wireless section calculated in step S821. The delay time of the wireless device is the processing time within the device, including protocol conversion between wireless communication and wired communication. Specifically, let T2 be the allowable transmission time of the wireless section, and D2 be the delay time of each wireless device, and T2 is calculated using the following formula (2).
[0056] T2=T1-ΣD2...(2)
[0057] In the example shown in Figure 12, the allowable transmission time for the wireless section of the first communication path is derived as 25 ms using the formula 27 - (1 + 1). Similarly, the allowable transmission time for the wireless section of the second communication path is derived as 23 ms using the formula 25 - (1 + 1).
[0058] Returning to Figure 11, following step S822, the request value calculation unit 141 calculates an approximate value of the allowable transmission time (step S823). Specifically, it calculates the average, minimum, maximum, or mode of the multiple allowable transmission times calculated in step S822 for the selected device 30 as the approximate value. For example, in the case of Figure 12, if the average of the two values calculated for device 31 is used as the approximate value, a value of 24 ms is calculated. Note that if only one allowable transmission time is calculated in step S822, that allowable transmission time may be used as the approximate value.
[0059] Next, the request value calculation unit 141 calculates an approximate lower limit of the communication speed from the approximate allowable transmission time and data size calculated in step S823 (step S824). Specifically, the approximate lower limit of the communication speed is calculated by dividing the data size specified in the condition information 73 for the selected device 30 by the approximate value calculated in step S823. Specifically, with the approximate lower limit as LL, the data size as DS, and the approximate allowable transmission time as Ta2, LL is calculated using the following formula (3).
[0060] LL=DS / Ta2...(3)
[0061] In the case shown in Figure 12, the data size of device 31 is 100 bytes, as can be seen from Figure 7. Therefore, the calculation formula 100 / 24 yields approximately 4.2 kbps.
[0062] The value obtained in step S824 is the communication speed obtained for a single device 30, taking into account the master unit 40 to which the slave unit 50 may be connected in its control communication, but without considering the overhead of wireless communication or other devices 30 connected to the master unit 40, and is determined solely from the operating conditions of the device 30. In other words, it can be said to be the communication speed that achieves the operating conditions of the device 30 in an ideal situation where there is zero overhead of wireless communication, only one device 30 is connected to the master unit 40, and the resources of the master unit 40 can be exclusively occupied by that single device 30. However, in reality, wireless communication overhead occurs, and multiple devices 30 may be connected to the master unit 40, so the actual communication speed needs to be a higher value. Therefore, the value obtained in step S824 can be said to be the lower limit of the communication speed. When step S824 is completed, the processing of the request value calculation unit 141 returns from the calculation process of the approximate lower limit of the communication speed shown in Figure 11 to the request value calculation process shown in Figure 10.
[0063] Following step S82, the request value calculation unit 141 determines whether the approximate lower limit of the communication speed calculated in step S82 exceeds a predetermined threshold (step S83). The threshold is, for example, 500 Mbps. If it determines that the approximate lower limit exceeds the threshold (step S83; Yes), the request value calculation unit 141 determines that there is a high-capacity requirement for the selected device 30 (step S84). On the other hand, if it determines that the approximate lower limit does not exceed the threshold (step S83; No), the request value calculation unit 141 determines that there is no high-capacity requirement for the selected device 30 (step S85).
[0064] Following steps S84 and S85, the request value calculation unit 141 determines whether the allowable delay time of the selected device 30 is smaller than a predetermined threshold (step S86). This threshold is, for example, 2 ms. If device 31 is selected, as can be seen from Figure 7, the allowable delay time of device 31 is 10 ms, which is larger than the threshold of 2 ms, so the determination in step S86 is denied. If it is determined that the allowable delay time of device 30 is smaller than the threshold (step S86; Yes), the request value calculation unit 141 determines that there is a low-latency condition for the selected device 30 (step S87). On the other hand, if it is determined that the allowable delay time of device 30 is not smaller than the threshold (step S86; No), the request value calculation unit 141 determines that there is no low-latency condition for the selected device 30 (step S88).
[0065] Following steps S87 and S88, the request value calculation unit 141 determines whether or not data loss prevention is required in the condition information 73 for the selected device 30 (step S89). If it determines that data loss prevention is required (step S89; Yes), the request value calculation unit 141 determines that there is a high reliability condition for the selected device 30 (step S810). On the other hand, if it determines that data loss prevention is not required (step S89; No), the request value calculation unit 141 determines that there is no high reliability condition for the selected device 30 (step S811).
[0066] Following steps S810 and S811, the request value calculation unit 141 determines whether the selected device 30 is specified as potentially mobile in the condition information 73 (step S812). If it determines that it is potentially mobile (step S812; Yes), the request value calculation unit 141 determines that there are radio wave reachability conditions for the selected device 30 (step S813). On the other hand, if it determines that it is not potentially mobile (step S812; No), the request value calculation unit 141 determines that there are no radio wave reachability conditions for the selected device 30 (step S814).
[0067] Following steps S813 and S814, the request value calculation unit 141 executes the connection destination determination process (step S815). In the connection destination determination process, as shown in Figure 13, the request value calculation unit 141 determines whether or not there are high reliability conditions for the selected device 30 (step S851). If it is determined that there are high reliability conditions (step S851; Yes), the request value calculation unit 141 determines that the master unit 40 needs a multilink function to transmit the same data in parallel (step S852).
[0068] On the other hand, if it is determined that there are no high-reliability conditions (step S851; No), the required value calculation unit 141 determines whether or not there are high-capacity conditions for the selected device 30 (step S853). If it is determined that there are high-capacity conditions (step S853; Yes), the required value calculation unit 141 determines that the master unit 40 needs a multilink function to transmit data on multiple channels (step S854).
[0069] If it is determined that there are no high-capacity requirements (step S853; No), and after the completion of steps S852 and S854, the request value calculation unit 141 determines whether or not there are low-latency requirements for the selected device 30 (step S855). If it is determined that there are low-latency requirements (step S855; Yes), the request value calculation unit 141 determines that the low-latency function is required for the master unit 40 (step S856).
[0070] After step S856 is completed, and if it is determined in step S855 that there are no low-latency conditions (step S855; No), the request value calculation unit 141 selects one of the unselected master units 40 that is located closest to the slave unit 50 connected to the selected device 30 (step S857). Specifically, by referring to the wireless device information 72, the master unit 40 with the shortest distance to the slave unit 50 connected to the selected device 30 is selected.
[0071] Next, the request value calculation unit 141 determines whether the selected master unit 40 has the functions that were determined to be necessary in steps S852, S854, and S856 (step S858). If it is determined that the selected master unit does not have the necessary functions (step S858; No), the request value calculation unit 141 determines whether all of the master units 40 specified in the system configuration information 71 have been selected (step S859).
[0072] If it is determined that not all of the master units 40 have been selected (step S859; No), the process from step S857 onwards is repeated. This searches for master units 40 that have all the necessary functions, starting with the one closest to the slave unit 50 connected to the currently selected device 30.
[0073] If it is determined in step S859 that all master units 40 have been selected (step S859; Yes), the request value calculation unit 141 records an error indicating that there are no master units 40 to connect to, along with the names of the selected devices 30 and the request values calculated up to this point, and notifies the user of the content of the error by displaying it on the display unit 15 (step S8510). After that, processing by the support device 10 ends without determining the setting value.
[0074] If, in step S858, it is determined that the device has the necessary functions (step S858; Yes), the request value calculation unit 141 determines that the master unit 40 selected in step S857 is the connection destination for the slave unit 50 connected to the selected device 30 (step S8511). After that, the processing by the request value calculation unit 141 returns from the connection destination determination process in Figure 13 to the request value calculation process in Figure 10.
[0075] Following the connection destination determination process in step S815, the request value calculation unit 141 calculates the lower limit of the communication speed in the communication path through the master unit 40 determined in step S815 for the selected device 30 (step S816). For example, if the connection destination for device 31 is determined to be the master unit 41, the lower limit of the communication speed in the first communication path shown in Figure 12 is calculated. That is, the allowable delay time for the wireless section is calculated to be 27 ms, the allowable transmission time for the wireless section to be 25 ms, and the lower limit of the communication speed to be 4 kBps. This lower limit may be calculated using the same procedure as in Figure 11, or the value already calculated in the process of Figure 11 may be reused.
[0076] Next, the request value calculation unit 141 determines whether all of the devices 30 specified in the system configuration information 71 have been selected (step S817). If it is determined that not all of the devices 30 have been selected (step S817; No), the request value calculation unit 141 repeats the process from step S81 onward. As a result, for each device 30, the master unit 40 to which it will be connected and the lower limit of the communication speed are determined as request values. On the other hand, if it is determined that all of the devices 30 have been selected (step S817; Yes), the request value calculation process ends. Through the above request value calculation process, for each device 30, the master unit 40 to which it will be connected, the lower limit of the communication speed, and the presence or absence of large capacity conditions, low latency conditions, high reliability conditions, and mobility are determined as request values required for control communication.
[0077] Returning to Figure 8, following the request value calculation process in step S8, the setting value calculation unit 142 executes the setting value calculation process (step S9). In the setting value calculation process, as shown in Figure 14, the setting value calculation unit 142 selects one unselected master unit 40 from the master units 40 that were determined as the connection destination for at least one slave unit 50 in the request value calculation process (step S91).
[0078] Next, the setting value calculation unit 142 calculates the overhead time from the overhead information 81 related to the selected master unit 40 (step S92). The overhead time is the processing time required other than data transmission, and includes the time required for retransmission due to transmission errors in wireless communication, and the waiting time for wireless communication. The overhead time can be derived, for example, by estimating the number of retransmissions in wireless communication from the number of transmission errors, and multiplying the estimated number of retransmissions by the transmission waiting time for wireless communication. Note that the overhead time may be obtained by a method other than this derivation. For example, the relationship between statistical values such as radio wave strength, number of communication retries, and number of reception errors and the actual wireless communication time may be learned using a method such as machine learning or deep learning, and the overhead time may be obtained based on the learned relationship. In addition, the number of transmission errors and the transmission waiting time may be measured in the master unit 40 as statistical values representing the communication status and included in the overhead information 81. Furthermore, the setting value calculation unit 142 may obtain the overhead time by referring to a table that shows the relationship between the values of the items included in the overhead information 81 and the average or representative overhead time.
[0079] Next, the setting value calculation unit 142 calculates the communication speed that the selected master unit 40 should achieve, taking into account the overhead time calculated in step S92 (step S93). Specifically, the setting value calculation unit 142 first calculates the difference obtained by subtracting the overhead time from the allowable transmission time of the wireless section calculated in the request value calculation process. For example, if the master unit 41 connected to the slave unit 51 in the first communication path in Figure 12 is selected, the allowable transmission time is calculated to be 25 ms, and the overhead time for the master unit 41 is 5 ms, then the difference obtained is 20 ms. Then, the setting value calculation unit 142 calculates the communication speed by dividing the sum of the data sizes defined in the condition information 73 for the devices 30 connected to the selected master unit 40 via any of the slave units 50 by the calculated difference. In the case of the first communication path shown in Figure 12, the device 30 connected to the master unit 40 is one device 31, and as can be seen from Figure 7, the data size of this device 31 is 100 bytes, so the communication speed of 5 kbps is calculated using the formula 100 / 20.
[0080] In other words, the communication speed Y is calculated by the following equation (4), where Y is the communication speed that the master unit 40 should achieve, DS is the data size of each device 30, T2 is the allowable transmission time, and OH is the overhead time. Since the allowable transmission time is determined for each device 30, the communication speed calculated in step S93 may be the communication speed that the selected master unit 40 should achieve for each device 30 to which it is connected. For example, for the master unit 42, the first communication speed to be achieved for device 32 and the second communication speed to be achieved for device 33 may be calculated by the following equation (4), respectively. Alternatively, a single communication speed may be calculated in step S93 by the following equation (4), using one representative value from among the multiple allowable transmission times determined for each device 30 to which the selected master unit 40 is connected. The representative value may be, for example, the average or minimum value.
[0081] Y=ΣDS / (T2-OH)...(4)
[0082] Next, the setting value calculation unit 142 determines whether the equipment 30 connected to the selected master unit 40 includes equipment 30 that meets the radio wave reachability requirements (step S94). If it is determined that equipment 30 that meets the radio wave reachability requirements is included (step S94; Yes), the setting value calculation unit 142 searches for a wireless communication standard, frequency band, and bandwidth that satisfy the communication speed calculated in step S93, under the condition that it includes a low-frequency band where radio waves can easily reach far distances (step S95). Specifically, the setting value calculation unit 142 searches for a wireless communication standard, a frequency band which is at least one of the 2.4 GHz band and the 5 GHz band, and a bandwidth that satisfy the calculated communication speed. Alternatively, the 2.4 GHz band may be determined as the frequency band to be used without searching for a frequency band.
[0083] On the other hand, if it is determined that the device 30 having radio wave reachability conditions is not included (step S94; No), the setting value calculation unit 142 searches for a wireless communication standard, frequency band, and bandwidth that satisfy the communication speed calculated in step S93, under the condition that it includes a high frequency band (step S96). Specifically, the setting value calculation unit 142 searches for a wireless communication standard, a frequency band which is at least one of the 5GHz band and the 6GHz band, and a bandwidth that satisfy the calculated communication speed.
[0084] Following steps S95 and S96, the setting value calculation unit 142 determines whether there is a wireless communication standard, frequency band, and bandwidth that meet the communication speed requirements (step S97). If it determines that there is no wireless communication standard, frequency band, and bandwidth that meet the requirements (step S97; No), the setting value calculation unit 142 notifies the display unit 15 as an error that there is no wireless communication standard, frequency band, and bandwidth that meet the conditions specified in the condition information 73, along with a list of the selected master unit 40 and the slave units 50 and devices 30 connected to the master unit 40, and the communication speed to be achieved, and records the details of the error (step S98). The support device 10 then terminates the setting value calculation process without determining the setting value.
[0085] On the other hand, if it is determined that there is a wireless communication standard, frequency band, and bandwidth (step S97; Yes), the setting value calculation unit 142 determines whether all of the master units 40 have been selected (step S99). If it is determined that not all of the master units 40 have been selected (step S99; No), the process from step S91 onwards is repeated. In this way, each time a master unit 40 is selected, the wireless communication standard, frequency band, and bandwidth to be used are determined.
[0086] On the other hand, if it is determined that all master units 40 have been selected (step S99; Yes), the setting value calculation unit 142 searches for a channel allocation to avoid radio interference (step S910). The setting value calculation unit 142 then determines whether or not there is a channel allocation to avoid radio interference (step S911), and if it is determined that there is no such channel allocation (step S911; No), the setting value calculation unit 142 notifies the display unit 15 as an error that there is no channel allocation to avoid radio interference, along with the selected master units 40 and the wireless communication standard, frequency band, and bandwidth determined for the master units 40, and records the details of the error (step S912). The display unit 15 that notifies the error in steps S98 and S912 corresponds to an example of a notification means that notifies that there is no setting value when there is no setting value that should be determined based on the condition information and overhead information. After that, the support device 10 terminates the setting value calculation process without determining the setting value.
[0087] On the other hand, if it is determined that a channel is allocated (step S911; Yes), the setting value calculation unit 142 determines various setting values for realizing control communication (step S913). Specifically, it determines whether or not to provide the functions that the master unit 40 determined to be necessary in the connection destination determination process for the wireless communication standard, frequency band and bandwidth discovered in steps S95 and S96, the channel allocation discovered in step S910, the master unit 40 as the connection destination determined in the connection destination determination process in Figure 13, and the equipment 30 connected to each master unit 40, as setting values for realizing control communication. After that, the setting value calculation process ends.
[0088] Returning to Figure 8, following the setting value calculation process in step S9, the output unit 16 outputs the setting value to the master unit 40 and the slave unit 50 (step S10). As a result, wireless communication according to the determined setting value is initiated between the master unit 40 and the slave unit 50 (step S11).
[0089] Furthermore, the display unit 15 displays the set value (step S12). Specifically, as shown in Figures 15 and 16, the display unit 15 displays a screen to the user that includes the required value for each device 30 calculated by the required value calculation unit 141, and details of the wireless communication including the set value. The required value for each device 30 displayed includes the lower limit of the communication speed and whether or not there are conditions for large capacity, low latency, high reliability, and radio wave reachability. The details of the wireless communication include the name of the master unit 40 used for control communication, the names of the slave units 50 connected to each master unit 40, the names and device IDs of the devices 30 connected to the slave units 50, the wireless communication standard, frequency band, bandwidth, and channel used between the master unit 40 and the slave units 50, whether or not the master unit 40 provides multilink and low latency functions, and the status of the wireless communication between the master unit and the slave units 50. The status of the wireless communication includes radio wave strength, number of communication retries, and number of reception errors. The processing of the support device 10 described using Figures 8 to 16 corresponds to an example of a control communication support method.
[0090] As described above, the support device 10 according to this embodiment determines the wireless communication setting value based on the execution conditions of the control communication and the overhead of the wireless communication. This makes it possible to determine a wireless communication method suitable for the FA system, taking into account the characteristics of wireless communication. Furthermore, since the work of finding the wireless communication setting value through trial and error is eliminated, the burden on the user can be reduced.
[0091] The support device 10 is connected to at least two wireless devices that are communicating wirelessly with each other, and is an example of a control communication support device that determines the setting values of the wireless communication method to be set on the two wireless devices in order to perform control communication over a communication path that includes wireless communication between the control device that controls the equipment and the communication device. The equipment 30 is an example of a communication device that performs control communication with the control device.
[0092] Furthermore, the determination unit 14 calculates the communication speed to be achieved based on the communication cycle and data size required to perform control communication, and the overhead. The determination unit 14 calculates the communication speed based on the difference obtained by subtracting a predetermined delay time from the communication cycle for each device that performs control communication or relays control communication on the control communication path, the data size, and the overhead. The predetermined delay time for each device corresponds to D1 in equation (1) and D2 in equation (2) above. This is expected to ensure that control communication is reliably realized based on specific values.
[0093] Furthermore, the determination unit 14 determines the set value only if the matching unit 13 verifies the device ID and it matches. Therefore, if a device 30 that the user does not intend to perform control communication joins the control system 1000, it is possible to avoid causing the device 30 to mistakenly perform control communication. Thus, the security performance of the control system 1000 can be improved. The determination unit 14 corresponds to an example of a determination means that determines a set value based on condition information and overhead information when the identification information indicated by condition information is equal to the identification information received by the receiving means.
[0094] Furthermore, if the matching fails, if the target master unit 40 cannot be found, or if other setting values cannot be determined, the display unit 15 notifies the user of the details of the error. This allows the user to investigate the cause of the error and easily reset the system configuration information 71, wireless device information 72, and condition information 73.
[0095] Embodiment 2. Next, Embodiment 2 will be described, focusing on the differences from Embodiment 1 described above. Note that the same or equivalent components as in Embodiment 1 will be referred to by the same reference numerals. In Embodiment 1, the connection destination was determined via the slave units 50 of each device 30 so that the conditions required by each device 30 correspond to the functions that the master unit 40 can provide. However, with this method of determining the connection destination, the number of devices 30 connected to a single master unit 40 becomes large, which may make it difficult to realize control communication. In contrast, this embodiment differs from Embodiment 1 in that the devices 30 connected to the master unit 40 are selected to some extent according to priority.
[0096] Figure 17 shows the flow of the request value calculation process according to this embodiment. In this request value calculation process, the request value calculation unit 141 selects the one with the highest priority among the unselected devices 30 (step S81a). Priority indicates the degree to which the device 30 is prioritized, based on the execution conditions of the device 30.
[0097] For example, based on the allowable delay time of the equipment 30 shown in the condition information 73 of Figure 7, the priority of equipment 30 determined by the requirement value calculation unit 141 to have a low delay condition is "high," and the priority of equipment 30 determined not to have a low delay condition is "low." Therefore, in the example of Figure 7, the priority of equipment 32 is "high," and the priorities of equipment 31 and 33 are "low," so equipment 32 is selected in the first step S81a. Note that priority is not limited to the low delay condition, but may be determined by other conditions, or based on multiple conditions. Also, priority is not limited to two levels, "high" and "low," but may be defined by three or more levels, or may be defined by a numerical value.
[0098] Following step S81a, the request value calculation unit 141 executes steps S82 to S814 in the same manner as in Embodiment 1. Note that if the priority corresponds to the presence or absence of a low-latency condition, steps S86 to S88 may be omitted because the presence or absence of a low-latency condition is determined when step S81a is executed.
[0099] Following steps S813 and S814, the request value calculation unit 141 executes a connection destination determination process (step S815a). In this connection destination determination process, steps S851 to S858 are executed as in Embodiment 1, as shown in Figure 18. In step S858, if it is determined that the selected master unit 40 has the functions deemed necessary (step S858; Yes), the request value calculation unit 141 determines whether the master unit 40 has already been determined as a connection destination for another device 30 with a priority exceeding a threshold (step S858a).
[0100] For example, when step S81a in Figure 17 is executed for the first time, device 32 with "high" priority is selected, and the connection destination determination process in step S815a is executed for this device 32. In the connection destination determination process for device 32, it is determined in step S858 that the master unit 42 has the necessary functions, and in step S858a, since there are no devices 30 that have already been determined to be connected to the master unit 42, the determination in step S858a is rejected (step S858a; No), and the process proceeds to step S8511.
[0101] If step S81a in Figure 17 is executed for the second time or later, and a device 33 with a "low" priority is selected, the connection destination determination process in step S815a is executed for this device 33. In the connection destination determination process for device 33, even if it is determined in step S858 that the master unit 42 has the necessary functions, the determination in step S858a is affirmed because there is a device 32 that has already been determined to be connected to the master unit 42.
[0102] If the determination in step S858a is affirmed (step S858a; Yes), the process proceeds to step S859. This allows for further searching for other master units 40 to connect to.
[0103] Furthermore, in the setting calculation process according to this embodiment, as shown in Figure 19, steps S91 to S97, the same as in Embodiment 1, are executed. If, in step S97, it is determined that there is no wireless communication standard, frequency band, and bandwidth that satisfy the communication speed to be achieved (step S97; No), the setting value calculation unit 142 changes the base station 40 to which the lower-priority device 30 among the devices 30 connected to the currently selected base station 40 is connected (step S98a). Specifically, as in the connection destination determination process described above, the setting value calculation unit 142 searches for a base station 40 that has functions that satisfy various conditions and is the next shortest distance from the current base station 40. After step S98a is completed, the process from step S92 onwards is repeated. As a result, the number of devices 30 connected to the currently selected base station 40 decreases, and the communication speed to be achieved decreases, and it is expected that a wireless communication standard, frequency band, and bandwidth that satisfy this communication speed will appear.
[0104] Figure 20 shows an example of the processing flow executed in the control system 1000 according to this embodiment. In the example shown in Figure 20, the master unit 41 and the slave unit 51 communicate wirelessly with each other (step S1), and then a slave unit 52 connected to the device 32 is added.
[0105] The acquisition unit 11 of the support device 10 acquires system configuration information 71, wireless device information 72, and condition information 73, similar to the first embodiment (step S2). The information acquired in step S2 includes information about the added slave unit 52 and device 32.
[0106] The slave unit 52 transmits the device ID information 82 of the device 32 to the support device 10 (step S6a), and the receiving unit 12 of the support device 10 receives the overhead information 81 and the device ID information 82, similar to the first embodiment (step S6b).
[0107] Subsequently, the support device 10 performs equipment ID verification processing (step S7), request value calculation processing (step S8), and setting value calculation processing (step S9), and outputs the determined setting value (step S10).
[0108] If the connection destination of the slave unit 51 is changed from the master unit 41 to the master unit 42 based on the setting value output in step S10, and the connection destination of the slave unit 52 is specified as the master unit 41, the slave unit 51 notifies the master unit 41 of the disconnection (step S13) and requests the master unit 42 to connect (step S14). The master unit 42 responds to the connection request (step S15), and wireless communication between the master unit 42 and the slave unit 51 begins (step S16). Alternatively, if the slave unit 52 requests the master unit 41 to connect (step S17) and the master unit 41 responds to the connection request (step S18), wireless communication between the master unit 41 and the slave unit 52 begins (step S19).
[0109] As explained above, even when the determination unit 14 in this embodiment determines the master unit 40 to be connected to based on the distance between the master unit 40 and the slave unit 50, if it has already been determined that a high-priority device 30 will be connected to that master unit 40, the determination unit 14 further searches for other master units 40 as connection destinations. This prevents the high-priority device 30 and other low-priority devices 30 from being connected to the same master unit 40. As a result, control communication for the high-priority device 30 can be realized more reliably than for the low-priority device 30.
[0110] The support device 10 corresponds to an example of a control communication support device connected to two sets of wireless devices, each consisting of a master unit and a slave unit. The control device 20 corresponds to an example of a control device connected to each of the two slave units via one of the two master units. The acquisition unit 11 corresponds to an example of an acquisition means that acquires condition information indicating the execution conditions for the first communication device connected to the first set of slave units and the execution conditions for the second communication device connected to the second set of slave units. The determination unit 14 corresponds to an example of a determination means that, after determining that the connection destination of the first set of slave units is the first set of master units, even if the second set of slave units should be connected to the first set of master units according to environmental conditions related to the wireless communication environment, excluding the condition information, if the predetermined priority for the execution conditions of the first communication device is higher than a threshold, then determines connection destination information indicating the second set of master units as the connection destination of the second set of slave units as a set value. In the above example, the threshold corresponds to "low," but it is not limited to this, and any value that allows for the selection of priority is acceptable.
[0111] Furthermore, in the connection destination determination process, the determination unit 14 determines the master unit 40 to be connected to, starting with the slave units 50 connected to the highest-priority device 30. As a result, the master unit 40 with favorable environmental conditions is determined as the connection destination, starting with the highest-priority device 30, ensuring reliable control communication. The determination unit 14 is an example of a determination means that determines the master unit to be connected to, starting with the slave units connected to the highest-priority communication device.
[0112] In the above embodiment, an example was described in which distance is considered as an environmental condition, but the invention is not limited to this. Radio wave intensity included in communication status information may also be considered as an environmental condition.
[0113] While embodiments of this disclosure have been described above, this disclosure is not limited to the embodiments described above.
[0114] For example, the configuration of the control system 1000 shown in Figure 1 is just one example, and the number of control devices 20, devices 30, master units 40, or slave units 50 may be changed as desired, and the connection relationships of each device may also be changed as desired. For example, one or more relay devices 60 may relay communication between the slave units 50 and the devices 30.
[0115] Furthermore, although an example has been described in which the control device 20 and equipment 30 and the master unit 40 and slave unit 50 are separate devices, the invention is not limited to this. The control device 20 may incorporate the functions of the master unit 40 and directly perform wireless communication, or the equipment 30 may incorporate the functions of the slave unit 50 and directly perform wireless communication.
[0116] Furthermore, although an example using a master unit 40 and a slave unit 50 as wireless devices has been described, the invention is not limited to this. Multiple wireless devices that are equal and not dependent on each other may communicate wirelessly in a P2P (Peer to Peer) format.
[0117] Furthermore, although an example has been described in which the receiving unit 12 receives overhead information 81 from the master unit 40, the receiving unit 12 may also receive overhead information 81 created by the master unit 40 via the slave unit 50, or it may receive overhead information 81 created by the slave unit 50 from the slave unit 50. Moreover, the receiving unit 12 may receive overhead information 81 from both the master unit 40 and the slave unit 50. The receiving unit 12 corresponds to an example of a receiving means that receives information regarding the overhead of wireless communication from at least one of two wireless devices.
[0118] Furthermore, while an example of deriving overhead time and determining a set value based on the derived overhead time has been described, the system is not limited to this. For example, the determination unit 14 may derive the percentage by which communication efficiency decreases due to wireless communication overhead, and calculate the communication speed to be achieved based on this percentage. The determination unit 14 corresponds to an example of a determination means that calculates the communication speed required for the execution of control communication based on the communication cycle, data size, and wireless communication overhead, and determines a set value to achieve the calculated communication speed.
[0119] Furthermore, it is not necessary to calculate the communication speed to be achieved. For example, a table may be prepared that pre-defines the relationship between the values and overhead that can be specified in the condition information 73 and the set value, and the set value may be determined by referring to this table.
[0120] Furthermore, an example was described in which the setting value includes the wireless communication standard, frequency band, and bandwidth. However, since the wireless communication standard, frequency band, or bandwidth may be fixed, the setting value may include only a part of the wireless communication standard, frequency band, and bandwidth, and omit the others.
[0121] Furthermore, although an example has been described in which the output destination of the output unit 16 is a wireless device and the output of the set value corresponds to setting the set value on the wireless device, the system is not limited to this example. The output unit 16 may also output the determined set value to the display unit 15 or an external display device. The user who visually confirms the displayed set value may manually set the set value on the wireless device.
[0122] Furthermore, when informing the user of the error, the part of the system configuration information 71, wireless device information 72, and condition information 73 that caused the error, or the part related to the error, may be highlighted.
[0123] Furthermore, error notification does not have to be done by display on the display unit 15. For example, it may be done by voice notification via speaker or by sending an email.
[0124] The functions of the support device 10 according to the above-described embodiment can be realized by dedicated hardware or by a normal computer system.
[0125] For example, a device that performs the above-mentioned processing can be configured by distributing program P1 on a computer-readable recording medium such as a flexible disk, CD-ROM (Compact Disk Read-Only Memory), DVD (Digital Versatile Disk), or MO (Magneto-Optical disk), and then installing program P1 on a computer.
[0126] Alternatively, program P1 may be stored on a disk drive of a server device on a communication network such as the Internet, and then downloaded to a computer, for example, by superimposing it onto a carrier wave.
[0127] Furthermore, the above-described process can also be achieved by launching and executing program P1 while transferring it over a network such as the Internet.
[0128] Furthermore, the above-described process can also be achieved by having all or part of program P1 run on a server device, and by having a computer send and receive information related to that process via a communication network while executing program P1.
[0129] Furthermore, if the above-mentioned functions are implemented by the OS (Operating System) or through collaboration between the OS and the application, only the parts other than the OS may be stored and distributed on a medium, or they may be downloaded to a computer.
[0130] Furthermore, the means for realizing the functions of the support device 10 are not limited to software; some or all of them may be realized by dedicated hardware or circuits.
[0131] This disclosure allows for various embodiments and modifications without departing from the broad spirit and scope of this disclosure. Furthermore, the embodiments described above are for illustrative purposes only and do not limit the scope of this disclosure. In other words, the scope of this disclosure is indicated by the claims, not by the embodiments. Various modifications made within the scope of the claims and the equivalent significance of the disclosure are considered to be within the scope of this disclosure.
[0132] This disclosure is suitable for the application of wireless communication in factory automation (FA) settings.
[0133] 10 Support device, 11 Acquisition unit, 12 Receiving unit, 13 Verification unit, 14 Determination unit, 15 Display unit, 16 Output unit, 20 Control device, 30-33 Equipment, 40-42 Master unit, 50-53 Slave unit, 60-62 Relay device, 71 System configuration information, 72 Wireless device information, 73 Condition information, 81 Overhead information, 82 Equipment ID information, 101 Processor, 102 Main memory unit, 103 Auxiliary memory unit, 104 Input unit, 105 Output unit, 106 Communication unit, 107 Internal bus, 141 Request value calculation unit, 142 Set value calculation unit, 1000 Control system, 1001 Facility, P1 Program.
Claims
1. A control communication support device connected to at least two wireless devices communicating wirelessly with each other, which determines a setting value for the wireless communication method to be set on the two wireless devices in order to perform control communication over a communication path including the wireless communication between a control device that controls equipment and a communication device, comprising: an acquisition means for acquiring condition information indicating the communication cycle of the control communication and the size of the data to be transmitted within the communication cycle as execution conditions for the control communication; a receiving means for receiving overhead information indicating the communication status regarding the overhead of the wireless communication from at least one of the two wireless devices; a determination means for determining the setting value based on the condition information and the overhead information; and an output means for outputting the setting value determined by the determination means.
2. The control communication support device according to claim 1, wherein the setting value includes at least one value from among wireless communication standards, frequency bands, and bandwidths.
3. The control communication support device according to claim 1 or 2, wherein the determination means calculates the communication speed required for the execution of the control communication based on the communication cycle, the data size, and the overhead of the wireless communication, and determines the set value that achieves the calculated communication speed.
4. The control communication support device according to claim 3, wherein the determination means calculates the communication speed based on the difference obtained by subtracting a predetermined delay time from the communication cycle for each device that performs the control communication or relays the control communication on the communication path, the size of the data, and the overhead of the wireless communication.
5. A control communication support device connected to the communication device which is the device controlled by the control device, wherein the condition information indicates in association with the identification information of the device, the communication cycle of the control communication to be performed for the device, and the size of the data to be transmitted within the communication cycle, the receiving means receives the identification information of the device from the device, and the determination means determines the set value based on the condition information and the overhead information when the identification information indicated by the condition information is equal to the identification information received by the receiving means.
6. The control communication support device according to claim 5, further comprising: notification means for notifying that a device not registered in the condition information has been connected when the identification information indicated by the condition information differs from the identification information received by the receiving means.
7. A control communication support device connected to two sets of wireless devices, with the two wireless devices forming a set, wherein the two wireless devices are a master unit having a function to connect to a plurality of slave units, and the slave units, the control device is connected to each of the two slave units via either of the two master units, the acquisition means acquires condition information indicating the execution conditions for the first communication device connected to the first set of slave units and the execution conditions for the second communication device connected to the second set of slave units, and the determination means, after determining that the connection destination of the first set of slave units is the first set of master units, determines, as the setting value, connection destination information indicating the second set of master units as the connection destination of the second set of slave units, even if, according to the environmental conditions relating to the wireless communication environment, excluding the condition information, the second set of slave units should be connected to the first set of master units, when the predetermined priority for the execution conditions of the first communication device is higher than a threshold, the determination means determines connection destination information indicating the second set of master units as the connection destination of the second set of slave units.
8. The control communication support device according to claim 7, wherein the determination means determines the master unit to be connected to, in order from the slave unit connected to the communication device with the highest priority.
9. A control communication support device according to any one of claims 1 to 8, further comprising a display means for displaying the set value determined by the determination means.
10. A control communication support device according to any one of claims 1 to 5, further comprising: notification means for notifying that a setting value does not exist when there is no setting value to be determined based on the condition information and the overhead information.
11. The control communication support device according to any one of claims 1 to 10, wherein the acquisition means acquires the condition information via a user interface.
12. A control communication support method, performed by a control communication support device connected to at least two wireless devices communicating wirelessly with each other, for determining a setting value for the wireless communication method to be set on the two wireless devices in order to perform control communication over a communication path including the wireless communication between a control device that controls equipment and a communication device, comprising: an acquisition means acquiring condition information indicating the communication cycle of the control communication and the size of the data to be transmitted within the communication cycle as execution conditions for the control communication; a receiving means receiving overhead information indicating the communication status regarding the overhead of the wireless communication from at least one of the two wireless devices; and a determination means determining the setting value based on the condition information and the overhead information.
13. A control communication support program for a computer that is connected to at least two wireless devices communicating wirelessly with each other and determines a setting value for the wireless communication method to be set on the two wireless devices in order to perform control communication over a communication path including the wireless communication between a control device that controls equipment and a communication device, to perform the following: acquire condition information indicating the communication period of the control communication and the size of the data to be transmitted within the communication period as execution conditions for the control communication; receive overhead information indicating the communication status regarding the overhead of the wireless communication from at least one of the two wireless devices; and determine the setting value based on the condition information and the overhead information.
