Test system and test method for a turntable controller

By designing a test system for a turntable controller, and utilizing a measurement and control computer and a synchronous serial port card to achieve communication between the turntable controller and the turntable, the standardization and normalization of turntable controller inspection were solved, and the standardization and visualization of test results were realized.

CN115685974BActive Publication Date: 2025-11-04BEIJING AEROSPACE KEYI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211455149.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-21
Publication Date
2025-11-04
Estimated Expiration
2042-11-21

AI Technical Summary

Technical Problem

Existing technologies make it difficult to standardize and regulate the product inspection of turntable controllers.

Method used

Design a test system for a turntable controller, including a measurement and control computer, a synchronous serial port card, an FPGA chip module, and an industrial control computer. The synchronous serial port card enables communication between the turntable controller and the turntable, allowing for the sending of control commands and the receiving of data for the test items. The industrial control computer then performs data parsing and result calculation.

Benefits of technology

The test results of the turntable controller have been standardized and visualized, enabling quantitative evaluation of the turntable controller's performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115685974B_ABST
    Figure CN115685974B_ABST
Patent Text Reader

Abstract

The application relates to a test system which comprises a test and control computer and a synchronous serial port card, the test and control computer is configured as a control program running environment, the test and control module communicates with a turntable controller, a turntable and an industrial computer through the synchronous serial port card; the synchronous serial port card is integrated with a transceiver, an electromagnetic isolation circuit, a serial port conversion circuit, an FPGA chip circuit, a bus interface circuit and a bridge chip circuit; one end of the FPGA chip circuit is connected with the electromagnetic isolation circuit through the serial port conversion circuit, the other end is connected with the bridge chip circuit through the bus interface circuit and connected to the industrial computer; the FPGA chip circuit is connected with the turntable controller and the turntable through the transceiver respectively. The second aspect further discloses a test method applying the test system; the test system and the test method realize standardization and visualization of product inspection results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of analysis and measurement control technology, and in particular to a test system and test method for a turntable controller. Background Technology

[0002] The turntable controller is directly connected to the turntable and controls it to complete various target actions. The actions performed by the turntable can also be used to verify the performance of the turntable controller. However, this method of verification is not conducive to the standardization and normalization of product inspection. Therefore, there is an urgent need for a new testing platform to quantify product inspection results. Summary of the Invention

[0003] To address the aforementioned problems, this invention proposes a test system and test method for a turntable controller.

[0004] To achieve the above objectives, the technical solution adopted by the present invention is:

[0005] A test system for a turntable controller, the test system including a measurement and control computer and a synchronous serial port card, the measurement and control computer being configured as a control program running environment, and the measurement and control calculation module communicating with the turntable controller, the turntable, and the industrial control computer through the synchronous serial port card;

[0006] The synchronous serial port card integrates a transceiver, an electromagnetic isolation circuit, a serial port conversion circuit, an FPGA chip module, a bus interface circuit, and a bridge chip module. One end of the FPGA chip module is connected to the electromagnetic isolation circuit through the serial port conversion circuit, and the other end is provided with a bus interface circuit and connected to the industrial control computer through the bridge chip module. The FPGA chip module is connected to the turntable controller and the turntable through the transceiver, and is used to send control commands for the test items to the turntable controller and receive the feedback data from the turntable controller.

[0007] Furthermore, the receiving control terminal of the FPGA chip circuit is connected to a RAM storage circuit; the transmitting control terminal of the FPGA chip circuit is connected to a crystal oscillator circuit.

[0008] Furthermore, the system is connected to the turntable controller and the turntable respectively via a synchronous serial port card and a twisted-pair shielded cable.

[0009] Furthermore, the test items include test angles and test speeds for the azimuth and pitch directions of the test turntable, real-time test speed of the gyroscope, preset steady-state value of the test position, transition time, overshoot, and position guidance tracking error.

[0010] A second aspect of the present invention discloses a testing method for a turntable controller using the above-described testing system, the method comprising:

[0011] The industrial computer sends test data to the turntable controller;

[0012] The turntable controller sends the position setpoints in both azimuth and pitch directions, as well as the real-time speed values ​​of the gyroscope, to the turntable.

[0013] The turntable performs tests based on the received data, and then packages the received data with the real-time position values ​​of the turntable in the test azimuth and pitch directions, and transmits them together to the industrial control computer.

