WO2020168924A1 - Sensing data calculation control method and time-transfer apparatus - Google Patents

Sensing data calculation control method and time-transfer apparatus Download PDF

Info

Publication number
WO2020168924A1
WO2020168924A1 PCT/CN2020/074471 CN2020074471W WO2020168924A1 WO 2020168924 A1 WO2020168924 A1 WO 2020168924A1 CN 2020074471 W CN2020074471 W CN 2020074471W WO 2020168924 A1 WO2020168924 A1 WO 2020168924A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
data
timing
sensor node
environment
Prior art date
Application number
PCT/CN2020/074471
Other languages
French (fr)
Chinese (zh)
Inventor
续立军
Original Assignee
阿里巴巴集团控股有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2020168924A1 publication Critical patent/WO2020168924A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Definitions

  • the present invention relates to the technical field of automatic control data processing, in particular to an induction data calculation control method, a timing device and an automatic driving induction control system.
  • timing services in a specific way are usually required to meet the requirements of each node for accurate, stable and reliable time parameters, so that all nodes in the system can synchronize and coordinate their actions at a specific point in time.
  • Complete the specified tasks within time-related requirements such as time limit.
  • time-related requirements such as time limit.
  • time limit For example, in application fields such as robots and autonomous driving, in the actual application process, a large number of sensors and processors are required to coordinate to realize environmental perception and positioning.
  • time stamp information of the sensor has a great influence on the calculation result. Good time synchronization can ensure that the sensor information has the correct time stamp to obtain the correct calculation result based on the sensor information. If the time amount of the sensing data is inaccurate, it may cause A lot of invalid data collection and calculations affect the practical application of the system, and even more serious consequences may even get wrong calculation results, which greatly reduces the availability and safety of the system.
  • the traditional time service method is difficult to meet the characteristic requirements in some application environments.
  • the timing tasks occur frequently, especially in the application strategy that prioritizes safety, and even requires checking the time of all sensor data.
  • the timing device needs to work in a very efficient state.
  • the automatic driving system needs to respond quickly to road conditions to adjust the movement of the vehicle.
  • this process requires multiple sensors to synchronize and coordinate actions. If the sensor sensing data has accurate time stamps, it is very helpful for the automatic driving system to make accurate judgments on changing road conditions.
  • the problem that needs to be solved by those skilled in the art is to provide a timing device that meets the high incidence and real-time requirements of multi-sensor application systems for timing, improves the synchronization and coordination capabilities of each sensor node, and improves the performance of data sensing calculation results. accuracy.
  • the present invention provides a sensing data calculation control method, a timing device, and an automatic driving sensing control system, wherein the timing device can locally provide continuous, stable and reliable timing for the sensor nodes of the system to meet the high frequency of timing tasks in a multi-node system And high real-time requirements have improved the validity of calculation data and the accuracy of calculation results.
  • the present invention provides the following solutions:
  • a timing device including:
  • the clock unit is used to provide a clock signal for the processor
  • the processor is configured to generate a time synchronization signal according to the current time of the system, and send the time synchronization signal to a timing device connected to the sensor adapting unit through the data bus;
  • the data bus is used to provide a data transmission connection for the processor and the timing device connected to the sensor adaptation unit;
  • the sensor adaptation unit is used to connect to the equipment to be timed.
  • An automatic driving induction control system including:
  • the first timing unit, the driving environment sensor node, and the driving environment sensing data calculation unit are configured to calculate the driving environment sensing data calculation unit
  • the first timing unit is configured to provide timing for the driving environment sensor node
  • the driving environment sensor node is used to determine the device local time of the driving environment sensor node according to the timing of the first timing unit; and, used to perceive environmental objects and generate environmental perception data; the environmental perception data includes performing a perception action Timestamp information;
  • the driving environment sensing data calculation unit is configured to receive the environment perception data generated by the driving environment sensor node, determine the validity of the environment perception data according to the time stamp information in the environment perception data, and determine the validity of the environment perception data. After the data is valid, the environment perception data is used for calculation.
  • a robot induction control system including:
  • the second timing unit, the environment sensing sensor node, and the environment data calculation unit are The second timing unit, the environment sensing sensor node, and the environment data calculation unit;
  • the second timing unit is configured to provide timing for the environmental sensing sensor node
  • the environment-aware sensor node is configured to determine the device local time of the environment-aware sensor node according to the timing of the second timing unit; and, to perceive environmental objects and generate environment-aware data; the environment-aware data includes performing a perception action Timestamp information;
  • the environment data calculation unit is configured to receive the environment perception data generated by the environment perception sensor node, determine the validity of the environment perception data according to the time stamp information in the environment perception data, and determine the validity of the environment perception data Then use the environmental perception data for calculation.
  • a method for calculating and controlling induction data includes:
  • the environment perception data obtained by a sensor node device perceiving an environment object;
  • the environment perception data includes time stamp information for performing a perception action;
  • the environment perception data is used for calculation.
  • a local timing device applied in a multi-sensor node system can be realized, which overcomes the shortcomings of limited resources in existing timing methods that cannot meet large-scale applications.
  • the timing device can be continuously operated as a module unit in the system. Continuous time service for related equipment. Compared with the existing technology, it can also meet the high frequency and high real-time requirements of time service tasks in multi-node system data acquisition and processing tasks. At the same time, it also has fast time service, high success rate, and simple deployment. , No need to configure, strong adaptability, low cost and wide application range.
  • the timing device may include multiple sensor adaptation units to access multiple sensor node devices that require timing, and the timing of multiple sensor node devices can be performed through the same timing device, which can ensure the accuracy of each sensor node device clock And synchronization, thereby ensuring the validity of the calculation results.
  • the device can be equipped with many different types of sensor adaptation units, which overcomes the problem that the sensor interface can only be selected in a single type caused by the single interface required in the traditional timing mode, and makes the application design of the multi-node system in the application process The sensor interface type can be selected more freely, thereby improving the flexibility of the system.
  • the timing device can judge whether the clock state of the sensor node device is abnormal according to the clock feedback signal of the sensor node device, and can make the system react quickly when judging that the clock state of the sensor node device is abnormal, ensuring the system components and the entire system Effectiveness.
  • the device can provide accurate and reliable timing services for each sensor node device, so that each sensor node device can be based on reliable and synchronized clock information when collecting data, which improves the effectiveness of the system's calculation of data and the calculation result The accuracy of this ensures the reliability of the entire system and improves the safety performance of the system.
  • the first timing unit may provide timing for the driving environment sensor node.
  • the driving environment sensor node can determine the device local time of the driving environment sensor node according to the timing of the timing unit, and use the calibrated device local time when generating environment perception data for environment perception, that is, the driving environment sensor node is used to perceive the environment and generate environment perception Data, where the environment perception data includes time stamp information for performing the perception action.
  • the driving environment sensing data calculation unit also determines the validity of the environment perception data according to the time stamp information in the environment perception data before performing calculations based on the environment perception data obtained by the sensor node, and uses the environment after determining that the environment perception data is valid Perception data is calculated.
  • the timing unit guarantees the clock consistency of the sensor nodes, and during calculation, checking the time stamp information in each environmental perception data to determine the validity of the environmental perception data ensures that the data obtained by the sensor is generated under a specific time requirement , To ensure the real-time data and the effectiveness of the system to respond to the surrounding environment.
  • whether the synchronization of the actions of each sensor node meets the requirements can affect whether the final calculation result is correct, thereby affecting the judgment of the environment state of the entire automatic driving system.
  • the automatic driving induction control system provided in the second embodiment of the present application can also check the time characteristics of the environmental perception data of each sensor when performing the fusion processing of multi-sensor node data, which can ensure that each data source, that is, the environmental perception obtained by each sensor The data is obtained by synchronized actions, thus ensuring and improving the accuracy of the fusion calculation results, and improving the accuracy of the automatic driving system's perception of the environment, and the correct perception of the environment is very important for improving the safety of the automatic driving system .
  • FIG. 1 is a schematic diagram of a timing device provided in Embodiment 1 of the present application.
  • FIG. 2 is a schematic diagram of providing data signals and interrupt signals in the first embodiment of the present application
  • FIG. 3 is a schematic diagram of an automatic driving induction control system provided by Embodiment 2 of the present application.
  • FIG. 4 is a schematic diagram of a robot induction control system provided by Embodiment 3 of the present application.
  • Fig. 5 is a flow chart of the induction data calculation control method provided by the fourth embodiment of the present application.
  • the embodiment of the present application provides a timing device, which is a local device.
  • the timing device can be directly connected to a timing device through a bus.
  • the timing device may include some or some sensor node devices of the system.
  • the timing device and the sensor node device (sometimes also referred to as the node device) in the following text may refer to the same device, and may be interchanged or used in common.
  • the data bus can be used to realize the connection and data transmission between the timing device and the sensor node equipment, which overcomes the defects that the existing timing is easily affected by other application conditions, such as network conditions, location, etc., through the network or wireless methods.
  • Timing The device can actively send time synchronization signals to the waiting equipment connected to the system through the data bus. It has the characteristics of fast timing, high accuracy and stable operation, which improves the real-time response of the timing tasks of each sensor node, easy to install and maintain, and low cost , Very suitable and easy to apply in popular systems.
  • the timing device 100 may include: a clock unit 110, a processor 120, and a sensor adaptation unit 130; 130 may include a data bus 1301; the clock unit 110 is used to provide a clock signal for the processor 120; the processor 120 is used to generate a time synchronization signal according to the current time of the system, and send the time synchronization signal to the sensor connected to the sensor through the bus 1301
  • the timing device of the adaptation unit 130; the data bus 1301 is used to provide a data transmission connection between the processor 120 and the timing device connected to the sensor adaptation unit 130; the sensor adaptation unit 130 is used to connect the timing device.
  • the clock unit 110 is used to provide an accurate clock signal for the processor 120 to ensure the accuracy of the system time.
  • the processor can read the current time of the system and generate a time synchronization signal according to the current time of the system.
  • the processor 120 can The time synchronization signal is sent to the time-serving device connected to the sensor adapting unit 130 through the data bus 1301, which plays a role of connection and data transmission, so that the time-serving device corrects its system time according to the time synchronization signal.
  • the equipment to be timed can include multiple sensor nodes that need to be timed.
  • the timing task is relatively heavy, especially for safety considerations.
  • the timing tasks in the system will be required to run continuously, and traditional timing methods are difficult to meet the requirements;
  • secondly, for the sensor devices used by different sensor device nodes, due to the difference in the design of the product interface by the provider, and the practical application For reasons such as technical index requirements, different types of sensor equipment, even the same type of sensor equipment, often use different types of interfaces.
  • timing devices When considering the use of timing services to obtain accurate time to complete some time-sensitive tasks, it is difficult for existing timing methods to provide a product that can be universally used for multiple sensor interfaces, and a single timing interface form, such as the Ethernet timing protocol The specified interface cannot be adopted. In addition to insufficient resources and high time-consuming, there is also a more obvious shortcoming that limits the selection of sensor equipment. The direct consequence may be the inability to use some high-quality components to build more competitive Even in some cases, some technical indicators are difficult to achieve and the calculation cannot be completed, and some functions of the system cannot be realized accordingly. A preferred solution of the timing device provided in the first embodiment of the present application just solves these problems.
  • the timing device may include two or more sensor adaptation units.
  • the timing device shown in FIG. 1 in addition to the "sensor adaptation unit 1", there may also be “Sensor adaptation unit 2", ... up to “sensor adaptation unit N", where N is a natural number.
  • the timing device may include two or more sensor adaptation units, which can well solve the problem of continuous operation of timing tasks caused by multiple sensor device nodes, and meet the requirement of frequent timing of multiple sensor device nodes.
  • each sensor adapter unit can have the same or different types of adapter interfaces, and the adapter interface matches the interface of the corresponding timing device.
  • each transmission device node in the system When the device interface used by each transmission device node in the system is a different type of interface, When a timing operation is required, the timing device can match the sensor equipment to be connected through different types of adaptation interfaces, and transmit a time synchronization signal through the bus therein, so as to realize the timing operation of the sensor equipment node to be timed.
  • each sensor adaptation unit may also include different types of data buses at the same time, and the data bus type in each sensor adaptation unit has a corresponding relationship with the type of the adaptation interface
  • the data bus 1301 can include USB, UART, I2C, SPI, CAN and other types of digital buses.
  • the sensor adapter unit can provide a corresponding type of adapter interface to interface with the connected sensor node device type and technology The indicators match.
  • multiple sensor adaptation units and processors can also be connected using a common bus.
  • the processor 120 can send the time synchronization signal to the timing device connected to the sensor adaptation unit through the data bus.
  • the timing device can be based on the arrival time of the time synchronization signal. And the correct time included in the time synchronization signal, determine the clock correction parameter of the device to be timed, and then correct the clock of the sensor node device according to the determined clock correction parameter.
  • an interrupt trigger method may be adopted.
  • the processor 120 may include an interrupt signal in the time synchronization signal sent to the to-be-timed device connected to the sensor adapting unit 130.
  • the processor 120 may include the first interrupt signal and the time synchronization signal generated and sent in the time synchronization signal.
  • Synchronous data signal where the first interrupt signal is sent to the time-serving device to enable the time-serving device to generate interrupt processing
  • the synchronization data signal may include the current time of the system, and the time-serving device can generate interrupt processing according to the first interrupt signal and then according to the synchronization data
  • the current system time in the signal is calibrated to the local time of the equipment to be timed.
  • the processor 120 may synchronously send out the first interrupt signal and the synchronization data signal, so that the device to be timed can synchronize to capture and process the first interrupt signal and the synchronization data signal.
  • the sensor adaptation unit 130 may include an interrupt output 1303, and the first interrupt signal may be sent to the connected timing device through the interrupt output 1303 of the sensor adaptation unit.
  • the timing device may send a synchronization data signal to the connected timing equipment through the data bus, and the synchronization data signal includes the current system time of the timing module
  • the first interrupt signal is sent through the interrupt output, and the device to be timed receives the first interrupt signal, and the device local time of the device to be timed can be determined according to the arrival time of the first interrupt signal
  • the local time of the device when the first interrupt signal arrives Determine the clock correction parameters of the equipment to be timed so that the equipment to be timed can make corrections based on the clock correction parameters compared with the local time of the equipment to be timed.
  • the processor 120 may periodically send a time synchronization signal to the timing device connected to the sensor adaptation unit 130 at a preset frequency, such as 1 Hz, so that the timing device can continuously obtain time corrections and ensure the accuracy of the sensor node device clock , And further obtain the data with the correct time stamp based on the accurate clock, so as to supply the data to the relevant calculation unit for effective calculation.
  • a preset frequency such as 1 Hz
  • the timing device can also receive the clock feedback signal of the sensor node device, and judge the clock state of the sensor node device according to the clock feedback signal of the sensor node device.
  • the processor 120 may also be used to receive a clock feedback signal of the device to be timed connected to the sensor adaptation unit, and determine the clock state of the device to be timed according to the received clock feedback signal. Further, the processor 120 can also feed back the clock status of the sensor node device to the host.
  • the host can be an upper computer, which can process various data obtained by the lower computer and control the operation of the lower computer.
  • the host receives the sensor After the clock state of the node device, it can react according to the different clock state of the sensor node device. For example, when the clock state of the sensor node device is found to be outside the allowable error range, the node device is forced to time, or record and generate Reports on the node equipment, etc.
  • the processor 120 may receive the clock feedback signal of the device to be timed connected to the sensor adaptation unit.
  • the clock feedback signal may include the current time of the device of the sensor node device.
  • the arrival time of the clock feedback signal obtains the offset of the current time of the device, and determines whether the clock state of the sensor node device is normal according to the offset.
  • it can also be implemented based on interrupts.
  • the clock feedback signal can include a second interrupt signal and a feedback data signal.
  • the second interrupt signal can cause the processor to enter interrupt processing.
  • the sensor adaptation unit 130 may include an interrupt input 1302, and the second interrupt signal may be sent to the processor 120 through the interrupt input 1302 of the sensor adaptation unit.
  • the timing device can receive the feedback data signal sent by the timing device through the data bus, and the feedback data signal includes the current time of the sensor node device.
  • the second interrupt signal is received through the interrupt input.
  • the processor After the processor receives the second interrupt signal, it can determine the system local time of the timing module according to the arrival time of the second interrupt signal By comparing the current time of the received device And the system local time when the second interrupt signal arrives Determine the clock status of the sensor node device.
  • the processor 120 may be used to generate clock state data of the device to be timed, and send the clock state data to the upper computer. For example, when comparing the current time of the device And the system local time when the second interrupt signal arrives After the difference between the two is greater than the preset threshold, it can be judged that the clock status of the sensor node device is abnormal.
  • the timing device 100 may also include a power supply 140 for adjusting the external voltage to the voltage required by internal components to supply power to the internal electrical components.
  • the timing device 100 may also include a battery 150 for providing backup power when the external power supply stops. At times, backup power is provided to save critical data.
  • the battery can also be used to keep the clock running.
  • the clock unit can use a voltage-controlled crystal oscillator, a constant temperature crystal oscillator, and a temperature-compensated crystal oscillator with strong interference resistance to provide pulse signals.
  • the data bus can use USB, Ethernet, UART, RS232, RSR485, CAN, I2C, SPI and other types of buses.
  • Data bus and interrupt input and interrupt output can be isolated and protected by optocoupler or electromagnetic isolation chip to avoid interference between different signals sent at the same time.
  • the processor can use ARM, DSP, FPGA and other types of chips.
  • the first interrupt signal (interrupt output), synchronous data signal; and the second interrupt signal (interrupt input), the timing relationship of the feedback data signal is shown in FIG. 2.
  • Use the interrupt output to control the local time of the device that generates the sensor node to compare the current time of the system sent through the data bus.
  • the process of obtaining the correction parameters is very time-sensitive, and can generally be completed within one to several clock cycles to make the clock correction accuracy Reaching the microsecond level, greatly improving the accuracy of timing results.
  • the interrupt input is used to control the system local time of the timing device to compare the current time of the device sent to the sensor node device through the data bus.
  • the determined interpolation can accurately reflect the current clock state of the sensor node device.
  • the timing device 100 may also include an external timing receiving module.
  • the external timing receiving module is used to realize the connection with other external timing systems or similar timing devices to receive timing from other external timing systems such as GPS, Beidou, etc., or other similar timing devices. Time service.
  • the timing module can communicate with the host through RS232, Ethernet, USB, WIFI, Bluetooth and other connection methods to exchange data and instructions with the host.
  • a multi-node system can use one or more timing devices to achieve more interface expansion capabilities and improve the robustness of the system.
  • the above provides a detailed introduction to the timing device provided in the first embodiment of the present application.
  • a local timing device applied in a multi-sensor node system can be realized, which overcomes the limited resources in the existing timing methods that cannot meet large-scale applications.
  • the timing device can be used as a module unit in the system to continuously operate and provide continuous timing for related equipment. Compared with the prior art, it can also meet the high frequency and high real-time timing task of multi-node system data acquisition and processing tasks. It also has the characteristics of rapid time service, high success rate, simple deployment, no configuration, strong adaptability, low cost and wide application range.
  • the timing device may include multiple sensor adaptation units to access multiple sensor node devices that require timing, and the timing of multiple sensor node devices can be performed through the same timing device, which can ensure the accuracy of each sensor node device clock And synchronization, thereby ensuring the validity of the calculation results.
  • the device can be equipped with many different types of sensor adaptation units, which overcomes the problem that the sensor interface can only be selected in a single type caused by the single interface required in the traditional timing mode, and makes the application design of the multi-node system in the application process The sensor interface type can be selected more freely, thereby improving the flexibility of the system.
  • the timing device can judge whether the clock state of the sensor node device is abnormal according to the clock feedback signal of the sensor node device, and can make the system react quickly when judging that the clock state of the sensor node device is abnormal, ensuring the system components and the entire system Effectiveness.
  • the device can provide accurate and reliable timing services for each sensor node device, so that each sensor node device can be based on reliable and synchronized clock information when collecting data, which improves the effectiveness of the system's calculation of data and the calculation result The accuracy of this ensures the reliability of the entire system and improves the safety performance of the system.
  • the second embodiment of the application provides an automatic driving induction control system, which is applied to the field of automatic driving induction control.
  • FIG. 3 is a schematic diagram of the automatic driving induction control system provided in the second embodiment of the application, as shown in FIG. 3
  • the automatic driving sensing control system 300 may include a first timing unit 310, a driving environment sensor node 320, and a driving environment sensing data calculation unit 330; wherein the first timing unit 310 may be used to provide timing for the driving environment sensor node.
  • the driving environment sensor node 320 can determine the device local time of the driving environment sensor node according to the timing of the first timing unit, and use the calibrated device local time when performing environment perception to generate environment perception data, that is, the driving environment sensor node is used to sense the environment And generate environment perception data, where the environment perception data may include time stamp information for performing the perception action.
  • the driving environment sensing data calculation unit 330 receives the environment perception data obtained by the driving environment sensor node, determines the validity of the environment perception data according to the time stamp information in the environment perception data, and uses the environment perception data for calculation after determining that the environment perception data is valid .
  • the automatic driving sensing control system 300 includes at least two driving environment sensor nodes that need to perform timing operations, and the timing unit is connected to each driving environment sensor node. It is also used to provide timing for each driving environment sensor node; the driving environment sensing data calculation unit 330 receives the environment perception data of each driving environment sensor node, and determines the validity of each environment perception data according to the time stamp information in each environment perception data. After confirming that each environmental perception data is valid, use each environmental perception data for fusion calculation, thereby obtaining the fusion calculation result of the multi-sensor environmental perception data, and obtain high-accuracy environmental perception through the multi-sensor fusion calculation result.
  • the first timing unit may use the timing device in the first embodiment.
  • the first timing unit may include: a clock unit, a processor, and a sensor adaptation unit; the sensor adaptation unit may include a data bus; where the clock unit is used for The processor provides a clock signal.
  • the processor can be used to generate a time synchronization signal according to the current time of the system, and send the time synchronization signal to the sensor node connected to the sensor adaptation unit through the data bus; the data bus can be used to connect the processor to the sensor node.
  • the sensor nodes of the sensor adaptation unit provide data transmission connections, and the sensor adaptation unit can be used to connect the sensor nodes.
  • the sensors connected through the sensor adapter unit can include any of the following types of sensors: lidar, monocular camera, binocular camera, satellite navigation module, inertial measurement unit IMU, millimeter wave radar, wheel speedometer, etc. and other internal clocks Sensor type.
  • the first timing unit can provide timing for sensor nodes.
  • the driving environment sensor node can determine the device local time of the sensor node according to the timing of the first timing unit, and use the calibrated device local time when generating environment perception data for environment perception, that is, the driving environment sensor node is used to perceive the environment and generate environment perception Data, where the environment perception data includes time stamp information for performing the perception action.
  • the driving environment sensing data calculation unit also determines the validity of the environment perception data based on the time stamp information in the environment perception data before performing calculations based on the environment perception data obtained by the sensor node, and uses the environment perception data after determining that the environment perception data is valid Calculation.
  • the timing unit ensures the clock consistency of the sensor nodes of the driving environment.
  • the time stamp information in each environment perception data is checked to determine the validity of the environment perception data, which ensures that the data obtained by the sensor is under the specific time requirement.
  • the generated data ensures the real-time nature of the data and the effectiveness of the system's response to the surrounding environment.
  • the automatic driving induction control system provided in the second embodiment of the present application can also check the time characteristics of the environmental perception data of each sensor when performing the fusion processing of multi-sensor node data, which can ensure that each data source, that is, the environmental perception obtained by each sensor The data is obtained by synchronized actions, thus ensuring and improving the accuracy of the fusion calculation results, and improving the accuracy of the automatic driving system's perception of the environment, and the correct perception of the environment is very important for improving the safety of the automatic driving system .
  • the first timing unit in the automatic driving induction control system can include the timing device in the first embodiment, it also has some or all of the technical effects of the timing device in the first embodiment.
  • the third embodiment of the application provides a robot induction control system, which is applied to the field of robot induction control.
  • FIG. 4 is a schematic diagram of the robot induction control system provided in the third embodiment of the application.
  • the robot The sensing control system 400 may include a second timing unit 410, an environmental sensing sensor node 420, and an environmental data calculation unit 430; wherein the second timing unit 410 may be used to provide timing for the environmental sensing sensor node 420.
  • the environment-aware sensor node 420 can determine the device local time of the node according to the timing of the second timing unit, and use the calibrated device local time when generating environment-aware data for environment awareness, that is, the environment-aware sensor node 420 is used to sense the environment and generate Environment perception data, where the environment perception data may include time stamp information for performing a perception action.
  • the environment data calculation unit 430 receives the environment perception data obtained by the environment perception sensor node, determines the validity of the environment perception data according to the timestamp information in the environment perception data, and uses the environment perception data for calculation after determining that the environment perception data is valid.
  • the robot sensing control system 400 includes at least two timing operations.
  • the timing unit is connected to each environmental sensing sensor node, and is used to provide timing for each environmental sensing sensor node; the environmental data calculation unit 430 receives the environmental sensing data of each environmental sensing sensor node, according to the time in each environmental sensing data
  • the stamp information determines the validity of each environmental perception data, and uses each environmental perception data to perform fusion calculation after confirming that each environmental perception data is valid, so as to obtain the fusion calculation result of the multi-sensor environmental perception data, through the multi-sensor fusion calculation result, Perform high-accuracy perception of environmental objects.
  • the second timing unit may use the timing device in the first embodiment.
  • the second timing unit may include: a clock unit, a processor, and a sensor adaptation unit; the sensor adaptation unit may include a data bus; where the clock unit is used for The processor provides a clock signal.
  • the processor can be used to generate a time synchronization signal according to the current time of the system, and send the time synchronization signal to the sensor node connected to the sensor adaptation unit through the data bus; the data bus can be used to connect the processor to the sensor node.
  • the sensor nodes of the sensor adaptation unit provide data transmission connections, and the sensor adaptation unit can be used to connect the sensor nodes.
  • the sensors connected through the sensor adapter unit can include any of the following types of sensors: lidar, monocular camera, binocular camera, satellite navigation module, inertial measurement unit IMU, millimeter wave radar, wheel speedometer, etc. and other internal clocks Sensor type.
  • the second timing unit can be included to provide timing for the environmental sensing sensor node.
  • the environment-aware sensor node can determine the device local time of the node according to the timing of the second timing unit, and use the calibrated device local time when performing environment awareness to generate environment-aware data, that is, the environment-aware sensor node is used to perceive the environment and generate environment-aware data , Where the environment perception data includes time stamp information for performing the perception action.
  • the environmental data calculation unit can also determine the validity of the environmental sensing data based on the time stamp information in the environmental sensing data before performing calculations based on the environmental sensing data obtained by the sensor node, and use the environmental sensing data to perform the calculation after determining that the environmental sensing data is valid. Calculation.
  • the second timing unit ensures the clock consistency of the environment-aware sensor nodes, and during calculation, checking the time stamp information in each environment-aware data to determine the validity of the environment-aware data ensures that the data obtained by the sensor is required at a specific time This ensures the real-time performance of the data and the effectiveness of the system’s response to the surrounding environment.
  • the robot induction control system can also check the time characteristics of the environmental perception data of each sensor when performing the fusion processing of multi-sensor node data, and can ensure that each data source, that is, the environmental perception data obtained by each sensor It is obtained by synchronized actions, thereby ensuring and improving the accuracy of the fusion calculation results, and also improving the accuracy of the robot system's perception of the environment, and the correct perception of the environment is of great significance for improving the operating efficiency of the robot system.
  • the second time service unit in the robot induction control system can include the time service device in the first embodiment, it also has some or all of the technical effects of the time service device in the first embodiment.
  • the fourth embodiment of the present application provides a sensing data calculation control method.
  • the sensing data calculation control method can be applied to a multi-sensor automation system, especially using multiple sensor node devices and performing sensing data processing of multiple sensor node devices.
  • the accuracy of the fusion calculation result is ensured by ensuring the clock consistency of the multiple sensors participating in the environmental object sensing, thereby improving the reliability of the entire system.
  • the method may include the following steps:
  • S510 Perform timing on sensor node devices in the local system
  • Time service is performed on the sensor node devices in the local system, so that each sensor node device in the system has a uniform and accurate clock.
  • the time service unit in the local system can be used to time the sensor node equipment in the local system, for example, locally
  • the timing device provided in Example 1 is built into the system, and the timing device installed locally can be used to time the sensor node equipment inside the local system, so that the sensor node equipment inside the local system can obtain a more timely and reliable timing source .
  • the timing unit in the local system may have at least two different types of interface units, respectively connect to different sensor node devices with corresponding interface types, and perform timing on different sensor node devices connected to the interface unit,
  • the time service unit in the local system can be applied to sensor node devices of different interface types, and it is also convenient for the sensor selection of the system design.
  • the sensor node equipment is connected with the time service unit in the local system through a data bus.
  • the sensor node device and the timing unit in the local system can also be connected with an interrupt signal line to time the sensor node device in the local system.
  • the timing unit can send the current time of the system through the data bus and at the same time through the interrupt signal line.
  • the sensor node device determines the device local time of the device to be timed according to the arrival time of the interrupt signal, and receives the current system time through the data bus, and determines the clock correction parameters of the device to be timed by comparing the current time of the system and the local time of the device.
  • the clock correction parameter corrects the local time of the device.
  • the sensor node device can also send the device time to the system so that the system can judge the clock state of the sensor device node.
  • the content of this process can refer to the content of the corresponding part in the first embodiment, which will not be repeated here.
  • the operation of timing the sensor node device can be performed immediately after the system is powered on or the sensor node device is powered on.
  • the sensor node device waits for the timing after power-on, and enters the standby or working state after the timing is completed to obtain the correct device local time of the sensor node device.
  • the sensor node device waits for the time service after powering up, and after the time service is completed, the device local time can be fed back to the upper system, which is based on the local time of the device and the system time of the received signal Determine whether the clock status of the sensor node device is normal, and send a message or instruction to the sensor node device after it is determined to be normal.
  • the sensor node device enters the standby or working state after receiving the signal from the upper system to determine that the clock condition of the sensor node device meets the requirements , Where, the clock working condition of the sensor node device includes the clock information of the sensor node device.
  • S520 Receive environment perception data obtained by the sensor node device perceiving an environment object; the environment perception data includes time stamp information for performing a perception action;
  • the sensor node device During the operation of the sensor node device, it perceives environmental objects and generates environmental perception data.
  • the generated environmental perception data can be sent to the system computing unit for calculation.
  • When generating environmental perception data it can be based on the device locality of the sensor node device. Time, time stamp information is added to the environment perception data, that is, the environment perception data includes the time stamp information for performing the perception action.
  • System related units can determine the time validity of the time stamp information in the environment perception data after receiving the environment perception data obtained by the sensor node device perceiving the environment object, and use environment perception after determining that the time stamp information is valid Data is calculated.
  • one implementation may be to compare the time stamp information of the environment perception data with the time when the environment perception data is received, and determine the environment perception data according to the comparison result The time validity of the time stamp information in.
  • the time synchronization of the environmental perception data of multiple sensors in certain application scenarios is far more important than the correctness of time.
  • the environment perception data obtained by receiving the sensor node device perceiving the environmental object may be obtained by receiving multiple sensor node devices perceiving the environmental object.
  • Multiple pieces of environment perception data when determining the time validity of the time stamp information in the environment perception data, you can compare the time stamp information of each piece of environment perception data, and determine the time of the time stamp information in each piece of environment perception data according to the comparison result Effectiveness.
  • the environment perception data of several sensor nodes can be fused and calculated, for example, the system's radar and camera and other sensor node devices can be fused and calculated.
  • the time stamp status in the environmental awareness data of one or more sensor node devices is abnormal, which means that the corresponding sensor node device or device management unit is abnormal.
  • the sensor node device in the local system can be timed; the environment perception data obtained by the sensor node device perceiving the environmental object can be received, wherein, The environment perception data may include time stamp information for performing the perception action.
  • the time validity of the time stamp information in the environment perception data may be determined first; after the time stamp information is determined to be valid, the environment perception data is used for calculation.
  • the sensing data calculation control method can be applied to a multi-sensor automation system, especially in an automation system that uses multiple sensor node devices and performs fusion calculation of the sensing data of the multi-sensor node devices for environmental object sensing, by ensuring participation
  • the clock consistency of multiple sensors sensed by environmental objects ensures the accuracy of the fusion calculation results, thereby improving the reliability of the entire system.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Electric Clocks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

