Design and modeling of an analog to digital converter using FPGA board