A four-channel active phased array radar T / R module intelligent test system and method

The intelligent testing system for four-channel active phased array radar T/R components has enabled automated testing and data management of T/R components, solving the problems of low efficiency, poor consistency, and lack of data traceability in existing technologies, and improving testing efficiency and quality control capabilities.

CN123136553APending Publication Date: 2026-11-20JIANGSU COLLEGE OF INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611392852.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-09
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing technologies for T/R component production testing suffer from problems such as low efficiency of manual channel switching, equipment interface wear, poor test consistency, and lack of digital data management, which cannot meet the requirements for efficient and reliable quality control.

Method used

A four-channel active phased array radar T/R module intelligent testing system is adopted, which includes a host computer, RF switch matrix, test instrument group and automatic loading machine. Automatic switching is realized through programmable matrix switch controller. Combined with standardized SOP test sequence and data management module, multi-channel automated testing and data traceability are realized.

Benefits of technology

It significantly improves testing efficiency, ensures test consistency and data reliability, supports quality control throughout the entire lifecycle, and reduces the risk of equipment damage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123136553A_ABST
    Figure CN123136553A_ABST
Patent Text Reader

Abstract

The application discloses a four-channel active phased array radar T / R component intelligent test system and method, the system comprises a host computer, a radio frequency switch matrix, a test instrument group and an automatic feeding machine, the radio frequency switch matrix is composed of an STM32 main control, a 74LS595 shift register cascade extension circuit and a TPS4H160 intelligent high-side gate drive circuit, the host computer instruction is received through a VISA protocol, a 7-way physical radio frequency switch is driven through a path-control code mapping table lookup table to realize automatic switching of a two-transmitting and two-receiving four-channel transceiving path. The host computer software adopts a five-in-one function architecture, realizes test instrument programming based on SCPI standardization instruction, solves the TCP sticky packet problem by adopting a ring buffer and a half packet cache mechanism, the application realizes full-process automation, standardization and data traceability of T / R component testing, the channel switching time is less than 50 ms, can be extended to 32 ways, and effectively solves the problems of low efficiency, poor consistency and data management loss in the existing manual test.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of radio frequency testing technology for phased array radar, specifically to an intelligent testing system and method for a four-channel active phased array radar T / R module. Background Technology

[0002] Phased array radar is a core sensor in modern defense equipment, widely used in various military platforms such as land-based early warning, airborne fire control, shipborne air defense, and spaceborne reconnaissance. The T / R (transmit / receive) module, as the most crucial component of active phased array radar, directly determines key tactical indicators such as the radar system's detection range, resolution, and anti-jamming capability. With the comprehensive upgrade of phased array radar from passive to active systems, the number of T / R modules in a single radar has surged from dozens to thousands or even tens of thousands, placing extremely high demands on the mass production and testing of T / R modules.

[0003] Currently, the following prominent issues exist in the production and testing of domestic T / R modules:

[0004] (1) The efficiency of manual switching test for multiple channels is low. The test of T / R components requires repeated switching between their transmit and receive channels. The traditional method relies entirely on manual plugging and unplugging of RF cables to complete the channel switching. The test of a single T / R component takes more than half an hour. Frequent plugging and unplugging also causes wear and tear on the RF interface, shortens the lifespan of expensive test instruments, and the queuing of instruments further prolongs the overall test cycle.

[0005] (2) Consistency of manual testing is difficult to guarantee. The entire testing process relies on the personal experience of the operators and lacks standardized testing standard operating procedures (SOPs), resulting in poor test consistency and a high misjudgment rate, which fails to meet the quality control requirements of military products to be accurately measured and controlled.

[0006] (3) Lack of digital management of test data. Test results have long relied on manual paper records, which are prone to errors and omissions, making it impossible to form a complete and traceable quality data chain and difficult to support real-time analysis and decision-making on the production site.

[0007] Therefore, the large-scale testing of domestically produced RF modules urgently needs to evolve from manual operation mode to a fully digital management and control system, and there is an urgent need for an intelligent testing system that can realize automatic switching of multiple channels, standardized program-controlled testing, and full-link data traceability. Summary of the Invention