Disclosed are a sensing data calculation control method and a time-transfer apparatus. The time-transfer apparatus comprises: a clock unit, a processor and a sensor adaptation unit, wherein the sensor adaptation unit comprises a data bus; the clock unit is used for providing a clock signal for the processor; the processor is used for generating a time synchronization signal according to the current time of a system, and sending, by means of the data bus, the time synchronization signal to a device, to be subjected to time transfer, connected to the sensor adaptation unit; the data bus is used for providing a data transmission connection for the processor and the device, to be subjected to time transfer, connected to the sensor adaptation unit; and the sensor adaptation unit is used for being connected to the device to be subjected to time transfer. By means of the apparatus, continuous, stable and reliable time transfer can be provided locally for a sensor node of a system, so as to meet requirements for the frequent occurrence and high real-time performance of time-transfer tasks in a multi-node system, thereby improving the validity of calculated data and the accuracy of a calculation result.

Description

感应数据计算控制方法以及授时装置Induction data calculation control method and timing device
本申请要求2019年02月20日递交的申请号为201910126605.8、发明名称为“感应数据计算控制方法以及授时装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 201910126605.8 and the invention title "Induction data calculation control method and timing device" filed on February 20, 2019, the entire content of which is incorporated into this application by reference.
技术领域Technical field
本发明涉及自动控制数据处理技术领域,特别涉及一种感应数据计算控制方法、授时装置以及自动驾驶感应控制系统。The present invention relates to the technical field of automatic control data processing, in particular to an induction data calculation control method, a timing device and an automatic driving induction control system.
背景技术Background technique
实时性要求较高的任务系统中,通常需要特定方式实现的授时服务,以满足各节点对准确,稳定和可靠的时间参数的要求,使系统各节点能够同步协调动作,在特定的时间点和时限等时间相关要求内完成指定的任务。例如在机器人,自动驾驶等应用领域,在实际应用过程中,需要大量的传感器与处理器进行协调,以实现环境感知与定位,而在需要多传感器配合以完成某项任务的过程中,各传感器的时间戳信息对计算结果有着很大的影响,良好的时间同步能够保证传感器信息拥有正确的时间戳,以根据传感器信息得到正确的计算结果,而如果感应数据的时间量不准确,则可能造成很多的无效数据采集与计算,影响系统的实际应用,更严重的后果甚至可能得到错误的计算结果,使系统可用性和安全性大大降低。In task systems with high real-time requirements, timing services in a specific way are usually required to meet the requirements of each node for accurate, stable and reliable time parameters, so that all nodes in the system can synchronize and coordinate their actions at a specific point in time. Complete the specified tasks within time-related requirements such as time limit. For example, in application fields such as robots and autonomous driving, in the actual application process, a large number of sensors and processors are required to coordinate to realize environmental perception and positioning. In the process of requiring multiple sensors to complete a task, each sensor The time stamp information of the sensor has a great influence on the calculation result. Good time synchronization can ensure that the sensor information has the correct time stamp to obtain the correct calculation result based on the sensor information. If the time amount of the sensing data is inaccurate, it may cause A lot of invalid data collection and calculations affect the practical application of the system, and even more serious consequences may even get wrong calculation results, which greatly reduces the availability and safety of the system.
在现有技术中,传统的授时方式难以满足一些应用环境下的特性需求。例如机器人,自动驾驶等应用多传感器的系统中,其授时任务发生的频度高,尤其在安全性优先的应用策略中,甚至要求对所有传感器数据的时间进行检查。另外,由于这些系统对感应和计算的实时性要求较高,决定了授时装置需要工作在很高效的状态,例如在自动驾驶领域,自动驾驶系统需要对路况做出快速反应以调整车辆的运动状态,而这一过程需要多个传感器同步协调动作,传感器感应数据如果带有准确的时间戳,则非常有利于自动驾驶系统对多变的路况做出准确的判断。对于授时过程的高发性和实时性需求,一些传统的授时方式例如网络授时,是难以满足的。而对于类似于自动驾驶这种经常处于移动中的系统,远距离的授时方式常常会受信号强度的影响,同样难以满足授时实时性的需求。In the prior art, the traditional time service method is difficult to meet the characteristic requirements in some application environments. For example, in robots, automatic driving and other systems that use multiple sensors, the timing tasks occur frequently, especially in the application strategy that prioritizes safety, and even requires checking the time of all sensor data. In addition, due to the high real-time requirements of these systems for sensing and calculation, it is determined that the timing device needs to work in a very efficient state. For example, in the field of automatic driving, the automatic driving system needs to respond quickly to road conditions to adjust the movement of the vehicle. , And this process requires multiple sensors to synchronize and coordinate actions. If the sensor sensing data has accurate time stamps, it is very helpful for the automatic driving system to make accurate judgments on changing road conditions. For the high frequency and real-time requirements of the timing process, some traditional timing methods such as network timing are difficult to meet. For systems that are often on the move, such as automatic driving, the long-distance timing method is often affected by signal strength, and it is also difficult to meet the real-time timing requirements.
综上,需要本领域技术人员解决的问题就在于,提供一种授时装置,满足多传感器应用系统对于授时的高发性和实时性需求,提高各传感器节点的同步协调能力,提高数 据感应计算结果的准确性。In summary, the problem that needs to be solved by those skilled in the art is to provide a timing device that meets the high incidence and real-time requirements of multi-sensor application systems for timing, improves the synchronization and coordination capabilities of each sensor node, and improves the performance of data sensing calculation results. accuracy.
发明内容Summary of the invention
本发明提供了一种感应数据计算控制方法、授时装置以及自动驾驶感应控制系统,其中,所述授时装置能够在本地为系统的传感器节点提供持续稳定可靠的授时,满足多节点系统中授时任务高发和高实时性的要求,提高了计算数据的有效性以及计算结果的准确性。The present invention provides a sensing data calculation control method, a timing device, and an automatic driving sensing control system, wherein the timing device can locally provide continuous, stable and reliable timing for the sensor nodes of the system to meet the high frequency of timing tasks in a multi-node system And high real-time requirements have improved the validity of calculation data and the accuracy of calculation results.
本发明提供了如下方案:The present invention provides the following solutions:
一种授时装置,包括:A timing device, including:
时钟单元,处理器,以及传感器适配单元;所述传感器适配单元包括数据总线;A clock unit, a processor, and a sensor adaptation unit; the sensor adaptation unit includes a data bus;
其中,所述时钟单元用于为处理器提供时钟信号;Wherein, the clock unit is used to provide a clock signal for the processor;
所述处理器,用于根据系统当前时间生成时间同步信号,通过所述数据总线将所述时间同步信号发送至连接在所述传感器适配单元的待授时设备;The processor is configured to generate a time synchronization signal according to the current time of the system, and send the time synchronization signal to a timing device connected to the sensor adapting unit through the data bus;
所述数据总线,用于为所述处理器与连接在所述传感器适配单元的待授时设备提供数据传输连接;The data bus is used to provide a data transmission connection for the processor and the timing device connected to the sensor adaptation unit;
所述传感器适配单元,用于连接待授时设备。The sensor adaptation unit is used to connect to the equipment to be timed.
一种自动驾驶感应控制系统,包括:An automatic driving induction control system, including:
第一授时单元,驾驶环境传感器节点,以及驾驶环境感应数据计算单元;The first timing unit, the driving environment sensor node, and the driving environment sensing data calculation unit;
其中,所述第一授时单元,用于为所述驾驶环境传感器节点提供授时;Wherein, the first timing unit is configured to provide timing for the driving environment sensor node;
所述驾驶环境传感器节点,用于根据所述第一授时单元的授时确定驾驶环境传感器节点的设备本地时间;以及,用于感知环境对象并生成环境感知数据;所述环境感知数据包括执行感知动作的时间戳信息;The driving environment sensor node is used to determine the device local time of the driving environment sensor node according to the timing of the first timing unit; and, used to perceive environmental objects and generate environmental perception data; the environmental perception data includes performing a perception action Timestamp information;
所述驾驶环境感应数据计算单元,用于接收驾驶环境传感器节点生成的所述环境感知数据,根据环境感知数据中的所述时间戳信息确定环境感知数据的有效性,并在确定所述环境感知数据有效后使用所述环境感知数据进行计算。The driving environment sensing data calculation unit is configured to receive the environment perception data generated by the driving environment sensor node, determine the validity of the environment perception data according to the time stamp information in the environment perception data, and determine the validity of the environment perception data. After the data is valid, the environment perception data is used for calculation.
一种机器人感应控制系统,包括:A robot induction control system, including:
第二授时单元,环境感知传感器节点,以及环境数据计算单元;The second timing unit, the environment sensing sensor node, and the environment data calculation unit;
其中,所述第二授时单元,用于为所述环境感知传感器节点提供授时;Wherein, the second timing unit is configured to provide timing for the environmental sensing sensor node;
所述环境感知传感器节点,用于根据所述第二授时单元的授时确定环境感知传感器节点的设备本地时间;以及,用于感知环境对象并生成环境感知数据;所述环境感知数 据包括执行感知动作的时间戳信息;The environment-aware sensor node is configured to determine the device local time of the environment-aware sensor node according to the timing of the second timing unit; and, to perceive environmental objects and generate environment-aware data; the environment-aware data includes performing a perception action Timestamp information;
所述环境数据计算单元,用于接收环境感知传感器节点生成的所述环境感知数据,根据环境感知数据中的所述时间戳信息确定环境感知数据的有效性,并在确定所述环境感知数据有效后使用所述环境感知数据进行计算。The environment data calculation unit is configured to receive the environment perception data generated by the environment perception sensor node, determine the validity of the environment perception data according to the time stamp information in the environment perception data, and determine the validity of the environment perception data Then use the environmental perception data for calculation.
一种感应数据计算控制方法,包括:A method for calculating and controlling induction data includes:
对本地系统内的传感器节点设备进行授时;Timing of sensor node devices in the local system;
接收传感器节点设备感知环境对象获得的环境感知数据;所述环境感知数据包括执行感知动作的时间戳信息;Receiving environment perception data obtained by a sensor node device perceiving an environment object; the environment perception data includes time stamp information for performing a perception action;
确定所述环境感知数据中的所述时间戳信息的时间有效性;Determining the time validity of the time stamp information in the environment perception data;
在确定所述时间戳信息有效后,使用所述环境感知数据进行计算。After it is determined that the time stamp information is valid, the environment perception data is used for calculation.
根据本申请提供的具体实施例,本申请公开了以下技术效果:According to the specific embodiments provided in this application, this application discloses the following technical effects:
通过本申请,可以实现一种应用在多传感器节点系统中的本地授时装置,克服了现有授时方式中资源有限无法满足大规模应用的缺陷,该授时装置可以作为系统中的模块单元持续运行,为相关设备进行持续性的授时,相比较现有技术,还能够满足多节点系统数据获取及处理任务中授时任务高发性和高实时性的要求,同时还具有授时迅速,成功率高,部署简单,无需配置,适应性强,成本低且应用范围广的特点。Through this application, a local timing device applied in a multi-sensor node system can be realized, which overcomes the shortcomings of limited resources in existing timing methods that cannot meet large-scale applications. The timing device can be continuously operated as a module unit in the system. Continuous time service for related equipment. Compared with the existing technology, it can also meet the high frequency and high real-time requirements of time service tasks in multi-node system data acquisition and processing tasks. At the same time, it also has fast time service, high success rate, and simple deployment. , No need to configure, strong adaptability, low cost and wide application range.
进一步的,该授时装置可以包括多个传感器适配单元,以接入多个需要授时的传感器节点设备,可以通过同一授时装置进行多传感器节点设备的授时,可以保证各传感器节点设备时钟的准确性以及同步性,进而保证计算结果的有效性。进一步的,该装置可以配备多中不同类型的传感器适配单元,克服了传统授时方式中要求的接口单一造成的传感器接口只能进行单一选型的问题,使多节点系统的应用设计应用过程中可以更加自由的选择传感器接口类型,从而提高了系统的灵活性。Further, the timing device may include multiple sensor adaptation units to access multiple sensor node devices that require timing, and the timing of multiple sensor node devices can be performed through the same timing device, which can ensure the accuracy of each sensor node device clock And synchronization, thereby ensuring the validity of the calculation results. Furthermore, the device can be equipped with many different types of sensor adaptation units, which overcomes the problem that the sensor interface can only be selected in a single type caused by the single interface required in the traditional timing mode, and makes the application design of the multi-node system in the application process The sensor interface type can be selected more freely, thereby improving the flexibility of the system.
进一步的,该授时装置能够根据传感器节点设备的时钟反馈信号判断传感器节点设备的时钟状态是否异常,可以在判断传感器节点设备的时钟状态异常时使系统快速做出反应,保证了系统组件以及整个系统的有效性。在应用的过程中,该装置可以为各传感器节点设备提供准确可靠的授时服务,使各传感器节点设备在采集数据时能够基于可靠且同步的时钟信息,提高了系统计算数据的有效性以及计算结果的准确性,进而保证了整个系统的可靠性以及提升了系统的安全性能。Further, the timing device can judge whether the clock state of the sensor node device is abnormal according to the clock feedback signal of the sensor node device, and can make the system react quickly when judging that the clock state of the sensor node device is abnormal, ensuring the system components and the entire system Effectiveness. In the process of application, the device can provide accurate and reliable timing services for each sensor node device, so that each sensor node device can be based on reliable and synchronized clock information when collecting data, which improves the effectiveness of the system's calculation of data and the calculation result The accuracy of this ensures the reliability of the entire system and improves the safety performance of the system.
在本申请实施例公开的自动驾驶感应控制系统中,第一授时单元可以为驾驶环境传感器节点提供授时。驾驶环境传感器节点可以根据授时单元的授时确定驾驶环境传感器 节点的设备本地时间,在进行环境感知生成环境感知数据时使用经校准的设备本地时间,即驾驶环境传感器节点用于感知环境并生成环境感知数据,其中环境感知数据包括执行感知动作的时间戳信息。而驾驶环境感应数据计算单元在根据传感器节点得到的环境感知数据进行计算前,还根据环境感知数据中的时间戳信息确定环境感知数据的有效性,并在确定环境感知数据有效后使用所述环境感知数据进行计算。授时单元保证了传感器节点的时钟一致性,而在计算时,检查各环境感知数据中的时间戳信息确定环境感知数据的有效性,则保证了传感器得到的数据是在特定时间需求的下产生的,保证了数据的实时性以及系统对周围环境做出反应的有效性。在进行多传感器的环境感知数据的融合计算时,各传感器节点的动作同步性是否达到要求可以影响到最终的计算结果是否正确,从而影响整个自动驾驶系统对环境状态的判断。本申请实施例二提供的自动驾驶感应控制系统,在进行多传感器节点数据的融合处理时,也可以检查各传感器的环境感知数据的时间特性,可以保证各数据源,即各传感器得到的环境感知数据是同步动作得到的,从而保证和提高了融合计算结果的正确性,提高了自动驾驶系统对于环境的感知的准确性,而对环境的正确感知对于提高自动驾驶系统安全性有着非常重要的意义。In the automatic driving induction control system disclosed in the embodiment of the present application, the first timing unit may provide timing for the driving environment sensor node. The driving environment sensor node can determine the device local time of the driving environment sensor node according to the timing of the timing unit, and use the calibrated device local time when generating environment perception data for environment perception, that is, the driving environment sensor node is used to perceive the environment and generate environment perception Data, where the environment perception data includes time stamp information for performing the perception action. The driving environment sensing data calculation unit also determines the validity of the environment perception data according to the time stamp information in the environment perception data before performing calculations based on the environment perception data obtained by the sensor node, and uses the environment after determining that the environment perception data is valid Perception data is calculated. The timing unit guarantees the clock consistency of the sensor nodes, and during calculation, checking the time stamp information in each environmental perception data to determine the validity of the environmental perception data ensures that the data obtained by the sensor is generated under a specific time requirement , To ensure the real-time data and the effectiveness of the system to respond to the surrounding environment. When performing the fusion calculation of multi-sensor environmental perception data, whether the synchronization of the actions of each sensor node meets the requirements can affect whether the final calculation result is correct, thereby affecting the judgment of the environment state of the entire automatic driving system. The automatic driving induction control system provided in the second embodiment of the present application can also check the time characteristics of the environmental perception data of each sensor when performing the fusion processing of multi-sensor node data, which can ensure that each data source, that is, the environmental perception obtained by each sensor The data is obtained by synchronized actions, thus ensuring and improving the accuracy of the fusion calculation results, and improving the accuracy of the automatic driving system's perception of the environment, and the correct perception of the environment is very important for improving the safety of the automatic driving system .
当然,实施本申请的任一产品并不一定需要同时达到以上所述的所有优点。Of course, implementing any product of this application does not necessarily need to achieve all the advantages described above at the same time.
附图说明Description of the drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following will briefly introduce the drawings needed in the embodiments. Obviously, the drawings in the following description are only some of the present invention. Embodiments, for those of ordinary skill in the art, without creative work, other drawings can be obtained from these drawings.
图1是本申请实施例一提供的授时装置的示意图;FIG. 1 is a schematic diagram of a timing device provided in Embodiment 1 of the present application;
图2是本申请实施例一提供数据信号与中断信号示意图;2 is a schematic diagram of providing data signals and interrupt signals in the first embodiment of the present application;
图3是本申请实施例二提供的自动驾驶感应控制系统的示意图;FIG. 3 is a schematic diagram of an automatic driving induction control system provided by Embodiment 2 of the present application;
图4是本申请实施例三提供的机器人感应控制系统的示意图;FIG. 4 is a schematic diagram of a robot induction control system provided by Embodiment 3 of the present application;
图5是本申请实施例四提供的感应数据计算控制方法的流程图。Fig. 5 is a flow chart of the induction data calculation control method provided by the fourth embodiment of the present application.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基 于本发明中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art fall within the protection scope of the present invention.
自动驾驶,机器人等领域中的系统,通常涉及多个传感器节点设备,各节点设备实时配合动作,需要在准确可靠的同步时间条件下,才能完成一系列时间敏感型任务,例如需要通过两种以上传感器设备同步获取数据,才能进行融合计算获得正确的计算结果,这类任务要求各传感器节点设备具有同步且准确的时钟,而传感器节点的时钟可以通过授时服务获得。在类似于自动驾驶或机器人等多传感器节点系统中,这类处理任务的占比颇高,也就使得对节点实施准确可靠的授时服务尤为重要。现有技术的一些授时方式中,如网络授时方式延时较高且资源有限,无法满足多节点系统对于授时任务的高发性和高实时性需求,而无线远程授时的方式则较易受信号强度影响,资源有限且成本较高,难以满足多传感器节点系统大规模应用条件下对于授时服务的需求。本申请实施例提供了一种授时装置,该授时装置为一种本地装置,该授时装置可以通过总线的方式直接连接待授时设备,待授时设备可以包括系统的某种或某些传感器节点设备,为了便于描述或理解,后文中待授时设备与传感器节点设备(有时也简称为节点设备)可以指代相同设备,并且可以互换或通用。授时装置与传感器节点设备之间可以利用数据总线实现连接和数据传输,克服了现有通过网络或者无线等方式进行授时容易受到其它应用条件,如网络状况,所处位置等,影响的缺陷,授时装置能够通过数据总线主动发送时间同步信号给接入系统的待授时设备,具有授时速度快,精度高且运行稳定的特点,提高了各传感器节点授时任务的响应实时性,易于安装维护且成本低廉,非常适合且易于在普及型系统中进行应用。Systems in the fields of autonomous driving and robotics usually involve multiple sensor node devices, and each node device cooperates in real time. It needs to be accurately and reliably synchronized to complete a series of time-sensitive tasks, such as more than two types of tasks. The sensor equipment obtains the data synchronously to perform the fusion calculation to obtain the correct calculation result. Such tasks require that each sensor node equipment has a synchronized and accurate clock, and the clock of the sensor node can be obtained through the timing service. In multi-sensor node systems such as autonomous driving or robots, the proportion of such processing tasks is quite high, which makes it particularly important to implement accurate and reliable timing services for nodes. Some of the prior art timing methods, such as the network timing method with high delay and limited resources, cannot meet the high frequency and high real-time requirements of multi-node systems for timing tasks, while the wireless remote timing method is more susceptible to signal strength Impact, limited resources and high cost, it is difficult to meet the demand for timing services under the conditions of large-scale application of multi-sensor node systems. The embodiment of the present application provides a timing device, which is a local device. The timing device can be directly connected to a timing device through a bus. The timing device may include some or some sensor node devices of the system. For ease of description or understanding, the timing device and the sensor node device (sometimes also referred to as the node device) in the following text may refer to the same device, and may be interchanged or used in common. The data bus can be used to realize the connection and data transmission between the timing device and the sensor node equipment, which overcomes the defects that the existing timing is easily affected by other application conditions, such as network conditions, location, etc., through the network or wireless methods. Timing The device can actively send time synchronization signals to the waiting equipment connected to the system through the data bus. It has the characteristics of fast timing, high accuracy and stable operation, which improves the real-time response of the timing tasks of each sensor node, easy to install and maintain, and low cost , Very suitable and easy to apply in popular systems.
实施例一Example one
参见图1,为本发明实施例一提供的授时装置的示意图,如图1所示,该授时装置100可以包括:时钟单元110,处理器120,以及传感器适配单元130;在传感器适配单元130中可以包括数据总线1301;其中,时钟单元110用于为处理器120提供时钟信号;处理器120,用于根据系统当前时间生成时间同步信号,通过总线1301将时间同步信号发送至连接在传感器适配单元130的待授时设备;数据总线1301,用于为处理器120与连接在传感器适配单元130的待授时设备提供数据传输连接;传感器适配单元130,用于连接待授时设备。具体工作时,时钟单元110用于为处理器120提供精确的时钟信号,以保证系统时间的准确性,处理器可以读取系统当前时间,并根据系统当前时间生成时间同步信号,处理器120可以通过起连接和数据传输作用的数据总线1301将时间同步信 号发送至连接在传感器适配单元130的待授时设备,以便待授时设备根据时间同步信号修正自己的系统时间。Refer to FIG. 1, which is a schematic diagram of a timing device provided by Embodiment 1 of the present invention. As shown in FIG. 1, the timing device 100 may include: a clock unit 110, a processor 120, and a sensor adaptation unit 130; 130 may include a data bus 1301; the clock unit 110 is used to provide a clock signal for the processor 120; the processor 120 is used to generate a time synchronization signal according to the current time of the system, and send the time synchronization signal to the sensor connected to the sensor through the bus 1301 The timing device of the adaptation unit 130; the data bus 1301 is used to provide a data transmission connection between the processor 120 and the timing device connected to the sensor adaptation unit 130; the sensor adaptation unit 130 is used to connect the timing device. During specific work, the clock unit 110 is used to provide an accurate clock signal for the processor 120 to ensure the accuracy of the system time. The processor can read the current time of the system and generate a time synchronization signal according to the current time of the system. The processor 120 can The time synchronization signal is sent to the time-serving device connected to the sensor adapting unit 130 through the data bus 1301, which plays a role of connection and data transmission, so that the time-serving device corrects its system time according to the time synchronization signal.
在多传感器节点系统中,首先,待授时设备可以包括多个需要进行授时的各传感器节点,者也就意味着对于多传感器节点系统来说,授时任务相对比较繁重,特别是为了安全考虑,常常会要求系统中的授时任务持续运行,而传统的授时方式很难满足要求;其次,对于不同的传感器设备节点所使用的传感器设备,由于其提供者对产品接口的设计差异,以及实际应用中的技术指标要求等原因,不同类型的传感器设备,甚至是相同类型的传感器设备,也常常会使用的不同类型的接口。在考虑到使用授时服务以获得准确时间来完成一些时间敏感的任务时,现有授时方式难于提供一种可以通用于多种传感器接口的产品,而单一的授时接口形式,例如以太网授时协议所规定的接口,无法被采用的原因除了资源不足耗时较高之外,还有一个较为明显的不足就是限制了传感器设备的选型,直接的后果可以是无法使用一些优质的组件打造更具竞争力的系统,甚至在某些情况下,一些技术指标难以达到导致计算无法完成,系统部分功能相应的也就无法实现。而本申请实施例一提供的授时装置的一种优选方案恰恰很好地解决了这些问题。In a multi-sensor node system, first, the equipment to be timed can include multiple sensor nodes that need to be timed. This means that for a multi-sensor node system, the timing task is relatively heavy, especially for safety considerations. The timing tasks in the system will be required to run continuously, and traditional timing methods are difficult to meet the requirements; secondly, for the sensor devices used by different sensor device nodes, due to the difference in the design of the product interface by the provider, and the practical application For reasons such as technical index requirements, different types of sensor equipment, even the same type of sensor equipment, often use different types of interfaces. When considering the use of timing services to obtain accurate time to complete some time-sensitive tasks, it is difficult for existing timing methods to provide a product that can be universally used for multiple sensor interfaces, and a single timing interface form, such as the Ethernet timing protocol The specified interface cannot be adopted. In addition to insufficient resources and high time-consuming, there is also a more obvious shortcoming that limits the selection of sensor equipment. The direct consequence may be the inability to use some high-quality components to build more competitive Even in some cases, some technical indicators are difficult to achieve and the calculation cannot be completed, and some functions of the system cannot be realized accordingly. A preferred solution of the timing device provided in the first embodiment of the present application just solves these problems.
在一种优选的方案中,授时装置可以包括两个或两个以上的传感器适配单元,例如图1中所示的授时装置中,除了具备“传感器适配单元1”之外,还可以有“传感器适配单元2”,……直至“传感器适配单元N”,其中N为自然数。授时装置可以包括两个或两个以上的传感器适配单元,可以很好的解决多传感器设备节点带来的授时任务持续运行的问题,满足多个传感器设备节点频繁授时的要求。另外各传感器适配单元可以具备相同或不同类型的适配接口,适配接口与对应的待授时设备的接口相匹配,当系统中各传设备节点使用的设备接口为不同类型的接口时,在需要授时操作时,该授时装置可以通过不同类型的适配接口匹配待接入的传感器设备,并通过其中的总线传输时间同步信号,以实现对待授时的传感器设备节点进行授时操作。在传感器适配单元分别包括不同类型的适配接口时,各传感器适配单元同时也可以包括不同类型的数据总线,并且,各传感器适配单元中数据总线类型与适配接口的类型具有对应关系,例如数据总线1301可以包括USB,UART,I2C,SPI,CAN等类型的数字总线,相应的,传感器适配单元可以提供相应类型的适配接口,以便与接入的传感器节点设备接口类型以及技术指标相匹配。在实际应用中,多个传感器适配单元与处理器也可以使用共用的总线进行连接。In a preferred solution, the timing device may include two or more sensor adaptation units. For example, in the timing device shown in FIG. 1, in addition to the "sensor adaptation unit 1", there may also be "Sensor adaptation unit 2", ... up to "sensor adaptation unit N", where N is a natural number. The timing device may include two or more sensor adaptation units, which can well solve the problem of continuous operation of timing tasks caused by multiple sensor device nodes, and meet the requirement of frequent timing of multiple sensor device nodes. In addition, each sensor adapter unit can have the same or different types of adapter interfaces, and the adapter interface matches the interface of the corresponding timing device. When the device interface used by each transmission device node in the system is a different type of interface, When a timing operation is required, the timing device can match the sensor equipment to be connected through different types of adaptation interfaces, and transmit a time synchronization signal through the bus therein, so as to realize the timing operation of the sensor equipment node to be timed. When the sensor adaptation units respectively include different types of adaptation interfaces, each sensor adaptation unit may also include different types of data buses at the same time, and the data bus type in each sensor adaptation unit has a corresponding relationship with the type of the adaptation interface For example, the data bus 1301 can include USB, UART, I2C, SPI, CAN and other types of digital buses. Correspondingly, the sensor adapter unit can provide a corresponding type of adapter interface to interface with the connected sensor node device type and technology The indicators match. In practical applications, multiple sensor adaptation units and processors can also be connected using a common bus.
在授时装置具体实现授时到某一设备节点进行时,可以由处理器120将时间同步信号通过数据总线发送到连接在传感器适配单元的待授时设备,待授时设备可以根据时间 同步信号的到达时间以及时间同步信号包括的正确时间,确定待授时设备的时钟修正参数,进而依据所确定的时钟修正参数对本传感器节点设备的时钟进行修正。在另一种实施方式下,为了使待授时设备能够在收到时间同步信号时及时处理时间同步任务,可以采取中断触发的方式进行。处理器120可以在向连接在传感器适配单元130的待授时设备发送的时间同步信号中包括中断信号,具体的,处理器120可以在所生成和发送的时间同步信号中包括第一中断信号以及同步数据信号,其中,第一中断信号发送到待授时设备可以使待授时设备产生中断处理,同步数据信号可以包括系统当前时间,待授时设备可以根据第一中断信号产生中断处理后,根据同步数据信号中的系统当前时间校准待授时设备的本地时间。处理器120可以将第一中断信号以及同步数据信号同步发出,以便待授时设备进行对第一中断信号以及同步数据信号进行同步到捕获和处理。传感器适配单元130可以包括中断输出1303,第一中断信号可以通过传感器适配单元的中断输出1303发送给接入的待授时设备。When the timing device specifically implements timing to a certain device node, the processor 120 can send the time synchronization signal to the timing device connected to the sensor adaptation unit through the data bus. The timing device can be based on the arrival time of the time synchronization signal. And the correct time included in the time synchronization signal, determine the clock correction parameter of the device to be timed, and then correct the clock of the sensor node device according to the determined clock correction parameter. In another implementation manner, in order to enable the time-serving device to process the time synchronization task in time when receiving the time synchronization signal, an interrupt trigger method may be adopted. The processor 120 may include an interrupt signal in the time synchronization signal sent to the to-be-timed device connected to the sensor adapting unit 130. Specifically, the processor 120 may include the first interrupt signal and the time synchronization signal generated and sent in the time synchronization signal. Synchronous data signal, where the first interrupt signal is sent to the time-serving device to enable the time-serving device to generate interrupt processing, the synchronization data signal may include the current time of the system, and the time-serving device can generate interrupt processing according to the first interrupt signal and then according to the synchronization data The current system time in the signal is calibrated to the local time of the equipment to be timed. The processor 120 may synchronously send out the first interrupt signal and the synchronization data signal, so that the device to be timed can synchronize to capture and process the first interrupt signal and the synchronization data signal. The sensor adaptation unit 130 may include an interrupt output 1303, and the first interrupt signal may be sent to the connected timing device through the interrupt output 1303 of the sensor adaptation unit.
在时间同步信号包括第一中断信号以及同步数据信号的实施方式下,授时装置可以通过数据总线向接入的待授时设备发送同步数据信号,同步数据信号包括授时模块的系统当前时间
Figure PCTCN2020074471-appb-000001
同时通过中断输出发送第一中断信号,待授时设备接收到第一中断信号,可以根据第一中断信号到达时间确定待授时设备的设备本地时间
Figure PCTCN2020074471-appb-000002
通过比较接收到的系统当前时间
Figure PCTCN2020074471-appb-000003
以及第一中断信号到达时的设备本地时间
Figure PCTCN2020074471-appb-000004
确定待授时设备的时钟修正参数,以便于待授时设备根据时钟修正参数对比待授时设备的本地时间进行修正。
In the embodiment in which the time synchronization signal includes the first interrupt signal and the synchronization data signal, the timing device may send a synchronization data signal to the connected timing equipment through the data bus, and the synchronization data signal includes the current system time of the timing module
Figure PCTCN2020074471-appb-000001
At the same time, the first interrupt signal is sent through the interrupt output, and the device to be timed receives the first interrupt signal, and the device local time of the device to be timed can be determined according to the arrival time of the first interrupt signal
Figure PCTCN2020074471-appb-000002
By comparing the received system current time
Figure PCTCN2020074471-appb-000003
And the local time of the device when the first interrupt signal arrives
Figure PCTCN2020074471-appb-000004
Determine the clock correction parameters of the equipment to be timed so that the equipment to be timed can make corrections based on the clock correction parameters compared with the local time of the equipment to be timed.
处理器120可以以预置频率,例如1Hz,周期性发送时间同步信号给连接在传感器适配单元130的待授时设备,以便待授时设备可以持续的获得时间修正,保证传感器节点设备时钟的准确性,进一步以准确的时钟为基础获得带有正确的时间戳的数据,以供给数据给相关的计算单元进行有效的计算。The processor 120 may periodically send a time synchronization signal to the timing device connected to the sensor adaptation unit 130 at a preset frequency, such as 1 Hz, so that the timing device can continuously obtain time corrections and ensure the accuracy of the sensor node device clock , And further obtain the data with the correct time stamp based on the accurate clock, so as to supply the data to the relevant calculation unit for effective calculation.
本申请实施例一提供的授时装置,还可以接收传感器节点设备的时钟反馈信号,根据传感器节点设备的时钟反馈信号判断传感器节点设备的时钟状态。在这种实施方式下,处理器120还可以用于接收连接在传感器适配单元的待授时设备的时钟反馈信号,根据接收到的时钟反馈信号确定待授时设备的时钟状态。进一步的,处理器120还可以将传感器节点设备的时钟状态反馈给主机,主机可以是一种上位机,可以负责处理下位机获得的各种数据,并控制下位机的运行,主机在接收到传感器节点设备的时钟状态后,可以根据传感器节点设备的时钟状态的不同做出反应,例如当发现传感器节点设备的时钟 状态超出允许的误差范围内时,强制对该节点设备进行授时,或者记录并生成关于该节点设备的报告等。The timing device provided in the first embodiment of the present application can also receive the clock feedback signal of the sensor node device, and judge the clock state of the sensor node device according to the clock feedback signal of the sensor node device. In this implementation manner, the processor 120 may also be used to receive a clock feedback signal of the device to be timed connected to the sensor adaptation unit, and determine the clock state of the device to be timed according to the received clock feedback signal. Further, the processor 120 can also feed back the clock status of the sensor node device to the host. The host can be an upper computer, which can process various data obtained by the lower computer and control the operation of the lower computer. The host receives the sensor After the clock state of the node device, it can react according to the different clock state of the sensor node device. For example, when the clock state of the sensor node device is found to be outside the allowable error range, the node device is forced to time, or record and generate Reports on the node equipment, etc.
具体实现接收传感器节点设备的时钟反馈信号时,可以由处理器120接收连接在传感器适配单元的待授时设备的时钟反馈信号,时钟反馈信号可以包括传感器节点设备的设备当前时间,处理器可以根据时钟反馈信号的到达时间得到设备当前时间的偏移量,并根据偏移量来确定传感器节点设备的时钟状态是否正常。在另一种实现方式下,也可以基于中断的方式是实现,在这种实现方式下,时钟反馈信号可以包括第二中断信号以及反馈数据信号,第二中断信号可以使处理器进入中断处理,传感器适配单元130可以包括中断输入1302,第二中断信号可以通过传感器适配单元的中断输入1302发送给处理器120。Specifically, when receiving the clock feedback signal of the sensor node device, the processor 120 may receive the clock feedback signal of the device to be timed connected to the sensor adaptation unit. The clock feedback signal may include the current time of the device of the sensor node device. The arrival time of the clock feedback signal obtains the offset of the current time of the device, and determines whether the clock state of the sensor node device is normal according to the offset. In another implementation, it can also be implemented based on interrupts. In this implementation, the clock feedback signal can include a second interrupt signal and a feedback data signal. The second interrupt signal can cause the processor to enter interrupt processing. The sensor adaptation unit 130 may include an interrupt input 1302, and the second interrupt signal may be sent to the processor 120 through the interrupt input 1302 of the sensor adaptation unit.
在传感器节点设备的时钟反馈信号包括第二中断信号以及反馈数据信号的实施方式下,授时装置可以通过数据总线接收待授时设备发送反馈数据信号,反馈数据信号包括传感器节点设备的设备当前时间
Figure PCTCN2020074471-appb-000005
同时通过中断输入接收第二中断信号,处理器接收到第二中断信号后,可以根据第二中断信号到达时间确定授时模块的系统本地时间
Figure PCTCN2020074471-appb-000006
通过比较接收到的设备当前时间
Figure PCTCN2020074471-appb-000007
以及第二中断信号到达时的系统本地时间
Figure PCTCN2020074471-appb-000008
确定传感器节点设备的时钟状态。在确定待授时设备的时钟状态出现异常时,处理器120可以用于生成待授时设备的时钟状态数据,并将时钟状态数据发送给上位机。例如当比较设备当前时间
Figure PCTCN2020074471-appb-000009
以及第二中断信号到达时的系统本地时间
Figure PCTCN2020074471-appb-000010
两者的差值大于预置的阈值后,可以判断传感器节点设备的时钟状态异常。
In the embodiment in which the clock feedback signal of the sensor node device includes the second interrupt signal and the feedback data signal, the timing device can receive the feedback data signal sent by the timing device through the data bus, and the feedback data signal includes the current time of the sensor node device.
Figure PCTCN2020074471-appb-000005
At the same time, the second interrupt signal is received through the interrupt input. After the processor receives the second interrupt signal, it can determine the system local time of the timing module according to the arrival time of the second interrupt signal
Figure PCTCN2020074471-appb-000006
By comparing the current time of the received device
Figure PCTCN2020074471-appb-000007
And the system local time when the second interrupt signal arrives
Figure PCTCN2020074471-appb-000008
Determine the clock status of the sensor node device. When it is determined that the clock state of the device to be timed is abnormal, the processor 120 may be used to generate clock state data of the device to be timed, and send the clock state data to the upper computer. For example, when comparing the current time of the device
Figure PCTCN2020074471-appb-000009
And the system local time when the second interrupt signal arrives
Figure PCTCN2020074471-appb-000010
After the difference between the two is greater than the preset threshold, it can be judged that the clock status of the sensor node device is abnormal.
该授时装置100还可以包括电源140,用于将外部电压调节为内部部件所需电压以为内部各用电部件供电,另外授时装置100还可以包括电池150,用于提供备用电源,当外部供电停止时,提供备用电力以保存关键数据。电池还可以用于时钟的运行保持。时钟单元可以使用抗干扰性较强的压控晶振,恒温晶振,温度补偿晶振等提供脉冲信号。数据总线可以使用USB,以太网,UART,RS232,RSR485,CAN,I2C,SPI等类型的总线。数据总线和中断输入,中断输出之间可以使用光耦或者电磁隔离芯片进行隔离保护,避免同时发出的不同信号之间的干扰。处理器可以使用ARM,DSP,FPGA等类型芯片。第一中断信号(中断输出),同步数据信号;以及第二中断信号(中断输入),反馈数据信号的时序关系如图2所示。使用中断输出来控制生成传感器节点的设备本地时间,以对比通过数据总线发送的系统当前时间,获得修正参数的过程时效性非常高,一般可 在一个至数个时钟周期内完成,使时钟修正精度达到微秒级别,大大提高了授时结果的准确性。另外,使用中断输入来控制生成授时设备的系统本地时间,以对比通过数据总线发送到传感器节点设备的设备当前时间,所确定的插值可以精确的反应传感器节点设备的当前时钟状态。The timing device 100 may also include a power supply 140 for adjusting the external voltage to the voltage required by internal components to supply power to the internal electrical components. In addition, the timing device 100 may also include a battery 150 for providing backup power when the external power supply stops. At times, backup power is provided to save critical data. The battery can also be used to keep the clock running. The clock unit can use a voltage-controlled crystal oscillator, a constant temperature crystal oscillator, and a temperature-compensated crystal oscillator with strong interference resistance to provide pulse signals. The data bus can use USB, Ethernet, UART, RS232, RSR485, CAN, I2C, SPI and other types of buses. Data bus and interrupt input and interrupt output can be isolated and protected by optocoupler or electromagnetic isolation chip to avoid interference between different signals sent at the same time. The processor can use ARM, DSP, FPGA and other types of chips. The first interrupt signal (interrupt output), synchronous data signal; and the second interrupt signal (interrupt input), the timing relationship of the feedback data signal is shown in FIG. 2. Use the interrupt output to control the local time of the device that generates the sensor node to compare the current time of the system sent through the data bus. The process of obtaining the correction parameters is very time-sensitive, and can generally be completed within one to several clock cycles to make the clock correction accuracy Reaching the microsecond level, greatly improving the accuracy of timing results. In addition, the interrupt input is used to control the system local time of the timing device to compare the current time of the device sent to the sensor node device through the data bus. The determined interpolation can accurately reflect the current clock state of the sensor node device.
授时装置100还可以包括外部授时接收模块,通过外部授时接收模块实现与外部其他授时系统,或同类授时装置的连接,以接收外部其他授时系统如GPS,北斗等系统的授时,或其他同类授时装置的授时。授时模块可以通过RS232,以太网,USB,WIFI,蓝牙等连接方式将与主机进行通信,以与主机交换数据和指令等。一个多节点系统可以采用一个或多个授时装置,以实现更多接口扩展能力,以及提高系统的鲁棒特性。The timing device 100 may also include an external timing receiving module. The external timing receiving module is used to realize the connection with other external timing systems or similar timing devices to receive timing from other external timing systems such as GPS, Beidou, etc., or other similar timing devices. Time service. The timing module can communicate with the host through RS232, Ethernet, USB, WIFI, Bluetooth and other connection methods to exchange data and instructions with the host. A multi-node system can use one or more timing devices to achieve more interface expansion capabilities and improve the robustness of the system.
以上对本申请实施例一提供的授时装置进行了详细的介绍,通过该装置,可以实现一种应用在多传感器节点系统中的本地授时装置,克服了现有授时方式中资源有限无法满足大规模应用的缺陷,该授时装置可以作为系统中的模块单元持续运行,为相关设备进行持续性的授时,相比较现有技术,还能够满足多节点系统数据获取及处理任务中授时任务高发性和高实时性的要求,同时还具有授时迅速,成功率高,部署简单,无需配置,适应性强,成本低且应用范围广的特点。进一步的,该授时装置可以包括多个传感器适配单元,以接入多个需要授时的传感器节点设备,可以通过同一授时装置进行多传感器节点设备的授时,可以保证各传感器节点设备时钟的准确性以及同步性,进而保证计算结果的有效性。进一步的,该装置可以配备多中不同类型的传感器适配单元,克服了传统授时方式中要求的接口单一造成的传感器接口只能进行单一选型的问题,使多节点系统的应用设计应用过程中可以更加自由的选择传感器接口类型,从而提高了系统的灵活性。进一步的,该授时装置能够根据传感器节点设备的时钟反馈信号判断传感器节点设备的时钟状态是否异常,可以在判断传感器节点设备的时钟状态异常时使系统快速做出反应,保证了系统组件以及整个系统的有效性。在应用的过程中,该装置可以为各传感器节点设备提供准确可靠的授时服务,使各传感器节点设备在采集数据时能够基于可靠且同步的时钟信息,提高了系统计算数据的有效性以及计算结果的准确性,进而保证了整个系统的可靠性以及提升了系统的安全性能。The above provides a detailed introduction to the timing device provided in the first embodiment of the present application. Through this device, a local timing device applied in a multi-sensor node system can be realized, which overcomes the limited resources in the existing timing methods that cannot meet large-scale applications. The timing device can be used as a module unit in the system to continuously operate and provide continuous timing for related equipment. Compared with the prior art, it can also meet the high frequency and high real-time timing task of multi-node system data acquisition and processing tasks. It also has the characteristics of rapid time service, high success rate, simple deployment, no configuration, strong adaptability, low cost and wide application range. Further, the timing device may include multiple sensor adaptation units to access multiple sensor node devices that require timing, and the timing of multiple sensor node devices can be performed through the same timing device, which can ensure the accuracy of each sensor node device clock And synchronization, thereby ensuring the validity of the calculation results. Furthermore, the device can be equipped with many different types of sensor adaptation units, which overcomes the problem that the sensor interface can only be selected in a single type caused by the single interface required in the traditional timing mode, and makes the application design of the multi-node system in the application process The sensor interface type can be selected more freely, thereby improving the flexibility of the system. Further, the timing device can judge whether the clock state of the sensor node device is abnormal according to the clock feedback signal of the sensor node device, and can make the system react quickly when judging that the clock state of the sensor node device is abnormal, ensuring the system components and the entire system Effectiveness. In the process of application, the device can provide accurate and reliable timing services for each sensor node device, so that each sensor node device can be based on reliable and synchronized clock information when collecting data, which improves the effectiveness of the system's calculation of data and the calculation result The accuracy of this ensures the reliability of the entire system and improves the safety performance of the system.
实施例二Example two
本申请实施例二提供了一种自动驾驶感应控制系统,应用于自动驾驶感应控制领域,请参看图3,为本申请实施例二提供了的自动驾驶感应控制系统的示意图,如图3所示,该自动驾驶感应控制系统300可以包括第一授时单元310,驾驶环境传感器节点320,以 及驾驶环境感应数据计算单元330;其中,第一授时单元310可以用于为驾驶环境传感器节点提供授时。驾驶环境传感器节点320,可以根据第一授时单元的授时确定驾驶环境传感器节点的设备本地时间,在进行环境感知生成环境感知数据时使用经校准的设备本地时间,即驾驶环境传感器节点用于感知环境并生成环境感知数据,其中环境感知数据可以包括执行感知动作的时间戳信息。驾驶环境感应数据计算单元330,接收驾驶环境传感器节点得到的环境感知数据,根据环境感知数据中的时间戳信息确定环境感知数据的有效性,并在确定环境感知数据有效后使用环境感知数据进行计算。The second embodiment of the application provides an automatic driving induction control system, which is applied to the field of automatic driving induction control. Please refer to FIG. 3, which is a schematic diagram of the automatic driving induction control system provided in the second embodiment of the application, as shown in FIG. 3 The automatic driving sensing control system 300 may include a first timing unit 310, a driving environment sensor node 320, and a driving environment sensing data calculation unit 330; wherein the first timing unit 310 may be used to provide timing for the driving environment sensor node. The driving environment sensor node 320 can determine the device local time of the driving environment sensor node according to the timing of the first timing unit, and use the calibrated device local time when performing environment perception to generate environment perception data, that is, the driving environment sensor node is used to sense the environment And generate environment perception data, where the environment perception data may include time stamp information for performing the perception action. The driving environment sensing data calculation unit 330 receives the environment perception data obtained by the driving environment sensor node, determines the validity of the environment perception data according to the time stamp information in the environment perception data, and uses the environment perception data for calculation after determining that the environment perception data is valid .
通常情况下,自动驾驶系统中存在多个驾驶环境传感器节点设备,一次环境识别任务需要多个传感器协调和同步获取环境数据,这就需要多个传感器之间有协调一致的时钟,而对于第一授时单元,需要为这些传感器授予同步的时钟数据,在这种实施方式下,自动驾驶感应控制系统300包括至少两个需要进行授时操作的驾驶环境传感器节点,授时单元与各驾驶环境传感器节点相连,并用于为各驾驶环境传感器节点提供授时;驾驶环境感应数据计算单元330接收各驾驶环境传感器节点的环境感知数据,根据各环境感知数据中的时间戳信息确定各环境感知数据的有效性,并在确定各环境感知数据有效后使用各环境感知数据进行融合计算,从而获得多传感器的环境感知数据的融合计算结果,通过多传感器的融合计算结果,获得高准确度的环境感知。Under normal circumstances, there are multiple driving environment sensor node devices in an automatic driving system. An environment recognition task requires multiple sensors to coordinate and synchronize to obtain environmental data. This requires a coordinated clock between multiple sensors. The timing unit needs to grant synchronized clock data to these sensors. In this embodiment, the automatic driving sensing control system 300 includes at least two driving environment sensor nodes that need to perform timing operations, and the timing unit is connected to each driving environment sensor node. It is also used to provide timing for each driving environment sensor node; the driving environment sensing data calculation unit 330 receives the environment perception data of each driving environment sensor node, and determines the validity of each environment perception data according to the time stamp information in each environment perception data. After confirming that each environmental perception data is valid, use each environmental perception data for fusion calculation, thereby obtaining the fusion calculation result of the multi-sensor environmental perception data, and obtain high-accuracy environmental perception through the multi-sensor fusion calculation result.
第一授时单元可以采用前述实施例一中授时装置,例如第一授时单元可以包括:时钟单元,处理器,以及传感器适配单元;传感器适配单元可以包括数据总线;其中,时钟单元用于为处理器提供时钟信号,处理器可以用于根据系统当前时间生成时间同步信号,通过数据总线将时间同步信号发送至连接在传感器适配单元的传感器节点;数据总线可以用于为处理器与连接在所述传感器适配单元的传感器节点提供数据传输连接,而传感器适配单元可以用于连接传感器节点。通过传感器适配单元连接的传感器可以包括以下任种类的传感器:激光雷达,单目相机,双目相机,卫星导航模块,惯性测量单元IMU,毫米波雷达,轮速计等以及其他内部包含时钟的传感器种类。The first timing unit may use the timing device in the first embodiment. For example, the first timing unit may include: a clock unit, a processor, and a sensor adaptation unit; the sensor adaptation unit may include a data bus; where the clock unit is used for The processor provides a clock signal. The processor can be used to generate a time synchronization signal according to the current time of the system, and send the time synchronization signal to the sensor node connected to the sensor adaptation unit through the data bus; the data bus can be used to connect the processor to the sensor node. The sensor nodes of the sensor adaptation unit provide data transmission connections, and the sensor adaptation unit can be used to connect the sensor nodes. The sensors connected through the sensor adapter unit can include any of the following types of sensors: lidar, monocular camera, binocular camera, satellite navigation module, inertial measurement unit IMU, millimeter wave radar, wheel speedometer, etc. and other internal clocks Sensor type.
以上对本申请实施例二提供的自动驾驶感应控制系统进行了详细介绍,在该自动驾驶感应控制系统中,包括第一授时单元可以为传感器节点提供授时。驾驶环境传感器节点可以根据第一授时单元的授时确定传感器节点的设备本地时间,在进行环境感知生成环境感知数据时使用经校准的设备本地时间,即驾驶环境传感器节点用于感知环境并生成环境感知数据,其中环境感知数据包括执行感知动作的时间戳信息。而驾驶环境感应数据计算单元在根据传感器节点得到的环境感知数据进行计算前,还根据环境感知数据 中的时间戳信息确定环境感知数据的有效性,并在确定环境感知数据有效后使用环境感知数据进行计算。授时单元保证了驾驶环境传感器节点的时钟一致性,而在计算时,检查各环境感知数据中的时间戳信息确定环境感知数据的有效性,则保证了传感器得到的数据是在特定时间需求的下产生的,保证了数据的实时性以及系统对周围环境做出反应的有效性。在进行多传感器的环境感知数据的融合计算时,各传感器节点的动作同步性是否达到要求可以影响到最终的计算结果是否正确,从而影响整个自动驾驶系统对环境状态的判断。本申请实施例二提供的自动驾驶感应控制系统,在进行多传感器节点数据的融合处理时,也可以检查各传感器的环境感知数据的时间特性,可以保证各数据源,即各传感器得到的环境感知数据是同步动作得到的,从而保证和提高了融合计算结果的正确性,提高了自动驾驶系统对于环境的感知的准确性,而对环境的正确感知对于提高自动驾驶系统安全性有着非常重要的意义。此外,由于本该自动驾驶感应控制系统中第一授时单元可以包括实施例一中的授时装置,也就具备了实施例一中的授时装置的部分或全部技术效果。The automatic driving induction control system provided in the second embodiment of the present application is described in detail above. In the automatic driving induction control system, the first timing unit can provide timing for sensor nodes. The driving environment sensor node can determine the device local time of the sensor node according to the timing of the first timing unit, and use the calibrated device local time when generating environment perception data for environment perception, that is, the driving environment sensor node is used to perceive the environment and generate environment perception Data, where the environment perception data includes time stamp information for performing the perception action. The driving environment sensing data calculation unit also determines the validity of the environment perception data based on the time stamp information in the environment perception data before performing calculations based on the environment perception data obtained by the sensor node, and uses the environment perception data after determining that the environment perception data is valid Calculation. The timing unit ensures the clock consistency of the sensor nodes of the driving environment. During calculation, the time stamp information in each environment perception data is checked to determine the validity of the environment perception data, which ensures that the data obtained by the sensor is under the specific time requirement. The generated data ensures the real-time nature of the data and the effectiveness of the system's response to the surrounding environment. When performing the fusion calculation of multi-sensor environmental perception data, whether the synchronization of the actions of each sensor node meets the requirements can affect whether the final calculation result is correct, thereby affecting the judgment of the environment state of the entire automatic driving system. The automatic driving induction control system provided in the second embodiment of the present application can also check the time characteristics of the environmental perception data of each sensor when performing the fusion processing of multi-sensor node data, which can ensure that each data source, that is, the environmental perception obtained by each sensor The data is obtained by synchronized actions, thus ensuring and improving the accuracy of the fusion calculation results, and improving the accuracy of the automatic driving system's perception of the environment, and the correct perception of the environment is very important for improving the safety of the automatic driving system . In addition, since the first timing unit in the automatic driving induction control system can include the timing device in the first embodiment, it also has some or all of the technical effects of the timing device in the first embodiment.
实施例三Example three
本申请实施例三提供了一种机器人感应控制系统,应用于机器人感应控制领域,请参看图4,为本申请实施例三提供了的机器人感应控制系统的示意图,如图4所示,该机器人感应控制系统400可以包括第二授时单元410,环境感知传感器节点420,以及环境数据计算单元430;其中,第二授时单元410可以用于为环境感知传感器节点420提供授时。环境感知传感器节点420,可以根据第二授时单元的授时确定节点的设备本地时间,在进行环境感知生成环境感知数据时使用经校准的设备本地时间,即环境感知传感器节点420用于感知环境并生成环境感知数据,其中环境感知数据可以包括执行感知动作的时间戳信息。环境数据计算单元430,接收环境感知传感器节点得到的环境感知数据,根据环境感知数据中的时间戳信息确定环境感知数据的有效性,并在确定环境感知数据有效后使用环境感知数据进行计算。The third embodiment of the application provides a robot induction control system, which is applied to the field of robot induction control. Please refer to FIG. 4, which is a schematic diagram of the robot induction control system provided in the third embodiment of the application. As shown in FIG. 4, the robot The sensing control system 400 may include a second timing unit 410, an environmental sensing sensor node 420, and an environmental data calculation unit 430; wherein the second timing unit 410 may be used to provide timing for the environmental sensing sensor node 420. The environment-aware sensor node 420 can determine the device local time of the node according to the timing of the second timing unit, and use the calibrated device local time when generating environment-aware data for environment awareness, that is, the environment-aware sensor node 420 is used to sense the environment and generate Environment perception data, where the environment perception data may include time stamp information for performing a perception action. The environment data calculation unit 430 receives the environment perception data obtained by the environment perception sensor node, determines the validity of the environment perception data according to the timestamp information in the environment perception data, and uses the environment perception data for calculation after determining that the environment perception data is valid.
机器人感知系统中通常存在多个环境感知传感器节点设备,一次环境识别任务常常需要两个以上传感器协调和同步获取环境数据,这就需要多个传感器之间有协调一致的时钟,才能得到融合多个传感器数据进行计算的正确结果,而对于第二授时单元,需要为这些机器人感知系统的传感器授予同步的时钟数据,在这种实施方式下,机器人感应控制系统400包括至少两个需要进行授时操作的环境感知传感器节点,授时单元与各环境感知传感器节点相连,并用于为各环境感知传感器节点提供授时;环境数据计算单元 430接收各环境感知传感器节点的环境感知数据,根据各环境感知数据中的时间戳信息确定各环境感知数据的有效性,并在确定各环境感知数据有效后使用各环境感知数据进行融合计算,从而获得多传感器的环境感知数据的融合计算结果,通过多传感器的融合计算结果,进行高准确度的环境对象感知。There are usually multiple environment-aware sensor node devices in the robot perception system. An environment recognition task often requires more than two sensors to coordinate and synchronize to obtain environmental data. This requires a coordinated clock between multiple sensors to get multiple fusions. The sensor data is the correct result of the calculation, and for the second timing unit, it is necessary to grant synchronized clock data to the sensors of the robot sensing system. In this embodiment, the robot sensing control system 400 includes at least two timing operations. Environmental sensing sensor node, the timing unit is connected to each environmental sensing sensor node, and is used to provide timing for each environmental sensing sensor node; the environmental data calculation unit 430 receives the environmental sensing data of each environmental sensing sensor node, according to the time in each environmental sensing data The stamp information determines the validity of each environmental perception data, and uses each environmental perception data to perform fusion calculation after confirming that each environmental perception data is valid, so as to obtain the fusion calculation result of the multi-sensor environmental perception data, through the multi-sensor fusion calculation result, Perform high-accuracy perception of environmental objects.
第二授时单元可以采用前述实施例一中授时装置,例如第二授时单元可以包括:时钟单元,处理器,以及传感器适配单元;传感器适配单元可以包括数据总线;其中,时钟单元用于为处理器提供时钟信号,处理器可以用于根据系统当前时间生成时间同步信号,通过数据总线将时间同步信号发送至连接在传感器适配单元的传感器节点;数据总线可以用于为处理器与连接在所述传感器适配单元的传感器节点提供数据传输连接,而传感器适配单元可以用于连接传感器节点。通过传感器适配单元连接的传感器可以包括以下任种类的传感器:激光雷达,单目相机,双目相机,卫星导航模块,惯性测量单元IMU,毫米波雷达,轮速计等以及其他内部包含时钟的传感器种类。The second timing unit may use the timing device in the first embodiment. For example, the second timing unit may include: a clock unit, a processor, and a sensor adaptation unit; the sensor adaptation unit may include a data bus; where the clock unit is used for The processor provides a clock signal. The processor can be used to generate a time synchronization signal according to the current time of the system, and send the time synchronization signal to the sensor node connected to the sensor adaptation unit through the data bus; the data bus can be used to connect the processor to the sensor node. The sensor nodes of the sensor adaptation unit provide data transmission connections, and the sensor adaptation unit can be used to connect the sensor nodes. The sensors connected through the sensor adapter unit can include any of the following types of sensors: lidar, monocular camera, binocular camera, satellite navigation module, inertial measurement unit IMU, millimeter wave radar, wheel speedometer, etc. and other internal clocks Sensor type.
以上对本申请实施例三提供的机器人感应控制系统进行了详细介绍,在该系统中,包括第二授时单元可以为环境感知传感器节点提供授时。环境感知传感器节点可以根据第二授时单元的授时确定节点的设备本地时间,在进行环境感知生成环境感知数据时使用经校准的设备本地时间,即环境感知传感器节点用于感知环境并生成环境感知数据,其中环境感知数据包括执行感知动作的时间戳信息。而环境数据计算单元在根据传感器节点得到的环境感知数据进行计算前,还可以根据环境感知数据中的时间戳信息确定环境感知数据的有效性,并在确定环境感知数据有效后使用环境感知数据进行计算。第二授时单元保证了环境感知传感器节点的时钟一致性,而在计算时,检查各环境感知数据中的时间戳信息确定环境感知数据的有效性,则保证了传感器得到的数据是在特定时间需求的下产生的,保证了数据的实时性以及系统对周围环境做出反应的有效性。在进行多传感器的环境感知数据的融合计算时,各传感器节点的动作同步性是否达到要求可以影响到最终的计算结果是否正确,从而影响整个机器人系统对环境状态的判断。本申请实施例三提供的机器人感应控制系统,在进行多传感器节点数据的融合处理时,也可以检查各传感器的环境感知数据的时间特性,可以保证各数据源,即各传感器得到的环境感知数据是同步动作得到的,从而保证和提高了融合计算结果的正确性,也提高了机器人系统对于环境的感知的准确性,而对环境的正确感知对于提高机器人系统运行效率有着非常重要的意义。此外,由于本该机器人感应控制系统中第二授时单元可以包括实施例一中的授时装置,也就具备了实施例一中的授时装置的部分或全部技术效果。The robot induction control system provided in the third embodiment of the present application has been introduced in detail above. In this system, the second timing unit can be included to provide timing for the environmental sensing sensor node. The environment-aware sensor node can determine the device local time of the node according to the timing of the second timing unit, and use the calibrated device local time when performing environment awareness to generate environment-aware data, that is, the environment-aware sensor node is used to perceive the environment and generate environment-aware data , Where the environment perception data includes time stamp information for performing the perception action. The environmental data calculation unit can also determine the validity of the environmental sensing data based on the time stamp information in the environmental sensing data before performing calculations based on the environmental sensing data obtained by the sensor node, and use the environmental sensing data to perform the calculation after determining that the environmental sensing data is valid. Calculation. The second timing unit ensures the clock consistency of the environment-aware sensor nodes, and during calculation, checking the time stamp information in each environment-aware data to determine the validity of the environment-aware data ensures that the data obtained by the sensor is required at a specific time This ensures the real-time performance of the data and the effectiveness of the system’s response to the surrounding environment. When performing the fusion calculation of multi-sensor environment perception data, whether the synchronization of the actions of each sensor node meets the requirements can affect whether the final calculation result is correct, and thus affect the judgment of the environment state of the entire robot system. The robot induction control system provided in the third embodiment of the present application can also check the time characteristics of the environmental perception data of each sensor when performing the fusion processing of multi-sensor node data, and can ensure that each data source, that is, the environmental perception data obtained by each sensor It is obtained by synchronized actions, thereby ensuring and improving the accuracy of the fusion calculation results, and also improving the accuracy of the robot system's perception of the environment, and the correct perception of the environment is of great significance for improving the operating efficiency of the robot system. In addition, since the second time service unit in the robot induction control system can include the time service device in the first embodiment, it also has some or all of the technical effects of the time service device in the first embodiment.
实施例四Example four
本申请实施例四提供了一种感应数据计算控制方法,该感应数据计算控制方法可以应用于多传感器的自动化系统中,特别是使用多个传感器节点设备,并进行多传感器节点设备的感应数据进行融合计算以进行环境对象感应的自动化系统中,通过确保参与环境对象感应的多传感器的时钟一致性,保证融合计算结果的准确性,从而提高了整个系统的可靠性。如图5所示,该方法可以包括以下步骤:The fourth embodiment of the present application provides a sensing data calculation control method. The sensing data calculation control method can be applied to a multi-sensor automation system, especially using multiple sensor node devices and performing sensing data processing of multiple sensor node devices. In an automated system for fusion calculation for environmental object sensing, the accuracy of the fusion calculation result is ensured by ensuring the clock consistency of the multiple sensors participating in the environmental object sensing, thereby improving the reliability of the entire system. As shown in Figure 5, the method may include the following steps:
S510:对本地系统内的传感器节点设备进行授时;S510: Perform timing on sensor node devices in the local system;
对本地系统内部的传感器节点设备进行授时,以使得系统内部的各传感器节点设备具有统一的,准确的时钟。为进一步提高系统内部的各传感器节点设备的时钟准确性,避免现有授时方式延迟高或资源有限的缺点,可以通过本地系统内的授时单元对本地系统内的传感器节点设备进行授时,例如在本地系统中置入实施例一所提供的授时装置,通过安装在本地的该授时装置,对对本地系统内部的传感器节点设备进行授时,使对本地系统内部的传感器节点设备获得更加及时可靠的授时来源。Time service is performed on the sensor node devices in the local system, so that each sensor node device in the system has a uniform and accurate clock. In order to further improve the clock accuracy of each sensor node device in the system, and avoid the shortcomings of high delay or limited resources in the existing time service method, the time service unit in the local system can be used to time the sensor node equipment in the local system, for example, locally The timing device provided in Example 1 is built into the system, and the timing device installed locally can be used to time the sensor node equipment inside the local system, so that the sensor node equipment inside the local system can obtain a more timely and reliable timing source .
在一种实施方式下,本地系统内的授时单元可以具有至少两种不同类型的接口单元,分别连接具有对应接口类型的不同传感器节点设备,并对连接到接口单元的不同传感器节点设备进行授时,以提高授时单元的适应性,使本地系统内的授时单元可以适用于不同接口类型的传感器节点设备,也便于系统设计的传感器选型。传感器节点设备与本地系统内的授时单元通过数据总线相连接。传感器节点设备与本地系统内的授时单元之间还可以连接有中断信号线,对本地系统内的传感器节点设备进行授时时,授时单元可以将系统当前时间通过数据总线发出,同时通过中断信号线发出中断信号,传感器节点设备根据中断信号到达时间确定待授时设备的设备本地时间,并通过数据总线接收系统当前时间,通过比对系统当前时间以及设备本地时间确定待授时设备的时钟修正参数,并根据时钟修正参数修正设备本地时间。当然,通过数据总线和中断信号线,传感器节点设备也可以将设备时间发送给系统,以便系统对传感器设备节点的时钟状态进行判断。该过程的内容可以参考实施例一中相应部分的内容,在此就不再赘述了。In one embodiment, the timing unit in the local system may have at least two different types of interface units, respectively connect to different sensor node devices with corresponding interface types, and perform timing on different sensor node devices connected to the interface unit, In order to improve the adaptability of the time service unit, the time service unit in the local system can be applied to sensor node devices of different interface types, and it is also convenient for the sensor selection of the system design. The sensor node equipment is connected with the time service unit in the local system through a data bus. The sensor node device and the timing unit in the local system can also be connected with an interrupt signal line to time the sensor node device in the local system. The timing unit can send the current time of the system through the data bus and at the same time through the interrupt signal line. Interrupt signal, the sensor node device determines the device local time of the device to be timed according to the arrival time of the interrupt signal, and receives the current system time through the data bus, and determines the clock correction parameters of the device to be timed by comparing the current time of the system and the local time of the device. The clock correction parameter corrects the local time of the device. Of course, through the data bus and interrupt signal line, the sensor node device can also send the device time to the system so that the system can judge the clock state of the sensor device node. The content of this process can refer to the content of the corresponding part in the first embodiment, which will not be repeated here.
对传感器节点设备进行授时的操作,可以在系统加电启动后或传感器节点设备在加电后立即进行。传感器节点设备在加电后等待授时,在授时完成以获得正确的传感器节点设备的设备本地时间后,进入待命或工作状态。或者,为进一步确定传感器节点设备的时钟状态是否正常,传感器节点设备在加电后等待授时,在授时完成后可以将设备本地时间反馈至上位系统,上位系统根据设备本地时间以及接收信号的系统时间确定传感 器节点设备的时钟状态是否正常,在确定正常后向传感器节点设备发送消息或指令,传感器节点设备在收到上位系统判断传感器节点设备的时钟工况符合要求的信号后,进入待命或工作状态,其中,传感器节点设备的时钟工况包括传感器节点设备的时钟信息。The operation of timing the sensor node device can be performed immediately after the system is powered on or the sensor node device is powered on. The sensor node device waits for the timing after power-on, and enters the standby or working state after the timing is completed to obtain the correct device local time of the sensor node device. Or, in order to further determine whether the clock status of the sensor node device is normal, the sensor node device waits for the time service after powering up, and after the time service is completed, the device local time can be fed back to the upper system, which is based on the local time of the device and the system time of the received signal Determine whether the clock status of the sensor node device is normal, and send a message or instruction to the sensor node device after it is determined to be normal. The sensor node device enters the standby or working state after receiving the signal from the upper system to determine that the clock condition of the sensor node device meets the requirements , Where, the clock working condition of the sensor node device includes the clock information of the sensor node device.
S520:接收传感器节点设备感知环境对象获得的环境感知数据;所述环境感知数据包括执行感知动作的时间戳信息;S520: Receive environment perception data obtained by the sensor node device perceiving an environment object; the environment perception data includes time stamp information for performing a perception action;
传感器节点设备在运行过程中,对环境对象进行感知,生成环境感知数据,可以将生成的环境感知数据发送给系统计算单元以进行计算,在生成环境感知数据时,可以根据传感器节点设备的设备本地时间,在环境感知数据中加入时间戳信息,即环境感知数据包括执行感知动作的时间戳信息。During the operation of the sensor node device, it perceives environmental objects and generates environmental perception data. The generated environmental perception data can be sent to the system computing unit for calculation. When generating environmental perception data, it can be based on the device locality of the sensor node device. Time, time stamp information is added to the environment perception data, that is, the environment perception data includes the time stamp information for performing the perception action.
S530:确定所述环境感知数据中的所述时间戳信息的时间有效性;S530: Determine the time validity of the time stamp information in the environment perception data;
S540:在确定所述时间戳信息有效后,使用所述环境感知数据进行计算。S540: After determining that the time stamp information is valid, perform calculation using the environment perception data.
系统相关单元,例如计算单元,在接收到传感器节点设备感知环境对象获得的环境感知数据后,可以确定环境感知数据中的时间戳信息的时间有效性,在确定时间戳信息有效后,使用环境感知数据进行计算。具体在确定环境感知数据中的时间戳信息的时间有效性时,一种实现方式可以是,将环境感知数据的时间戳信息与接收到环境感知数据的时间进行比较,根据比较结果确定环境感知数据中的时间戳信息的时间有效性。在一些系统中,对多传感器的感应数据进行融合计算时,某些应用场景下对多个传感器的环境感知数据的时间同步性要远远重要于时间的正确性,这类应用场景中,只需要在计算前保证多传感器的感应数据的时间同步性即可,在这种实施方式下,接收传感器节点设备感知环境对象获得的环境感知数据,可以是接收多个传感器节点设备感知环境对象获得的多份环境感知数据,在确定环境感知数据中的时间戳信息的时间有效性时,可以比较各份环境感知数据的时间戳信息,根据比较结果确定各份环境感知数据中的时间戳信息的时间有效性。当系统中包括多个传感器节点设备时,可以对其中若干个传感器节点的环境感知数据进行融合计算,例如将系统的雷达和相机等传感器节点设备的环境感知数据进行融合计算。System related units, such as computing units, can determine the time validity of the time stamp information in the environment perception data after receiving the environment perception data obtained by the sensor node device perceiving the environment object, and use environment perception after determining that the time stamp information is valid Data is calculated. Specifically, when determining the time validity of the time stamp information in the environment perception data, one implementation may be to compare the time stamp information of the environment perception data with the time when the environment perception data is received, and determine the environment perception data according to the comparison result The time validity of the time stamp information in. In some systems, when performing fusion calculations on the sensing data of multiple sensors, the time synchronization of the environmental perception data of multiple sensors in certain application scenarios is far more important than the correctness of time. In such application scenarios, only It is necessary to ensure the time synchronization of the sensing data of multiple sensors before the calculation. In this embodiment, the environment perception data obtained by receiving the sensor node device perceiving the environmental object may be obtained by receiving multiple sensor node devices perceiving the environmental object. Multiple pieces of environment perception data, when determining the time validity of the time stamp information in the environment perception data, you can compare the time stamp information of each piece of environment perception data, and determine the time of the time stamp information in each piece of environment perception data according to the comparison result Effectiveness. When the system includes multiple sensor node devices, the environment perception data of several sensor nodes can be fused and calculated, for example, the system's radar and camera and other sensor node devices can be fused and calculated.
如果确定环境感知数据中的时间戳信息的时间有效性时,一个或多个传感器节点设备的环境感知数据中时间戳状态出现异常,则表示相应的传感器节点设备或设备管理单元出现了异常,此时,可以根据环境感知数据的时间戳信息判断相应的传感器节点设备是否存在时钟异常,若存在,则对相应的传感器节点设备进行强制授时,也可以采取对传感器节点设备的时钟异常状态进行信息提示,和/或生成相应的状态记录等措施。If the time stamp information in the environmental awareness data is determined to be valid, the time stamp status in the environmental awareness data of one or more sensor node devices is abnormal, which means that the corresponding sensor node device or device management unit is abnormal. At the time, it can be judged whether the corresponding sensor node device has clock abnormality according to the time stamp information of the environmental perception data. If it exists, the corresponding sensor node device will be compulsorily timed, or the sensor node device's clock abnormal state can be prompted by information , And/or generate corresponding status records and other measures.
以上对本申请实施例四提供的感应数据计算控制方法进行了详细的介绍,通过该方法,可以对本地系统内的传感器节点设备进行授时;接收传感器节点设备感知环境对象获得的环境感知数据,其中,环境感知数据可以包括执行感知动作的时间戳信息,在进行计算时可以首先确定环境感知数据中的时间戳信息的时间有效性;在确定时间戳信息有效后,使用环境感知数据进行计算。该感应数据计算控制方法可以应用于多传感器的自动化系统中,特别是使用多个传感器节点设备,并进行多传感器节点设备的感应数据进行融合计算以进行环境对象感应的自动化系统中,通过确保参与环境对象感应的多传感器的时钟一致性,保证融合计算结果的准确性,从而提高了整个系统的可靠性。The above gives a detailed introduction to the sensing data calculation control method provided in the fourth embodiment of the present application. Through this method, the sensor node device in the local system can be timed; the environment perception data obtained by the sensor node device perceiving the environmental object can be received, wherein, The environment perception data may include time stamp information for performing the perception action. When performing calculation, the time validity of the time stamp information in the environment perception data may be determined first; after the time stamp information is determined to be valid, the environment perception data is used for calculation. The sensing data calculation control method can be applied to a multi-sensor automation system, especially in an automation system that uses multiple sensor node devices and performs fusion calculation of the sensing data of the multi-sensor node devices for environmental object sensing, by ensuring participation The clock consistency of multiple sensors sensed by environmental objects ensures the accuracy of the fusion calculation results, thereby improving the reliability of the entire system.
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本申请可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例或者实施例的某些部分所述的方法。From the description of the foregoing implementation manners, it can be understood that those skilled in the art can clearly understand that this application can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product can be stored in a storage medium, such as ROM/RAM, magnetic disk , CD-ROM, etc., including several instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in each embodiment or some parts of the embodiment of this application.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统或系统实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的系统及系统实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment. The system and system embodiments described above are merely illustrative, where the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, namely It can be located in one place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the objectives of the solutions of the embodiments. Those of ordinary skill in the art can understand and implement it without creative work.
以上对本申请所提供的授时装置、自动驾驶感应控制系统、机器人感应控制系统,以及感应数据计算控制方法进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处。综上所述,本说明书内容不应理解为对本申请的限制。The timing device, the automatic driving induction control system, the robot induction control system, and the induction data calculation control method provided in the application are described in detail above. This article uses specific examples to illustrate the principles and implementation of the application. The description of the embodiments is only used to help understand the method and core idea of the application; meanwhile, for those of ordinary skill in the art, according to the idea of the application, there will be changes in the specific implementation and the scope of application. In summary, the content of this specification should not be construed as a limitation on this application.

