COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
The communication system synchronizes sensor data output using time synchronization counters to address the challenge of multiplexed sensor data transmission, ensuring timely and efficient integration without external synchronization signals, enhancing data processing accuracy.
Patent Information
- Application Number
- JP2021545228
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-09-13
- Filing Date
- 2020-08-31
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2040-08-31
AI Technical Summary
Existing communication systems face challenges in synchronizing the output of image data from image sensors and sensor data from various measurement sensors without providing a signal line for synchronization signals, especially in configurations with multiple image sensors multiplexed on a single transmission line.
A communication system that utilizes time synchronization counters to synchronize the output of data from multiple sensors based on a predetermined standard, such as I3C, ensuring that sampling data is time-synchronized and accompanied by time data indicating the sampling timing, allowing for appropriate output control without external synchronization signals.
Enables reliable and efficient integration of data from multiple sensors by ensuring that all data is sampled and output at the same timing, facilitating advanced processing like sensor fusion and reducing the need for additional synchronization signal lines, thereby enhancing the accuracy and efficiency of data integration.
Smart Images

Figure 0007571034000001 
Figure 0007571034000002 
Figure 0007571034000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a communication device, a communication method, and a program, and in particular to a communication device, a communication method, and a program that are capable of performing appropriate output control based on time synchronization for a plurality of sensors. [Background technology]
[0002] In recent years, the Mobile Industry Processor Interface (MIPI) Alliance, which develops interface standards for mobile devices, has developed I3C (Improved Inter Integrated Circuit) as the next-generation standard for the bus standard I2C (Inter-Integrated Circuit). The MIPI Alliance has also defined CSI-2 (Camera Serial Interface 2) as an interface mainly used for connecting cameras, and C-PHY and D-PHY as physical layer standards.
[0003] For example, image data acquired by an image sensor is transmitted by MIPI CSI-2 (physical layer is C-PHY or D-PHY) because the amount of data to be transferred is large. On the other hand, control data for controlling the image sensor and sensor data output from various measurement sensors are transmitted by I2C or I3C as stipulated by MIPI CSI-2 because the amount of data to be transferred is small.
[0004] Furthermore, technology has been developed to multiplex one transmission path with multiple image sensors, and as disclosed in Patent Document 1, for example, the output timing of image data from each of the multiple image sensors is controlled using a synchronization signal. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2017-212690 A Summary of the Invention [Problem to be solved by the invention]
[0006] However, as described above, when image data output from an image sensor is transmitted by C-PHY or D-PHY, while sensor data output from various measurement sensors is transmitted by I2C or I3C, output control is required to time-synchronize the data. Also, in a configuration in which multiple image sensors are multiplexed on one transmission path, there is a demand for output control based on time synchronization for multiple image sensors without providing a signal line for transmitting a synchronization signal from the outside.
[0007] The present disclosure has been made in consideration of such circumstances, and makes it possible to perform appropriate output control based on time synchronization for a plurality of sensors. [Means for solving the problem]
[0008] A communication device according to a first aspect of the present disclosure includes a communication processing control unit that controls communication processing in accordance with a predetermined standard between a plurality of other communication devices, a time synchronization counter for implementing timing control defined by the standard, and an information processing unit that performs information processing necessary for output control to cause the time synchronization counter to time-synchronize other time synchronization counters provided in each of the plurality of other communication devices to output sampling data sampled at a predetermined sampling period in the plurality of other communication devices, and the information processing unit performs output control to output, together with the sampling data, time data indicating the timing at which the sampling data was sampled. The time synchronization counter completes one revolution at least once every two or more sampling periods. .
[0009] A communication method or program according to a first aspect of the present disclosure includes controlling communication processing in accordance with a predetermined standard between a plurality of other communication devices, and time-synchronizing other time synchronization counters provided in each of the plurality of other communication devices with a time synchronization counter for realizing timing control defined by the standard, and performing information processing necessary for output control for outputting sampling data sampled at a predetermined sampling period in the plurality of other communication devices, and performing output control for outputting time data indicating the timing at which the sampling data was sampled together with the sampling data. The time synchronization counter completes one revolution at least once every two or more sampling periods. .
[0010] In a first aspect of the present disclosure, communication processing is controlled between multiple other communication devices in accordance with a predetermined standard, and other time synchronization counters provided in each of the multiple other communication devices are time-synchronized with a time synchronization counter for realizing timing control defined by the standard, and information processing necessary for output control is performed to output sampling data sampled at a predetermined sampling period in the multiple other communication devices. Then, output control is performed to output, together with the sampling data, time data indicating the timing at which the sampling data was sampled. The time synchronization counter completes one cycle at least once every two sampling periods. .
[0011] A communication device according to a second aspect of the present disclosure includes a sampling unit that samples sampling data at a predetermined sampling period, a communication processing control unit that controls communication processing in accordance with a predetermined standard between the communication device and another communication device, and a time synchronization counter that realizes timing control defined by the standard, and the time synchronization counter synchronizes with another time synchronization counter included in the other communication device in accordance with output control by the other communication device, and outputs, together with the sampling data, time data indicating the timing at which the sampling data was sampled. The time synchronization counter completes one revolution at least once every two or more sampling periods. .
[0012] A communication method or program according to a second aspect of the present disclosure includes sampling sampling data at a predetermined sampling period, controlling communication processing with another communication device in accordance with a predetermined standard, and, in accordance with output control by the other communication device, a time synchronization counter for realizing timing control defined in the standard synchronizes with another time synchronization counter included in the other communication device, and outputs, together with the sampling data, time data indicating a timing at which the sampling data was sampled. The time synchronization counter completes one revolution at least once every two or more sampling periods. .
[0013] In a second aspect of the present disclosure, sampling data is sampled at a predetermined sampling period, communication processing is controlled in accordance with a predetermined standard between the communication device and the other communication device, and a time synchronization counter for realizing timing control defined by the standard is time-synchronized with another time synchronization counter provided in the other communication device in accordance with output control by the other communication device, and time data indicating the timing at which the sampling data was sampled is output together with the sampling data. The time synchronization counter completes one cycle at least once every two sampling periods. . [Brief description of the drawings]
[0014] [Figure 1] 1 is a block diagram showing a configuration example of an embodiment of a communication system to which the present technology is applied. [Diagram 2] FIG. 2 is a block diagram of a communication system for explaining a first processing example of output control based on time synchronization. [Diagram 3] FIG. 11 is a diagram illustrating the operation of a first processing example. [Figure 4] FIG. 13 is a diagram showing the structure of an Embedded Data Packet. [Diagram 5] 11 is a flowchart illustrating an output control process based on time synchronization performed by an AP. [Figure 6] 11 is a flowchart illustrating an output control process based on time synchronization performed by the image sensor. [Figure 7]11 is a flowchart illustrating an output control process based on time synchronization performed by a gyro sensor. [Figure 8] FIG. 11 is a block diagram of a communication system for explaining a second processing example of output control based on time synchronization. [Figure 9] FIG. 11 is a diagram illustrating the operation of a second processing example. [Figure 10] 11 is a flowchart illustrating an output control process based on time synchronization performed by an AP. [Figure 11] 11 is a flowchart illustrating an output control process based on time synchronization performed by the image sensor. [Figure 12] FIG. 2 is a diagram illustrating a first control method for controlling image output timing. [Figure 13] FIG. 1 is a diagram illustrating an example of an implementation of an image sensor. [Figure 14] FIG. 1 is a diagram illustrating an example of an implementation of a gyro sensor. [Figure 15] FIG. 13 is a diagram illustrating an example of an implementation of an AP. [Figure 16] 1 is a block diagram showing an example of the configuration of an embodiment of a computer to which the present technology is applied. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] Hereinafter, specific embodiments to which the present technology is applied will be described in detail with reference to the drawings.
[0016] <Example of communication system configuration> FIG. 1 is a block diagram showing an example of the configuration of an embodiment of a communication system to which the present technology is applied.
[0017] 1 shows an example of a communication system 11 used for communication between devices inside an unmanned aerial vehicle (UAV), known as a drone. Note that the communication system 11 can be used in various moving objects other than drones, such as autonomous vehicles.
[0018] The communication system 11 includes a distance measurement sensor 21, image sensors 22-1 and 22-2, a gyro sensor 23, an acceleration sensor 24, a position sensor 25, an air pressure sensor 26, and an AP (Application Processor) 31.
[0019] For example, in the communication system 11, C-PHY or D-PHY is used for transmitting distance measurement data from the distance measurement sensor 21 to the AP 31 and for transmitting image data from the image sensors 22-1 and 22-2 to the AP 31. Also, in the communication system 11, I3C is used for transmitting and receiving various types of data between the distance measurement sensor 21, the image sensors 22-1 and 22-2, the gyro sensor 23, the acceleration sensor 24, the position sensor 25, and the atmospheric pressure sensor 26 and the AP 31.
[0020] The distance measurement sensor 21 calculates the distance to obstacles around the drone using, for example, LIDAR (Light Detection and Ranging, Laser Imaging Detection and Ranging), and outputs the resulting distance measurement data to the AP 31.
[0021] The image sensors 22-1 and 22-2 capture the surroundings of the drone using an imaging element such as a CIS (CMOS (Complementary Metal Oxide Semiconductor) Image Sensor) to acquire image data. For example, the image sensor 22-1 captures the direction of the drone's movement to acquire image data, and the image sensor 22-2 captures the downward direction of the drone to acquire image data, and each of the image data is output to the AP 31 via a single transmission path.
[0022] The gyro sensor 23 measures the angular velocity that occurs in response to changes in attitude when the drone flies, and outputs the angular velocity data obtained as a result of the measurement to the AP 31.
[0023] The acceleration sensor 24 measures the acceleration according to the change in speed when the drone flies, and outputs the acceleration data obtained as a result of the measurement to the AP 31.
[0024] The position sensor 25 receives radio waves transmitted from, for example, a GPS (Global Positioning System) satellite, acquires GPS data contained in the radio waves, and outputs the GPS data to the AP 31.
[0025] The air pressure sensor 26 measures the air pressure according to the altitude at which the drone is flying, and outputs the air pressure data obtained as a result of the measurement to the AP 31.
[0026] The AP 31 controls the output of the distance measurement sensor 21, the image sensors 22-1 and 22-2, the gyro sensor 23, the acceleration sensor 24, the position sensor 25, and the air pressure sensor 26 based on time synchronization using a part of the timing control defined in I3C. The AP 31 integrates data output from the distance measurement sensor 21, the image sensors 22-1 and 22-2, the gyro sensor 23, the acceleration sensor 24, the position sensor 25, and the air pressure sensor 26, and can execute various processes required for flying a drone, for example.
[0027] For example, a drone employing the communication system 11 can calculate the inclination and acceleration of the drone itself while measuring distance with the distance sensor 21 and capturing images with the image sensors 22-1 and 22-2. For example, while the drone is flying, the AP 31 can recognize an obstacle in the direction of the drone's movement based on image data supplied from the image sensor 22-1, and calculate the distance to the obstacle from the distance measurement data supplied from the distance sensor 21. Then, the AP 31 executes a process to make the drone take evasive action when there is a possibility of collision with an obstacle, based on the drone's own position estimated from GPS data, the drone's speed calculated from acceleration data, and the drone's altitude estimated from the atmospheric pressure data and image data.
[0028] In addition, AP31 not only corrects the inclination of the drone based on the attitude of the drone determined from the angular velocity data supplied from the gyro sensor 23, but also corrects the inclination of the images captured by the image sensors 22-1 and 22-2 (e.g., keystone correction), making it easier to detect obstacles.
[0029] At this time, the distance measurement data from the distance measurement sensor 21 and the image data from the image sensors 22-1 and 22-2 are transmitted by C-PHY or D-PHY because the amount of data to be transferred is large. Also, the control data for the image sensors 22-1 and 22-2 and the various sensor data output from the gyro sensor 23, acceleration sensor 24, position sensor 25, and air pressure sensor 26 are transmitted by I3C because the amount of data to be transferred individually is small.
[0030] The AP 31 can then perform a process (hereinafter referred to as sensor fusion process) that integrates the sensor data and image data of each of these sensors by making up for each other's weaknesses, enabling the AP 31 to realize advanced processing such as avoiding collisions with obstacles.
[0031] In order for the AP 31 to perform sensor fusion processing, it is necessary to perform output control so that the integrated data are sampled at the same timing and the data are output appropriately. In addition, it is required to realize the output control without providing a signal line for transmitting a synchronization signal from the outside as described above.
[0032] Therefore, in the communication system 11, appropriate output control for a plurality of sensors is realized by utilizing time synchronization defined by I3C.
[0033] <First processing example of output control based on time synchronization> As a first processing example of output control based on time synchronization, output control for data passing through different transmission paths will be described with reference to FIGS.
[0034] In the communication system 11 shown in Fig. 2, the image sensor 22-1, the gyro sensor 23, and the AP 31 used to explain a first processing example of output control based on time synchronization are shown among the blocks constituting the communication system 11 shown in Fig. 1. That is, output control based on time synchronization is performed on image data transmitted from the image sensor 22-1 to the AP 31 by C-PHY or D-PHY and on angular velocity data transmitted from the gyro sensor 23 to the AP 31 by I3C.
[0035] The image sensor 22-1 includes an image pickup element 41-1, a time synchronization counter 42-1, a register 43-1, a communication processing control unit 44-1, and an image data transmission unit 45-1.
[0036] The imaging element 41-1 captures an image using light collected on an imaging surface via an optical system (not shown), and supplies image data obtained as a result of the imaging to the image data transmission unit 45-1. For example, the imaging element 41-1 starts imaging at a predetermined sampling period according to the count value of the time synchronization counter 42-1, and outputs the image data (AD conversion).
[0037] The time synchronization counter 42-1 counts a count value at a predetermined clock frequency in order to realize timing control defined by I3C.
[0038] The register 43-1 holds setting values such as delay time and sampling period, which will be described later, and a count value indicating image capture time data.
[0039] The communication processing control unit 44-1 performs communication processing controlled primarily by the communication processing control unit 63 of the AP 31 in accordance with the I3C. For example, the communication processing control unit 44-1 receives setting values such as delay time and sampling period transmitted from the AP 31 and stores them in a register 43-1.
[0040] The image data transmission unit 45-1 transmits image data supplied from the image sensor 22-1 to the AP 31 in accordance with C-PHY or D-PHY. At this time, the image data transmission unit 45-1 can read out the imaging time data from the register 43-1 and transmit the image data in which the imaging time data is stored as described later.
[0041] The gyro sensor 23 includes a detection unit 51, a time synchronization counter 52, a register 53, and a communication processing control unit .
[0042] The detection unit 51 detects the angular velocity at a predetermined sampling period in accordance with the count value of the time synchronization counter 42-1, and causes the register 53 to hold the angular velocity data.
[0043] The time synchronization counter 52 counts a count value at a predetermined clock frequency in order to realize timing control defined by I3C.
[0044] The register 53 holds setting values such as delay time and sampling period, which will be described later, a count value indicating sampling time data, and angular velocity data.
[0045] The communication processing control unit 54 performs communication processing controlled primarily by the communication processing control unit 63 of the AP 31 in accordance with I3C. For example, the communication processing control unit 54 receives setting values such as delay time and sampling period transmitted from the AP 31 and stores them in the register 43-1, and reads sampling time data and angular velocity data from the register 53 and transmits them to the AP 31.
[0046] The AP 31 includes an image data receiving unit 61 , a time synchronization counter 62 , a communication processing control unit 63 , a register 64 , a data integration unit 65 , and an information processing unit 66 .
[0047] The image data receiving unit 61 receives image data, in which imaging time data is stored, transmitted from the image data transmitting unit 45-1 of the image sensor 22-1 in accordance with C-PHY or D-PHY, and supplies the image data to a data integrating unit 65.
[0048] The time synchronization counter 62 counts a count value at a predetermined clock frequency in order to realize timing control defined by I3C.
[0049] The communication processing control unit 63 takes the lead in controlling communication processing between the communication processing control unit 44-1 of the image sensor 22-1 and the communication processing control unit 54 of the gyro sensor 23 in accordance with I3C. For example, the communication processing control unit 63 transmits setting values such as delay time and sampling period supplied from the information processing unit 66 to the image sensor 22-1 and the gyro sensor 23. In addition, the communication processing control unit 63 performs a read process on the gyro sensor 23 to receive sampling time data and angular velocity data transmitted from the gyro sensor 23 and causes the register 64 to hold the data.
[0050] The register 64 holds the sampling time data and angular velocity data supplied from the communication processing control unit 63 .
[0051] The data integration unit 65 refers to the imaging time data of the image data supplied from the image data receiving unit 61, and reads out the angular velocity data of the sampling time data showing the same timing from the register 64. Then, the data integration unit 65 performs a sensor fusion process to integrate the data, for example, a sensor fusion process to correct image distortion according to the attitude of the drone calculated from the angular velocity. Note that the image data that has been subjected to the sensor fusion process by the data integration unit 65 is used, for example, to control the flight of the drone in a flight control processing unit (not shown) at a subsequent stage.
[0052] The information processing unit 66 acquires the frequency and error of the time synchronization counter 42-1 of the image sensor 22-1 and the frequency and error of the time synchronization counter 52 of the gyro sensor 23 via the communication processing control unit 63. Then, the information processing unit 66 sets the delay time, sampling period, etc. for the image sensor 22-1 according to the frequency of the time synchronization counter 42-1, and transmits these set values. Similarly, the information processing unit 66 sets the delay time, sampling period, etc. for the gyro sensor 23 according to the frequency of the time synchronization counter 52, and transmits these set values. Furthermore, based on the errors of the time synchronization counter 42-1 and the time synchronization counter 52, the information processing unit 66 sets a predetermined timing before it is assumed that synchronization will be lost due to the accumulation of these errors, as a synchronization maintenance timing for maintaining synchronization again.
[0053] The operation of output control based on time synchronization performed between the image sensor 22-1 and the gyro sensor 23 and the AP 31 will be described with reference to FIG.
[0054] 3, the time synchronization counter 42-1 of the image sensor 22-1 operates at the same clock frequency as the time synchronization counter 62 of the AP 31, and the time synchronization counter 52 of the gyro sensor 23 operates at half the clock frequency of the time synchronization counter 62 of the AP 31. Note that the following description will be given without taking into consideration phase shifts in either case.
[0055] First, in the AP 31, the time synchronization counter 62 starts counting with time t00 as the origin. Also, the sampling period is set so that 16 counts by the time synchronization counter 62 of the AP 31 constitute one period.
[0056] Then, in the AP 31, the communication processing control unit 63 outputs a start condition indicating the start of communication according to I3C at time t01, which is a predetermined delay time (DT=6 in the example of FIG. 3) from time t00. For example, the communication processing control unit 63 outputs the start condition by switching the serial clock SCL from 1 to 0 while the serial data SDA is 0.
[0057] Then, following the output of the start condition, the communication processing control unit 63 transmits an ST message (SETXTIME CCC with ST Sub-Command) instructing the start of a time-synchronized operation according to I3C. Here, the delay time is a delay value from when the time synchronization counter 62 sets the time t00 until the ST message is input to the I3C terminals of the image sensor 22-1 and the gyro sensor 23.
[0058] On the other hand, in the image sensor 22-1, when the communication processing control unit 44-1 detects that the start condition has been output, it notifies the time synchronization counter 42-1 of the start condition detection. In response to this, the time synchronization counter 42-1 supplies the count value (CIS-1_Count=50 in the example of FIG. 3) at the time t01 when the start condition detection is notified to the register 43-1 to be held therein.
[0059] Similarly, in the gyro sensor 23, when the communication processing control unit 54 detects that a start condition has been output, it notifies the time synchronization counter 52 of the start condition detection. In response to this, the time synchronization counter 52 supplies the count value (Gyro_Count=25 in the example of FIG. 3) at the time t01 when the start condition detection is notified to the register 53, and causes the register 53 to hold the count value.
[0060] After that, at time t02, when the communication processing control unit 44-1 of the image sensor 22-1 receives the ST message, it notifies the time synchronization counter 42-1 of the ST message detection. Then, in response to the ST message, the time synchronization counter 42-1 calculates a new count value to be set based on the count value at time t02 (in the example of FIG. 3, CIS-1_Count=56), the count value at time t01 held by the register 43-1 (in the example of FIG. 3, CIS-1_Count=50), and the delay time. Note that the image sensor 22-1 has the same clock frequency as the AP 31, and the delay time is 6.
[0061] For example, the time synchronization counter 42-1 adds a delay time to the difference obtained by subtracting the count value at time t02 from the count value at time t01 held in the register 43-1, and calculates a count value (13=(56-50)+6+1) incremented by 1 to obtain the value for the next count timing. This causes the origins of the time synchronization counter 42-1 of the image sensor 22-1 and the time synchronization counter 62 of the AP 31 to match, thereby achieving time synchronization.
[0062] Similarly, at time t02, when the communication processing control unit 54 of the gyro sensor 23 receives an ST message, it notifies the time synchronization counter 52 of the ST message detection. Then, in response to the ST message, the time synchronization counter 52 calculates a new count value to be set based on the count value at time t02 (in the example of FIG. 3, Gyro_Count=28), the count value at time t01 held by the register 53 (in the example of FIG. 3, Gyro_Count=25), and the delay time. Note that the clock frequency of the gyro sensor 23 is half that of the AP 31, and the delay time is 3.
[0063] For example, the time synchronization counter 52 adds a delay time to the difference obtained by subtracting the count value at time t02 from the count value at time t01 held in the register 53, and calculates an incremented count value (7=(28-25)+3+1) to obtain the value for the next count timing. This causes the origins of the time synchronization counter 52 of the gyro sensor 23 and the time synchronization counter 62 of the AP 31 to match, thereby achieving time synchronization.
[0064] Next, at time t03, in accordance with the sampling period, the image sensor 22-1 outputs image data acquired by the image pickup element 41-1 capturing an image to the image data transmission unit 45-1. At this time, the time synchronization counter 42-1 supplies the count value at time t03 (CIS-1_Count=15 in the example of FIG. 3) to the register 43-1 as imaging time data and stores it therein.
[0065] Thereafter, in the image sensor 22-1, the image data transmission unit 45-1 reads out the imaging time data from the register 43-1 and stores the imaging time data in the CSI-2 Embedded Data Packet. Then, the image data transmission unit 45-1 transmits the image data in which the imaging time data (in the example of FIG. 3, CIS-1_Count=15) is stored to the AP 31 according to C-PHY or D-PHY. Here, the CSI-2 standard defines that the Embedded Data Packet is placed in a hatched area as shown in FIG. 4 and can store any data. Note that the transmission of the imaging time data from the image sensor 22-1 to the AP 31 is not limited to the method of storing the imaging time data in the CSI-2 Embedded Data Packet as described above, and other methods may be adopted. For example, the imaging time data may be stored in another packet or in the packet header (D1 or D2 shown in FIG. 4) of the image data.
[0066] Similarly, at time t03, in the gyro sensor 23, the detection unit 51 detects the angular velocity and writes the acquired angular velocity data to the register 53 in accordance with the sampling period. At this time, the time synchronization counter 52 supplies the count value at time t03 (Gyro_Count=7 in the example of FIG. 3) to the register 53 as sampling time data to be stored therein. Note that in the register 53, the angular velocity data and the sampling time data are arranged at adjacent addresses. This allows the communication processing control unit 54 to perform a burst read via I3C when reading out the angular velocity data and the sampling time data from the register 53.
[0067] Thereafter, in the gyro sensor 23, in response to a read request made by the communication processing control unit 63 of the AP 31 according to I3C, the communication processing control unit 54 reads out the angular velocity data and the sampling time data from the register 53. Then, the communication processing control unit 54 transmits the angular velocity data and the sampling time data (Gyro_Count=7 in the example of FIG. 3) to the AP 31 according to I3C.
[0068] Thereafter, the same process is repeated according to the sampling period, and for example, at time t04, imaging is performed by the imaging element 41-1 and angular velocity is detected by the detection unit 51. Then, image data in which imaging time data, which is the count value at time t04 (in the example of FIG. 3, CIS-1_Count=31), is stored in an Embedded Data Packet of CSI-2, is transmitted from the image sensor 22-1 to the AP 31 according to C-PHY or D-PHY. Similarly, sampling time data, which is the count value at time t04 (in the example of FIG. 3, Gyro_Count=15), is transmitted from the gyro sensor 23 to the AP 31 according to I3C together with the angular velocity data.
[0069] At this time, the timing when the image sensor 22-1 outputs the image data and the timing when the gyro sensor 23 outputs the angular velocity data may be different from each other. That is, in the example shown in Fig. 3, the image data captured at time t03 is output before the angular velocity data acquired at time t03, and the image data captured at time t04 is output after the angular velocity data acquired at time t04. Even if such data overtaking occurs, in the communication system 11, since the imaging time data and the sampling time data are time-synchronized, the AP 31 can extract the image data and the angular velocity data sampled at the same timing and perform the sensor fusion process.
[0070] However, it is expected that the time synchronization will be lost even when time synchronization is performed with time t00 as the origin due to the accumulation of errors possessed by the time synchronization counters 42-1 and 52. Therefore, in the communication system 11, at a synchronization maintenance timing before the synchronization loss is expected, the AP 31 re-outputs the start condition and re-transmits the ST message, thereby newly maintaining the time synchronization.
[0071] 3, when the synchronization maintenance timing occurs at time t10, the communication processing control unit 63 in the AP 31 re-outputs a start condition indicating the start of communication according to I3C at time t11, which is a predetermined delay time from time t10, and re-transmits the ST message. As a result, similarly to the above, at time t12, the image sensor 22-1 and the gyro sensor 23 calculate new count values to be set, and time synchronization is performed with time t10 as the origin. Thereafter, at time t13 according to the sampling period, the image sensor 22-1 acquires image data and the gyro sensor 23 acquires angular velocity data, and the same process is repeated.
[0072] Generally, a counter that completes one revolution in a sampling period (count values 0 to 15 in the example shown in FIG. 3) is implemented, but in this configuration, the sampling time for each sampling period has the same count value, making it impossible to recognize the occurrence of data overtaking as described above. Therefore, in the communication system 11, time synchronization counters 42-1, 52, and 62 that complete one revolution at least in two or more sampling periods are implemented. As a result, the sampling times in at least consecutive sampling periods have different count values, making it possible to recognize the occurrence of data overtaking.
[0073] FIG. 5 is a flowchart illustrating the output control process based on time synchronization performed by the AP 31.
[0074] For example, the process starts when the communication system 11 is started. In step S11, the information processing unit 66 acquires the frequency and error of the time synchronization counter 42-1 of the image sensor 22-1 and the frequency and error of the time synchronization counter 52 of the gyro sensor 23 via the communication processing control unit 63.
[0075] In step S12, the information processing unit 66 sets a delay time and a sampling period in accordance with the frequency of the time synchronization counter 42-1 of the image sensor 22-1 acquired in step S11, and transmits them to the image sensor 22-1 via the communication processing control unit 63. Similarly, the information processing unit 66 sets a delay time and a sampling period in accordance with the frequency of the time synchronization counter 52 of the gyro sensor 23 acquired in step S11, and transmits them to the gyro sensor 23 via the communication processing control unit 63.
[0076] In step S13, the communication processing control unit 63 outputs a start condition according to I3C and transmits an ST message instructing the start of a time-synchronized operation. In response to this, the image sensor 22-1 and the gyro sensor 23 perform time synchronization with the time synchronization counter 62 of the AP 31 as described above with reference to Fig. 3. Then, at a timing according to the time-synchronized sampling period, the image sensor 22-1 starts imaging, and the gyro sensor 23 starts detecting an angular velocity.
[0077] In step S14, the communication processing control unit 63 issues a read request according to I3C, reads out the angular velocity data and the sampling time data from the gyro sensor 23, and stores them in the register 64.
[0078] In step S15, the image data receiving unit 61 receives image data transmitted from the image sensor 22-1 in accordance with C-PHY or D-PHY, and supplies the image data to the data integrating unit 65. At this time, the image data receiving unit 61 acquires imaging time data stored in the CSI-2 Embedded Data Packet, and supplies the image data to the data integrating unit 65.
[0079] In step S16, the data integration unit 65 reads from the register 64 angular velocity data of sampling time data indicating the same timing as the imaging time data of the image data supplied in step S15, and performs sensor fusion processing to integrate these data. That is, the data integration unit 65 compares the imaging time data of the image data received via C-PHY or D-PHY with the sampling time data of the angular velocity data received via I3C, and performs sensor fusion processing such as correcting image distortion according to the drone's attitude calculated from the angular velocity according to these times.
[0080] In step S17, the information processing unit 66 determines whether or not it has reached the synchronization maintaining timing set from the error acquired in step S11. For example, based on the error of the time synchronization counter 42-1 of the image sensor 22-1 and the error of the time synchronization counter 52 of the gyro sensor 23, the information processing unit 66 can set in advance as the synchronization maintaining timing a predetermined timing before the errors are accumulated and synchronization is assumed to be lost.
[0081] In step S17, if the information processing unit 66 determines that the synchronization maintenance timing has arrived, the process returns to step S13. That is, in this case, in step S13, the start condition is output again, and the ST message is transmitted again. In response to this, in the image sensor 22-1 and the gyro sensor 23, time synchronization is newly maintained with the time synchronization counter 62 of the AP 31 as described above with reference to FIG. 3, and the same process is repeated thereafter.
[0082] On the other hand, if the information processing section 66 determines in step S17 that the synchronization maintenance timing has not arrived, the process proceeds to step S18.
[0083] In step S18, the information processing section 66 determines whether or not to stop synchronization between the image sensor 22-1 and the gyro sensor 23.
[0084] In step S18, if the information processing unit 66 determines not to stop synchronization between the image sensor 22-1 and the gyro sensor 23, the process returns to step S14. That is, in this case, since it is not the synchronization maintenance timing and the synchronization is not stopped, the operation of acquiring image data and angular velocity data while maintaining the current time synchronization is similarly repeated thereafter.
[0085] On the other hand, if the information processing section 66 determines in step S18 to stop synchronization between the image sensor 22-1 and the gyro sensor 23, the process proceeds to step S19.
[0086] In step S19, the communication processing control unit 63 transmits an EXIT message (SETXTIME CCC with ST Sub-Command) instructing the end of the time-synchronized operation, and ends the output control processing based on the time synchronization.
[0087] The flowchart shown in FIG. 6 is a flowchart for explaining the output control process based on time synchronization that is performed by the image sensor 22-1.
[0088] In step S31, the communication processing control unit 44-1 transmits the frequency and error of the time synchronization counter 42-1 in response to a request from the communication processing control unit 63 of the AP 31 (see step S11 in FIG. 5).
[0089] In step S32, the communication processing control unit 44-1 receives the delay time and sampling period transmitted in step S12 of FIG. 5, and sets them in the register 43-1.
[0090] In step S33, the communication processing control unit 44-1 determines whether or not a start condition has been detected, and waits until it is determined that the start condition has been detected. For example, when the communication processing control unit 63 of the AP 31 outputs a start condition in step S13 of Fig. 5, the communication processing control unit 44-1 determines that the start condition has been detected, and the process proceeds to step S34.
[0091] In step S34, the communication processing control section 44-1 notifies the time synchronization counter 42-1 of the detection of the start condition, and the time synchronization counter 42-1 causes the register 43-1 to hold the count value at the time when the detection of the start condition is notified.
[0092] In step S35, the communication processing control unit 44-1 determines whether or not an ST message has been received, and waits until it is determined that the ST message has been received. For example, when the communication processing control unit 44-1 receives the ST message transmitted by the communication processing control unit 63 of the AP 31 in step S13 of FIG. 5, it determines that the ST message has been received, and the process proceeds to step S36.
[0093] In step S36, the communication processing control unit 44-1 notifies the time synchronization counter 42-1 of the ST message reception, and the time synchronization counter 42-1 calculates a new count value to be set as described above with reference to Fig. 3. Then, the time synchronization counter 42-1 sets the calculated count value, thereby achieving time synchronization with the time synchronization counter 62 of the AP 31.
[0094] In step S37, the imaging element 41-1 captures an image in accordance with the sampling period, and outputs the image data acquired by the imaging to the image data transmission unit 45-1.
[0095] In step S38, the time synchronization counter 42-1 acquires the count value at the timing when the image sensor 41-1 captured an image in step S37 as image capture time data, and stores it in the register 43-1.
[0096] In step S39, when it is time to transmit image data from the image sensor 22-1, the image data transmission unit 45-1 reads out, from the register 43-1, the imaging time data of the image data supplied from the image sensor 41-1 in step S37. Then, the image data transmission unit 45-1 transmits the image data in which the imaging time data is stored to the AP 31 in accordance with C-PHY or D-PHY.
[0097] In step S40, the communication processing control unit 44-1 determines whether or not an EXIT message has been received. For example, when the EXIT message transmitted by the communication processing control unit 63 of the AP 31 in step S19 of FIG. 5 is received, the communication processing control unit 44-1 can determine that the EXIT message has been received.
[0098] If the communication processing control unit 44-1 determines in step S40 that an EXIT message has not been received, the process proceeds to step S41.
[0099] In step S41, the communication processing control unit 44-1 determines whether or not a start condition has been detected. For example, when a start condition is output again in step S13 after it has been determined in step S17 of Fig. 5 that the synchronization maintenance timing has arrived, the communication processing control unit 44-1 can determine that a start condition has been detected.
[0100] In step S41, if the communication processing control unit 44-1 determines that the start condition has been detected, the process returns to step S34. That is, in this case, time synchronization is newly maintained with the time synchronization counter 62 of the AP 31 as described above with reference to FIG. 3, and thereafter, the same process is repeated.
[0101] On the other hand, if in step S41 the communication processing control unit 44-1 determines that the start condition has not been detected, the process returns to step S37, and the operation of transmitting image data while maintaining the current time synchronization is similarly repeated thereafter.
[0102] On the other hand, if the communication processing control unit 44-1 determines in step S40 that an EXIT message has been received, the output control processing based on time synchronization is terminated.
[0103] FIG. 7 is a flowchart illustrating a process involving time synchronization performed by the gyro sensor 23.
[0104] In steps S51 to S56, the same processes as in steps S31 to S36 in Fig. 6 are performed. Then, in step S56, the time synchronization counter 52 calculates a new count value to be set, thereby achieving time synchronization with the time synchronization counter 62 of the AP 31.
[0105] In step S57, the detection unit 51 detects the angular velocity in accordance with the sampling period, and writes the angular velocity data obtained by the detection into the register 53.
[0106] In step S58, the time synchronization counter 52 acquires the count value at the timing when the detection unit 51 detected the angular velocity in step S57 as sampling time data, and writes the sampling time data in the register 53 at an address adjacent to the angular velocity data.
[0107] In step S59, the communication processing control unit 54 reads out the angular velocity data and the sampling time data from the register 53 and transmits them to the AP 31 in response to a read request according to I3C made by the communication processing control unit 63 of the AP 31 in step S14 of FIG.
[0108] Thereafter, in steps S60 and S61, the same processes as in steps S40 and S41 in FIG. 6 are performed.
[0109] As described above, in the communication system 11, even if the image data and the angular velocity data are transmitted through different transmission paths, appropriate output control can be performed based on time synchronization using the timing control defined in I3C.
[0110] <Second processing example of output control based on time synchronization> As a second processing example of output control based on time synchronization, output control for data passing through the same transmission path will be described with reference to FIGS.
[0111] In the communication system 11 shown in Fig. 8, the image sensors 22-1 and 22-2 and the AP 31 used to explain the second processing example of the output control based on time synchronization are shown among the blocks constituting the communication system 11 shown in Fig. 1. That is, when the image data transmitted from the image sensor 22-1 to the AP 31 by C-PHY or D-PHY and the image data transmitted from the image sensor 22-2 to the AP 31 by C-PHY or D-PHY pass through the same transmission path, the output control based on time synchronization is performed on each image data.
[0112] The image sensor 22-1 is configured to include an image sensor 41-1, a time synchronization counter 42-1, a register 43-1, a communication processing control unit 44-1, and an image data transmission unit 45-1, similar to that described above with reference to Fig. 2. The image sensor 22-2 is configured to include an image sensor 41-2, a time synchronization counter 42-2, a register 43-2, a communication processing control unit 44-2, and an image data transmission unit 45-2, similar to that described above with respect to the image sensor 22-1.
[0113] The AP 31 is configured to include an image data receiving unit 61, a time synchronization counter 62, a communication processing control unit 63, a register 64, a data integration unit 65, and an information processing unit 66, similar to that described above with reference to FIG.
[0114] In the second processing example of output control based on time synchronization, the information processing unit 66 of the AP 31 sets image output timing that instructs the timing of outputting images from each of the image sensors 22-1 and 22-2. Then, the information processing unit 66 transmits the image output timing together with setting values such as delay time and sampling period to the image sensors 22-1 and 22-2 via the communication processing control unit 63.
[0115] In the image sensor 22-1, the communication processing control unit 44-1 receives the image output timing and causes it to be stored in the register 43-1, and in the image sensor 22-2, the communication processing control unit 44-2 receives the image output timing and causes it to be stored in the register 43-2.
[0116] Therefore, in the image sensor 22-1, the image data transmission unit 45-1 can transmit image data in which imaging time data is stored to the AP 31 in accordance with C-PHY or D-PHY based on the image output timing held in the register 43-1. Similarly, in the image sensor 22-2, the image data transmission unit 45-2 can transmit image data in which imaging time data is stored to the AP 31 in accordance with C-PHY or D-PHY based on the image output timing held in the register 43-2.
[0117] As a result, in the communication system 11, for example, image data can be transmitted from the image sensors 22-1 and 22-2 over the same transmission path by utilizing part of the timing control defined in I3C, without providing a signal line for transmitting a synchronization signal from the outside.
[0118] The operation of output control based on time synchronization performed between the image sensors 22-1 and 22-2 and the AP 31 will be described with reference to FIG.
[0119] 9, the time synchronization counter 42-1 of the image sensor 22-1 operates at the same clock frequency as the time synchronization counter 62 of the AP 31, and the time synchronization counter 42-2 of the image sensor 22-2 operates at half the clock frequency of the time synchronization counter 62 of the AP 31. Note that the following description will be given without taking into consideration phase shifts in either case.
[0120] First, in the second processing example of output control based on time synchronization, as described above with reference to Figure 3, an ST message is sent following the output of a start condition, and time synchronization is performed with time t00 as the origin.
[0121] 9, the image output timing of the image sensor 22-1 is set to be two clocks after the timing at which imaging is performed according to the sampling cycle, and the image output timing of the image sensor 22-2 is set to be five clocks after the timing at which imaging is performed according to the sampling cycle.
[0122] Therefore, in the image sensor 22-1, the image data transmission unit 45-1 transmits image data having imaging time data stored therein to the AP 31 in accordance with C-PHY or D-PHY at a timing two clocks after the time t03 when imaging is performed in accordance with the sampling cycle (CIS-1_Count=18 in the example of FIG. 9). Similarly, in the image sensor 22-2, the image data transmission unit 45-2 transmits image data having imaging time data stored therein to the AP 31 in accordance with C-PHY or D-PHY at a timing five clocks after the time t03 when imaging is performed in accordance with the sampling cycle (CIS-2_Count=13 in the example of FIG. 9).
[0123] In this manner, in the communication system 11, by using image output timings that each specify a different timing, it is possible to avoid signal collisions on the bus when transmitting image data via the same transmission path.
[0124] Also, in the second processing example of output control based on time synchronization, as described above with reference to Figure 3, AP31 can re-output the start condition and re-send the ST message at the synchronization maintenance timing before it is expected that synchronization will be lost, thereby newly maintaining time synchronization.
[0125] The flowchart shown in FIG. 10 is a flowchart for explaining output control processing based on time synchronization performed by the AP 31.
[0126] For example, the process starts when the communication system 11 is started. In step S71, the information processing unit 66 acquires, via the communication processing control unit 63, the frequency and error of the time synchronization counter 42-1 of the image sensor 22-1, and the frequency and error of the time synchronization counter 42-2 of the image sensor 22-2.
[0127] In step S72, the information processing unit 66 sets a delay time, a sampling period, and an image output timing in accordance with the frequency of the time synchronization counter 42-1 of the image sensor 22-1 obtained in step S71, and transmits them to the image sensor 22-1 via the communication processing control unit 63. Similarly, the information processing unit 66 sets a delay time, a sampling period, and an image output timing in accordance with the frequency of the time synchronization counter 42-2 of the image sensor 22-2 obtained in step S71, and transmits them to the image sensor 22-2 via the communication processing control unit 63.
[0128] In step S73, the communication processing control unit 63 outputs a start condition according to I3C and transmits an ST message instructing the start of a time-synchronized operation. In response to this, the image sensors 22-1 and 22-2 perform time synchronization with the time synchronization counter 62 of the AP 31 as shown in Fig. 9. Then, the image sensors 22-1 and 22-2 start capturing images at a timing according to the time-synchronized sampling period.
[0129] In step S74, the image data receiving unit 61 receives image data transmitted in accordance with the image output timing of each of the image sensors 22-1 and 22-2 according to C-PHY or D-PHY, and supplies the image data to the data integrating unit 65. At this time, the image data receiving unit 61 acquires imaging time data stored in the CSI-2 Embedded Data Packet, and supplies the image data to the data integrating unit 65.
[0130] After that, in steps S75 to S77, the same processes as those in steps S17 to S19 in FIG. 5 are performed on the image sensors 22-1 and 22-2.
[0131] 11 is a flowchart explaining the output control process based on time synchronization performed by the image sensors 22-1 and 22-2. Note that since the image sensors 22-1 and 22-2 perform similar processes, the image sensors 22-1 and 22-2 will be referred to simply as the image sensor 22 below as appropriate, and each component constituting the image sensors 22-1 and 22-2 will also be referred to in the same manner.
[0132] In step S81, the communication processing control unit 44 transmits the frequency and error of the time synchronization counter 42 in response to a request from the communication processing control unit 63 of the AP 31 (see step S71 in FIG. 10).
[0133] In step S82, the communication processing control unit 44 receives the delay time, sampling period, and image output timing transmitted in step S72 of FIG.
[0134] Thereafter, in steps S83 to S88, the same processes as in steps S33 to S38 in FIG. 6 are performed.
[0135] Then, in step S89, the image data transmission unit 45 transmits the image data in which the imaging time data is stored to the AP 31 based on the image output timing stored in the register 43, in accordance with C-PHY or D-PHY.
[0136] Thereafter, in steps S90 and S91, the same processes as in steps S40 and S41 in FIG. 6 are performed.
[0137] As described above, in the communication system 11, even if a plurality of image data are transmitted through the same transmission path, appropriate output control can be performed based on time synchronization using timing control defined by I3C. Note that in the communication system 11, since the AP 31 side knows the image output timing according to the sampling period, even if the image data does not store image capture time data, the image capture time can be recognized from the timing at which the image data is transmitted. In other words, in the output control for data passing through the same transmission path, it is not essential to store image capture time data in the image data, that is, image capture time data does not necessarily have to be output, and it is sufficient to control the output of image data according to the image output timing.
[0138] In the communication system 11, the following two control methods can be used to control the image output timing.
[0139] In the first control method, as shown in FIG. 12, output control is performed so that each image sensor 22 continuously outputs images by calculating and controlling the timing at which to start AD conversion for each line of the image from the specified image output timing.
[0140] In the second control method, each image sensor 22 simultaneously performs AD conversion on all lines of the image, stores the image data in a RAM or the like, and then performs output control to output the image data according to a specified image output timing.
[0141] For example, the first control method has the advantage that, while the output control is more complicated than the second control method, a RAM is not required and a configuration having an AD conversion circuit for one line is sufficient, thereby minimizing the circuit scale. Also, in the first control method, the output control can be realized by specifying the timing to start AD conversion of the first line as the image output timing specified by AP31.
[0142] As described above, the communication system 11 can perform sensor fusion processing using data sampled at the same timing even if data overtakes as described above with reference to Fig. 3. Furthermore, the communication system 11 can be configured to eliminate the need for a signal line for transmitting a synchronization signal from the outside, and can reduce the number of pins of the AP 31.
[0143] Furthermore, since the communication system 11 performs time synchronization using timing control defined in the I3C standard, it can reliably control the output of various sensors that adopt the I3C standard. Also, the communication system 11 does not need to perform processing such as transmitting a synchronization signal for each sampling period, and only needs to retransmit an ST message when the synchronization maintenance timing occurs, thereby reducing the processing load of the AP 31.
[0144] Furthermore, since the communication system 11 performs time synchronization using timing control defined by the I3C standard, it is possible to eliminate the need for a dedicated synchronization control mechanism for controlling image output timing, for example.
[0145] The communication system 11 may be configured to be capable of executing both the first and second processing examples described above, or may be configured to be capable of executing only one of them.
[0146] <Implementation example of image sensor, gyro sensor, and AP> 13 to 15, implementation examples of the image sensor 22, the gyro sensor 23, and the AP 31 will be described.
[0147] FIG. 13 shows an example implementation of the image sensor 22.
[0148] As shown in FIG. 13, the image sensor 22 is configured to include pixels 101, an AD converter 102, an image processing unit 103, a CSI-2 transmitter 104, a physical layer processing unit 105, an I2C / I3C slave 106, a CCI slave 107, a register 108, and a time synchronization counter 109.
[0149] The pixels 101, the AD converter 102, and the image processing unit 103 constitute, for example, the image sensor 41-1 in Fig. 2. That is, the pixels 101 output pixel signals according to the amount of received light, and the AD converter 102 converts the pixel signals into digital values and supplies them to the image processing unit 103. The image processing unit 103 then supplies image data obtained by performing image processing to construct an image from the pixel signals to a CSI-2 transmitter 104.
[0150] The CSI-2 transmitter 104 and the physical layer processing unit 105 constitute, for example, the image data transmission unit 45-1 in Fig. 2. That is, the CSI-2 transmitter 104 transmits the image data supplied from the image processing unit 103 in accordance with CSI-2, and the physical layer processing unit 105 transmits the image data to the AP 31 in accordance with C-PHY or D-PHY.
[0151] The I2C / I3C slave 106 and the CCI (Camera Control Interface) slave 107 constitute, for example, the communication processing control unit 44-1 in Fig. 2. That is, the I2C / I3C slave 106 performs communication processing according to I2C or I3C controlled primarily by the I2C / I3C master 127 of the AP 31, and the CCI slave 107 performs communication processing according to CCI controlled primarily by the CCI master 126 of the AP 31. For example, the I2C / I3C slave 106 notifies the time synchronization counter 109 of the detection of a start condition, an ST message, and an EXIT message.
[0152] 2. That is, setting values such as delay time, sampling period, and image output timing are written to the register 108 via the I2C / I3C slave 106 and the CCI slave 107. The register 108 also holds imaging time data (sampling time) output from a time synchronization counter 109, and the imaging time data is read out by the CSI-2 transmitter 104.
[0153] The time synchronization counter 109 corresponds to the time synchronization counter 42-1 in Fig. 2. That is, the time synchronization counter 109 reads out setting values such as a delay time, a sampling period, and an image output timing from the register 108, performs time synchronization, and instructs the pixels 101 on the timing to start imaging and the AD converter 102 on the timing to start A / D conversion.
[0154] FIG. 14 shows an example of how the gyro sensor 23 is mounted.
[0155] As shown in FIG. 14, the gyro sensor 23 includes a sensor 111, an I2C / I3C slave 112, a CCI slave 113, a register 114, and a time synchronization counter 115.
[0156] The sensor 111 corresponds to the detection unit 51 in Fig. 2. That is, the sensor 111 detects an angular velocity at a predetermined sampling period, and writes the angular velocity data to a register 114.
[0157] The I2C / I3C slave 112 and the CCI slave 113 constitute, for example, the communication processing control unit 54 in Fig. 2. That is, the I2C / I3C slave 112 performs communication processing according to I2C or I3C controlled primarily by the I2C / I3C master 127 of the AP 31, and the CCI slave 113 performs communication processing according to CCI controlled primarily by the CCI master 126 of the AP 31. For example, the I2C / I3C slave 112 notifies the time synchronization counter 115 of detection of a start condition, an ST message, and an EXIT message.
[0158] 2. That is, setting values such as a delay time and a sampling period are written to the register 114 via the I2C / I3C slave 112 and the CCI slave 113. The register 114 also holds sampling time data output from a time synchronization counter 115, and the angular velocity data and the sampling time data are transmitted to the AP 31 via the I2C / I3C slave 112 and the CCI slave 113.
[0159] The time synchronization counter 115 corresponds to the time synchronization counter 52 in Fig. 2. That is, the time synchronization counter 115 reads out set values such as delay time and sampling period from the register 114, performs time synchronization, and instructs the sensor 111 on the timing to start detection.
[0160] FIG. 15 shows an example of an implementation of AP31.
[0161] As shown in FIG. 15, the AP 31 is configured to include a physical layer processing unit 121, a CSI-2 receiver 122, a sensor fusion processing unit 123, a register 124, a time synchronization counter 125, a CCI master 126, an I2C / I3C master 127, a memory unit 128, and a processor 129.
[0162] 2. That is, the physical layer processing unit 121 receives image data transmitted from the image sensor 22 in accordance with C-PHY or D-PHY, and the CSI-2 receiver 122 receives the image data in accordance with CSI-2. Then, the CSI-2 receiver 122 outputs the image data to a data bus and supplies the image data and imaging time data to the sensor fusion processing unit 123.
[0163] The sensor fusion processing unit 123 corresponds to the data integration unit 65 in Fig. 2. That is, the sensor fusion processing unit 123 reads out angular velocity data (sensor data) of sampling time data indicating the same timing as the imaging time data from the register 124, and performs sensor fusion processing such as correcting image data.
[0164] 2, and the time synchronization counter 125 corresponds to the time synchronization counter 62 in FIG.
[0165] The CCI master 126 and the I2C / I3C master 127 constitute, for example, the communication processing control unit 63 in Fig. 2. That is, the CCI master 126 primarily controls communication processing according to CCI, and the I2C / I3C master 127 primarily controls communication processing according to I2C or I3C. For example, the I2C / I3C master 127 transmits an ST message and an EXIT message according to the timing instructed by the time synchronization counter 125.
[0166] The memory unit 128 and the processor 129 constitute, for example, the information processing unit 66 in FIG.
[0167] <Computer configuration example> FIG. 16 is a block diagram showing an example of the hardware configuration of a computer that executes the above-mentioned series of processes by a program.
[0168] In the computer, a CPU (Central Processing Unit) 201, a ROM (Read Only Memory) 202, a RAM (Random Access Memory) 203, and an EEPROM (Electronically Erasable and Programmable Read Only Memory) 204 are interconnected via a bus 205. An input / output interface 206 is further connected to the bus 205, and the input / output interface 206 is connected to the outside.
[0169] In the computer configured as above, the CPU 201 performs the above-mentioned series of processes by, for example, loading the programs stored in the ROM 202 and EEPROM 204 into the RAM 203 via the bus 205 and executing them. Furthermore, the programs executed by the computer (CPU 201) can be written in advance into the ROM 202, or can be installed or updated in the EEPROM 204 from the outside via the input / output interface 206.
[0170] Here, in this specification, the processing performed by a computer according to a program does not necessarily have to be performed in chronological order according to the order described in the flowchart. In other words, the processing performed by a computer according to a program also includes processing executed in parallel or individually (for example, parallel processing or processing by objects).
[0171] The program may be processed by one computer (processor), or may be distributed among multiple computers. Furthermore, the program may be transferred to a remote computer for execution.
[0172] Furthermore, in this specification, a system refers to a collection of multiple components (devices, modules (parts), etc.), regardless of whether all the components are in the same housing. Therefore, multiple devices housed in separate housings and connected via a network, and a single device in which multiple modules are housed in a single housing, are both systems.
[0173] Also, for example, the configuration described above as one device (or processing unit) may be divided and configured as multiple devices (or processing units). Conversely, the configurations described above as multiple devices (or processing units) may be combined and configured as one device (or processing unit). Also, it is of course possible to add configurations other than those described above to the configuration of each device (or each processing unit). Furthermore, as long as the configuration and operation of the system as a whole are substantially the same, part of the configuration of one device (or processing unit) may be included in the configuration of another device (or other processing unit).
[0174] Furthermore, for example, the present technology can be configured as cloud computing, in which a single function is shared and processed collaboratively by multiple devices via a network.
[0175] Furthermore, for example, the above-mentioned program can be executed in any device, as long as the device has the necessary functions (functional blocks, etc.) and can obtain the necessary information.
[0176] Also, for example, each step described in the above flow chart can be executed by one device, or can be shared and executed by multiple devices. Furthermore, when one step includes multiple processes, the multiple processes included in the one step can be executed by one device, or can be shared and executed by multiple devices. In other words, multiple processes included in one step can be executed as multiple step processes. Conversely, processes described as multiple steps can be executed collectively as one step.
[0177] In addition, the processing of the steps of the program executed by the computer may be executed in chronological order according to the order described in this specification, or may be executed in parallel, or individually at a necessary timing such as when a call is made. In other words, the processing of each step may be executed in an order different from the order described above, as long as no contradiction occurs. Furthermore, the processing of the steps of the program may be executed in parallel with the processing of another program, or may be executed in combination with the processing of another program.
[0178] In addition, the present technologies described in this specification can be implemented independently and individually, as long as there is no contradiction. Of course, any of the present technologies can be implemented in combination. For example, a part or all of the present technology described in any of the embodiments can be implemented in combination with a part or all of the present technology described in another embodiment. In addition, any of the present technologies described above can be implemented in combination with other technologies not described above.
[0179] <Examples of configuration combinations> The present technology can also be configured as follows. (1) a communication processing control unit that controls communication processing in accordance with a predetermined standard between the communication device and a plurality of other communication devices; a time synchronization counter for realizing timing control defined in the above standard; an information processing unit that performs information processing necessary for output control to cause other time synchronization counters provided in the other communication devices, respectively, to be time-synchronized with the time synchronization counter and to output sampling data sampled at a predetermined sampling period in the other communication devices; Equipped with The information processing unit performs output control to output, together with the sampling data, time data indicating the timing at which the sampling data was sampled. Communications equipment. (2) the information processing unit, in a configuration in which a first other communication device and a second other communication device among the plurality of other communication devices transmit the sampling data via different transmission paths, performs output control to output, together with the sampling data, time data indicating a timing at which the sampling data was sampled; a data receiving unit that receives, via a first transmission path, first sampling data transmitted from the first other communication device and first time data indicating a timing according to the other time synchronization counter of the first other communication device at which the first sampling data was sampled, and receives, via a second transmission path, second sampling data transmitted from the second other communication device and second time data indicating a timing according to the other time synchronization counter of the second other communication device at which the second sampling data was sampled. The communication device according to (1) above, further comprising: (3) a data integration unit that integrates the second sampling data transmitted from the second other communication device with the first sampling data of the first time data indicating the same timing as the second time data of the second sampling data; The communication device according to (2) above, further comprising: (4) In a configuration in which the other communication devices transmit the sampling data via the same transmission path, the information processing unit does not necessarily perform output control to output the time data, but sets output timing to instruct the other communication devices to output the sampling data at different timings. A communication device according to any one of (1) to (3) above. (5) a data receiving section for receiving the sampling data transmitted from the plurality of other communication devices via the transmission path; The communication device according to (4) above, further comprising: (6) A communication device Controlling communication processing between the communication device and a plurality of other communication devices in accordance with a predetermined standard; performing information processing necessary for output control in which a time synchronization counter for realizing timing control defined in the standard is time-synchronized with other time synchronization counters provided in each of the plurality of other communication devices, and sampling data sampled at a predetermined sampling period is output in the plurality of other communication devices; Including, Output control is performed to output the sampling data together with time data indicating the timing at which the sampling data was sampled. Communication methods. (7) A computer of the communication device Controlling communication processing between the communication device and a plurality of other communication devices in accordance with a predetermined standard; performing information processing necessary for output control in which a time synchronization counter for realizing timing control defined in the standard is time-synchronized with other time synchronization counters provided in each of the plurality of other communication devices, and sampling data sampled at a predetermined sampling period is output in the plurality of other communication devices; Including, Output control is performed to output time data indicating the timing at which the sampling data was sampled together with the sampling data. A program for executing communication processes. (8) A communication device, comprising: A sampling unit that samples sampling data at a predetermined sampling period; a communication processing control unit that controls communication processing between the communication device and another communication device in accordance with a predetermined standard; A time synchronization counter for realizing the timing control defined in the above standard; Equipped with According to output control by the other communication device, the time synchronization counter synchronizes with another time synchronization counter included in the other communication device, and outputs, together with the sampling data, time data indicating the timing at which the sampling data was sampled. Communications equipment. (9) In a configuration in which a first communication device and a second communication device among the plurality of communication devices transmit the sampling data via different transmission paths, In the other communication device, the second sampling data transmitted from the second communication device is integrated with first sampling data of first time data transmitted from the first communication device, the first sampling data indicating the same timing as the second time data of the second sampling data. The communication device according to (8) above. (10) In a configuration in which a plurality of the communication devices transmit the sampling data via the same transmission path, Each of the communication devices does not necessarily output the time data, but outputs the sampling data according to an output timing set by the other communication devices and instructing each of the communication devices to output the sampling data at different timings. A communication device according to (8) or (9) above. (11) A communication device Sampling the sampling data at a predetermined sampling period; Controlling communication processing between the communication device and another communication device in accordance with a predetermined standard; According to output control by the other communication device, a time synchronization counter for realizing timing control defined in the standard synchronizes with another time synchronization counter included in the other communication device, and outputs, together with the sampling data, time data indicating the timing at which the sampling data was sampled. A communication method including: (12) A computer of the communication device Sampling the sampling data at a predetermined sampling period; Controlling communication processing between the communication device and another communication device in accordance with a predetermined standard; According to output control by the other communication device, a time synchronization counter for realizing timing control defined in the standard synchronizes with another time synchronization counter included in the other communication device, and outputs, together with the sampling data, time data indicating the timing at which the sampling data was sampled. A program for executing communication processing including the above.
[0180] In addition, the present embodiment is not limited to the above-described embodiment, and various modifications are possible without departing from the scope of the present disclosure. In addition, the effects described in this specification are merely examples and are not limiting, and other effects may be obtained. [Explanation of symbols]
[0181] 11 communication system, 21 distance measurement sensor, 22 image sensor, 23 gyro sensor, 24 acceleration sensor, 25 position sensor, 26 atmospheric pressure sensor, 31 AP, 41 imaging element, 42 time synchronization counter, 43 register, 44 communication processing control unit, 45 image data transmission unit, 51 detection unit, 52 time synchronization counter, 53 register, 54 communication processing control unit, 61 image data reception unit, 62 time synchronization counter, 63 communication processing control unit, 64 register, 65 data integration unit, 66 information processing unit
Claims
1. a communication processing control unit that controls communication processing in accordance with a predetermined standard between the communication device and a plurality of other communication devices; a time synchronization counter for realizing timing control defined in the above standard; an information processing unit that performs information processing necessary for output control to cause other time synchronization counters provided in the other communication devices, respectively, to be time-synchronized with the time synchronization counter and to output sampling data sampled at a predetermined sampling period in the other communication devices; Equipped with the information processing unit performs output control to output, together with the sampling data, time data indicating the timing at which the sampling data was sampled; The time synchronization counter completes one revolution at least once every two or more sampling periods. Communications equipment.
2. the information processing unit performs output control to output, together with the sampling data, time data indicating a timing at which the sampling data was sampled, in a configuration in which a first other communication device and a second other communication device among the plurality of other communication devices transmit the sampling data via different transmission paths; a data receiving unit that receives, via a first transmission path, first sampling data transmitted from the first other communication device and first time data indicating a timing according to the other time synchronization counter of the first other communication device at which the first sampling data was sampled, and receives, via a second transmission path, second sampling data transmitted from the second other communication device and second time data indicating a timing according to the other time synchronization counter of the second other communication device at which the second sampling data was sampled. The communication device of claim 1 further comprising:
3. a data integration unit that integrates the second sampling data transmitted from the second other communication device with the first sampling data of the first time data indicating the same timing as the second time data of the second sampling data; The communication device of claim 2 , further comprising:
4. In a configuration in which the other communication devices transmit the sampling data via the same transmission path, the information processing unit does not necessarily perform output control to output the time data, but sets output timing to instruct the other communication devices to output the sampling data at different timings. The communication device according to claim 1 .
5. a data receiving section for receiving the sampling data transmitted from the plurality of other communication devices via the transmission path; The communication device of claim 4 further comprising:
6. A communication device Controlling communication processing between the communication device and a plurality of other communication devices in accordance with a predetermined standard; performing information processing necessary for output control in which a time synchronization counter for realizing timing control defined in the standard is time-synchronized with other time synchronization counters provided in each of the plurality of other communication devices, and sampling data sampled at a predetermined sampling period is output in the plurality of other communication devices; Including, performing output control to output, together with the sampling data, time data indicating the timing at which the sampling data was sampled; The time synchronization counter completes one revolution at least once every two or more sampling periods. Communication methods.
7. A computer of the communication device Controlling communication processing between the communication device and a plurality of other communication devices in accordance with a predetermined standard; performing information processing necessary for output control in which a time synchronization counter for realizing timing control defined in the standard is time-synchronized with other time synchronization counters provided in each of the plurality of other communication devices, and sampling data sampled at a predetermined sampling period is output in the plurality of other communication devices; Including, performing output control to output, together with the sampling data, time data indicating the timing at which the sampling data was sampled; The time synchronization counter completes one revolution at least once every two or more sampling periods. A program for executing communication processes.
8. 1. A communication device, comprising: A sampling unit that samples sampling data at a predetermined sampling period; a communication processing control unit that controls communication processing between the communication device and another communication device in accordance with a predetermined standard; A time synchronization counter for realizing the timing control defined in the above standard; Equipped with According to an output control by the other communication device, the time synchronization counter synchronizes with another time synchronization counter included in the other communication device, and outputs, together with the sampling data, time data indicating a timing at which the sampling data was sampled; The time synchronization counter completes one revolution at least once every two or more sampling periods. Communications equipment.
9. In a configuration in which a first communication device and a second communication device among the plurality of communication devices transmit the sampling data via different transmission paths, In the other communication device, the second sampling data transmitted from the second communication device is integrated with first sampling data of first time data transmitted from the first communication device, the first sampling data indicating the same timing as the second time data of the second sampling data. The communication device according to claim 8.
10. In a configuration in which a plurality of the communication devices transmit the sampling data via the same transmission path, Each of the communication devices does not necessarily output the time data, but outputs the sampling data according to an output timing set by the other communication devices and instructing each of the communication devices to output the sampling data at different timings. The communication device according to claim 8.
11. A communication device Sampling the sampling data at a predetermined sampling period; Controlling communication processing between the communication device and another communication device in accordance with a predetermined standard; According to output control by the other communication device, a time synchronization counter for realizing timing control defined in the standard synchronizes with another time synchronization counter included in the other communication device, and outputs, together with the sampling data, time data indicating the timing at which the sampling data was sampled. Including, The time synchronization counter completes one revolution at least once every two or more sampling periods. Communication methods.
12. A computer of the communication device Sampling the sampling data at a predetermined sampling period; Controlling communication processing between the communication device and another communication device in accordance with a predetermined standard; According to output control by the other communication device, a time synchronization counter for realizing timing control defined in the standard synchronizes with another time synchronization counter included in the other communication device, and outputs, together with the sampling data, time data indicating the timing at which the sampling data was sampled. Including, The time synchronization counter completes one revolution at least once every two or more sampling periods. A program for executing communication processes.
Citation Information
Patent Citations
Functional device, electronic apparatus, movable body, synchronous control system, operation method of functional device and synchronous control method
JP2015076805A
Communication device
JP2015198399A
Processing device, image sensor and system
JP2017212690A
