The aim of this project is to Design and implement an advanced Fetal Electrocardiogram (FECG) signal monitoring for both the mother and fetal analysis system using MATLAB and clean up the signal by setting some dynamic threshold. The FECG is a diagnostic tool that measures and records the electrical activity of the heart of the fetus during pregnancy. Here we use an LMS adaptive algorithm based upon FIR filter to separate fetal heart rate from maternal heart rate and to extract Fetal Electrocardiogram (FECG) from signals measured of the mother’s abdomen. The goal is to estimate the baby's heartbeat and calculate the period of the signal based on our predefined value. An adaptive noise canceller based fetal electrocardiogram extraction method is used and implemented. By using the system, could be deployed during the second trimester of pregnancy (around 20 weeks) and perhaps earlier, a woman would wear a wide belt around her abdomen fitted with several ECG electrodes. The data collected from those electrodes are then fed to a monitor and analyzed with the adaptive noise canceller algorithm, which in turn separates the different signals. We have used MATLAB because of its better performance.