Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A Speed ​​Preprocessing Algorithm Based on Two Threads

A preprocessing, dual-thread technology, applied in the field of computer algorithms, can solve the problems of increasing the real-time thread burden, increasing the program calculation amount, affecting the processing quality, etc. effect of benefit

Active Publication Date: 2020-03-17
广州四合创新科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the case of continuous small line segments, although the method of changing the first and last speeds in the forward-looking process can ensure the accessibility of the speed of the link between forgings, frequently changing the first and last speeds (generally using the search method to solve) will greatly increase the amount of program calculations, adding Large real-time thread burden, and may reduce processing efficiency. Although the method of inter-segment linking has less calculation, there may be too many line segment links, and the planning speed is much higher than the inter-segment link speed, which affects the processing quality and other problems.

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
  • A Speed ​​Preprocessing Algorithm Based on Two Threads
  • A Speed ​​Preprocessing Algorithm Based on Two Threads
  • A Speed ​​Preprocessing Algorithm Based on Two Threads

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] A kind of speed preprocessing algorithm based on two threads, its method comprises the following steps:

[0037] Such as figure 1 shown, including the following steps:

[0038] Step 1: set up the circular queue of storage line segment (described storage line segment can be straight line or circular arc), the first section of unprocessed line segment in the queue is used as real-time thread starting position, the last section of unprocessed line segment in the queue is started as non-real-time thread Location;

[0039] Step 2: Divide the speed preprocessing algorithm into real-time part and non-real-time part, wherein the real-time part is placed in the real-time thread to run together with the speed planning algorithm, and the non-real-time part is put in the non-real-time thread to run together with the program for inserting line segments;

[0040] Such as Figure 5 As shown, the real-time part of the implementation process in the speed preprocessing algorithm is as...

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 double-thread-based speed preprocessing algorithm. The algorithm comprises the following steps of step 1, establishing a round-robin queue of linear / circular arc-shaped storage line segments, adopting the head segment of unmachined line segments in the queue as the starting position of a real-time thread, and adopting the last segment of unmachined line segments in the queue as the starting position of a non-real-time thread; step 2, dividing the speed preprocessing algorithm into a real-time part and a non-real-time part, wherein the real-time part is placed in the real-time thread and is configured to run together with a speed planning algorithm, and the non-real-time part is placed in the non-real-time thread and is configured to run together with a line segment inserting program. According to the invention, the real-time performance of the whole algorithm can be improved and the calculation amount of programs can be reduced. The burden of the real-time thread is reduced, and the processing efficiency of equipment corresponding to the application software is improved. The processing quality and the like can be improved. The continuous improvement requirements of the new market are met. Meanwhile, the algorithm creates more economic benefits and more social benefits for enterprises.

Description

technical field [0001] The invention relates to a computer algorithm, in particular to a speed preprocessing algorithm based on two threads. Background technique [0002] At present, speed planning algorithms such as ladder diagram speed planning, S-shaped speed planning, and sine speed planning have been widely used in numerical control systems and industrial robot operations. The function of the speed planning algorithm is to plan the time-optimal speed curve for a section of the path under the given initial and final speed, path length, maximum speed, maximum acceleration and maximum jerk, and ensure the smooth motion of the given path, thereby improving the motion The precision of control. The difficulty lies in the determination of the first and last speeds to ensure a smooth transition at the junction of multi-segment paths. Most of the existing technologies use forward-looking algorithms, and most of them run forward-looking algorithms and speed planning algorithms ...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G05B19/416
CPCG05B19/416G05B2219/43146
Inventor 贺跃帮董尚东
Owner 广州四合创新科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products