Radar testing method, electronic equipment and medium
Through the electrical connection between electronic devices and speed measurement radar, Doppler frequency modulation and instantaneous frequency measurement are used to solve the problem that the existing technology cannot simulate multiple motion modes and precise positioning, and efficient detection and fault positioning of speed measurement radar are achieved. , reducing testing costs and risks.
Patent Information
- Application Number
- CN202011602605.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-29
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2040-12-29
AI Technical Summary
Existing radar testing equipment cannot simulate multiple real motion modes of trains in the laboratory, and cannot perform module-level precise positioning of faulty radars, resulting in high loading test costs, long cycles and testing risks.
Through the electronic device and the speed measurement radar, the transmitting signal is electrically connected, the transmitting signal is received for instantaneous frequency measurement processing, the Doppler frequency is calculated for modulation, the normality of the transmitting, receiving and signal processing modules is judged, and various motion modes of the train are simulated for detection.
It realizes detection of various motion modes of speed measurement radar, and can perform module-level precise positioning of faulty radars, reducing testing costs and risks, and improving detection accuracy.
Smart Images

Figure CN112731319B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of radar testing, and in particular relates to a radar testing method, electronic equipment and a medium. Background Art
[0002] With the rapid development of major cities in my country and the continuous increase in urban traffic pressure, the domestic intelligent transportation industry speed radar test equipment is an indispensable test tool, and the speed measurement accuracy needs to be well guaranteed. For radars that are undergoing fault repair or other performance evaluation and inspection, they must be tested and verified before they can be used. However, due to the lack of necessary offline detection methods, they can only be installed and tested in the operation after repair. The installation test is costly, has a long cycle, and has certain test risks. The existing test equipment cannot meet the design requirements for the detection of train speed radars, and can only achieve simple Doppler radar speed measurement error correction. It is impossible to simulate the various real movement modes of trains in the laboratory, and it is even more impossible to accurately locate the faulty radar at the module level. Summary of the invention
[0003] In order to overcome the above technical defects, the present invention provides a radar testing method, an electronic device and a medium, aiming to provide a better radar testing method.
[0004] In order to solve the above problems, the present invention is implemented according to the following technical solutions:
[0005] In a first aspect, the present invention provides a radar testing method, which is applied to a speed measuring radar, wherein the speed measuring radar is electrically connected to an electronic device, and the speed measuring radar is arranged at an oblique position above the electronic device, and the method comprises:
[0006] Receiving a transmission signal from the speed measuring radar;
[0007] Performing instantaneous frequency measurement processing on the transmission signal to obtain an instantaneous frequency measurement value f and an instantaneous power measurement value P;
[0008] The Doppler frequency f at the preset simulation speed v is calculated according to the instantaneous frequency measurement value f d ; Wherein, v is the simulation speed preset by the electronic device;
[0009] The transmission signal and the Doppler frequency f d Performing Doppler modulation to obtain a digital modulation signal and sending it back to the speed measuring radar;
[0010] Receiving a power measurement value and a speed measurement value, wherein the power measurement value and the speed measurement value are generated after the speed measurement radar receives the digital modulation signal;
[0011] According to the instantaneous frequency measurement value f, the instantaneous power measurement value P, the reference frequency value of the speed measuring radar, and the reference power value of the speed measuring radar, it is judged whether the transmitting module of the speed measuring radar is normal;
[0012] According to the power measurement value and the reference power value, determine whether the receiving module of the speed measuring radar is normal;
[0013] According to the speed measurement value and the preset simulation speed, determine whether the signal processing module of the speed measurement radar is normal.
[0014] Further, the speed measuring radar is a DRS05 speed measuring radar, and the speed measuring radar includes two transmitting antennas. The instantaneous frequency measurement processing of the transmitting signal is performed to obtain an instantaneous frequency measurement value f and an instantaneous power measurement value P, including:
[0015] Perform instantaneous frequency measurement on the transmitted signal to obtain an instantaneous frequency measurement value f i (i=1,2) and instantaneous power measurement value P i (i=1,2).
[0016] Furthermore, the Doppler frequency f at the preset simulation speed v is calculated according to the instantaneous frequency measurement value f. d The steps include:
[0017] The Doppler frequency f at the preset simulation speed v is calculated based on the average value of the instantaneous frequency measurement value f d ,in,
[0018] f c is the frequency measurement value f i (i=1,2), c is the speed of light, θ c is the installation angle θ of the two transmitting antennas of the DRS05 speed radar i The average value of (i=1,2).
[0019] Furthermore, if the transmitted signal is a real signal; the transmitted signal and the Doppler frequency f d The steps of performing Doppler modulation include:
[0020] The transmission signal of the real signal is converted into the transmission signal of the complex signal; the transmission signal of the complex signal and the Doppler frequency f d Doppler modulation is performed.
[0021] Furthermore, if the transmission signal is a real signal, the transmission signal of the real signal is converted into the transmission signal of the complex signal; the transmission signal of the complex signal and the Doppler frequency f converted into the complex signal are converted into the Doppler frequency f d The steps of performing Doppler modulation also include:
[0022] Perform image frequency suppression filtering on the transmission signal.
[0023] Further, the step of judging whether the transmitting module of the speed measuring radar is normal according to the instantaneous frequency measurement value f, the instantaneous power measurement value P, the reference frequency value of the speed measuring radar, and the reference power value of the speed measuring radar includes:
[0024] The instantaneous frequency measurement value f i (i=1,2), or the instantaneous frequency measurement value f i (i=1,2) and the difference between the reference frequency value of the speed measuring radar and the preset transmission frequency error range, or compare the instantaneous power measurement value P i The difference between (i=1, 2) and the benchmark of the speed measuring radar is compared with a preset transmission power error range to determine whether the transmission module of the speed measuring radar is normal.
[0025] Furthermore, the step of judging whether the receiving module of the speed measuring radar is normal according to the power measurement value and the reference power value includes:
[0026] The difference between the power measurement value and the reference power value is compared with the received power measurement error range to determine whether the transmitting module of the speed measuring radar is normal.
[0027] Furthermore, the step of judging whether the signal processing module of the speed measuring radar is normal according to the speed measuring value and the preset simulation speed includes:
[0028] The difference between the speed measurement value and the preset simulation speed is compared with the speed measurement error range to determine whether the transmitting module of the speed measurement radar is normal.
[0029] In a second aspect, the present invention provides a storage medium, which is a computer-readable storage medium and stores a radar test program. When the radar test program is executed by a processor, the steps of the radar test method described in the first aspect are implemented.
[0030] In a third aspect, the present invention provides an electronic device, comprising a processor and a memory, wherein the memory stores a radar test program running on the processor, and when the radar test program is executed by the processor, the steps of the radar test method described in the first aspect are implemented.
[0031] Compared with the prior art, the present invention has the following beneficial effects:
[0032] The present invention discloses a radar testing method, an electronic device and a medium. In the radar testing method, the Doppler frequency f at a preset simulated speed v is d, and modulated with the transmitting signal of the speed measuring radar, the DRS05 speed measuring radar can be detected according to the preset motion state to simulate various real motion modes of the train. At the same time, according to the instantaneous frequency measurement value f, the instantaneous power measurement value P, the reference frequency value of the speed measuring radar, and the reference power value of the speed measuring radar, it is judged whether the transmitting module of the speed measuring radar is normal; according to the power measurement value and the reference power value, it is judged whether the receiving module of the speed measuring radar is normal; according to the speed measurement value and the preset simulated speed, it is judged whether the signal processing module of the speed measuring radar is normal, and the faulty radar can be accurately located at the module level. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0034] Figure 1 It is a schematic diagram of the structure of the radar test scene in the embodiment;
[0035] Figure 2 It is a schematic diagram of the radar testing method in the embodiment;
[0036] Figure 3 FIG. 4 is a flow chart of a radar testing method in an embodiment. DETAILED DESCRIPTION
[0037] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0038] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0039] The radar testing method of the embodiment of the present invention is applied to a speed measuring radar, wherein the speed measuring radar is electrically connected to an electronic device, and the speed measuring radar is arranged at an oblique position above the electronic device. Figure 1 This is a radar test scenario layout diagram of this embodiment. Generally, the speed measuring radar is set up at a height of about 1 meter from the ground; the electronic equipment is placed on the ground, about 1 meter horizontally away from the radar antenna, and the elevation angle of the electronic equipment is adjusted to about 45° so that the antenna of the electronic equipment can face the antenna of the radar.
[0040] refer to Figure 2-3 , the radar test method includes the following steps:
[0041] S10, receiving a transmission signal from a speed measuring radar;
[0042] In some embodiments, the radar is a DRS05 speed measuring radar, which includes two transmitting antennas.
[0043] S20, perform instantaneous frequency measurement on the transmitted signal to obtain an instantaneous frequency measurement value f and an instantaneous power measurement value P. The instantaneous frequency measurement value of the DRS05 speed measurement radar is f i (i=1,2) and the instantaneous power measurement value is P i (i=1,2).
[0044] Specifically, the receiving antenna of the test equipment receives the transmission signal of the DRS05 speed radar in the 24GHz frequency band, and after down-conversion, the signal is converted to an intermediate frequency range of 100-350MHz, with an instantaneous bandwidth of 250MHz. The intermediate frequency transmission signal is then sampled by the ADC module at 1GSPS to convert the intermediate frequency analog signal into a digital signal. In this embodiment, the transmission signal of the digital signal is divided into two paths for processing.
[0045] More specifically, a fast Fourier transform (FFT) is performed on the transmitted signal to obtain the signal spectrum, and the two positions with the largest and second largest amplitudes in the spectrum are selected. The horizontal axis coordinate of the position corresponds to the instantaneous frequency measurement value, and the vertical axis coordinate corresponds to the instantaneous power measurement value.
[0046] S30, according to the frequency measurement value f i The average value f of (i=1,2) c Calculate the Doppler frequency f at the preset simulation speed v d ; Where v is the simulated speed preset by the electronic device; Doppler frequency f c is the frequency measurement value f i (i=1,2), c is the speed of light, θ c is the installation angle θ of the two transmitting antennas of the DRS05 speed radar i The average value of (i=1,2).
[0047] Specifically, step S30 is the first processing method of the transmission signal of the digital signal. By setting a preset simulation speed v in the electronic device, the DRS05 speed radar can be detected according to a plurality of real motion modes of the train simulated according to the preset motion state.
[0048] S40, the transmission signal and the Doppler frequency f dDoppler modulation is performed to obtain a digital modulation signal and send it back to the speed measuring radar;
[0049] Specifically, the transmission signal is one of a real signal and a complex signal. If it is a real signal, it is necessary to obtain an IQ complex signal X[n] after image frequency suppression filtering. If two ADCs are used to implement IQ sampling, the complex signal X[n] is directly obtained. This is the second processing of the transmission signal of the digital signal. The transmission signal converted into a complex signal is compared with the Doppler frequency f converted into a complex signal. d Doppler modulation is performed, where the Doppler frequency f d The complex Doppler signal is generated by DDS. After the digital modulation signal is obtained, it is sent to the DAC to be converted into an intermediate frequency analog signal, and finally sent to the speed measuring radar after up-conversion and transmitting antenna. The digital modulation signal contains Doppler modulation information, and the speed measuring radar obtains the speed value by extracting this information.
[0050] S50, receiving a power measurement value and a speed measurement value, wherein the power measurement value and the speed measurement value are generated after the speed measurement radar receives a digital modulation signal;
[0051] Specifically, after the speed measuring radar receives the digital modulation signal, the speed measuring radar itself can generate radar measurement results, which are output to the electronic equipment through the cable. The radar measurement results include target speed, speed direction, speed validity flag, and power measurement values of the two receiving channels. The speed measuring radar calculates the speed value of the simulated train based on the size of the Doppler frequency.
[0052] S60, judging whether the transmitting module of the speed measuring radar is normal according to the instantaneous frequency measurement value f, the instantaneous power measurement value P, the reference frequency value of the speed measuring radar, and the reference power value of the speed measuring radar;
[0053] Specifically, the instantaneous frequency measurement value f i (i=1,2), or the instantaneous frequency measurement value f i (i=1,2) and the difference between the reference frequency value of the speed measuring radar and the preset transmission frequency error range, or compare the instantaneous power measurement value P i The difference between (i=1,2) and the speed radar benchmark is compared with the preset transmission power error range to determine whether the transmission module of the speed radar is normal. i The number of (i=1,2) is less than 2, or the instantaneous frequency measurement value f i (i=1,2) The difference between the reference frequency value of the speed measuring radar exceeds the preset transmission frequency error range, or the instantaneous power measurement value P i The difference between (i=1,2) and the benchmark of the speed measuring radar exceeds the preset transmission power error range, and it is determined that the transmission module of the speed measuring radar is abnormal.
[0054] S70, judging whether the receiving module of the speed measuring radar is normal according to the power measurement value and the reference power value;
[0055] Specifically, if the difference between the power measurement value and the reference power value exceeds the received power measurement error range, it is determined that the transmitting module of the speed measuring radar is abnormal.
[0056] S80: Determine whether the signal processing module of the speed measuring radar is normal according to the speed measuring value and the preset simulation speed.
[0057] Specifically, if the difference between the speed measurement value and the preset simulation speed exceeds the speed measurement error range, it is determined that the transmitting module of the speed measurement radar is abnormal.
[0058] An electronic device provided by an embodiment of the present invention includes a processor and a memory, wherein the memory is used to store a computer program; the processor is used to execute the computer program and implement any radar test method provided by the embodiment of the present invention when executing the computer program.
[0059] It should be understood that the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0060] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the processor implements any radar testing method provided by the embodiment of the present invention.
[0061] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable storage medium, which may include a computer-readable storage medium (or a non-transitory medium) and a communication medium (or a temporary medium).
[0062] As is known to those of ordinary skill in the art, the term computer-readable storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer-readable storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery medium.
[0063] Exemplarily, the computer-readable storage medium may be an internal storage unit of the network management device described in the foregoing embodiment, such as a hard disk or memory of the network management device. The computer-readable storage medium may also be an external storage device of the network management device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc., equipped on the network management device.
[0064] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Therefore, any modification, equivalent change and modification made to the above embodiment according to the technical essence of the present invention without departing from the technical solution of the present invention shall still fall within the scope of the technical solution of the present invention.
Claims
1. A radar testing method, applied to a speed measuring radar, wherein the speed measuring radar is electrically connected to an electronic device, and the speed measuring radar is arranged at an oblique position above the electronic device. It is characterized in that The method comprises: Receiving a transmission signal from the speed measuring radar; Performing instantaneous frequency measurement processing on the transmission signal to obtain an instantaneous frequency measurement value f and an instantaneous power measurement value P; The Doppler frequency f at the preset simulation speed v is calculated according to the instantaneous frequency measurement value f d ; Wherein, v is the simulation speed preset by the electronic device; The transmission signal and the Doppler frequency f d Performing Doppler modulation to obtain a digital modulation signal and sending it back to the speed measuring radar; Receiving a power measurement value and a speed measurement value, wherein the power measurement value and the speed measurement value are generated after the speed measurement radar receives the digital modulation signal; According to the instantaneous frequency measurement value f, the instantaneous power measurement value P, the reference frequency value of the speed measuring radar, and the reference power value of the speed measuring radar, it is judged whether the transmitting module of the speed measuring radar is normal; According to the power measurement value and the reference power value, determine whether the receiving module of the speed measuring radar is normal; According to the speed measurement value and the preset simulation speed, determine whether the signal processing module of the speed measurement radar is normal; The speed measuring radar is a DRS05 speed measuring radar, and the speed measuring radar includes two transmitting antennas. The instantaneous frequency measurement processing is performed on the transmitting signal to obtain an instantaneous frequency measurement value f and an instantaneous power measurement value P, including: Perform instantaneous frequency measurement on the transmitted signal to obtain an instantaneous frequency measurement value f i , i = 1, 2, and the instantaneous power measurement value P i ; The Doppler frequency f at the preset simulation speed v is calculated according to the instantaneous frequency measurement value f d The steps include: The Doppler frequency f at the preset simulation speed v is calculated based on the average value of the instantaneous frequency measurement value f d ,in, f c is the frequency measurement value f i The average value of, c is the speed of light, θ c is the installation angle θ of the two transmitting antennas of the DRS05 speed radar i The average value of The step of judging whether the transmitting module of the speed measuring radar is normal according to the instantaneous frequency measurement value f, the instantaneous power measurement value P, the reference frequency value of the speed measuring radar, and the reference power value of the speed measuring radar comprises: By comparing the number of instantaneous frequency measurement values, or the difference between the instantaneous frequency measurement value and the reference frequency value of the speed measuring radar with a preset transmission frequency error range, or the difference between the instantaneous power measurement value and the reference of the speed measuring radar with a preset transmission power error range, it is determined whether the transmission module of the speed measuring radar is normal; The step of judging whether the receiving module of the speed measuring radar is normal according to the power measurement value and the reference power value includes: Compare the difference between the power measurement value and the reference power value with the received power measurement error range to determine whether the transmitting module of the speed measuring radar is normal; The step of judging whether the signal processing module of the speed measuring radar is normal according to the speed measuring value and the preset simulation speed includes: The difference between the speed measurement value and the preset simulation speed is compared with the speed measurement error range to determine whether the transmitting module of the speed measurement radar is normal.
2. The radar testing method according to claim 1, It is characterized in that If the transmitted signal is a real signal; the transmitted signal and the Doppler frequency f d The steps of performing Doppler modulation include: The transmission signal of the real signal is converted into the transmission signal of the complex signal; the transmission signal of the complex signal and the Doppler frequency f d Doppler modulation is performed.
3. The radar testing method according to claim 2, It is characterized in that If the transmission signal is a real signal, the transmission signal of the real signal is converted into the transmission signal of the complex signal; the transmission signal of the complex signal and the Doppler frequency f d The steps of performing Doppler modulation also include: Perform image frequency suppression filtering on the transmission signal.
4. A storage medium, It is characterized in that The storage medium is a computer-readable storage medium, on which a radar test program is stored. When the radar test program is executed by a processor, the steps of the radar test method according to any one of claims 1 to 3 are executed.
5. An electronic device, It is characterized in that The electronic device includes a processor and a memory, wherein the memory stores a radar test program that runs on the processor, and when the radar test program is executed by the processor, the steps of the radar test method according to any one of claims 1 to 3 are implemented.
