Target matching method, integrated circuit, radio device and equipment
By constructing a candidate matching queue and difference degree matching, the problem of high computational complexity of target matching in the radar system is solved, the effect of reducing power consumption and improving operating speed is achieved, ensuring real-time and high efficiency.
Patent Information
- Application Number
- CN202011407265.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-02-28
- Filing Date
- 2020-12-04
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2040-12-04
AI Technical Summary
Existing radar systems have high computational complexity and increased time complexity during target matching and tracking, resulting in increased power consumption and reduced operating speed.
A target matching method is proposed, which uses the degree of difference to match target data by constructing a candidate matching queue to reduce computational complexity and time complexity. It includes building a candidate matching queue for each target data, selecting the matching object with the smallest degree of difference, and Data processing is performed through Fourier transform and target feature parameters.
It reduces the power consumption of the radar system, increases the operating speed, ensures real-time target detection, is suitable for CPU programming implementation, and has no complicated operations compared with traditional data association methods.
Smart Images

Figure CN112578351B_ABST
Abstract
Description
[0001] This application claims the priority of the Chinese patent application filed with the China Patent Office on February 28, 2020, with application number 202010131649.2 and invention name “Target Matching Method and Radar System”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present invention relates to the field of radar technology, and more specifically, to a target matching method, an integrated circuit, a radio device and equipment. Background Art
[0003] At present, in order to realize functions such as target detection and tracking, in the process of obtaining the target trajectory and eliminating speed ambiguity, it is generally involved to use matrix operations to perform target matching operations, which makes the calculation complexity higher. At the same time, when the number of targets increases, the time complexity will be further increased, which will significantly increase the running time.
[0004] Therefore, it is expected to propose a new target matching method to reduce the computational complexity and time complexity, thereby reducing the power consumption of the device and improving the operating speed of the device. Summary of the invention
[0005] In view of the above problems, the purpose of the present invention is to provide a target matching method, integrated circuit, radio device and equipment to reduce the amount of calculation and time complexity, thereby reducing the power consumption of the radio device and improving the operating speed.
[0006] On the one hand, the present disclosure proposes a target matching method, which can be applied to target matching between two unit signals, including but not limited to target matching between two frame signals. The definition of specific unit signals can be adaptively adjusted according to actual needs. The method may include:
[0007] Obtaining a first data set and a second data set, wherein the first data set may include a plurality of first target data, and the second data set may include a plurality of second target data;
[0008] For each first target data in the first data set, select at most K second target data in the second data set as candidate matching objects of the first target data, so as to construct a first candidate matching queue for each first target data, wherein the first matching object of the first target data is the candidate matching object in the first candidate matching queue that has the smallest degree of difference with the first target data;
[0009] For each second target data in the second data set, select at most K first target data in the first data set as candidate matching objects of the second target data, so as to construct a second candidate matching queue for each second target data, wherein the first matching object of the second target data is the candidate matching object in the second candidate matching queue that has the smallest degree of difference with the second target data, K is a positive integer, and the value of K is less than the number of target data included in each data set; and
[0010] The first target data and the second target data that are first matching objects are determined as a target data pair that matches each other and is adapted to the same target, until each first target data is matched or its first candidate matching queue is empty.
[0011] In some optional embodiments, the step of determining the first target data and the second target data, which are first matching objects of each other, as a target data pair that matches each other and is adapted to the same target includes:
[0012] When the first candidate matching queue is not empty, the first matching step is executed:
[0013] Determine whether: the first matching object of the first target data is the second target data and the first matching object of the second target data is the first target data; if so, the first target data and the second target data match each other and are adapted to the same target; if not, perform a second matching step on the first matching object of the first target data;
[0014] When the second candidate matching queue is not empty, the second matching step is performed:
[0015] Determine whether the following conditions are met: the first matching object of the second target data is the first target data and the first matching object of the first target data is the second target data; if so, determine that the first target data and the second target data match each other and are adapted to the same target; if not, perform the first matching step on the first matching object of the second target data.
[0016] In some optional embodiments, after performing the second matching step on the first matching object of the first target data, the first matching object of the first target data is removed from the first candidate matching queue of the first target data to facilitate updating of the first candidate matching queue; after performing the first matching step on the first matching object of the second target data, the first matching object of the second target data is removed from the second candidate matching queue of the second target data to facilitate updating of the second candidate matching queue.
[0017] In some optional embodiments, before executing the first matching step, if the first candidate matching queue of the first target data is empty or the first target data has mutually matching second target data, the first matching step is stopped on the first target data, and the first matching step is executed on another first target data in the first data set.
[0018] In some optional embodiments, the method for updating the first candidate matching queue includes: updating the candidate matching object in the first candidate matching queue that has the smallest difference with the first target data to the first matching object; the method for updating the second candidate matching queue includes: updating the candidate matching object in the second candidate matching queue that has the smallest difference with the second target data to the first matching object.
[0019] In some optional embodiments, a method for constructing a first candidate matching queue for first target data includes: arranging multiple second target data from small to large according to the degree of difference between them and the first target data, and selecting K of the second target data as candidate matching objects for the first target data; a method for constructing a second candidate matching queue for second target data includes: arranging multiple first target data from small to large according to the degree of difference between them and the second target data, and selecting K of the first target data as candidate matching objects for the second target data.
[0020] In some optional embodiments, in the first candidate matching queue of each first target data, the degree of difference between each candidate matching object and the first target data is no greater than a predetermined threshold; in the second candidate matching queue of each second target data, the degree of difference between each candidate matching object and the second target data is no greater than a predetermined threshold.
[0021] In some optional embodiments, one or more calculation results of distance difference, speed difference and angle difference are used to represent the degree of difference.
[0022] In some optional embodiments, the degree of difference is represented by a weighted sum of the absolute values of the distance difference, the speed difference and the angle difference.
[0023] In some optional embodiments, the step of obtaining a first data set including multiple first target data and a second data set including multiple second target data includes: collecting adjacent first frame echo data and second frame echo data; performing Fourier transform on the first frame echo data to obtain the distance and speed corresponding to each first target data; performing Fourier transform on the second frame echo data to obtain the distance and speed corresponding to each second target data; arranging the multiple first target data in numerical order of distance and / or speed to obtain the first data set, and arranging the multiple second target data to obtain the second data set.
[0024] In a second aspect, the present disclosure also provides a target matching method, comprising: based on at least one target characteristic parameter, aggregating the target data contained in each frame unit in the echo signal into a data set; constructing a candidate matching target list for each target data; and adapting two mutually matching target data to the same target based on the candidate matching target list; wherein the two mutually matching target data are respectively located in the data sets corresponding to two adjacent frame units.
[0025] In some optional embodiments, the target characteristic parameters include distance, speed, direction angle and / or echo energy.
[0026] In some optional embodiments, the method further includes: updating a list, for removing two target data that match each other from a candidate matching target list corresponding to the target data other than the two target data; and re-matching, for adapting the two target data that match each other other than the two target data to the same target after executing the step of updating the list, and the updating list and the re-matching are executed in a loop in sequence until there are no two target data that match each other in the candidate matching target lists corresponding to the target data that have not been matched after the step of updating the list.
[0027] In some optional embodiments, the method further includes: for any target data, based on a preset difference degree function, obtaining the difference value between each target data in a data set corresponding to adjacent frame units and the target data; wherein, the candidate matching target list of the target data is constructed based on the difference value.
[0028] In some optional embodiments, constructing the candidate matching target list of the target data based on the difference value includes: selecting K target data as candidate matching target data from the data set corresponding to the adjacent frame units of the target data in order of the difference value from small to large; and constructing the candidate matching target list based on the K target data; wherein the difference values between the two target data that match each other in their respective candidate matching target lists are the smallest, and K is a positive integer.
[0029] In some optional embodiments, constructing the candidate matching target list of the target data based on the difference value also includes: filtering the target data in the data set corresponding to the adjacent frame units of the target data based on a preset target feature parameter threshold; and selecting the K target data from the filtered data set as the candidate matching target data corresponding to the target data.
[0030] In some optional embodiments, between the steps of updating the list and the re-matching, the method further includes: selecting target data to be supplemented to each candidate matching target list from the filtered data set in the order of the difference value from small to large, so that the number of target data included in the candidate matching target list corresponding to each target data other than the two target data is less than or equal to K.
[0031] In some optional embodiments, based on at least one target characteristic parameter, the step of aggregating the target data contained in each frame unit in the echo signal into a data set includes: performing data processing on each frame unit to obtain each target data in the frame unit and at least one target characteristic parameter corresponding to each target data; and arranging the target data corresponding to each frame unit according to the numerical order of the at least one target characteristic parameter to obtain the data set corresponding to the frame unit.
[0032] In a third aspect, the present disclosure further provides a radar system, comprising: an antenna module, adapted to radiate radar signals and receive echoes; and a processor, configured to execute a target matching method as described in any one of the present applications.
[0033] In some optional embodiments, the radar system further includes a memory for storing each target data in each data set in order of parameter values of the target data contained in the data set.
[0034] In some optional embodiments, the present application further provides an integrated circuit, which may include:
[0035] A signal transceiver channel for transmitting radio signals and receiving echo signals; and
[0036] The processing module is configured to execute any of the target matching methods described above based on the echo signal.
[0037] In some optional embodiments, the integrated circuit may further include a memory for storing each target data in each data set in order of parameter values of the target data contained in the data set.
[0038] In some optional embodiments, the integrated circuit is a millimeter wave radar chip.
[0039] In some optional embodiments, the present application further provides a radio device, which may include:
[0040] Carrier;
[0041] An integrated circuit as described in any one of the above items, arranged on a carrier;
[0042] An antenna is arranged on the carrier, or is integrated with the integrated circuit to form an AiP (Antenna-in-Package) chip arranged on the carrier;
[0043] Wherein, the integrated circuit is connected to the antenna through the signal transceiver channel, and is used to transmit the radio signal and receive the echo signal.
[0044] In some optional embodiments, the present application further provides a device, which may include:
[0045] The device itself; and
[0046] The radio device as described above is arranged on the device body;
[0047] The radio device may be used for target detection and / or communication.
[0048] The target matching method, integrated circuit, radio device and equipment provided by the present invention have a total time complexity of O(M) for constructing a first candidate matching queue for all first target data, and a total time complexity of O(N) for constructing a second candidate matching queue for all second target data; since the number of candidate matching objects for each first target data and second target data is limited (not greater than a positive integer K), and the first matching step and the second matching step have a small amount of search for data, and the amount of data to be repeatedly searched is small, the time complexity of matching M first target data is about O(M). Therefore, the time complexity of the target matching method of the present application is linearly related to the number of targets, and it is a method that can ensure the real-time performance of target detection; in addition, compared with traditional data association methods, there is no complex calculation, which is suitable for CPU programming implementation. This target matching method can reduce the power consumption of the device and improve the running speed. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
[0050] Figure 1 A flow chart of a target matching method according to an embodiment of the present invention is shown;
[0051] Figure 2 A schematic diagram showing candidate matching objects of first target data according to an embodiment of the present invention;
[0052] Figure 3 A schematic diagram showing a first candidate matching queue and a second candidate matching queue according to an embodiment of the present invention is shown;
[0053] Figure 4A schematic diagram showing updating the first candidate matching queue according to an embodiment of the present invention is shown;
[0054] Figures 5a to 5c A flow chart of a target matching method according to another embodiment of the present invention is respectively shown;
[0055] Figure 6 FIG. 4 is a schematic structural diagram of a radio device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0056] The present invention will be described in more detail below with reference to the accompanying drawings. In each of the accompanying drawings, the same elements are represented by similar reference numerals. For the sake of clarity, the various parts in the accompanying drawings are not drawn to scale. In addition, some well-known parts may not be shown in the drawings.
[0057] Many specific details of the present invention are described below, such as device structure, materials, dimensions, processing technology and techniques, so as to more clearly understand the present invention. However, as those skilled in the art will appreciate, the present invention may be implemented without following these specific details.
[0058] For ease of understanding, the following is a detailed explanation using the commonly used radar as an example of a sensor:
[0059] Radar is a device that uses wireless communication technology to detect targets and determine their spatial positions. Modern radars usually include two important components: radar signal processing system and radar data processing system. The radar data processing system calculates the target position and motion parameter data (such as radial distance, radial velocity, azimuth, etc.) of the radar echo data, and then interconnects, tracks, filters, smoothes and predicts them to form the target's track.
[0060] Tracking multiple targets is an important research direction in radar systems. The interconnection of target data requires the establishment of a relationship between radar measurement data at a certain time and measurements (or tracks) at other times to determine whether the measurement data comes from the same target. For example, in a linear frequency modulation continuous wave (LFMCW) radar, the radar continuously transmits multiple frames of transmission signals, each frame of which contains multiple identical linear frequency modulation waves. The transmission signal is reflected by the target object to form an echo. The radar receives the echo and processes each frame of the echo to obtain data that characterizes the distance, speed, direction, echo energy and other information of the target object. After that, the radar usually needs to perform data processing operations such as target tracking and speed ambiguity elimination on each frame of data obtained. Since each frame of data contains information of multiple targets, data interconnection is required before data processing, that is, to find a pair of target information corresponding to the same target from the target information output by two frames. In many application scenarios, such as automotive radar, each frame of data corresponds to a large number of targets, for example, dozens to hundreds. Therefore, it is necessary to establish the matching relationship between multiple targets in two frames of data within a very short time (for example, within tens of milliseconds) after the acquisition of each frame of data. This places high demands on the real-time performance of the matching algorithm.
[0061] To this end, data association methods based on statistical theory can be used to match and track multiple targets. Classic methods include JPDA (Joint Probabilistic Data Association) and MHT (Multiple Hypothesis Tracking). However, the above methods have at least the following shortcomings: (1) high computational complexity, such as involving matrix operations; (2) high time complexity. When the number of targets increases, the running time will increase significantly.
[0062] Therefore, the present application proposes a new target matching method to reduce the computational complexity and time complexity, thereby reducing the power consumption of the radar system and improving the operating speed of the radar system.
[0063] The following is a detailed description of the FMCW radar system as an example:
[0064] When the FMCW radar system continuously transmits multiple frames of radar signals to detect targets, each frame of radar signals, for example, contains multiple identical chirp signals. Each frame of echo is processed by performing 2D-FFT (2D-FFT), CFAR (CFAR) search, and DoA (Direction of Arrival) estimation to obtain information such as the distance, speed, direction, and echo energy of the target. The radar system has functions such as target tracking and velocity ambiguity elimination. Before executing these functions, it is necessary to find a pair of target information corresponding to the same target (or the closest) from the two frames of target information, that is, target matching between the two frames of target information is required.
[0065] Assume that the target data sets output by the two frames A and B are TA = {A1, A2, ..., AM}, TB = {B1, B2, ..., BN}, and M and N are the number of target data in the target data of the two frames A and B respectively. For the target data Am and Bn of two different sets, the degree of difference between them is expressed in the form of a function as D (Am, Bn), and the degree of difference is negatively correlated with the degree of matching. The purpose of target matching is to find as many target data that match each other as possible in the two sets TA and TB, and after all matching relationships are established, the sum of the corresponding degree of difference is the smallest.
[0066] The target matching method of the embodiment of the present invention constructs a first candidate matching queue and a second candidate matching queue to perform target matching on the first target data and the second target data to reduce the computational complexity and time complexity, thereby reducing the power consumption of the device and improving the operating speed.
[0067] The specific implementation of the present invention is further described in detail below in conjunction with the drawings and examples.
[0068] Figure 1 A flow chart of a target matching method according to an embodiment of the present invention is shown; Figure 2 A schematic diagram showing candidate matching objects of first target data according to an embodiment of the present invention; Figure 3 A schematic diagram showing a first candidate matching queue and a second candidate matching queue according to an embodiment of the present invention is shown; Figure 4 A schematic diagram of updating the first candidate matching queue according to an embodiment of the present invention is shown.
[0069] For clarity, in Figure 1 Only two frames of echo target matching method are shown in FIG. 1 . It should be understood that for a data stream containing multiple frames (or multiple signal units) of target information, multiple repetitions are performed. Figure 1 The steps shown in the figure can continuously match the target information of multiple frames. In this implementation, Figure 1 The two echo frames shown may be two adjacent frame units in the echo signal, or may be two non-adjacent frame units where matching target data may exist.
[0070] In step S101, a first data set including a plurality of first target data and a second data set including a plurality of second target data are obtained. In this step, two frames of data signals are obtained by performing data processing on two frames of echoes, and the two frames of data signals are respectively a first data set including a plurality of first target data and a second data set including a plurality of second target data. For example, a radar system continuously transmits multiple frames of radar signals to detect surrounding objects in real time, and each frame of radar signals is reflected by multiple targets to form echoes. After receiving multiple frames of echoes, the radar system performs data processing on the multiple frames of echoes, thereby obtaining multiple frames of data (i.e., multiple frame units), and each frame of data contains target data of multiple targets. In subsequent steps, target matching needs to be performed on the two frames of data. For the sake of clarity, the target data corresponding to multiple targets respectively contained in one frame of data are referred to as first target data, and the target data corresponding to multiple targets respectively contained in another frame of data are referred to as second target data.
[0071] As an example, the data contained in each frame unit in the echo signal can be processed to obtain each target data in the frame unit and at least one target characteristic parameter corresponding to each target data; and the target data contained in each frame unit is arranged according to the numerical order of at least one target characteristic parameter to obtain a data set corresponding to the frame unit. The data processing is, for example, a signal processing operation such as a 2D Fast Fourier Transform (2D-FFT), a Constant False Alarm Rate (CFAR) algorithm, and / or a Direction Of Arrival (DoA) algorithm. The target characteristic parameters may include parameters such as distance, speed, angle of arrival, and / or echo energy. The type and number of parameters may be adaptively adjusted according to actual needs.
[0072] In step S102, for each first target data in the first data set, at most K second target data in the second data set are selected as candidate matching objects for the first target data, so as to construct a first candidate matching queue (i.e., a list of candidate matching targets corresponding to the first target data) for each first target data, and the first matching object of the first target data is the candidate matching object having the smallest degree of difference with the first target data.
[0073] In this step, the method for constructing the first candidate matching queue of the first target data includes: arranging the plurality of second target data from small to large according to the degree of difference between them and the first target data, and selecting K of the second target data as candidate matching objects of the first target data. Optionally, the value of K is, for example, 3 or 4. Figure 2 As shown, the difference degrees D(A1, B1)~D(A1, BN) between the first target data A1 and all the second target data B1~BN have been obtained. After sorting the difference degrees D(A1, B1)~D(A1, BN) from small to large, the three second target data corresponding to the three smallest difference degree functions are screened out as candidate matching objects for the first target data A1. In this example, the second target data B1~B3 are selected as candidate matching objects for the first target data A1, and their difference degrees D(A1, B1), D(A1, B2), and D(A1, B3) are 890, 760, and 1000, respectively. When constructing the first candidate matching queue of the first target data A1, they are sorted from small to large according to the difference degrees. The first candidate matching queue is as follows: Figure 2 Shown in the dashed box.
[0074] In step S103, for each second target data in the second data set, at most K first target data in the first data set are selected as candidate matching objects of the second target data, so as to construct a second candidate matching queue (i.e., a candidate matching target list corresponding to the second target data) for each second target data, and the first matching object of the second target data is the candidate matching object with the smallest degree of difference from the second target data. In this step, the method for constructing the second candidate matching queue of the second target data includes: arranging the multiple first target data from small to large according to the degree of difference between them and the second target data, and selecting K first target data as candidate matching objects of the second target data. The method for constructing the second candidate matching queue of the second target data is roughly the same as the method for constructing the first candidate matching queue of the first target data, and will not be repeated here.
[0075] As an example, step S102 and step S103 may be performed in the order of receiving the first data set and the second data set. For example, the radar system receives the first frame echo and the second frame echo in sequence, processes the first frame echo and the second frame echo in sequence, and obtains the first data set and the second data set in sequence, and then constructs a first candidate matching queue for each first target data of the first data set, and constructs a second candidate matching queue for each second target data of the second data set. In some other optional examples, since the algorithms of step S102 and step S103 are simple and the time consumption is very short, it can be considered that step S102 and step S103 are performed simultaneously. It should be understood that the present application does not limit the order of step S102 and step S103.
[0076] like Figure 3 As shown, in step S102 and step S103, a first candidate matching queue for the first target data A1-AM and a second candidate matching queue for the second target data B1-BN are constructed. Please refer to the inside of the dotted box for the first candidate matching queue and the second candidate matching queue. In an embodiment of the present invention, the total time complexity of constructing the first candidate matching queue for all the first target data is O(M), and the total time complexity of constructing the second candidate matching queue for all the second target data is O(N).
[0077] In an embodiment of the present invention, in step S102 and step S103, for example, one or more of the calculation results of the distance difference, the speed difference and the angle difference are used to characterize the degree of difference. For example, for the first target data, R(A, m) represents its distance, V(A, m) represents its speed, and Ang(A, m) represents its direction angle relative to the radar; for the second target data, R(B, m) represents its distance, V(B, m) represents its speed, and Ang(B, m) represents its direction angle relative to the radar. Based on the above information, a difference degree function D(Am, Bn) is defined, for example, one definition method is as follows:
[0078] D(Am,Bn)=w1*|R(A,m)-R(B,n)|+w2*|V(A,m)-V(B,n)|+w3*|Ang(A,m)-Ang(B,n)|
[0079] Among them, w1, w2, and w3 are weight coefficients of distance difference, speed difference, and angle difference in the difference degree function D(Am, Bn), respectively. Optionally, the value of the weight coefficient is adjusted according to the expected state of the target or the state of the radar system. For example, when the target or the radar system is in motion, the weight coefficient corresponding to the speed difference can be increased.
[0080] In an optional embodiment, in the first candidate matching queue of each first target data, the degree of difference between each candidate matching object and the first target data needs to satisfy no more than a predetermined threshold, and in the second candidate matching queue of each second target data, the degree of difference between each candidate matching object and the second target data needs to satisfy no more than a predetermined threshold, so as to limit the scope of data search during the matching process, thereby reducing the time required for matching. That is, the second target data in the second data set can be filtered based on the preset target feature parameter threshold, so as to select K second target data from the filtered data set as the first candidate matching queue of a certain first target data. For example, the predetermined thresholds of distance difference, speed difference, and angle difference are set to Rth, Vth, and Angth respectively. After reading and storing the first candidate matching queue of the first target data, each candidate matching object in the first candidate matching queue also needs to satisfy the following conditions:
[0081]
[0082] As an example, in step S102 and step S103, the first target data is subjected to a two-dimensional fast Fourier transform process to obtain the distance R(A, m) and speed V(A, m) of the first target data, and the second target data is subjected to a two-dimensional fast Fourier transform process to obtain the distance R(B, m) and speed V(B, m) of the second target data. The use of a two-dimensional fast Fourier transform process is conducive to reading and storing the first target data and the second target data in the order of distance from small to large and speed from small to large. This storage method can reduce the number of data accesses to the memory during the matching process.
[0083] As an example, the filtered first data set can be used to supplement the second candidate matching queue corresponding to the second target data, so that after one or more second target data in the second candidate matching queue are removed due to being matched, the number of removed target data items in the second candidate matching queue can be supplemented to a value less than / equal to K. The supplementing step can also be performed in descending order of the degree of difference, using the first target data in the filtered first data set that is not matched and has not been included in the second candidate matching queue of the second target data as the tail item of the second candidate matching queue.
[0084] Similarly, the filtered second data set can be used to supplement the first candidate matching queue corresponding to the first target data, so that after one or more first target data in the first candidate matching queue are removed due to being matched, the number of target data items in the first candidate matching queue can be supplemented to a value less than / equal to K. The supplementing step can also be performed in descending order of difference, with the second target data in the filtered second data set that is not matched and has not been included in the first candidate matching queue of the first target data as the tail item of the first candidate matching queue.
[0085] In step S104, the first target data and the second target data that are first matching objects are determined as first target data and second target data that match each other, until each first target data is matched or its first candidate matching queue is empty.
[0086] In this step, the method of determining the first target data and the second target data, which are first matching objects of each other, as the first target data and the second target data that match each other includes: when the first candidate matching queue is not empty, executing the first matching step: judging whether it is satisfied that: the first matching object of the first target data is the second target data and the first matching object of the second target data is the first target data, if so, the first target data and the second target data match each other, if not, executing the second matching step for the first matching object of the first target data; when the second candidate matching queue is not empty, executing the second matching step: judging whether it is satisfied that: the first matching object of the second target data is the first target data and the first matching object of the first target data is the second target data, if so, the first target data and the second target data match each other, if not, executing the first matching step for the first matching object of the second target data.
[0087] In an optional embodiment, after executing the second matching step on the first matching object of the first target data, if the first candidate matching queue is not empty, the first matching object of the first target data is removed from the first candidate matching queue of the first target data, and the first candidate matching queue is updated; after executing the first matching step on the first matching object of the second target data, if the second candidate matching queue is not empty, the first matching object of the second target data is removed from the second candidate matching queue of the second target data, and the second candidate matching queue is updated.
[0088] In this embodiment, before executing the first matching step, if the first candidate matching queue of the first target data is empty or the first target data has mutually matching second target data, the first matching step is stopped on the first target data, and the first matching step is executed on another first target data in the first data set.
[0089] Optionally, before executing the first / second matching step, if the first / second candidate matching queue of the first / second target data is empty or the first / second target data has mutually matching second / first target data, the first / second target data and its first / second candidate matching queue are removed from the first / second data set.
[0090] Optionally, the method for updating the first candidate matching queue includes: updating the candidate matching object with the smallest difference from the first target data in the first candidate matching queue as the first matching object; the method for updating the second candidate matching queue includes: updating the candidate matching object with the smallest difference from the second target data in the second candidate matching queue as the first matching object. Figure 4 As shown, the method for updating the first candidate matching queue includes: for the first target data A1, its candidate matching objects include the first matching object Bn1, the second matching object Bn2 and the third matching object Bn3, and the difference between the first matching object Bn1, the second matching object Bn2 and the third matching object Bn3 and the first target data A1 is arranged from small to large. If the first matching object B1 is removed, the candidate matching object remaining in the first candidate matching queue with the smallest difference from the first target data A1 is Bn2, then the second matching object Bn2 is updated to the new first matching object of the first target data A1.
[0091] In step S104, since the number of candidate matching objects for each first target data and second target data is limited (not greater than the positive integer K), and the matching step shown in step S104 searches a small amount of data and the amount of repeated searches is small, the time complexity of matching M first target data is approximately O(M).
[0092] Figures 5a to 5c The flowcharts of the target matching method according to another embodiment of the present invention are respectively shown. Figure 5b : shows a flowchart of the first matching step pairA() in the target matching method, Figure 5b A flow chart of the second matching step pairB() in the target matching method is shown.
[0093] In step S201, a first candidate matching queue for the first target data and a second candidate matching queue for the second target data are constructed. Figure 1 Steps S101 to S103 in the above are not described in detail here.
[0094] In step S202, the initial value of the sequence number m of the first target data is set to 0, and the total number of the first target data is M.
[0095] In step S203, the sequence number m of the first target data is updated to m plus one.
[0096] In step S204, it is determined whether m is greater than M. If so, the target matching is terminated; if not, step S204 is executed.
[0097] In step S205, determine whether the following conditions are met: the mth first target data Am already has a second target data that matches each other or its first candidate matching queue is empty. If so, return to execute step S202. If not, execute the first matching step pairA() on the first target data Am. The first matching step pairA() includes steps S211 to S217.
[0098] In step S211, determine whether the following conditions are met: the mth first target data Am already has a second target data that matches each other or its first candidate matching queue is empty; if so, execute step S212, end the execution of the first matching step pairA(), and output the result that the mth first target data Am already has a second target data that matches each other or its first candidate matching queue is empty; if not, execute step S213.
[0099] In step S213, a first matching object Bn of the first target data Am is obtained.
[0100] In step S214, determine whether the first matching object of the second target data Bn is the first target data Am. If yes, execute step S215 to determine that the first target data Am and the second target data Bn are matched with each other, and end the execution of the first matching step pairA(). If not, execute the second matching step pairB() on the second target data Bn. The second matching step pairB() includes steps S221 to S227.
[0101] After completing the execution of the second matching step pairB(), in step S216, determine whether the first target data Am has mutually matching second target data. If so, repeat step S211; if not, execute step S217 to remove the second target data Bn from the first candidate matching queue of the first target data Am, and then repeat step S211.
[0102] The second matching step pairB() is substantially the same as the first matching step pairA(), except that the first target data Am and the second target data Bn in each step are interchanged. Specifically, in step S221, it is determined whether the following conditions are met: the nth second target data Bn already has a mutually matching first target data or its second candidate matching queue is empty. If yes, step S222 is executed to terminate the execution of the second matching step pairB(), and the result is outputted: the nth second target data Bn already has a mutually matching first target data or its second candidate matching queue is empty. If no, step S223 is executed.
[0103] In step S223, a first matching object Am of the second target data Bn is obtained.
[0104] In step S224, determine whether the first matching object of the first target data Am is the second target data Bn. If yes, execute step S235 to determine the first target data Am and the second target data Bn as matching each other, and end the execution of the second matching step pairB(). If not, execute the first matching step pairA(). The first matching step pairA() includes steps S211 to S217.
[0105] After completing the execution of the first matching step pairA(), in step S226, determine whether the second target data Bn has mutually matching first target data. If so, repeat step S221; if not, execute step S227 to remove the first target data Am from the second candidate matching queue of the second target data Bn, and then repeat step S221.
[0106] In the above steps, the total time complexity of constructing the first candidate matching queue for all the first target data is O(M), and the total time complexity of constructing the second candidate matching queue for all the second target data is O(N); since the number of candidate matching objects for each first target data and the second target data is limited (not greater than the positive integer K), and the first matching step and the second matching step search a small amount of data, and the amount of data repeatedly searched is small, the time complexity of matching M first target data is approximately O(M).
[0107] Combined with the above analysis, the time complexity of the target matching method of the present application is linearly related to the number of targets, and is a method that can ensure real-time performance; in addition, compared with traditional data association methods, it does not require complex calculations and is suitable for CPU programming implementation.
[0108] In one embodiment, the present application also provides an integrated circuit having a signal transceiver channel and a processing module. The signal transceiver channel can be used to transmit radio signals and receive echo signals reflected by the target; the processing module can be used to perform operations such as analog signal processing, analog-to-digital conversion, digital signal processing, etc. on the echo signal, and can also be configured to execute relevant steps of the target matching method as described in any embodiment of the present application based on the digital signal output by the digital signal processing operation.
[0109] In some optional embodiments, the integrated circuit may further include a memory for storing each target data in the data set in the order of the parameter values of the target data contained in each data set. In addition, the integrated circuit may be a sensor chip, such as a millimeter wave radar chip, or an AiP chip structure based on a packaged antenna.
[0110] The above-mentioned integrated circuit can effectively reduce the amount of calculation for target matching between two frames of signals during target detection by constructing a candidate target matching list in the order of arrangement of preset parameters and performing the matching process based on the set threshold. It can also realize flexible construction of candidate target lists and matching processes through programming, thereby improving the timeliness of operations such as target tracking and blur speed elimination.
[0111] In one embodiment, the present application further provides a radio device, comprising: a carrier; an integrated circuit as in the above embodiment, arranged on the carrier; an antenna, arranged on the carrier; wherein the integrated circuit is connected to the antenna via a first transmission line for receiving and transmitting radio signals, and the carrier may be a printed circuit board PCB, and the first transmission line may be a PCB trace. In addition, for an integrated circuit with an AiP structure, it is not necessary to arrange an antenna structure on the carrier.
[0112] Figure 6 A schematic diagram of a radio device according to an embodiment of the present invention is shown.
[0113] like Figure 6 As shown, the radio device 100 includes an antenna module 110 and an integrated circuit 120. The antenna module 110 includes a transmitting antenna 111 and a receiving antenna 112, and the radio device 120 includes a radio frequency module 121 and a processing module 122.
[0114] The transmitting antenna 111 receives the radar signal (eg, linear frequency modulated continuous wave) sent by the RF module 121 and radiates multiple frames of detection signals to the surroundings. Each frame of the detection signal is reflected by multiple targets to form a frame of echo.
[0115] The receiving antenna 112 receives multiple frames of echoes, and the processing module 122 performs data processing on the multiple frames of echoes. The processing module 122 includes, for example, a two-dimensional fast Fourier transform unit, a constant false alarm rate unit, an arrival angle estimation unit, etc., to obtain information such as the distance, speed, direction, and echo energy of the target.
[0116] In the embodiment of the present invention, the processing module 122 is further configured to perform the following steps: Figure 1 or Figures 5a to 5c The target matching method shown is to complete target matching for multiple target data represented by multiple frames of echoes, so that the radar system has functions such as target tracking and speed ambiguity elimination.
[0117] The radio device 100 may further include a memory (not shown) for storing each target data in each data set in order of parameter values (e.g., speed and / or distance) of the target data contained in the data set, thereby reducing the number of memory accesses during the target matching process. The memory is, for example, a memory of the integrated circuit 120.
[0118] In addition, the antenna module 110 may also be integrated into the package of the integrated circuit module 120 to form a chip with an AiP structure, such as a sensor chip such as a millimeter wave radar chip.
[0119] In one embodiment, the present application further provides a device, including: a device body; and a radio device as described in the above embodiment disposed on the device body; wherein the radio device is used for functions such as target detection and / or communication.
[0120] Specifically, based on the above embodiments, in one embodiment of the present application, the radio device can be arranged outside the device body, in another embodiment of the present application, the radio device can also be arranged inside the device body, and in other embodiments of the present application, the radio device can also be arranged partially inside the device body and partially outside the device body. The present application does not limit this, and it depends on the specific situation.
[0121] It should be noted that radio devices can achieve functions such as target detection and communication by transmitting and receiving signals.
[0122] In an optional embodiment, the above-mentioned equipment body can be intelligent transportation equipment (such as cars, bicycles, motorcycles, ships, subways, trains, etc.), security equipment (such as cameras), smart wearable devices (such as bracelets, glasses, etc.), smart home devices (such as TVs, air conditioners, smart lights, etc.), various communication devices (such as mobile phones, tablet computers, etc.), as well as gates, smart traffic lights, smart signs, traffic cameras and various industrial manipulators (or robots), etc., and can also be various instruments for detecting life characteristic parameters and various equipment equipped with the instruments. The radio device can be the radio device described in any embodiment of the present application. The structure and working principle of the radio device have been described in detail in the above embodiments, and will not be repeated here.
[0123] According to the embodiments of the present invention as described above, these embodiments do not describe all the details in detail, nor do they limit the invention to the specific embodiments described. Obviously, many modifications and changes can be made based on the above description. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can make good use of the present invention and the modified use based on the present invention. The present invention is limited only by the claims and their full scope and equivalents.
Claims
1. A target matching method, characterized in that: include: Obtaining a first data set including a plurality of first target data and a second data set including a plurality of second target data; For each first target data in the first data set, select at most K second target data in the second data set as candidate matching objects of the first target data, so as to construct a first candidate matching queue for each first target data, wherein the first matching object of the first target data is the candidate matching object in the first candidate matching queue that has the smallest degree of difference with the first target data; For each second target data in the second data set, select at most K first target data in the first data set as candidate matching objects of the second target data, so as to construct a second candidate matching queue for each second target data, the first matching object of the second target data being the candidate matching object with the smallest degree of difference from the second target data in the second candidate matching queue, and K is a positive integer; as well as The first target data and the second target data that are first matching objects are determined as a target data pair that matches each other and is adapted to the same target, until each first target data is matched or its first candidate matching queue is empty.
2. The target matching method according to claim 1, characterized in that: The step of determining the first target data and the second target data, which are first matching objects to each other, as a target data pair that matches each other and is adapted to the same target comprises: When the first candidate matching queue is not empty, the first matching step is executed: Determine whether: the first matching object of the first target data is the second target data and the first matching object of the second target data is the first target data; if so, the first target data and the second target data match each other and are adapted to the same target; if not, perform a second matching step on the first matching object of the first target data; When the second candidate matching queue is not empty, the second matching step is performed: Determine whether the following conditions are met: the first matching object of the second target data is the first target data and the first matching object of the first target data is the second target data; if so, determine that the first target data and the second target data match each other and are adapted to the same target; if not, perform the first matching step on the first matching object of the second target data.
3. The target matching method according to claim 2, characterized in that: After performing the second matching step on the first matching object of the first target data, removing the first matching object of the first target data from the first candidate matching queue of the first target data, so as to update the first candidate matching queue, After performing the first matching step on the first matching object of the second target data, the first matching object of the second target data is removed from the second candidate matching queue of the second target data to facilitate updating the second candidate matching queue.
4. The target matching method according to claim 2, characterized in that: Before executing the first matching step, if the first candidate matching queue of the first target data is empty or the first target data has mutually matching second target data, stop executing the first matching step on the first target data and execute the first matching step on another first target data in the first data set.
5. The target matching method according to claim 3, characterized in that: The method for updating the first candidate matching queue includes: updating the candidate matching object with the smallest degree of difference from the first target data in the first candidate matching queue as the first matching object; The method for updating the second candidate matching queue includes: updating the candidate matching object in the second candidate matching queue that has the smallest degree of difference with the second target data as the first matching object.
6. The target matching method according to claim 1, characterized in that: The method for constructing a first candidate matching queue for first target data includes: arranging a plurality of second target data from small to large according to the degree of difference between the second target data and the first target data, selecting K of the second target data as candidate matching objects for the first target data, The method for constructing a second candidate matching queue for second target data includes: arranging multiple first target data from small to large according to the degree of difference between them and the second target data, and selecting K first target data as candidate matching objects for the second target data.
7. The target matching method according to claim 6, characterized in that: In the first candidate matching queue of each first target data, the difference between each candidate matching object and the first target data is not greater than a predetermined threshold. In the second candidate matching queue of each second target data, the degree of difference between each candidate matching object and the second target data is not greater than a predetermined threshold.
8. The target matching method according to claim 6, characterized in that: The degree of difference is represented by one or more calculation results of the distance difference, the speed difference and the angle difference.
9. The target matching method according to claim 8, characterized in that: The degree of difference is represented by a weighted sum of the absolute values of the distance difference, the speed difference and the angle difference.
10. The target matching method according to any one of claims 1 to 9, characterized in that: The step of obtaining a first data set including a plurality of first target data and a second data set including a plurality of second target data comprises: Collecting adjacent first frame echo data and second frame echo data; Performing Fourier transform on the first frame echo data to obtain the distance and speed corresponding to each first target data; Performing Fourier transform on the second frame echo data to obtain the distance and speed corresponding to each second target data; The plurality of first target data are arranged in numerical order of distance and / or speed to obtain the first data set, and the plurality of second target data are arranged to obtain the second data set.
11. A target matching method, characterized in that: The method comprises: Based on at least one target characteristic parameter, the target data contained in each frame unit in the echo signal are respectively aggregated into a data set; For any target data, based on a preset difference degree function, obtain the difference value between each target data in the data set corresponding to the adjacent frame unit and the target data; Selecting K target data from the data set corresponding to the adjacent frame units of the target data as candidate matching target data in the order of the difference values from small to large, and constructing the candidate matching target list based on the K target data, wherein K is a positive integer; and Based on the candidate matching target list, two target data that match each other are adapted to the same target, so that the target data with the smallest degree of difference between them are used as matching objects; The two mutually matching target data are respectively located in data sets corresponding to two adjacent frame units, and the difference values between the two mutually matching target data in their respective candidate matching target lists are both the smallest.
12. The method according to claim 11, characterized in that The target characteristic parameters include distance, speed, direction angle and / or echo energy.
13. The method according to claim 11, characterized in that Also includes: An updating list is used to remove two target data that match each other from a candidate matching target list corresponding to the target data other than the two target data; re-matching, for adapting two mutually matching target data other than the two target data to the same target after executing the step of updating the list, The updating list and the re-matching are executed cyclically in sequence until no two mutually matching target data exist in the candidate matching target lists corresponding to the target data that have not been matched after the step of updating the list.
14. The method according to claim 13, characterized in that The step of selecting K target data from the data set corresponding to the adjacent frame units of the target data as candidate matching target data further includes: Based on a preset target feature parameter threshold, filtering the target data in the data set corresponding to the adjacent frame units of the target data; and The K target data are selected from the filtered data set as the candidate matching target data corresponding to the target data.
15. The method according to claim 14, characterized in that Between the steps of updating the list and re-matching, the method further comprises: In the order of the difference values from small to large, target data is selected from the filtered data set to supplement each candidate matching target list, so that the number of target data included in the candidate matching target list corresponding to each target data other than the two target data is less than or equal to K.
16. The method according to any one of claims 11 to 15, characterized in that: Based on at least one target characteristic parameter, the step of aggregating the target data contained in each frame unit in the echo signal into a data set comprises: Performing data processing on each frame unit to obtain each target data in the frame unit and at least one target characteristic parameter corresponding to each target data; and According to the numerical order of the at least one target characteristic parameter, the target data corresponding to each frame unit is arranged to obtain a data set corresponding to the frame unit.
17. An integrated circuit for target detection, characterized in that: include: A signal transceiver channel, used for transmitting radio signals and receiving echo signals; as well as A processing module is configured to execute the target matching method as described in any one of claims 1 to 10 based on the echo signal, or is configured to execute the target matching method as described in any one of claims 11 to 16 based on the echo signal.
18. The integrated circuit according to claim 17, characterized in that It also includes a memory for storing each target data in each data set in the order of the parameter values of the target data contained in the data set.
19. The integrated circuit according to claim 17 or 18, characterized in that: The integrated circuit is a millimeter wave radar chip.
20. A radio device for target detection, characterized in that: include: Carrier; The integrated circuit according to any one of claims 17 to 19, arranged on the carrier; An antenna, arranged on the carrier, or integrated with the integrated circuit as an AiP chip arranged on the carrier; Wherein, the integrated circuit is connected to the antenna through the signal transceiver channel, and is used to transmit the radio signal and receive the echo signal.
21. A user terminal device, characterized in that: include: Equipment body; as well as The radio device according to claim 20 is disposed on the device body; Wherein, the radio device is used for target detection and / or communication.
