Font Size: a A A

A Design Method For The Flexible Configuration Development Of The PIC Microcontroller

Posted on:2021-01-18Degree:MasterType:Thesis
Country:ChinaCandidate:Y SunFull Text:PDF
GTID:2428330605468966Subject:Control engineering
Abstract/Summary:PDF Full Text Request
With the popularization of IoT applications,various embedded control systems have begun to enter all aspects of human production and life,but no one control system can fully meet the needs of all users,so the customized service of the control system is still The mainstream of today's embedded applications.When the user's needs change,the control system developer needs to re-develop,debug and maintain,and the control system user must bear the production stagnation caused by equipment maintenance and replacement.Therefore,the single control system development mechanism cannot meet the practical needs of users and developers.In order to solve the above problems,this article discusses a design method for developing a PIC microcontroller with flexible configuration.The Flexible Configuration Developing System(FCDS)adopts a structured layered design,from top to bottom are the data interaction layer,compilation description layer,interpretation execution layer,and hardware isolation layer.This article elaborated the functions of each layer of FCDS and the design of key parts of the system.The two main functions of FCDS are flexible communication and flexible strategy.The function of flexible communication is to configure different communication devices of the controller remotely for the user and establish a communication connection,avoiding the code work inside the controller.The function of the flexible strategy is that the developer remotely controls the controller activities in a functional manner.The two complement each other.The flexible strategy compilation method designed in this paper combines the symbol table generated by strategy compilation and the symbol address table designed in this paper to complete the symbol resolution work and solve the problem of symbol reference.The flexible strategy modification method no longer uses the relocation type to distinguish,and directly uses the instruction recognition method to distinguish instructions and perform instruction modification.The final implementation of the flexible strategy depends on the controlled operating system scheduling.The establishment of flexible communication adopts the control command to drive the communication connection.FCDS has also designed a unified format for the transmission and upload of data frames,designed a hardware isolation layer to convert the internal operations of the controller into function interface calls,and designed a multi-series PIC microcontroller function library with compatibility to ensure the FCDS symbol address table Unity.The FCDS system completes the control activities of the controller by receiving the user's configuration and strategies in real time,extending the control range of the controller,lowering the threshold for controlling the use of various communication devices,and providing developers with changes to user needs Great convenience.Reduced maintenance costs and reduced workload.
Keywords/Search Tags:Flexibility, configuration, development, FCDS, strateg
PDF Full Text Request
Related items