Design of AC power parameter wireless monitoring system based on FreeRTOS and FatFs
A design scheme for a wireless monitoring system for AC power parameters based on FreeRTOS and FatFs is introduced to address the issue of electrical parameter monitoring in smart grids.The electrical parameters that the system can monitor include voltage RMS,current RMS,power,and power factor.During the design process,the FreeRTOS operating system was ported to enable multitasking.By porting the FatFs file system,historical data is written into the SD card memory,which improves the convenience of data reading and transfer.At the same time,ESP8266 is used to obtain network time,providing time parameters for the storage of historical data.The system wirelessly connects to the computer through a WiFi module and can also transmit data to the computer in real-time.The computer can use a network debugging assistant to send specified messages to control the relay in the system and regulate the circuit.In the experimental operation,the system achieved the expected functions,with no errors or warnings in the program,and has certain practical application significance.