[0008] The purpose of this section is to outline some aspects of the embodiments of the present invention and to briefly describe some preferred embodiments. Simplifications or omissions may be made in this section, as well as in the abstract and title of this application, to avoid obscuring the purpose of these documents; however, such simplifications or omissions should not be construed as limiting the scope of the invention.

[0009] Therefore, the purpose of this invention is to provide an intelligent testing system and method for four-channel active phased array radar T / R components, in order to solve the problems of low efficiency and damage to equipment interfaces caused by manual channel switching, poor consistency of manual testing, lack of standardized processes, lack of digital management of test data, and inability to form a quality traceability closed loop.

[0010] To address the aforementioned technical problems, according to one aspect of the present invention, the present invention provides the following technical solution:

[0011] A four-channel active phased array radar T / R module intelligent testing system, comprising:

[0012] The host computer is equipped with test control software, which is used to send test commands, collect test data, execute test sequence judgments, and generate test reports;

[0013] The radio frequency switch matrix, which is connected to the host computer, includes a programmable matrix switch controller, a multi-channel radio frequency switch array, and a switch drive circuit. It is used to realize programmable automatic switching of the four-channel T / R component transceiver paths according to the control commands issued by the host computer.

[0014] The test instrument group, including a signal source, spectrum analyzer, and oscilloscope, is connected to the host computer via a local area network switch and is used to provide excitation signals to the T / R component under test and to acquire response signals.

[0015] An automatic feeding machine is connected to the host computer and is used to automatically complete the feeding, barcode scanning and identification, gripping and clamping of T / R components, and automatic connection of test circuits.

[0016] As a preferred embodiment of the intelligent testing system for a four-channel active phased array radar T / R component described in this invention, the programmable matrix switch controller of the radio frequency switch matrix adopts an STM32 microcontroller as the main control chip, receives VISA protocol instructions from the host computer through an Ethernet interface, and outputs control signals to drive the subsequent switch array after protocol parsing.

[0017] The switch driving circuit includes:

[0018] An isolation buffer circuit is used to achieve electrical isolation between the main controller and the back-end driver;

[0019] The switch control signal expansion circuit uses multiple cascaded 74LS595 shift registers, which can expand the output of no less than 32 switch control signals by occupying only 5 IO pins of the main control chip;

[0020] The level conversion and power amplification circuit uses the TI TPS4H160 intelligent high-side switch chip to convert the TTL level output by the main control into the drive level required by the RF switch, while also integrating current limiting protection, short-circuit fault diagnosis and channel parallel connection functions.

[0021] As a preferred embodiment of the intelligent testing system for a four-channel active phased array radar T / R module described in this invention, the radio frequency switch matrix internally contains 7 physical radio frequency switches, constructed as a two-transmit, two-receive switch matrix topology; wherein:

[0022] The transmission test link is as follows: the excitation signal output by the signal source is transmitted to the transmission channel of the T / R component through switches A, B, G and F in sequence. The signal amplified inside the component is then transmitted back to the spectrum analyzer through switches C and D.

[0023] The receiving test link is as follows: the external excitation signal is sent to the receiving channel of the T / R component through switch A and switch C, and after being processed by the internal low noise amplifier, the signal is sent to the spectrum analyzer through switch E, switch G, switch B and switch D.

[0024] As a preferred embodiment of the intelligent testing system for a four-channel active phased array radar T / R component described in this invention, each independent path of each RF switch is assigned a unique corresponding control code. The programmable matrix switch controller has a path-control code mapping table. After the host computer issues an instruction, it obtains the corresponding control code by looking up the table and drives the shift register to complete the switching of the switch path.

[0025] The control code mapping table is decoupled from the upper-level control program, and only the mapping table data is modified when the hardware pin layout or control code changes.

[0026] As a preferred embodiment of the intelligent testing system for a four-channel active phased array radar T / R component described in this invention, the driving circuit of the TPS4H160 intelligent high-side switch chip adopts a two-output parallel connection method to meet the driving current requirements of the radio frequency switch coil.

[0027] The output of the drive circuit is equipped with a freewheeling circuit composed of diodes to suppress voltage spikes generated when the switch coil is turned off.

