Unlock instant, AI-driven research and patent intelligence for your innovation.

FreeRTOS-based instruction interaction control system and method thereof

An interactive control and instruction technology, applied in general control systems, control/regulation systems, program control, etc., can solve the problems of low MCU operation performance, poor real-time control of interactive instructions, and errors and omissions in the connection of multiple instructions up and down. Improve the effect of high scalability, improve operating efficiency, and flexible control

Active Publication Date: 2021-11-30
QINGDAO YINGTAI INFORMATION TECH CO LTD
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The present invention aims at the poor real-time performance of the interactive command control of the MCU existing in the above-mentioned prior art, and the low operating performance of the MCU, and the sending and receiving processing of a single command and the processing of multiple commands Due to the technical problem that errors and omissions are likely to occur in the upper and lower links, a command interaction control system and method based on FreeRTOS is proposed

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
  • FreeRTOS-based instruction interaction control system and method thereof
  • FreeRTOS-based instruction interaction control system and method thereof
  • FreeRTOS-based instruction interaction control system and method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] The technical solutions in specific embodiments of the present invention will be described in detail and completely below in conjunction with the accompanying drawings. Apparently, the described embodiments are only some specific implementations of the general technical solution of the present invention, but not all implementations. All other embodiments obtained by those skilled in the art based on the general concept of the present invention fall within the protection scope of the present invention.

[0059] In describing the present invention, it is to be understood that the terms "center", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", The orientations or positional relationships indicated by "top", "bottom", "inner", "outer", etc. are based on the orientations or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating o...

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 a FreeRTOS-based instruction interaction control method, the method is applied to instruction interaction control between an MCU module and at least one communication module, and the method comprises an instruction sending preparation step, an instruction sending execution step, a timing waiting step and a data receiving step; the instruction sending preparation step is used for transmitting a plurality of parameters of an interaction instruction of the MCU module into a corresponding structural body for storage, so that the parameters can be taken in an instruction interaction operation process; the instruction sending execution step is used for calling and operating a sending processing function, transmitting parameters of the interaction instruction into a pointer space of the sending processing function, and sending the parameters in the pointer space to the communication module through a serial port sending function; the timing waiting step is used for starting a timer, setting the timing parameter of the timer as the maximum waiting time, running a waiting queue, carrying out task blocking waiting, and running other tasks by the MCU module during the queue blocking waiting period; and the data receiving step is used for judging the data type of the received signal when the queue receives the signal during the queue blocking waiting period, and switching to execute the next interaction instruction if the overtime retransmission of the interaction instruction is carried out or the current interaction instruction is successfully sent according to the data type.

Description

technical field [0001] The invention relates to an MCU instruction interaction control system, in particular to an instruction interaction control system based on FreeRTOS and a method thereof. Background technique [0002] At present, Microcontroller Unit (MCU), also known as SingleChip Microcomputer (SingleChip Microcomputer) or single-chip microcomputer, is to properly reduce the frequency and specifications of the Central Processing Unit (Central Process Unit; CPU), and memory (memory) ), counter (Timer), USB, A / D conversion, UART, PLC, DMA and other peripheral interfaces, and even the LCD drive circuit are integrated on a single chip to form a chip-level computer for different combination control for different applications. Such as mobile phones, PC peripherals, remote controls, automotive electronics, industrial stepping motors, control of robot arms, etc., can all be seen in MCU. [0003] FreeRTOS is a mini real-time operating system kernel running on top of MCU. As...

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): G05B19/042
CPCG05B19/0423G05B2219/25257
Inventor 刘福利栾绍鹏
Owner QINGDAO YINGTAI INFORMATION TECH CO LTD