Communication apparatus, control method of the communication apparatus, program, and system

The communication device uses a combination of UWB and BLE measurements to accurately determine the presence of obstacles and ensure the selected device is in the same location, enhancing distance measurement accuracy.

JP2024122076AInactive Publication Date: 2024-09-09CANON KK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023029402
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2024-09-09
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing distance measurement methods using UWB cannot accurately determine the presence or absence of obstacles between devices, leading to inaccurate distance measurements due to obstacles like walls or glass windows.

Method used

A communication device that alternates between sending advertisement packets and stopping/restarting them based on inquiry radio waves, combining UWB and BLE measurements to determine the presence of obstacles while maintaining high accuracy.

Benefits of technology

Enables accurate distance measurement and obstacle detection between devices, ensuring that the selected device is within the same location as the communication device, thereby preventing inconvenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To provide a communication apparatus capable of realizing a determination of a presence / absence of an obstacle between devices while realizing a distance measurement with a high accuracy, a control method of the communication apparatus, and a program.SOLUTION: A distance measured device 201 outputs an advertise packet in a constant interval, stops an output of the advertise packet in accordance with a reception of a POLL frame from a distance measurement device 101, and outputs a RESP frame and the advertise packet to the distance measurement device 101 when a TREPLY passes from the reception of the POLL frame. The distance measurement device 101 measures a distance to a distance measured device 201 by measuring a distance by an UWB on the basis of the RESP frame, a distance to the distance measured device 201 is measured by measuring the distance by a BLE on the basis of the advertise packet. On the basis of a distance measured by the distance measured by the UWB and a distance measured by measuring the distance by the BLE, the presence / absence of an obstacle between the distance measurement device 101 and the distance measured device 201 is determined.SELECTED DRAWING: Figure 12
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to a communication device, a control method for a communication device, a program, and a system. [Background technology]

[0002] A method has been proposed for measuring the distance between devices using wireless communication radio waves. One example of a ranging method is Bluetooth Low Energy (BLE) ranging. In BLE ranging, the ranging device receives radio waves broadcast from the device being measured, compares the output signal strength information contained in the received radio waves with the signal strength of the radio waves, and calculates the distance between the devices from the degree of attenuation of the received radio waves. In BLE ranging, if there is an obstacle such as a glass window between the ranging device and the device being measured, the strength of the radio waves received by the ranging device through the glass window will be attenuated more than the strength of the radio waves output from the device being measured, making it impossible to measure the distance accurately.

[0003] Another ranging method is UWB (Ultra Wide Band) ranging. In UWB ranging, a ranging device outputs an inquiry radio wave to a ranging device and calculates the distance between the devices by measuring the time it takes to receive a response radio wave in response to the inquiry radio wave. In UWB ranging, even if there is an obstacle between the ranging device and the ranging device, the ranging device can accurately measure the distance to the ranging device without being affected by the obstacle. Patent Document 1 proposes a technology using UWB ranging. In Patent Document 1, the ranging device acquires data used in UWB ranging from the ranging device via BLE communication and performs UWB ranging using the acquired data. This enables more accurate distance measurement than BLE ranging. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Japanese Patent Publication No. 2022-104962 Summary of the Invention [Problem to be solved by the invention]

[0005] With UWB ranging, the ranging device can accurately measure the distance to the ranging device even if there is an obstacle between them, but it cannot determine whether there is an obstacle between the devices. For example, if the ranging device is in a different building separated by a single wall, the response wave emitted by the ranging device will penetrate the wall (obstacle) and reach the ranging device, and the ranging device will determine based on this response wave that the ranging device is located very close by. Thus, in the past, increasing the accuracy of ranging made it impossible to determine whether there was an obstacle between the devices.

[0006] An object of the present invention is to provide a communication device, a control method for a communication device, a program, and a system that can determine whether or not there is an obstacle between devices while achieving highly accurate distance measurement. [Means for solving the problem]

[0007] In order to achieve the above-mentioned object, the communication device of the present invention is a communication device that communicates with a ranging device, and is equipped with a control means that controls the output of advertising packets containing information used for first ranging using the signal strength of radio waves at regular intervals, and a means for receiving inquiry radio waves from the ranging device for performing second ranging using the arrival time of radio waves, and is characterized in that the control means stops the output of the advertising packets upon receiving the inquiry radio waves, and when a predetermined time has elapsed since receiving the inquiry radio waves, outputs a response wave used for the second ranging to the ranging device and resumes the output of the advertising packets. [Effects of the Invention]

[0008] According to the present invention, it is possible to realize highly accurate distance measurement and determine whether or not there is an obstacle between devices. [Brief explanation of the drawings]