[0028] As a preferred embodiment of the intelligent testing system for a four-channel active phased array radar T / R component described in this invention, the host computer's test control software uses the VISA protocol as the instrument control interface and SCPI standardized instructions to realize the program control of the test instrument.

[0029] The test control software comprises a five-in-one functional architecture consisting of a project management module, a parameter configuration module, an automatic testing module, a data management module, and a system log module.

[0030] As a preferred embodiment of the intelligent testing system for a four-channel active phased array radar T / R component described in this invention, the communication protocol parsing of the test control software adopts a circular buffer and a half-packet caching mechanism. Specifically, the raw data received by TCP is written into the circular buffer, the complete SCPI instruction frame is split by searching for the newline terminator to solve the TCP packet merging problem, and the incomplete half-packet data is cached until the next data arrives and then spliced ​​and parsed.

[0031] At the same time, a partial instruction replacement strategy is adopted. When compatibility with different instrument models is required, only the instruction mapping dictionary needs to be adjusted, without rewriting the underlying driver framework.

[0032] As a preferred embodiment of the intelligent testing system for a four-channel active phased array radar T / R component described in this invention, the PCB layout of the RF switch matrix implements the following consistency assurance measures: RF signal traces strictly follow the principle of equal length and symmetry; isolation resistors and shielding cavities are set inside the matrix switch cavity; semi-steel cables are used for internal interconnection and RF standard connectors are uniformly used for interfaces; and fixed-length high-stability RF cables and standard 50-ohm calibration loads are used for the test channels.

[0033] A smart testing method for a four-channel active phased array radar T / R module includes the following steps:

[0034] S1. System initialization: The host computer connects to the RF switch matrix, test instrument group and automatic feeder via Ethernet to verify that the communication status of each device is normal.

[0035] S2. The automatic feeder feeds the components, identifies the model, batch and process information of the T / R components to be tested by scanning the code, automatically grabs and clamps them into place, and connects the test circuit.

[0036] S3. The host computer test control software reads the preset standardized SOP test sequence and executes the RF parameter tests in sequence according to the test sequence;

[0037] S4. In each parameter test, the host computer sends SCPI instructions to the signal source and spectrum analyzer through the VISA protocol to set the excitation signal parameters and measurement parameters. At the same time, it sends switch switching instructions to the RF switch matrix and drives the corresponding RF switch to complete the switching of the transceiver channel by looking up the path-control code mapping table.

[0038] S5. After receiving the control command, the RF switch matrix performs protocol parsing, table lookup mapping, and serial output of the shift register to drive the corresponding RF switch path switching. The TPS4H160 chip in the switch drive circuit monitors the current of each channel in real time and triggers a fault alarm when an abnormality occurs.

[0039] S6, spectrum analyzer and oscilloscope collect test data and transmit it back to the host computer. The host computer automatically generates test conclusions based on preset judgment criteria, including the judgment of good or bad products.

[0040] S7. Test data is automatically stored in the local database, test reports are automatically generated, and after the four-channel test is completed, the system automatically classifies the T / R components according to the judgment results.

[0041] As a preferred embodiment of the intelligent testing method for a four-channel active phased array radar T / R module described in this invention, in step S4, the SOP test sequence covers multiple of the following radio frequency parameters: near-transmit spurious rejection ratio, far-transmit spurious rejection ratio, gain, standing wave ratio, noise figure, power, and switching characteristics.

[0042] The system also reserves an interface with the MES production management system to synchronize test data to the production management system, thereby achieving closed-loop traceability of quality data throughout the product lifecycle.

[0043] Compared with the prior art, the beneficial effects of the present invention are:

[0044] 1. By replacing manual insertion and removal with an RF switch matrix, the programmable automatic switching of the four-channel T / R component transceiver path is achieved, with a channel switching time of less than 50ms. The single-piece testing time is reduced from half an hour to minutes, significantly improving production efficiency. The automatic feeding machine realizes fully automatic feeding, barcode scanning, and clamping, completely eliminating reliance on manual experience.

[0045] 2. The standardized SOP test sequence solidifies all test steps, parameter judgment criteria, and channel switching timing into the program, eliminating test errors introduced by human factors and ensuring stable and controllable batch product quality.

