Radar system and complex data compression method, apparatus, device, and medium

By determining the compression exponent of complex data and calculating the mantissa, pseudo-floating-point numbers are generated, solving the problem of large storage space occupied by complex data in radar systems, achieving data compression within the allowable accuracy range, and improving radar performance.

CN114900192BActive Publication Date: 2025-12-19SKYRELAY (BEIJING)TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210600575.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-30
Publication Date
2025-12-19
Estimated Expiration
2042-05-30

AI Technical Summary

Technical Problem

Complex data in radar systems occupy a large amount of storage space, which limits performance improvement, and the data bit width expansion introduced by the calibration module increases the storage space requirement.

Method used

By obtaining the absolute values ​​of the real and imaginary parts of the complex number data, the compression exponent is determined, and the mantissas of the real and imaginary parts are calculated based on the exponent to generate a compressed pseudo-floating-point number, thereby reducing the storage width.

Benefits of technology

Within an acceptable range of accuracy loss, complex data can be effectively compressed, saving storage space and improving radar performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114900192B_ABST
    Figure CN114900192B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of radar communication, and particularly relates to a radar system and a complex data compression method, device, equipment and medium, wherein the method comprises: obtaining complex data represented by fixed-point numbers, determining real parts and imaginary parts of the complex data respectively; obtaining first shared data based on absolute values of the real parts and the imaginary parts; determining compression exponents based on the first shared data and a preset storage bit width; calculating corresponding real part mantissas based on the determined real parts and the compression exponents, and calculating corresponding imaginary part mantissas based on the determined imaginary parts and the compression exponents. The present application can effectively compress complex data in a radar system under the premise that the precision loss is acceptable, thereby saving storage space.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of radar communication, and in particular to a radar system, a complex data compression method and device, an electronic device and a storage medium. BACKGROUND

[0002] The radar system will cause amplitude, phase and frequency errors during use. In order to achieve high measurement accuracy, amplitude, phase and frequency calibration are generally performed in actual applications. The calibration module will introduce complex numbers, and the calibration method is to multiply the sample data and the calibration parameters, which will expand the data bit width and result in a large required storage space. The storage space will limit the improvement of radar performance. Therefore, in order to improve the radar performance as much as possible in the limited storage space, it is necessary to perform data compression with acceptable precision loss. SUMMARY

[0003] Based on the problem that the complex data of the radar system occupies a large storage space, the embodiments of the present application provide a radar system, a complex data compression method and device, an electronic device and a storage medium, which can compress the complex data within an acceptable range of precision loss and save the required storage space.

[0004] In a first aspect, the embodiments of the present application provide a complex data compression method of a radar system, comprising:

[0005] Obtaining complex data represented by fixed-point numbers, and determining the real part and the imaginary part of the complex data, respectively;

[0006] Based on the absolute values of the real part and the imaginary part, obtaining a first shared data; the first shared data is the larger one of the absolute value of the real part and the absolute value of the imaginary part;

[0007] Based on the first shared data and a preset storage bit width, determining a compression exponent;

[0008] Based on the determined real part and the compression exponent, calculating a corresponding real part mantissa, and based on the determined imaginary part and the compression exponent, calculating a corresponding imaginary part mantissa.

[0009] Optionally, the complex data compression method of the radar system further comprises:

[0010] Outputting the compression exponent and the corresponding real part mantissa and imaginary part mantissa as a compressed pseudo floating point number.

[0011] Optionally, the storage bit width of the real part and the imaginary part of the complex data is X, the storage bit width of the compression exponent is I, and the storage bit width of the real part mantissa and the imaginary part mantissa is D; wherein 2D+I<2X, and D, I and X are constants.

[0012] Optionally, the determining the compression index based on the first shared data and the preset storage bit width comprises:

[0013] determining a storage bit width D of the real part mantissa or the imaginary part mantissa based on the preset storage bit width;

[0014] converting the first shared data into second intermediate data in a floating point number form based on the storage bit width (D-1) of the storage value;

[0015] extracting an index corresponding to the second intermediate data with 2 as a base number;

[0016] taking a larger one of the extracted index and 0 as the compression index.

[0017] Optionally, the calculating the corresponding real part mantissa based on the determined real part and the compression index comprises:

