Algorithm triggered sensor data acquisition

11699291 · 2023-07-11

Assignee

Inventors

Cpc classification

International classification

Abstract

A computer system is provided which includes a sensor system and a processor. The sampling rate of the sensor system is not predetermined, and instead depends on the acquisition rate of the algorithm acquiring the data stream provided by the sensor system. A corresponding method is also provided.

Claims

1. A computer system for a vehicle comprising: a sensor system of the vehicle configured to acquire a stream of signals from an environment at a sampling rate thereby providing a data stream consisting of data tokens each token corresponding to an acquired signal of the stream of signals; and a processor of the vehicle configured to execute an algorithm for continuously acquiring the data stream consisting of data tokens, wherein the algorithm has an acquisition rate for acquiring the data tokens of the data stream; wherein the processor of the vehicle is configured to provide instructions to the sensor system of the vehicle to adapt the sampling rate to the acquisition rate of the algorithm, wherein the algorithm has three different states, a first status indicating that the algorithm is ready to acquire a signal of the stream of signals, a second status indicating that the algorithm is not ready to acquire a signal of the stream of signals, and a third status indicating that the algorithm is ready for acquiring a signal of the stream of signals after a time period t.sub.r has elapsed to account for acquisition latencies of the sensor system, wherein the sensor system of the vehicle is configured to provide information to the processor on an expected acquisition time t.sub.a, the acquisition time t.sub.a indicating a time required for the sensor to acquire the signal and produce a data token based on the acquired signal, wherein the algorithm is configured to provide information to the processor of the vehicle on a ready time when the algorithm will transition from the third status to the first status, and wherein the processor of the vehicle is configured to read the states and to trigger the acquisition of the signal at the sensor system based on a time difference t.sub.r−ta when the algorithm is in the third status, such that the algorithm receives the data token when the algorithm enters the first status.

2. The computer system according to claim 1, wherein the sensor system comprises at least one of an image recording device, a sound recording device, a temperature recording device, a recording device for the chemical composition of the environment, a device for light detection and ranging (LIDAR), a radio detection and ranging (RADAR) device, ultrasonic sensors, and other sensors relevant for automotive applications.

3. The computer system according to claim 1, wherein the sensor system is an image recording device and the sampling rate of the image recording device is the frame rate of the image recording device.

4. The computer system according to claim 1, wherein the processor of the computer system is a central processing unit (CPU), a graphical processing unit (GPU), an application-specific integrated circuit (ASIC), field-programmable gate array (FPGA) or a combination thereof.

5. A method for a vehicle for acquiring a data stream of a sensor system, the method comprising: executing, by a processor of the vehicle, an algorithm for continuously acquiring a data stream consisting of data tokens, wherein the algorithm has an acquisition rate for acquiring the data tokens; providing, by the processor of the vehicle, instructions to the sensor system to adapt the sampling rate of the sensor system to the acquisition rate of the algorithm; acquiring, by the sensor system of the vehicle, a stream of signals from an environment at the sampling rate, thereby providing the data stream consisting of data tokens each token corresponding to an acquired signal of the stream of signals, wherein the algorithm has three different states, a first status indicating that the algorithm is ready to acquire a signal of the stream of signals, a second status indicating that the algorithm is not ready to acquire a signal of the stream of signals, and a third status indicating that the algorithm is ready for acquiring a signal of the stream of signals after a time period t.sub.r has elapsed to account for acquisition latencies of the sensor system; providing, by the sensor system of the vehicle, information to the processor of an expected acquisition time t.sub.a, the acquisition time t.sub.a indicating a time required for the sensor system to acquire the signal and produce a data token based on the acquired signal, wherein information on a ready time when the algorithm will transition from the third status to the first status is provided to the processor; and reading, by the processor of the vehicle, the states and to trigger the acquisition of the signal at the sensor system based on a time difference t.sub.r−ta when the algorithm is in the third status, such that the algorithm receives the data token when the algorithm enters the first status.

Description

BRIEF DESCRIPTION OF THE FIGURES

(1) FIG. 1 illustrates a computer system comprising a processor and a sensor system.

(2) FIG. 2 illustrates a method for algorithm trigged sensor data acquisition.

DETAILED DESCRIPTION OF THE INVENTION

(3) FIG. 1 shows a computer system 100 comprising a processor 101 and a sensor system 102. The processor 101 and the sensor system 102 can be provided within the same casing or can be provided in separated casings. The processor 101 and the sensor system 102 can be operably linked by any connection suitable to transfer data between the processor 101 and the sensor, like a data cable (e.g a local area network or a data bus, e.g. a USB bus) or a wireless connection (e.g. a Wifi network or Bluetooth). The computer system 100 may comprise or/and be operably connected to a memory device for storing the data output by the processor 101 or the sensor system 102. The computer system 100 may comprise as the processor 101 a central processing unit, a graphical processing unit, an application-specific integrated circuit (ASIC), field-programmable gate array (FPGA) or a combination thereof.

(4) As depicted in FIG. 2 the processor 101 executes the algorithm that acquires the data stream provided by the sensor system 102 (S201). The sensor system 102 is a device that preferably is capable of transforming an analogue signal provided by the environment into a digital signal. The sensor system 102 acquires the analogue signal at a particular sampling rate, providing for each sampling of the analogue input a discrete digital data package (data token) after conversion. For this purpose the sensor system 102 comprises a device for converting an analogue signal to a digital signal (e.g. an optoelectronic sensor in the case of a digital camera).

