A high-efficiency real-time communication system and method for servo motor data

The efficient real-time communication system for servo motor data solves the problems of data real-time performance and robustness in embedded devices, realizes efficient data transmission and visualization of environmental data, and improves the health management and troubleshooting efficiency of the host computer.

CN115776505BActive Publication Date: 2026-04-03JINCHENG NANJING ELECTROMECHANICAL HYDRAULIC PRESSURE ENG RES CENT AVIATION IND OF CHINA
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-19
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

In embedded complex devices, the real-time performance of servo data is insufficient, the communication packet loss rate is high, and the robustness is weak, which affects the efficiency of environmental data visualization and host computer health management.

Method used

A high-efficiency real-time communication system for servo data is adopted. Through the connection between the controller, the host computer, and the servo motor, efficient data transmission and control are achieved using communication cables, drive cables, and sensor cables. The controller uploads specified data in real time according to the host computer's instructions and classifies and transmits data packets in the fastest hardware cycle.

Benefits of technology

It enables real-time uploading of large amounts of data, reduces communication packet loss rate, improves robustness, supports high-precision visualization of environmental data and health management of the host computer, and improves troubleshooting efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115776505B_ABST
    Figure CN115776505B_ABST
Patent Text Reader

Abstract

This invention relates to a high-efficiency real-time communication system and method for servo motor data. The system consists of three parts: a host computer, a controller, and servos. The host computer is used to send data with specified packet numbers, specify whether to update simultaneously, and display the received data. The controller is used to receive instructions from the host computer, collect data, perform control logic calculations, control the servos, and upload specified data. The servos, as actuators, receive drive signals from the controller and feedback their own status signals. The controller first determines whether the upload queue is empty. If it is not empty, it retrieves one data packet from the upload queue and uploads it. If it is empty, it checks whether to update simultaneously according to the received instruction from the host computer. If the instruction is to update simultaneously, it updates all data with the specified packet number and writes the data to the upload queue. If the instruction is not to update simultaneously, it updates one data packet sequentially and writes the data with that packet number to the upload queue. Then, it retrieves one data packet from the upload queue and uploads it.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a high-efficiency real-time communication system and method for servo motor data, belonging to the field of electromechanical technology. Background Technology

[0002] In embedded complex devices, the volume of maintenance and monitoring data is large, and high real-time performance is required. However, current technical solutions suffer from insufficient real-time performance of uploaded data, long processing times for the uploading process, high packet loss rates, and weak robustness. To visualize environmental data, assist in host computer health management, and improve troubleshooting efficiency, a highly efficient real-time communication method for servo motor data is urgently needed. Summary of the Invention

[0003] The purpose of this invention is to provide a high-efficiency real-time communication system and method for servo motor data, which can upload a large amount of maintenance data and improve the real-time upload of specified data without increasing program time, reducing communication packet loss rate, enhancing robustness, improving environmental data visualization, assisting in host computer health management, and improving troubleshooting efficiency.

[0004] To achieve the above objectives, the present invention adopts the following technical solution:

[0005] A high-efficiency real-time communication system for servo motor data includes a servo motor, a controller, and a host computer. The host computer is connected to the controller, and the controller is connected to the servo motor. The host computer is used to send data with a specified packet number, indicate whether to update simultaneously, and display the received data. The controller is used to receive instructions from the host computer, collect data, perform control logic calculations, control the servo motor, and upload specified data. The servo motor, as an actuator, receives drive signals from the controller and feedback its own status signals.

[0006] Furthermore, the controller is connected to the host computer via a communication cable.

[0007] Furthermore, the controller is connected to the servo motor via a drive cable, and the drive cable provides drive signals to the servo motor.

[0008] Furthermore, the controller and the servo motor are connected via a sensor cable, through which the controller receives servo motor status signals.

[0009] The communication method of the efficient real-time communication system for servo motor data includes the following steps:

[0010] S1. The host computer sends data with a specified packet number, requiring the controller to upload the required amount of data.

[0011] S2. The host computer issues a requirement for simultaneous updates, specifying the real-time update requirements for uploaded data.

[0012] S3. The controller uploads servo motor monitoring data to the host computer in real time and efficiently.

[0013] S4. The servo moves according to the signal from the drive cable, and at the same time transmits its own status signal to the controller through the sensor cable.

