A single-bit broadband radar system with arbitrarily variable threshold

By introducing arbitrary variable threshold single-bit wideband technology into the radar system, the contradiction between radar system resource requirements and target detection efficiency is solved, efficient radar monitoring and information acquisition is achieved, and system complexity and cost are reduced.

CN118311503BActive Publication Date: 2024-09-13SHENZHEN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410736760.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-09-13
Estimated Expiration
2044-06-07

AI Technical Summary

Technical Problem

While existing radar systems improve target detection performance and efficiency, it is difficult to effectively reduce hardware resource requirements, especially on small, mobile, and unmanned platforms. Moreover, absolute amplitude information is lost during the single-bit quantization process, affecting the acquisition of target information.

Method used

A single-bit wideband radar system with arbitrary variable threshold is designed. The comparison threshold is generated and adjusted through the microcontroller, and is output to the comparison circuit for comparison with the mixed signal to generate a single-bit signal, and the data is reprocessed inside the controller. Platoon and transmission, suitable for different radar monitoring scenarios and microcontrollers.

Benefits of technology

It improves sampling, storage and transmission efficiency, reduces system complexity and cost, is suitable for most microcontrollers, and achieves resource saving and efficiency improvement on the hardware side.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118311503B
    Figure CN118311503B
Patent Text Reader

Abstract

The present invention discloses a single-bit broadband radar system with an arbitrary variable threshold, and the steps are as follows: S1, by transmitting a signal to a detection target, the transmitting signal propagates to the detected target, and receives the echo signal reflected by it, and performs demodulation processing to obtain a mixed signal; S2, the mixed signal obtained in step S1 is amplified, filtered and voltage biased to obtain a processed mixed signal, and its signal parameters are measured; S3, a microcontroller generates and adjusts an arbitrary comparison threshold through the signal parameters of the mixed signal, and outputs it to a comparison circuit for comparison with the processed mixed signal to obtain a single-bit signal; S4, the microcontroller regularly collects the single-bit signal in step S3, and then rearranges the single-bit data in the controller and outputs the rearranged data to a host computer. The present invention can effectively improve sampling, storage and transmission efficiency, and the system complexity is lower, which is conducive to reducing manufacturing costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of radar monitoring technology, and in particular to a single-bit broadband radar system with an arbitrarily variable threshold. Background Art

[0002] In the existing technology, with the rapid development and rapid application of radar technology, as well as the increasing demand for refined target information, radar bandwidth and data volume are also increasing, which to a certain extent limits the further increase of radar equipment and puts forward higher requirements on the hardware performance of the system; on the other hand, the signal sampling rate also needs to be improved accordingly to avoid signal spectrum aliasing, thereby increasing the amount of data and reducing the efficiency of data processing. Therefore, how to effectively solve the contradiction between radar system performance and platform limited resources, and minimize the demand for hardware resources while ensuring the radar's target detection performance and efficiency, is the hot spot and difficulty of radar system lightweight research, and is also the key to promoting its promotion and application in small, mobile, and unmanned platforms.

[0003] Petros T. Boufounos and Richard G. Baraniuk first proposed the single-bit compressed sensing theory at the 2008 42nd Annual Conference on Information Sciences and Systems, pointing out that for sparse signals, they can be stably reconstructed only by the sign of the measurement value, that is, single-bit zero threshold quantization. However, in the quantization process, the absolute amplitude information of the signal is lost, so the reconstructed signal only contains the relative amplitude information of the signal, which brings severe challenges to radar target detection and imaging.

[0004] Zhao Bo et al. proposed a SAR imaging scheme with single-frequency threshold single-bit sampling in IEEE Transactions on Geoscience and Remote Sensing. Zhao Bo et al. analyzed the formation mechanism of high-order harmonics and cross-modulation components, introduced a single-frequency time-varying threshold, compared the radar echo signal with the single-frequency time-varying threshold, and quantized it into 1-bit data. While retaining the advantages of 1-bit quantization in system simplification and efficiency improvement, it also maintains the absolute amplitude information lost in 1-bit sampling quantization, so as to better obtain target information. However, the experiment conducted by his team was based on the condition that the data obtained by high-precision radar sampling was single-bit on the software side. Although it can simplify the algorithm complexity of the host computer, it does not solve the problems of high-precision sampling cost of the hardware radar system, low cost-effectiveness of massive data processing, limited platform load resources, and insufficient system processing efficiency.

