Skip to Main Content
In this paper, a new dc offset removal algorithm for real-time simulations is proposed. Physically transferred signals in a real-time simulation interface tend to contain a dc offset component for various reasons. This component decreases the accuracy and stability of real-time simulations. The dc offset tends to change according to circumstances which include changes in the system configuration and effects of the external environment which makes the static dc offset removal scheme inefficient. The proposed algorithm can estimate and remove a dc offset component dynamically from the input signal of the hardware under test. In the proposed algorithm, the optimal constant for the condition equation is calculated by using an iterative method and is used to estimate the frequency, time, magnitude, and dc offset component of the input signal. Four sampling points are used to calculate the optimal constant in each step. The proposed algorithm has relatively fast speed and good accuracy in comparison to conventional dc offset removal algorithms. In order to verify the performances of the proposed algorithm, offline and real-time dc offset estimation simulation tests were performed. The results of the simulation tests showed that the proposed algorithm can estimate the dc offset component promptly and exactly and can be applied to real-time simulations.