Font Size: a A A

Software Design And Implementation Of Remote Battery Charging And Discharging Device

Posted on:2022-03-09Degree:MasterType:Thesis
Country:ChinaCandidate:X DongFull Text:PDF
GTID:2492306566477674Subject:Master of Engineering
Abstract/Summary:PDF Full Text Request
At present,batteries are widely used in important places such as power and communication as energy storage devices.The normal operation of batteries will directly affect the safety and stability of power system.In order to maintain the performance of batteries and prolong their service life,it is necessary to regularly check the charge and discharge maintenance of batteries.However,it takes a long time and effort to discharge the battery completely.To solve this problem,this paper puts forward a software design scheme of remote battery charging and discharging.In this paper,STM32 is used as the main control chip.And Keil is used to compile the main program,current and voltage acquisition program and serial communication program.At the same time,it uses PID algorithm to complete the constant current discharge of the battery based on the study of digital PID control.And the information interaction with the PC end of the computer room is completed through RS232.A database based on Sybase is designed to store the related data of battery charging and discharging.At the same time,the lightweight expressive state transition style architecture is deeply studied.And the RESTful service interface which conforms to the communication between the State Grid Communication Management System and the computer in machine room is designed.It uses JSON format to transmit data to reduce resource occupation,and Nginx reverse proxy server is added to improve communication security.Finally,the MCU control program designed in this paper is coordinated with the hardware circuit.The experimental results show that it can realize the real-time collection function of battery voltage,bus voltage,AC voltage and discharge current,control the battery constant current discharge.It can send the collected information to the upper computer through the serial port,and the computer can also send commands to control the start and end of discharge.The middleware and foreground acquisition unit are configured,and the battery information is queried by inputting URI through the browser,so as to realize the remote communication between the communication management system of State Grid and the battery charging and discharging device.
Keywords/Search Tags:Battery, STM32, PID, REST
PDF Full Text Request
Related items