Supercharge Your Innovation With Domain-Expert AI Agents!

System and method for translating AI natural language description to Python code

A natural language and translation system technology, applied in the field of multi-motor synchronous control, can solve problems such as inconsistency of load driving force at both ends, complex structure of synchronous motor control system, inability to meet informatization and networking, etc.

Inactive Publication Date: 2021-11-16
薛智夫 +2
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the application field of motor synchronous control, since the single-axis system drives large symmetrical loads, the driving force of the loads at both ends is often inconsistent, which will adversely affect the quality of the product and the service life of the equipment. Therefore, the current motor synchronous control mostly uses A core controller is composed of several sub-units connected to it. Each sub-unit has an independent motor to control the corresponding motion axis. Under the control of the controller, the motion axes of each sub-unit can run synchronously in parallel, and each axis All are driven by independent motors, which significantly improves the load capacity of the shaft, and also greatly simplifies the mechanical structure of the equipment to achieve higher precision and synchronous control. However, the structure of the synchronous motor control system is complex and cannot meet Realize the requirements of informatization and networking

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • System and method for translating AI natural language description to Python code
  • System and method for translating AI natural language description to Python code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] Such as Figure 1-2 As shown, the AI ​​natural language description to Python code translation system, including multi-axis synchronous control module, PLC controller, pulse acquisition module and servo motor drive module, the input end of the pulse acquisition module is connected to the output end of the external master motor encoder , the first end of each multi-axis synchronous control module is connected with the output end of the pulse acquisition module, the third end of each multi-axis synchronous control module is connected with multiple servo motor drive modules, each multi-axis synchronous control module The second end is used as an interface connected to the industrial Ethernet, and communicates with the PLC controller through the interface. The output end of each servo motor drive module is electrically connected to the input end of each slave motor. The multi-axis synchronous control module includes processing Processor control program, dual-port RAM, proce...

Embodiment 2

[0032] The method of AI natural language description to Python code translation system includes the following steps:

[0033] S1: The pulse acquisition module collects the pulse encoding signal output by the external master motor encoder, and performs differential processing and magnetic coupling isolation processing on the pulse encoding signal to obtain the target pulse encoding signal;

[0034] S2: The QEP module in each multi-axis synchronous control module counts the target pulse code signal output by the pulse acquisition module, which is periodically sampled by the processor in each multi-axis synchronous control module. The position information and direction information of the control slave motor, wherein the position information includes the number of pulses to control the rotation of the slave motor, and the direction information includes the direction of the control slave motor rotation;

[0035] S3: The on-site IO device transmits the on-site control command to the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a system and method for translating AI natural language description to Python codes, and the system comprises a multi-axis synchronous control module, a PLC controller, a pulse collection module, and a servo motor drive module. The input end of the pulse collection module is connected with the output end of an external master motor encoder, the first end of each multi-axis synchronous control module is connected with the output end of the pulse acquisition module, and the third end of each multi-axis synchronous control module is connected with the plurality of servo motor driving modules. According to the system and method for translating AI natural language description to Python codes, the functions of pulse counting, slave motor control pulse generation, slave motor pulse parallel control and industrial Ethernet interface integration are achieved through the multi-axis synchronous control module, high-precision synchronous control between slave motors is achieved through a networked structure, communication among the synchronous control system, the external PLC, the upper computer and the human-computer interface is realized through an industrial Ethernet bus.

Description

technical field [0001] The invention relates to the technical field of multi-motor synchronous control, in particular to a translation system and method from AI natural language description to Python code. Background technique [0002] In the application field of motor synchronous control, since the single-axis system drives large symmetrical loads, the driving force of the loads at both ends is often inconsistent, which will adversely affect the quality of the product and the service life of the equipment. Therefore, the current motor synchronous control mostly uses A core controller is composed of several subunits connected to it. Each subunit has an independent motor to control the corresponding motion axis. Under the control of the controller, the motion axes of each subunit can run in parallel and synchronously, and each axis They are all driven by independent motors, which significantly improves the load capacity of the shaft, and also greatly simplifies the mechanical...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G05B19/05
CPCG05B19/054G05B2219/1167
Inventor 薛智夫吴振寰刘桐
Owner 薛智夫
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More