Spaceborne SAR raw data compression method and device
Through the block adaptive quantization method and the Lloyd-Max quantization technology without redundant information, the problem of high resource consumption caused by redundant information in spaceborne SAR data compression is solved, achieving more efficient data compression and lower implementation cost. .
Patent Information
- Application Number
- CN202110716153.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-25
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2041-06-25
AI Technical Summary
The existing spaceborne SAR real-time BAQ data compression method contains a large amount of redundant information, resulting in high resource consumption and implementation costs.
The block adaptive quantization method is used to block the sampled data and separate sign bits, calculate the mean recursively through the sliding window, use the mean-standard deviation reciprocal lookup table for normalization, and achieve no redundancy through the parallel comparison structure Lloyd-Max quantization of information, and finally the data is converted into binary code for packaging and compression.
It reduces the performance loss of quantization distortion, reduces the consumption of digital resources, reduces the system implementation cost, and improves multi-module integration.
Smart Images

Figure CN113452380B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of synthetic aperture radar and data processing technology, and in particular to a method and device for compressing raw data of a space-borne SAR. Background Art
[0002] Compression of raw data from spaceborne synthetic aperture radar (SAR) is an effective way to solve the contradiction between the massive data obtained from observation missions and the limited storage resources and communication bandwidth. Considering the complexity, real-time and performance factors of the specific implementation of the spaceborne SAR digital processing system, the compression algorithm based on block adaptive quantization (BAQ) is the most practical solution.
[0003] In hardware implementation, the sampled data needs to be divided into blocks in the range and azimuth directions, and the mean of the next sampled data block is recursively estimated using the sliding window accumulation method in the azimuth direction. Then, the corresponding standard deviation is obtained by nonlinear mapping, and the data is normalized using the standard deviation. For Gaussian distributed quantized data, the nonlinear mapping relationship between the signal amplitude mean and the 8-bit ADC input signal standard deviation is:
[0004]
[0005] Where σ represents the standard deviation of the input signal and the error function is defined as:
[0006]
[0007] Use as Figure 1 After the data is normalized using the mean-ADC input standard deviation relationship shown, the Lloyd-Max quantizer can be used to optimally quantize the data.
[0008] The traditional real-time BAQ solution adopts a method of combining high and low addresses with coding storage, taking the mean of the data block as the high address and the absolute value of the sampled data as the low address, and using direct addressing and table lookup for compression encoding. Due to the long addresses in this decoding mode, a large amount of redundant information exists in the required code book, and the corresponding required on-board digital resources are also large.
[0009] In summary, how to more effectively reduce the system's resource consumption and implementation cost is a technical problem that needs to be solved urgently. Summary of the invention
[0010] 1. Technical issues to be resolved
[0011] Based on the above problems, the present disclosure provides a method and device for compressing raw data of spaceborne SAR to alleviate the technical problems in the existing real-time BAQ data compression method, such as a large amount of redundant information and large resource occupation.
[0012] (II) Technical solution
[0013] The present disclosure provides a method for compressing raw data of a space-borne SAR, comprising: operation S1: dividing the sampled data into blocks and separating the sign bit; operation S2: obtaining the mean of the next sampled data block based on the mean of the previous sampled data block, and then obtaining the mean of all the sampled data blocks; operation S3: obtaining a normalization factor through the mean of the sampled data block, thereby normalizing the sampled data to obtain normalized data; operation S4: converting the normalized data into a temperature code based on a parallel comparison structure; operation S5: converting the temperature code into a binary code; operation S6: splicing the mean, sign bit and binary code bit of the sampled data block and packaging them for compression.
[0014] According to an embodiment of the present disclosure, during operation S1, the sampled data is divided into blocks in the range direction and the azimuth direction.
[0015] According to an embodiment of the present disclosure, during operation S2, a sliding window method is adopted to obtain the mean of a subsequent sampling data block based on the mean of a previous sampling data block through pipeline recursion.
[0016] According to an embodiment of the present disclosure, the normalization factor is the reciprocal of the standard deviation, and the data is quantized once by multiplying the sampled data with different standard deviations by the reciprocal of the standard deviation.
[0017] According to an embodiment of the present disclosure, during the normalization operation, the block mean is used as the address to obtain the inverse of the standard deviation through the mean-inverse standard deviation lookup table, where the standard deviation refers to the ADC input standard deviation, and the normalized sampling data will approximately obey the standard normal distribution.
[0018] According to an embodiment of the present disclosure, the parallel comparison structure is configured based on a Lloyd-Max threshold lookup table without redundant information.
[0019] According to an embodiment of the present disclosure, in operation S5, the temperature code is converted into a binary code by a binary transcoder.
[0020] Another aspect of the present disclosure provides a spaceborne SAR raw data compression device, which compresses the spaceborne SAR raw data using the compression method described in any one of the above items, and the compression device includes: a data distributor, which is used to block the sampled data, separate the sign bit and count it; a block sliding window mean recursive device, which is used to obtain the mean of the next sampled data block based on the mean of the previous sampled data block, and then obtain the mean of all sampled data blocks; a mean-standard deviation inverse lookup table, which is used to obtain a normalization factor based on the mean of the sampled data block, so as to normalize the sampled data to obtain normalized data; a secondary quantizer, which converts the normalized data into a temperature code based on a parallel comparison structure configured with a Lloyd-Max threshold lookup table without redundant information; a binary transcoder, which converts the temperature code into a binary code; and a data former, which is used to package and compress the mean, sign bit and binary code bit of the sampled data block after splicing.
[0021] According to an embodiment of the present disclosure, the binary transcoder first decodes the temperature code into a one-hot code, and then converts the one-hot code into a compressed binary code output.
[0022] According to an embodiment of the present disclosure, the binary transcoder includes two sub-decoders.
[0023] (III) Beneficial effects
[0024] It can be seen from the above technical solutions that the spaceborne SAR raw data compression method and device disclosed in the present invention has at least one or part of the following beneficial effects:
[0025] (1) It can reduce the performance loss caused by quantization distortion;
[0026] (2) It reduces the consumption of digital resources by the traditional real-time data compression module based on the BAQ algorithm;
[0027] (3) It reduces the implementation cost of the system and helps improve the integration between multiple modules of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 The figure is a schematic diagram of the relationship between the mean value and the ADC input standard deviation when the sampled data is normalized in the prior art.
[0029] Figure 2 The figure is a schematic diagram of the process architecture of the spaceborne SAR raw data compression method according to an embodiment of the present disclosure.
[0030] Figure 3 The schematic diagram of the architecture of the spaceborne SAR raw data compression device according to an embodiment of the present disclosure.
[0031] Figure 4Schematic diagram of a partial Lloyd-Max quantization threshold lookup table according to an embodiment of the present disclosure.
[0032] Figure 5 The figure is a flow chart of a method for compressing raw data of a spaceborne SAR according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0033] The present invention discloses a spaceborne SAR raw data compression method and device, which is an improved spaceborne synthetic aperture radar raw data compression processing method based on block adaptive quantization, and uses ADC input standard deviation instead of output standard deviation in traditional scheme to design code table, which can reduce the performance loss caused by quantization distortion when the signal saturation is high. This design reduces the consumption of digital resources by the traditional real-time data compression module based on BAQ algorithm, reduces the implementation cost of the system, and helps the system improve the integration between multiple modules.
[0034] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0035] In an embodiment of the present disclosure, a method for compressing raw data of a spaceborne SAR is provided. Figures 2 to 5 As shown, the spaceborne SAR raw data compression method comprises:
[0036] Operation S1: Divide the sampled data into blocks and separate the sign bit;
[0037] Operation S2: obtaining the mean value of the next sampling data block based on the mean value of the previous sampling data block through a pipeline recursive method, and then obtaining the mean values of all sampling data blocks;
[0038] According to the embodiment of the present disclosure, the sampling data is accumulated in blocks in the range and azimuth directions to obtain multiple sampling data blocks, and the mean of the next sampling data block is recursively deduced by the mean azimuth of the previous sampling data block. The accumulation adopts a sliding window method, that is, not all pulse samples are updated, and some old data are retained to participate in the statistical mean.
[0039] Operation S3: obtaining a normalization factor based on the mean value of the sampled data block, thereby normalizing the sampled data to obtain normalized data;
[0040] Use the "mean-inverse standard deviation" lookup table to normalize the next data block based on the mean of the previous sampled data block;
[0041] Operation S4: converting the normalized data into a temperature code based on a parallel comparison structure;
[0042] According to the disclosed embodiment, a parallel comparator is configured using a Lloyd-Max threshold lookup table to perform secondary quantization on the normalized data and convert the data into a temperature code;
[0043] Operation S5: converting the temperature code into a binary code;
[0044] Convert the temperature code into binary code using a decoder;
[0045] Operation S6: concatenate the mean value of the sampled data block, the sign bit of each sampled data, and the binary code bit, and then pack and compress them.
[0046] According to an embodiment of the present disclosure, the mean value of the sampled data block, the sign bit of each sampled data, and the compressed coded binary bits are concatenated and packaged for output.
[0047] In a second aspect, the present disclosure provides a spaceborne SAR raw data compression device, such as Figure 3 As shown, including:
[0048] a data distributor that splits the data into sign bits, blocks, and counts;
[0049] A block sliding mean recursive processor that takes block sampled data as input;
[0050] A primary quantizer that normalizes the sampled data block based on a "mean-inverse standard deviation" lookup table;
[0051] A quadratic quantizer based on a parallel comparator structure;
[0052] A Lloyd-Max quantization threshold lookup table without redundant information;
[0053] a binary transcoder;
[0054] a data former for bit splicing;
[0055] According to an embodiment of the present disclosure, the data distributor is composed of a counter and a flag bit group, and the output end branches out a sign bit and an absolute value of the sampled data.
[0056] According to the embodiments of the present disclosure, the sliding mean recursor is composed of a counter and an accumulator. When the size of the block data is exactly an integer power of 2, the average value can be directly obtained by directly intercepting the higher bits of the output of the accumulator.
[0057] According to an embodiment of the present disclosure, the "mean-inverse standard deviation" lookup table selects the inverse of the standard deviation rather than the standard deviation itself in order to facilitate a quantizer to achieve normalization through multiplication, because a multiplier occupies much less resources than a divider.
[0058] According to an embodiment of the present disclosure, the secondary quantizer based on the parallel comparator structure is configured by a Lloyd-Max threshold lookup table without redundant information, wherein the delay of the parallel comparison structure is very low and the temperature code output can be directly obtained.
[0059] According to an embodiment of the present disclosure, the Lloyd-Max quantizer lookup table achieves non-redundant storage by retaining only necessary quantization intervals.
[0060] According to an embodiment of the present disclosure, the binary transcoder is composed of two sub-decoders, the temperature code is decoded into a one-hot code through combinational logic, and the one-hot code can also be decoded into a binary code by combinational logic. The modules do not occupy high resources and the overall delay is low.
[0061] According to an embodiment of the present disclosure, the data generator for bit splicing packages and splices a plurality of pre-designed bits: block mean, sign bit and binary-coded data into a byte stream for output according to a certain protocol.
[0062] The present disclosure will be described in detail below in conjunction with the accompanying drawings. It should be noted that the described embodiments are only intended to facilitate the understanding of the present disclosure and do not have any limiting effect thereon.
[0063] After the sampled data is split into sign bits and blocks, it enters the sliding recursor. The submodule accumulates the absolute value of the sampled data in the distance and azimuth directions, and uses the mean of the previous multiple sampled data blocks to recursively calculate the mean of the next sampled data block. The accumulation adopts a sliding window method, that is, not updating all pulse samples, but retaining some old data to participate in the statistical mean.
[0064] The traditional real-time data compression scheme for spaceborne SAR uses the mean of the data block as the high-order address and the absolute value of the sampled data as the low-order address, and uses direct addressing and table lookup for compression encoding. This decoding mode requires a large amount of spaceborne digital resources because the addressing code is particularly long and there is a large amount of redundant information in the required code book.
[0065] If 7 bits are used for AD data and 7 bits are also used for mean encoding, the address length of the code table will reach 14 bits. In order to adapt to BAQ modes with different compression rates, the code table content generally contains code words with 2, 3, 4, and 5 different compression rates. When the system is compatible with the functions of 8:1 (only the sign bit is retained), 8:2, 8:3, 8:4, 8:5, and 8:6, the code table size required by the system is:
[0066] 2 (7+7) ×(1+2+3+4+5)=240Kbits=30KB;
[0067] For the onboard FPGA, this is a considerable storage space requirement. The reason for such a large demand is that there should be only one Lloyd-Max code table, but in order to adapt to different mean gears, it is multiplied by the mean square error corresponding to 128 different means, and thus 128 copies are made. In addition, each of the 128 sampling values has an exclusive code value, but each code table does not have 128 different code values. For example, for 8:2, there are actually only 2 values in the code table, and the 2 values appear a total of 128 times. Furthermore, for azimuth multi-channel systems, if there are multiple blocks of data and BAQ pipeline operations at the same time, the storage requirements must be multiplied by the number of channels on this basis.
[0068] In order to reduce the storage resource usage of the system, the present disclosure splits the decoding process and decouples a large table into two small tables. The first table is a "mean-standard deviation inverse" mapping lookup table, and its mapping relationship is as follows: Figure 1 As shown, the normalization factor can be quickly obtained from the table through the block mean, and the sampled data with different standard deviations are multiplied by the inverse of the estimated standard deviation to quantize the data once, and obtain data that obeys the standard normal distribution, so as to prepare for secondary quantization by the unified Lloyd-Max quantizer.
[0069] In order to minimize resource usage, the table is specially designed as a "mean-inverse standard deviation" mapping lookup table. The advantage of using the inverse standard deviation instead of the standard deviation is that the digital system only needs to use a multiplier to achieve normalization. This is because the dividers in the FPGA are all sequential logic circuits, and their delay and resource usage are much larger than the integer multipliers. The latter can be implemented with a small number of combinational logic circuits, with low delay and less resource usage.
[0070] The normalization process proposed in this paper using multiplication instead of division requires the use of fixed-point number operation rules to implement this operation. Therefore, for the three numbers involved in the operation: sampled data, factors in the mean-standard deviation inverse mapping table, and Lloyd-Max quantization code table, some binary expression conversion is performed to understand them as fixed-point decimals with a certain precision. Of course, they are still stored and operated in an integer structure to achieve a full-integer pipeline architecture without division. At this time, the input sampled data is multiplied by the factors in the "mean-mean square error inverse" mapping table, and the standard deviation is σ, then the factor is the inverse of the standard deviation 1\σ, which is described by a binary fixed-point number with a certain precision.
[0071] Now the following is described in conjunction with specific embodiments:
[0072] For example, a 7-bit data 40 is multiplied by a normalized standard deviation factor of 1 / 50.361244=0.0199, and the factor is represented by 8-bit word length precision, with the decimal point before the first digit. The calculation process is represented as follows in Table 1:
[0073] Table 1
[0074] Operation process result Decimal calculation process 40×0.0199 0.7943 Binary calculation process 010_1000×0000_0101 0000_0000_1100_1000
[0075] For the binary calculation result, because it contains an 8-bit fixed-point decimal part, the decimal point should be placed at the 8th position from the right to the left. The result is 0.11001000, which is 0.7812. Compared with the exact value of 0.7943, there is a certain loss of precision. If the word length of the factor is increased to 16 bits, the calculation result is 0.7941, which shows that the effectiveness of fixed-point decimal calculation can be guaranteed, and increasing the word length of the factor helps to improve the accuracy of the result.
[0076] After scaling the data using factors represented by fixed-point decimals, the data is highly conformed to the standard normal distribution. At this time, the original Lloyd-Max code table is also expanded to a binary fixed-point decimal representation. After the decimal points are aligned and comparison operations are performed, a unified Lloyd-Max code table can be used to complete secondary encoding according to the threshold level.
[0077] In this way, only two code tables are needed: a "mean-mean square error inverse" lookup table and a Lloyd-Max threshold lookup table. The storage space requirement is no longer the product of the two, but the superposition of the two requirements. Assuming that the order of the "mean-mean square error inverse" table is 128, and the word length of the inverse factor and the word length of the threshold are both 8 bits, then the storage space required is
[0078] 2 (7) +(2 1 +2 2 +2 3 +2 4 +2 5 )×8=1520bits<1.5KB;
[0079] Compared with the original method, the proposed improved method can save more than 20 times of storage resources.
[0080] The above is only one embodiment of the present disclosure, and the present disclosure is still applicable in other cases, and is not intended to limit the protection scope of the present disclosure.
[0081] The present invention splits the original encoding steps by adding a small amount of logical operation resources. The decoupled encoding process reduces the overall resource usage of the system, and combines the data block technology to realize data preprocessing by recursively deducing the mean of the next sampled data block in the azimuth direction. This improvement overcomes the traditional solution's need for a large amount of storage resources, so that the module has lower resource usage while ensuring functionality and performance.
[0082] So far, the embodiments of the present disclosure have been described in detail in conjunction with the accompanying drawings. It should be noted that the implementation methods not shown or described in the drawings or the body of the specification are all forms known to ordinary technicians in the relevant technical field and are not described in detail. In addition, the above definitions of each element and method are not limited to the various specific structures, shapes or methods mentioned in the embodiments, and ordinary technicians in the field can simply change or replace them.
[0083] Based on the above description, those skilled in the art should have a clear understanding of the spaceborne SAR raw data compression method and device disclosed in the present invention.
[0084] In summary, the present disclosure provides a method and device for compressing raw data of a space-borne SAR, which is an improved method and device for compressing raw data of a space-borne synthetic aperture radar based on block adaptive quantization, including: dividing the sampled data into blocks in two dimensions, namely, the range direction and the azimuth direction, performing pipeline recursive processing between the azimuth blocks, normalizing the next sampled data block based on the mean of the first few sampled data blocks using a mean-variance inverse table, encoding the data into a temperature code using a secondary quantizer implemented based on a parallel comparison structure, and then using a decoder to transcode the temperature code into a binary code, and finally a data former packing the block mean, a sign bit and the corresponding binary, and splicing the pipeline bits for output. The device includes: a sliding recursive device for averaging the sampled data block; a lookup table for realizing the "mean-inverse of standard deviation" mapping; a primary quantizer for normalizing the data; a non-redundant quantization threshold lookup table based on the Lloyd-Max quantizer design; a secondary quantizer based on parallel comparison implementation; an encoder based on temperature code-unique hot code-binary implementation; and a data former for completing bit splicing of all data. The present disclosure abandons the traditional encoding method of combining high and low addresses with addressing, removes the redundant storage information in the traditional scheme, and only requires a small amount of storage resources to realize the complete BAQ encoding function, effectively reducing the cost of implementation.
[0085] It should also be noted that the directional terms mentioned in the embodiments, such as "upper", "lower", "front", "back", "left", "right", etc., are only reference directions of the drawings and are not intended to limit the scope of protection of the present disclosure. Throughout the drawings, the same elements are represented by the same or similar reference numerals. Conventional structures or configurations will be omitted when they may cause confusion in the understanding of the present disclosure.
[0086] Moreover, the shapes and sizes of the components in the figures do not reflect the real size and proportion, but only illustrate the contents of the embodiments of the present disclosure. In addition, in the claims, any reference symbols between brackets shall not be constructed as limiting the claims.
[0087] Furthermore, the word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements.
[0088] The ordinal numbers used in the specification and claims, such as "first", "second", "third", etc., to modify the corresponding elements, do not themselves mean that the elements have any ordinal numbers, nor do they represent the order of one element and another element, or the order in the manufacturing method. The use of these ordinal numbers is only used to clearly distinguish a component with a certain name from another component with the same name.
[0089] In addition, unless the steps are specifically described or must occur in sequence, the order of the above steps is not limited to the above list, and can be changed or rearranged according to the required design. And the above embodiments can be mixed and matched with each other or with other embodiments based on design and reliability considerations, that is, the technical features in different embodiments can be freely combined to form more embodiments.
[0090] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and set in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into multiple submodules or subunits or subcomponents. All features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination, except that at least some of such features and / or processes or units are mutually exclusive. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature that provides the same, equivalent or similar purpose. Furthermore, in a unit claim that lists several devices, several of these devices may be embodied by the same hardware item.
[0091] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present disclosure. It should be understood that the above description is only a specific embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure should be included in the protection scope of the present disclosure.
Claims
1. A method for compressing raw data of spaceborne SAR. include: Operation S1: Divide the sampled data into blocks and separate the sign bit; Operation S2: obtaining the mean value of the next sampling data block based on the mean value of the previous sampling data block, and then obtaining the mean values of all sampling data blocks; Operation S3: obtaining a normalization factor through the mean value of the sampled data block, thereby normalizing the sampled data to obtain normalized data; Operation S4: converting the normalized data into a temperature code based on a parallel comparison structure; Operation S5: converting the temperature code into a binary code; Operation S6: concatenating the mean value, the sign bit and the binary code bit of the sampled data block and then packing and compressing them; The normalization factor is the reciprocal of the standard deviation, and the data is quantized once by multiplying the sampled data with different standard deviations by the reciprocal of the standard deviation; During the normalization operation, the block mean is used as the address to obtain the inverse of the standard deviation through the mean-standard deviation inverse lookup table, where the standard deviation refers to the ADC input standard deviation. The normalized sampling data will approximately obey the standard normal distribution.
2. According to the spaceborne SAR raw data compression method of claim 1, during operation S1, the sampled data is divided into blocks in the range direction and the azimuth direction.
3. According to the spaceborne SAR raw data compression method of claim 1, in operation S2, a sliding window method is adopted to obtain the mean of the next sampling data block based on the mean of the previous sampling data block by pipeline recursion.
4. The spaceborne SAR raw data compression method according to claim 1, wherein the parallel comparison structure is configured based on a Lloyd-Max threshold lookup table without redundant information.
5. The spaceborne SAR raw data compression method according to claim 1, in operation S5, the temperature code is converted into a binary code by a binary transcoder.
6. A spaceborne SAR raw data compression device, which compresses the spaceborne SAR raw data using the compression method according to any one of claims 1 to 5, wherein the compression device include: A data distributor for dividing the sampled data into blocks and separating the sign bits and counting them; A block sliding window mean recursive device is used to obtain the mean of the next sampling data block based on the mean of the previous sampling data block, and then obtain the mean of all sampling data blocks; A mean-standard deviation inverse lookup table, used to obtain a normalization factor based on the mean of the sampled data block, thereby normalizing the sampled data to obtain normalized data; A secondary quantizer converts the normalized data into a temperature code based on a parallel comparison structure configured with a Lloyd-Max threshold lookup table without redundant information; A binary transcoder, converting the temperature code into a binary code; as well as The data former is used for concatenating the mean value, sign bit and binary code bit of the sampled data block and then packing and compressing them.
7. The spaceborne SAR raw data compression device according to claim 6, wherein the binary transcoder first decodes the temperature code into a one-hot code, and then converts the one-hot code into a compressed binary code output. 8 . The spaceborne SAR raw data compression device according to claim 7 , wherein the binary transcoder comprises two sub-decoders.