[0046] 3. Test data is collected in real time and automatically stored in the database, automatically generating intelligent test reports, providing complete and reliable data for quality analysis throughout the product lifecycle, and supporting integration with the MES production management system to form a closed loop of quality control.

[0047] 4. Adopting a modular hierarchical control architecture and a 595 shift register cascade scheme, the number of RF channels can be expanded by simply adding a driver daughterboard without modifying the main control core circuit; the path-control code mapping table is decoupled from the upper-level control program, and the program only needs to modify the mapping table data to adapt to new hardware.

[0048] 5. The TPS4H160 intelligent high-side switch integrates current limiting protection and short-circuit fault diagnosis functions, upgrading the discrete power drive of optocouplers and MOSFETs to an intelligent drive circuit with self-testing function, which monitors the working status of each channel in real time; the isolation buffer circuit realizes electrical isolation between the main control and the drive, effectively suppressing transient electromagnetic interference of relay switching. Attached Figure Description

[0049] To more clearly illustrate the technical solutions of the embodiments of the present invention, the present invention will be described in detail below with reference to the accompanying drawings and detailed embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Wherein:

[0050] Figure 1 This is a schematic diagram of the overall architecture of the intelligent testing system for a four-channel phased array radar T / R module according to an embodiment of the present invention;

[0051] Figure 2 This is a block diagram of the hardware control architecture of the radio frequency switch matrix in an embodiment of the present invention;

[0052] Figure 3 This is a schematic diagram of the topology of a two-transmitter, two-receiver switch matrix in an embodiment of the present invention;

[0053] Figure 4 This is a schematic diagram of a two-transmitter, two-receiver switch matrix topology transmission test link in an embodiment of the present invention;

[0054] Figure 5 This is a schematic diagram of a two-transmitter, two-receiver switch matrix topology receiving test link in an embodiment of the present invention;

[0055] Figure 6 This is a schematic diagram of the TPS4H160 intelligent high-side switch driving circuit in an embodiment of the present invention;

[0056] Figure 7 This is a schematic diagram of the 74LS595 shift register cascade expansion circuit in an embodiment of the present invention;

[0057] Figure 8 This is a schematic representation of the path-control code mapping in an embodiment of the present invention;

[0058] Figure 9 This is a flowchart illustrating the VISA protocol communication parsing process in an embodiment of the present invention;

[0059] Figure 10 This is a functional architecture diagram of the five-in-one host computer software in an embodiment of the present invention;

[0060] Figure 11 This is a flowchart of the automatic testing method in an embodiment of the present invention. Detailed Implementation

[0061] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0062] like Figure 1 As shown in the figure, the intelligent testing system for a four-channel active phased array radar T / R module provided in this embodiment consists of four main parts: a host computer, an RF switch matrix, a test instrument group, and an automatic feeding machine.

[0063] The host computer is an industrial control computer running a Windows operating system, on which test control software developed based on the Visual Studio platform runs. The test instrument group includes a vector signal generator for generating RF excitation signals, a spectrum analyzer for measuring the spectral characteristics of the output signal, and a digital oscilloscope for observing time-domain waveforms. All test instruments are connected to the same network switch via LAN interfaces, and the host computer also communicates with each instrument via this switch using the LXI (LAN eXtensions for Instrumentation) protocol. The RF switch matrix is ​​connected to this switch via an Ethernet interface, receiving programmable commands from the host computer. The automatic feeder is connected to the host computer via a serial communication interface. The system operates in the 0-3.2 GHz frequency range, with the RF switch matrix having an insertion loss of less than or equal to 0.5 dB, channel isolation greater than or equal to 60 dB, a VSWR less than 1.6, and a channel switching time less than 50 ms.

[0064] like Figure 2 As shown, the hardware control architecture of the RF switch matrix adopts a modular layered design, consisting of a communication interface layer, a main control layer, an isolation driver layer, and a switch array layer.

[0065] The communication interface layer provides both USB and Ethernet (RMII interface) communication methods, receiving VISA protocol control commands from the host computer. The main control layer uses an STM32F4 series microcontroller to complete SCPI instruction parsing, control code lookup table mapping, and shift register timing control. The isolation driver layer consists of three parts: an isolation buffer, a 74LS595 shift register cascade circuit, and a TPS4H160 intelligent high-side switch driver circuit.

