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

Embedded type real-time scheduling control device and method based on MCU

A technology of real-time scheduling and control device, applied in the direction of multi-programming device, program startup/switching, etc., can solve the problem of no time reference, waste, and low real-time performance of turn-based scheduling algorithm, so as to simplify software design, simple operation, improve The effect of execution efficiency

Active Publication Date: 2014-08-20
WANXIANGQIANCHAO CO LTD +1
View PDF5 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] 1. The high-priority priority scheduling algorithm is to give each task module of the software a certain priority before running, and execute it according to the priority from high to low during runtime. This algorithm can only guarantee the real-time execution of tasks independent of each other. The real-time nature of tasks that affect each other cannot be achieved
Therefore, in embedded software, many tasks are not independent, and some tasks need the conditions and data obtained by other tasks to execute. If a high-priority task needs another low-priority task to pass a variable, then follow this If this scheduling algorithm is executed, before another low-priority task is not executed and the variable is not calculated, it is actually a waste for the high-priority task to occupy the CPU.
[0007] 2. The round-robin scheduling algorithm based on time slices is just a scheduling algorithm that mechanically uses the CPU in turn according to the length of execution of task modules. There is no concept of time reference, and the attribute of task running frequency cannot be highlighted, and the real-time performance of the round-robin scheduling algorithm is not high.

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
  • Embedded type real-time scheduling control device and method based on MCU
  • Embedded type real-time scheduling control device and method based on MCU
  • Embedded type real-time scheduling control device and method based on MCU

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The present invention will be described in detail below in conjunction with accompanying drawing: figure 1 Shown, the present invention is made up of microprocessor (MPU), timer (TIMER), memory (ROM and RAM), input device and output device, wherein the software instruction and data in the software system are stored in memory, software instruction It is a collection of embedded software tasks. The input device is composed of I / O interface, analog-to-digital converter module and communication interface. Through these interfaces, the MCU obtains the instructions and data transmitted by the sensor and bus communication. The microprocessor (MPU ) According to the time base signal provided by the timer (TIMER) and the software scheduling control law, the software instructions and data in the ROM and RAM are taken out at a certain moment for calculation, processing and judgment, and the processing results are output to the output device. The output device is controlled by the I...

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 relates to an embedded type real-time scheduling control device and method based on an MCU. The device comprises a microprocessor, a timer, a storage, input equipment and output equipment. The input equipment comprises an I / O interface, an analog-digital converter module and a communication interface. The storage obtains data and instructions transmitted by a sensor and a bus in a communication mode through the input equipment. The software instructions and the data are stored in the storage. The microprocessor takes out the software instructions and the data in the storage according to time base signals and software scheduling control rules provided by the timer to carry out operation, processing and judging, and processing results are obtained and output to the output equipment. The output equipment comprises an I / O interface, a pulse width modulation module and a communication interface. Output executing results are transmitted through the output equipment in different signal modes. The embedded type real-time scheduling control device and method have the advantages that the independence of continuous tasks and discrete tasks is guaranteed, and meanwhile the operation efficiency and the real-time performance of the tasks are improved.

Description

technical field [0001] The invention relates to the field of real-time scheduling control, and mainly relates to an MCU-based embedded real-time scheduling control device and method. Background technique [0002] MCU: Micro Control Unit, micro control unit, also known as single chip microcomputer (Single Chip Microcomputer) or single chip microcomputer, consists of microprocessor (CPU), timer (Timer), memory (ROM, RAM), input / output interface ( I / O), analog-to-digital converter (A / D), communication interface, shaping, driving and other large-scale integrated circuits. Its function is to perform calculations, processing, and judgments by executing embedded software instructions and data stored in ROM or RAM, and then output instructions to control the output or the communication interface to output signals according to certain logic rules. In the embedded system, MCU is generally used as the processor in the fields of industrial control, automotive electronics, and consumer ...

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 Applications(China)
IPC IPC(8): G06F9/48
Inventor 周贤勇李霖资小林谌文思邱宝象莫小波林安伟
Owner WANXIANGQIANCHAO CO LTD
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