CN109617739B - Topology control method of distributed dynamic radio frequency testing device - Google Patents

Topology control method of distributed dynamic radio frequency testing device Download PDF

Info

Publication number
CN109617739B
CN109617739B CN201811625633.6A CN201811625633A CN109617739B CN 109617739 B CN109617739 B CN 109617739B CN 201811625633 A CN201811625633 A CN 201811625633A CN 109617739 B CN109617739 B CN 109617739B
Authority
CN
China
Prior art keywords
radio frequency
node
control
frequency module
bus
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.)
Active
Application number
CN201811625633.6A
Other languages
Chinese (zh)
Other versions
CN109617739A (en
Inventor
高勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chence Beijing Technology Development Co ltd
Original Assignee
Chence Beijing Technology Development Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Chence Beijing Technology Development Co ltd filed Critical Chence Beijing Technology Development Co ltd
Priority to CN201811625633.6A priority Critical patent/CN109617739B/en
Publication of CN109617739A publication Critical patent/CN109617739A/en
Application granted granted Critical
Publication of CN109617739B publication Critical patent/CN109617739B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Monitoring And Testing Of Transmission In General (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a topology control method of a distributed dynamic radio frequency testing device. Wherein, distributed dynamic radio frequency testing arrangement includes: the method comprises the following steps that: the method comprises the steps of controlling a main board to complete node scanning of radio frequency module nodes through a bus, establishing a node tree table according to a topology chart, and detecting correctness of the node tree table according to the topology chart, wherein the node tree table comprises links corresponding to test cases. According to the method, the node tree table is established on the topological graph, so that the control relation and the control sequence of the control mainboard on each radio frequency module node in the distributed dynamic radio frequency testing device are determined, different tests on the upper computer are realized, and the testing efficiency is improved.

Description

Topology control method of distributed dynamic radio frequency testing device
Technical Field
The present application relates to the field of radio frequency testing technologies, and in particular, to a topology control method for a distributed dynamic radio frequency testing apparatus.
Background
With the development of wireless technology, the use of radio frequency technology in the fields of wireless communication, electronic countermeasure, radar and the like is more and more complex; further, more requirements of complexity and diversity are provided for radio frequency testing, and a radio frequency testing system is required to get rid of the dilemma of one module in the original scheme, and must have the capability of solving most of the existing radio frequency testing requirements. Each time the radio frequency test scheme is changed, almost a doubling of development cycle and cost results. In order to solve the problems of too long development period and too high research and development cost, the radio frequency test system must have a processing scheme for flexibly collocating different radio frequency functional modules, managing a global architecture and processing different test cases.
At present, a radio frequency test system generally uses passive devices, for example, basic devices such as an amplifier, a radio frequency switch, a step attenuator, a phase shifter, and the like to build a radio frequency link, so as to implement preprocessing of radio frequency signals, and the radio frequency signals are finally sent to equipment such as a signal source frequency spectrograph through a test circuit, thereby completing radio frequency testing. In the verification stage of the radio frequency test scheme, pure manual operation is usually adopted, each test case generates a radio frequency test requirement, a link structure needs to be designed, and the structure is manually built to complete test verification. With the increase of test cases, the complete manual operation brings a great deal of repeated labor. Therefore, it is common practice to design a theoretical design and verify by hand, then form an integrated automatic test scheme, and then implement an interface device according to the scheme. The device comprises all radio frequency devices of the verification scheme, a control circuit and embedded software; and the external part is connected with a tested part (DUT) and a test instrument, and a set of Automatic Test Equipment (ATE) is formed under the control of the upper computer software. In order to realize an interface device with a fixed structure and a fixed function, besides the purchase or self-manufacture of radio frequency components, a matched control module is required to be produced to compile corresponding embedded software. If a new radio frequency test requirement exists, the radio frequency signal link design needs to be carried out again, and the development of an interface device needs to be carried out again. At present, the construction of an interface device needs to rely on a large amount of experience of developing and designing radio frequency signal link simulation estimation, although the problem of requirement complexity and diversity improvement can be solved, the radio frequency module dominates the mode of constructing a test system, the function of each type of the interface device is fixed, and a control circuit and embedded software which are designed and developed for completing the function are also fixed; the limitations result in the need to redesign and produce the "interface device" for each new rf test requirement, which greatly increases the development cost and production cycle of the embedded software and control circuit part in the project development. Meanwhile, with the improvement of diversity and complexity of radio frequency test requirements, the complexity and cost of technical state management are also improved by the non-universal scheme.
Disclosure of Invention
It is an object of the present application to overcome the above problems or to at least partially solve or mitigate the above problems.
According to an aspect of the present application, a topology control method of a distributed dynamic radio frequency testing apparatus is provided, wherein the distributed dynamic radio frequency testing apparatus includes: the method comprises the following steps that:
a node tree establishing step: the method comprises the steps of controlling a main board to complete node scanning of radio frequency module nodes through a bus, establishing a node tree table according to a topology chart, and detecting correctness of the node tree table according to the topology chart, wherein the node tree table comprises links corresponding to test cases.
The method integrates two data structures of a topological graph and a distributed node tree table of the radio frequency test interface device to dynamically construct software of the radio frequency test interface device, provides a simple and friendly instruction system as a whole, and improves the reliability of radio frequency test; the distributed system concept is adopted, and radio frequency testing basic function modules such as a radio frequency switch, a step attenuator, a phase shifter and the like are combined to complete a radio frequency testing function, so that the method has high universality and flexibility.
Optionally, before the node tree establishing step, the method further includes:
receiving a topological graph: and the control main board receives the topology chart, checks and stores the topology chart, and restarts the distributed dynamic radio frequency testing device.
Optionally, in the topology chart receiving step, the receiving, by the control motherboard, a topology chart includes:
the control main board detects the state of a configuration change key, and receives the topology graph under the condition that the configuration change key is pressed within a specified time.
After the node tree building step, the method further comprises:
a direct control step: and under the condition that the control mainboard receives direct control information sent by external equipment, the control mainboard sends the direct control information to the radio frequency function module of the radio frequency module node through the bus.
Optionally, in the direct control step, the bus sends the direct control information to the radio frequency function module of the radio frequency module node through each specific node communication signal.
Optionally, after the node tree establishing step, the method further includes:
a storage step: under the condition that the control mainboard receives batch data control information sent by external equipment, the control mainboard sends the batch data control information to corresponding radio frequency module nodes through the bus, and the radio frequency module nodes receive the batch data control information and store the batch data control information in a storage area;
a trigger control step: and under the condition that the control mainboard receives trigger control information sent by external equipment, the control mainboard sends the trigger control information to corresponding radio frequency module nodes through the bus, and the radio frequency module nodes synchronously execute link control.
Optionally, in the triggering control step, the triggering control information is sent to the corresponding radio frequency module node through the bus by a signal enhancer of the control motherboard.
Optionally, the triggering control step includes:
under the condition that the control main board receives trigger control information sent by external equipment, the control main board obtains the starting time, the ending time and the step length of the trigger control information, and a timer is utilized to send the trigger control information to a corresponding radio frequency module node through a bus. Firstly, data in a storage area of a control main board is divided, and the divided data is transferred to a storage area of a corresponding radio frequency module node. Then the control main board sends a uniform trigger command, and after receiving the trigger command, each radio frequency module node reads data from each storage area to control the radio frequency device. Therefore, the control main board can control the radio frequency functional module to realize synchronous execution of link control.
Optionally, the topology graph comprises: controlled node data, common node data and connection data, wherein the controlled node data is used for encapsulating the data of the radio frequency module node and describing the radio frequency module node; the generic node data includes devices that indirectly control and are used for radio frequency signal link estimation; the connection data comprises connection lines among all the radio frequency module nodes.
Optionally, the node tree table includes: the system comprises a link table, an identification table of radio frequency module nodes, an ID-function table of the radio frequency module nodes, an ID-state table of the radio frequency module nodes and an IO table of the radio frequency module nodes.
The above and other objects, advantages and features of the present application will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Drawings
Some specific embodiments of the present application will be described in detail hereinafter by way of illustration and not limitation with reference to the accompanying drawings. The same reference numbers in the drawings identify the same or similar elements or components. Those skilled in the art will appreciate that the drawings are not necessarily drawn to scale. In the drawings:
FIG. 1 is a schematic block diagram of a distributed dynamic radio frequency test apparatus according to one embodiment of the present application;
FIG. 2 is a schematic block diagram of a radio frequency module node of an apparatus according to one embodiment of the present application;
FIG. 3 is a schematic block diagram of a control motherboard of a device according to one embodiment of the present application;
FIG. 4 is a schematic diagram of a test case according to the present application;
FIG. 5 is a schematic block diagram of a topology graph according to an embodiment of the present application;
FIG. 6 is a schematic block diagram of a node tree table according to one embodiment of the present application;
FIG. 7 is a schematic flow chart diagram of a distributed dynamic radio frequency testing method according to one embodiment of the present application;
FIG. 8 is a schematic flow chart diagram of a distributed dynamic radio frequency testing method according to another embodiment of the present application;
FIG. 9 is a schematic flow chart diagram of a distributed dynamic radio frequency testing method according to another embodiment of the present application;
fig. 10 is a schematic flow chart diagram of a distributed dynamic radio frequency testing method according to another embodiment of the present application.
Detailed Description
The above and other objects, advantages and features of the present application will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Fig. 1 is a schematic structural diagram of a distributed dynamic radio frequency test apparatus according to an embodiment of the present application. The apparatus may include: the radio frequency module comprises a radio frequency module node 100, a bus 200 and a control mainboard 300 which are connected in sequence.
The number of the radio frequency module nodes 100 may be one or more; the types can be the same or different, and radio frequency test basic function modules for testing common nodes can be adopted to realize the functions of radio frequency path switch selection, radio frequency signal attenuation adjustment, radio frequency signal phase shift control and the like.
Fig. 2 is a schematic block diagram of a radio frequency module node of an apparatus according to one embodiment of the present application. Optionally, the radio frequency module node 100 may include: first bus transceiver 101, singlechip 102, drive circuit 103, radio frequency function module, dial switch 104, wherein, the singlechip respectively with first bus transceiver, drive circuit and the dial switch is connected, drive circuit with the radio frequency function module is connected, the radio frequency function module includes: a radio frequency switch, a radio frequency attenuator, or a radio frequency phase shifter.
Optionally, the radio frequency module node may further include: and the module power supply is respectively connected with the bus, the singlechip and the drive circuit and is used for receiving the power supply voltage through the bus and supplying the power supply voltage to the singlechip and the drive circuit.
For example, in one alternative embodiment, the apparatus may comprise one or more of the following radio frequency module nodes:
a first rf module node 110, the rf functional module of which is an rf switch 105;
a second rf module node 120, the rf functional module of which is the rf attenuator 106;
a third rf module node 130, the rf functional module of which is an rf phase shifter 107;
the other rf module node 140 may have the same or different rf functional module as the rf functional module of one of the nodes.
The radio frequency switch node is realized by adopting a singlechip STM32F042, a radio frequency switch and a dial switch, and also comprises a reset control unit. The attenuator node is realized by adopting a singlechip STM32F042, a step attenuator and a dial switch. The phase shifter node board is realized by adopting a singlechip STM32F042, a phase shifter and a dial switch. And the single chip microcomputer on each radio frequency module node acquires the node Identification (ID) of the single chip microcomputer through the IO port.
It can be understood that the basic structures of the above nodes of the radio frequency modules may be the same, and only the radio frequency functional modules are different; the basic structure may be different, and it is sufficient to be able to control via the bus.
In the radio frequency module node, the module control function is the necessary function of each node, the singlechip of the node realizes the Input and Output (IO) control of the nodes such as a radio frequency switch, a step attenuator, a phase shifter and the like, and the control operation of each node is completed according to the content of a bus communication protocol. The single chip microcomputer is also used for achieving the function of acquiring the node identification, and based on the function of distributing the ID of each node of the dynamic radio frequency testing device, the single chip microcomputer completes the acquisition of the internal ID of the switch node, the attenuation node and the phase shift node through IO reading of the dial switch.
Fig. 3 is a schematic block diagram of a control motherboard of a device according to an embodiment of the present application. In the apparatus, optionally, the control main board 300 may include: the radio frequency module node comprises an external interface circuit 340, a main control board 350 and a second bus transceiver 360 which are sequentially connected, wherein the external interface circuit is connected with an upper computer (not shown), the second bus transceiver is connected with a bus, and the main control board is used for controlling the radio frequency module node through the bus.
Optionally, the control motherboard 300 may further include a driving power supply module, and the driving power supply module may include:
and a voltage conversion module 310, connected to the power supply, for converting a power supply voltage into a working voltage of the control motherboard and a power supply voltage of the radio frequency module node.
And a current monitoring module 320 connected to the main control board and the voltage conversion module, respectively.
And the MOS switch 330 is connected with the current monitoring module and used for providing required power supply voltage for the radio frequency module node through the bus.
The main control board may be an embedded main control board, for example, an ARM, which loads a Linux operating system. The power supply voltage of the device is at least 2 groups or more: one group is a singlechip and an ARM working power supply, and the other group is a radio frequency device driving working power supply. In some cases, the radio frequency device requires a phantom voltage and the power supply voltage may need to be increased. In the driving power supply module, a built-in current monitoring module is connected with the main control board, and the current monitoring module can also control the on and off of a built-in MOS switch. Therefore, the power supply monitoring and control of the whole device can be uniformly controlled by the control mainboard.
Optionally, the control main board 300 may further include: and a signal enhancer 370 connected to the main control board and configured to provide a synchronous trigger signal to the radio frequency module node through the bus.
An IO port of the control main board can be selected to be subjected to signal enhancement to become a synchronization Trigger signal (Trigger) for high-precision synchronization. When the storage trigger mode requires accuracy on the nanosecond level, the synchronization of the whole device will depend on the signal; if all nodes need to work in a high-precision synchronization state, interfaces need to be reserved to acquire the signals.
Optionally, the control main board 300 may further include: a USART interface 380 connected with the main control board; and an external configuration interface 390, which is connected with the upper computer and the USART interface respectively. The USART interface can be matched with a corresponding communication protocol to realize downloading and updating of the topology chart of the radio interface device.
The interface of the control main board 300 may further include a LAN port. The LAN port is matched with a corresponding network communication protocol to realize the function of the system for external interaction; the communication protocol supports a Telnet protocol, and the main control board is used as a Server end and allows external equipment to be connected. The functions of the main control board of the control main board include but are not limited to: and the USART communication function of downloading the topological diagram, the LAN communication function of interacting with the outside, the protocol communication function of the CAN bus and the like are realized. Software of the main control board supports an ENTERNET network and a CAN communication interface, and a multithreading scheduling mode is adopted.
In this arrangement, the bus 200 may be connected to a first bus transceiver of the radio frequency module node 100 and a second bus transceiver of the control board 300. The bus may be a Controller Area Network (CAN) bus or other type of bus. The bus in the present application can support high power load power supply and high speed communications, wherein bus data, power supply and Trigger signals can be transmitted through the bus. The bus transceiver CAN acquire various information on the bus and perform corresponding processing through a CAN protocol; the main control board communicates with each node through the CAN bus to obtain the ID of each node and establish and perfect node tree information. The main control board informs the self state of the external equipment through the ENTERNET network interface. If all the states and information are correct, the main control board can receive external information, send control information and reach radio frequency module nodes such as a switch node, an attenuation node, a phase shift node and the like, and control of a radio frequency link is achieved.
The device is based on the protocol communication function of the CAN bus and is realized by the communication function drive of the CAN bus of the singlechip and a communication protocol of a distributed system, wherein the CAN bus communication protocol comprises node scanning of the distributed system, node equipment information acquisition and node equipment control; the CAN bus communication function driver of the single chip microcomputer realizes the CAN bus communication function by adapting a CAN bus controller in the single chip microcomputer and an external CAN transceiver IC; in the distributed system node scanning, a control mainboard initiates a request through a CAN bus, and radio frequency module nodes such as a switch node, an attenuator node, a phase shifter node and the like send system internal IDs to complete CAN protocol responses, so that node equipment scanning of the distributed system is realized, and an ID table of a node tree is established; the node equipment information acquisition is initiated by a control mainboard through a CAN bus, and distributed system node equipment sends respective equipment information to complete CAN protocol communication so as to realize a node information table of a node tree of a distributed system; the control mainboard dynamically adapts corresponding external control instructions according to the topology diagrams corresponding to different test interface devices, and simultaneously converts the external control instructions into CAN instructions with uniform format and high efficiency. The device can realize the concrete realization of different test interface devices through a direct control mode and a storage triggering mode.
The device combines radio frequency devices such as a radio frequency switch, a step attenuator, a phase shifter and the like with a single chip microcomputer with a CAN bus and a dial switch to construct radio frequency testing basic function modules such as a switch node, an attenuation node, a phase shifting node and the like, and realizes the radio frequency function of each basic function module and the ID distribution function of nodes in a distributed system.
The device carries a singlechip on common radio frequency switches, step attenuators, phase shifters and other device equipment in the field of radio frequency testing, is designed into mutually independent small function modules and communicates through a CAN bus, and combines and collocates the mutually independent node equipment board cards into a distributed system of a dynamic radio frequency testing interface device. The independent board cards of the node devices such as the radio frequency switch, the step attenuator, the phase shifter and the like serve different radio frequency test schemes to be combined to construct a distributed system of different interface devices, different signal link requirements are realized, and the distributed system generated by combining several basic function modules can meet the more and more diverse and complex requirements of the field of radio frequency test. ID of a radio frequency testing basic function module in an interface device based on node equipment such as a radio frequency switch, a step attenuator, a phase shifter and the like is set and determined through a dial switch, a master control board card is internally provided with an equipment tree (data structure) and a control logic (algorithm), and CAN bus communication is used for controlling the node equipment with different IDs to realize the interface device. The mode of designing the radio frequency test scheme, combining the basic function modules and communicating to realize the distributed system has development diversity and flexibility, reduces the overall development cost and period of a radio frequency test project, and reduces the difficulty and cost of technical management. In addition, the independent combined distributed system method CAN also carry out the redundant design of radio frequency test, and realizes the functions of state monitoring, abnormal feedback, error processing and health management in signal processing by adding a signal monitoring module and utilizing the existing CAN bus communication and control mechanism. The device of the application adopts a distributed design, and system construction is carried out according to a radio frequency test scheme, so that a user can complete redundancy design on the basis, and the reliability and robustness of radio frequency test are improved.
Based on the distributed dynamic radio frequency testing device, the application also provides a distributed dynamic radio frequency testing method, and the method can be applied to any one of the distributed dynamic radio frequency testing devices. The method mainly comprises the following steps: the schematic diagram representing the test requirements is converted into a topological diagram which can be identified by the main control board, and when the topological diagram needs to be changed, the main control board can enter an updating mode by pressing a specific switch during starting. In the updating mode, the topological diagram can be transmitted to the main control board in a text mode through a USART interface, the main control board establishes a node tree table based on the topological diagram, and the main control board enters a working preparation state when all checks are normal so as to carry out radio frequency testing. The method CAN realize the functions of node control, dynamic module management, device topology chart analysis, node tree maintenance, ID acquisition, data storage, protocol communication based on a CAN bus, a LAN port and USART and the like.
When an upper computer or contents to be tested need to be dynamically updated, for a tester, the main work except for adding or removing nodes is to update a topological graph.
FIG. 5 is a schematic block diagram of a topology graph according to one embodiment of the present application. The topology graph comprises: controlled node data, common node data and connection data, wherein the controlled node data is used for encapsulating data of the radio frequency module node, such as a switch node, an attenuation node and a phase shift node, and is used for describing functions, parameters, ID and the like of the radio frequency module node; common node data includes devices that are indirectly controlled and used for radio frequency signal link estimation, such as radio frequency passive devices or fixed gain amplifiers; the connection data comprises the connection lines among all the nodes of the radio frequency module, all the connection lines are two points and one line according to radio frequency rules, and the connection data can establish the relationship among the nodes.
FIG. 6 is a schematic block diagram of a node tree table according to one embodiment of the present application. A node tree table is another data structure that manages all the static and dynamic information needed for the device to operate. The node tree table may include: the system comprises a link table, an identification table of radio frequency module nodes, an ID-function table of the radio frequency module nodes, an ID-state table of the radio frequency module nodes and an IO table of the radio frequency module nodes. The internal part of the node IO table comprises addresses of a plurality of IOs corresponding to each node ID. The link table stores all link states hidden in the topology table, each link corresponding to a test case of the complete test system. Fig. 4 is a schematic diagram of a test example according to the present application. When the user uses the device, the user usually operates directly on the link, because it is more direct and visual. Each circuit state in turn comprises a number of nodes. The task of the associated daemon is to maintain the integrity and correct position of the link based on the data dependency of the node ID.
Fig. 7 is a schematic flow diagram of a distributed dynamic radio frequency testing method according to an embodiment of the present application. The method of the present application may comprise one or more of the following steps:
s500, node tree establishment: the method comprises the steps of controlling a main board to complete node scanning of radio frequency module nodes through a bus, establishing a node tree table according to a topology chart, and detecting correctness of the node tree table according to the topology chart, wherein the node tree table comprises links corresponding to test cases.
The method determines the control relation and the control sequence of each radio frequency module node in the distributed dynamic radio frequency test device by the control mainboard through establishing the node tree table on the topology chart, compared with the scheme that different test devices are established aiming at different test cases and a specific test program is adopted in the prior art, the method is more flexible, one distributed dynamic radio frequency test device is changed into a plurality of devices meeting different test requirements through the topology chart and the node tree table, the multiplexing of the devices is achieved, and the test efficiency is improved.
Fig. 8 is a schematic flow chart diagram of a distributed dynamic radio frequency testing method according to another embodiment of the present application. Before the S500 node tree building step, the method may further include:
s300, receiving a topological graph: and the control main board receives the topology chart, checks and stores the topology chart, and restarts the distributed dynamic radio frequency testing device. Wherein, the control mainboard receiving the topology chart comprises: the control main board detects the state of a configuration change key, and receives the topology graph under the condition that the configuration change key is pressed within a specified time.
The control of the radio frequency module node can adopt the following modes: firstly, a plurality of radio frequency module nodes are arranged in a distributed dynamic radio frequency testing device, a topological graph is generated according to a testing example, and a tester connects the radio frequency module nodes, a bus and a control mainboard according to the topological graph to build a testing environment for testing. Different test cases correspond to different connection modes, so that different test schemes are realized.
Referring to fig. 8, optionally, after the S500 node tree building step, the method may further include:
s901 direct control step: and under the condition that the control mainboard receives direct control information sent by external equipment, the control mainboard sends the direct control information to the radio frequency function module of the radio frequency module node through the bus. Optionally, the bus sends the direct control information to the radio frequency function module of the radio frequency module node through each specific node communication signal.
Optionally, after the S500 node tree building step, the method may further include:
s902, a storage step: under the condition that the control mainboard receives batch data control information sent by external equipment, the control mainboard sends the batch data control information to corresponding radio frequency module nodes through the bus, and the radio frequency module nodes receive the batch data control information and store the batch data control information in a storage area;
s903 trigger control step: and under the condition that the control mainboard receives trigger control information sent by external equipment, the control mainboard sends the trigger control information to corresponding radio frequency module nodes through the bus, and the radio frequency module nodes synchronously execute link control. Optionally, the trigger control information is sent to the corresponding radio frequency module node through the bus by the signal enhancer of the control motherboard.
Optionally, the S903 triggering control step may include: under the condition that the control mainboard receives trigger control information sent by external equipment, the control mainboard acquires the starting time, the ending time and the step length of the trigger control information, a timer is used for sending the trigger control information to a corresponding radio frequency module node through a bus, the radio frequency module node receives the trigger control information, then the batch data control information is extracted from a storage area and sent to a single chip microcomputer and a radio frequency function module of the radio frequency module node, and the radio frequency function module is controlled to realize synchronous execution of link control.
The step of S901 direct control, the step of S902 storage, and the step of S903 trigger control may be determined and executed in sequence, for example, it is first determined whether the data information is direct control information, and if not, the subsequent steps are executed; or judging and executing in parallel, for example, executing the corresponding steps directly according to the type information of the data information.
Fig. 9 is a schematic flow chart diagram of a distributed dynamic radio frequency testing method according to another embodiment of the present application. In an alternative embodiment, the method may further comprise one or more of the following steps:
s100, a device power-on step: the hardware comprising a control mainboard, a radio frequency module node and a single chip microcomputer with a CAN bus is electrified, and the normal work of each component is ensured.
S200, detecting a single chip microcomputer; and the singlechip of the radio frequency module node detects the IO port of the singlechip to realize control support on the radio frequency module node.
S300, receiving a topological graph: and the control main board receives the topology chart, checks and stores the topology chart, and restarts the distributed dynamic radio frequency testing device. Specifically, the main control board initializes the IO port and the USART interface thereof, detects the state of the configuration change key, and if the configuration change key is pressed within a prescribed time, the main control board receives the topology diagram through the USART, performs checksum storage, and enters S100 to restart the power-on after completion; if not, the process proceeds to S400. Wherein, the configuration changing key can be a button connected with the main control board.
S400 initialization (bootloader) step: a singlechip of a radio frequency module node reads an IO port of a dial switch and acquires internal IDs of radio frequency functional modules such as a radio frequency switch, a step attenuator, a phase shifter and the like; the CAN bus protocol communication function module completes the drive starting of a CAN controller in the singlechip, and realizes the communication support of the subsequent CAN bus protocol; the LAN port network protocol communication function module completes the initialization of the main control board and realizes the support of the subsequent network communication protocol. Alternatively, the S400 initialization step may be performed before the S300 topology table receiving step.
In the step of establishing the node tree of S500, optionally, the CAN bus protocol communication function module finishes scanning the distributed radio frequency module nodes, establishes a node tree table of the radio frequency module nodes, the main control board determines correctness of the node tree table according to a topology diagram of the radio frequency test interface device provided by the external device, and enters step S700 in case of an abnormal node tree table, for example, a node with a duplicate ID or an illegal node, etc.; if the node tree table is correct, the process proceeds to step S600.
The S600 CAN bus protocol communication function module respectively acquires node information of each node of the distributed device, a distributed test system based on the distributed dynamic radio frequency test device is successfully built, the radio frequency test function preparation work is completed, and the main control board sends corresponding information to external equipment through the LAN port.
S700, the main control board gives out an error alarm and outputs warning information through the LAN port.
S800, the main control board receives data information through an LAN port, and if the data information is inquiry equipment information, basic information and node tree table information of each part in the distributed dynamic radio frequency testing device are returned; if the device information is not the inquiry device information, entering a data information type judgment step. Wherein the data type determining step comprises one or more of the following steps:
s901 if the data information is direct control data, the main control board analyzes the data information and then directly sends the control data to a radio frequency module node through a CAN bus, and sets a processing mode to be mode 1, and the radio frequency module node sends the direct control data of the CAN bus to a radio frequency function module through an IO port; if the data information is not direct control data, the flow proceeds to step S902.
S902, if the data information is batch data control information, the main control board analyzes the data information and then sends the batch data control information to the radio frequency module node through the CAN bus, and sets the processing mode to be mode 2, wherein in the mode, the batch data control information CAN be directly stored in a storage area inside the single chip microcomputer; if not, the flow proceeds to step S903.
Optionally, the method may adopt one of two control modes to test the upper computer:
direct control mode (mode 1): the control mainboard directly sends control information to the radio frequency function module of the radio frequency module node through the bus, and directly performs link control. In this mode, the radio frequency module nodes such as the switch node, the attenuator node, the phase shifter node and the like directly transmit the control information in the received CAN information to the corresponding radio frequency element, which means that the control main board directly controls the IO port of each distributed radio frequency module node.
Storage trigger mode (mode 2): and the radio frequency module node stores the control information sent by the control mainboard through the bus, and synchronously executes link control under the condition of receiving the trigger signal sent by the control mainboard. Under the module, radio frequency module nodes such as a switch node, an attenuator node, a phase shifter node and the like can store multiple groups of data sent by a control mainboard in a storage area in advance, and when a trigger signal sent by the control mainboard is received, the radio frequency module node receiving the trigger signal synchronously executes one-time link control.
S903, if the data information is trigger control information, the main control board analyzes the data information to obtain the starting time, the ending time and the step length of sending a trigger signal, the sending rule of the trigger signal within a period of time is realized through a timer, the trigger signal is sent to a radio frequency module node through a CAN bus, and the control of a radio frequency function module is realized based on batch data control information stored in an internal storage area of a single chip microcomputer; if not, the process proceeds to step S800.
Optionally, the trigger signal may include: a soft trigger signal comprising a specific broadcast signal on the bus; and the hard trigger signal comprises a synchronous trigger signal sent by the signal enhancer of the control mainboard.
Fig. 10 is a schematic flow chart diagram of a distributed dynamic radio frequency testing method according to another embodiment of the present application. Correspondingly, the radio frequency module node is firstly powered on and started, receives bus information after various preparations of an IO port, a node ID and a bus are carried out, and carries out corresponding operation according to the type of data information sent by the bus. For example, in the direct control mode, after receiving the direct control information, the node directly sends the required data to the IO port of the node to complete the sending task. And in the trigger control mode, after receiving the batch data control information, the node stores the data into the storage area, and under the condition of receiving the trigger control information, the node takes out the data from the storage area and sends the data to an IO port of the node so as to complete a sending task.
It is to be understood that the data information is not limited to the above cases, and the steps are not necessarily executed in the above order.
The method integrates two data structures of a topological graph and a distributed node tree table of the radio frequency test interface device to dynamically construct software of the radio frequency test interface device, and provides a simple and friendly instruction system as a whole. The abnormal judgment and the alarm are carried out based on the node tree, so that the reliability of the radio frequency test is improved; the distributed system concept is adopted, and radio frequency testing basic function modules such as a radio frequency switch, a step attenuator, a phase shifter and the like are combined to complete a radio frequency testing function, so that the method has high universality and flexibility.
The above description is only for the preferred embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (7)

1. A topology control method of a distributed dynamic radio frequency test device is characterized in that the distributed dynamic radio frequency test device comprises a control mainboard, radio frequency module nodes and a bus, wherein the bus is respectively connected with the control mainboard and the radio frequency module nodes, and the number of the radio frequency module nodes is one or more; the radio frequency module node comprises a radio frequency functional module;
the method comprises the following steps:
receiving a topological graph: the control main board receives a topology chart generated according to a test case; the topological diagram is checked and stored, and the distributed dynamic radio frequency testing device is restarted; the topology graph comprises controlled node data, common node data and connection data, wherein the controlled node data is used for packaging the data of the radio frequency module node and is used for describing the function, the parameter and the ID of the radio frequency module node; the generic node data includes devices for indirect control and for use in radio frequency signal link estimation; the connection data comprises connection lines among all radio frequency module nodes;
building a node tree: the control mainboard finishes node scanning of radio frequency module nodes through a bus, establishes a node tree table according to the topology chart and determines the control relation and the control sequence of the control mainboard to each radio frequency module node in the distributed dynamic radio frequency testing device; detecting the correctness of the node tree table according to the topology chart, wherein the node tree table comprises links corresponding to test cases; the node tree table comprises a link table, an identification table of radio frequency module nodes, an ID-function table of the radio frequency module nodes, an ID-state table of the radio frequency module nodes and an IO table of the radio frequency module nodes; the link table stores all link states hidden in the topology table, and each link corresponds to one test case.
2. The method according to claim 1, wherein in the topology chart receiving step, the control board receiving the topology chart comprises: the control main board detects the state of a configuration change key, and receives the topology graph under the condition that the configuration change key is pressed within a specified time.
3. The method of claim 2, wherein after the node tree building step, the method further comprises: a direct control step: and under the condition that the control mainboard receives direct control information sent by external equipment, the control mainboard sends the direct control information to the radio frequency function module of the radio frequency module node through the bus.
4. The method of claim 3, wherein in the direct control step, the bus transmits the direct control information to a radio frequency function module of the radio frequency module node through each node-specific communication signal.
5. The method of claim 4, wherein after the node tree building step, the method further comprises:
a storage step: under the condition that the control mainboard receives batch data control information sent by external equipment, the control mainboard sends the batch data control information to corresponding radio frequency module nodes through the bus, and the radio frequency module nodes receive the batch data control information and store the batch data control information in a storage area; and
a trigger control step: and under the condition that the control mainboard receives trigger control information sent by external equipment, the control mainboard sends the trigger control information to corresponding radio frequency module nodes through the bus, and the radio frequency module nodes synchronously execute link control.
6. The method according to claim 5, wherein in the trigger control step, the trigger control information is transmitted to the corresponding radio frequency module node through the bus by a signal booster of the control motherboard.
7. The method according to claim 5 or 6, wherein the triggering control step comprises: under the condition that the control mainboard receives trigger control information sent by external equipment, the control mainboard acquires the starting time, the ending time and the step length of the trigger control information, a timer is used for sending the trigger control information to a corresponding radio frequency module node through a bus, the radio frequency module node receives the trigger control information, then the batch data control information is extracted from a storage area and sent to a single chip microcomputer and a radio frequency function module of the radio frequency module node, and the radio frequency function module is controlled to realize synchronous execution of link control.
CN201811625633.6A 2018-12-28 2018-12-28 Topology control method of distributed dynamic radio frequency testing device Active CN109617739B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811625633.6A CN109617739B (en) 2018-12-28 2018-12-28 Topology control method of distributed dynamic radio frequency testing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811625633.6A CN109617739B (en) 2018-12-28 2018-12-28 Topology control method of distributed dynamic radio frequency testing device

Publications (2)

Publication Number Publication Date
CN109617739A CN109617739A (en) 2019-04-12
CN109617739B true CN109617739B (en) 2022-02-22

Family

ID=66011898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811625633.6A Active CN109617739B (en) 2018-12-28 2018-12-28 Topology control method of distributed dynamic radio frequency testing device

Country Status (1)

Country Link
CN (1) CN109617739B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201699689U (en) * 2010-06-22 2011-01-05 华为终端有限公司 Radio-frequency circuit, radio-frequency test interface device and radio-frequency test system
CN102025429A (en) * 2010-10-27 2011-04-20 北京邮电大学 Radio frequency switching unit capable of being used for automatic testing of WCDMA (Wideband Code Division Multiple Access) /GSM (Global System for Mobile Communication) terminal radio frequency
CN105873108A (en) * 2016-05-25 2016-08-17 工业和信息化部电信研究院 Test system for radio frequency conformance of LTE (long term evolution) terminal
US10044451B2 (en) * 2014-02-24 2018-08-07 Litepoint Corporation Method for testing multiple wireless data packet signal transceivers using shared testing resources

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201699689U (en) * 2010-06-22 2011-01-05 华为终端有限公司 Radio-frequency circuit, radio-frequency test interface device and radio-frequency test system
CN102025429A (en) * 2010-10-27 2011-04-20 北京邮电大学 Radio frequency switching unit capable of being used for automatic testing of WCDMA (Wideband Code Division Multiple Access) /GSM (Global System for Mobile Communication) terminal radio frequency
US10044451B2 (en) * 2014-02-24 2018-08-07 Litepoint Corporation Method for testing multiple wireless data packet signal transceivers using shared testing resources
CN105873108A (en) * 2016-05-25 2016-08-17 工业和信息化部电信研究院 Test system for radio frequency conformance of LTE (long term evolution) terminal

Also Published As

Publication number Publication date
CN109617739A (en) 2019-04-12

Similar Documents

Publication Publication Date Title
US8386764B2 (en) BIOS architecture
US7774073B2 (en) Modular programmable automation controller with multi-processor architecture
CN104503796B (en) A kind of configurable whole network remote node firmware upgrade method based on IAP
CN102279756A (en) CPLD (Complex Programmable Logic Device) firmware updating method
CN101853173A (en) Software upgrading method and device of programmable logic device of distributed system
KR20070035176A (en) Sensor node assistant apparatus, sensor node integrated development apparatus and a sensor network development system using the same
CN114237676B (en) FPGA logic updating method, device, equipment and readable storage medium
CN104536900A (en) Method and device for controlling mobile terminal
WO2012077704A1 (en) Debug stub server, debugging method and program
CN109617739B (en) Topology control method of distributed dynamic radio frequency testing device
US7636796B2 (en) Smart interconnect for modular multi-component embedded devices
US7096396B2 (en) Test system for circuits
CN109586810B (en) Distributed dynamic radio frequency test interface device and test method
CN110687363A (en) SFP port test fixture
KR20080087953A (en) Software upgrade system of ecu using bluetooth
CN114706768A (en) I3C bus verification method and verification system
CN114461337A (en) Cloud simulation system and method, electronic equipment and storage medium
US9811629B2 (en) Circuit information generating apparatus and circuit information generating system
US20090213872A1 (en) Integrated universal input-output interface circuit
CN219716105U (en) Computer module and computer module application system
CN117056268B (en) SPI interface circuit and SPI communication method for measuring instrument
US11722586B2 (en) Assembly type edge system
CN115426297B (en) Function test method and device of sub-equipment, computer equipment and storage medium
JP2009300248A (en) Parallel testing device
KR102129466B1 (en) Programmable Logic ControllerAPPARATUS

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