[0005] Therefore, in order to effectively resolve the contradiction between radar system performance and platform limited resources, it is urgent to design a single-bit broadband radar system with arbitrary variable thresholds that is suitable for most control chips. Summary of the invention

[0006] The purpose of the present invention is to provide a single-bit broadband radar system with an arbitrarily variable threshold, which can effectively improve the sampling, storage and transmission efficiency, can be applicable to different radar monitoring scenarios and microcontrollers, and has lower system complexity, which is conducive to reducing manufacturing costs.

[0007] To achieve the above object, the present invention provides a single-bit broadband radar system with an arbitrary variable threshold, the steps of which are as follows:

[0008] S1, by transmitting a signal to the detection target, the transmitted signal propagates to the detected target, and receives the echo signal reflected by it, and performs demodulation processing to obtain a mixed signal;

[0009] S2, amplifying, filtering and voltage biasing the mixed signal obtained in step S1 to obtain a processed mixed signal, and measuring its signal parameters;

[0010] S3, the microcontroller generates and adjusts any comparison threshold value through the signal parameters of the mixing signal, and outputs it to the comparison circuit for comparison with the processed mixing signal to obtain a single-bit signal;

[0011] S4, the microcontroller collects the single-bit signal in step S3 at a fixed time, and then rearranges the single-bit data inside the controller and outputs the rearranged data to the host computer.

[0012] Preferably, in step S2, the processing of amplification, filtering and voltage biasing includes processing of a front-end amplifier circuit, a high-pass filter circuit, an AGC automatic gain circuit, a low-pass filter circuit and a voltage bias circuit.

[0013] Preferably, a comparison circuit connected to the output end of the voltage bias circuit is further included, and the comparison between the mixing signal and the threshold is realized through the comparison circuit.

[0014] Preferably, it also includes a voltage inverter circuit, which is respectively connected to the front-end amplifier circuit, the high-pass filter circuit, the AGC automatic gain circuit, the low-pass filter circuit, the voltage bias circuit and the comparison circuit.

[0015] Preferably, in step S2, after the microcontroller identifies the signal parameters after the voltage bias circuit is processed by the analog-to-digital conversion module, it outputs the signal amplitude adjustment signal to the AGC automatic gain circuit and the comparison threshold to the comparison circuit through the digital-to-analog conversion module; the comparison threshold is an array of thresholds of different amplitudes generated in advance by the computing platform or the microcontroller, and stored in ROM or RAM. For the threshold that needs to be adjusted in real time, it is necessary to generate and adjust the comparison threshold in real time according to the various parameters of the detection mixing signal.

[0016] Preferably, the digital-to-analog conversion module is at least one of a built-in DAC in the microcontroller, an external DAC chip or an RC filter circuit.

[0017] Preferably, in step S3, the specific operation is: the microcontroller collects a single-bit signal after comparison with any threshold through the GPIO port, and uses the timer of the microcontroller to periodically read the high and low levels of the GPIO port to obtain the single-bit signal and store it in the RAM inside the microcontroller.

[0018] Preferably, in step S1, a linear frequency modulated pulse signal is transmitted to the detection target through the radar sensor antenna, and the microcontroller sends a modulated waveform to the radar sensor through the digital-to-analog conversion module.

[0019] Preferably, in step S4, the microcontroller transmits signals to the host computer via a USB to TTL circuit.

[0020] Preferably, it also includes a linear voltage stabilizing circuit, which is connected to the microcontroller and the USB to TTL circuit respectively.

[0021] Therefore, the beneficial effects of the present invention using the above-mentioned single-bit broadband radar system with an arbitrary variable threshold are as follows:

[0022] (1) The efficiency of sampling, storage, and transmission is greatly improved, saving system storage, transmission, and computing resources on the hardware side.

[0023] (2) The system can set arbitrary variable thresholds to adapt to different radar monitoring scenarios.

[0024] (3) The system is suitable for most microcontrollers and its microcontroller chips are replaceable.

[0025] (4) The system is less complex and less expensive than high-precision sampling radar. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 It is a structural diagram of the overall scheme design of a single-bit broadband radar system with an arbitrarily variable threshold value according to the present invention;

