Abstract:With the development of commercial aerospace in recent years, space computer systems are increasingly using industrial-grade or even commercial-grade electronic components to complete the design, this design method brings many advantages but there is a serious problem: commercial chips cannot directly adapt to the space environment, component storage units are more and more affected by MBU(multiple bits upset), the traditional fault-tolerant methods cannot solve such problems. In order to solve the above shortcomings, a new algorithms of error correction code is proposed as a fault-tolerant method to solve the MBU problem in the space environment. The simulation and test results show that this method can meet the error correction requirements of adjacent 2 bits and 3 bits of the storage unit, the coding logic is concise and the codec time delay is low, which is suitable for engineering applications.