[0014] S5. The host computer performs environmental visualization, health management, and graphical analysis based on the data uploaded by the controller.

[0015] Furthermore, step S3 specifically involves: the controller first determining whether the upload queue is empty. If it is not empty, it retrieves one data packet from the upload queue and uploads it. If it is empty, it determines whether the received host computer has a simultaneous update instruction. If the instruction is a simultaneous update, it updates all data of the specified packet number simultaneously and writes the data into the upload queue. If the instruction is not a simultaneous update, it updates one data packet sequentially and writes the data of that packet number into the upload queue. Then, it retrieves one data packet from the upload queue and uploads it.

[0016] Furthermore, the position command data and position feedback data of the servo motor are classified into the same package number. At this time, the host computer sends the data upload of the specified package number and sends the update request at the same time. Then, the position command data and position feedback data of the servo motor are uploaded in real time in the fastest cycle of the hardware.

[0017] Furthermore, the position command monitoring information of the servo motor and the position sensor monitoring information are classified into different package numbers. The host computer issues data upload instructions for these package numbers and issues non-simultaneous update instructions. In the fastest hardware cycle, the controller only updates and uploads the specific package number data to be uploaded, and then updates and uploads the next package number data to be uploaded. Therefore, a large amount of maintenance data can be uploaded without increasing program time or affecting the execution of other tasks.

[0018] The present invention proposes a high-efficiency real-time communication system and method for servo motor data, the advantages of which are:

[0019] (1) It can upload a large amount of data without affecting the time taken by the program task.

[0020] (2) Uploading specific data with high real-time performance.

[0021] (3) It reduces the packet loss rate and improves the robustness of communication.

[0022] (4) It provides accurate and high-precision data support for troubleshooting products. Attached Figure Description

[0023] Figure 1 This is an overall structural diagram of a high-efficiency real-time communication system for servo motor data.

[0024] Figure 2 This is a flowchart of a method for efficient real-time communication of servo motor data. Detailed Implementation

[0025] The working process of the system and method of the present invention will be described below with reference to the accompanying drawings.

[0026] Implementation Method 1

[0027] Combined with appendix Figure 1 This invention describes the overall structure of a high-efficiency real-time communication system for servo motor data. The system mainly consists of three parts: a host computer, a controller, and servos. The host computer sends data with specified packet numbers, requests for simultaneous updates, and displays received data via a communication cable. The controller receives instructions from the host computer via the communication cable, collects servo motor data via sensor cables, performs control logic calculations and data monitoring within the controller itself, controls the servos via drive cables, and uploads specified data via the communication cable. The servos, as actuators, receive drive signals from the controller via drive cables and feedback their own status signals via sensor cables.

[0028] The following is in conjunction with the appendix Figure 1 ~Attached Figure 2 A detailed implementation of a method for efficient real-time communication of servo motor data is provided below:

[0029] S1. The host computer sends data with a specified packet number, requiring the controller to upload the required amount of data.

[0030] S2, The host computer issues a requirement for simultaneous updates, specifying the real-time update requirements for uploaded data;

[0031] S3. The controller first determines whether the upload queue is empty. If it is not empty, it retrieves one data packet from the upload queue and uploads it. If it is empty, it determines whether the received host computer has a simultaneous update instruction. If the instruction is a simultaneous update, it updates all data of the specified packet number and writes the data to the upload queue. If the instruction is not a simultaneous update, it updates one data packet in sequence and writes the data of that packet number to the upload queue. Then, it retrieves one data packet from the upload queue and uploads it.

[0032] S4. The servo moves according to the signal from the drive cable, and at the same time transmits its own status signal to the controller through the sensor cable.

[0033] S5. The host computer performs environmental visualization, health management, and graphical analysis based on the data uploaded by the controller.

[0034] Implementation Method 2

[0035] Servo servo position command data and position feedback data are crucial for analyzing servo servo control performance, and this type of data requires high real-time performance. Therefore, servo position command data and position feedback data are grouped into the same packet number. The host computer then sends data upload requests for this specified packet number, along with simultaneous update requests, ensuring real-time uploading of the servo position command data and position feedback data within the fastest hardware cycle time. The host computer then plots and analyzes the received position command data and position feedback data to evaluate the controller's control performance over the servo.

[0036] Implementation Method 3

