This article proposes an enhanced proportional topology optimization (EPTO) method to solve the structural topology optimization problem of minimizing compliance under material volume constraints. In the proposed method, a new filtering weight function based on the improved Heaviside threshold function is adopted to filter element density during the optimization process. The optimization process of the EPTO method consists of an inner loop and an outer loop. In the inner loop, density distribution is modified in combination with a new filtering weight function. By locally averaging the weighted element compliance, an improved density distribution function in the inner loop is put forward to make the topology configuration of the optimized structure more reasonable. In addition, the projection method is used to reduce the number of intermediate density elements, thereby obtaining optimization results with clear boundaries. In the outer loop, a new termination criterion is adopted, which terminates the optimization process by determining that the relative error of the objective function in several consecutive iterations is less than the specified value. The effectiveness and efficiency of the proposed method are demonstrated through several numerical examples involving two-dimensional (2D) and three-dimensional (3D) topology optimization problems. The results of numerical examples show that the proposed method can not only accelerate the convergence of optimization iterations, but also obtain optimized structures with smaller objective function values and better topology configurations. HIGHLIGHTS A new density filtering weight function is proposed based on an improved Heaviside threshold function. An improved inner loop density distribution formula is proposed by combining a new filtering weight function. Using projection based methods to suppress the appearance of intermediate density elements. Verify the effectiveness of the proposed algorithm by comparing the optimization results with existing algorithms such as top88 and PTO.