A 2-bit digitization method for analog signals and related equipment
By sampling, phase shifting and quantizing the analog signal, and combining the two comparators into a 2-bit signal, the problem of high digitization cost of analog signals is solved, and efficient quantization and harmonic suppression at low sampling rates are achieved, which is suitable for digital receivers of small mobile platforms.
Patent Information
- Application Number
- CN202210997905.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-19
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2042-08-19
AI Technical Summary
The existing 2-bit digitalization scheme for analog signals is costly and limited in performance, and is difficult to effectively solve the problem of high-order harmonic aliasing.
By sampling, phase shifting, and then quantizing the target analog signal, two comparators are used to combine the 1-bit signal into a 2-bit signal, and suppressing the nonlinear quantization effect at low sampling rate is achieved.
Low-precision quantization is achieved at low sampling rates, reducing hardware complexity and implementation costs, while effectively suppressing high-order harmonics, suitable for digital receiver design for small mobile platforms.
Smart Images

Figure CN115425978B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of signal processing technology, and in particular to a 2-bit digitization method for analog signals and related equipment. Background Art
[0002] With the rapid development of computers and information technology, digital signal processing technology has rapidly evolved. Compared to traditional analog signal processing, it offers significant advantages such as flexibility, precision, strong interference resistance, compact size, low cost, and high speed. Converting analog signals into digital signals is the foundation and prerequisite for digital signal processing. Therefore, nearly every field of engineering technology involves analog-to-digital conversion.
[0003] Currently, there are two common approaches to digitizing analog signals (Analog Digital Conversion, ADC) in two bits. One involves sampling the analog signal and then performing high-precision quantization on the sampled values to minimize quantization error. This approach typically places high demands on the accuracy of the analog-to-digital converter and is costly. The other approach involves performing low-precision quantization on a single bit of the analog signal. This approach can reduce hardware complexity to a certain extent, but it also introduces higher-order harmonics, reducing performance. Furthermore, a higher sampling rate is often required to reduce aliasing of higher-order harmonics. This drawback also increases the data volume required for single-bit analog-to-digital conversion.
[0004] Therefore, the existing technology still needs to be improved and enhanced. Summary of the Invention
[0005] The present invention provides a 2-bit digitization method for analog signals and related equipment, aiming to solve the problem of high cost in converting analog signals into digital signals in the prior art.
[0006] A first aspect of the present invention provides a method for digitizing an analog signal 2 bits, comprising:
[0007] Acquire a target analog signal, and sample the target analog signal to obtain a first sampling signal;
[0008] performing phase shift processing on the target analog signal to obtain a target phase-shifted signal, and sampling the target phase-shifted signal to obtain a second sampling signal;
[0009] quantizing the first sampling signal to obtain a first quantized signal, and quantizing the second sampling signal to obtain a second quantized signal, wherein the first quantized signal and the second quantized signal are 1-bit signals;
[0010] The first quantized signal and the second quantized signal are combined to obtain a target quantized signal, where the target quantized signal is a 2-bit signal.
[0011] The performing phase shift processing on the target analog signal includes:
[0012] The target analog signal is phase delay.
[0013] The quantizing the first sampling signal to obtain a first quantized signal includes:
[0014] The first sampling signal is quantized by a first comparator to obtain a first quantized signal.
[0015] The quantizing the first sampling signal through a first comparator includes:
[0016] Performing bit quantization on the first sampling signal, where a sampling value is greater than a preset value and the quantization output is a first value, and a sampling value is less than the preset value and the quantization output is a second value;
[0017] The preset value is 0, the first value is +1, and the second value is -1.
[0018] The quantizing the second sampling signal to obtain a second quantized signal includes:
[0019] The second sampling signal is quantized by a second comparator to obtain a second quantized signal.
[0020] The quantizing the second sampling signal through a second comparator includes:
[0021] Performing bit quantization on the second sampling signal, where the sampling value is greater than a preset value and the quantization output is a first value, and is less than the preset value and the quantization output is a second value;
[0022] The preset value is 0, the first value is +1, and the second value is -1.
[0023] The sampling of the target analog signal includes:
[0024] Sampling the target analog signal in time series;
[0025] The sampling of the target phase-shifted signal includes:
[0026] The target phase-shifted signal is sampled in a time series.
[0027] A second aspect of the present invention provides a 2-bit analog signal digitization device, comprising:
[0028] a target signal acquisition module, the target signal acquisition module being configured to acquire a target analog signal, sample the target analog signal, and obtain a first sampling signal;
[0029] a second sampling signal acquisition module, configured to perform phase shift processing on the target analog signal to obtain a target phase-shifted signal, and sample the target phase-shifted signal to obtain a second sampling signal;
[0030] a quantized signal acquisition module, configured to quantize the first sampled signal to obtain a first quantized signal, and quantize the second sampled signal to obtain a second quantized signal, wherein the first quantized signal and the second quantized signal are 1-bit signals;
[0031] A target quantization signal acquisition module is used to combine the first quantization signal and the second quantization signal to obtain a target quantization signal, where the target quantization signal is a 2-bit signal.
[0032] According to a third aspect of the present invention, a terminal is provided, comprising: a memory, a processor, and an analog signal 2-bit digitization program stored in the memory and executable on the processor, wherein the analog signal 2-bit digitization program, when executed by the processor, implements the steps of the analog signal 2-bit digitization method described above.
[0033] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the analog signal 2-bit digitization method described in any one of the above items.
[0034] Beneficial effects: Compared with the prior art, the present invention provides a 2-bit digitization method for analog signals and related equipment. In the 2-bit digitization method for analog signals provided by the present invention, a target analog signal is acquired, the target analog signal is sampled to obtain a first sampling signal; the target analog signal is phase-shifted to obtain a target phase-shifted signal, the target phase-shifted signal is sampled to obtain a second sampling signal; the first sampling signal is quantized to obtain a first quantized signal, the second sampling signal is quantized to obtain a second quantized signal; the first quantized signal is combined with the second quantized signal to obtain a target quantized signal. The method provided by the present invention suppresses the nonlinear quantization effect under low-precision quantization at a low sampling rate, has low quantization data, a simple quantization system, and low implementation cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 A flowchart of an embodiment of a method for digitizing an analog signal 2 bits provided by the present invention;
[0036] Figure 2A signal processing flow chart of an embodiment of the method for digitizing an analog signal 2 bits provided by the present invention;
[0037] Figure 3 A spectrum diagram of an analog signal before 2-bit digitization in an embodiment of the analog signal 2-bit digitization method provided by the present invention;
[0038] Figure 4 A spectrum diagram of a quantized signal in an embodiment of the method for digitizing an analog signal 2 bits provided by the present invention;
[0039] Figure 5 A 2-bit digitized signal spectrum diagram in an embodiment of the 2-bit digitization method for analog signals provided by the present invention;
[0040] Figure 6 A schematic diagram showing the structure of an embodiment of a 2-bit analog signal digitization device provided by the present invention;
[0041] Figure 7 This is a structural principle diagram of an embodiment of a terminal provided by the present invention. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0043] It will be understood by those skilled in the art that, unless expressly stated otherwise, the singular forms "a", "an", "said" and "the" used herein may also include the plural forms. It should be further understood that the term "comprising" used in the description of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be intermediate elements. In addition, "connected" or "coupled" as used herein may include wireless connections or wireless couplings. The term "and / or" used herein includes all or any units and all combinations of one or more associated listed items.
[0044] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in common dictionaries should be understood to have meanings consistent with their meanings in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless specifically defined as herein.
[0045] Example 1
[0046] The analog signal 2-bit digitization method provided in this embodiment can be executed by a terminal, which can be, but is not limited to, a smart terminal, a computer, etc. The following description will be made using a smart terminal as an example. Figure 1 As shown, the analog signal 2-bit digitization method provided in this embodiment includes the steps of:
[0047] S100: Acquire a target analog signal, and sample the target analog signal to obtain a first sampling signal.
[0048] When the target analog signal is received, the target analog signal is sampled. The sampling of the target analog signal includes:
[0049] The target analog signal is sampled in time series.
[0050] The sampling of the target analog signal in time series includes:
[0051] The target analog signal is sampled at fixed time intervals and sorted in chronological order to obtain the first sampling signal arranged in a fixed time sequence.
[0052] S200 , performing phase shift processing on the target analog signal to obtain a target phase-shifted signal, and sampling the target phase-shifted signal to obtain a second sampling signal.
[0053] Reference Figure 2 , while sampling the target analog signal, also performing phase shift processing on the target analog signal. Wherein, performing phase shift processing on the target analog signal includes:
[0054] The target analog signal is phase delay.
[0055] Specifically, the target analog signal is The target phase-shifted signal is obtained by sampling the target phase-shifted signal to obtain the second sampling signal.
[0056] The sampling of the target phase-shifted signal includes:
[0057] The target phase-shifted signal is sampled in a time series.
[0058] The sampling of the target analog signal in time series includes:
[0059] The target phase-shifted signal is sampled at fixed time intervals and sorted in chronological order to obtain the second sampling signal arranged in a fixed time sequence.
[0060] Reference Figure 1 , the analog signal 2-bit digitization method further includes the steps of:
[0061] S300: quantize the first sampling signal to obtain a first quantized signal, and quantize the second sampling signal to obtain a second quantized signal, wherein the first quantized signal and the second quantized signal are 1-bit signals.
[0062] The quantizing the first sampling signal to obtain a first quantized signal includes:
[0063] S310 , quantize the first sampling signal through a first comparator to obtain a first quantized signal.
[0064] The first comparator may be a comparator, a single-bit quantizer, or other devices or methods capable of converting an analog signal into a 1-bit digital signal.
[0065] The quantizing the first sampling signal through a first comparator includes:
[0066] S311, performing bit quantization on the first sampling signal, where a sampling value is greater than a preset value and the quantization output is a first value, and a sampling value is less than the preset value and the quantization output is a second value;
[0067] The preset value is 0, the first value is +1, and the second value is -1.
[0068] Specifically, the first sampling signal is sequentially quantized by the first comparator in a time series, and the quantization output is +1 if the value is greater than 0, and the quantization output is -1 if the value is less than 0, thereby forming a 1-bit quantized signal data.
[0069] S320, quantizing the second sampling signal to obtain a second quantized signal, includes:
[0070] The second sampling signal is quantized by a second comparator to obtain a second quantized signal.
[0071] The quantizing the second sampling signal through a second comparator includes:
[0072] S321: Perform bit quantization on the second sampling signal. If the sampling value is greater than a preset value, the quantization output is a first value; if the sampling value is less than the preset value, the quantization output is a second value.
[0073] The preset value is 0, the first value is +1, and the second value is -1.
[0074] Specifically, the second sampling signal is sequentially quantized by the second comparator in a time series, and the quantization output is +1 if the value is greater than 0, and the quantization output is -1 if the value is less than 0, thereby forming a 1-bit quantized signal data.
[0075] S400: Combine the first quantized signal and the second quantized signal to obtain a target quantized signal, where the target quantized signal is a 2-bit signal.
[0076] Specifically, the first quantization model and the second quantization signal are combined in parallel according to the time sequence to form a 2-bit quantization signal, namely the target quantization signal. The target quantization signal is a 2-bit signal including four types: (1, 1), (1, -1), (-1, 1), and (-1, -1).
[0077] The target quantized signal is output.
[0078] The following simulation experiment further illustrates the above embodiment, and the simulation is performed using MATLAB software.
[0079] The parameters of the simulation example are as follows: a sine wave with a frequency of 50 Hz is digitized, Figure 3 is a spectrum diagram of the target analog signal before 2-bit digitization in this embodiment, Figure 4 is a spectrum diagram of the quantized signal described in this embodiment, Figure 5 : is the spectrum diagram of the target quantized signal described in this embodiment (2-bit digitized signal spectrum diagram).
[0080] As can be seen, first, this embodiment has a low implementation cost, requiring only the simplest first comparator to compare the sampled signal with 0 and quantize the sampled signal to obtain the first value or the second value. Second, this embodiment has low implementation requirements and can suppress high-order harmonics at low sampling rates, facilitating its application in numerous engineering applications. Finally, the solution in this embodiment has the advantage of low data volume, facilitating the lightweight design of future digital receivers and making it more suitable for application on small, mobile, and unmanned platforms.
[0081] In summary, this embodiment provides a 2-bit digitization method for an analog signal, comprising: obtaining a target analog signal, sampling the target analog signal to obtain a first sampling signal; performing phase shift processing on the target analog signal to obtain a target phase-shifted signal; sampling the target phase-shifted signal to obtain a second sampling signal; quantizing the first sampling signal to obtain a first quantized signal; quantizing the second sampling signal to obtain a second quantized signal, wherein the first quantized signal and the second quantized signal are 1-bit signals; and combining the first quantized signal and the second quantized signal to obtain a target quantized signal, wherein the target quantized signal is a 2-bit signal. The present invention can suppress the nonlinear quantization effect under low-precision quantization at a low sampling rate, with low quantization data, a simple quantization system, and low implementation cost.
[0082] It should be understood that, although the steps in the flowcharts provided in the accompanying drawings of the present invention are shown in sequence as indicated by the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of the steps in the present invention, and these steps may be performed in other orders. Moreover, at least a portion of the steps of the present invention may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily performed at the same time, but may be performed at different times. The execution order of these sub-steps or stages is not necessarily to be performed in sequence, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0083] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by signaling related hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the above-mentioned embodiments. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention 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 DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0084] Example 2
[0085] Based on the above embodiment, the present invention also provides a 2-bit analog signal digitization device, the functional module diagram of which is shown in FIG. Figure 6 As shown, the analog signal 2-bit digitizing device includes:
[0086] a target signal acquisition module, the target signal acquisition module being configured to acquire a target analog signal, sample the target analog signal, and obtain a first sampling signal;
[0087] a second sampling signal acquisition module, configured to perform phase shift processing on the target analog signal to obtain a target phase-shifted signal, and sample the target phase-shifted signal to obtain a second sampling signal;
[0088] a quantized signal acquisition module, configured to quantize the first sampled signal to obtain a first quantized signal, and quantize the second sampled signal to obtain a second quantized signal, wherein the first quantized signal and the second quantized signal are 1-bit signals;
[0089] A target quantization signal acquisition module is used to combine the first quantization signal and the second quantization signal to obtain a target quantization signal, where the target quantization signal is a 2-bit signal.
[0090] Example 3
[0091] like Figure 7 As shown, based on the above-mentioned 2-bit digitization method for analog signals, the present invention also provides a terminal, which includes a processor 10, a memory 20 and a display 30. Figure 7 Only some of the components of the terminal are shown, but it should be understood that implementation of all of the shown components is not required, and more or fewer components may be implemented instead.
[0092] In some embodiments, the memory 20 may be an internal storage unit of the terminal, such as a hard disk or memory of the terminal. In other embodiments, the memory 20 may also be an external storage device of the terminal, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the terminal. Furthermore, the memory 20 may also include both an internal storage unit of the terminal and an external storage device. The memory 20 is used to store application software and various types of data installed on the terminal, such as program code of the installation terminal, etc. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, an analog signal 2-bit digitization program 40 is stored on the memory 20, and the analog signal 2-bit digitization program 40 can be executed by the processor 10, thereby realizing the analog signal 2-bit digitization method in the present application.
[0093] In some embodiments, the processor 10 may be a central processing unit (CPU), a microprocessor, or other data processing chip, configured to execute program codes or process data stored in the memory 20, such as executing the analog signal 2-bit digitization method.
[0094] In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen. The display 30 is used to display information on the terminal and to display a visual user interface. The components 10-30 of the terminal communicate with each other via a system bus.
[0095] In one embodiment, when the processor 10 executes the analog signal 2-bit digitization program 40 in the memory 20, the following steps are implemented:
[0096] Acquire a target analog signal, and sample the target analog signal to obtain a first sampling signal;
[0097] performing phase shift processing on the target analog signal to obtain a target phase-shifted signal, and sampling the target phase-shifted signal to obtain a second sampling signal;
[0098] quantizing the first sampling signal to obtain a first quantized signal, and quantizing the second sampling signal to obtain a second quantized signal, wherein the first quantized signal and the second quantized signal are 1-bit signals;
[0099] The first quantized signal and the second quantized signal are combined to obtain a target quantized signal, where the target quantized signal is a 2-bit signal.
[0100] The performing phase shift processing on the target analog signal includes:
[0101] The target analog signal is phase delay.
[0102] The quantizing the first sampling signal to obtain a first quantized signal includes:
[0103] The first sampling signal is quantized by a first comparator to obtain a first quantized signal.
[0104] The step of quantizing the first sampling signal through a first comparator includes:
[0105] Performing bit quantization on the first sampling signal, where a sampling value is greater than a preset value and the quantization output is a first value, and a sampling value is less than the preset value and the quantization output is a second value;
[0106] The preset value is 0, the first value is +1, and the second value is -1.
[0107] The quantizing the second sampling signal to obtain a second quantized signal includes:
[0108] The second sampling signal is quantized by a second comparator to obtain a second quantized signal.
[0109] The step of quantizing the second sampling signal through a second comparator includes:
[0110] Performing bit quantization on the second sampling signal, where the sampling value is greater than a preset value and the quantization output is a first value, and is less than the preset value and the quantization output is a second value;
[0111] The preset value is 0, the first value is +1, and the second value is -1.
[0112] Wherein, sampling the target analog signal includes:
[0113] Sampling the target analog signal in time series;
[0114] The sampling of the target phase-shifted signal includes:
[0115] The target phase-shifted signal is sampled in a time series.
[0116] Example 4
[0117] The present invention also provides a computer-readable storage medium storing one or more programs, which can be executed by one or more processors to implement the steps of the analog signal 2-bit digitization method described in the above embodiment.
[0118] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A method for digitizing an analog signal 2 bits, characterized in that: The analog signal 2-bit digitization method includes: Acquire a target analog signal, and sample the target analog signal to obtain a first sampling signal; performing phase shift processing on the target analog signal to obtain a target phase-shifted signal, and sampling the target phase-shifted signal to obtain a second sampling signal; quantizing the first sampling signal to obtain a first quantized signal, and quantizing the second sampling signal to obtain a second quantized signal, wherein the first quantized signal and the second quantized signal are 1-bit signals; Combining the first quantized signal and the second quantized signal to obtain a target quantized signal, wherein the target quantized signal is a 2-bit signal; The performing phase shift processing on the target analog signal includes: The target analog signal is phase delay.
2. The method for digitizing an analog signal 2 bits according to claim 1, wherein: The quantizing the first sampling signal to obtain a first quantized signal includes: The first sampling signal is quantized by a first comparator to obtain a first quantized signal.
3. The method for digitizing analog signals by 2 bits according to claim 2, wherein: The quantizing the first sampling signal through a first comparator includes: Performing bit quantization on the first sampling signal, where a sampling value is greater than a preset value and the quantization output is a first value, and a sampling value is less than the preset value and the quantization output is a second value; The preset value is 0, the first value is +1, and the second value is -1.
4. The method for digitizing analog signals by 2 bits according to claim 1, wherein: The quantizing the second sampling signal to obtain a second quantized signal includes: The second sampling signal is quantized by a second comparator to obtain a second quantized signal.
5. The method for digitizing analog signals by 2 bits according to claim 4, wherein: The quantizing the second sampling signal through a second comparator includes: Performing bit quantization on the second sampling signal, where the sampling value is greater than a preset value and the quantization output is a first value, and is less than the preset value and the quantization output is a second value; The preset value is 0, the first value is +1, and the second value is -1.
6. The method for digitizing analog signals in 2 bits according to claim 1, wherein: The sampling of the target analog signal includes: Sampling the target analog signal in time series; The sampling of the target phase-shifted signal includes: The target phase-shifted signal is sampled in a time series.
7. A 2-bit digitization device for analog signals, characterized in that: The device comprises: a target signal acquisition module, the target signal acquisition module being configured to acquire a target analog signal, sample the target analog signal, and obtain a first sampling signal; a second sampling signal acquisition module, configured to perform phase shift processing on the target analog signal to obtain a target phase-shifted signal, and sample the target phase-shifted signal to obtain a second sampling signal; a quantized signal acquisition module, configured to quantize the first sampled signal to obtain a first quantized signal, and quantize the second sampled signal to obtain a second quantized signal, wherein the first quantized signal and the second quantized signal are 1-bit signals; a target quantization signal acquisition module, configured to combine the first quantization signal and the second quantization signal to obtain a target quantization signal, wherein the target quantization signal is a 2-bit signal; The performing phase shift processing on the target analog signal includes: The target analog signal is phase delay.
8. A terminal, characterized in that: The terminal includes: a processor and a storage medium communicatively connected to the processor, the storage medium being suitable for storing a plurality of instructions, and the processor being suitable for calling the instructions in the storage medium to execute the steps of the analog signal 2-bit digitization method as described in any one of claims 1-6 above.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the analog signal 2-bit digitization method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Phase-shifting non-uniform light quantization analog-to-digital converter and conversion method thereof
CN112865794A
Implementation method and device for detecting communication integrated waveform, equipment and medium
CN114338329A