Claims (27)

  1. 一种授时装置,其特征在于,包括:A timing device, characterized by comprising:
    时钟单元,处理器,以及传感器适配单元;所述传感器适配单元包括数据总线;A clock unit, a processor, and a sensor adaptation unit; the sensor adaptation unit includes a data bus;
    其中,所述时钟单元用于为处理器提供时钟信号;Wherein, the clock unit is used to provide a clock signal for the processor;
    所述处理器,用于根据系统当前时间生成时间同步信号,通过所述数据总线将所述时间同步信号发送至连接在所述传感器适配单元的待授时设备;The processor is configured to generate a time synchronization signal according to the current time of the system, and send the time synchronization signal to a timing device connected to the sensor adapting unit through the data bus;
    所述数据总线,用于为所述处理器与连接在所述传感器适配单元的待授时设备提供数据传输连接;The data bus is used to provide a data transmission connection for the processor and the timing device connected to the sensor adaptation unit;
    所述传感器适配单元,用于连接待授时设备。The sensor adaptation unit is used to connect to the equipment to be timed.
  2. 根据权利要求1所述的装置,其特征在于,所述授时装置包括两个或两个以上的所述传感器适配单元。The device according to claim 1, wherein the timing device comprises two or more sensor adaptation units.
  3. 根据权利要求2所述的装置,其特征在于,各所述传感器适配单元分别包括不同类型的适配接口,所述适配接口与对应的待授时设备的接口相匹配。The apparatus according to claim 2, wherein each of the sensor adaptation units respectively includes different types of adaptation interfaces, and the adaptation interfaces are matched with the interfaces of the corresponding equipment to be timed.
  4. 根据权利要求3所述的装置,其特征在于,各所述传感器适配单元分别包括不同类型的数据总线,各所述传感器适配单元中数据总线类型与适配接口的类型具有对应关系。The device according to claim 3, wherein each of the sensor adaptation units includes different types of data buses, and the type of the data bus in each sensor adaptation unit has a corresponding relationship with the type of the adaptation interface.
  5. 根据权利要求1所述的装置,其特征在于,所述处理器,用于生成时间同步信号,其中,所述时间同步信号包括第一中断信号以及同步数据信号。The apparatus according to claim 1, wherein the processor is configured to generate a time synchronization signal, wherein the time synchronization signal includes a first interrupt signal and a synchronization data signal.
  6. 根据权利要求5所述的授时装置,其特征在于,所述处理器将所述第一中断信号以及所述同步数据信号同步发出。The timing device according to claim 5, wherein the processor synchronously sends out the first interrupt signal and the synchronization data signal.
  7. 根据权利要求5或6所述的装置,其特征在于,所述同步数据信号中包括系统当前时间;所述待授时设备接收到所述时间同步信号后,根据所述第一中断信号到达时间确定待授时设备的设备本地时间,通过比较所述系统当前时间以及所述设备本地时间确定待授时设备的时钟修正参数。The apparatus according to claim 5 or 6, wherein the synchronization data signal includes the current time of the system; after the time synchronization signal is received by the time-serving device, it is determined according to the arrival time of the first interrupt signal The device local time of the device to be timed is determined by comparing the current time of the system and the device local time to determine the clock correction parameter of the device to be timed.
  8. 根据权利要求5或6的所述的装置,其特征在于,所述处理器以预置频率周期性发送时间同步信号。The device according to claim 5 or 6, wherein the processor periodically sends a time synchronization signal at a preset frequency.
  9. 根据权利要求1-6任一项所述的装置,其特征在于,所述处理器还用于,接收连接在所述传感器适配单元的待授时设备的时钟反馈信号,根据所述时钟反馈信号确定待授时设备的时钟状态。The apparatus according to any one of claims 1 to 6, wherein the processor is further configured to receive a clock feedback signal of a device to be timed connected to the sensor adaptation unit, and according to the clock feedback signal Determine the clock status of the device to be timed.
  10. 根据权利要求9所述的装置,其特征在于,所述时钟反馈信号包括第二中断信号 以及反馈数据信号。The device according to claim 9, wherein the clock feedback signal comprises a second interrupt signal and a feedback data signal.
  11. 根据权利要求10所述的装置,其特征在于,所述反馈数据信号包括待授时设备的设备当前时间,所述处理器用于根据所述第二中断信号到达时间生成系统本地时间,通过比较所述设备当前时间与所述系统本地时间确定待授时设备的时钟状态。The apparatus according to claim 10, wherein the feedback data signal includes the current time of the device to be timed, and the processor is configured to generate the system local time according to the arrival time of the second interrupt signal, and by comparing the The current time of the device and the local time of the system determine the clock state of the device to be timed.
  12. 根据权利要求11所述的装置,其特征在于,所述处理器还用于,在确定所述待授时设备的时钟状态出现异常时,生成待授时设备的时钟状态数据,并将所述时钟状态数据发送给上位机。The apparatus according to claim 11, wherein the processor is further configured to, when it is determined that the clock status of the equipment to be timed is abnormal, generate clock status data of the equipment to be timed, and to compare the clock status The data is sent to the host computer.
  13. 一种自动驾驶感应控制系统,其特征在于,包括:An automatic driving induction control system, characterized in that it comprises:
    第一授时单元,驾驶环境传感器节点,以及驾驶环境感应数据计算单元;The first timing unit, the driving environment sensor node, and the driving environment sensing data calculation unit;
    其中,所述第一授时单元,用于为所述驾驶环境传感器节点提供授时;Wherein, the first timing unit is configured to provide timing for the driving environment sensor node;
    所述驾驶环境传感器节点,用于根据所述第一授时单元的授时确定驾驶环境传感器节点的设备本地时间;以及,用于感知环境对象并生成环境感知数据;所述环境感知数据包括执行感知动作的时间戳信息;The driving environment sensor node is used to determine the device local time of the driving environment sensor node according to the timing of the first timing unit; and, used to perceive environmental objects and generate environmental perception data; the environmental perception data includes performing a perception action Timestamp information;
    所述驾驶环境感应数据计算单元,用于接收驾驶环境传感器节点生成的所述环境感知数据,根据环境感知数据中的所述时间戳信息确定环境感知数据的有效性,并在确定所述环境感知数据有效后使用所述环境感知数据进行计算。The driving environment sensing data calculation unit is configured to receive the environment perception data generated by the driving environment sensor node, determine the validity of the environment perception data according to the time stamp information in the environment perception data, and determine the validity of the environment perception data. After the data is valid, the environment perception data is used for calculation.
  14. 根据权利要求13所述的系统,其特征在于,所述自动驾驶感应控制系统至少包括两个所述驾驶环境传感器节点,所述第一授时单元与各所述驾驶环境传感器节点相连,并用于为各所述驾驶环境传感器节点提供授时;The system according to claim 13, wherein the automatic driving induction control system includes at least two of the driving environment sensor nodes, and the first timing unit is connected to each of the driving environment sensor nodes and is used for Each of the driving environment sensor nodes provides timing;
    所述驾驶环境感应数据计算单元,用于接收各传感器节点生成的环境感知数据,根据各环境感知数据中的所述时间戳信息确定各环境感知数据的有效性,并在确定各所述环境感知数据有效后使用各所述环境感知数据进行融合计算。The driving environment sensing data calculation unit is configured to receive the environmental sensing data generated by each sensor node, determine the validity of each environmental sensing data according to the time stamp information in each environmental sensing data, and determine the effectiveness of each environmental sensing After the data is valid, each of the environmental perception data is used for fusion calculation.
  15. 根据权利要求13或14所述的系统,其特征在于,所述第一授时单元,包括:The system according to claim 13 or 14, wherein the first timing unit comprises:
    时钟单元,处理器,以及传感器适配单元;所述传感器适配单元包括数据总线;A clock unit, a processor, and a sensor adaptation unit; the sensor adaptation unit includes a data bus;
    其中,所述时钟单元用于为处理器提供时钟信号;Wherein, the clock unit is used to provide a clock signal for the processor;
    所述处理器,用于根据系统当前时间生成时间同步信号,通过所述数据总线将所述时间同步信号发送至连接在所述传感器适配单元的传感器节点;The processor is configured to generate a time synchronization signal according to the current time of the system, and send the time synchronization signal to a sensor node connected to the sensor adaptation unit through the data bus;
    所述数据总线,用于为所述处理器与连接在所述传感器适配单元的传感器节点提供数据传输连接;The data bus is used to provide a data transmission connection for the processor and the sensor node connected to the sensor adaptation unit;
    所述传感器适配单元,用于连接传感器节点。The sensor adaptation unit is used to connect sensor nodes.
  16. 一种机器人感应控制系统,其特征在于,包括:A robot induction control system is characterized in that it comprises:
    第二授时单元,环境感知传感器节点,以及环境数据计算单元;The second timing unit, the environment sensing sensor node, and the environment data calculation unit;
    其中,所述第二授时单元,用于为所述环境感知传感器节点提供授时;Wherein, the second timing unit is configured to provide timing for the environmental sensing sensor node;
    所述环境感知传感器节点,用于根据所述第二授时单元的授时确定环境感知传感器节点的设备本地时间;以及,用于感知环境对象并生成环境感知数据;所述环境感知数据包括执行感知动作的时间戳信息;The environment-aware sensor node is configured to determine the device local time of the environment-aware sensor node according to the timing of the second timing unit; and, to perceive environmental objects and generate environment-aware data; the environment-aware data includes performing a perception action Timestamp information;
    所述环境数据计算单元,用于接收环境感知传感器节点生成的所述环境感知数据,根据环境感知数据中的所述时间戳信息确定环境感知数据的有效性,并在确定所述环境感知数据有效后使用所述环境感知数据进行计算。The environment data calculation unit is configured to receive the environment perception data generated by the environment perception sensor node, determine the validity of the environment perception data according to the time stamp information in the environment perception data, and determine the validity of the environment perception data Then use the environmental perception data for calculation.
  17. 一种感应数据计算控制方法,其特征在于,包括:A method for calculating and controlling induction data, which is characterized in that it comprises:
    对本地系统内的传感器节点设备进行授时;Timing of sensor node devices in the local system;
    接收传感器节点设备感知环境对象获得的环境感知数据;所述环境感知数据包括执行感知动作的时间戳信息;Receiving environment perception data obtained by a sensor node device perceiving an environment object; the environment perception data includes time stamp information for performing a perception action;
    确定所述环境感知数据中的所述时间戳信息的时间有效性;Determining the time validity of the time stamp information in the environment perception data;
    在确定所述时间戳信息有效后,使用所述环境感知数据进行计算。After it is determined that the time stamp information is valid, the environment perception data is used for calculation.
  18. 根据权利要求17所述的方法,其特征在于,所述对本地系统内的传感器节点设备进行授时,包括:The method according to claim 17, wherein the timing of the sensor node device in the local system comprises:
    通过本地系统内的授时单元对本地系统内的传感器节点设备进行授时。The sensor node equipment in the local system is timed through the time service unit in the local system.
  19. 根据权利要求18所述的方法,其特征在于,所述通过本地系统内的授时单元对本地系统内的传感器节点设备进行授时,包括:The method according to claim 18, characterized in that, the timing of the sensor node device in the local system through the timing unit in the local system comprises:
    所述授时单元具有至少两种不同类型的接口单元,分别连接具有对应接口类型的不同传感器节点设备,并对连接到所述接口单元的不同传感器节点设备进行授时。The timing unit has at least two different types of interface units, respectively connects different sensor node devices with corresponding interface types, and performs timing on different sensor node devices connected to the interface unit.
  20. 根据权利要求18或19所述的方法,其特征在于,所述传感器节点设备与所述本地系统内的授时单元通过数据总线相连接。The method according to claim 18 or 19, wherein the sensor node device is connected to a timing unit in the local system through a data bus.
  21. 根据权利要求20所述的方法,其特征在于,所述传感器节点设备与所述本地系统内的授时单元之间还连接有中断信号线;所述对本地系统内的传感器节点设备进行授时,包括:The method according to claim 20, wherein an interrupt signal line is also connected between the sensor node device and the timing unit in the local system; and the timing of the sensor node device in the local system comprises :
    所述授时单元将系统当前时间通过所述数据总线发出,同时通过所述中断信号线发出中断信号,所述传感器节点设备根据所述中断信号到达时间确定待授时设备的设备本地时间,并通过所述数据总线接收系统当前时间,通过比对所述系统当前时间以及所述 设备本地时间确定待授时设备的时钟修正参数,并根据所述时钟修正参数修正设备本地时间。The timing unit sends the current system time through the data bus and at the same time sends an interrupt signal through the interrupt signal line. The sensor node device determines the device local time of the device to be timed according to the arrival time of the interrupt signal, and passes all The data bus receives the current system time, determines the clock correction parameter of the device to be timed by comparing the system current time and the device local time, and corrects the device local time according to the clock correction parameter.
  22. 根据权利要求17所述的方法,其特征在于,还包括:The method according to claim 17, further comprising:
    所述传感器节点设备在加电后等待授时,在授时完成以获得正确的传感器节点设备的设备本地时间后,进入待命或工作状态。The sensor node device waits for the time service after being powered on, and enters the standby or working state after the time service is completed to obtain the correct device local time of the sensor node device.
  23. 根据权利要求17所述的方法,其特征在于,还包括:The method according to claim 17, further comprising:
    所述传感器节点设备在加电后等待授时,在授时完成后将设备本地时间反馈至上位系统,并在收到所述上位系统判断所述传感器节点设备的时钟工况符合要求的信号后,进入待命或工作状态。The sensor node device waits for time service after power-on, feeds back the local time of the device to the upper system after the time service is completed, and enters after receiving a signal that the upper system determines that the clock working condition of the sensor node device meets the requirements Standby or working status.
  24. 根据权利要求17所述的方法,其特征在于,所述确定所述环境感知数据中的所述时间戳信息的时间有效性,包括:The method according to claim 17, wherein the determining the time validity of the time stamp information in the environmental perception data comprises:
    将所述环境感知数据的所述时间戳信息与接收到所述环境感知数据的时间进行比较,根据比较结果确定所述环境感知数据中的所述时间戳信息的时间有效性。The time stamp information of the environment perception data is compared with the time when the environment perception data is received, and the time validity of the time stamp information in the environment perception data is determined according to the comparison result.
  25. 根据权利要求17所述的方法,其特征在于,接收传感器节点设备感知环境对象获得的环境感知数据,包括:The method according to claim 17, wherein the receiving environment perception data obtained by the sensor node device perceiving an environment object comprises:
    接收多个传感器节点设备感知环境对象获得的多份环境感知数据;Receive multiple pieces of environmental perception data obtained by multiple sensor node devices perceiving environmental objects;
    所述确定所述环境感知数据中的所述时间戳信息的时间有效性,包括:The determining the time validity of the time stamp information in the environment perception data includes:
    比较各份所述环境感知数据的时间戳信息,根据比较结果确定各份环境感知数据中的所述时间戳信息的时间有效性。The time stamp information of each piece of environmental perception data is compared, and the time validity of the time stamp information in each piece of environmental perception data is determined according to the comparison result.
  26. 根据权利要求17所述的方法,其特征在于,还包括:The method according to claim 17, further comprising:
    根据环境感知数据的时间戳信息判断相应的传感器节点设备是否存在时钟异常,若存在,则对所述相应的传感器节点设备进行强制授时。According to the time stamp information of the environmental perception data, it is determined whether the corresponding sensor node device has a clock abnormality, and if there is, the corresponding sensor node device is forced to time service.
  27. 根据权利要求17或26所述的方法,其特征在于,还包括:The method according to claim 17 or 26, further comprising:
    对传感器节点设备的时钟异常状态进行信息提示,和/或生成相应的状态记录。Provide information prompts for the abnormal state of the clock of the sensor node equipment, and/or generate corresponding state records.
