Radar waveform generation method and device, storage medium and electronic device
By establishing a parameter item configuration table and using arrays to store parameter information, the Chirp number limit and parameter multiplexing problems in radar waveform configuration are solved, and efficient radar waveform generation and multi-mode switching are achieved.
Patent Information
- Application Number
- CN202410190030.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-20
- Publication Date
- 2025-08-22
AI Technical Summary
The existing radar waveform configuration software structure limits the number of Chirp and the inability to reuse parameter items, and cannot meet the radar technology updates and higher requirements travel solutions.
By establishing a parameter item configuration table, using the first and second arrays to store parameter information and reading rules, flexible configuration of linear frequency modulation pulses is realized and radar waveforms are generated.
It realizes efficient utilization of radar waveform parameters, avoids storage limitations, supports multi-mode switching and higher complexity radar waveform design.
Smart Images

Figure CN120522646A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of radar technology, and in particular to a method and device for generating a radar waveform, a storage medium, and an electronic device. Background Art
[0002] Frequency Modulated Continuous Wave (FMCW) is the most common waveform in millimeter-wave radar. In linear FMCW radars, the frequency of the transmit (TX) signal varies linearly over time. This linear frequency variation is often called a linear frequency modulated pulse (chirp). Generally, after powering on, an FMCW radar continuously emits chirps on the RF side.
[0003] With the advancement of radar technology and the introduction of more demanding travel solutions (such as integrated parking and driving), the complexity of radar waveforms will also increase, thus placing higher demands on certain parameter settings. Appropriate radar waveform design can significantly impact the radar's ultimate performance.
[0004] In order to adapt to different application scenarios, some parameters that can improve radar performance need to be applied to the radar waveform. For example, in the parking assistance scenario, better speed resolution is required to distinguish different obstacles (objects). For example, applying Binary-Phase Modulation (BPM) technology to the radar waveform can effectively improve the radar's anti-interference ability. However, it is necessary to set a corresponding BPM Code for each Chirp separately, and multiple BPM Codes need to be configured for multiple scenarios. It can be seen from this that the number of Chips in a frame will have a greater impact on the performance of the radar. And as Figure 1 As shown in the figure, the software structure of radar waveform configuration in common technology is: first use the first RAM to store the common parameters of Chirp, then store some different parameters between Chirps separately in the second RAM, and finally use the third RAM to store frame-related parameters (for example, the number of frames, frame period, etc.).
[0005] The software structure of radar waveform configuration in the above common technologies will bring at least the following two technical problems:
[0006] 1. The number of Chirps will be limited. Due to the storage limitations of existing radar chips, there will also be restrictions on the configurable ChirpIndex (index) (register bit width limitation), and the adjustable range of most radar chips is limited to a fixed number, which means that the number of parameters with the maximum difference between Chirps can only be configured as a fixed number. With the update and iteration of radar technology and the proposal of more demanding travel solutions (such as integrated driving and parking), the complexity of radar waveforms will also increase (such as space-time coding), and some parameter settings will have higher requirements (for example, BPM Code will have multiple patterns, and each pattern corresponds to multiple Chirps), which cannot meet the design requirements.
[0007] 2. Some reusable parameters cannot be reused. As the number of chirps that need to be set individually increases, although some parameters between different chirps must be independent (such as BPM or Phase Shift), other parameters can be reused (such as frequency hopping). However, for these reusable parameters, the software structure of radar waveform configuration in common technology must set common parameters and differentiated parameters of the chirp. This will cause the above-mentioned reusable parameters to be unable to be reused.
[0008] Therefore, it is urgent to propose a new method for generating radar waveforms. Summary of the Invention
[0009] In view of the above-mentioned deficiencies in the prior art, the present invention provides a method for generating a radar waveform, a device storage medium, and an electronic device.
[0010] To achieve the above object, according to a first aspect of the present invention, a method for generating a radar waveform is provided, the method comprising:
[0011] In response to the first instruction, obtaining a target data block corresponding to a target parameter item of the linear frequency modulation pulse;
[0012] In response to the second instruction, obtaining parameter information of the target parameter item corresponding to each linear frequency modulation pulse and a reading rule corresponding to the parameter information from the target data block;
[0013] A corresponding radar waveform is generated according to the target parameter item, parameter information of the target parameter item corresponding to each linear frequency modulation pulse, and a reading rule corresponding to the parameter information.
[0014] Furthermore, before the step of responding to the first instruction and acquiring the target data block corresponding to the target parameter item of the linear frequency modulation pulse, the method further includes:
[0015] Establishing and storing a parameter item configuration table, wherein the parameter item configuration table includes a data block corresponding to each parameter item and address information serving as an index of the parameter item;
[0016] Each of the data blocks includes a first part and a second part, the first part is used to configure the header information and starting position information of the current parameter item, and the second part is used to configure the parameter information corresponding to each linear frequency modulation pulse of the current parameter item and the reading rules corresponding to the parameter information.
[0017] Furthermore, the method for obtaining the target data block corresponding to the target parameter item of the linear frequency modulation pulse in response to the first instruction includes:
[0018] The index information of the target parameter item is obtained, and the corresponding target data block is searched from the parameter item configuration table according to the index information.
[0019] Furthermore, the parameters of the linear frequency modulation pulse include: frequency hopping, BPM, starting frequency, bandwidth, slope, idle time and duration.
[0020] Furthermore, the second part is constructed as an array, wherein the array includes a first array and a second array, the first array is used to configure parameter information corresponding to each linear frequency modulation pulse within a specific time window, and the second array is used to configure reading rules corresponding to the parameter information.
[0021] Furthermore, the configuration of parameter information corresponding to each linear frequency modulation pulse and a reading rule corresponding to the parameter information include:
[0022] For each target parameter item, the target data block corresponding to the target parameter item is addressed from the parameter item configuration table. When the pointer points to the header information position of the current target data block, the following configuration operations are performed:
[0023] In the first array, configuring the offset of the parameter information corresponding to each linear frequency modulation pulse from the head of the current first array;
[0024] In the second array, a reading order and a corresponding reading frequency of the offset corresponding to the parameter information of each linear frequency modulation pulse are configured.
[0025] Furthermore, the method of obtaining parameter information of the target parameter item corresponding to each linear frequency modulation pulse and a reading rule corresponding to the parameter information from the target data block in response to the second instruction includes:
[0026] For each target parameter item, perform the following joint traversal operation:
[0027] (1) Based on the movement of the preset pointer and the polling method, obtaining the offset of the parameter information corresponding to each linear frequency modulation pulse from the current head of the first array from the first array;
[0028] (2) Based on the offset corresponding to the parameter information of each linear frequency modulation pulse, a reading order and a corresponding reading frequency of the offset corresponding to the parameter information of each linear frequency modulation pulse are obtained from the second array.
[0029] Furthermore, the method for generating a corresponding radar waveform according to the target parameter item, parameter information of the target parameter item corresponding to each linear frequency modulation pulse, and a reading rule corresponding to the parameter information includes:
[0030] The acquired parameter information corresponding to each linear frequency modulation pulse of all target parameter items and the reading rules corresponding to the parameter information are fused to generate a corresponding radar waveform.
[0031] According to a second aspect of the present invention, the present invention further provides a radar waveform generating device, the device comprising:
[0032] A first acquisition module is configured to respond to a first instruction and acquire a target data block corresponding to a target parameter item of a linear frequency modulation pulse;
[0033] a second acquisition module, configured to respond to a second instruction and acquire, from the target data block, parameter information of the target parameter item corresponding to each linear frequency modulation pulse and a reading rule corresponding to the parameter information;
[0034] A generating module is used to generate a corresponding radar waveform according to the target parameter item, parameter information of the target parameter item corresponding to each linear frequency modulation pulse, and a reading rule corresponding to the parameter information.
[0035] According to a third aspect of the present invention, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the radar waveform generation method as described in the first aspect is implemented.
[0036] According to a fourth aspect of the present invention, the present invention further provides an electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the radar waveform generation method described in the first aspect through the computer program.
[0037] The radar waveform generation method and apparatus, storage medium, and electronic device provided by the present invention are intended to obtain a target data block corresponding to a target parameter item of a linear frequency modulation pulse by responding to a first instruction, and obtain parameter information corresponding to each linear frequency modulation pulse of the target parameter item and a reading rule corresponding to the parameter information from the target data block by responding to a second instruction, ultimately generating the required radar waveform. As a result, when configuring the parameters of the linear frequency modulation pulses used in the radar waveform, there is no restriction on the number of linear frequency modulation pulses, and the parameter utilization rate is higher. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The technical solutions and other beneficial effects of the present invention will be made apparent by describing in detail the specific embodiments of the present invention in conjunction with the accompanying drawings.
[0039] Figure 1 A schematic diagram showing a software structure for radar waveform configuration in a commonly used technology.
[0040] Figure 2 The figure shows a flow chart of a method for generating a radar waveform according to an embodiment of the present invention.
[0041] Figure 3 A schematic diagram of a storage structure of related parameter items of a linear frequency modulation pulse provided by an embodiment of the present invention is shown.
[0042] Figure 4 An example of a first array configuration provided by an embodiment of the present invention is shown.
[0043] Figure 5 An example of the second array configuration provided by an embodiment of the present invention is shown.
[0044] Figure 6 A partial flow chart of the configuration structure of the radar waveform provided by an embodiment of the present invention is shown.
[0045] Figure 7 An example diagram of multi-mode switching processing based on different application scenarios provided by an embodiment of the present invention is shown.
[0046] Figure 8 The figure shows a structural block diagram of a radar waveform generating device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts are within the scope of protection of the present invention.
[0048] The terms "first", "second", "third", etc. (if any) in the description and claims of the present invention and the drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the objects described in this way can be interchanged where appropriate. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in the form of software, or in one or more hardware circuits or integrated circuits, or in different networks and / or processor devices and / or micro-indicator devices.
[0049] In the description of the present invention, it should be noted that, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" should be understood in a broad sense. For example, they may refer to fixed connections, detachable connections, or integral connections; mechanical connections, electrical connections, or mutual communication; direct connections or indirect connections through an intermediate medium; and internal communication between two components or interaction between two components. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on specific circumstances.
[0050] In order to make the objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0051] Figure 2 FIG. 1 is a flow chart showing a method for generating a radar waveform according to an embodiment of the present invention. Figure 3 A schematic diagram of a storage structure of related parameter items of a linear frequency modulation pulse provided by an embodiment of the present invention is shown.
[0052] refer to Figure 2 As shown, the method includes the following steps:
[0053] Step S10, in response to the first instruction, obtaining a target data block corresponding to a target parameter item of the linear frequency modulation pulse;
[0054] Step S20, in response to the second instruction, obtaining parameter information of the target parameter item corresponding to each linear frequency modulation pulse and a reading rule corresponding to the parameter information from the target data block;
[0055] Step S30 : generating a corresponding radar waveform according to the target parameter item, parameter information of the target parameter item corresponding to each linear frequency modulation pulse, and a reading rule corresponding to the parameter information.
[0056] Steps S10 to S30 will be described in detail below.
[0057] In step S10, in response to the first instruction, a target data block corresponding to a target parameter item of a linear frequency modulation pulse is obtained.
[0058] Optionally, in an embodiment of the present invention, different parameter items of the linear frequency modulation pulse (Chirp) can be written into the on-chip Flash in the form of data blocks (data tables). For the sake of read and write speed and data preservation, the Flash can be written. If the user has other needs, it can also be written into ROM, RAM, Cache and other storage methods, or even external storage similar to SD / MMC or even cloud libraries. By setting a method in which multiple data blocks are each stored with corresponding Chirp parameter items, each data block stores a parameter item for representing the Chirp. For example, the parameter items used to represent the Chirp include: frequency hopping, BPM, starting frequency, bandwidth, slope, idle time (idle time) and duration, etc. The parameter items of different Chirps only need to address the corresponding data blocks.
[0059] Optionally, before the step of responding to the first instruction and acquiring a target data block corresponding to a target parameter item of the linear frequency modulation pulse, the method further includes:
[0060] Establishing and storing a parameter item configuration table, wherein the parameter item configuration table includes a data block corresponding to each parameter item and index information serving as an index of the parameter item;
[0061] Each of the data blocks includes a first part and a second part, the first part is used to configure the header information and starting position information of the current parameter item, and the second part is used to configure the parameter information corresponding to each linear frequency modulation pulse of the current parameter item and the reading rules corresponding to the parameter information.
[0062] Therefore, for each data block corresponding to each parameter item, the data block includes a first part and a second part. Figure 3 、 Figure 4As shown, the first part is Chrip Info, which contains the header information (Header), starting position information (Start Position), and other Chrip-related configuration information for the current parameter item. The Header information (Header) represents a pointer to it. Each time the pointer points to the new Header position, it indicates entering a new Chrip parameter item configuration, equivalent to a parameter item configuration switch. The Start Position represents the configuration of the starting position of the current parameter item, which is mainly used for subsequent parameter verification to prevent parameter errors during flashing. Specifically, the starting position information can be used to determine the approximate storage space occupied by each parameter item and determine whether the corresponding parameter item is written to the correct location. The second part is Chrip Data, which is constructed as an array for storing the parameter information of the specific Chrip configuration. The array includes a first array and a second array. The first array is used to configure the parameter information corresponding to each linear frequency modulation pulse within a specific time window, and the second array is used to configure the reading rules corresponding to the parameter information. It should be understood that in this embodiment of the present invention, the storage space for all the above-mentioned Chrip parameter items can be dynamically allocated according to actual needs.
[0063] Furthermore, in the second part, in addition to storing the parameter information corresponding to each linear frequency modulation pulse configured within a specific time window, a pointer lookup table method is also required to continuously access the parameter information corresponding to each linear frequency modulation pulse in the array and the reading rules corresponding to the parameter information by configuring the movement of the pointer and polling.
[0064] Optionally, the method for obtaining a target data block corresponding to a target parameter item of a linear frequency modulation pulse in response to the first instruction includes:
[0065] The index information of the target parameter item is obtained, and the corresponding target data block is searched from the parameter item configuration table according to the index information.
[0066] Exemplarily, the index information may be, for example, storage location information of a data block corresponding to each parameter item.
[0067] It should be noted that if all the parameters corresponding to each chip of the radar waveform were listed in a table, the RAM would undoubtedly become very bloated. This is because as the complexity of the radar waveform increases, the parameter information of all chips corresponding to the radar waveform will also increase accordingly. Therefore, it is not practical to store and record all the chips involved in the radar waveform one by one, with each chip recording a parameter.
[0068] Optionally, the configuration of parameter information corresponding to each linear frequency modulation pulse and a reading rule corresponding to the parameter information includes:
[0069] For each target parameter item, the target data block corresponding to the target parameter item is addressed from the parameter item configuration table. When the pointer points to the header information position of the current target data block, the following configuration operations are performed:
[0070] In the first array, configuring the offset of the parameter information corresponding to each linear frequency modulation pulse from the head of the current first array;
[0071] In the second array, a reading order and a corresponding reading frequency of the offset corresponding to the parameter information of each linear frequency modulation pulse are configured.
[0072] Furthermore, the method of obtaining parameter information of the target parameter item corresponding to each linear frequency modulation pulse and a reading rule corresponding to the parameter information from the target data block in response to the second instruction includes:
[0073] For each target parameter item, perform the following joint traversal operation:
[0074] (1) Based on the movement of the preset pointer and the polling method, obtaining the offset of the parameter information corresponding to each linear frequency modulation pulse from the current head of the first array from the first array;
[0075] (2) Based on the offset corresponding to the parameter information of each linear frequency modulation pulse, a reading order and a corresponding reading frequency of the offset corresponding to the parameter information of each linear frequency modulation pulse are obtained from the second array.
[0076] For example:
[0077] In the configuration of radar waveform, the collection of multiple linear frequency modulation pulses (Chrip) is called "Frame / SubFrame", and the collection of "Frame / SubFrame" is called "Look". "Look" means selecting a specific time window (time period) in the time series to observe the frequency changes of the signal. The selection of this specific time window is determined according to the user's needs and application. By analyzing the signal within this time window, the distance, speed and other relevant information of the target can be obtained. Figure 5 As shown, assuming a Look (a specific time window) includes four chirps, these four chirps differ only in the value corresponding to the parameter item "idle time," while the values of the remaining parameters are identical. Therefore, to facilitate differentiation, the values (parameter information) corresponding to the parameter item "idle time" for each of the four different chirps can be written into the first array in order of t1, t2, t3, and t4. Then, in the second array, read rules for t1, t2, t3, and t4 can be configured.
[0078] Specifically, for the first chirp, its corresponding t1 is at an offset of 0 from the first array entry header in the first array entry, and it applies to one chirp. That is, 0 is written to the first row position in the first column of the second array, and 1 is written to the second row position.
[0079] For the second chirp, its corresponding t2 is offset 1 from the first array entry header in the first array entry, and it applies to two consecutive chirps. That is, in the second array, the first row position is written with 1, and the second row position is written with 2.
[0080] For the third chirp, its corresponding t3 is offset 2 from the first array entry header in the first array entry, and it applies to two consecutive chirps. That is, in the third column of the second array, 2 is written to the first row and 2 to the second row.
[0081] For the fourth chirp, its corresponding t4 is at an offset of 3 from the first array entry header in the first array entry, and it applies to one chirp. That is, in the fourth column of the second array, the first row position is written with 3, and the second row position is written with 1.
[0082] Similarly, when returning to the first chirp, its corresponding t1 in the first array entry has an offset of 0 from the first array entry header, and it is applied to three consecutive chirps. That is, in the fifth column of the second array, the first row position is written with 0, and the second row position is written with 3.
[0083] It should be understood that the first array is used to store the specific parameter values corresponding to each of t1, t2, t3, and t4. For example, for one type of chirp, setting its "idle time" to 10ms means it will idle for 10ms before starting to generate a waveform. Setting its "idle time" to 20ms means it will idle for a longer time, resulting in a slightly steeper waveform. In other words, the first array is used to represent the parameter values for the corresponding type of chirp, while the second array is used to represent the reading rules for the parameter values for each type of chirp.
[0084] For each target parameter item, a joint traversal operation is performed through the first and second arrays to obtain parameter information corresponding to each chirp type within a specific time window. This is because if the number of chirps within a specific time window is small, all chirps within each specific time window can be configured individually. However, the total number of chirps within a Look may typically be hundreds or thousands. If all chirps within each specific time window were to be configured individually, the overall storage space would be significantly limited. Therefore, to conserve storage space, some parameter information with repeated counts, such as t1 corresponding to the first chirp type, can be repeatedly accessed. Therefore, the system only needs to store the information once, and t1 can be retrieved later through pointer movement and polling, thus avoiding the problem of redundant storage data caused by repeated writing to the storage space. During the final call, for each target parameter item, a joint traversal operation is performed through the first array and the second array according to the configuration mode corresponding to each linear frequency modulation pulse in the current specific time window to obtain the parameter information corresponding to each linear frequency modulation pulse in the specific time window and the reading rules corresponding to the parameter information, thereby generating the corresponding radar waveform.
[0085] Furthermore, the method for generating a corresponding radar waveform according to the target parameter item, parameter information of the target parameter item corresponding to each linear frequency modulation pulse, and a reading rule corresponding to the parameter information includes:
[0086] The acquired parameter information corresponding to each linear frequency modulation pulse of all target parameter items and the reading rules corresponding to the parameter information are fused to generate a corresponding radar waveform.
[0087] Compared with the configuration process of radar waveform in common technologies, such as Figure 6 As shown, part of the process of configuring the radar waveform provided by the embodiment of the present invention is as follows:
[0088] First, the initialization process for the Mss subsystem (main subsystem) includes: initializing the radar's RF circuit board, then initializing and enabling the driver within it, and then initializing the IPC (Inter-Process Communication) mechanism or library used for communication between the Mss subsystem and the Dss subsystem (signal processing subsystem). After that, the radar waveform is configured. Conventional techniques require first establishing a unified linear frequency modulation continuous wave (LFM) configuration and then establishing differentiated LFM continuous wave (LFM) configurations. Unlike conventional techniques, the technical solution provided by the embodiments of the present invention only requires establishing a LFM continuous wave (LFM) parameter table (a parameter item configuration table containing multiple data blocks corresponding to multiple parameter items) and setting the parameter table reading rules. In this case, the designed radar waveform configuration is transmitted to the Dss subsystem via IPC for corresponding data processing. Afterwards, parameter verification is performed on the parameters corresponding to the parameter table. If the verification is successful, the remaining parameters are set (eg, period / LVDS of the chirp), and then the chirp frame start is triggered.
[0089] The technical solution provided by the embodiment of the present invention can also be applied to multi-mode switching. Figure 7 An example diagram of multi-mode switching processing based on different application scenarios provided by an embodiment of the present invention is shown.
[0090] like Figure 7 As shown in the figure, based on different application scenarios, multiple Chrip parameter tables can be configured accordingly. For example, in reversing scenarios, normal driving scenarios, etc., multiple Chrip parameter tables can be configured in the radar waveform configuration software structure in advance. Then, after the Mss subsystem transfers the parameter configuration table to the Dss subsystem, the Dss subsystem will perform corresponding data processing according to the configuration of each Chrip parameter table. When the Mss subsystem is idle, it can synchronously switch to the next table. In this way, multi-mode switching can be easily handled.
[0091] Regarding the test hardware requirements and links, for example, the corner radar can be installed in the front or rear position of the car. The radar is powered on to generate waves, the sample receives the echo data and processes the data, and transmits the processed data to the host computer via Ethernet. Then, it is observed through the host computer's visual interface.
[0092] By adopting the technical solution provided in the embodiments of the present invention, the number of linear frequency modulation pulses used in the radar waveform can be configured without being restricted by the number of linear frequency modulation pulses. Since all parameter configurations are designed around the parameter items of the linear frequency modulation pulses, if the settings of the linear frequency modulation continuous wave are to be expanded, theoretically, it is only necessary to expand the storage range of the corresponding target parameter items, and the parameter utilization rate is also higher.
[0093] According to yet another aspect of the present invention, an embodiment of the present application provides a device for generating a radar waveform.
[0094] Figure 8 The figure shows a structural block diagram of a radar waveform generating device provided in an embodiment of the present application.
[0095] The apparatus 200 comprises:
[0096] A first acquisition module 210 is configured to respond to a first instruction and acquire a target data block corresponding to a target parameter item of a linear frequency modulation pulse;
[0097] A second acquisition module 220 is configured to respond to a second instruction and acquire parameter information of the target parameter item corresponding to each linear frequency modulation pulse and a reading rule corresponding to the parameter information from the target data block;
[0098] The generating module 230 is configured to generate a corresponding radar waveform according to the target parameter item, parameter information of the target parameter item corresponding to each linear frequency modulation pulse, and a reading rule corresponding to the parameter information.
[0099] In an embodiment of the present invention, different parameter items of a linear frequency modulation pulse (Chirp) can be written into the on-chip Flash in the form of data blocks (data tables). For the sake of read and write speed and data preservation, the Flash can be written. If the user has other needs, it can also be written into ROM, RAM, Cache and other storage methods, or even external storage similar to SD / MMC or even cloud libraries. A method is provided by setting a plurality of data blocks to store corresponding Chirp parameter items, wherein each data block stores a parameter item for representing the Chirp. For example, the parameter items for representing the Chirp include: frequency hopping, BPM, starting frequency, bandwidth, slope, idle time (idle time) and duration, etc. The first acquisition module is used to address the corresponding data block according to the parameter items of different Chirps. For each data block corresponding to each parameter item, the data block includes a first part and a second part.
[0100] For example, Figure 3 、 Figure 4 As shown, the first part is Chrip Info, in which the header information (Header), starting position information (Start Position) and some other configuration information related to the Chrip information of the current parameter item can be configured. Among them, the header information (Header) represents a pointer thereof. Each time the pointer points to the position of the new Header, it indicates entering a new Chrip parameter item configuration, which is equivalent to a parameter item configuration switch. The Start Position can represent a configuration of a starting position of the current parameter item. The second part is ChripData, which is constructed as an array for storing the parameter information of a specifically configured Chrip. Among them, the array includes a first array and a second array, the first array is used to configure the parameter information corresponding to each linear frequency modulation pulse within a specific time window, and the second array is used to configure the reading rules corresponding to the parameter information.
[0101] Furthermore, in the second part, in addition to storing the parameter information corresponding to each linear frequency modulation pulse configured within a specific time window, a pointer lookup table method is also required to continuously access the parameter information corresponding to each linear frequency modulation pulse in the array and the reading rules corresponding to the parameter information by configuring the movement of the pointer and polling.
[0102] The method in which the second acquisition module responds to the second instruction and acquires parameter information of the target parameter item corresponding to each linear frequency modulation pulse and a reading rule corresponding to the parameter information from the target data block includes:
[0103] For each target parameter item, perform the following joint traversal operation:
[0104] (1) Based on the movement of the preset pointer and the polling method, obtaining the offset of the parameter information corresponding to each linear frequency modulation pulse from the current head of the first array from the first array;
[0105] (2) Based on the offset corresponding to the parameter information of each linear frequency modulation pulse, a reading order and a corresponding reading frequency of the offset corresponding to the parameter information of each linear frequency modulation pulse are obtained from the second array.
[0106] It should be understood that other aspects and effects of the device can be found in the aforementioned method for generating a radar waveform, and will not be described in detail here.
[0107] In another embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method for generating a radar waveform in any of the embodiments described above is implemented.
[0108] In another embodiment, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to execute the radar waveform generation method in any of the above-described embodiments through the computer program.
[0109] The specific definition and implementation of the above steps can be found in the embodiment of the radar waveform generation method, which will not be repeated here.
[0110] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0111] The radar waveform generation method and apparatus, storage medium, and electronic device provided in the embodiments of the present application are described in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is intended only to facilitate understanding of the technical solutions and core concepts of the present invention. Those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may be modified or some of the technical features thereof may be replaced by equivalents. However, such modifications or replacements do not deviate from the essence of the corresponding technical solutions within the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for generating a radar waveform, characterized in that: The method comprises: In response to the first instruction, obtaining a target data block corresponding to a target parameter item of the linear frequency modulation pulse; In response to the second instruction, obtaining parameter information of the target parameter item corresponding to each linear frequency modulation pulse and a reading rule corresponding to the parameter information from the target data block; A corresponding radar waveform is generated according to the target parameter item, parameter information of the target parameter item corresponding to each linear frequency modulation pulse, and a reading rule corresponding to the parameter information.
2. The radar waveform generation method according to claim 1, wherein: Before the step of responding to the first instruction and acquiring the target data block corresponding to the target parameter item of the linear frequency modulation pulse, the method further includes: Establishing and storing a parameter item configuration table, wherein the parameter item configuration table includes a data block corresponding to each parameter item and index information serving as an index of the parameter item; Each of the data blocks includes a first part and a second part, the first part is used to configure the header information and starting position information of the current parameter item, and the second part is used to configure the parameter information corresponding to each linear frequency modulation pulse of the current parameter item and the reading rules corresponding to the parameter information.
3. The radar waveform generation method according to claim 2, wherein: The method for obtaining the target data block corresponding to the target parameter item of the linear frequency modulation pulse in response to the first instruction includes: The index information of the target parameter item is obtained, and the corresponding target data block is searched from the parameter item configuration table according to the index information.
4. The radar waveform generation method according to claim 2, wherein: The parameters of the linear frequency modulation pulse include: frequency hopping, BPM, starting frequency, bandwidth, slope, idle time and duration.
5. The radar waveform generation method according to claim 2, wherein: The second part is constructed as an array, wherein the array includes a first array and a second array, the first array is used to configure parameter information corresponding to each linear frequency modulation pulse within a specific time window, and the second array is used to configure a reading rule corresponding to the parameter information.
6. The radar waveform generation method according to claim 5, wherein: The configuration of parameter information corresponding to each linear frequency modulation pulse and a reading rule corresponding to the parameter information include: For each target parameter item, the target data block corresponding to the target parameter item is addressed from the parameter item configuration table. When the pointer points to the header information position of the current target data block, the following configuration operations are performed: In the first array, configuring the offset of the parameter information corresponding to each linear frequency modulation pulse from the head of the current first array; In the second array, a reading order and a corresponding reading frequency of the offset corresponding to the parameter information of each linear frequency modulation pulse are configured.
7. The radar waveform generation method according to claim 6, wherein: The method of obtaining parameter information of the target parameter item corresponding to each linear frequency modulation pulse and a reading rule corresponding to the parameter information from the target data block in response to the second instruction includes: For each target parameter item, perform the following joint traversal operation: (1) Based on the movement of the preset pointer and the polling method, obtaining the offset of the parameter information corresponding to each linear frequency modulation pulse from the current head of the first array from the first array; (2) Based on the offset corresponding to the parameter information of each linear frequency modulation pulse, a reading order and a corresponding reading frequency of the offset corresponding to the parameter information of each linear frequency modulation pulse are obtained from the second array.
8. The radar waveform generation method according to claim 1, wherein: The method for generating a corresponding radar waveform according to the target parameter item, parameter information corresponding to each linear frequency modulation pulse of the target parameter item, and a reading rule corresponding to the parameter information includes: The acquired parameter information corresponding to each linear frequency modulation pulse of all target parameter items and the reading rules corresponding to the parameter information are fused to generate a corresponding radar waveform.
9. A radar waveform generating device, characterized in that: The device comprises: A first acquisition module is configured to respond to a first instruction and acquire a target data block corresponding to a target parameter item of a linear frequency modulation pulse; a second acquisition module, configured to respond to a second instruction and acquire, from the target data block, parameter information of the target parameter item corresponding to each linear frequency modulation pulse and a reading rule corresponding to the parameter information; A generating module is used to generate a corresponding radar waveform according to the target parameter item, parameter information of the target parameter item corresponding to each linear frequency modulation pulse, and a reading rule corresponding to the parameter information.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for generating a radar waveform according to any one of claims 1 to 8 is implemented.
11. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the radar waveform generation method according to any one of claims 1 to 8 using the computer program.