(5) Each sampling step can endure for a specific time length that is adjustable by the user, is predetermined, or is automatically determined in dependency from external factors. For example, for a digital camera the time length of the sampling step can depend from the light level in the environment of the sensor. The length of the time length of the sampling step determines the maximum sampling rate, with the maximum sampling rate being a time period divided by the length of the sampling step.

(6) Accordingly, the computer system 100 or the sensor system 102 may also be configured to determine the level of such an external factor. This can be achieved by the device for converting an analogue signal to a digital signal of the sensor system 102 itself or by an additional sensor system 102 that is capable of determining a digital value for the external factor.

(7) Returning to the algorithm, the algorithm is a computer program for processing the data stream comprising the data tokens received by the sensor system 102. The data stream contains the raw data provided by the sensor system 102. This raw data can be processed by the algorithm into a different (for example, a compressed) format that is different from the format of the raw data, for example, a format requiring a lower amount of bits.

(8) The algorithm processes the data stream continuously and sequentially (data token by data token) and thus the algorithm has a certain acquisition rate for processing new incoming data tokens of the data streams. This acquisition rate can depend from various factors. For example, the code of the algorithm may require that each data token is submitted to particular processing steps each requiring a certain amount of time. Thus, during the time one incoming data token is processed the algorithm is not capable of processing a further incoming data token. This code specific limitation of the algorithm may further be dependent on the processing time that is allocated to the algorithm by the processor 101 on which the algorithm is executed. For example, if a further process, that is not the algorithm for acquiring the incoming data stream, is executed on the same processor 101, the processor 101 may reduce the maximal processing time allocated to the algorithm for acquiring the incoming data stream.

(9) In addition, the processor 101 will inherently have a certain maximal processing speed that may also limit the rate at which the execution of the algorithm for acquiring the incoming data stream is performed.

(10) Therefore, the algorithm may have a status where it is ready to acquire a new incoming data token and a status where it is not ready to acquire a new incoming data token. This status information may be provided by the algorithm itself or by a further process being executed on the processor 101 which determines the status of the algorithm.

(11) The processor 101 can read these states and upon determining that the algorithm is ready sends instructions to the sensor system 102 to acquire a signal from the environment S202, thereby triggering the acquisition of a new signal by the sensor system 102, and to provide a new data token after digital conversion of the signal S203. Preferably, the processor 101 triggers the acquisition of the signal at the sensor system 102 upon determining that the algorithm is in the third status. The reading of those states by the processor 101 especially occurs in a recursive way and depending on the status of the algorithm the acquisition of a new signal by the sensor system 102 is either triggered or not. The algorithm is hereby preferably processing the incoming data tokens continuously.

(12) This approach has the advantage that no data token is send to the algorithm executed on the processor 101 when the algorithm is not ready. In this way the sampling rate of the sensor system 102 is no longer at a predetermined fixed value, but can vary depending on the instructions send by the processor 100 and is thus adapted to the acquisition rate of the algorithm. In this way no processing time is wasted and no additional memory is required to provide a preliminary storage place for the incoming data stream.

(13) The first status which indicates that the algorithm is ready may also indicate that the algorithm is close to being ready for acquiring a signal of the stream of signals. This may also be considered to represent a third status and this third status may also be accompanied with information about the time period until the algorithm may be ready. This has the advantage that acquisition latencies of the sensor system 102 can be accounted for. For example, the processor 101 may be provided with the information that the acquisition of a further signal and the conversion of this signal into a data token may take a period t.sub.A (signal acquisition period). A process executed on the processor 101 may read that the algorithm is in a third status and the processor 100 may be provided with the information that the algorithm may be ready in a period of t.sub.R (period until algorithm is ready). Then it can be calculated by the process executed on the processor 101 that after a period t.sub.t=t.sub.R−t.sub.A (“period until triggering is executed”) the algorithm will be in the first state and thus trigger the acquisition of the signal at the sensor system 102 after expiry of the period t.sub.t. To ensure that the various events of the claimed method and within the claimed system are synchronized, the computer system 100 can also comprise a clock structure for synchronizing the processes being executed in the computer system 100.

(14) As discussed above, the acquisition latencies may also depend from the determination of an external factor (e.g. the level of light in the case of an optical sensor) and thus may be accounted for when determining the presence of a third status.

(15) The disclosed sensor system 102 may be any sensor system 102 that is capable of sequentially and also continuously acquiring an external (e.g. analogue) signal from the environment and converting this signal into a digital data stream consisting of data tokens. Thus, the sensor system 102 may be an image recording device, a sound recording device, a temperature recording device, or a recording device for the chemical composition of the environment. An image recording device may be a digital camera or digital video camera. The image recording device may comprise a charge-coupled device (CCD) sensor or a complementary metal-oxide-semiconductor (CMOS). A temperature recording device may measure the resistance in a metal in a temperature dependent manner (thermistor, e.g. Positive or Negative Temperature Coefficient Thermistor) and comprise means to convert these measurements into a digital data stream. A sound recording device may be any form of microphone suitable for measuring sound waves and converting them into a digital signal. A recording device for the chemical composition of the environment may be for example a pH meter or a potentiometer, or any other device suitable to measure in a time dependent manner a chemical factor in the environment.

(16) The herein disclosed computer system 100 may have a number of applications.

(17) It may be comprised in any form of vehicle, e.g. in an automobile (e.g. a car or a truck), an aircraft or a ship. It may be comprised in and/or operably connected to an Advanced Driver Assistance System (ADAS) which may be comprised in any form of vehicle as described above. Particularly preferred is the use of a computer system 100 comprising an image recording device that is used as a front, side, or rear camera in an automobile.