Font Size: a A A

Design Of Integrated Protector Based On Real-time Multitask Mode

Posted on:2021-11-12Degree:MasterType:Thesis
Country:ChinaCandidate:Y N GuoFull Text:PDF
GTID:2531307034963639Subject:Electrical engineering
Abstract/Summary:PDF Full Text Request
In the power supply system of modern mines,fault judgment of reliable and real-time is the guarantee of life safety and efficient production of downhole equipment and operators,with the continuous improvement and development of mine mechanization and intelligence,the power supply protection equipment is facing the demand of high real-time,multifunctional and low power consumption.This paper uses a 32-bit Cortex-M3 as a comprehensive power supply protector microcontroller core,with industrial practical level μC/OS-III real-time operatingsystem as a development environment for multitask system design.Firstly,according to the function analysis of the protector,the protector contains data acquisition and processing function,fault judgment function,communication function,interaction function,data storage and reading function and time and date function,the hardware design of the protector is carried out on the basis of Cortex-M3 as the microcontroller kernel.Then,the software level planning and design of the protector is carried out,which is divided into application layer,management layer and CMSIS layer,after that,the above functions are divided into 15 tasks according to the real-time requirements and call frequency of tasks,on the application layer,the program design of each task of the protector is realized by ST library function development;on management layer,combined with the structure of μC/OS-Ⅲreal-time operating system,the tasks planning and operating system design of protection system are carried out.Finally,the management design of tasks operation is carried out according to the operation rules of each task,real-time kernel objects such as semaphore and event flag group realize synchronization management between tasks,communication between tasks is achieved through message queues,resource management among tasks is realized by mutex semaphore,fault judgment action in callback function is triggered by timer,and interrupt management is used to complete the design of interrupt program.Through reasonable configuration of μC/Probe parameters to monitor the running status,the rationality of system hardware configuration is verified by CPU Usage and Stack Usage,it is proved that the software of the operating system layer and the application system layer can run in real time and reliably by the Context Switch Counter,Interrupt Disable Time and Scheduler Lock Time,by building the experimental platform,the fault judgment function,data collection and communication function of the upper computer were tested.The results show that the protector can reliably and accurately detect the running state of the system,can perform real-time and reliable actions when the fault is detected.
Keywords/Search Tags:μC/OS-Ⅲ real-time operating system, Multitask planning, Operation management, μC/Probe monitoring
PDF Full Text Request
Related items