Deformable mirror (DM) is a main device in adaptive optical systems, which is widely used in wavefront correction of human eye. Micromachined membrane deformable mirror (MMDM)and piezoelectric deformable mirror (PDM) are two types of DM, and they perform differently in adaptive optical system because of their different structure. In this article, a 59-channel MMDM and a 37-channel PDM are compared. Zernike generations of common aberrations (including astigmatism, coma, trefoil and spherical aberration) are observed in a close-loop system. It shows that the results are more effective when the target value is smaller.