[0009] [Figure 1] 1 is a block diagram illustrating a hardware configuration of a distance measuring device serving as a communication apparatus according to an embodiment of the present invention. [Figure 2] FIG. 2 is a block diagram illustrating a hardware configuration of a ranged device serving as a communication apparatus according to the present embodiment. [Figure 3] FIG. 2 is a diagram for explaining ranging by BLE in the ranging device of FIG. 1. [Figure 4] 2 is a diagram for explaining UWB ranging in the ranging device of FIG. 1. FIG. [Figure 5] FIG. 1 is a diagram illustrating an example of the arrangement of a ranging device and a ranged device. [Figure 6] 2 is a diagram showing the received signal intensity of a radio wave received by the distance measuring device of FIG. 1 from the image forming apparatus. [Figure 7] FIG. 2 is a diagram showing an example of destination candidates displayed on the display in FIG. 1. [Figure 8] 3 is a flowchart showing the procedure of a RESP frame transmission control process executed by the ranged device of FIG. 2; [Figure 9] 10 is a flowchart showing the procedure of a destination candidate display process executed by the distance measuring device of FIG. [Figure 10] 10 is a diagram for explaining the processing of steps S912 and S913 in FIG. 9. [Figure 11] 10 is a flowchart showing the procedure of the distance measurement control process in step S905 of FIG. [Figure 12] 11 shows, on a time axis, the operation of the ranging device in the RESP frame transmission control process of FIG. 8 and the operation of the ranged device in the ranging control process of FIG. [Figure 13] FIG. 1 is a diagram illustrating an example of the arrangement of a ranging device and a ranged device. [Figure 14]10 is a diagram for explaining the processing of steps S912 and S913 in FIG. 9. DETAILED DESCRIPTION OF THE INVENTION

[0010] Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

[0011] 1 is a block diagram showing a schematic hardware configuration of a ranging device 101 as a communication device according to this embodiment. The ranging device 101 is a device equipped with a ranging function for measuring the distance to a ranging device via wireless communication, and is, for example, a mobile terminal such as a smartphone or tablet.

[0012] 1, the ranging device 101 includes a CPU 102, a ROM 103, a RAM 104, a network control unit 105, an audio control unit 108, a display control unit 110, an input control unit 112, and a storage device 114. These are connected to each other via a system bus 115. The ranging device 101 also includes a BLE communication unit 106, a UWB communication unit 107, a microphone / speaker 109, a display 111, and a touch panel 113.

[0013] The CPU 102 executes programs stored in the ROM 103 to perform various controls. The ROM 103 stores programs and the like. The RAM 104 is used as a work memory for the CPU 102. The RAM 104 is also used as a memory for temporarily storing data. The network control unit 105 is connected to a BLE communication unit 106 and a UWB communication unit 107. The network control unit 105 controls the BLE communication unit 106 and the UWB communication unit 107.

[0014] The BLE communication unit 106 is a communication unit for forming a WPAN with surrounding computer devices that can communicate with each other through BLE wireless signals. The BLE communication unit 106 measures the distance to the device to be ranged using the received signal strength indicator (RSSI) of radio waves. Note that, hereinafter, the ranging method of measuring the distance to the device to be ranged using the received signal strength of radio waves is referred to as "ranging by BLE." Details of ranging by BLE will be described later.

[0015] The UWB communication unit 107 is a communication unit for forming a WPAN that performs ranging and data communication with surrounding computer devices that can reach each other through UWB wireless signals. The UWB communication unit 107 measures the distance to the device being ranged using the arrival time of radio waves. Note that, hereinafter, a ranging method that measures the distance to the device being ranged using the arrival time of radio waves is referred to as "UWB ranging." Details of UWB ranging will be described later. Note that, in this embodiment, in BLE communication and UWB communication, the network control unit 105 can independently control the BLE communication unit 106 and the UWB communication unit 107 to achieve the purpose of communication without receiving instructions from the CPU 102.

[0016] A microphone / speaker 109 is connected to the audio control unit 108. The audio control unit 108 controls the microphone / speaker 109 according to instructions from the CPU 102. For example, the audio control unit 108 controls the input and output of audio data via the microphone / speaker 109 when a user is talking on the phone. A display 111 is connected to the display control unit 110. The display control unit 110 displays various information on the display 111 according to instructions from the CPU 102. A touch panel 113 is connected to the input control unit 112. The input control unit 112 outputs information input by a user to the touch panel 113 to the CPU 102. The storage device 114 is a non-volatile storage device, and stores operation mode setting values, operation logs, and the like that need to be retained even after the ranging device 101 is restarted.

[0017] 2 is a block diagram showing a schematic hardware configuration of a distance-target device 201 as a communication device according to this embodiment. The distance-target device 201 is a device having a function of transmitting information required for distance measurement to the distance measuring device 101 via wireless communication, and is, for example, an image forming device such as a single-function printer or a multi-function printer (multifunction device).

[0018] 2, the device to be measured 201 includes a CPU 202, a ROM 203, a RAM 204, a network control unit 205, a device control unit 208, a display control unit 211, an input control unit 213, and a storage device 215. These are connected to each other via a system bus 216. The device to be measured 201 also includes a BLE communication unit 206, a UWB communication unit 207, a scanner unit 209, a printer unit 210, a display unit 212, and an operation unit 214.

[0019] The CPU 202 executes programs stored in the ROM 203 to perform various controls. The ROM 203 stores programs and the like. The RAM 204 is used as a work memory for the CPU 202. The RAM 204 is also used as a memory for temporarily storing data. The network control unit 205 is connected to a BLE communication unit 206 and a UWB communication unit 207. The network control unit 205 controls the BLE communication unit 206 and the UWB communication unit 207.

[0020] The BLE communication unit 206 is a communication unit for forming a WPAN with surrounding computer devices that can reach each other through BLE wireless signals. The UWB communication unit 207 is a communication unit for forming a WPAN for performing ranging and data communication with surrounding computer devices that can reach each other through UWB wireless signals. Note that in this embodiment, in BLE communication and UWB communication, the network control unit 205 can independently control the BLE communication unit 206 and the UWB communication unit 207 to achieve the purpose of communication without receiving instructions from the CPU 202.

