Accelerator engine, corresponding apparatus and method, for instance for anti-collision systems for motor vehicles
10634783 ยท 2020-04-28
Assignee
Inventors
Cpc classification
G01S13/5246
PHYSICS
G01S7/2806
PHYSICS
International classification
G01S13/02
PHYSICS
G01S13/42
PHYSICS
G01S13/00
PHYSICS
G01S13/524
PHYSICS
Abstract
An accelerator device for use in generating a list of potential targets in a radar system, such as an anti-collision radar for a motor vehicle, may process radar data signals arranged in cells stored in a system memory. A cell under test in is identified as a potential target if the cell under test is a local peak over boundary cells and is higher than a certain threshold calculated by sorting range and velocity radar data signals arranged in windows. The cells identified as a potential target are sorted in a sorted list of potential targets. The accelerator device may include a double-buffering local memory for storing cell under test and boundary cell data; and a first and a second sorting unit for performing concurrent sorting of the radar data signals arranged in windows and the cells identified as a potential target in pipeline with accesses to the system memory.
Claims
1. A method, comprising: generating a list of potential targets in a radar system from radar data signals arranged in cells stored in a system memory, wherein generating the list of potential targets comprises interpolation and data formatting; identifying a cell under test in the radar data signals as a potential target if the cell under test is a local peak over boundary cells and is higher than a threshold; sorting cells identified as a potential target in a sorted list of potential targets; storing the cell under test and boundary cell data in a double-buffering local memory; enabling re-using a pre-sorted sub-set of the cell under test, boundary cell data and radar data signals arranged in windows as a function of a direction of scanning the data in the system memory; and concurrently sorting, using a first sorting unit and a second sorting unit, the radar data signals arranged in windows and the cells identified as a potential target in a pipeline with access to the system memory.
2. The method of claim 1, wherein generating the list of potential targets is implemented in firmware.
3. The method of claim 1, wherein generating the list of potential targets is implemented by a programmable arithmetical-logical unit at a firmware level.
4. The method of claim 1, further comprising determining the threshold, the determining comprising sorting range and velocity radar data signals arranged in windows.
5. The method of claim 1, further comprising coordinating, using a control unit, operation of the double-buffering local memory, the first sorting unit, and the second sorting unit in a pipelined mode.
6. The method of claim 1, further comprising managing, using a direct memory access unit, data in cooperation with the system memory and the double-buffering local memory.
7. The method of claim 6, further comprising, skipping, by the direct memory access unit, uploading data from the system memory if the cell under test, boundary cell data, and radar data signals arranged in windows are invariant from a previous processing step based on status information provided by the double-buffering local memory.
8. The method of claim 1, further comprising inserting, by the first sorting unit, an incoming cell of the radar data signals arranged in windows in a sorted cell list within a single clock cycle.
9. The method of claim 1, further comprising inserting, by the second sorting unit, a new potential target in the sorted list of potential targets within a single clock cycle.
10. The method of claim 1, further comprising performing, by an arithmetical unit in cooperation with the first sorting unit and the second sorting unit, processing tasks selected out of local maximum identification, threshold computation, and peak detection.
11. The method of claim 1, further comprising: detecting at least one of the cell under test being a local peak lower than each previous candidate in a list of potential targets or the cell under test not being a local peak; and discontinuing processing the cell under test for which a) or b) are detected and skipping to processing a subsequent cell under test.
12. The method of claim 1, wherein the radar data signals are for an anti-collision radar for a motor vehicle.
13. An apparatus, comprising: a system memory; and an accelerator device configured to generate, in firmware, a list of potential targets in a radar system, wherein a cell under test in radar data signals is identified as a potential target if the cell under test is a local peak over boundary cells and is higher than a threshold, and the cells identified as a potential target are sorted in a sorted list of potential targets, wherein the accelerator device is configured to generate the list of potential targets using interpolation and data formatting, wherein the accelerator device comprises: a double-buffering local memory configured to store cell under test and boundary cell data, and a first sorting unit and a second sorting unit configured to concurrently sort the radar data signals arranged in windows and the cells identified as a potential target in a pipeline with access to the system memory, wherein the double-buffering local memory is configured to enable re-using a pre-sorted sub-set of the cell under test, boundary cell data and radar data signals arranged in windows as a function of a direction of scanning the data in the system memory.
14. The apparatus of claim 13, wherein the radar data signals are for an anti-collision radar for a motor vehicle.
15. The apparatus of claim 13, wherein the accelerator device is configured to generate the list of potential targets using a programmable arithmetical-logical unit at a firmware level.
16. The apparatus of claim 13, wherein the accelerator device is further configured to generate the threshold by sorting range and velocity radar data signals arranged in windows.
17. The apparatus of claim 13, wherein the first sorting unit is configured to insert an incoming cell of the radar data signals arranged in windows in a sorted cell list within a single clock cycle.
18. The apparatus of claim 13, wherein the second sorting unit is configured to insert a new potential target in the sorted list of potential targets within a single clock cycle.
19. An apparatus, comprising: a system memory; and an accelerator device configured to generate, in firmware, a list of potential targets in a radar system, wherein a cell under test in radar data signals is identified as a potential target if the cell under test is a local peak over boundary cells and is higher than a threshold, and the cells identified as a potential target are sorted in a sorted list of potential targets, wherein the accelerator device is configured to generate the list of potential targets using interpolation and data formatting, wherein the accelerator device comprises: a double-buffering local memory configured to store cell under test and boundary cell data, and a first sorting unit and a second sorting unit configured to concurrently sort the radar data signals arranged in windows and the cells identified as a potential target in a pipeline with access to the system memory, wherein the double-buffering local memory is configured to enable re-using a pre-sorted sub-set of the cell under test, boundary cell data and radar data signals arranged in windows as a function of a direction of scanning the data in the system memory; and a direct memory access unit configured to manage data in cooperation with the system memory and the double-buffering local memory.
20. The apparatus of claim 19, wherein the direct memory access unit is configured to skip uploading data from the system memory if the cell under test, boundary cell data, and radar data signals arranged in windows are invariant from a previous processing step based on status information provided by the double-buffering local memory.
21. The apparatus of claim 19, wherein the accelerator device is further configured to generate the threshold by sorting range and velocity radar data signals arranged in windows.
22. The apparatus of claim 19, wherein the first sorting unit is configured to insert an incoming cell of the radar data signals arranged in windows in a sorted cell list within a single clock cycle.
23. The apparatus of claim 19, wherein the second sorting unit is configured to insert a new potential target in the sorted list of potential targets within a single clock cycle.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) One or more embodiments will now be described, purely by way of non-limiting example, with reference to the annexed figures, wherein:
(2)
(3)
(4)
(5)
DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS
(6) In the ensuing description one or more specific details are illustrated, aimed at providing an in-depth understanding of examples of embodiments. The embodiments may be obtained without one or more of the specific details, or with other methods, components, materials, etc. In other cases, known structures, materials, or operations are not illustrated or described in detail so that certain aspects of embodiments will not be obscured.
(7) Reference to an embodiment or one embodiment in the framework of the present description is intended to indicate that a particular configuration, structure, or characteristic described in relation to the embodiment is comprised in at least one embodiment. Hence, phrases such as in an embodiment or in one embodiment that may be present in one or more points of the present description do not necessarily refer to one and the same embodiment. Moreover, particular conformations, structures, or characteristics may be combined in any adequate way in one or more embodiments.
(8) The references used herein are provided merely for convenience, and, hence, do not define the scope of protection or the scope of the embodiments.
(9) The following is a list of acronyms which may appear throughout this description along with a short explanation of the associated meanings.
(10) LFMCW=Linear Frequency Modulated Continuous Wave
(11) CFAR=constant false alarm rate
(12) OS=ordered statistic
(13) DSP=digital signal processing
(14) CUT=cell under test
(15) BN=boundary
(16) WN=window
(17) PK=peak
(18) PT=pre-target
(19) DMA=direct memory access
(20) TM=threshold multiplier
(21) FIFO=first-in first-out
(22) FW=firmware
(23) Radar systems suitable to be considered for automotive safety applications may detect targets by comparing the return signal, with adaptive thresholds based e.g. on CFAR processing. Exemplary of such a system is the system disclosed e.g. in US2014/0327566 A1.
(24) A variety of procedures may be used to process the received echo signal and provide effective target recognition. Software implementation of such procedures may become demanding in terms of computing load and time. Even when execution is mapped on powerful processors (e.g. based on Single Instruction/Multiple Data or SIMD architectures) performance of a radar system may be impaired, due to the explosion of processing time which may adversely affect the so-called scanning time (namely the time from echo acquisition to pre-target list definition), one of the key parameters in radar system performance. Conversely, resorting to simpler procedures might penalize the ability of the radar system to reliably distinguish valid targets over noise and interference from the environment.
(25) A CFAR detector may set a threshold on a cell-by-cell basis according e.g. to an estimated noise/clutter power, which may be determined by processing a group of reference cells surrounding the cell under study.
(26) A CFAR circuit may thus determine a power threshold above which any return can be consideredwith good probabilityto originate from a real target. If the threshold is low, then more targets will be detected at the expense of an increased numbers of false alarms. Conversely, if the threshold is high, then the number of false alarms will be low, but fewer targets will be detected. A threshold may then be set to achieve a certain probability of false alarms (or equivalently, certain false alarm rate or time between false alarms).
(27) Various procedures for CFAR detection have been developed to cope with different situations and applications. For instance, for complex environments with non-homogeneous background and outlying returns (anti-collision radars for the automotive sector being an exemplary case) Ordered Statistic (OS) detectors may be effective. Furthermore, 2D OS-CFAR, an optimized variant of OS-CFAR can be adopted for high resolution systems, while maintaining the data processing load within reasonable terms.
(28) The main tasks performed in a 2D OS-CFAR procedure may be summarized as follows: local maximum search in the spectrum (range, velocity, beam); sorting and selection (based on a K-order) of the window cells (range, velocity) for each local maximum, to compute a threshold value; peak identification corresponding to each local maximum higher than a computed threshold; and continuous sorting and selection of the highest N peaks per beam corresponding to a pre-target list.
(29) Information concerning performance analysis of these procedures is provided, e.g. in: Li Daojing and Yu Guilong: 2D-OS-CFAR Detector for Cloud Clutter Suppression, Radar 2001 CIE International Conference on, Proceedings, pp. 350-353; and B. Magaz, A. Belouchrani, and M. Hamadouche: Automatic threshold selection in OS-CFAR radar detection using information theoretic criteria, Progress in Electromagnetics Research B, Vol. 30, pages 157-175, 2011.
(30) A possible exemplary embodiment of a 2D OS-CFAR procedure is exemplified in
(31) The block 106 in
(32) The block 108 is exemplary of window sorting (WN sorting) based on the K-order, where K denotes the rank of the OS-CFAR, and the outcome of processing at 108 is multiplied in a multiplier 110 with a threshold multiplier e.g. TM/32 derived from a block 112.
(33) The result of multiplication at 110, namely a factor T=(TM/32)Wsorted(K) represented by the block 114, is indicative of an adaptive threshold computed for the K cell and is sent to a comparator 116 for comparison with the value for the cell under test or CUT as derived from the block 100.
(34) The outputs from the comparators 102 and 116 are combined in an AND gate 118 whose output indicates whether the cell under test (CUT) may represent a target candidate (e.g. target yes/no information).
(35) Peak sorting (PK sorting) may then be applied at 120 to the output from the gate 118 and the result used to generate a pre-target list, PT list, 122.
(36) In processing as exemplified in
(37)
(38) The pre-target list (list 122) may include the N highest (in terms of amplitude) peaks (PK cells) in the 2D spectrum (range, velocity) repeated for each beam, which comply with the two conditions referred to in the foregoing.
(39) Processing as exemplified in
(40) The block diagram of
(41) In one or more embodiments, to reduce the processing time (less than the number of memory accesses notionally involved in loading the required data), three core items may be included in the micro architecture of the accelerator 10, namely: an internal memory (e.g. pseudo-cache) 12 for the invariant BN, WN cells for re-using a sub-set of the BN, WN cells (pre-sorted) in the range or velocity direction depending on the scanning axis (range or velocity) of the system memory; two sorting units 14, 16 for performing concurrent sorting (WN cells and PK cells) in pipeline with the rest of the memory accesses and processing; and a control unit 18 that coordinates all the tasks in pipelined mode with back to back processing.
(42) In one or more embodiments, the accelerator 10 may also include: a Direct Memory Access (DMA) unit 20 with an associated buffer 22 (e.g. FIFO) for spectrum data management e.g. in co-operation with a system bus (not visible in
(43) An accelerator engine 10 as exemplified in
(44) In one or more embodiments the memory (pseudo-cache) 12 may include (for each CUT and each of the directions, e.g. range, velocity and beam, r, v, b) storage locations for boundary and window data 1200, 1202, pointers 1204 and flags 1206.
(45) In one or more embodiments, input to the local memory 12 may include: cell identifier data provided from the FIFO 22 as in turn received from the DMA unit 20, and entry/copy commands from the control unit 18.
(46) In one or more embodiments, output from the memory 12 may include: flags sent to the DMA unit 20; window, pointer and flag data to the sorting unit 14; pointers sent to the control unit 18; and CUT data sent to the sorting unit 16, the arithmetical unit 24 and the memory controller 26.
(47) In one or more embodiments, the sorting unit 14 may include storing locations for a window table 1400, comparators 1402 and control circuitry 1404 providing shift and load commands for managing the window table 1400, as well as storage locations 1406 for window pointers.
(48) In one or more embodiments, input to the sorting unit 14 may include: cell identifier data provided from the FIFO 22 as in turn received from the DMA unit 20; window, pointer and flag data from the memory 12; entry/copy commands from the control unit 18; and K-order and threshold multiplier data from the registers 28.
(49) In one or more embodiments, output from the sorting unit 14 may include: window pointers sent to the control unit 18, threshold data sent to the arithmetical unit 24.
(50) In one or more embodiments the sorting unit 16 may include storing locations for a peak table 1600, comparators 1602 and control circuitry 1604 providing shift and load commands for managing the peak table 1600.
(51) In one or more embodiments, input to the sorting unit 16 may include: CUT data from the memory 12; and peak detection information from the arithmetical unit 24.
(52) In one or more embodiments, the output from the sorting unit 16 may include peak storage information sent to the PKL memory controller 26.
(53) In one or more embodiments as exemplifies herein transfer of cell data from the DMA unit 20 to the buffer 22 and on to the memory 12 and the sorting unit 16 may take place based on push and pop commands sent to the buffer 22 by the DMA unit 20 and the control unit 18, respectively.
(54) A single-step 2D OS-CFAR processing may qualify any single CUT cell as a potential pre-target according to the procedure discussed in connection with
(55) In one or more embodiments, the time (TE_CFAR) for performing the steps of CFAR processing (i.e. data processing leading to updating the target list) may be reduced, notionally to the sole time for accessing data, insofar as the data processing time is concealed behind the time for accessing data due to the possible use of a pipelined processing architecture: this may be made possible by resorting to a double-buffering local memory 12 and the first and second sorting units 14, 16.
(56) In one or more embodiments such a process may be re-iterated sequentially in the 2D data spectrum (range, velocity). Concurrent processes (each operating on a sub-set of beams) may be executed by resorting to a multi-core platform. In one or more embodiments, a hardware accelerator engine (micro) architecture 10 as shown in
(57) In one or more embodiments, the DMA unit 20 may upload from the system memory to the buffer 22 the data (e.g. CUT, BN, WN cells) involved in each step of the procedure.
(58) In one or more embodiments, if the BN and WN cells are invariant from a previous single-step 2D OS-CFAR, uploading from the system memory may be avoided, thus leading to memory access optimization. To that effect, the DMA unit 20 may automatically skip reloading the invariant BN, WN cells according to the status information (flag) provided by the local memory 12.
(59) In one or more embodiments, the time (TE_CFAR) for performing the steps of CFAR processing may be further reduced by re-using data already available in the local memory 12 from a previous step, by avoiding re-loading into the local memory 12 at least some data (e.g. CUT/BN, WNr, WNv data cells).
(60) In one or more embodiments the (double-buffering) local memory 12 is configured for enabling re-using a pre-sorted sub-set of cell under test, boundary cell data and radar data signals arranged in windows in processing.
(61) In one or more embodiments this may be facilitated by effective managing the contents of the local memory, e.g. as a function of the direction of scanning of data in the system memory.
(62) It will be appreciated that the advantages outlined in the foregoing may be achieved irrespective of the contents of the data processed (that is e.g. irrespective of whether the cell under test (CUT) is a relative max value (peak) and/or is a pre-target value.
(63) In one or more embodiments, the time (TE_CFAR) for performing the steps of CFAR processing may be still further reduced by implementing a so-called CUT skip detection feature, which may take advantage of the very nature of the data being processed.
(64) For instance, in one or more embodiments, the accelerator device 10 may be configured, e.g. at the level of the arithmetic unit 24, to detect the occurrence of one of the following conditions: the cell under test is a local peak lower than each previous candidate (e.g. lower than the worst previous candidate) in a list of potential targets (pre-target list); and the cell under test is not a relative maximum (e.g. is not a local peak).
(65) If any such condition is detected processing the (current) cell under test may be discontinued by skipping to processing a subsequent cell under test.
(66) In one or more embodiments, the buffer unit 22 (e.g. FIFO) may provide a reduced buffer capability in order to avoid stall condition due e.g. to the latency of the system memory. It will be appreciated that a certain degree of latency can be tolerated, provided data processing is allowed to be executed back to back without wait states during the execution.
(67) In one or more embodiments, the storage capability of the memory 12 may be dimensioned to store the data structure involved in processing a single-step 2D OS-CFAR. In one or more embodiments, the data information may include CUT, BN and WN cells. A double buffering scheme may facilitate back-to-back data processing of two consecutive steps of the 2D OS-CFAR procedure.
(68) In one or more embodiments, the buffer unit 22 may be automatically switched by the control unit 18 in view of the subsequent memory upload (CUT, BN and WN cells) even if the pipelined tasks are yet to be completed on the current buffer.
(69) In one or more embodiments, such status information may include pointers and flags, e.g. for use in tagging the BN and WN cells that can be re-used (already pre-sorted) for the next single-step CFAR processing without having to read anew the system memory.
(70) In one or more embodiments, the sorting unit 14 may be configured for inserting an incoming WN cell in the sorted WN cell list 1400 within a single clock cycle. The associated engine may be based on a set of concurrent comparators e.g. 1402 with the control unit 1404 configured for loading and shift the WN cell list 1400 for any new entry.
(71) In one or more embodiments, the sorting unit 16 may be configured for inserting a peak (PK) cell, qualified as potential pre-target, in the sorted PK list 1600, within a single clock cycle. The associated engine may be based on a set of concurrent comparators e.g. 1602 with the control unit 1604 configured for loading and shifting the PK cell list 1600 for any new entry.
(72) One or more embodiments the 2D OS-CFAR processor (e.g. multi-core) architecture may be based on a replication of the HW accelerator engine 10 exemplified in
(73) In one or more embodiments, the main tasks supervised and coordinated by the control unit 24 may be as schematically illustrated in
(74) There, reference 200 indicates the sequence of uploading from the system memory into the local memory 12 the (e.g. double buffered) CUT, BN, WN cells involved in a single-step CFAR processing. In one or more embodiments, uploading may be executed back-to-back in order to minimize latency. In one or more embodiments, local maximum (CUT cell) evaluation may be performed in order to jump (optionally) to the next single-step CFAR processing.
(75) The blocks 201 and 202 are representative of checks such as e.g.CUT>pretarget list? (blocks 201)and Local max? (blocks 202) which may be performed in order to detect the occurrence of one of the following conditions: the cell under test is a local peak lower than each previous candidate (e.g. lower than the worst previous candidate) in a list of potential targets (pre-target list); and the cell under test is not a relative maximum (e.g. is not a local peak).
(76) As indicated, if any such condition is detected processing the (current) cell under test may be discontinued by skipping to processing a subsequent cell under test (CUT).
(77) The blocks labeled 204 are representative of (pipelined) sorting of the WN cells, back-to-back with the incoming data. In one or more embodiments, the sorting task may be executed in the background (e.g. time-overlapped) with data spectrum uploading by the DMA unit 20.
(78) The blocks labeled 206 are representative of threshold computation and peak evaluation for identifying a potential pre-target (PK cell), with sorting of the PK cells in order to build the peak list associated with each beam. In one or more embodiments, the sorting task may be executed in the background (time-overlapped) with data spectrum uploading by the DMA unit 20.
(79) The blocks labeled 2081, 2082 are representative of data tables in the local memory 12 subject to processing in the blocks 204 and 206, with such first and second data tables possibly distinguished to highlight a double buffering mechanism and the ensuing timeline improvement in absorbing processing latency.
(80) In one or more embodiments, pre-target generation (interpolation, data formatting) as schematically represented by the block 210 (and 212) may not be executed by the hardware accelerator o0, and may be implemented e.g. in firmware to feed the resulting data to the memory 122 e.g. as a pre-target list (for all the beams) sorted based on a key (range, velocity, amplitude).
(81) Optionally, as a non-mandatory feature, one or more embodiments may include a (micro) programmable arithmetical-logical unit (ALU) 212 dedicated (e.g. at a FW level) to execute a pre-target generation task (e.g. result interpolation and formatting).
(82) In one or more embodiments, parameters (static and dynamic) of an accelerator 10 as exemplified herein adapted to be configured according to the application may include e.g., the number of concurrent cores (static parameter); the number of WN cells (Wr) in the range direction; the number of WN cells (Wv) in the velocity (Doppler) direction; the number of guard cells (Gr) in the range direction; the number of guard cells (Gv) in the velocity direction; K-order of the 2D OS-CFAR procedure; CFAR gain (threshold multiplier TM); and memory access optimization to reuse invariant WN, BN cells on each single-step 2D OS-CFAR processing (static parameter).
(83) In one or more embodiments, the processing time may be equal to or less than the number of memory access cycles for uploading the 2D data spectrum (range, velocity) according to the layout of
(84) In one or more embodiments, the actual gain (in the order of 30%) may be a function of the configuration (e.g. number of WN cells).
(85) In one or more embodiments, further improvements (depending on the content of the data spectrum) may be achieved if the CUT skip detection function (no local max or CUT amplitude lower than each item of the pre-target list) is applied by taking into account the side effects due to the latency (shared system memory and pipelined processing).
(86) Without prejudice to the underlying principles, the details and embodiments may vary, even significantly, with respect to what is illustrated herein purely by way of non-limiting example, without thereby departing from the extent of protection.