Abstract:An advanced control algorithm is studied on Matlab, and the algorithm program can be deployed into DCS by the Matlab RTW and soft PLC technology. Fisrtly, the Matlab advanced algorithm would be applied to control the plant by OPC, and debug plant object repeatedly until obtain the best control algorithm. Secondly, the embedded C++ code of control algorithm can be generated by use of RTW, and the algorithm program corresponding to the C++ code can be integrated into DCS to run independently by using soft PLC programming. Based on this technology introduced a fuzzy control algorithm and also applied to dual water tank control loop. Good control performance was obtained, and the cycle of the development and debugging of control algorithm is greatly shorten. The results show that a powerful solution can be provided for the practical application in DCS of the advanced control algorithm.