[0066] like Figure 7As shown, the switch control signal expansion circuit uses multiple 74LS595 shift registers cascaded together. The STM32 only needs to provide five IO signals: serial data input (SER), shift clock (SRCLK), latch clock (RCLK), output enable (OE), and reset (SRCLR). It can expand the output of 32 or more switch control signals through cascading, which greatly saves the main control IO resources.

[0067] like Figure 6 As shown, the level conversion and power amplification circuit uses TI's TPS4H160 intelligent high-side switch chip. This chip is a 4-channel single-chip solution, with each channel supporting 24V / 140mA drive capability. At the input, the 0-5V TTL signal output by the STM32 through an isolation buffer is connected to the IN1-IN4 input pins of the TPS4H160. At the output, two output channels are connected in parallel to meet the drive current requirements of the RF switch coil. A 160-ohm resistor is connected in series with a 4.2mH inductor to simulate the RF switch coil load. Diodes form a freewheeling circuit to suppress voltage spikes generated when the switch coil is turned off. The chip has built-in current limiting protection and short-circuit fault diagnosis functions. When an overcurrent or short circuit occurs in a channel, the chip automatically feeds back the fault status of the corresponding channel to the main controller, realizing intelligent self-testing of the drive circuit.

[0068] At the PCB layout level, the following design measures are implemented: the LM2596 Buck step-down circuit strictly compresses the high-frequency power loop area; the input ceramic capacitor and freewheeling diode are placed close to the power chip pins; and the power traces are short and wide to reduce loop vias. Large-area copper plating combined with via arrays achieves efficient heat dissipation for power devices. The RMII high-speed Ethernet interface signal lines are subject to equal-length trace constraints, the clock line is kept away from the digital signal lines and grounded, and all decoupling capacitors are placed close to the chip pins to ensure stable Ethernet communication timing and anti-interference capabilities.

[0069] like Figure 3 As shown, the RF switch matrix uses 7 physical RF switches (numbered A to G) to construct a two-transmit, two-receive switch matrix topology, which is adapted to the 2-transmit / 2-receive hardware architecture of the T / R component under test.

[0070] like Figure 4 As shown, the operation of the transmission test link is as follows (red solid line in the figure): The signal source outputs an excitation signal, which is transmitted to the input terminal of the transmission channel of the T / R component via switch path 1, switch path 1, switch path 1, and switch path 1; after being amplified by the internal power amplifier of the T / R component, the signal is transmitted back from its transmission channel output terminal to the input terminal of the spectrum analyzer via switch path 1 and switch path 1, and the spectrum analyzer completes the measurement of parameters such as transmission power and spurious rejection ratio.

[0071] like Figure 5As shown, the working process of the receiving test link is as follows (red solid line in the figure): the external excitation signal is sent to the input terminal of the receiving channel of the T / R component through switch A path 2 and switch C path 2; after the signal is processed by the low noise amplifier inside the T / R component, it is sent from its receiving channel output terminal through switch E path 1, switch G path 2, switch B path 2 and switch D path 2 to the input terminal of the spectrum analyzer, and the spectrum analyzer completes the measurement of parameters such as receiving gain and noise figure.

[0072] like Figure 8 As shown, each independent path of each RF switch is identified by a unique control code. The STM32 controller internally establishes a path-control code mapping table. For example, path 1 of switch A corresponds to control code 1121, and path 2 corresponds to control code 1122; path 1 of switch B corresponds to control code 1125, and path 2 corresponds to control code 1126, and so on. When the host computer issues the command SWIT:CHAN A,1 (meaning switching switch A to path 1), the STM32 uses the ASCII offset of character A as the row index and the path number minus 1 as the column index to retrieve control code 1121 from the mapping table, and then serially outputs it to the corresponding chip through a shift register to complete the switch path switching.

[0073] like Figure 9 As shown, the system's communication protocol is implemented based on the VISA (Virtual Instrument Software Architecture) standard. VISA is a standardized, cross-bus instrument control software abstraction interface specification, and is a common industry standard in the field of RF / measurement instrument automation. In this system, the host computer manages all test instruments, such as signal sources, spectrum analyzers, and oscilloscopes, uniformly through the VISA protocol. The upper-level control program does not need to care about the underlying physical interface type (LAN, USB, or GPIB).

