Multiprocessor Motion Control Pipeline Scheduling with Task Offsets

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing motion control software experiences task activation jitter due to non-uniform intervals between wake-up times, leading to increased end-to-end delay and obstacles in shortening task cycles, which current solutions like PREEMPT_RT and dual operating systems require device driver corrections.

Innovation Solution

A method for scheduling a multiprocessor-based motion control software pipeline that calculates parameters for optimal periodic and input/output offsets, using a reference task to generate timers and set offsets for non-reference tasks, allowing for a three-step pipeline execution with optional delay between steps to minimize jitter and maximize resource availability.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a PREEMPT_RT real-time patch or dual operating system structure is used to reduce task activation jitter, then task activation jitter is reduced, but device driver correction or re-creation is required

Engineering Contradiction:
Improvetask activation jitterVSAvoiddevice driver correction
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces a task offset value as an intermediary parameter that mediates between the reference task and non-reference tasks. This offset value allows non-reference tasks to be scheduled at precise intervals relative to the reference task, reducing task activation jitter without requiring device driver corrections. The intermediary parameter decouples the timing synchronization requirement from the device driver layer.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent changes the scheduling parameter by introducing a configurable task offset value that can be adjusted to achieve precise task activation timing. By modifying the scheduling parameter (task offset) rather than the device driver structure, the system achieves real-time performance without the complexity of device driver re-creation.

Inventive Principle:
Principle #35Parameter changes

2Device complexity

If task activation jitter is not reduced, then device driver correction is avoided, but end-to-end delay time increases and cycle shortening is obstructed

Engineering Contradiction:
Improvedevice driver correctionVSAvoidend-to-end delay time
Core Design Contradiction:
Device complexityVSLoss of time

Solution Approach 1:

The patent performs preliminary action by calculating and setting the task offset value before task execution begins. The admission control program pre-calculates the optimal task offset based on the maximum allowable period and execution times, ensuring that tasks are activated at precise intervals from the start, thereby minimizing end-to-end delay without requiring device driver modifications.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces dynamic scheduling by allowing the task offset value to be adjusted based on system conditions and performance requirements. This dynamic parameter enables the system to optimize task activation timing adaptively, reducing end-to-end delay while maintaining flexibility in the scheduling approach.

Inventive Principle:
Principle #15Dynamics

3Reliability

If a reference task and non-reference task structure is implemented with task offsets, then task activation jitter is minimized, but scheduling parameter calculation complexity increases

Engineering Contradiction:
Improvetask activation jitterVSAvoidscheduling parameter calculation
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent implements self-service by enabling the admission control program to automatically calculate the task offset values based on provided parameters (maximum allowable period and execution times). The system serves itself by internally computing the optimal scheduling parameters without requiring external intervention or complex manual configuration, thereby minimizing task activation jitter while keeping the calculation process manageable.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent incorporates feedback mechanisms where the admission control program uses the maximum allowable period and execution time information to calculate and adjust task offset values. This feedback loop ensures that the scheduling parameters are optimized based on actual system performance data, achieving minimal task activation jitter through iterative parameter refinement.

Inventive Principle:
Principle #23Feedback

4Productivity

If pipeline execution is implemented without delay time between steps, then productivity is improved, but task activation jitter increases

Engineering Contradiction:
Improvepipeline execution speedVSAvoidtask activation jitter
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent changes the timing parameter by introducing a configurable delay time between pipeline steps that can be optimized to balance productivity and jitter reduction. By adjusting this parameter, the system can achieve the desired level of task activation regularity while maintaining high pipeline execution speed, resolving the contradiction between productivity and reliability.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent introduces dynamic delay adjustment between pipeline steps, allowing the system to adaptively control the timing between execution stages. This dynamic approach enables the system to maintain high productivity while minimizing task activation jitter by optimizing the delay parameters based on actual performance requirements.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS9971631B2Method and apparatus for scheduling pipeline of multiprocessor-based motion control software
Publication Date: 2018.05.15 FOUND OF SOONGSIL UNIV IND COOP
  • US9971631B2 patent drawing
  • US9971631B2 patent drawing
  • US9971631B2 patent drawing

AI summary

According to the present invention, a method comprising: (a) calculating, by an admission control program, a parameter for scheduling a pipeline using a maximum allowable period and an execution time for each of N motion tasks, wherein the parameter includes an optimal periodic value, a task offset and an input/output offset for each of the N tasks; (b) generating, by a coordinator program, N motion tasks, wherein one of the N motion tasks is determined to be a reference task, and the other is determined to be a non-reference task; (c) allowing, by the reference task and the non-reference task, an operating system to generate a task wakeup timer and an input/output (I/O) initiating timer; and (d) setting, by the non-reference task, a task offset and an input/output offset for an own timer on the basis of the task wakeup timer of the reference task.