WO2021035645A1 - 传感系统、传感设备及其控制方法、可移动平台和存储介质 - Google Patents
传感系统、传感设备及其控制方法、可移动平台和存储介质 Download PDFInfo
- Publication number
- WO2021035645A1 WO2021035645A1 PCT/CN2019/103438 CN2019103438W WO2021035645A1 WO 2021035645 A1 WO2021035645 A1 WO 2021035645A1 CN 2019103438 W CN2019103438 W CN 2019103438W WO 2021035645 A1 WO2021035645 A1 WO 2021035645A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- time
- sensor
- sensing system
- local
- sensing
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 71
- 230000001360 synchronised effect Effects 0.000 claims description 27
- 230000005540 biological transmission Effects 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 10
- 238000013480 data collection Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 11
- 230000002159 abnormal effect Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 238000007405 data analysis Methods 0.000 description 2
- 238000006073 displacement reaction Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000010845 search algorithm Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000007654 immersion Methods 0.000 description 1
- 230000001939 inductive effect Effects 0.000 description 1
- 239000007788 liquid Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0658—Clock or time synchronisation among packet nodes
- H04J3/0661—Clock or time synchronisation among packet nodes using timestamps
- H04J3/0664—Clock or time synchronisation among packet nodes using timestamps unidirectional timestamps
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D21/00—Measuring or testing not otherwise provided for
- G01D21/02—Measuring two or more variables by means not covered by a single other subclass
Definitions
- This specification relates to the field of sensor technology, and in particular to a sensing system, a sensing device and a control method thereof, a movable platform and a storage medium.
- embedded systems are becoming more and more complex, and the same embedded system may contain multiple control chips, multiple different operating systems (such as linux, RTOS), and sensors with multiple functions.
- Different systems collect environmental perception data through sensors and transmit the data to different upper-layer applications.
- the link delay for sensor data to reach different applications is often unpredictable.
- strict data synchronization is particularly important.
- this manual provides a sensing system, sensing equipment and its control method, removable platform and storage medium, aiming to solve the problem that the existing embedded system cannot be estimated due to the link delay of different applications. Technical issues such as accuracy cannot be strictly guaranteed.
- this specification provides a control method for a first sensing system, the first sensing system including a first sensor for collecting first sensing data, and the method includes:
- the time deviation value is determined according to the interruption time and the synchronization time stamp, wherein the time deviation value is used to compare the collection time of the first sensor data recorded according to the first local time axis and according to the second The collection moment of the second sensor data recorded on the local time axis is time synchronized.
- this specification provides a control method for sensing equipment.
- the sensing equipment includes a first sensing system and a second sensing system.
- the first sensing system includes a A first sensor for sensing data
- the second sensing system includes a second sensor for collecting second sensing data;
- the method includes:
- the first sensor system receives the interrupt request sent by the second sensor system, and determines the interrupt moment when the interrupt request is received, where the interrupt moment is a moment recorded according to the first local time axis, and the first A local time axis is the local time axis of the first sensing system;
- the first sensing system receives a synchronization time stamp sent by the second sensing system, where the synchronization time stamp is a time recorded according to a second local time axis when the interrupt request is sent, and the second local time axis Is the local time axis of the second sensing system;
- the first sensing system determines a time deviation value according to the interruption time and the synchronization time stamp, wherein the time deviation value is used to collect the first sensing data recorded according to the first local time axis
- the time is synchronized with the collection time of the second sensor data recorded according to the second local time axis.
- this specification provides a first sensing system, which includes a first sensor and a processor for collecting first sensing data;
- processor is used for:
- the time deviation value is determined according to the interruption time and the synchronization time stamp, wherein the time deviation value is used to compare the collection time of the first sensor data recorded according to the first local time axis and according to the second The collection moment of the second sensor data recorded on the local time axis is time synchronized.
- this specification provides a sensing device including the aforementioned first sensing system and a second sensing system, the second sensing system including a second sensor for collecting second sensing data .
- this specification provides a movable platform including the aforementioned first sensing system and a second sensing system, the second sensing system including a second sensor for collecting second sensing data .
- this specification provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and the computer program can be used by a processor to implement the above-mentioned method.
- the embodiments of this specification provide a sensing system, a sensing device and a control method thereof, a removable platform, and a storage medium.
- the interruption time is determined by receiving an interruption request sent by the second sensing system, and receiving from the second sensing system
- the synchronization time stamp when the interrupt request is sent to determine the time deviation value according to the interruption time and the synchronization time stamp. Because the sensor system responds to interrupt requests faster, and the transmission delay of interrupt requests is relatively low and relatively fixed, more accurate data synchronization between sensor systems can be achieved.
- FIG. 1 is a schematic flowchart of a control method for a sensing system provided by an embodiment of this specification
- Figure 2 is a schematic block diagram of a sensing device including a first sensing system and a second sensing system;
- FIG. 3 is a timing diagram of an embodiment of receiving an interrupt request and synchronizing a time stamp
- FIG. 4 is a timing diagram of another embodiment of receiving an interrupt request and a synchronized time stamp
- FIG. 5 is a schematic flowchart of a control method for a sensor device according to an embodiment of this specification
- Fig. 6 is a schematic block diagram of a first sensing system according to an embodiment of the present specification.
- Fig. 7 is a schematic block diagram of a sensing device provided by an embodiment of the present specification.
- Fig. 8 is a schematic block diagram of a movable platform provided by an embodiment of the present specification.
- FIG. 1 is a schematic flowchart of a control method for a sensing system according to an embodiment of this specification.
- the control method can be applied to a sensor device including a sensor, and is used to implement processes such as time synchronization of sensor data between different sensor systems.
- a certain sensor device includes at least one sensor system with the same time, and the sensor system can synchronize the time of sensor data with the sensor system of another sensor device according to the control method of this specification.
- a certain sensor device includes at least two time-inconsistent sensor systems, wherein a certain sensor system can perform sensor data between at least one other sensor system in the sensor device according to the control method of this specification Time synchronization.
- FIG. 2 is a schematic block diagram of a sensing device.
- the sensing device at least includes a first sensing system and a second sensing system.
- the first sensor system includes a first sensor A1, a first sensor B1, and a first sensor C1.
- the first sensor data of the first sensor in the first sensor system is stored after being stamped with the synchronization time stamp corresponding to the first local time axis In the first buffer; the first sensor data in the first buffer can be sent to the second sensor system after data analysis, and the second sensor system stores the first sensor data sent by the first sensor system in the second sensor system. Cache.
- the second sensor system includes a second sensor A2, a second sensor B2, and a second sensor C2.
- the second sensor data of the second sensor in the second sensor system is stored in the synchronization time stamp corresponding to the second local time axis.
- the second buffer; the second sensor data in the second buffer can be sent to the first sensor system after data analysis, and the first sensor system stores the second sensor data sent by the second sensor system in the first buffer .
- Application A1 and Application B1 in the first sensing system can search for the first sensing data and/or second sensing data in the first cache according to the synchronization time stamp of the sensing data;
- application B2 can search for the first sensor data and/or the second sensor data in the second cache according to the synchronization time stamp of the sensor data.
- the sensors in the sensing system include resistive sensors, capacitive sensors, inductive sensors, piezoelectric sensors, pyroelectric sensors, impedance sensors, magnetoelectric sensors, piezoelectric sensors, photoelectric sensors, Resonant sensor, Hall sensor, ultrasonic sensor, isotope sensor, electrochemical sensor, microwave sensor, ultrasonic sensor, temperature sensor, humidity sensor, gas sensor, pressure sensor, acceleration sensor, ultraviolet sensor, magnetic sensor, Magnetoresistive sensor, image sensor, power sensor, displacement sensor, pressure sensor, PH sensor, flow sensor, liquid level sensor, immersion sensor, illuminance sensor, differential pressure transmitter, acceleration sensor, displacement sensor, load cell, distance measurement At least one of the sensors.
- the sensing device is a movable platform.
- the movable platform includes at least one of the following: an unmanned aerial vehicle, a handheld pan-tilt, and a pan-tilt cart.
- the unmanned aerial vehicle can be a rotary-wing drone, such as a four-rotor drone, a hexa-rotor drone, an eight-rotor drone, or a fixed-wing drone.
- control method provided by the embodiment of this specification includes step S110 to step S130.
- control method is applied to the first sensing system for introduction.
- the first sensing system includes a first sensor for collecting first sensing data.
- S110 Receive an interrupt request sent by the second sensing system, and determine an interrupt moment when the interrupt request is received.
- the interruption time is a time recorded according to a first local time axis
- the first local time axis is a local time axis of the first sensing system.
- the local time axis of the first sensor system is the first local time axis, and the first sensor system sends and/or receives data according to the first local time axis;
- the local time axis is a second local time axis, and the second sensor system sends and/or receives data according to the second local time axis.
- the second sensor system sends an interrupt request to the first sensor system at time Local_timeB on the second local time axis.
- the first sensor system receives the interrupt request sent by the second sensor system at the time Local_timeA on the first local time axis, it is determined that the interrupt time at which the interrupt request is received is Local_timeA.
- the transmission time of interrupt requests and the response to interruption have little effect on the synchronization of time between different sensor systems. It can even be ignored.
- the first sensor system triggers an interrupt when it receives the interrupt request sent by the second sensor system, and determines the interrupt moment when the interrupt request is received.
- the interrupt includes a hardware interrupt and/or a soft interrupt.
- the hardware interrupt is an interrupt signal sent by a peripheral hardware device, such as an interrupt request, to process the interrupt immediately or after the current instruction is processed by the processor of the first sensor system.
- a soft interrupt is an interrupt processing caused by an interrupt request instruction, and the interrupt request instruction includes, for example, an interrupt number or an interrupt type code.
- an interrupt link is included between the first sensing system and the second sensing system.
- the signals in the interrupted link will be responded in time between different systems.
- the first sensor system receives the interrupt request sent by the second sensor system through an interrupt link with the second sensor system.
- the first sensing system triggers an interrupt when the interrupt signal in the interrupt link is detected, and determines the local time on the first local time axis when the interrupt is triggered as the interrupt time when the interrupt request is received.
- the processor of the first sensing system includes an interrupt pin, and the interrupt link with the second sensing system is determined by the interrupt pin.
- the first sensor system triggers an interrupt when it detects an interrupt request sent by the second sensor system through an interrupt pin connected to the second sensor system. I/O interrupts will get a timely response between different systems, and the response time can reach the nanosecond (ns) level.
- S120 Receive a synchronization time stamp sent by the second sensing system, where the synchronization time stamp is a time recorded on the second local time axis when the interrupt request is sent.
- the second sensing system includes a second sensor for collecting second sensing data
- the second local time axis is the local time axis of the second sensing system.
- the second sensor system sends an interrupt request to the first sensor system at the time Local_timeB on the second local time axis.
- a period of time after the interrupt request is sent the synchronization timestamp Local_timeB is sent to the first sensing system.
- the synchronization timestamp Local_timeB is the time recorded according to the second local time axis when the interrupt request is sent.
- the time interval between the time when the interrupt request is sent and the time when the synchronization timestamp is sent is less than the interval threshold.
- the sensor system resends the interrupt request.
- the second sensor system sends an interrupt request to the first sensor system at the time Local_timeB on the second local time axis, and simultaneously sends a synchronization time stamp Local_timeB to the first sensor system.
- the synchronization timestamp Local_timeB is the time recorded according to the second local time axis when the interrupt request is sent.
- the synchronization timestamp Local_timeB sent by the second sensing system is received by the first sensing system at the time Cur_timeA on the first local time axis after a period of link delay.
- the synchronization timestamp Local_timeB is received by the first sensing system at the time Cur_timeA on the first local time axis after a period of link delay.
- a data transmission link is included between the first sensing system and the second sensing system.
- the data transmission link and the interrupt link are independent of each other, so that the interrupt request can be transmitted in time.
- the first sensing system receives the synchronized time stamp sent by the second sensing system through a data transmission link with the second sensing system. Avoid the transmission of data such as synchronization timestamp from affecting the timely transmission of interrupt requests.
- S130 Determine a time deviation value according to the interruption time and the synchronization time stamp.
- the time offset value offset between the first sensing system and the second sensing system is the difference between the interruption moment and the synchronization time stamp.
- the time offset value time_offset between the first sensing system and the second sensing system is equal to the interruption time Local_timeA minus the synchronization timestamp Local_timeB, or the time offset value time_offset is equal to the synchronization time Stamp Local_timeB minus the interruption time Local_timeA.
- the first sensor system collects the first sensor data through the first sensor, and the collection time of the first sensor data is recorded according to the first local time axis; the second sensor system collects the second sensor data through the second sensor. The sensing data, the collection time of the second sensing data is recorded according to the second local time axis.
- the time offset value is used for time synchronization between the collection time of the first sensor data recorded according to the first local time axis and the collection time of the second sensor data recorded according to the second local time axis.
- the acquisition time corresponding to the second sensor data can be synchronized to the first local time axis; the first sensor data is used in the second sensor system When the time, the collection time corresponding to the first sensor data can be synchronized to the second local time axis.
- the acquisition time corresponding to the first sensor data can be synchronized to the second local time axis; in the second sensor system When the first sensor data and the second sensor data are used, the collection time corresponding to the second sensor data can be synchronized to the first local time axis.
- control method of the sensing system further includes: determining whether the time deviation value is a valid deviation value.
- the time deviation value determined according to the synchronization time stamp can be determined as an abnormal value, so the determined time The deviation value is invalid.
- the abnormal time deviation value can be discarded and the accuracy of time synchronization can be ensured.
- the time deviation value is used to compare the collection time of the first sensor data recorded according to the first local time axis and the first sensor data recorded according to the second local time axis. Second, time synchronization is performed at the time of acquisition of sensor data.
- the determining whether the time deviation value is a valid deviation value includes: determining an arrival time for receiving the synchronization time stamp, wherein the arrival time is a time recorded according to the first local time axis; Determine the time difference between the interruption time and the arrival time; determine whether the time difference is less than a preset time threshold; when the time difference is less than the preset time threshold, determine that the time deviation value is a valid deviation value.
- the time deviation value is a valid deviation value according to whether the transmission time delay of the synchronization time stamp is abnormal.
- the second sensor system sends an interrupt request and a synchronization time stamp Local_timeB1 to the first sensor system at a time Local_timeB1 on the second local time axis.
- the first sensor system receives the interrupt request sent by the second sensor system at time Local_timeA1 on the first local time axis, and determines that the interrupt time at which the interrupt request is received is Local_timeA1.
- the second sensor system sends an interrupt request and a synchronization time stamp to the first sensor system at time Local_timeB2 on the second local time axis.
- the first sensor system receives the interrupt request sent by the second sensor system at time Local_timeA2 on the first local time axis, and determines that the interrupt time at which the interrupt request is received is Local_timeA2.
- the first sensing system receives the synchronization time stamp Local_timeB1 sent by the second sensing system at the time Local_timeB1 of the second local time axis at the time Cur_timeA1 of the first local time axis, and determines that the arrival time of receiving the synchronization time stamp is Cur_timeA1 .
- the second sensor system periodically sends interrupt requests to the first sensor system, and sends a synchronous time stamp corresponding to each interrupt request.
- the preset time threshold is determined according to a period in which the second sensing system sends the interrupt request.
- the dotted line represents the dividing line of the period in which the second sensor system sends the interrupt request.
- the second sensing system periodically sends interrupt requests, such as sending interrupt requests at the moments Local_timeB, Local_timeB1, and Local_timeB2 on the second local time axis, respectively.
- the time difference between the interruption time Local_timeA and the arrival time Cur_timeA corresponding to the period of Local_timeB is less than the period during which the second sensing system sends the interruption request, and then the time offset value time_offset is determined, that is, the time difference between the synchronization time stamp Local_timeB and the interruption time Local_timeA The difference is the effective deviation value.
- the time difference between the interruption time Local_timeA1 and the arrival time Cur_timeA1 corresponding to the period of Local_timeB1 is greater than the period in which the second sensing system sends the interrupt request, then it is determined that the time deviation value is determined according to the difference between the synchronization timestamp Local_timeB1 and the interruption time Local_timeA1 Is an invalid deviation value.
- the preset time threshold may be equal to the period for the second sensing system to send the interrupt request.
- the time offset value is used to determine the time when the collection time of the first sensor data is on the second local time axis.
- the first sensing system collects the first sensing data S1 at time a1 on the first local time axis, it can be determined that the collection time a1 of the first sensing data S1 is at the second time offset value time_offset according to the effective time offset value time_offset. Time b1 on the second local time axis of the sensing system.
- control method of the sensing system further includes determining the time when the collection time of the first sensor data is on the second local time axis according to the time deviation value.
- the time offset value time_offset between the first sensing system and the second sensing system is equal to the interruption time Local_timeA minus the synchronization timestamp Local_timeB. Then the time b1 is equal to the time a1 minus the time offset value time_offset.
- time offset value time_offset between the first sensing system and the second sensing system is equal to the synchronization timestamp Local_timeB minus the interruption time Local_timeA. Then the time b1 is equal to the time a1 plus the time offset value time_offset.
- control method of the sensing system further includes: sending the first sensing data and the determined time on the second local time axis to the second sensing system.
- the first sensing system sends the first sensing data S1 and time b1 to the second sensing system. Therefore, the second sensing system can search for the corresponding first sensing data according to the expected time on the second local time axis.
- control method of the sensing system further includes: storing the first sensing data and the determined time on the second local time axis in a storage device; 2. Obtain the first sensor data from the storage device at the desired time on the local time axis.
- the first sensing system and/or the second sensing system each include a corresponding storage device, or the sensing device includes a storage device, the first sensing system and the second sensing system may share the storage device on the storage device. data.
- the first sensing system stores the first sensing data S1 and the time b1 in the storage device. Then, the first sensing system and/or the second sensing system can obtain the corresponding first sensing data from the storage device according to the desired time on the second local time axis.
- the first sensor data is stored in a storage device according to the sequence of the collection time of the first sensor data on the second local time axis; based on the binary search algorithm, from the Search the storage device for the first sensor data whose collection time is on the second local time axis and the time on the second local time axis that matches the expected time on the second local time axis.
- control method of the sensing system further includes: sending the time deviation value to the second sensing system, so that the second sensing system determines the second sensing system according to the time deviation value.
- a collection moment of sensor data is a moment on the second local time axis.
- the first sensing system after determining the time offset value time_offset, sends the time offset value time_offset to the second sensing system.
- the first sensing system collects the first sensing data S1 at the time a1 on the first local time axis, and sends the first sensing data S1 and the time a1 to the second sensing system.
- the second sensing system may determine the time b1 of the collection time a1 of the first sensing data S1 on the second local time axis of the second sensing system according to the effective time offset value time_offset.
- the time offset value is used to determine the time when the collection time of the second sensor data is on the first local time axis.
- the second sensor system collects the second sensor data S2 at the time b2 on the second local time axis, and sends the second sensor data S2 and the collection time b2 to the first sensor system. Then the first sensing system can determine the time a2 of the collection time b2 of the second sensing data S2 on the first local time axis of the first sensing system according to the effective time offset value time_offset.
- control method of the sensing system further includes: the first sensing system acquires the second sensing data sent by the second sensing system and the acquisition time of the second sensing data recorded according to the second local time axis ; Determine the time when the collection time of the second sensor data is on the first local time axis according to the time deviation value.
- the second sensing system sends the second sensing data S2 collected at the time b2 and the collection time b2 to the first sensing system.
- the first sensing system determines the time a2 of the collection time b2 of the second sensor data S2 on the first local time axis according to the time offset value time_offset. Therefore, the first sensing system can search for the corresponding second sensing data according to the expected time on the first local time axis.
- control method of the sensing system further includes: sending the time deviation value to the second sensing system, so that the second sensing system determines the second sensing system according to the time deviation value. 2. The time when the sensor data collection time is on the first local time axis.
- the first sensing system sends the time offset value time_offset to the second sensing system.
- the second sensing system collects the second sensing data S2 at the time b2 on the second local time axis.
- the first local of the first sensing system can be determined. Time a2 on the time axis. Therefore, the first sensing system can obtain the second sensing data S2 from the second sensing system and the time at which the collection time of the second sensing data is on the first local time axis.
- time offset value time_offset between the first sensing system and the second sensing system is equal to the interruption time Local_timeA minus the synchronization timestamp Local_timeB. Then the time a2 is equal to the time b2 plus the time offset value time_offset.
- time offset value time_offset between the first sensing system and the second sensing system is equal to the synchronization timestamp Local_timeB minus the interruption time Local_timeA. Then the time a2 is equal to the time b2 minus the time offset value time_offset.
- control method of the sensing system further includes: the first sensing system stores the second sensing data and the determined time on the first local time axis in a storage device; Acquire second sensor data from the storage device according to a desired moment on the first local time axis.
- the first sensing system and/or the second sensing system each include a corresponding storage device, or the sensing device includes a storage device, the first sensing system and the second sensing system may share the storage device on the storage device. data.
- the first sensing system after acquiring the second sensing data S2 and the determined time a2, stores the second sensing data S2 and the determined time a2 in the storage device. Therefore, the second sensor data can be obtained from the storage device according to the desired moment on the first local time axis.
- the second sensor data is stored in a storage device according to the sequence of the time of the second sensor data collection time on the first local time axis; and based on the binary search algorithm, from the The storage device searches for second sensor data whose collection time is on the first local time axis and the time on the first local time axis matches the expected time on the first local time axis.
- the control method for the sensor system determines the interruption time by receiving the interruption request sent by the second sensor system, and receives the synchronization time stamp when the interruption request is sent from the second sensor system, so as The interruption time and the synchronization time stamp determine a time deviation value. Because the sensor system responds to interrupt requests faster, and the transmission delay of interrupt requests is relatively low and relatively fixed, more accurate data synchronization between sensor systems can be achieved.
- the upper application uses sensor data, it can complete the acquisition of synchronized data by searching in the cache at the desired time, improving the accuracy and stability of the system data, and ensuring the safety and reliability of the embedded system.
- FIG. 5 is a schematic flowchart of a control method for a sensor device according to an embodiment of this specification.
- the control method can be applied to a sensor device including a sensor, and is used to implement processes such as time synchronization of sensor data between different sensor systems.
- a certain sensor device includes at least two sensor systems with inconsistent time, and the sensor device can realize the time synchronization of sensor data between different sensor systems according to the control method of this specification.
- FIG. 2 is a schematic block diagram of a sensing device.
- the sensing device includes a first sensing system and a second sensing system, the first sensing system includes a first sensor for collecting first sensing data, and the second sensing system includes a A second sensor that collects second sensor data.
- control method for the sensing device includes step S310 to step S330.
- the first sensing system receives the interruption request sent by the second sensing system, and determines the interruption time when the interruption request is received, where the interruption time is a time recorded according to the first local time axis, so The first local time axis is the local time axis of the first sensing system.
- the first sensing system receives a synchronization time stamp sent by the second sensing system, where the synchronization time stamp is a time recorded according to a second local time axis when the interrupt request is sent, and the second local The time axis is the local time axis of the second sensing system.
- the first sensing system determines a time offset value according to the interruption time and the synchronization time stamp, where the time offset value is used to compare the first sensor data recorded according to the first local time axis. Time synchronization is performed between the collection time of and the collection time of the second sensor data recorded according to the second local time axis.
- FIG. 6 is a schematic block diagram of a first sensing system 600 according to an embodiment of this specification.
- the first sensor system 600 includes a processor 601 and a sensor 604 for collecting sensor data.
- the processor 601 may be a micro-controller unit (MCU), a central processing unit (Central Processing Unit, CPU), a digital signal processor (Digital Signal Processor, DSP), or the like.
- MCU micro-controller unit
- CPU Central Processing Unit
- DSP Digital Signal Processor
- the first sensing system 600 further includes a memory 602.
- the memory 602 is used to store a computer program
- the processor 601 is used to execute the computer program.
- the processor 601 and the memory 602 are connected by a bus 603, and the bus 603 is, for example, an I2C (Inter-integrated Circuit) bus.
- I2C Inter-integrated Circuit
- the memory 602 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) disk, an optical disk, a U disk, or a mobile hard disk.
- the processor 601 is used to implement the aforementioned control method for the first sensing system. Specifically, the processor 601 runs a computer program stored in the memory 602, and implements the aforementioned control method for the first sensing system when the computer program is executed.
- the processor 601 is configured to:
- the time deviation value is determined according to the interruption time and the synchronization time stamp, wherein the time deviation value is used to compare the collection time of the first sensor data recorded according to the first local time axis and according to the second The collection moment of the second sensor data recorded on the local time axis is time synchronized.
- FIG. 7 is a schematic block diagram of a sensing device 10 according to an embodiment of this specification.
- the sensing device includes the aforementioned first sensing system 600 and the second sensing system 700, and the second sensing system 700 includes a sensor 704 for collecting second sensing data.
- FIG. 8 is a schematic block diagram of a movable platform 20 according to an embodiment of this specification.
- the sensing device includes the aforementioned first sensing system 600 and the second sensing system 700, and the second sensing system 700 includes a sensor 704 for collecting second sensing data.
- the movable platform includes at least one of the following: an unmanned aerial vehicle, a handheld pan/tilt, and a pan/tilt cart.
- the embodiments of this specification also provide a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes program instructions, and the processor executes the program instructions to implement the foregoing implementation Examples provide the steps of the control method for the first sensing system and/or the control method for the sensing device.
- the computer-readable storage medium may be the sensing system, sensing device, or internal storage unit of the movable platform described in any of the foregoing embodiments, for example, the hard disk or memory of the movable platform.
- the computer-readable storage medium may also be the sensor system, sensor device, or external storage device of a removable platform, such as a plug-in hard disk or a smart memory card (Smart Media Card, which is equipped on the removable platform). SMC), Secure Digital (SD) card, Flash Card, etc.
- the sensing system, sensing device and control method thereof, removable platform, and storage medium provided in the above-mentioned embodiments of this specification determine the interruption time by receiving the interruption request sent by the second sensing system, and receive and send from the second sensing system
- the synchronization time stamp at the time of the interrupt request is used to determine the time deviation value according to the interruption time and the synchronization time stamp. Because the sensor system responds to interrupt requests faster, and the transmission delay of interrupt requests is relatively low and relatively fixed, more accurate data synchronization between sensor systems can be achieved.
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
Description
Claims (29)
- 一种控制方法,其特征在于,用于第一传感系统,所述第一传感系统包括用于采集第一传感数据的第一传感器,所述方法包括:接收第二传感系统发送的中断请求,并确定接收到所述中断请求的中断时刻,其中,所述中断时刻为按照第一本地时间轴记录的时刻,所述第一本地时间轴为所述第一传感系统的本地时间轴;接收所述第二传感系统发送的同步时间戳,其中,所述第二传感系统包括用于采集第二传感数据的第二传感器,所述同步时间戳为发送所述中断请求时按照第二本地时间轴记录的时刻,所述第二本地时间轴为所述第二传感系统的本地时间轴;根据所述中断时刻和所述同步时间戳确定时间偏差值,其中,所述时间偏差值用于对按照所述第一本地时间轴记录的第一传感数据的采集时刻和按照所述第二本地时间轴记录的第二传感数据的采集时刻进行时间同步。
- 根据权利要求1所述的方法,其特征在于,所述时间偏差值用于确定所述第一传感数据的采集时刻在所述第二本地时间轴上的时刻;或者,所述时间偏差值用于确定所述第二传感数据的采集时刻在所述第一本地时间轴上的时刻。
- 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:根据所述时间偏差值确定所述第一传感数据的采集时刻在所述第二本地时间轴上的时刻。
- 根据权利要求3所述的方法,其特征在于,所述方法还包括:将所述第一传感数据和所述确定的在所述第二本地时间轴上的时刻发送给第二传感系统。
- 根据权利要求3或4所述的方法,其特征在于,所述方法还包括:将所述第一传感数据和所述确定的在所述第二本地时间轴上的时刻存储在存储设备中;根据在所述第二本地时间轴上的期望时刻从所述存储设备中获取第一传感数据。
- 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:获取第二传感系统发送的第二传感数据和按照所述第二本地时间轴记录的第二传感数据的采集时刻;根据所述时间偏差值确定所述第二传感数据的采集时刻在所述第一本地时间轴上的时刻。
- 根据权利要求6所述的方法,其特征在于,所述方法还包括:将所述第二传感数据和所述确定的在所述第一本地时间轴上的时刻存储在存储设备中;根据在所述第一本地时间轴上的期望时刻从所述存储设备中获取第二传感数据。
- 根据权利要求1所述的方法,其特征在于,所述接收第二传感系统发送的中断请求,包括:通过与所述第二传感系统之间的中断链路接收所述第二传感系统发送的中断请求;所述接收所述第二传感系统发送的同步时间戳,包括:通过与所述第二传感系统之间的数据传输链路接收所述第二传感系统发送的同步时间戳。
- 根据权利要求1、2或8任一项所述的方法,其特征在于,所述方法还包括:将所述时间偏差值发送给所述第二传感系统,以使所述第二传感系统根据所述时间偏差值确定所述第一传感数据的采集时刻在所述第二本地时间轴上的时刻或者所述第二传感数据的采集时刻在所述第一本地时间轴上的时刻。
- 根据权利要求1-9任一项所述的方法,其特征在于,所述方法还包括:确定所述时间偏差值是否为有效偏差值;其中,当是时,所述时间偏差值用于对按照所述第一本地时间轴记录的第一传感数据的采集时刻和按照所述第二本地时间轴记录的第二传感数据的采集时刻进行时间同步。
- 根据权利要求10所述的方法,其特征在于,所述确定所述时间偏差值是否为有效偏差值,包括:确定接收所述同步时间戳的到达时刻,其中,所述到达时刻为按照所述第 一本地时间轴记录的时刻;确定所述中断时刻和所述到达时刻之间的时间差;确定所述时间差是否小于预设时间阈值;当是时,确定所述时间偏差值为有效偏差值。
- 根据权利要求11所述的方法,其特征在于,所述预设时间阈值是根据所述第二传感系统发送所述中断请求的周期确定的。
- 一种控制方法,其特征在于,用于传感设备,所述传感设备包括第一传感系统和第二传感系统,所述第一传感系统包括用于采集第一传感数据的第一传感器,所述第二传感系统包括用于采集第二传感数据的第二传感器;所述方法包括:所述第一传感系统接收第二传感系统发送的中断请求,并确定接收到所述中断请求的中断时刻,其中,所述中断时刻为按照第一本地时间轴记录的时刻,所述第一本地时间轴为所述第一传感系统的本地时间轴;所述第一传感系统接收所述第二传感系统发送的同步时间戳,所述同步时间戳为发送所述中断请求时按照第二本地时间轴记录的时刻,所述第二本地时间轴为所述第二传感系统的本地时间轴;所述第一传感系统根据所述中断时刻和所述同步时间戳确定时间偏差值,其中,所述时间偏差值用于对按照所述第一本地时间轴记录的第一传感数据的采集时刻和按照所述第二本地时间轴记录的第二传感数据的采集时刻进行时间同步。
- 一种第一传感系统,其特征在于,所述第一传感系统包括用于采集第一传感数据的第一传感器和处理器;其中,所述处理器,用于:接收第二传感系统发送的中断请求,并确定接收到所述中断请求的中断时刻,其中,所述中断时刻为按照第一本地时间轴记录的时刻,所述第一本地时间轴为所述第一传感系统的本地时间轴;接收所述第二传感系统发送的同步时间戳,其中,所述第二传感系统包括用于采集第二传感数据的第二传感器,所述同步时间戳为发送所述中断请求时按照第二本地时间轴记录的时刻,所述第二本地时间轴为所述第二传感系统的本地时间轴;根据所述中断时刻和所述同步时间戳确定时间偏差值,其中,所述时间偏差值用于对按照所述第一本地时间轴记录的第一传感数据的采集时刻和按照所述第二本地时间轴记录的第二传感数据的采集时刻进行时间同步。
- 根据权利要求14所述的系统,其特征在于,所述时间偏差值用于确定所述第一传感数据的采集时刻在所述第二本地时间轴上的时刻;或者,所述时间偏差值用于确定所述第二传感数据的采集时刻在所述第一本地时间轴上的时刻。
- 根据权利要求14或15所述的系统,其特征在于,所述处理器还实现:根据所述时间偏差值确定所述第一传感数据的采集时刻在所述第二本地时间轴上的时刻。
- 根据权利要求16所述的系统,其特征在于,所述处理器还实现:将所述第一传感数据和所述确定的在所述第二本地时间轴上的时刻发送给第二传感系统。
- 根据权利要求16或17所述的系统,其特征在于,所述处理器还实现:将所述第一传感数据和所述确定的在所述第二本地时间轴上的时刻存储在存储设备中;根据在所述第二本地时间轴上的期望时刻从所述存储设备中获取第一传感数据。
- 根据权利要求14或15所述的系统,其特征在于,所述处理器还实现:获取第二传感系统发送的第二传感数据和按照所述第二本地时间轴记录的第二传感数据的采集时刻;根据所述时间偏差值确定所述第二传感数据的采集时刻在所述第一本地时间轴上的时刻。
- 根据权利要求19所述的系统,其特征在于,所述处理器还实现:将所述第二传感数据和所述确定的在所述第一本地时间轴上的时刻存储在存储设备中;根据在所述第一本地时间轴上的期望时刻从所述存储设备中获取第二传感数据。
- 根据权利要求14所述的系统,其特征在于,所述处理器实现所述接收第二传感系统发送的中断请求时,实现:通过与所述第二传感系统之间的中断链路接收所述第二传感系统发送的中断请求;所述处理器实现所述接收所述第二传感系统发送的同步时间戳时,实现:通过与所述第二传感系统之间的数据传输链路接收所述第二传感系统发送的同步时间戳。
- 根据权利要求14、15或21任一项所述的系统,其特征在于,所述处理器还实现:将所述时间偏差值发送给所述第二传感系统,以使所述第二传感系统根据所述时间偏差值确定所述第一传感数据的采集时刻在所述第二本地时间轴上的时刻或者所述第二传感数据的采集时刻在所述第一本地时间轴上的时刻。
- 根据权利要求14-22任一项所述的系统,其特征在于,所述处理器还实现:确定所述时间偏差值是否为有效偏差值;其中,当是时,所述时间偏差值用于对按照所述第一本地时间轴记录的第一传感数据的采集时刻和按照所述第二本地时间轴记录的第二传感数据的采集时刻进行时间同步。
- 根据权利要求23所述的系统,其特征在于,所述处理器实现所述确定所述时间偏差值是否为有效偏差值时,实现:确定接收所述同步时间戳的到达时刻,其中,所述到达时刻为按照所述第一本地时间轴记录的时刻;确定所述中断时刻和所述到达时刻之间的时间差;确定所述时间差是否小于预设时间阈值;当是时,确定所述时间偏差值为有效偏差值。
- 根据权利要求24所述的系统,其特征在于,所述预设时间阈值是根据所述第二传感系统发送所述中断请求的周期确定的。
- 一种传感设备,其特征在于,包括权利要求14-25中任一项所述的第一传感系统,以及第二传感系统,所述第二传感系统包括用于采集第二传感数据的第二传感器。
- 一种可移动平台,其特征在于,包括权利要求14-25中任一项所述的第一传感系统,以及第二传感系统,所述第二传感系统包括用于采集第二传感数 据的第二传感器。
- 根据权利要求27所述的可移动平台,其特征在于,所述可移动平台包括如下至少一种:无人飞行器、手持云台、云台车。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现:如权利要求1-12中任一项所述的第一传感系统的控制方法;和/或如权利要求13所述的传感设备的控制方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201980033841.3A CN112154614B (zh) | 2019-08-29 | 2019-08-29 | 传感系统、传感设备及其控制方法、可移动平台和存储介质 |
PCT/CN2019/103438 WO2021035645A1 (zh) | 2019-08-29 | 2019-08-29 | 传感系统、传感设备及其控制方法、可移动平台和存储介质 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2019/103438 WO2021035645A1 (zh) | 2019-08-29 | 2019-08-29 | 传感系统、传感设备及其控制方法、可移动平台和存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021035645A1 true WO2021035645A1 (zh) | 2021-03-04 |
Family
ID=73891979
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/103438 WO2021035645A1 (zh) | 2019-08-29 | 2019-08-29 | 传感系统、传感设备及其控制方法、可移动平台和存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112154614B (zh) |
WO (1) | WO2021035645A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114629589A (zh) * | 2022-03-21 | 2022-06-14 | 新华三半导体技术有限公司 | 一种数据处理装置及方法 |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022226978A1 (zh) * | 2021-04-30 | 2022-11-03 | 深圳市大疆创新科技有限公司 | 数据处理方法及装置 |
CN113572556A (zh) * | 2021-06-18 | 2021-10-29 | 深圳市道通智能汽车有限公司 | 一种时间同步方法、传感器及系统 |
CN113687590B (zh) | 2021-08-10 | 2023-03-10 | 青岛小鸟看看科技有限公司 | Vr系统中头戴与手柄的时间同步方法、系统 |
CN114115444A (zh) * | 2021-11-30 | 2022-03-01 | 上海有个机器人有限公司 | 机器人对齐时间轴方法及相关产品 |
CN118101110A (zh) * | 2022-11-28 | 2024-05-28 | 中兴通讯股份有限公司 | 时间同步异常的处理方法、授时端、电子设备及存储介质 |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100014460A1 (en) * | 2008-07-11 | 2010-01-21 | Electronics And Telecommunications Research Institute | Sensor network mac system for multihop communication |
CN108923876A (zh) * | 2018-06-27 | 2018-11-30 | 北京艾瑞思机器人技术有限公司 | 时间同步方法、装置及系统 |
CN109099920A (zh) * | 2018-07-20 | 2018-12-28 | 重庆长安汽车股份有限公司 | 基于多传感器关联的传感器目标精确定位方法 |
CN109257132A (zh) * | 2018-09-04 | 2019-01-22 | 武汉乐庭软件技术有限公司 | 一种基于时间同步的多传感器数据感知方法与系统 |
CN109450582A (zh) * | 2018-11-01 | 2019-03-08 | 百度在线网络技术(北京)有限公司 | 传感器时间戳同步测试方法、装置、设备、介质及车辆 |
CN109729277A (zh) * | 2018-11-19 | 2019-05-07 | 魔门塔(苏州)科技有限公司 | 多传感器采集时间戳同步装置 |
CN109819512A (zh) * | 2019-03-18 | 2019-05-28 | 云南航天工程物探检测股份有限公司 | 工程ct无线分布式多路adc高精度同步系统及方法 |
CN109983414A (zh) * | 2016-12-07 | 2019-07-05 | 深圳市大疆创新科技有限公司 | 用于支持在可移动平台中进行同步的系统和方法 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7447931B1 (en) * | 2005-12-09 | 2008-11-04 | Rockwell Automation Technologies, Inc. | Step time change compensation in an industrial automation network |
CN101400018B (zh) * | 2007-09-30 | 2011-09-21 | 中兴通讯股份有限公司 | 一种广播数据同步层的实现方法 |
US8102787B2 (en) * | 2008-06-17 | 2012-01-24 | Samsung Electronics Co., Ltd. | MAC layer timestamping approach for emerging wireless sensor platform and communication architecture |
CN105915308B (zh) * | 2016-07-08 | 2018-04-27 | 腾讯科技(深圳)有限公司 | 一种时间同步方法、装置及系统 |
-
2019
- 2019-08-29 CN CN201980033841.3A patent/CN112154614B/zh active Active
- 2019-08-29 WO PCT/CN2019/103438 patent/WO2021035645A1/zh active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100014460A1 (en) * | 2008-07-11 | 2010-01-21 | Electronics And Telecommunications Research Institute | Sensor network mac system for multihop communication |
CN109983414A (zh) * | 2016-12-07 | 2019-07-05 | 深圳市大疆创新科技有限公司 | 用于支持在可移动平台中进行同步的系统和方法 |
CN108923876A (zh) * | 2018-06-27 | 2018-11-30 | 北京艾瑞思机器人技术有限公司 | 时间同步方法、装置及系统 |
CN109099920A (zh) * | 2018-07-20 | 2018-12-28 | 重庆长安汽车股份有限公司 | 基于多传感器关联的传感器目标精确定位方法 |
CN109257132A (zh) * | 2018-09-04 | 2019-01-22 | 武汉乐庭软件技术有限公司 | 一种基于时间同步的多传感器数据感知方法与系统 |
CN109450582A (zh) * | 2018-11-01 | 2019-03-08 | 百度在线网络技术(北京)有限公司 | 传感器时间戳同步测试方法、装置、设备、介质及车辆 |
CN109729277A (zh) * | 2018-11-19 | 2019-05-07 | 魔门塔(苏州)科技有限公司 | 多传感器采集时间戳同步装置 |
CN109819512A (zh) * | 2019-03-18 | 2019-05-28 | 云南航天工程物探检测股份有限公司 | 工程ct无线分布式多路adc高精度同步系统及方法 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114629589A (zh) * | 2022-03-21 | 2022-06-14 | 新华三半导体技术有限公司 | 一种数据处理装置及方法 |
Also Published As
Publication number | Publication date |
---|---|
CN112154614A (zh) | 2020-12-29 |
CN112154614B (zh) | 2023-02-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021035645A1 (zh) | 传感系统、传感设备及其控制方法、可移动平台和存储介质 | |
EP2999276B1 (en) | Method and terminal for reporting sensor data | |
CN110865406A (zh) | 基于车载gps授时系统的多传感器数据同步处理系统及方法 | |
CN110609308B (zh) | 终端的位置定位方法、装置、存储介质及计算机设备 | |
CN107014381B (zh) | Pld、dsp、组合导航系统、数据处理方法和装置 | |
US9304006B2 (en) | Journey computation with re-planning based on events in a transportation network | |
US20140278205A1 (en) | Embedded processor on an integrated mems sensor chip autonomously managing external sensor | |
US10994675B2 (en) | Vehicle control device and vehicle system | |
WO2022247915A1 (zh) | 融合定位方法、装置、设备、存储介质及程序产品 | |
CN115114307A (zh) | 一种多传感器状态估计方法、装置及终端设备 | |
JP6465787B2 (ja) | データ処理装置、デバイス、データ処理方法及びデータ処理プログラム | |
US20190329408A1 (en) | Robot, method for controlling motion of a robot and non-transitory readable medium | |
WO2016109951A1 (zh) | 响应消息处理方法、装置及系统 | |
WO2019019285A1 (zh) | 一种资源控制方法及装置 | |
WO2021077306A1 (zh) | 无人飞行器的返航控制方法、用户终端以及无人飞行器 | |
WO2015007001A1 (zh) | 空间鼠标的数据处理方法以及鼠标指针的控制方法 | |
JP2012089948A (ja) | データ転送装置及びデータ転送方法 | |
JP6880611B2 (ja) | 処理装置、システム、処理方法および処理プログラム | |
WO2022120818A1 (zh) | 用于传感器的控制装置、方法、可移动平台和存储介质 | |
CN111226203A (zh) | 中断处理方法、主芯片、从芯片及多芯片系统 | |
EP3772845B1 (en) | Protocol converter, data transmission system, data transmission method, and non-transitory computer-readable medium | |
US20170127356A1 (en) | Method and apparatus for prolonging lasting time of inactive mode | |
JP5724491B2 (ja) | イベント処理方法、イベント処理装置及びイベント処理プログラム | |
WO2019140645A1 (zh) | 一种数据处理方法、装置、控制器及可移动装置 | |
US11831559B2 (en) | Systems and methods of aligning messages from multiple sources |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19943494 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19943494 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19943494 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 02/11/2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19943494 Country of ref document: EP Kind code of ref document: A1 |