Based on the free charge transfer model the expression of the charge transfer efficiency in CCD is obtained, and the software for improving the Charge Transfer Efficiency in CCD is programmed. A direction is provided for optimizing the charge transfer efficiency based on the analysis of simulation results.