[0021] A scanner unit 209 and a printer unit 210 are connected to the device control unit 208. The device control unit 208 controls the scanner unit 209 and the printer unit 210 in accordance with instructions from the CPU 202. The scanner unit 209 reads an original placed on a platen (not shown) and generates image data of the original. The printer unit 210 prints an image on paper based on print data received from the distance measuring device 101 and image data generated by the scanner unit 209.

[0022] The display control unit 211 is connected to the display unit 212. The display control unit 211 displays various information on the display unit 212 in accordance with instructions from the CPU 202. The input control unit 213 is connected to the operation unit 214, which includes operation buttons such as a print button. The input control unit 213 outputs information indicating the content of operations performed by the user on the operation unit 214 to the CPU 202. Note that in this embodiment, a device having the functions of both the display unit 212 and the operation unit 214, such as a touch panel, may be used. The storage device 215 is a non-volatile storage device, and stores operation mode setting values, operation logs, and the like that need to be retained even after the range target device 201 is restarted.

[0023] Next, distance measurement by the distance measuring device 101 will be described.

[0024] Fig. 3 is a diagram for explaining ranging by BLE in the ranging device 101 of Fig. 1. In ranging by BLE, the BLE communication unit 106 measures the distance to the ranging target device using the received signal strength of radio waves as described above. The ranging method using the received signal strength of radio waves is specified in Bluetooth 4.0 and the like.

[0025] As shown in Fig. 3, the ranging device 201 outputs an advertising packet 301 at regular intervals. The advertising packet 301 includes information that identifies the ranging device 201 and information used for ranging by BLE. The information used for ranging by BLE is, for example, reference distance information and transmission output signal strength information (denoted as "TXpower" in Fig. 3) 302 that indicates the strength of the radio waves output by the ranging device 201. The ranging device 101 measures the distance to the ranging device 201 based on the radio wave strength of the advertising packet 301 received from the ranging device 201, and the reference distance information and transmission output signal strength information 302 included in this advertising packet 301.

[0026] The advertising packet 301 reaches the ranging device 101 while being reflected by walls and floors, attenuated and diffracted by windows and walls, and interfered with other previously output advertising packets. In other words, multipath fading typically occurs when the packet reaches the ranging device 101. Meanwhile, the ranging device 101 uses only the maximum value of the received signal strength when measuring the received signal strength. In an environment where multipath fading occurs, there are locations where the signal strength of reflected waves and interference waves is stronger than that of direct waves. Therefore, when the ranging device 101 is in such a location, the received signal strength will be greater than the true value, i.e., the received signal strength of the direct wave. As a result, the ranging device 201 is determined to be closer than its actual location, resulting in reduced ranging accuracy.

[0027] In this way, when measuring distance using the BLE communication unit 106, if there are interfering objects such as windows or walls around the measuring device 101 or the device to be measured 201, the distance measurement results will be affected.

[0028] 4 is a diagram for explaining UWB ranging in the ranging device 101 of FIG. 1. In UWB ranging, the UWB communication unit 107 measures the distance to the ranged device using the arrival time of radio waves as described above. A ranging method using the arrival time of radio waves is defined in UWB and is called TWR (Two Way Ranging).

