Control of linear drive system using ECF