[0018] obtaining second shared data with 2 as a base number and with the compression index as an index;

[0019] dividing the real part by the second shared data to obtain a first intermediate mantissa;

[0020] rounding off the first intermediate mantissa to obtain the real part mantissa;

[0021] the calculating the corresponding imaginary part mantissa based on the determined imaginary part and the compression index comprises:

[0022] dividing the imaginary part by the second shared data to obtain a second intermediate mantissa;

[0023] rounding off the second intermediate mantissa to obtain the imaginary part mantissa.

[0024] In a second aspect, an embodiment of the present application further provides a complex data compression device of a radar system, comprising:

[0025] an acquisition module configured to acquire complex data represented by a fixed point number, and determine a real part and an imaginary part of the complex data respectively;

[0026] a first compression module configured to obtain first shared data based on absolute values of the real part and the imaginary part; the first shared data is a larger one of the absolute value of the real part and the absolute value of the imaginary part;

[0027] a second compression module configured to determine a compression index based on the first shared data and a preset storage bit width;

[0028] a mantissa calculation module configured to calculate a corresponding real part mantissa based on the determined real part and the compression index, and calculate a corresponding imaginary part mantissa based on the determined imaginary part and the compression index.

[0029] Optionally, the complex data compression device of the radar system further comprises:

[0030] an output module configured to output the compressed exponent and the corresponding real part mantissa and the imaginary part mantissa as a compressed pseudo floating point number.

[0031] In a third aspect, an embodiment of the present application further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method in any of the embodiments of the present application.

[0032] In a fourth aspect, an embodiment of the present application further provides a computer readable storage medium, which stores a computer program, and the computer program, when executed in a computer, causes the computer to execute the method in any of the embodiments of the present application.

[0033] In a fifth aspect, an embodiment of the present application further provides a radar system, which adopts the method in any of the embodiments of the present application to compress complex data in the radar system.

[0034] The radar system and the complex data compression method, device, electronic device and storage medium provided by the embodiments of the present application obtain a compressed exponent based on the absolute values of the real part and the imaginary part of complex data, and then obtain the corresponding real part mantissa and imaginary part mantissa based on the compressed exponent, so as to obtain a compressed pseudo floating point number. In the premise that the precision loss is acceptable, the complex data in the radar system is effectively compressed, and the storage space is saved. BRIEF DESCRIPTION OF DRAWINGS

