CN118311503A - A single-bit broadband radar system with arbitrarily variable threshold - Google Patents
A single-bit broadband radar system with arbitrarily variable threshold Download PDFInfo
- Publication number
- CN118311503A CN118311503A CN202410736760.2A CN202410736760A CN118311503A CN 118311503 A CN118311503 A CN 118311503A CN 202410736760 A CN202410736760 A CN 202410736760A CN 118311503 A CN118311503 A CN 118311503A
- Authority
- CN
- China
- Prior art keywords
- signal
- circuit
- microcontroller
- bit
- comparison
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012545 processing Methods 0.000 claims abstract description 21
- 238000001514 detection method Methods 0.000 claims abstract description 15
- 238000001914 filtration Methods 0.000 claims description 21
- 238000006243 chemical reaction Methods 0.000 claims description 15
- 238000002156 mixing Methods 0.000 claims description 12
- 230000003321 amplification Effects 0.000 claims description 11
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 11
- 230000000087 stabilizing effect Effects 0.000 claims description 3
- 238000005070 sampling Methods 0.000 abstract description 19
- 230000005540 biological transmission Effects 0.000 abstract description 6
- 238000004519 manufacturing process Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 23
- 238000000034 method Methods 0.000 description 20
- 238000004088 simulation Methods 0.000 description 16
- 238000013461 design Methods 0.000 description 6
- 238000012544 monitoring process Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 4
- 238000013139 quantization Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000001228 spectrum Methods 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 2
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 2
- 101000860173 Myxococcus xanthus C-factor Proteins 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000002238 attenuated effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S7/00—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
- G01S7/02—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S13/00
- G01S7/28—Details of pulse systems
- G01S7/282—Transmitters
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S13/00—Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
- G01S13/88—Radar or analogous systems specially adapted for specific applications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S7/00—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
- G01S7/02—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S13/00
- G01S7/28—Details of pulse systems
- G01S7/285—Receivers
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S7/00—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
- G01S7/02—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S13/00
- G01S7/28—Details of pulse systems
- G01S7/285—Receivers
- G01S7/292—Extracting wanted echo-signals
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S7/00—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
- G01S7/02—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S13/00
- G01S7/41—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S13/00 using analysis of echo signal for target characterisation; Target signature; Target cross-section
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Radar Systems Or Details Thereof (AREA)
Abstract
本发明公开了一种任意可变阈值的单比特宽带雷达系统,步骤如下:S1、通过向探测目标发射信号,发射信号传播到被探测目标,并接收由其反射出的回波信号,并进行解调处理得到混频信号;S2、将步骤S1得到的混频信号经过放大、滤波和电压偏置后得到处理后的混频信号,并测量其信号参数;S3、微控制器通过混频信号的信号参数生成并调节任意比较阈值,并输出至比较电路与经过处理后的混频信号进行比对,得到单比特信号;S4、微控制器定时采集步骤S3中的单比特信号,然后于控制器内部进行单比特数据重排并将重排后的数据输出到上位机。本发明可以有效提高采样、存储和传输效率,且系统复杂度更低,有利于降低制造成本。
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 inside 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.
Description
技术领域Technical Field
本发明涉及雷达监测技术领域,尤其是涉及一种任意可变阈值的单比特宽带雷达系统。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 technique
现有技术中,随着雷达技术的飞速发展与快速应用,以及对目标信息精细化需求的提升,雷达带宽和数据量也越来越大,在一定程度上限制了雷达设备的进一增加,对系统的硬件性能提出了更高的要求;另一方面,信号采样率也需要相应地提升以避免信号频谱混叠,从而使得数据量增加,降低了数据处理的效率。因此如何有效解决雷达系统性能与平台有限资源之间的矛盾,在保障雷达对目标探测性能和效率的前提下,最大程度地降低硬件资源需求,是雷达系统轻量化研究的热点与难点,也是推动其在小型、移动、无人平台推广应用的关键。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, which increases the amount of data and reduces 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.
Petros T. Boufounos和Richard G. Baraniuk在2008 42nd Annual Conferenceon Information Sciences and Systems首次提出单比特压缩感知理论,指出对于稀疏信号,可以只通过测量值的符号,即单比特零阈值量化的方式来稳定重构,但在其量化过程中,信号的绝对幅度信息已经丢失,所以重构出的信号只包含信号的相对幅度信息,给雷达目标探测和成像带来严峻挑战。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.
赵博等人在IEEE Transactions on Geoscience and Remote Sensing中提出了单频阈值单比特采样的SAR成像方案。赵博等人分析了高次谐波以及交叉调制分量的形成机理,通过引入单频时变阈值,将雷达回波信号与单频时变阈值比较后量化为1-bit数据,在保留1-bit量化在系统简化、效率提升方面的优势的同时,还保持1-bit采样量化中丢失的绝对幅度信息,更好地得到目标信息,但其团队做的实验是建立在高精度雷达采样得到的数据在软件端进行单比特的条件下进行的,虽说能简化上位机的算法复杂度,但并未解决硬件端雷达系统高精度采样成本高昂、海量数据处理效费比低、平台载荷资源受限、系统处理效率不足等问题。Zhao Bo et al. proposed a SAR imaging scheme of 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.
因此为了有效解决雷达系统性能与平台有限资源之间的矛盾,亟需设计一种适用于大部分控制芯片的任意可变阈值的单比特宽带雷达系统。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
本发明的目的是提供一种任意可变阈值的单比特宽带雷达系统,可以有效提高采样、存储和传输效率,可以适用于不同的雷达监测场景和微控制器,且系统复杂度更低,有利于降低制造成本。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.
为实现上述目的,本发明提供了一种任意可变阈值的单比特宽带雷达系统,步骤如下: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:
S1、通过向探测目标发射信号,发射信号传播到被探测目标,并接收由其反射出的回波信号,并进行解调处理得到混频信号;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、将步骤S1得到的混频信号经过放大、滤波和电压偏置后得到处理后的混频信号,并测量其信号参数;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、微控制器通过混频信号的信号参数生成并调节任意比较阈值,并输出至比较电路与经过处理后的混频信号进行比对,得到单比特信号;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、微控制器定时采集步骤S3中的单比特信号,然后于控制器内部进行单比特数据重排并将重排后的数据输出到上位机。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.
优选的,步骤S2中,经过放大、滤波和电压偏置的处理包括前端放大电路、高通滤波电路、AGC自动增益电路、低通滤波电路、电压偏置电路的处理。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.
优选的,还包括与电压偏置电路输出端连接的比较电路,通过比较电路实现混频信号与阈值的比较。Preferably, the method further 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 by the comparison circuit.
优选的,还包括电压逆变电路,电压逆变电路分别连通前端放大电路、高通滤波电路、AGC自动增益电路、低通滤波电路、电压偏置电路和比较电路。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.
优选的,步骤S2中,微控制器识别经过模数转换模块对电压偏置电路处理后的信号参数后,再通过数模转换模块分别向AGC自动增益电路输出信号幅值调节信号、向比较电路输出比较阈值;比较阈值为预先由计算平台或微控制器内部生成的不同幅度的阈值数组,并存储于ROM或RAM中,对于需要实时调控的阈值,则需根据检测混频信号的各项参数来实时生成并调节比较阈值。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 detected mixing signal.
优选的,数模转换模块为微控制器内置的DAC、外接DAC芯片或RC滤波电路中的至少一种。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.
优选的,步骤S3中,具体操作为:微控制器通过GPIO口采集经过任意阈值比较后的单比特信号,通过微控制器自带的定时器,定时读取GPIO口的高低电平得到单比特信号并存储于微控制器内部的RAM。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.
优选的,步骤S1中,通过雷达传感器天线向探测目标发射线性调频脉冲信号,微控制器通过数模转换模块向雷达传感器发送调制波形。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.
优选的,步骤S4中,微控制器通过USB转TTL电路与上位机进行信号传输。Preferably, in step S4, the microcontroller transmits signals to the host computer via a USB to TTL circuit.
优选的,还包括线性稳压电路,线性稳压电路分别连通微控制器和USB转TTL电路。Preferably, it also includes a linear voltage stabilizing circuit, which is connected to the microcontroller and the USB to TTL circuit respectively.
因此,本发明采用上述一种任意可变阈值的单比特宽带雷达系统的有益效果为: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:
(1)采样、存储和传输效率大大提高,在硬件端节约系统的存储、传输、算力资源。(1) The efficiency of sampling, storage, and transmission is greatly improved, saving system storage, transmission, and computing resources on the hardware side.
(2)系统可设置任意变阈值来适应不同的雷达监测场景。(2) The system can set arbitrary variable thresholds to adapt to different radar monitoring scenarios.
(3)系统适合于大部分微控制器,其微控制芯片具有可替代性。(3) The system is suitable for most microcontrollers and its microcontroller chips are replaceable.
(4)系统相对于高精度采样雷达复杂度更低,成本更低。(4) The system is less complex and less expensive than high-precision sampling radar.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本发明一种任意可变阈值的单比特宽带雷达系统的整体方案设计结构图;FIG1 is a structural diagram of the overall design of a single-bit broadband radar system with an arbitrary variable threshold according to the present invention;
图2是电压逆变电路的电路图;FIG2 is a circuit diagram of a voltage inverter circuit;
图3是前端放大电路的电路图;FIG3 is a circuit diagram of a front-end amplifier circuit;
图4是前端放大电路波特测试仪仿真结果图;FIG4 is a diagram showing the simulation results of a front-end amplifier circuit using a Bode tester;
图5是高通滤波电路的电路图;FIG5 is a circuit diagram of a high-pass filter circuit;
图6是高通滤波电路波特测试仪仿真结果图;FIG6 is a diagram showing the simulation results of a high-pass filter circuit using a Bode tester;
图7是AGC自动增益电路的电路图;Fig. 7 is a circuit diagram of an AGC automatic gain circuit;
图8是AGC自动增益电路波特测试仪仿真结果图;FIG8 is a diagram showing the simulation results of a Bode tester for an AGC automatic gain circuit;
图9是低通滤波电路的电路图;FIG9 is a circuit diagram of a low-pass filter circuit;
图10是低通滤波电路波特测试仪仿真结果图;FIG10 is a diagram of a simulation result of a low-pass filter circuit using a Bode tester;
图11是电压偏置电路的电路图;FIG11 is a circuit diagram of a voltage bias circuit;
图12是电压偏置电路波特测试仪仿真结果;FIG12 is a voltage bias circuit Bode tester simulation result;
图13是电压偏置电路示波器仿真结果图;FIG13 is a diagram of an oscilloscope simulation result of a voltage bias circuit;
图14是比较电路的电路图;FIG14 is a circuit diagram of a comparison circuit;
图15是比较电路示波器仿真结果图;FIG15 is a diagram showing the oscilloscope simulation results of the comparison circuit;
图16是线性稳压电路的电路图;FIG16 is a circuit diagram of a linear voltage regulator circuit;
图17是微控制器电路的电路图;FIG17 is a circuit diagram of a microcontroller circuit;
图18是USB转TTL电路的电路图;FIG18 is a circuit diagram of a USB to TTL circuit;
图19是二阶RC滤波电路的电路图;FIG19 is a circuit diagram of a second-order RC filter circuit;
图20是二阶RC滤波电路的波特测试仪仿真结果图;FIG20 is a diagram showing a Bode tester simulation result of a second-order RC filter circuit;
图21是单比特滤波端PCB版图;FIG21 is a PCB layout of a single-bit filter terminal;
图22是单比特滤波端各电路的PCB连接示意图;FIG22 is a schematic diagram of the PCB connection of each circuit of the single-bit filter end;
图23是单比特数字接收处理端的PCB版图;FIG23 is a PCB layout of a single-bit digital receiving and processing terminal;
图24是单比特数字接收处理端各电路的PCB连接示意图。FIG. 24 is a schematic diagram of the PCB connection of each circuit of the single-bit digital receiving and processing end.
具体实施方式Detailed ways
以下通过附图和实施例对本发明的技术方案作进一步说明。The technical solution of the present invention is further described below through the accompanying drawings and embodiments.
除非另外定义,本发明使用的技术术语或者科学术语应当为本发明所属领域内具有一般技能的人士所理解的通常意义。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.
实施例一Embodiment 1
如图1所示,本发明提供了一种任意可变阈值的单比特宽带雷达系统,包括雷达传感器、单比特滤波端和单比特数字接收处理端;单比特滤波端包括电压逆变电路、前端放大电路、高通滤波电路、AGC自动增益电路、低通滤波电路、电压偏置电路和比较电路;单比特数字接收处理端包括线性稳压电路、微控制器和USB转TTL电路。As shown in FIG1 , 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.
该系统的运行方法包括如下步骤:The operation method of the system includes the following steps:
S1、通过向探测目标发射信号,发射信号传播到被探测目标,并接收由其反射出的回波信号,并进行解调处理得到混频信号;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、将步骤S1得到的混频信号经过放大、滤波和电压偏置后得到处理后的混频信号,并测量其信号参数;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、微控制器通过混频信号的信号参数生成并调节任意比较阈值,并输出至比较电路与经过处理后的混频信号进行比对,得到单比特信号;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、微控制器定时采集步骤S3中的单比特信号,然后于控制器内部进行单比特数据重排并将重排后的数据输出到上位机。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.
本实施例中,雷达传感器通过天线向探测目标发射线性调频脉冲信号,脉冲信号传播到探测目标,被探测目标反射出回波信号,并被阵列雷达传感器接收。然后对回波信号进行解调处理得到混频信号,这样可以使得阵列雷达系统选用较低的采样频率,避免使用高精度、高速ADC(这里的ADC指的是GHz级别的,不是接收端自带的kHz级别的ADC)。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).
其中,雷达传感器所发射的线性调频脉冲信号由微控制器获取,一般调制为锯齿波,也可调制为三角波或者其他的波形,单比特数字接收端通过事先存储在微控制器内部的ROM或RAM的调制波数组,通过数模转换器(DAC)输出调制波电压(可用DMA+DAC的方式)。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).
调制波形的斜率决定了可探测距离的大小,调制波形的斜率表达式为:Slope of the modulation waveform The slope of the modulation waveform determines the detectable distance:
; ;
其中,为调频带宽,为雷达脉冲时间。系统调频带宽设置为180MHz。探测近距离目标(5~20m)的调制信号频率采用500~1000Hz,调频斜率为90~180MHz/ms,中距离目标(20~50m)200~500Hz,调频斜率为36~90MHz/ms,远距离目标(50~100m)100~200Hz,调频斜率为18~36MHz/ms,单比特数字接收处理端可在工作中切换近中远距离模式以适应不同的监测场景。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.
本实施例中,由于在之后的放大滤波电路中使用的集成运放等器件需要正负5V电源供电,因此需要设计一种5V电压逆变电路,电压逆变电路如图2所示。电压逆变电路分别连接至前端放大电路、高通滤波电路、AGC自动增益电路、低通滤波电路和电压偏置电路的电压输入端。In this embodiment, since the integrated operational amplifier and other devices used in the subsequent amplification and filtering circuit need to be powered by positive and negative 5V power supplies, it is necessary to design a 5V voltage inverter circuit, and the voltage inverter circuit is shown in Figure 2. The voltage inverter 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.
本实施例中,前端放大电路反向输入端与雷达传感器IQ双通道信号输出端口相连,由于解调后的信号幅值较小,若直接进行后续的滤波处理会将信号衰减到更小,抗干扰能力较低,因此先对信号通过前端放大电路进行固定倍数的放大,前端放大电路如图3所示,波特测试仪仿真结果如图4所示,可以看到电路能保证0~700kHz的固定放大倍数(解调后的频率范围0~150kHz)。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 shown in FIG3 , and the simulation result of the Bode tester is shown in FIG4 . It can be seen that the circuit can ensure a fixed amplification factor of 0 to 700 kHz (the frequency range after demodulation is 0 to 150 kHz).
高通滤波电路的正向输入端与前端放大电路的输出端相连,为消除雷达传感器调制电压与频率非线性而产生的调制波泄露的影响,可以采取以下两种解决方法中的一种,一种是通过高通滤波器滤除低频噪声分量,另一种是调节单比特数字接收处理端的DAC曲线,即数字量与电压的对应关系,将雷达天线的VCO和频率的对应关系调节为线性。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.
本实施例中采用的是对前端放大后的信号进行高通滤波处理,高通滤波电路采用四阶单位增益贝塞尔高通滤波设计,可将调制波泄露的低频噪声滤除的同时又不影响近距离目标的探测,这样在后续信号处理以及单比特量化过程中得到的数据更准确,高通滤波电路如图5所示,波特测试仪的仿真结果如图6所示,可以看到其截止频率大约为1.4kHz。In this embodiment, a high-pass filtering process is performed on the signal after the front-end amplification. 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 shown in Figure 5, and the simulation result of the Bode tester is shown in Figure 6. It can be seen that its cut-off frequency is approximately 1.4kHz.
本实施例中,AGC自动增益电路的输入端与高通滤波电路输出端相连,当探测目标距离较远时,解调后的信号幅值会越来越小,会影响ADC采样精度和单比特量化的准确度,因此加入了AGC自动增益电路自动调节电路增益,使得经过电路后的信号幅值在一定范围内保持不变,微控制器通过数模转换器(DAC)连接至AGC自动增益电路的负向输入端对AGC自动增益的信号调节幅度进行控制。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.
AGC自动增益:近中远距离模式分别对应放大20、30和40dB(此放大倍数可由雷达的接收增益决定),后续再通过幅度大小调节增益,后续的增益变化范围为-5~5dB,即在初始电压上下波动0.125V,变化范围可调节。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.
微控制器的GENG端(负增益控制输入端)输入1V电压,GPOS端(增益控制输入端)接入微控制器连接的数模转换模块的模拟电压输出口,输出电压由0.5V到1.5V对应放大倍数10dB到50dB(输出电压在1v的正负0.5v波动,即放大倍数范围对应由GENG端电压上下0.5V范围,如GENG端电压为2V,即范围为1.5-2.5V。),AGC自动增益电路如图7所示,波特测试仪的仿真结果如图8所示,可以看到当GPOS端接入1V时,其放大倍数为30dB。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 above and below the GENG terminal voltage. For example, the GENG terminal voltage is 2V, and the range is 1.5-2.5V.), the AGC automatic gain circuit is shown in Figure 7, and the simulation result of the baud tester is shown in Figure 8. It can be seen that when the GPOS terminal is connected to 1V, its amplification factor is 30dB.
本实施例中,低通滤波电路的反向输入端与AGC自动增益电路输出端相连,解调后的信号频率探测范围一般为50kHz以下,并且信号在经过上述滤波电路后也会附带部分高频噪声,因此需要对AGC放大后的信号进行低通滤波处理,去除解调后就存在的高频噪声和滤波电路附带的高频噪声,低通滤波电路如图9所示,波特测试仪的仿真结果如图10所示,可以看到其截止频率大约为34kHz。In this embodiment, the reverse 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 shown in Figure 9, and the simulation result of the Bode tester is shown in Figure 10. It can be seen that its cut-off frequency is approximately 34kHz.
本实施例中,电压偏置电路的反向输入端与低通滤波电路输出端相连,由于后续的比对阈值是通过微控制器的DAC(数模转换器)输出比对电压来控制的,而微控制器的输出电压范围为0~3.3V,不能输出负电压,因而需要对低通滤波后的信号进行电压偏置,另外,为了满足ADC采样的范围,将偏置电压设为1.65V,即3.3V电压的一半(根据微控制器的电压或者ADC电压来设定偏置电压,如微控制器的电压和ADC电压均为5V,可以将偏置电压设为2.5v,也可设置为其他值,只要在微控制器电压范围内均可),电压偏置电路如图11所示。In this embodiment, the reverse input end of the voltage bias circuit is connected to the output end 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, it cannot output a negative voltage, so 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 shown in Figure 11.
波特测试仪的仿真结果如图12所示,可以看到其截止频率大约为200Hz,因此能有效滤除残余的直流分量。如图13所示,为示波器仿真结果示意图,输入信号为频率10kHz、幅度为0.6V、存在0.2V直流分量的正弦信号,示波器通道A为输入信号,示波器通道B为输出信号,可以看出电路不仅把0.2V的直流分量滤除,还把交流分量偏置到1.65V。The simulation result of the Bode tester is shown in Figure 12. It can be seen that its cutoff frequency is about 200Hz, so it can effectively filter out the residual DC component. As shown in Figure 13, it is a schematic diagram of the oscilloscope simulation result. The input signal is a sine 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.
本实施例中,比较电路的正向输入端与电压偏置电路的输出端相连,比较电路负向输入端接入微控制器连接的数模转换模块,即单比特的比对阈值,该单比特的比对阈值可以根据不同的雷达监测场景选取相应的阈值大小。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.
可通过数模转换模块DAC产生任意阈值,如零阈值、单频阈值和高斯阈值等。阈值的生成为事先通过计算平台或微控制器内部生成对应多种不同幅度的阈值数组存储于ROM或RAM,对于单频阈值等需要实时调控的阈值,则需根据检测混频信号的各项参数来实时生成并调节比对阈值。数组大小由微控制器的性能决定,数组越大控制的阈值波形越细腻,得到的单比特信号更准确,在雷达的脉冲时间内通过DMA将阈值数组转运至DAC输出寄存器,输出阈值电压至比较电路的负向输入端与偏置后的信号进行比较,偏置后的信号大于比较阈值则置为3.3V,小于比较阈值则置为0V。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.
零阈值:即设置零阈值与电压偏置后的信号进行比对,得到零阈值单比特信号。由于电压偏置电路将信号搬移到了1.65V,因此可在单比特数字接收端的ROM或RAM里设零阈值数组,由于此微控制器DAC电压为3.3V,位数为12,因此设立的数组值为全2048。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.
单频阈值:单频阈值的信号幅度需设置为原信号的经过滤波后的幅度,频率需要大于雷达传感器产生的最大混频信号频率(本系统为150kHz)的1/5,这样可将时变阈值的高次谐波分量的频谱进行搬移,使其频谱的混叠位置与混叠形式发生变化。单频阈值的频率由微控制器定时器的定时时间决定,对于单频阈值的幅度,可通过ADC采集经过电压偏置后的信号的平均幅度来调节当前单频阈值的幅度并实时生成单频阈值,检测ADC平均幅度的具体方法为:将ADC采样的数据(IQ)取模相加并除以响应的采样点数,得到取模后的平均值,将此平均值除0.636即得到平均幅度;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 add it and divide it by the corresponding number of sampling points to obtain the average value after taking the modulus, and divide this average value by 0.636 to get the average amplitude;
单比特比较电路如图14所示,如图15所示为示波器仿真结果示意图,输入信号为频率10kHz,幅度0.6V、具有1.65V偏置电压的正弦信号,即图中的通道B信号,反向端的比对阈值为1.65V偏置电压、频率40kHz,幅度0.6V正弦信号,即图中的通道C信号,通道A为比对后的单比特信号。The single-bit comparison circuit is shown in Figure 14. Figure 15 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 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.
本实施例中,线性稳压电路能将USB的5V电压稳压至3.3V为微控制器以及USB转TTL电路提供电能,线性稳压电路如图16所示,线性稳压电路分别连接至微控制器和USB转TTL电路的电压输入端。In this embodiment, the linear voltage regulator circuit can regulate the USB 5V voltage to 3.3V to provide power for the microcontroller and the USB to TTL circuit. The linear voltage regulator circuit is shown in Figure 16, and the linear voltage regulator circuit is respectively connected to the voltage input terminals of the microcontroller and the USB to TTL circuit.
本实施例中,微控制器与电压偏置电路和比较电路的信号输出端连接,微控制器采集经过滤波放大和电压偏置后的混频信号并检测其信号幅值,进而调节AGC放大增益以及比较电路的阈值幅度(若采用单频阈值)。微控制器通过GPIO口采集经过任意阈值比较后的单比特信号,GPIO口的逻辑0电平为-0.3V-1.2V,逻辑1电平为1.8V-3.6V,经过比较后的单比特信号的高电平为3.3V,低电平为0V,通过微控制器自带的定时器,定时读取GPIO口的高低电平得到单比特信号并存储于微控制器内部的RAM,将单比特信号在微控制器内部进行数据重排(如将8个单比特数据重排成1byte数据,即一位二进制即可表示一次采样的单比特信号),可通过DMA通道转运端口的单比特信号来减缓CPU压力。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 a 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.
微控制器负责通过UART将采集并重排后的单比特信号传输至USB转TTL电路。The microcontroller is responsible for transmitting the collected and rearranged single-bit signal to the USB to TTL circuit through the UART.
微控制器电路如图17所示,此系统不局限于当前微控制器型号STM32F407VET6,还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。微控制器还通过数模转换模块将调制波形发送至雷达传感器的负向输入端。The microcontroller circuit is shown in FIG17 . This system is not limited to the current microcontroller model STM32F407VET6, but can also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), off-the-shelf programmable gate arrays (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.
其中,微控制器的数模转换模块(DAC)的三个输出端均可用定时器+DMA+DAC的方式,若为外挂DAC芯片,则根据外挂DAC的通讯方式用定时器+DMA+IIC或者定时器+DMA+SPI。若为PWM RC滤波,则可用DMA+定时器CCR寄存器的方式,将数字量搬运到CCR寄存器,得到不同占空比的PWM,经过RC滤波得到想要的电压值,注意RC滤波需综合考虑上升时间和电压纹波。系统微控制器只有两个DAC外设,调制波形和调节比较阈值均用的DAC外设,调节信号幅度用的RC滤波,由于AGC自动增益的对电压纹波较为敏感,因此采用二阶RC滤波的方式,若用其他芯片,视芯片的外设情况而定。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.
微控制器的GPIO口的单比特可用定时器+DMA+GPIO的方式,通过DMA+GPIO口的IDR寄存器,得到固定引脚位数的单比特信号(二进制),取此单比特信号至单比特数组并进行与、移位操作,将八位单比特信号重排为1byte的数据量。定时器决定单比特采样率,采样范围为单个DAC调制波形(锯齿波或三角波等)周期内。为了保证单比特采样是位于DAC调制波形(锯齿波或三角波等)周期内,可用定时器级联中断的方式,将DAC调制波形的定时器作为从定时器,将单比特采样的定时器作为主定时器(此方法的前提为DAC调制波形的DMA搬运点数大于单比特采样点数,若小于,可主从调换)。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).
微控制器的模数转换模块(ADC)采集信号可用定时器+DMA+ADC的方式,通过DMA+ADC的DR寄存器,将寄存器的值(采样后的ADC信号)搬运至内部数组进行相关的数据分析,此步骤服务于单频阈值的产生,也可直接得到ADC信号方便与单比特信号进行比对。为了保证ADC采样是位于DAC调制波形(锯齿波或三角波等)周期内,可用定时器级联中断的方式,将DAC调制波形的定时器作为从定时器,将ADC采集的定时器作为主定时器(此方法的前提为DAC调制波形的DMA搬运点数大于ADC采样点数,若小于,可主从调换)。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).
串口发送和接收可用DMA+USART的方式,通过DMA+USART的DR寄存器,将需要发送的数据通过DMA搬运至DR寄存器,以及将接收到的数据(位于DR寄存器中)通过DMA搬运至微控制器内部数组中进行后续数据的处理。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.
本实施例中,由于单片机的串口TTL信号和上位机的USB信号的电气特性和协议的不同,其发送的信号并不能直接被上位机识别,因此需要将TTL信号转成USB信号,以便数据的正确传输。USB转TTL电路将重排后的数据发送至上位机进行进一步的处理,上位机在接收信号的同时,也可发送信号来切换系统的工作状态,如系统的启动和停止、调制波形的切换、近中远距离模式切换(即调频率k的更改)、比对阈值切换和调节、AGC自动增益的调节范围以及单比特采样率。USB转TTL电路如图18所示。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 sent by the single-chip microcomputer 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 near, 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 shown in Figure 18.
本实施例中,微控制器的数模转换模块为内置的DAC,通过DAC输出一定的比较阈值得到单比特信号,若微控制器DAC不够用,或者不存在DAC,可有如下解决方法: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:
(1)可输出一定频率的PWM波通过RC滤波得到模拟电压,图19为二阶RC滤波电路,图20为波特测试仪的仿真结果。(1) A PWM wave with a certain frequency can be output and an analog voltage can be obtained through RC filtering. Figure 19 is a second-order RC filter circuit, and Figure 20 is the simulation result of the Bode tester.
(2)外接DAC芯片,如MCP4725、DAC5571等。(2) External DAC chip, such as MCP4725, DAC5571, etc.
单比特滤波端的PCB版图如图21所示,电路板选用四层板设计,板层顺序为顶层信号层、地层、电源层和底层信号层,各电路的连接关系如图22所示,线路主要布置在顶层信号层,部分线路底层走线,中间地层和电源层提高PCB的抗干扰能力。The PCB layout of the single-bit filter end is shown in Figure 21. The circuit board adopts a four-layer 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 shown in Figure 22. The lines are mainly arranged on the top signal layer, and some lines are routed on the bottom layer. The middle ground layer and power layer improve the anti-interference ability of the PCB.
单比特数字接收处理端的PCB版图如图23所示,电路选用双层板设计,通过两个2×20Pin排针与单比特滤波端连接,易于更换微控制器,电路连接关系如图24所示,线路主要布置在顶层信号层,部分线路底层走线。通过USB转TTL电路的收发端口,从而将重排后的数据传输至上位机。The PCB layout of the single-bit digital receiving and processing end is shown in Figure 23. The circuit uses a double-layer board design and is connected to the single-bit filter end through two 2×20Pin headers. It is easy to replace the microcontroller. The circuit connection relationship is shown in Figure 24. The circuit is 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.
因此,本发明采用上述一种任意可变阈值的单比特宽带雷达系统,可以有效提高采样、存储和传输效率,可以适用于不同的雷达监测场景和微控制器,且系统复杂度更低,有利于降低制造成本。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.
最后应说明的是:以上实施例仅用以说明本发明的技术方案而非对其进行限制,尽管参照较佳实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对本发明的技术方案进行修改或者等同替换,而这些修改或者等同替换亦不能使修改后的技术方案脱离本发明技术方案的精神和范围。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 (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410736760.2A CN118311503B (en) | 2024-06-07 | 2024-06-07 | Single-bit broadband radar system with arbitrary variable threshold |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410736760.2A CN118311503B (en) | 2024-06-07 | 2024-06-07 | Single-bit broadband radar system with arbitrary variable threshold |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118311503A true CN118311503A (en) | 2024-07-09 |
CN118311503B CN118311503B (en) | 2024-09-13 |
Family
ID=91722789
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410736760.2A Active CN118311503B (en) | 2024-06-07 | 2024-06-07 | Single-bit broadband radar system with arbitrary variable threshold |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118311503B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119148144A (en) * | 2024-11-12 | 2024-12-17 | 深圳大学 | Millimeter wave single-bit synthetic aperture radar signal processing system |
CN119966406A (en) * | 2025-04-11 | 2025-05-09 | 东莞市搏信智能控制技术有限公司 | A PWM to DAC output system for tension control |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6137566A (en) * | 1999-02-24 | 2000-10-24 | Eoo, Inc. | Method and apparatus for signal processing in a laser radar receiver |
CN104316909A (en) * | 2014-10-10 | 2015-01-28 | 中国科学院电子学研究所 | Dual-channel non-uniform sampling receiver of lunar ranging radar of lunar surface patroller |
CN108508438A (en) * | 2018-04-09 | 2018-09-07 | 深圳大学 | A kind of a bit echo data acquisition method and system based on single-frequency time-varying threshold value |
US20200007140A1 (en) * | 2017-02-03 | 2020-01-02 | Novelda As | Receiver |
CN111077503A (en) * | 2020-01-16 | 2020-04-28 | 深圳大学 | Mixed interference signal generation method, device, equipment and medium |
-
2024
- 2024-06-07 CN CN202410736760.2A patent/CN118311503B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6137566A (en) * | 1999-02-24 | 2000-10-24 | Eoo, Inc. | Method and apparatus for signal processing in a laser radar receiver |
CN104316909A (en) * | 2014-10-10 | 2015-01-28 | 中国科学院电子学研究所 | Dual-channel non-uniform sampling receiver of lunar ranging radar of lunar surface patroller |
US20200007140A1 (en) * | 2017-02-03 | 2020-01-02 | Novelda As | Receiver |
CN108508438A (en) * | 2018-04-09 | 2018-09-07 | 深圳大学 | A kind of a bit echo data acquisition method and system based on single-frequency time-varying threshold value |
CN111077503A (en) * | 2020-01-16 | 2020-04-28 | 深圳大学 | Mixed interference signal generation method, device, equipment and medium |
Non-Patent Citations (1)
Title |
---|
赵博等: "基于单频时变阈值的1-bit SAR成像方法研究", 雷达学报, vol. 7, no. 4, 31 August 2018 (2018-08-31), pages 446 - 454 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119148144A (en) * | 2024-11-12 | 2024-12-17 | 深圳大学 | Millimeter wave single-bit synthetic aperture radar signal processing system |
CN119966406A (en) * | 2025-04-11 | 2025-05-09 | 东莞市搏信智能控制技术有限公司 | A PWM to DAC output system for tension control |
Also Published As
Publication number | Publication date |
---|---|
CN118311503B (en) | 2024-09-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN118311503B (en) | Single-bit broadband radar system with arbitrary variable threshold | |
CN111490736B (en) | power supply | |
CN104316737B (en) | One kind biases adjustable wave generator circuit and method based on FPGA amplitudes | |
CN102468805B (en) | The production method of a kind of swept signal generator and swept-frequency signal | |
CN103997206A (en) | Switching power source | |
CN102495701A (en) | Touch detection method and touch detection device for capacitive touch screen | |
US12340053B2 (en) | Touch sensing system | |
CN109900981B (en) | Low-power consumption RSSI detection circuitry based on automatic gain control | |
CN104811181A (en) | Current-to-voltage conversion circuit with input bias and active power filtering effects and current-to-voltage conversion method | |
CN105337612B (en) | Filter out the software phase-lock loop of Hz noise | |
CN219266827U (en) | DDS-based dual-channel radar arbitrary waveform signal generator | |
CN113037337B (en) | Near field communication transmission circuit, related chip and electronic device | |
CN204559542U (en) | A kind of current-to-voltage converting circuit with inputting biased and active power filtering | |
US10097179B2 (en) | Mixing module and capacitive touch panel | |
CN113702676B (en) | Broadband arbitrary waveform generation device and method based on CML interface | |
CN113556025B (en) | Method and system for generating reference signal of switching converter in envelope tracking power supply | |
CN104242831A (en) | Wideband amplification device with low noise | |
CN202841099U (en) | A microwave system control device | |
CN209118486U (en) | A kind of simple digital control infrared communications set | |
CN207977950U (en) | Underwater sound emission system | |
CN217469764U (en) | Programmable digital excitation power supply | |
CN101594066B (en) | A Normalized Nonlinear PWM Carrier Modulation Method for Converters | |
CN106357129B (en) | The controllable giant magnetostrictive transducer driving power of signal source | |
CN203722610U (en) | ADC dynamic sampling circuit based on digital receiver | |
CN101325404A (en) | frequency hopping carrier generator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |