The results obtained at simulating the functioning of an adaptive sensor based on the Talbot effect are reported. The input grating period was varied depending on the examined wavefront shape and provided the constant observation plane corresponding to the Talbot plane for a plane wave. Using the spherical and astigmatic wavefronts as an example, it is shown that this method can make the sensor measurement range several times wider, by retaining the original angular sensitivity. K e y w o r d s: wavefront, Talbot effect, wavefront sensor.