In recent years,the hardware based wireless communication structure is difficult to meet the needs of today’s communication development.The software radio technology,which uses software to replace the traditional hardware circuit to perform communication protocol processing,emerges as the times require.Because the software defined radio system usually needs clock to drive in signal processing,and has a strong dependence on the front and back tasks,so it has a high demand for real-time.However,most of the traditional multi-core task scheduling algorithms are only for non real-time systems,and can not guarantee the accuracy of task processing in time domain,so the combination of real-time task processing and multi-core task scheduling is the main research direction of this thesis.The main contents of this thesis are as follows:First of all,based on the full study of the characteristics of software radio technology and the key technology of traditional multi-core task scheduling,this thesis improves its scheduling algorithm based on Linux operating system,and proposes an improved task scheduling algorithm for real-time signal processing.In this algorithm,the priority strategy of preemptive scheduling is improved,the dependency between tasks is considered when the task is generated to the queue,and the mechanism of synchronous processing and thread binding is added.Through the test and analysis of the algorithm,it is verified that the algorithm can well meet the real-time performance of software defined radio system.Secondly,from the perspective of practical engineering,based on the improved scheduling algorithm,this thesis develops a middleware of real-time task scheduling for software defined radio.The system mainly includes task pool,task scheduling,task generation and kernel resource management modules,and provides a series of programming interface to facilitate users to carry real-time system.This thesis will introduce the implementation process of each module of the middleware in detail.On the basis of the system,by using the simple data processing function to simulate the signal processing process in the communication channel,this thesis implements a system for simulating software defined radio,and carries the middleware into the system for testing.The performance of the scheduling algorithm is analyzed by comparing the CPU clock cycles consumed by task processing under different conditions. |