[0029] As shown in FIG. 4, the ranging device 101 transmits an inquiry radio wave (hereinafter referred to as a "POLL frame") to the ranging device 201. When the ranging device 201 receives the POLL frame, it replies with a response radio wave (hereinafter referred to as a "RESP frame"). The arrival time (hereinafter referred to as "ToA") of the POLL frame and the RESP frame is determined depending on the distance between the ranging device 101 and the ranging device 201. In addition, the ranging device 201 determines the response required time (hereinafter referred to as "T REPLY The target device 201 needs this T REPLY The ranging device 101 returns a RESP frame including response time information indicating the required response time.

[0030] The ranging device 101 determines the time from when it transmits a POLL frame to when it receives a RESP frame (hereinafter referred to as "T Round The distance measuring device 101 measures the measured T Round and the T indicated by the response time information included in the received RESP frame. REPLY is substituted into the following formula (1) to calculate ToA.

[0031] T Round = ToA + ToA + T REPLY …(1) Furthermore, since the propagation speed of electromagnetic waves is the speed of light, the ranging device 101 calculates the distance to the ranging target device 201 using the speed of light and the ToA calculated by equation (1).

[0032] In ranging by the UWB communication unit 107, information on the response wave received earliest in time is used for calculation, regardless of whether there is a reflected wave or an interfering wave. Furthermore, because radio waves can pass through non-dielectric materials, glass, etc., in ranging by UWB, even if there is an interfering object between the device to be measured and the device to be measured 201, the distance to the device to be measured 201 can be accurately measured without being affected by the interfering object.

[0033] The ranging device 101 has a function of transmitting print data to an image forming apparatus near the ranging device 101. For example, the ranging device 101 measures the distance to an image forming apparatus within a range where communication is possible via the UWB communication unit 107 by the above-mentioned UWB ranging. The ranging device 101 displays the image forming apparatuses within a range where communication is possible via the UWB communication unit 107 on the display 111 as candidate destinations for the print data in order of closest distance to the ranging device 101. The ranging device 101 transmits the print data to an image forming apparatus selected by the user from the candidate destinations.

[0034] 5, if image forming apparatus A, image forming apparatus B, and image forming apparatus C are present within a range where communication is possible using UWB communication unit 107, ranging device 101 measures the distances to these image forming apparatuses using UWB ranging. Note that image forming apparatus A, image forming apparatus B, and image forming apparatus C each have the same function and configuration as ranging device 201.

[0035] 5, image forming apparatus A is located on the same floor of building X as distance measuring device 101. Image forming apparatus B and image forming apparatus C are located on the same floor of building Y adjacent to building X. There are two glass windows between distance measuring device 101 and image forming apparatus B or image forming apparatus C.

[0036] For example, the radio waves that the ranging device 101 receives from the image forming apparatus A include a direct wave 502 that directly reaches the ranging device 101 and a reflected wave 503 that is reflected by the wall of building X and reaches the ranging device 101. Furthermore, the radio waves 504 that the ranging device 101 receives from the image forming apparatus B and the radio waves 505 that the ranging device 101 receives from the image forming apparatus C are each radio waves attenuated by glass windows.

[0037] 6 is a diagram showing the received signal strength of radio waves received by the distance measuring device 101 in FIG. 1 from the image forming apparatus A, the image forming apparatus B, and the image forming apparatus C. In FIG. 6, the horizontal axis represents T Round The vertical axis indicates the received signal strength.

[0038] 6, the distance measuring device 101 receives the direct wave 502 from the image forming apparatus A. Round is T Round_a and its received signal strength is RSSI a0 The distance measuring device 101 receives the radio wave 504 from the image forming apparatus B. Round is T Round_b and its received signal strength is RSSI b The distance measuring device 101 receives the radio wave 505 from the image forming apparatus C. Round is T Round_c and its received signal strength is RSSI c In UWB ranging, as described above, only the earliest received frame is used, so that the T of the reflected wave 503 received by the ranging device 101 after the direct wave 502 from the image forming apparatus A is Round is not calculated.

[0039] The distance measuring device 101 calculates T Round The smaller T is, the closer the distance to the distance measuring device 101 is determined to be. For example, as shown in FIG. Round When this is calculated, the ranging device 101 determines that the distances to the ranging device 101 are shortest in the order of image forming device B, image forming device A, and image forming device C, and displays destination candidates on the display 111 as shown in FIG. 7.

[0040] Here, image forming device B is a device located in building Y, which is next to building X, where distance measuring device 101 is located. If such an image forming device is designated as the destination of print data, the user will have to go to neighboring building Y to pick up the printed material, which is very inconvenient. To avoid this situation, there is a need for a technology that can determine whether or not there is an obstacle between devices while improving the accuracy of distance measurement.

[0041] In contrast, in this embodiment, high-precision ranging is performed using UWB ranging, and further, the presence or absence of an obstacle between the ranging device 101 and the ranging device 201 is determined based on the distance measured using UWB ranging and the distance measured using BLE ranging.

[0042] Fig. 8 is a flowchart showing the procedure of the RESP frame transmission control process executed by the ranged device 201 in Fig. 2. The RESP frame transmission control process in Fig. 8 is realized by the CPU 202 executing a program stored in the ROM 203 or the like.

[0043] In FIG. 8, first, the CPU 202 monitors whether a POLL frame has been received, and determines whether a POLL frame has been received (step S801).

[0044] If it is determined in step S801 that a POLL frame has not been received, the CPU 202 waits for a certain period of time (step S802). Next, the CPU 202 outputs an advertising packet 301 (step S803). Thereafter, the RESP frame transmission control process returns to step S801. As described above, in this embodiment, the ranging device 201 outputs the advertising packet 301 at certain intervals until it receives a POLL frame from the ranging device 101.

[0045] If it is determined in step S801 that a POLL frame has been received, the CPU 202 stops outputting the advertisement packet 301 (step S804). Next, the CPU 202 initializes a timer variable t prepared in the RAM 204 to "0" (step S805). The timer variable t is set to "0" by the T REPLY Next, the CPU 202 increments the timer variable t in accordance with the passage of time (step S806). Next, the CPU 202 increments the timer variable t to a predetermined value T REPLY It is determined whether or not the value matches (step S807).

[0046] In step S807, the timer variable t is set to T REPLY If it is determined that the timer variable t does not match, the RESP frame transmission control process returns to step S806. REPLY Increment the timer variable t until it matches T REPLY Wait for the process to complete.

[0047] In step S807, the timer variable t is set to T REPLY If it is determined that the RESP frame matches the destination of the POLL frame, specifically, the ranging device 101, the CPU 202 outputs the RESP frame to the destination of the POLL frame (step S808). Furthermore, the CPU 202 outputs the advertisement packet 301 almost simultaneously with step S808 (step S809). Thereafter, the RESP frame transmission control process returns to step S801.

[0048] For example, as shown in FIG. 5, if image forming device A, image forming device B, and image forming device C are present within a range in which they can communicate with distance measuring device 101, image forming device A, image forming device B, and image forming device C each perform a RESP frame transmission control process.

[0049] Fig. 9 is a flowchart showing the procedure of the destination candidate display process executed by the ranging device 101 of Fig. 1. The control process of Fig. 9 is realized by the CPU 102 executing a program stored in the ROM 103. In the destination candidate display process of Fig. 9, as an example, a case will be described in which image forming apparatus A, image forming apparatus B, and image forming apparatus C are present within a range where communication is possible via the BLE communication unit 106, as shown in Fig. 5. In this case, advertisement packets 301 are transmitted from image forming apparatus A, image forming apparatus B, and image forming apparatus C, respectively.

[0050] In FIG. 9, first, the CPU 102 receives advertisement packets 301 from the image forming apparatuses A, B, and C, which are the devices to be measured (step S901).

[0051] Next, CPU 102 generates a list of distanced devices (step S902). In step S902, a list is generated that indicates image forming device A, image forming device B, and image forming device C, which are the senders of the advertisement packet 301. In the list of distanced devices, the distanced devices are assigned serial numbers. Next, CPU 102 sets variable n_max to the number of distanced devices included in the list (step S903). Next, CPU 102 sets variable n to "1" for identifying one distanced device from the list of distanced devices (step S904). Next, CPU 102 performs distance measurement control processing shown in FIG. 11, which will be described later, for the distanced device corresponding to variable n (step S905). In step S905, the distance measured by UWB distance measurement (hereinafter referred to as "UWB distance") and the distance measured by BLE distance measurement (hereinafter referred to as "BLE distance") are obtained.

[0052] Next, CPU 102 adds the UWB distance and BLE distance measured in step S905 to the list of ranging devices (step S906). Next, CPU 102 increments variable n (step S907). Next, CPU 102 determines whether variable n is greater than variable n_max (step S908).

[0053] If it is determined in step S908 that the variable n is not greater than the variable n_max, the destination candidate display process returns to step S905. In this manner, in this embodiment, the UWB distances and BLE distances are obtained for all ranging devices included in the ranging device list, and these are added to the ranging device list.

[0054] If it is determined in step S908 that the variable n is greater than the variable n_max, the CPU 102 rearranges the information written in the list of ranged devices in ascending order of UWB distance (step S909).

[0055] Next, CPU 102 calculates the difference between the BLE distance and the UWB distance for each ranging device (step S910). CPU 102 adds the calculated difference to the list of ranging devices. Next, CPU 102 calculates the median of all the differences calculated in step S910 (step S911). For example, if the difference corresponding to image forming device A is calculated to be "0," the difference corresponding to image forming device B is calculated to be "15," and the difference corresponding to image forming device C is calculated to be "25" in step S911, then "15" is calculated as the median.

[0056] Next, CPU 102 adds the obstacle determination result to the list of ranged devices (step S912). Here, since the signal strength of the direct wave is attenuated by obstacles present in the propagation path, a ranged device for which the difference calculated in step S910 is relatively large can be determined to have an obstacle between it and the ranging device 101. Utilizing this, in this embodiment, the obstacle determination result is added to the list of ranged devices as follows. For example, for ranged devices such as image forming devices B and C for which the difference calculated in step S910 is equal to or greater than the median calculated in step S911, "Yes" is added, indicating that an obstacle exists between it and the ranging device 101. On the other hand, for ranged devices such as image forming device A for which the difference calculated in step S910 is less than the median calculated in step S911, "No" is added, indicating that no obstacle exists between it and the ranging device 101. In this way, the list of ranged devices shown in FIG. 10(a) is obtained.

[0057] Next, the CPU 102 displays destination candidates on the display 111 based on the list of distanced devices in FIG. 10(a) (step S913). In step S913, for example, the distanced devices are displayed on the display 111 in descending order of distance to the distance measuring device 101, and distanced devices determined to have an obstacle between them and the distance measuring device 101 are displayed on the display 111 in an unselectable state. Specifically, as shown in FIG. 10(b), image forming devices B and C determined to have an obstacle between them and the distance measuring device 101 are displayed grayed out so that they cannot be selected. This makes it possible to prevent the user from selecting, as a destination, image forming devices that are located in places that the user cannot immediately move to, such as image forming devices B and C located in building Y next to building X where the distance measuring device 101 is located. After that, the destination candidate display process ends.

[0058] Fig. 11 is a flowchart showing the procedure of the distance measurement control process in step S905 of Fig. 9. Note that, here, an example will be described in which distance measurement control process is performed on image forming device A among image forming device A, image forming device B, and image forming device C. As described above, advertisement packets 301 are output from image forming device A at regular intervals.

[0059] In FIG. 11, first, the CPU 102 reads a timer variable T ROUND The timer variable T is initialized to "0" (step S1101). ROUND is T ROUND Next, the CPU 102 outputs a POLL frame to the image forming apparatus A (step S1102). Next, the CPU 102 calculates the timer variable T ROUND is incremented (step S1103).

[0060] Next, CPU 102 measures the received signal strength indicator (RSSI) of the advertising packet 301 received from the ranged device 201 (step S1104). In parallel with step S1104, CPU 102 checks whether a RESP frame has been received in response to the POLL frame (step S1105). CPU 102 determines whether a RESP frame has been received from the ranged device 201 (step S1106).

[0061] If it is determined in step S1106 that the RESP frame has not been received from the ranging target device 201, the ranging control process returns to step S1102. ROUND By counting up, the time from when a POLL frame is output to the device to be measured 201 until when a RESP frame is received is measured.

[0062] If it is determined in step S1106 that a RESP frame has been received from the device 201 to be measured, the ranging control process proceeds to step S1107. ROUND The value of T indicated by the response time information included in the received RESP frame REPLY and are substituted into equation (1) to calculate the ToA. Next, CPU 102 measures the UWB distance (step S1108). Specifically, CPU 102 calculates the distance to the ranged device 201 as the UWB distance using the calculated ToA. Next, CPU 102 measures the BLE distance (step S1109). Specifically, CPU 102 calculates the distance to the ranged device 201 as the BLE distance using the RSSI measured in step S1104. Thereafter, the ranging control process ends.

[0063] FIG. 12 shows, on a time axis, the operation of the ranging device 101 in the RESP frame transmission control process of FIG. 8 and the operation of the ranged device 201 in the ranging control process of FIG.

[0064] 12, the ranging device 201 outputs an advertisement packet 301 at regular intervals (step S1201). Under this condition, the ranging device 101 outputs a POLL frame for performing ranging by UWB to the ranging device 201 (step S1202). Note that since UWB and BLE are independent, the output of the POLL frame from the ranging device 101 is executed at an arbitrary timing.

[0065] When the ranged device 201 receives the POLL frame (step S1203), it starts preparing to send back a RESP frame and stops outputting the advertisement packet 301. After that, the ranged device 201 receives the POLL frame and then stops outputting the advertisement packet 301. REPLY After the elapse of the time, the distance measuring device 101 outputs a RESP frame to the distance measuring device 101 and resumes outputting the advertisement packet 301 (step S1204).

[0066] The ranging device 101 measures the distance using UWB ranging and BLE ranging (step S1205). In UWB ranging, the ranging device 101 calculates the ToA based on the received RESP frame and uses this ToA to calculate the distance to the ranging device 201. In BLE ranging, the ranging device 101 calculates the distance to the ranging device 201 based on the received signal strength indicator (RSSI) of the advertising packet 301 received together with the RESP frame.

[0067] According to the embodiment described above, the ranged device 201 stops outputting the advertisement packet 301 in response to receiving the POLL frame. REPLY has elapsed, it outputs a RESP frame to the ranging device 101 and resumes outputting the advertising packet 301. The ranging device 101 measures the distance to the ranging device 201 by UWB ranging based on the received RESP frame, and measures the distance to the ranging device 201 by BLE ranging based on the received advertising packet 301. The ranging device 101 determines whether there is an obstacle between the ranging device 101 and the ranging device 201 based on the UWB distance and the BLE distance. This makes it possible to determine whether there is an obstacle between the devices while achieving highly accurate ranging.

[0068] In the above-described embodiment, the distance-measured device 201 is an image forming apparatus that executes printing processing based on print data received from the distance measuring device 101 .

[0069] In the above-described embodiment, the distance measuring device 101 is a device that transmits print data to the distance measured device 201 to cause the distance measured device 201 to execute a print process. This makes it possible to accurately measure the distance to the image forming device to which the print data is to be transmitted, while determining whether or not there is an obstacle between the distance measuring device 101 and the image forming device.

[0070] Although the present invention has been described above using the above-described embodiment, the present invention is not limited to the above-described embodiment. For example, among a plurality of distanced devices that are candidate destinations, distanced devices that are determined to have no obstacles between them and the distance measuring device 101, that is, distanced devices that are on the same floor as the distance measuring device 101, may be displayed on the display 111 in order of proximity to the distance measuring device 101. When performing such display control, in step S912, information about distanced devices that are determined to have obstacles between them and the distance measuring device 101 may be deleted from the list of distanced devices. By performing the above-described display control, only realistically selectable destination candidates can be displayed, thereby reducing the user's effort of selecting a destination from unnecessary candidates.

[0071] Furthermore, in this embodiment, a check box that allows the user to turn on or off a narrowing-down function for destination candidates may be displayed on the display 111, and the display of destination candidates may be controlled according to whether the check box is on or off. For example, if the user sets this check box to on, only distanced devices recorded in the list of distanced devices that have been determined to have no obstacles, i.e., only distanced devices that exist on the same floor as the distance measuring device 101, are displayed as destination candidates. On the other hand, if the user sets this check box to off, all distanced devices recorded in the list of distanced devices are displayed as destination candidates. In this case, a notification that an obstacle exists may be displayed in association with a distanced device that has been determined to have an obstacle. This allows the user's intention to be reflected in the display of destination candidates.

[0072] In addition, in this embodiment, the reliability of the obstacle determination result may be determined based on the distance obtained by ranging using either BLE or UWB, and the display of destination candidates may be controlled based on this reliability.

[0073] Here, in long-distance ranging, it may not be possible to say with certainty that the radio waves used for ranging are direct waves. This is because, as described above, it is possible that the electric field strength of interference waves is stronger than that of direct waves, and only interference waves reach the ranging device 101. For example, as in the case of image forming apparatus D in FIG. 13 , even if the apparatus is located on the same floor as the ranging device 101, if the ranging device 101 is a certain distance away, the direct wave 1301 may not reach the ranging device 101, and only the interference wave 1302 may reach the ranging device 101. In such a case, ranging is performed using the interference wave 1302. On the other hand, in short-distance ranging, it is highly likely that ranging is performed using direct waves.

[0074] Therefore, in this embodiment, in step S912, CPU 102 determines the reliability of the obstacle determination result based on the UWB distance. For example, for a ranged device whose UWB distance is a short distance less than a predetermined value, such as image forming devices A and B in FIG. 13, the BLE distance used to determine the obstacle is likely to be a distance measurement result using direct waves, and the reliability of the obstacle determination result is considered to be high. Therefore, CPU 102 determines the reliability of the obstacle determination result for a ranged device whose UWB distance is a short distance to be "high." Note that the predetermined value is, for example, a value determined based on the radio wave reachable distance in BLE.

[0075] On the other hand, for a ranged device whose UWB distance is longer than the predetermined value, such as image forming device D in FIG. 13, the BLE distance used to determine the obstacle may be a distance measurement result based on interference waves rather than direct waves, and the reliability of the obstacle determination result is considered to be low. Therefore, CPU 102 determines the reliability of the obstacle determination result for a ranged device whose UWB distance is long to be "low." CPU 102 adds the determined reliability for each ranged device to the list of ranged devices, as shown in FIG. 14(a). Furthermore, CPU 102 sets the obstacle determination result for a ranged device determined to have low reliability to "pending."

[0076] Next, in step S913, CPU 102 displays destination candidates on display 111 as shown in Fig. 14(b) based on the list of ranged devices in Fig. 14(a). In Fig. 14(b), image forming device A, which has been indicated with high confidence that there is no obstacle, is displayed at the top, and image forming device B, which has been indicated with high confidence that there is an obstacle, is displayed at the bottom. Furthermore, image forming device D, which has been set to "pending" in the obstacle determination result, is displayed higher than image forming device B, which has been indicated with high confidence that there is an obstacle.

[0077] By performing such display control, when displaying destination candidates, distanced devices that are located on the same floor as the ranging device 101 and are relatively far from the ranging device 101 can be displayed higher than distanced devices that have obstacles between them and the ranging device 101.

[0078] In the present embodiment, a mobile terminal such as a smartphone or a tablet has been described as an example of the ranging device 101, but the ranging device 101 is not limited to a mobile terminal as long as it is a device having the above-described ranging function. For example, the ranging device 101 may be a personal computer, an imaging device, an image forming device, or the like.

[0079] In addition, in this embodiment, an image forming device has been described as an example of the ranging device 201, but the ranging device 201 is not limited to an image forming device as long as it has a function of transmitting information required for ranging to the ranging device 101 via wireless communication. For example, the ranging device 201 may be a mobile terminal, a personal computer, an imaging device, etc.

[0080] In addition, in this embodiment, as an example, a configuration has been described in which candidate destinations for print data are displayed using UWB distance and obstacle determination results, but this is not limited to this, and any configuration may be used that displays a list of devices present in the vicinity of the ranging device 101.

[0081] The present invention can also be realized by supplying a program that realizes one or more functions of the above-described embodiments to a system or device via a network or a storage medium, and having one or more processors in the computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that realizes one or more functions.

[0082] The disclosure of this embodiment includes the following configurations and methods. (Configuration 1) A communication device that communicates with a ranging device, comprising: a control means that controls the output of an advertising packet containing information used for first ranging using the signal strength of radio waves at regular intervals; and a means that receives an inquiry radio wave from the ranging device for performing second ranging using the arrival time of the radio waves, wherein the control means stops the output of the advertising packet upon receiving the inquiry radio wave, and when a predetermined time has elapsed since receiving the inquiry radio wave, outputs a response wave to the ranging device that is used for the second ranging and resumes the output of the advertising packet. (Configuration 2) The communication device according to configuration 1, characterized in that the communication device is an image forming device that executes a print process based on print data received from the distance measuring device. (Configuration 3) A communication device that measures the distance to a ranged device that transmits an advertising packet including information used for first ranging using the signal strength of radio waves, characterized in that it comprises: a means for transmitting an inquiry radio wave to the ranged device for performing second ranging using the arrival time of radio waves; a means for measuring the distance to the ranged device by the second ranging based on a response wave received from the ranged device; a means for measuring the distance to the ranged device by the first ranging based on the advertising packet received from the ranged device together with the response wave; and a determination means for determining the presence or absence of an obstacle between the communication device and the ranged device based on the distance measured by the second ranging and the distance measured by the first ranging. (Configuration 4) The communication device according to configuration 3, characterized in that it is a device that transmits print data to the device to be measured, causing the device to execute a print process. (Configuration 5) A communication device as described in configuration 3 or 4, further comprising a display means and a display control means for controlling the display means to display a list of devices in the vicinity of the communication device based on the distance measured by the second distance measurement and the judgment result by the judgment means, wherein when the devices in the vicinity of the communication device are multiple ranged devices, the display control means displays the multiple ranged devices on the display means in order of closest distance to the communication device, and displays ranged devices that are judged to have an obstacle between them and the communication device in an unselectable state. (Configuration 6) A communication device as described in Configuration 3 or 4, further comprising a display means and a display control means for controlling the display means to display a list of devices in the vicinity of the communication device based on the distance measured by the second ranging and the judgment result by the judgment means, wherein when the devices in the vicinity of the communication device are multiple ranging devices, the display control means displays on the display means, among the multiple ranging devices, the ranging devices that are judged to have no obstacles between them and the communication device, in order of closest distance to the communication device. (Configuration 7) The communication device according to configuration 5 or 6, further comprising means for allowing a user to turn on / off a function for narrowing down the candidates for destinations of the print data. (Configuration 8) The communication device according to any one of configurations 3 to 7, further comprising means for determining the reliability of the determination result by the determination means based on the distance measured by the second distance measurement. [Explanation of symbols]

[0083] 101 Ranging Device 102 CPU 107 UWB Communication Department 110 Display control unit 111 Display 201 Ranged Device 202 CPU 205 Network Control Unit 206 BLE Communication Department 207 UWB Communication Department 301 Advertisement Packet

Claims

1. A communication device for communicating with a ranging device, a control means for controlling output of an advertisement packet including information used in a first distance measurement using a signal strength of a radio wave at a constant interval; a means for receiving an inquiry radio wave from the distance measuring device for performing a second distance measurement using the arrival time of the radio wave; The control means stops output of the advertising packet upon receiving the inquiry radio wave, and when a predetermined time has elapsed since receiving the inquiry radio wave, outputs a response wave used for the second ranging to the ranging device and resumes output of the advertising packet.

2. 2. The communication device according to claim 1, wherein the communication device is an image forming device that executes a print process based on the print data received from the distance measuring device.

3. A communication device that measures a distance to a ranged device that transmits an advertisement packet including information used for a first distance measurement using a signal strength of a radio wave, a means for transmitting an inquiry radio wave to the ranged device for performing a second distance measurement using a time of arrival of the radio wave; a means for measuring a distance to the target device by the second distance measurement based on a reply wave received from the target device; a means for measuring a distance to the ranged device by the first ranging based on the advertising packet received from the ranged device together with the reply wave; A communication device comprising: a determination means for determining whether or not there is an obstacle between the communication device and the ranged device based on the distance measured by the second ranging and the distance measured by the first ranging.

4. 4. The communication device according to claim 3, wherein the communication device transmits, to the range-target device, print data for causing the range-target device to execute a print process.

5. A display means; a display control unit that controls the display unit to display a list of devices in the vicinity of the communication device based on the distance measured by the second distance measurement and the determination result by the determination unit, The communication device described in claim 3, characterized in that when there are multiple ranged devices in the vicinity of the communication device, the display control means displays the multiple ranged devices on the display means in order of closest distance to the communication device, and displays on the display means a ranged device that is determined to have an obstacle between it and the communication device in an unselectable state.

6. A display means; a display control unit that controls the display unit to display a list of devices in the vicinity of the communication device based on the distance measured by the second distance measurement and the determination result by the determination unit, The communication device described in claim 4, characterized in that when the devices in the vicinity of the communication device are multiple ranged devices, the display control means causes the display means to display, among the multiple ranged devices, the ranged devices that are determined to have no obstacles between them and the communication device in order of closest distance to the communication device.

7. 7. The communication device according to claim 5, further comprising a unit that allows a user to turn on and off a function for narrowing down the candidates for destinations of the print data.

8. 4. The communication device according to claim 3, further comprising: a means for determining reliability of a determination result by said determining means based on the distance measured by said second distance measurement.

9. A method for controlling a communication device that communicates with a ranging device, comprising: a control step of controlling output of an advertising packet including information used in a first distance measurement using a signal strength of a radio wave at a constant interval; receiving an inquiry radio wave from the distance measuring device for performing a second distance measurement using the arrival time of the radio wave; A control method for a communication device, characterized in that the control process stops the output of the advertising packet upon receiving the inquiry radio wave, and when a predetermined time has elapsed since receiving the inquiry radio wave, outputs a response wave used for the second ranging to the ranging device and resumes the output of the advertising packet.

10. A method for controlling a communication device that measures a distance to a ranged device that transmits an advertisement packet including information used for a first distance measurement using a signal strength of a radio wave, comprising: transmitting an inquiry radio wave to the ranged device for performing a second distance measurement using the arrival time of the radio wave; measuring a distance to the ranged device by the second ranging based on a reply wave received from the ranged device; measuring a distance to the ranged device by the first ranging based on the advertising packet received from the ranged device together with the reply wave; A method for controlling a communication device, comprising a step of determining whether or not there is an obstacle between the communication device and the ranged device based on the distance measured by the second ranging and the distance measured by the first ranging.

11. A program for causing a computer to execute a control method for a communication apparatus that communicates with a distance measuring device, The method for controlling a communication device includes: a control step of controlling output of an advertising packet including information used in a first distance measurement using a signal strength of a radio wave at a constant interval; receiving an inquiry radio wave from the distance measuring device for performing a second distance measurement using the arrival time of the radio wave; The control process is a program characterized by stopping the output of the advertising packet upon receiving the inquiry radio wave, and when a predetermined time has elapsed since receiving the inquiry radio wave, outputting a response wave used for the second ranging to the ranging device and resuming the output of the advertising packet.

12. A program for causing a computer to execute a control method for a communication device that measures a distance to a ranged device that transmits an advertising packet including information used in a first distance measurement using a signal strength of a radio wave, the program comprising: The method for controlling a communication device includes: transmitting an inquiry radio wave to the ranged device for performing a second distance measurement using the arrival time of the radio wave; measuring a distance to the ranged device by the second ranging based on a reply wave received from the ranged device; measuring a distance to the ranged device by the first ranging based on the advertising packet received from the ranged device together with the reply wave; and determining whether or not there is an obstacle between the communication device and the ranged device based on the distance measured by the second ranging and the distance measured by the first ranging.

13. A system for measuring a distance from a ranging device to a ranging target device that outputs an advertisement packet including information used for a first ranging using a signal strength of a radio wave at regular intervals, a means for transmitting an inquiry radio wave for performing a second distance measurement using the arrival time of the radio wave; a means for causing the ranged device to stop outputting the advertising packet in response to the ranged device receiving the inquiry radio wave, and for causing the ranged device to output a response wave used for the second ranging and resume outputting the advertising packet when a predetermined time has elapsed since the ranged device received the inquiry radio wave; a means for measuring a distance from the ranging device to the ranged device by the second ranging based on the reply wave; means for measuring a distance from the ranging device to the ranged device by the first ranging based on the advertisement packet; and means for determining whether or not there is an obstacle between the ranging device and the ranged device based on the distance measured by the second ranging and the distance measured by the first ranging.

Citation Information

Patent Citations

  • Mobile devices that communicate with and measure distance to access control systems for automated functions

    JP2022104962A