[0014] Furthermore, the method also includes:

[0015] The test computer plots its response curves based on the position setpoints and real-time values ​​in both azimuth and pitch directions, plots the gyroscope real-time velocity curve based on the gyroscope real-time velocity value, and calculates the position preset steady-state value, transition time, overshoot, and position guidance tracking error based on the position response curves in both azimuth and pitch directions. The final test results are obtained based on the pass / fail criteria.

[0016] In an improved technical solution, the UAV control terminal is further equipped with a throwing mode setting module, configured to analyze the location of the suspicious target through the Beidou / GPS navigation module to throw bombs; specifically, when the suspicious target enters the set tracking range, the UAV control terminal initiates an attack, the tracking and locking module controls the UAV to track, and when the suspicious target enters the firing range, the aiming device is used to aim at and lock the suspicious target, and the operation information is transmitted to the ground remote control terminal. Then, the ground remote control terminal issues a throwing command to the bomb throwing control module to throw bombs.

[0017] A third aspect of this invention discloses a test operation method for the above-mentioned test system, comprising the following steps:

[0018] Connect the test platform, turntable controller, and turntable using a twisted-pair shielded cable.

[0019] Start the test module and initialize the system;

[0020] Input the turntable controller parameters via the industrial computer and click "Start Test";

[0021] The industrial control computer determines whether the parameters are compliant. If they are compliant, it allows the synchronous serial port card to transmit data.

[0022] The test system receives parameters written to the turntable controller via a synchronous serial port card, reads and parses the turntable controller data; specifically, it reads the data using LabVIEW's VISA command, and the read values ​​are in hexadecimal code. The data is then segmented, shifted, and converted according to the parsing formula to finally complete the parsing.

[0023] The turntable controller writes data to the turntable, and the turntable performs tests based on the received parameter data;

[0024] The industrial control computer acquires and parses the test data completed by the turntable; specifically, it reads the data using LabVIEW's VISA command. The read values ​​are in hexadecimal code, which is then segmented, shifted, and converted according to the parsing formula to finally complete the parsing.

[0025] Test complete.

[0026] Furthermore, the method also includes: after the test is completed, outputting the corresponding report by outputting a report command; and parsing the read turntable data and displaying it on the display screen.

[0027] Further optimization of the error handling mechanism in the testing method, the method also includes

[0028] When a user enters a value exceeding the limit, the system will automatically modify the entered value to the limit and provide a prompt.

[0029] The system will provide a prompt when the communication line is disconnected or malfunctions.

[0030] The test system for the turntable controller of this invention is equipped with a test platform consisting of a measurement and control computer and a synchronous serial port card. The test system can send control commands to the turntable controller, modify the turntable controller parameters, receive and parse the data returned by the turntable controller, collect the angle and angular velocity information of the turntable in real time, complete the test of the combined time domain characteristics, and output the test results. It realizes the standardization and visualization of product inspection results. Attached Figure Description

[0031] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying 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.

[0032] Figure 1 This is a schematic diagram of the test system of the present invention;

[0033] Figure 2 This is a schematic diagram of the circuit structure of the synchronous serial port card of the present invention;

[0034] Figure 3 This is a circuit diagram of the synchronous serial port card of the present invention;

[0035] Figure 4 A flowchart illustrating an example of the testing method of the present invention;

[0036] Figure 5 The following is a flowchart illustrating another example of the testing method of the present invention. Detailed Implementation

[0037] To make the objectives, technical solutions, and beneficial effects of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0038] Figure 1-2 As shown, the test system of the present invention includes a measurement and control computer and a synchronous serial port card. The measurement and control computer is configured as a control program running environment. The measurement and control calculation module communicates with the turntable controller, the turntable and the industrial control computer through the synchronous serial port card.

[0039] The synchronous serial port card integrates a transceiver, an electromagnetic isolation circuit, a serial port conversion circuit, an FPGA chip circuit, a bus interface circuit, and a bridge chip circuit. One end of the FPGA chip circuit is connected to the electromagnetic isolation circuit through the serial port conversion circuit, and the other end is provided with a bus interface circuit and connected to the industrial control computer through the bridge chip circuit. The FPGA chip circuit is connected to the turntable controller and the turntable through the transceiver, and is used to send control commands for the test items to the turntable controller and receive the feedback data from the turntable controller.