[0074] Protocol parsing employs a circular buffer and partial packet buffering mechanism. The TCP receive callback function writes each arriving Ethernet data packet into the circular buffer. Complete instruction frames are extracted by retrieving the newline character as the end marker for the SCPI instruction, resolving the common packet merging problem in TCP communication. Incomplete partial packets are retained in the buffer and merged into a combination of old and new data using a string concatenation function upon arrival, assembling a complete and compliant control instruction before parsing. Instruction parsing uses the `sscanf` function to extract the target switch number and path number according to a custom SCPI protocol format. Simultaneously, the instruction format is verified through the function's return value, automatically discarding packets with abnormal formats.

[0075] The protocol architecture also adopts a partial instruction replacement strategy: the underlying driver framework encapsulates the entire process of Socket communication, circular buffer, SCPI instruction unpacking, verification and execution. When it is necessary to be compatible with test instruments of different brands or models, only the SCPI instruction string in the instruction mapping dictionary needs to be adjusted. There is no need to rewrite the underlying driver framework, so as to achieve one set of code to be compatible with all interfaces and interoperable with instruments from multiple manufacturers.

[0076] like Figure 10 As shown, the host computer test control software adopts a five-in-one functional architecture, including the following five modules: Project Management Module, responsible for creating, saving, and loading test project configurations; Parameter Configuration Module, used to set test conditions, judgment criteria, instrument parameters, etc. for various RF parameters; Automatic Test Module, which executes various tests sequentially according to the preset SOP test sequence and automatically judges the results; Data Management Module, which realizes real-time storage, query, export, and report generation of test data; and System Log Module, which records system operating status, operation logs, and fault information to facilitate problem tracing.

[0077] like Figure 11 As shown, the steps of the intelligent testing method for a four-channel active phased array radar T / R module of the present invention are as follows:

[0078] Step S1: System power-on initialization. Turn on the main power of the instrument cabinet. The oscilloscope, spectrum analyzer, signal generator, DC regulated power supply and RF switch matrix are powered on synchronously. The host computer starts the test control software and sends VISA query commands to each instrument in sequence to verify the communication connection status.

[0079] Step S2: The operator places the T / R component to be tested at the feeding station of the automatic feeder. The automatic feeder reads the component's QR code with a barcode scanner, obtains the model, batch, and process information, and then uploads it to the host computer. The robotic arm grabs the component and precisely clamps it to the testing station. The pneumatic mechanism automatically presses it in place, ensuring a reliable connection between the component's RF interface and the test cable.

[0080] Step S3: The host computer loads the corresponding standardized SOP test sequence from the database based on the component model obtained by scanning the code. The sequence includes a list of parameters to be tested (such as near-transmit spurious rejection ratio, far-transmit spurious rejection ratio, receiver gain, VSWR, noise figure, switching characteristics, etc.), test conditions and judgment thresholds for each parameter.

[0081] Step S4: Taking the near-spurious rejection ratio (PSRR) test as an example: The host computer first sends a series of commands such as SWIT:CHANA,1 and SWIT:CHAN B,1 to the RF switch matrix to configure the switch matrix as a transmit test link; then it sends SCPI commands to the signal source: SOUR1:FREQ 1e9 to set the output frequency to 1GHz and OUTP1 ON to enable RF output; and sends the following commands to the spectrum analyzer: FREQuency:CENTer 1e9 to set the center frequency to 1GHz, CALCulate:MARKer1:PEAK to mark the peak value within the pulse, CALCulate:MARKer2:NEXTpeak to mark the highest spurious signal, and CALCulate:MARKer1:Y and CALCulate:MARKer2:Y to read the power values ​​of the two marked points respectively; the host computer calculates the spurious rejection ratio based on the difference between the two power values, compares it with the judgment threshold, and automatically gives a pass / fail conclusion.