PCT/CN2020/074471 2019-02-20 2020-02-07 Sensing data calculation control method and time-transfer apparatus WO2020168924A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910126605.8 2019-02-20
CN201910126605.8A CN111600670B (en) 2019-02-20 2019-02-20 Inductive data calculation control method and time service device

Publications (1)

Publication Number Publication Date
WO2020168924A1 true WO2020168924A1 (en) 2020-08-27

Family

ID=72143667

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/074471 WO2020168924A1 (en) 2019-02-20 2020-02-07 Sensing data calculation control method and time-transfer apparatus

Country Status (2)

Country Link
CN (1) CN111600670B (en)
WO (1) WO2020168924A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113839732A (en) * 2021-09-18 2021-12-24 阿里巴巴达摩院(杭州)科技有限公司 Clock synchronization method, device and equipment
CN113885020A (en) * 2021-09-15 2022-01-04 万赛智能科技(苏州)有限公司 Automatic driving data acquisition and fusion system and method

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112564883B (en) * 2020-12-03 2022-08-02 苏州挚途科技有限公司 Time synchronization apparatus, method and automatic driving system
CN112672415B (en) * 2020-12-25 2022-04-26 之江实验室 Multi-sensor time synchronization method, device, system, electronic device and medium
CN113674451B (en) * 2021-10-19 2022-01-04 北京智能车联产业创新中心有限公司 Method and device for testing perception delay performance of automatic driving vehicle
CN116772869A (en) * 2023-03-28 2023-09-19 苏州天准科技股份有限公司 Data processing method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105940390A (en) * 2013-12-30 2016-09-14 谷歌技术控股有限责任公司 Methods and Systems for Synchronizing Data Received from Multiple Sensors of a Device
CN107659367A (en) * 2017-08-30 2018-02-02 安徽江淮汽车集团股份有限公司 More sensing unit method for synchronizing time and system
CN109104259A (en) * 2017-08-25 2018-12-28 杭州德泽机器人科技有限公司 A kind of multisensor clock synchronization synchronization system and method
US20190004530A1 (en) * 2015-12-11 2019-01-03 Uber Technologies, Inc. Formatting sensor data for use in autonomous vehicle communications platform

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6400646B1 (en) * 1999-12-09 2002-06-04 Halliburton Energy Services, Inc. Method for compensating for remote clock offset
CN100595716C (en) * 2007-02-15 2010-03-24 杭州华三通信技术有限公司 Method and apparatus for synchronizing clock of distributed processing system
CN103744371B (en) * 2013-12-23 2016-06-08 广东电网公司电力科学研究院 The sensor IC of unmanned plane electric inspection process
CN104113386B (en) * 2014-07-09 2017-10-10 北京东土科技股份有限公司 It is a kind of to monitor the synchronous method and device of ethernet clock
DE102015212218A1 (en) * 2015-06-30 2017-01-05 Robert Bosch Gmbh Decentrally synchronized multi-sensor system
US10104148B2 (en) * 2017-01-03 2018-10-16 Globalfoundries Inc. Nanosecond accuracy under precision time protocol for ethernet by using high accuracy timestamp assist device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105940390A (en) * 2013-12-30 2016-09-14 谷歌技术控股有限责任公司 Methods and Systems for Synchronizing Data Received from Multiple Sensors of a Device
US20190004530A1 (en) * 2015-12-11 2019-01-03 Uber Technologies, Inc. Formatting sensor data for use in autonomous vehicle communications platform
CN109104259A (en) * 2017-08-25 2018-12-28 杭州德泽机器人科技有限公司 A kind of multisensor clock synchronization synchronization system and method
CN107659367A (en) * 2017-08-30 2018-02-02 安徽江淮汽车集团股份有限公司 More sensing unit method for synchronizing time and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113885020A (en) * 2021-09-15 2022-01-04 万赛智能科技(苏州)有限公司 Automatic driving data acquisition and fusion system and method
CN113839732A (en) * 2021-09-18 2021-12-24 阿里巴巴达摩院(杭州)科技有限公司 Clock synchronization method, device and equipment