[0027] Figure 2 It is the circuit diagram of the voltage inverter circuit;

[0028] Figure 3 It is the circuit diagram of the front-end amplifier circuit;

[0029] Figure 4 This is the simulation result diagram of the front-end amplifier circuit Bode tester;

[0030] Figure 5 It is the circuit diagram of the high-pass filter circuit;

[0031] Figure 6 This is the simulation result diagram of the high-pass filter circuit Bode tester;

[0032] Figure 7 This is the circuit diagram of the AGC automatic gain circuit;

[0033] Figure 8 This is the simulation result diagram of the AGC automatic gain circuit Bode tester;

[0034] Fig. 9 It is the circuit diagram of low-pass filter circuit;

[0035] Fig.10 This is the simulation result diagram of the low-pass filter circuit Bode tester;

[0036] Fig.11 is the circuit diagram of the voltage bias circuit;

[0037] Fig.12 It is the voltage bias circuit Bode tester simulation result;

[0038] Fig.13 This is the oscilloscope simulation result diagram of the voltage bias circuit;

[0039] Fig.14 is the circuit diagram of the comparison circuit;

[0040] Fig.15 This is the oscilloscope simulation result diagram of the comparison circuit;

[0041] Fig.16 It is the circuit diagram of the linear voltage regulator circuit;

[0042] Fig.17 is the circuit diagram of the microcontroller circuit;

[0043] Fig.18 This is the circuit diagram of the USB to TTL circuit;

[0044] Fig.19 It is the circuit diagram of the second-order RC filter circuit;

[0045] Fig. 20 This is the Bode tester simulation result diagram of the second-order RC filter circuit;

[0046] Fig.21 This is the PCB layout of the single-bit filter end;

[0047] Fig. 22 This is the PCB connection diagram of each circuit at the single-bit filter end;

[0048] Fig.23 This is the PCB layout of the single-bit digital receiving and processing end;

[0049] Fig.24 This is a PCB connection diagram of the circuits at the single-bit digital receiving and processing end. DETAILED DESCRIPTION

[0050] The technical solution of the present invention is further described below through the accompanying drawings and embodiments.

[0051] Unless otherwise defined, technical or scientific terms used in the present invention shall have the common meanings understood by one having ordinary skills in the field to which the present invention belongs.

[0052] Embodiment 1

[0053] like Figure 1 As shown, the present invention provides a single-bit broadband radar system with an arbitrary variable threshold, including a radar sensor, a single-bit filtering end and a single-bit digital receiving and processing end; the single-bit filtering end includes a voltage inverter circuit, a front-end amplifier circuit, a high-pass filtering circuit, an AGC automatic gain circuit, a low-pass filtering circuit, a voltage bias circuit and a comparison circuit; the single-bit digital receiving and processing end includes a linear voltage stabilization circuit, a microcontroller and a USB to TTL circuit.

[0054] The operation method of the system includes the following steps:

[0055] S1, by transmitting a signal to the detection target, the transmitted signal propagates to the detected target, and receives the echo signal reflected by it, and performs demodulation processing to obtain a mixed signal;

[0056] S2, amplifying, filtering and voltage biasing the mixed signal obtained in step S1 to obtain a processed mixed signal, and measuring its signal parameters;

[0057] S3, the microcontroller generates and adjusts any comparison threshold value through the signal parameters of the mixing signal, and outputs it to the comparison circuit for comparison with the processed mixing signal to obtain a single-bit signal;

[0058] S4, the microcontroller collects the single-bit signal in step S3 at a fixed time, and then rearranges the single-bit data inside the controller and outputs the rearranged data to the host computer.

[0059] In this embodiment, the radar sensor transmits a linear frequency modulated pulse signal to the detection target through the antenna. The pulse signal propagates to the detection target, and the detected target reflects an echo signal, which is received by the array radar sensor. The echo signal is then demodulated to obtain a mixed signal, so that the array radar system can use a lower sampling frequency and avoid using a high-precision, high-speed ADC (the ADC here refers to the GHz level, not the kHz level ADC that comes with the receiving end).