[0082] Step S5: After receiving each switch switching command, the RF switch matrix extracts the switch number and path number through SCPI protocol parsing. It then retrieves the corresponding shift register control code by looking up the path-control code mapping table. This code is serially output by the STM32 to the 74LS595 shift register chain via the SPI interface. After latching, the TPS4H160 chip outputs the corresponding drive level, completing the path switching of the specified RF switch. During the driving process, the TPS4H160 chip continuously monitors the current of each channel. If overcurrent or short-circuit abnormalities are detected, the fault status is immediately reported to the STM32 via the feedback pin. Upon receiving the alarm, the host computer pauses the test and prompts for maintenance.

[0083] Step S6: The spectrum analyzer and oscilloscope transmit the measurement data back to the host computer via the VISA protocol. The host computer compares the measured values ​​with preset thresholds and automatically generates a test conclusion for each parameter, i.e., pass / fail. After all test parameters are completed, the system comprehensively determines the overall test result of the T / R component.

[0084] Step S7: All test data, including raw measurements, judgment results, test time, and operator information, are automatically stored in the local database, and a standard format test report is automatically generated. The automatic feeder places the T / R components into the good and defective product areas according to the judgment results, completing the automatic classification.

[0085] In addition, the system of this invention also reserves a data interface for MES (Manufacturing Execution System), which can synchronize test data to the enterprise production management system in real time, realizing closed-loop traceability of quality data throughout the entire life cycle from raw materials to finished products.

[0086] Although the present invention has been described above with reference to embodiments, various modifications can be made and components can be replaced with equivalents without departing from the scope of the invention. In particular, as long as there is no structural conflict, the features in the disclosed embodiments can be combined with each other in any manner. The lack of an exhaustive description of these combinations in this specification is merely for the sake of brevity and resource conservation. Therefore, the present invention is not limited to the specific embodiments disclosed herein, but includes all technical solutions falling within the scope of the claims.

Claims

1. An intelligent testing system for a four-channel active phased array radar T / R module, characterized in that, include: The host computer is equipped with test control software, which is used to send test commands, collect test data, execute test sequence judgments, and generate test reports; The radio frequency switch matrix, which is connected to the host computer, includes a programmable matrix switch controller, a multi-channel radio frequency switch array, and a switch drive circuit. It is used to realize programmable automatic switching of the four-channel T / R component transceiver paths according to the control commands issued by the host computer. The test instrument group, including a signal source, spectrum analyzer, and oscilloscope, is connected to the host computer via a local area network switch and is used to provide excitation signals to the T / R component under test and to acquire response signals. An automatic feeding machine is connected to the host computer and is used to automatically complete the feeding, barcode scanning and identification, gripping and clamping of T / R components, and automatic connection of test circuits.

2. The intelligent testing system for a four-channel active phased array radar T / R module according to claim 1, characterized in that, The programmable matrix switch controller of the radio frequency switch matrix uses an STM32 microcontroller as the main control chip. It receives VISA protocol instructions from the host computer through an Ethernet interface, and outputs control signals to drive the subsequent switch array after protocol parsing. The switch driving circuit includes: An isolation buffer circuit is used to achieve electrical isolation between the main controller and the back-end driver; The switch control signal expansion circuit uses multiple cascaded 74LS595 shift registers, which can expand the output of no less than 32 switch control signals by occupying only 5 IO pins of the main control chip; The level conversion and power amplification circuit uses the TI TPS4H160 intelligent high-side switch chip to convert the TTL level output by the main control into the drive level required by the RF switch, while also integrating current limiting protection, short-circuit fault diagnosis and channel parallel connection functions.

3. The intelligent testing system for a four-channel active phased array radar T / R module according to claim 2, characterized in that, The RF switch matrix contains 7 physical RF switches, configured as a two-transmit, two-receive switch matrix topology; wherein: The transmission test link is as follows: the excitation signal output by the signal source is transmitted to the transmission channel of the T / R component through switches A, B, G and F in sequence. The signal amplified inside the component is then transmitted back to the spectrum analyzer through switches C and D. The receiving test link is as follows: the external excitation signal is sent to the receiving channel of the T / R component through switch A and switch C, and after being processed by the internal low noise amplifier, the signal is sent to the spectrum analyzer through switch E, switch G, switch B and switch D.