[0040] The receiving control terminal of the FPGA chip circuit is connected to a RAM storage circuit; the transmitting control terminal of the FPGA chip circuit is connected to a crystal oscillator circuit.

[0041] The specific circuit structure is as follows: Figure 3 As shown, the input and output terminals of the transceiver circuit chip U1 are connected to the turntable controller and the turntable, respectively. Externally connected to chip U1 are capacitors C1, C2, C3, and C4. Its output pin is connected to the electromagnetic isolation chip U4. The electromagnetic isolation circuit is connected to the serial communication pin of FPGA U2, and another bus communication pin of FPGA U2 is externally connected to the bridge chip U3. This circuit structure implements serial port transmission and reception through an FPGA conversion chip. During operation, the FPGA generates data by exchanging data with the bus interface through the bridge chip, and simultaneously receives data acquired by the transceiver through the serial port conversion chip.

[0042] The test system is connected to the turntable controller and the turntable respectively via a synchronous serial port card and a twisted-pair shielded cable.

[0043] The test items include test angles and test speeds for the azimuth and pitch directions of the test turntable, real-time test speed of the gyroscope, preset steady-state value of the test position, transition time, overshoot, and position guidance tracking error.

[0044] The synchronous serial port card in this example uses serial asynchronous full-duplex RS485 communication; the baud rate is 19200 bit / s; the data format is: 1 start bit, 8 data bits, and 1 stop bit; multi-byte data is parsed with the high byte first; the test bench sends a synchronization signal to the servo controller at a frequency of 50Hz; the synchronous serial port card communicates with the turntable controller and the turntable in a question-and-answer cycle, with a communication cycle of 5ms.

[0045] The second aspect of this invention provides a test method for a turntable controller. Figure 4 As shown, the method includes

[0046] The industrial computer sends test data to the turntable controller;

[0047] The turntable controller sends the position setpoints in both azimuth and pitch directions, as well as the real-time speed values ​​of the gyroscope, to the turntable.

[0048] The turntable performs tests based on the received data, and then packages the received data with the real-time position values ​​of the turntable in the test azimuth and pitch directions, and transmits them together to the industrial control computer.

[0049] The method further includes:

[0050] The test computer plots its response curves based on the position setpoints and real-time values ​​in both azimuth and pitch directions, plots the gyroscope real-time velocity curve based on the gyroscope's real-time velocity value, and calculates the position preset steady-state value, transition time, overshoot, and position guidance tracking error based on the position response curves in both azimuth and pitch directions. The final test result is obtained based on the pass / fail criteria.

[0051] The third aspect of this invention provides another method for testing a turntable controller. Figure 5 As shown, it includes the following steps:

[0052] Connect the test platform, turntable controller, and turntable using a twisted-pair shielded cable.

[0053] Start the test module and initialize the system;

[0054] Input the turntable controller parameters via the industrial computer and click "Start Test";

[0055] The industrial control computer determines whether the parameters are compliant. If they are compliant, it allows the synchronous serial port card to transmit data.

[0056] The test system receives parameters written to the turntable controller via a synchronous serial port card, reads and parses the turntable controller data; specifically, it reads the data using LabVIEW's VISA command, and the read values ​​are in hexadecimal code. The data is then segmented, shifted, and converted according to the parsing formula to finally complete the parsing.

[0057] The turntable controller writes data to the turntable, and the turntable performs tests based on the received parameter data;

[0058] The industrial control computer acquires and parses the test data completed by the turntable; specifically, it reads the data using LabVIEW's VISA command. The read values ​​are in hexadecimal code, which is then segmented, shifted, and converted according to the parsing formula to finally complete the parsing.

[0059] Test complete.

[0060] The method further includes: after the test is completed, outputting the corresponding report by outputting a report command; and parsing the read turntable data and displaying it on the display screen.

[0061] The method also includes

[0062] When a user inputs a value exceeding the limit, the system will automatically modify the input value to the limit and provide a prompt; for example, if the preset angle position limit is 0° to 360°, and the user inputs 370°, the system will automatically modify the input value to 360°; if the user inputs -10°, the system will automatically modify the input value to 0°.

[0063] The system will provide a prompt when the communication line is disconnected or malfunctions.

[0064] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, apparatus, article, or method. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, apparatus, article, or method that includes that element.

