An electromagnetic actuator (EMA) represents a heartening approach to take the place of an imitative mechanical actuator system in plenty of workable applications. However, it is unlikely to be functional without achieving a successful execution by designing an active positioning-controller which can stabilize the system rapidly. In this work, a new analytical algorithm for the electromagnetic actuator (EMA) system has been developed. The proposed algorithm aims to generate well-suited reference position, velocity, coil current, and coil voltage profiles that rely on the initial and final states. Firstly, the reference position and velocity are shaped by a series of exponential functions with time as the independent variable. Then, initial and steady-state position, velocity, and acceleration conditions are automatically satisfied to ensure the required reference coil current and voltage. Eventually, extensive initial actuator position dispersions are considered to perform the presented approach using the Monte-Carlo simulation method. The demonstrated results show that the suggested algorithm strategy can greatly stabilize the electromagnetic actuator with a fast response and less overshoot in the presence of wide initial position dispersions.