4. The intelligent testing system for a four-channel active phased array radar T / R module according to claim 3, characterized in that, Each independent path of each RF switch is assigned a unique corresponding control code. The programmable matrix switch controller has a path-control code mapping table. After the host computer issues an instruction, it obtains the corresponding control code by looking up the table and drives the shift register to complete the switching path switching. The control code mapping table is decoupled from the upper-level control program, and only the mapping table data is modified when the hardware pin layout or control code changes.

5. The intelligent testing system for a four-channel active phased array radar T / R module according to claim 2, characterized in that, The driving circuit of the TPS4H160 intelligent high-side switch chip adopts a two-output parallel connection to meet the driving current requirements of the RF switch coil. The output of the drive circuit is equipped with a freewheeling circuit composed of diodes to suppress voltage spikes generated when the switch coil is turned off.

6. The intelligent testing system for a four-channel active phased array radar T / R module according to claim 1, characterized in that, The host computer's test control software uses the VISA protocol as the instrument control interface and SCPI standardized instructions to realize the program control of the test instrument. The test control software comprises a five-in-one functional architecture consisting of a project management module, a parameter configuration module, an automatic testing module, a data management module, and a system log module.

7. The intelligent testing system for a four-channel active phased array radar T / R module according to claim 6, characterized in that, The communication protocol parsing of the test control software adopts a circular buffer and a half-packet caching mechanism. Specifically, the raw data received by TCP is written into the circular buffer, the complete SCPI instruction frame is split by searching for the newline terminator to solve the TCP packet merging problem, and the incomplete half-packet data is cached until the next data arrives and is then assembled and parsed. At the same time, a partial instruction replacement strategy is adopted. When compatibility with different instrument models is required, only the instruction mapping dictionary needs to be adjusted, without rewriting the underlying driver framework.

8. The intelligent testing system for a four-channel active phased array radar T / R module according to claim 1, characterized in that, The PCB layout of the RF switch matrix implements the following consistency assurance measures: RF signal traces strictly follow the principle of equal length and symmetry; isolation resistors and shielding cavities are set in the matrix switch cavity; internal interconnection uses semi-steel cables and the interfaces uniformly use RF standard connectors; and the test channel uses fixed-length high-stability RF cables and standard 50-ohm calibration loads.

9. A smart testing method for a four-channel active phased array radar T / R module, applied to the smart testing system described in any one of claims 1-8, characterized in that, Includes the following steps: S1. System initialization: The host computer connects to the RF switch matrix, test instrument group and automatic feeder via Ethernet to verify that the communication status of each device is normal. S2. The automatic feeder feeds the components, identifies the model, batch and process information of the T / R components to be tested by scanning the code, automatically grabs and clamps them into place, and connects the test circuit. S3. The host computer test control software reads the preset standardized SOP test sequence and executes the RF parameter tests in sequence according to the test sequence; S4. In each parameter test, the host computer sends SCPI instructions to the signal source and spectrum analyzer through the VISA protocol to set the excitation signal parameters and measurement parameters. At the same time, it sends switch switching instructions to the RF switch matrix and drives the corresponding RF switch to complete the switching of the transceiver channel by looking up the path-control code mapping table. S5. After receiving the control command, the RF switch matrix performs protocol parsing, table lookup mapping, and serial output of the shift register to drive the corresponding RF switch path switching. The TPS4H160 chip in the switch drive circuit monitors the current of each channel in real time and triggers a fault alarm when an abnormality occurs. S6, spectrum analyzer and oscilloscope collect test data and transmit it back to the host computer. The host computer automatically generates test conclusions based on preset judgment criteria, including the judgment of good or bad products. S7. Test data is automatically stored in the local database, test reports are automatically generated, and after the four-channel test is completed, the system automatically classifies the T / R components according to the judgment results.

10. The intelligent testing method for a four-channel active phased array radar T / R module according to claim 9, characterized in that, In step S4, the SOP test sequence covers multiple of the following RF parameters: near-transmit spurious rejection ratio, far-transmit spurious rejection ratio, gain, VSWR, noise figure, power, and switching characteristics; The system also reserves an interface with the MES production management system to synchronize test data to the production management system, thereby achieving closed-loop traceability of quality data throughout the product lifecycle.