The invention relates to a reaction
flywheel control method based on a 422 communication protocol. The reaction
flywheel control method comprises the steps that S11, an MOXA card is adopted as a
communication interface between an upper computer and a reaction
flywheel; s12, the MOXA card is connected with a flywheel controller through a shielded
twisted pair; s21, the upper computer runs
LabVIEW software, a special telemetering instruction analysis module is embedded, received 8-
byte or 32-
byte data frames are analyzed in real time, and flywheel rotating speed, torque and current parameters are extracted; s22, the upper computer sends an 8-
byte control instruction, and the flywheel returns a response frame containing real-
time data; s31, a control interface is developed based on LabVIEW, instruction coding and sending functions are achieved,
data analysis and display functions are achieved, and a real-time monitoring function is achieved; s41, the upper computer sends an equipment ID
verification instruction to confirm that the flywheel is online; s42, the running state of the flywheel is adjusted through the
instruction code; and S43, periodically sending a D9 instruction to obtain real-
time data, and updating and displaying the LabVIEW interface and storing historical data.