| The multifunctional electrical parameter measuring instrument is a universal instrument with various functions,such as measuring voltage,current,resistance and source output.This instrument plays a very important role in power systems,as it provides accurate measurements of electrical parameters.In addition,multifunctional electrical parameter measurement instruments are also widely used in semiconductor testing,optoelectronic devices and transistor calibration,where they can be used to measure the electrical parameters of semiconductor devices and evaluate their performance and stability.To further extend the application scenario of the multifunctional electrical parameter measurement tool,while optimizing its intelligent interaction and remote-control functions to improve productivity,the software design of the multifunctional electrical parameter measurement tool is studied and analyzed in this chapter,which mainly includes four parts: instrument control logic,human-computer interaction,remote communication and measurement data processing:(1)Instrument control logic aspect.The software of the multifunctional electrical parameter measurement instrument can be divided into three hierarchical structures:controller level,device level and application level.Each level has its own responsibilities and they work together to achieve efficient operation of the system.In this structure,each level depends on the lower level and provides services to the higher level.This layered structure facilitates the maintenance and extension of the system and can improve code reusability and reliability.(2)Human-computer interaction aspects.The control design of the integrated board and the host computer software is designed to provide a more flexible and convenient way to operate the instrument.To allow users to better understand status information and instrument data,the system interface is divided into several areas and functions are integrated.This design approach allows the interface and functions to be updated and changed at any time according to the user’s needs.(3)Remote communication aspects.Regarding communication,the upper and lower computers support two types of communication,serial and network,to meet the needs of different users and optimize the operation of the equipment in different working scenarios.About data transmission,the lower computer queues the FIFO ring to transmit and receive the data collected from AD.The communication module of the upper computer is based on the MVP mode and uses multi-threading technology to form a mechanism for transmitting and receiving data in a double ring buffer queue to organize and manage data.(4)Measurement data processing aspects.It uses a weighted moving average filtering algorithm to process sample data,and considers the effect of filtering while maintaining dynamic responsiveness.The system also uses a segmented linear error correction algorithm to correct systematic errors and improve measurement accuracy.This method can effectively improve measurement accuracy and can be adapted to different measurement scenarios and conditions,which is very convenient and versatile.The thesis provides a detailed analysis of the software development process for a multifunctional electrical measuring instrument,as well as the testing and verification performed to ensure that all functions meet the design requirements for practical use. |