[0065] The sequence numbers of the above embodiments of the present invention are merely for descriptive purposes and do not represent the superiority or inferiority of the embodiments. Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases, the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium such as ROM / RAM, magnetic disk, or optical disk as described above, and includes several programs to enable a terminal device, such as a mobile phone, computer, server, or network device, to execute the methods described in the various embodiments of the present invention.

[0066] The above are merely preferred embodiments of the present invention and do not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the content of the present invention's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.

Claims

1. A test system for a turntable controller, characterized in that, The testing system includes a measurement and control computer and a synchronous serial port card. The measurement and control computer is configured as a control program running environment. The measurement and control computer communicates with the turntable controller, the turntable, and the industrial control computer through the synchronous serial port card. The synchronous serial port card integrates a transceiver, an electromagnetic isolation circuit, a serial port conversion circuit, an FPGA chip circuit, a bus interface circuit, and a bridge chip circuit. One end of the FPGA chip circuit is connected to the electromagnetic isolation circuit through the serial port conversion circuit, and the other end is provided with a bus interface circuit and connected to the industrial control computer through the bridge chip circuit. The FPGA chip circuit is connected to the turntable controller and the turntable through the transceiver, and is used to send control commands for the test items to the turntable controller and receive the feedback data from the turntable controller. The receiving control terminal of the FPGA chip circuit is connected to a RAM storage circuit; the transmitting control terminal of the FPGA chip circuit is connected to a crystal oscillator circuit. The test items include test angles and test speeds for the azimuth and pitch directions of the test turntable, real-time test speed of the gyroscope, preset steady-state value of the test position, transition time, overshoot, and position guidance tracking error.

2. The test system for the turntable controller as described in claim 1, characterized in that, The synchronous serial port cards are all connected to the turntable controller and the turntable respectively via twisted-pair shielded cables.

3. The test system for the turntable controller as described in claim 1, characterized in that, The system communicates with the turntable controller and the turntable in a question-and-answer cycle via a synchronous serial port card, with a communication cycle of 5ms.

4. A test method for a turntable controller using the test system described in claim 1, characterized in that, The method includes The industrial computer sends test data to the turntable controller; The turntable controller sends the position setpoints in both azimuth and pitch directions, as well as the real-time speed values ​​of the gyroscope, to the turntable. The turntable performs tests based on the received data, and then packages the received data with the real-time position values ​​of the turntable in the test azimuth and pitch directions, and transmits them together to the industrial control computer.

5. The test method for the turntable controller as described in claim 4, characterized in that, The method further includes: The test computer plots its response curves based on the position setpoints and real-time values ​​in both azimuth and pitch directions, plots the gyroscope real-time velocity curve based on the gyroscope's real-time velocity value, and calculates the position preset steady-state value, transition time, overshoot, and position guidance tracking error based on the position response curves in both azimuth and pitch directions. The final test result is obtained based on the pass / fail criteria.

6. A test method for a turntable controller using the test system of claim 1, characterized in that, Includes the following steps: Connect the test platform, turntable controller, and turntable using a twisted-pair shielded cable. Start the test module and initialize the system; Input the turntable controller parameters via the industrial computer and click "Start Test"; The industrial control computer determines whether the parameters are compliant. If they are compliant, it allows the synchronous serial port card to transmit data. The test system receives parameters written to the turntable controller via a synchronous serial port card, reads and parses the turntable controller data; specifically, it reads the data using LabVIEW's VISA command, and the read values ​​are in hexadecimal code. The data is then segmented, shifted, and converted according to the parsing formula to finally complete the parsing. The turntable controller writes data to the turntable, and the turntable performs tests based on the received parameter data; The industrial control computer acquires and parses the test data completed by the turntable; specifically, it reads the data using LabVIEW's VISA command. The read values ​​are in hexadecimal code, which is then segmented, shifted, and converted according to the parsing formula to finally complete the parsing. Test complete.

7. The test method for the turntable controller as described in claim 6, characterized in that, The method further includes: after the test is completed, outputting the corresponding report by outputting a report command; and parsing the read turntable data and displaying it on the display screen.

8. The test method for the turntable controller as described in claim 6, characterized in that, The method also includes When a user enters a value exceeding the limit, the system will automatically modify the entered value to the limit and provide a prompt. The system will provide a prompt when the communication line is disconnected or malfunctions.

Citation Information

Patent Citations

  • Universal test platform system for inertial measurement unit

    CN107677293A