[0037] By categorizing servo position command monitoring information and position sensor monitoring information into different package numbers, and issuing data upload commands for each package number through the host computer, as well as issuing non-simultaneous update commands, the controller only updates and uploads the specific package number data to be uploaded in the fastest hardware cycle. Then, it updates and uploads the next package of data to be uploaded. Therefore, a large amount of maintenance data can be uploaded without increasing program time or affecting the execution of other tasks.

[0038] The above-described embodiments are preferred embodiments of the present invention, but the embodiments of the present invention are not limited to the above-described embodiments. Any changes, modifications, substitutions, combinations, or simplifications made without departing from the spirit and principle of the present invention shall be considered equivalent substitutions and shall be included within the protection scope of the present invention.

Claims

1. A high-efficiency real-time communication system for servo motor data, comprising a servo motor, characterized in that, It also includes a controller and a host computer. The host computer is connected to the controller, and the controller is connected to the servo motor. The host computer is used to send data with a specified packet number, indicate whether to update simultaneously, and display the received data. The controller is used to receive instructions from the host computer, collect data, calculate control logic, control the servo motor, and upload specified data. The process of the controller uploading servo motor data to the host computer in real time and efficiently is as follows: The controller first determines whether the queue to be uploaded is empty. If it is not empty, it takes one packet of data from the queue to be uploaded and uploads it. If it is empty, it determines whether to update simultaneously according to the instruction received from the host computer. If the instruction is to update simultaneously, it updates all data with the specified packet number at the same time and writes the data to the queue to be uploaded. If the instruction is not to update simultaneously, it updates one packet of data in sequence and writes the data with that packet number to the queue to be uploaded. Then, one data packet is retrieved from the queue to be uploaded and uploaded; the servo motor, as the actuator, receives the drive signal from the controller and feedback its own status signal.

2. The efficient real-time communication system for servo motor data according to claim 1, characterized in that, The controller is connected to the host computer via a communication cable.

3. The efficient real-time communication system for servo motor data according to claim 1, characterized in that, The controller is connected to the servo motor via a drive cable, which provides drive signals to the servo motor.

4. The efficient real-time communication system for servo motor data according to claim 3, characterized in that, The controller and servo motor are also connected via sensor cables, through which the controller receives servo motor status signals.

5. The communication method of the efficient real-time communication system for servo motor data according to any one of claims 1-4, characterized in that, Includes the following steps: S1. The host computer sends data with a specified packet number, requiring the controller to upload the required amount of data. S2. The host computer issues a requirement for simultaneous updates, specifying the real-time update requirements for uploaded data. S3. The controller uploads servo motor data to the host computer in real time and efficiently. S4. The servo moves according to the signal from the drive cable, and at the same time transmits its own status signal to the controller through the sensor cable. S5. The host computer performs environmental visualization, health management, and graphical analysis based on the data uploaded by the controller.

6. The communication method of the efficient real-time communication system for servo motor data according to claim 5, characterized in that, Step S3 is as follows: First, the controller determines whether the queue to be uploaded is empty. If it is not empty, it retrieves one data packet from the queue to be uploaded and uploads it. If it is empty, it determines whether the received host computer has a simultaneous update instruction. If the instruction is a simultaneous update, it updates all data of the specified packet number and writes the data to the queue to be uploaded. If the instruction is not a simultaneous update, it updates one data packet in sequence and writes the data of that packet number to the queue to be uploaded. Then, it retrieves one data packet from the queue to be uploaded and uploads it.

7. The communication method of the efficient real-time communication system for servo motor data according to claim 5, characterized in that, By grouping the servo's position command data and position feedback data into the same packet number, and issuing upload commands for these packet numbers through the host computer, along with simultaneous update requests, the servo's position command data and position feedback data can be uploaded in real time within the fastest hardware cycle.

8. The communication method of the high-efficiency real-time communication system for servo motor data according to claim 6, characterized in that, The position command monitoring information of the servo motor and the position sensor monitoring information are classified into different package numbers. The host computer issues data upload commands for these package numbers. If a non-simultaneous update command is issued, the controller will only update and upload the specific package number data to be uploaded in the fastest hardware cycle, and then update and upload the next package number data to be uploaded.

Citation Information

Patent Citations

  • Steering engine distributed control system and method

    CN106292369A