[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor based on these drawings.

[0036] Figure 1 is a complex data compression method flow chart of a radar system provided by an embodiment of the present application;

[0037] Figure 2 is another complex data compression method flow chart of a radar system provided by an embodiment of the present application;

[0038] Figure 3 is a hardware architecture diagram of an electronic device provided by an embodiment of the present application;

[0039] Figure 4is a kind of radar system complex data compression device structure diagram provided by an embodiment of the present application;

[0040] Figure 5 is another kind of radar system complex data compression device structure diagram provided by an embodiment of the present application. DETAILED DESCRIPTION

[0041] To make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application.Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.

[0042] As described above, the complex data used in the radar system can occupy a large storage space, limiting the improvement of radar performance, so it is necessary to compress the complex data. However, the precision loss of the compressed data cannot be too large, otherwise it will also affect the normal communication of the radar. In view of this, the present application obtains a compression index based on the absolute values of the real part and the imaginary part of the complex data, and then obtains compressed data using the compression index, while ensuring the precision of the compressed data.

[0043] The specific implementation of the above concept will be described below.

[0044] Please refer to Figure 1 The embodiments of the present application provide a radar system complex data compression method, which comprises:

[0045] Step 100, obtain complex data represented by fixed-point numbers in a radar system, and determine the real part and the imaginary part of the complex data respectively;

[0046] Step 102, obtain first shared data based on the absolute values of the determined real part and imaginary part; wherein the first shared data is the larger one of the absolute value of the real part and the absolute value of the imaginary part;

[0047] Step 104, determine a compression index based on the first shared data and a preset storage bit width;

[0048] Step 106, calculate the corresponding real part mantissa based on the determined real part and the compression index, and calculate the corresponding imaginary part mantissa based on the determined imaginary part and the compression index.

[0049] Further, the method further comprises:

[0050] Step 108, output the compression index and the corresponding real part mantissa and imaginary part mantissa as compressed pseudo floating point numbers.

[0051] The application obtains the first shared data through the absolute values of the real part and the imaginary part, determines the compression index according to the first shared data, and obtains the compressed pseudo floating point number, i.e. the compression index and the corresponding real part mantissa and imaginary part mantissa. The storage bit width of the compressed pseudo floating point number is smaller than the storage bit width required by the complex number data before compression, thereby saving the storage space, and the precision loss is within an acceptable range.

[0052] In an optional embodiment of the application, the storage bit width of the real part and the imaginary part of the complex number data is X, the storage bit width of the compression index is I, and the storage bit width of the real part mantissa and the imaginary part mantissa is D; wherein 2D+I<2X, and D, I and X are constants. Since the storage bit width of the compressed pseudo floating point number is (2D+I), which is smaller than the storage bit width 2X of the original complex number data, the storage bit width can be saved. The highest bit of the mantissa is usually a sign bit, and the storage bit width of the value is actually (D-1).

[0053] The following describes Figure 1 the execution manner of each step.

[0054] Optionally, for step 102, further comprising:

[0055] The absolute values of the real part and the imaginary part of the complex number data determined in step 100 are calculated respectively;

[0056] The larger one of the absolute value of the real part and the absolute value of the imaginary part is taken as the first shared data.

[0057] In the form of an expression, the first shared data fix_abs_max=max(abs(fix_real),abs(fix_imag)), wherein fix_real represents the real part of the complex number data, fix_imag represents the imaginary part of the complex number data, fix_real and fix_imag are signed integers, abs() represents the absolute value calculation, and max() represents the maximum value calculation.

[0058] By using the above embodiment, the first shared data can be quickly determined.

[0059] Optionally, for step 104, further comprising:

[0060] Based on the preset storage bit width, the storage bit width D of the real part mantissa or the imaginary part mantissa is determined;

[0061] based on a storage bit width (D-1) of the stored value, converting the first shared data into second intermediate data in floating point form; that is, taking the first shared data as base number 2 and taking (D-1) as exponent to obtain first intermediate data; dividing the first shared data by the first intermediate data to obtain second intermediate data;

[0062] taking the second intermediate data as base number 2 to extract the corresponding exponent; that is, taking the second intermediate data as base number 2 to perform logarithm calculation;

[0063] taking the larger one between the extracted exponent and 0 as compression exponent.

[0064] in the form of expression, compression exponent pflt_exp=max(log2(fix_abs_max / 2 (D-1) ),0), wherein fix_abs_max / 2 (D-1) represents converting the first shared data into floating point form to obtain its real value, log2() represents logarithm calculation with base number 2 for extracting the exponent corresponding to the second intermediate data. The preset storage bit width can be the storage bit width D of the compressed real part mantissa or the storage bit width D of the compressed imaginary part mantissa, or the sum 2D of the two.

[0065] Optionally, step 106 further includes:

[0066] taking the second shared data as base number 2 and taking the compression exponent as exponent to obtain second shared data;

[0067] dividing the real part by the second shared data to obtain first intermediate mantissa;

[0068] rounding the first intermediate mantissa to obtain real part mantissa;

[0069] dividing the imaginary part by the second shared data to obtain second intermediate mantissa;

[0070] rounding the second intermediate mantissa to obtain imaginary part mantissa.

[0071] in the form of expression, real part mantissa pflt_mant_real=round(fix_real / 2 pflt_exp ), imaginary part mantissa pflt_mant_imag=round(fix_imag / 2 pflt_exp ), wherein round() represents rounding calculation. The rounding method can make the compressed data closer to the original data.

[0072] Optionally, the calculation for obtaining the real part mantissa and the imaginary part mantissa can also adopt the down rounding method, that is, step 106 further includes:

[0073] obtaining a second shared data by taking 2 as a base and the compression index as an exponent;

[0074] obtaining a first intermediate mantissa by dividing the real part by the second shared data;

[0075] obtaining a real part mantissa by rounding down the first intermediate mantissa;

[0076] obtaining a second intermediate mantissa by dividing the imaginary part by the second shared data;

[0077] obtaining an imaginary part mantissa by rounding down the second intermediate mantissa.

[0078] As shown in Figure 3 , Figure 4 embodiments of the present application provides a kind of complex data compression device of radar system. Device embodiments can be realized by software, also can be realized by hardware or software and hardware combined mode.From the hardware layer, as shown in Figure 3 , it is a kind of hardware architecture diagram of the electronic equipment where the complex data compression device of radar system provided in the embodiment of the present application is located, in addition to the processor, memory, network interface and non-volatile memory shown in Figure 3 , the electronic equipment where the device in embodiment can generally include other hardware, such as responsible for processing forwarding chip and so on packet, etc..As shown in Figure 4 , as a logical sense device, it is formed by CPU of its electronic equipment in the memory of non-volatile storage computer program corresponding to reading and running in the embodiment of the present application provides a kind of complex data compression device of radar system, including: acquisition module 401, first compression module 402, second compression module 403 and mantissa calculation module 404;Wherein,

[0079] acquisition module 401 is used to obtain complex data represented by fixed-point number, respectively determines the real part and imaginary part of the complex data;

[0080] first compression module 402 is used to obtain first shared data based on the absolute value of the real part and the imaginary part;The first shared data is the larger one of the absolute value of the real part and the absolute value of the imaginary part;

[0081] second compression module 403 is used to determine compression index based on the first shared data and preset storage bit width;

[0082] mantissa calculation module 404 is used to calculate corresponding real part mantissa based on the determined real part and compression index, and calculate corresponding imaginary part mantissa based on the determined imaginary part and compression index.

[0083] Optionally, the complex data compression device of the radar system further comprises an output module 405 configured to output the compressed exponent and the corresponding real part mantissa and the imaginary part mantissa as a compressed pseudo floating point number.

[0084] In the embodiments of the present application, the acquisition module 401 can be configured to perform step 100 in the method embodiments described above, the first compression module 402 can be configured to perform step 102 in the method embodiments described above, the second compression module 403 can be configured to perform step 104 in the method embodiments described above, the mantissa calculation module 404 can be configured to perform step 106 in the method embodiments described above, and the output module 405 can be configured to perform step 108 in the method embodiments described above.

[0085] It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the complex data compression device of the radar system. In other embodiments of the present application, the complex data compression device of the radar system can include more or fewer components than shown, or combine certain components, or split certain components, or different component arrangements. The components shown can be implemented in hardware, software, or a combination of software and hardware.

[0086] The information interaction and execution process between the modules in the above device are based on the same concept as the method embodiments of the present application, and the specific content can be referred to the description in the method embodiments of the present application, which will not be described here.

[0087] The embodiments of the present application also provide an electronic device including a memory and a processor, wherein the memory stores a computer program, and the processor implements the complex data compression method of the radar system in any of the embodiments of the present application when executing the computer program.

[0088] The embodiments of the present application also provide a computer readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, causes the processor to perform the complex data compression method of the radar system in any of the embodiments of the present application.

[0089] Specifically, a system or device equipped with a storage medium can be provided, wherein the storage medium stores a software program code for implementing the functions of any of the above embodiments, and the computer (or CPU or MPU) of the system or device reads and executes the program code stored in the storage medium.

[0090] In this case, the program code read from the storage medium itself can implement the functions of any of the above embodiments, and therefore the program code and the storage medium storing the program code constitute a part of the present application.

[0091] The storage medium for providing the program code includes a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a nonvolatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer via a communication network.

[0092] In addition, it should be clear that not only the program code read by the computer is executed, but also part or all of the actual operations are performed by the operating system or the like operating on the computer based on the instructions of the program code, so as to realize the functions of any one of the above embodiments.

[0093] In addition, it should be understood that the program code read by the storage medium is written into the memory provided in the expansion board inserted into the computer or the memory provided in the expansion module connected to the computer, and then part or all of the actual operations are performed by the CPU or the like installed on the expansion board or the expansion module based on the instructions of the program code, so as to realize the functions of any one of the above embodiments.

[0094] The application also provides a radar system, wherein the complex data in the radar system is compressed by using the complex data compression method of the radar system according to any one of the above embodiments.

[0095] Further, the complex data compression method can be performed after the data calibration in the signal preprocessing unit in the radar system.

[0096] In summary, the application provides a radar system, a complex data compression method, a device, an electronic equipment, and a storage medium, and the application can effectively compress the complex data in the radar system, store more data under the same storage space, thereby improving the radar detection performance, and the application only needs to obtain the complex data represented by fixed-point numbers and the preset storage bit width, and involves fewer parameters. In the preferred embodiment of the application, the compression process only needs to perform floating-point calculation once, and then calculate the exponent once, the calculation complexity is low, the tail number is calculated by rounding, and the precision loss of the compressed data is low.

[0097] It should be noted that, in the present document, relational terms such as first and second and the like can be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises", "comprising", or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the element.

[0098] Those skilled in the art can understand that all or part of the steps of the above-mentioned method embodiments can be completed by program instruction related hardware, and the foregoing program can be stored in a computer readable storage medium, and the program performs the steps of the above-mentioned method embodiments when executed; and the foregoing storage medium includes various storage media that can store program codes, such as ROM, RAM, magnetic disk or optical disk.

[0099] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method of complex data compression for a radar system, characterized by, The method comprises: acquiring complex data represented by a fixed-point number, and determining a real part and an imaginary part of the complex data respectively; obtaining first shared data based on absolute values of the real part and the imaginary part; the first shared data is the larger one of an absolute value of the real part and an absolute value of the imaginary part; determining a storage bit width D of a real part mantissa or an imaginary part mantissa based on a preset storage bit width; converting the first shared data into second intermediate data in a floating-point number form based on a storage bit width (D-1) of a storage value; extracting an exponent corresponding to the second intermediate data with 2 as a base; taking the larger one of the extracted exponent and 0 as a compressed exponent; pflt_exp = max(log2(fix_abs_max / 2 (D-1) ), 0), where fix_abs_max / 2 (D-1) represents converting the first shared data into a floating-point form to obtain a real number value thereof; and log2() represents a logarithm calculation with 2 as a base number. obtaining second shared data with 2 as a base and the compressed exponent as an exponent; obtaining a first intermediate mantissa by dividing the real part by the second shared data; obtaining a real part mantissa by rounding off the first intermediate mantissa; Real part mantissa pflt_mant_real = round(fix_real / 2 pflt_exp ) ; wherein fix_real represents the real part of the complex data; obtaining a second intermediate mantissa by dividing the imaginary part by the second shared data; obtaining an imaginary part mantissa by rounding off the second intermediate mantissa; Real part mantissa pflt_mant_real = round(fix_real / 2 pflt_exp ) ; wherein round() represents a rounding off integer calculation; fix_real represents the real part of the complex number data; a storage bit width of the real part and the imaginary part of the complex data is X, a storage bit width of the compressed exponent is I, and a storage bit width of the real part mantissa and the imaginary part mantissa is D; wherein 2D+I<2X, and D, I and X are constants.

2. The method of claim 1, wherein, The method further comprises: outputting the compressed exponent and the corresponding real part mantissa and imaginary part mantissa as compressed pseudo floating-point numbers.

3. A complex data compression device for a radar system, characterized by The device is used to implement the method in any of claims 1-2, and the device comprises: an acquisition module, configured to acquire complex data represented by a fixed-point number, and determine a real part and an imaginary part of the complex data respectively; a first compression module, configured to obtain first shared data based on absolute values of the real part and the imaginary part; the first shared data is the larger one of an absolute value of the real part and an absolute value of the imaginary part; a second compression module, configured to determine a compressed exponent based on the first shared data and a preset storage bit width; a mantissa calculation module, configured to calculate a corresponding real part mantissa based on the determined real part and the compressed exponent, and calculate a corresponding imaginary part mantissa based on the determined imaginary part and the compressed exponent.

4. The apparatus of claim 3, wherein, The device further comprises: an output module, configured to output the compressed exponent and the corresponding real part mantissa and imaginary part mantissa as compressed pseudo floating-point numbers. 5.An electronic device comprising a memory and a processor, the memory having stored therein a computer program, characterized in that, The processor implements the method in any of claims 1-2 when executing the computer program.

6. A storage medium having stored thereon a computer program, characterized in that The computer is caused to execute the method in any of claims 1-2 when the computer program is executed in the computer.

7. A radar system, characterized by The method in any of claims 1-2 is used to compress complex data in the radar system.

Citation Information

Patent Citations

  • Data compression method and device, storage medium and radar system

    CN109977348A