[0060] Among them, the linear frequency modulated pulse signal emitted by the radar sensor is obtained by the microcontroller, which is generally modulated into a sawtooth wave, but can also be modulated into a triangle wave or other waveforms. The single-bit digital receiving end outputs the modulated wave voltage through the digital-to-analog converter (DAC) through the modulation wave array pre-stored in the ROM or RAM inside the microcontroller (DMA+DAC method can be used).

[0061] Slope of the modulation waveform The slope of the modulation waveform determines the detectable distance:

[0062] ;

[0063] in, is the FM bandwidth, is the radar pulse time. The system frequency modulation bandwidth is set to 180MHz. The modulation signal frequency for detecting close-range targets (5~20m) is 500~1000Hz, and the frequency modulation slope is 90~180MHz / ms, medium-distance target (20~50m) 200~500Hz, frequency modulation slope 36~90MHz / ms, long-distance target (50~100m) 100~200Hz, frequency modulation slope The single-bit digital receiving and processing end can switch between short, medium and long distance modes during operation to adapt to different monitoring scenarios.

[0064] In this embodiment, since the integrated operational amplifier and other devices used in the subsequent amplification and filtering circuit require positive and negative 5V power supply, it is necessary to design a 5V voltage inverter circuit. Figure 2 The voltage inversion circuit is respectively connected to the voltage input terminals of the front-end amplifier circuit, the high-pass filter circuit, the AGC automatic gain circuit, the low-pass filter circuit and the voltage bias circuit.

[0065] In this embodiment, the reverse input end of the front-end amplifier circuit is connected to the IQ dual-channel signal output port of the radar sensor. Since the amplitude of the demodulated signal is small, if the subsequent filtering process is directly performed, the signal will be attenuated to a smaller value, and the anti-interference ability is low. Therefore, the signal is first amplified by a fixed multiple through the front-end amplifier circuit. The front-end amplifier circuit is as follows: Figure 3 As shown, the simulation results of the Bode tester are as follows Figure 4 As shown, it can be seen that the circuit can ensure a fixed amplification factor of 0~700kHz (the frequency range after demodulation is 0~150kHz).

[0066] The positive input end of the high-pass filter circuit is connected to the output end of the front-end amplifier circuit. In order to eliminate the influence of modulation wave leakage caused by the nonlinearity of the modulation voltage and frequency of the radar sensor, one of the following two solutions can be adopted. One is to filter out the low-frequency noise component through a high-pass filter, and the other is to adjust the DAC curve of the single-bit digital receiving and processing end, that is, the corresponding relationship between the digital quantity and the voltage, and adjust the corresponding relationship between the VCO and the frequency of the radar antenna to linear.

[0067] In this embodiment, the signal after front-end amplification is subjected to high-pass filtering. The high-pass filtering circuit adopts a fourth-order unit gain Bessel high-pass filtering design, which can filter out the low-frequency noise leaked by the modulated wave without affecting the detection of close-range targets. In this way, the data obtained in the subsequent signal processing and single-bit quantization process is more accurate. The high-pass filtering circuit is as follows. Figure 5 As shown in Figure 2, the simulation results of the Bode tester are as follows: Figure 6 As shown, it can be seen that its cut-off frequency is approximately 1.4kHz.

[0068] In this embodiment, the input end of the AGC automatic gain circuit is connected to the output end of the high-pass filter circuit. When the detection target is far away, the demodulated signal amplitude will become smaller and smaller, which will affect the ADC sampling accuracy and the accuracy of single-bit quantization. Therefore, an AGC automatic gain circuit is added to automatically adjust the circuit gain so that the signal amplitude after passing through the circuit remains unchanged within a certain range. The microcontroller is connected to the negative input end of the AGC automatic gain circuit through a digital-to-analog converter (DAC) to control the signal adjustment amplitude of the AGC automatic gain.