Also Published As

Publication number Publication date
CN111600670B (en) 2023-04-18
CN111600670A (en) 2020-08-28

Similar Documents

Publication Publication Date Title
WO2020168924A1 (en) Sensing data calculation control method and time-transfer apparatus
CN109743128B (en) Vehicle-mounted multi-information synchronous control system and method
US8065052B2 (en) Method and arrangement for correlating time bases between interconnected units
US11929777B2 (en) Time synchronization method and apparatus
CN110329273A (en) A kind of method and device synchronous for unmanned acquisition data
CN103345192B (en) Intelligent clock synchronous-control circuit used for photoelectric tracker
CN101145896B (en) Control system and method for clock synchronization between control stations
CN103684734A (en) Hot backup redundancy computer time synchronization system and method thereof
Liu et al. Brief industry paper: The matter of time—A general and efficient system for precise sensor synchronization in robotic computing
Liu et al. The Matter of Time--A General and Efficient System for Precise Sensor Synchronization in Robotic Computing
CN103760763A (en) GPS clock synchronization system and method and distribution terminal unit
CN107800500A (en) A kind of method, apparatus and equipment for determining time synchronized message clock time
CN111443685B (en) Method for providing universal time in control device and control device
CN114221731B (en) Time synchronization precision determining method and system and electronic equipment
WO2019144645A1 (en) Timing device
CN113342899B (en) Method, device and system for synchronously acquiring data
CN114567406A (en) Clock synchronization device and electronic equipment
CN114006672A (en) Vehicle-mounted multi-sensor data synchronous acquisition method and system
Rojek et al. Iot-based real-time monitoring system for a smart energy house
Bezet et al. On-line timestamping synchronization in distributed sensor architectures
CN114584245B (en) Multi-equipment synchronization method and system for traditional Chinese medicine
WO2022127337A1 (en) Master clock device, slave clock device and time synchronization method
CN109460305A (en) Use-case calling system and method, the first platform and the second platform
CN117792558B (en) Method, apparatus, device and medium for integrating high precision time
WO2023023943A1 (en) Gnss and accelerometer integrated monitoring device and method, and storage medium

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

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

Country of ref document: EP

Kind code of ref document: A1