[0069] AGC automatic gain: The near, medium and long distance modes correspond to 20, 30 and 40dB amplification respectively (this amplification factor can be determined by the radar's receiving gain). The gain is subsequently adjusted by the amplitude. The subsequent gain variation range is -5~5dB, that is, the initial voltage fluctuates by 0.125V, and the variation range is adjustable.

[0070] The GENG terminal (negative gain control input terminal) of the microcontroller inputs a 1V voltage, and the GPOS terminal (gain control input terminal) is connected to the analog voltage output port of the digital-to-analog conversion module connected to the microcontroller. The output voltage ranges from 0.5V to 1.5V, corresponding to an amplification factor of 10dB to 50dB (the output voltage fluctuates within the range of 0.5V within the range of 1V, that is, the amplification factor range corresponds to the range of 0.5V above and below the GENG terminal voltage. For example, if the GENG terminal voltage is 2V, the range is 1.5-2.5V.), the AGC automatic gain circuit is as follows Figure 7 As shown in Figure 2, the simulation results of the Bode tester are as follows: Figure 8 As shown, it can be seen that when the GPOS terminal is connected to 1V, its amplification factor is 30dB.

[0071] In this embodiment, the inverting input end of the low-pass filter circuit is connected to the output end of the AGC automatic gain circuit. The frequency detection range of the demodulated signal is generally below 50kHz, and the signal will also be accompanied by some high-frequency noise after passing through the above-mentioned filter circuit. Therefore, it is necessary to perform low-pass filtering on the signal amplified by the AGC to remove the high-frequency noise existing after demodulation and the high-frequency noise attached to the filter circuit. The low-pass filter circuit is as follows: Fig. 9 As shown in Figure 2, the simulation results of the Bode tester are as follows: Fig.10 As shown, it can be seen that its cut-off frequency is approximately 34kHz.

[0072] In this embodiment, the reverse input terminal of the voltage bias circuit is connected to the output terminal of the low-pass filter circuit. Since the subsequent comparison threshold is controlled by the comparison voltage output by the DAC (digital-to-analog converter) of the microcontroller, and the output voltage range of the microcontroller is 0~3.3V, and negative voltage cannot be output, it is necessary to perform voltage bias on the signal after low-pass filtering. In addition, in order to meet the sampling range of the ADC, the bias voltage is set to 1.65V, that is, half of the 3.3V voltage (the bias voltage is set according to the voltage of the microcontroller or the ADC voltage. For example, if the voltage of the microcontroller and the ADC voltage are both 5V, the bias voltage can be set to 2.5V, or it can be set to other values ​​as long as it is within the voltage range of the microcontroller). The voltage bias circuit is as follows: Fig.11 shown.

[0073] The simulation results of the Bode tester are as follows Fig.12 As shown in the figure, we can see that its cut-off frequency is about 200Hz, so it can effectively filter out the residual DC component. Fig.13 As shown in the figure, it is a schematic diagram of the oscilloscope simulation results. The input signal is a sinusoidal signal with a frequency of 10kHz, an amplitude of 0.6V, and a DC component of 0.2V. Oscilloscope channel A is the input signal, and oscilloscope channel B is the output signal. It can be seen that the circuit not only filters out the DC component of 0.2V, but also biases the AC component to 1.65V.

[0074] In this embodiment, the positive input terminal of the comparison circuit is connected to the output terminal of the voltage bias circuit, and the negative input terminal of the comparison circuit is connected to the digital-to-analog conversion module connected to the microcontroller, that is, a single-bit comparison threshold. The single-bit comparison threshold can select the corresponding threshold value according to different radar monitoring scenarios.

[0075] Any threshold value, such as zero threshold value, single-frequency threshold value and Gaussian threshold value, can be generated by the digital-to-analog conversion module DAC. The threshold value is generated by generating a threshold array corresponding to various amplitudes in advance through the computing platform or the microcontroller and stored in ROM or RAM. For threshold values ​​that need to be adjusted in real time, such as single-frequency threshold values, it is necessary to generate and adjust the comparison threshold value in real time according to the various parameters of the detection mixing signal. The size of the array is determined by the performance of the microcontroller. The larger the array, the finer the threshold waveform controlled, and the more accurate the single-bit signal obtained. The threshold array is transferred to the DAC output register through DMA within the pulse time of the radar, and the output threshold voltage is compared with the biased signal at the negative input end of the comparison circuit. If the biased signal is greater than the comparison threshold, it is set to 3.3V, and if it is less than the comparison threshold, it is set to 0V.

[0076] Zero threshold: that is, set the zero threshold to compare with the signal after voltage bias to obtain a zero threshold single-bit signal. Since the voltage bias circuit moves the signal to 1.65V, the zero threshold array can be set in the ROM or RAM of the single-bit digital receiving end. Since the DAC voltage of this microcontroller is 3.3V and the bit number is 12, the array value set is full 2048.

[0077] Single-frequency threshold: The signal amplitude of the single-frequency threshold needs to be set to the amplitude of the original signal after filtering, and the frequency needs to be greater than 1 / 5 of the maximum mixing signal frequency generated by the radar sensor (150kHz in this system). In this way, the spectrum of the high-order harmonic component of the time-varying threshold can be moved, so that the aliasing position and aliasing form of the spectrum can be changed. The frequency of the single-frequency threshold is determined by the timing time of the microcontroller timer. For the amplitude of the single-frequency threshold, the average amplitude of the signal after voltage bias can be collected by ADC to adjust the amplitude of the current single-frequency threshold and generate the single-frequency threshold in real time. The specific method for detecting the average amplitude of ADC is: take the modulus of the data sampled by ADC (IQ) and divide it by the corresponding number of sampling points to obtain the average value after modulus, and divide this average value by 0.636 to obtain the average amplitude;

[0078] Single bit comparison circuit such as Fig.14 As shown, Fig.15The figure shows a schematic diagram of the oscilloscope simulation results. The input signal is a sinusoidal signal with a frequency of 10kHz, an amplitude of 0.6V, and a bias voltage of 1.65V, that is, the channel B signal in the figure. The comparison threshold at the reverse end is a sinusoidal signal with a bias voltage of 1.65V, a frequency of 40kHz, and an amplitude of 0.6V, that is, the channel C signal in the figure. Channel A is the single-bit signal after comparison.

[0079] In this embodiment, the linear voltage regulator circuit can stabilize the 5V voltage of the USB to 3.3V to provide power for the microcontroller and the USB to TTL circuit. Fig.16 As shown, the linear voltage regulator circuit is connected to the voltage input terminals of the microcontroller and the USB to TTL circuit respectively.

[0080] In this embodiment, the microcontroller is connected to the signal output end of the voltage bias circuit and the comparison circuit. The microcontroller collects the mixed signal after filtering, amplification and voltage bias and detects its signal amplitude, thereby adjusting the AGC amplification gain and the threshold amplitude of the comparison circuit (if a single-frequency threshold is used). The microcontroller collects the single-bit signal after any threshold comparison through the GPIO port. The logic 0 level of the GPIO port is -0.3V-1.2V, and the logic 1 level is 1.8V-3.6V. The high level of the single-bit signal after comparison is 3.3V, and the low level is 0V. Through the timer provided by the microcontroller, the high and low levels of the GPIO port are read regularly to obtain the single-bit signal and store it in the RAM inside the microcontroller. The single-bit signal is rearranged in the microcontroller (such as rearranging 8 single-bit data into 1byte data, that is, one binary bit can represent a single-bit signal sampled once), and the single-bit signal of the port can be transferred through the DMA channel to relieve the CPU pressure.

[0081] The microcontroller is responsible for transmitting the collected and rearranged single-bit signal to the USB to TTL circuit through the UART.

[0082] Microcontroller circuits such as Fig.17 As shown, this system is not limited to the current microcontroller model STM32F407VET6, but can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application-specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The microcontroller also sends the modulated waveform to the negative input terminal of the radar sensor through the digital-to-analog conversion module.

[0083] Among them, the three output ends of the digital-to-analog conversion module (DAC) of the microcontroller can all be connected by the timer + DMA + DAC method. If it is an external DAC chip, the timer + DMA + IIC or timer + DMA + SPI can be used according to the communication method of the external DAC. If it is a PWM RC filter, the DMA + timer CCR register method can be used to transfer the digital quantity to the CCR register to obtain PWM with different duty cycles, and the desired voltage value can be obtained through RC filtering. Note that the RC filter needs to comprehensively consider the rise time and voltage ripple. The system microcontroller has only two DAC peripherals, the DAC peripherals used for modulating waveforms and adjusting comparison thresholds, and the RC filter used for adjusting signal amplitude. Since the AGC automatic gain is more sensitive to voltage ripple, the second-order RC filter method is used. If other chips are used, it depends on the peripheral conditions of the chip.

[0084] The single bit of the GPIO port of the microcontroller can be obtained by the timer + DMA + GPIO method, through the IDR register of the DMA + GPIO port, a single-bit signal (binary) with a fixed number of pins is obtained, and this single-bit signal is taken to the single-bit array and AND and shift operations are performed to rearrange the eight-bit single-bit signal into 1 byte of data. The timer determines the single-bit sampling rate, and the sampling range is within the cycle of a single DAC modulation waveform (sawtooth wave or triangle wave, etc.). In order to ensure that the single-bit sampling is within the cycle of the DAC modulation waveform (sawtooth wave or triangle wave, etc.), the timer cascade interrupt method can be used to use the timer of the DAC modulation waveform as a slave timer and the timer of the single-bit sampling as the master timer (the premise of this method is that the number of DMA transfer points of the DAC modulation waveform is greater than the number of single-bit sampling points. If it is less, the master and slave can be switched).

[0085] The analog-to-digital conversion module (ADC) of the microcontroller can collect signals by using the timer + DMA + ADC method. Through the DR register of DMA + ADC, the register value (the sampled ADC signal) is transferred to the internal array for relevant data analysis. This step serves the generation of a single-frequency threshold, and the ADC signal can also be directly obtained for easy comparison with a single-bit signal. In order to ensure that the ADC sampling is within the period of the DAC modulation waveform (sawtooth wave or triangle wave, etc.), the timer cascade interrupt method can be used to use the timer of the DAC modulation waveform as a slave timer and the timer of the ADC collection as a master timer (the premise of this method is that the DMA transfer points of the DAC modulation waveform are greater than the ADC sampling points. If less, the master and slave can be switched).

[0086] The serial port can send and receive data using the DMA+USART method. Through the DR register of DMA+USART, the data to be sent is moved to the DR register through DMA, and the received data (located in the DR register) is moved to the internal array of the microcontroller through DMA for subsequent data processing.

[0087] In this embodiment, due to the difference in electrical characteristics and protocols between the serial port TTL signal of the single-chip microcomputer and the USB signal of the host computer, the signal they send cannot be directly recognized by the host computer, so it is necessary to convert the TTL signal into a USB signal to facilitate the correct transmission of data. The USB to TTL circuit sends the rearranged data to the host computer for further processing. While receiving the signal, the host computer can also send a signal to switch the working state of the system, such as starting and stopping the system, switching the modulation waveform, switching the short, medium and long distance modes (i.e., changing the modulation frequency k), switching and adjusting the comparison threshold, adjusting the AGC automatic gain range and the single-bit sampling rate. The USB to TTL circuit is as follows: Fig.18 shown.

[0088] In this embodiment, the digital-to-analog conversion module of the microcontroller is a built-in DAC, and a single-bit signal is obtained by outputting a certain comparison threshold through the DAC. If the microcontroller DAC is not enough or does not exist, the following solutions can be used:

[0089] (1) A PWM wave with a certain frequency can be output to obtain an analog voltage through RC filtering. Fig.19 It is a second-order RC filter circuit. Fig. 20 This is the simulation result of the Bode tester.

[0090] (2) External DAC chips, such as MCP4725, DAC5571, etc.

[0091] The PCB layout of the single-bit filter end is as follows Fig.21 As shown, the circuit board uses a four-layer board design. The order of the board layers is the top signal layer, the ground layer, the power layer and the bottom signal layer. The connection relationship of each circuit is as follows Fig. 22 As shown, the lines are mainly arranged on the top signal layer, some lines are routed on the bottom layer, and the middle ground layer and power layer improve the anti-interference ability of the PCB.

[0092] The PCB layout of the single-bit digital receiving and processing end is as follows: Fig.23 As shown, the circuit uses a double-layer board design and is connected to the single-bit filter end through two 2×20Pin headers, which makes it easy to replace the microcontroller. The circuit connection relationship is as follows Fig.24 As shown, the circuits are mainly arranged on the top signal layer, and some circuits are routed on the bottom layer. The rearranged data is transmitted to the host computer through the transceiver port of the USB to TTL circuit.

[0093] Therefore, the present invention adopts the above-mentioned single-bit broadband radar system with an arbitrary variable threshold, which can effectively improve the sampling, storage and transmission efficiency, can be applied to different radar monitoring scenarios and microcontrollers, and has lower system complexity, which is conducive to reducing manufacturing costs.

[0094] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that they can still modify or replace the technical solution of the present invention with equivalents, and these modifications or equivalent replacements cannot cause the modified technical solution to deviate from the spirit and scope of the technical solution of the present invention.

Claims

1. A single-bit broadband radar system with an arbitrarily variable threshold, characterized in that: It includes a radar sensor, a single-bit filtering end and a single-bit digital receiving and processing end; The single-bit filter end includes a front-end amplifier circuit, a high-pass filter circuit, an AGC automatic gain circuit, a low-pass filter circuit, a voltage bias circuit and a comparison circuit; The single-bit digital receiving and processing end includes a microcontroller and a USB to TTL circuit; the reverse input end of the front-end amplifier circuit is connected to the IQ dual-channel signal output port of the radar sensor, the positive input end of the high-pass filter circuit is connected to the output end of the front-end amplifier circuit, the input end of the AGC automatic gain circuit is connected to the output end of the high-pass filter circuit, the reverse input end of the low-pass filter circuit is connected to the output end of the AGC automatic gain circuit, the reverse input end of the voltage bias circuit is connected to the output end of the low-pass filter circuit, the positive input end of the comparison circuit is connected to the output end of the voltage bias circuit, and the microcontroller is connected to the signal output ends of the voltage bias circuit and the comparison circuit; The steps of the system operation method are as follows: S1, by transmitting a signal to the detection target, the transmitted signal propagates to the detected target, and receives the echo signal reflected by it, and performs demodulation processing to obtain a mixed signal; S2, amplifying, filtering and voltage biasing the mixed signal obtained in step S1 to obtain a processed mixed signal, and measuring its signal parameters; S3, the microcontroller generates and adjusts any comparison threshold value through the signal parameters of the mixing signal, and outputs it to the comparison circuit for comparison with the processed mixing signal to obtain a single-bit signal; S4, the microcontroller collects the single-bit signal in step S3 at a fixed time, and then rearranges the single-bit data inside the controller and outputs the rearranged data to the host computer.

2. The system according to claim 1, characterized in that In step S2, the processing of amplification, filtering and voltage biasing includes the processing of front-end amplifier circuit, high-pass filter circuit, AGC automatic gain circuit, low-pass filter circuit and voltage bias circuit.

3. The system according to claim 2, characterized in that The invention also comprises a comparison circuit connected to the output end of the voltage bias circuit, and the comparison between the mixing signal and the threshold is realized through the comparison circuit.

4. The system according to claim 3, characterized in that It also includes a voltage inverter circuit, which is respectively connected to a front-end amplifier circuit, a high-pass filter circuit, an AGC automatic gain circuit, a low-pass filter circuit, a voltage bias circuit and a comparison circuit.

5. The system according to claim 2, characterized in that In step S3, the microcontroller identifies the signal amplitude after the voltage bias circuit is processed by the analog-to-digital conversion module, and then outputs the signal amplitude adjustment signal to the AGC automatic gain circuit and the comparison threshold to the comparison circuit through the digital-to-analog conversion module; the comparison threshold is an array of thresholds of different amplitudes generated in advance by the computing platform or the microcontroller, and stored in ROM or RAM. For the threshold that needs to be adjusted in real time, it is necessary to generate and adjust the comparison threshold in real time according to the various parameters of the detection mixing signal.

6. The system according to claim 5, characterized in that The digital-to-analog conversion module is at least one of a built-in DAC of the microcontroller, an external DAC chip or an RC filter circuit.

7. The system according to claim 1, characterized in that In step S3, the specific operation is: the microcontroller collects the single-bit signal after any threshold comparison through the GPIO port, and uses the timer of the microcontroller to regularly read the high and low levels of the GPIO port to obtain the single-bit signal and store it in the RAM inside the microcontroller.

8. The system according to claim 1, characterized in that In step S1, a linear frequency modulation pulse signal is transmitted to a detection target through a radar sensor antenna, and a microcontroller sends a modulation waveform to the radar sensor through a digital-to-analog conversion module.

9. The system according to claim 1, characterized in that In step S4, the microcontroller transmits signals to the host computer via the USB to TTL circuit.

10. The system according to claim 9, characterized in that It also includes a linear voltage stabilizing circuit, which is connected to the microcontroller and the USB to TTL circuit respectively.