A grating driving circuit, comprising: a plurality of grating control electrodes, with each configured to control on/off states of corresponding grating elements in a grating according to grating driving signals; a viewpoint tracker configured to determine viewing distance S of a viewer; a grating driving signal generator configured to generate a plurality of sets of grating driving signals, wherein each set of grating driving signal corresponds to a respective viewing distance S and comprising a plurality of grating driving signals; and a grating driving controller configured to select a set of grating driving signals from the plurality of sets of grating driving signals that corresponds to a determined viewing distance and corresponds to the number of grating driving signals by determining the number of grating control electrodes in a grating period corresponding to the determined viewing distance and the number of grating driving signals corresponding to the determined viewing distance according to the determined viewing distance, and configured to form grating periods corresponding to the determined viewing distance, wherein each of the grating periods includes a plurality of grating control electrodes that correspond to grating driving signals of the selected set of grating driving signals in a one-to-one relationship; characterized in that the grating driving circuit is designed to comprise a number A of adjusting distances, and the plurality of sets of grating driving signals are A sets of grating driving signals, with each set of grating driving signals corresponding to one of the adjusting distances, wherein A is an integer and greater than or equal to 2; wherein the grating driving controller is also configured to determine an overall grating width W through the following formula: W = 2 NP LS LS + PS 0, wherein 2N is a resolution of a 2D display screen in a horizontal direction, P is a pixel or sub-pixel width of the 2D display screen, L is an interpupillary distance of human eyes, S 0 is a predetermined optimal viewing distance, and a placement height of the grating is set according to the viewing distance S 0; wherein the grating driving controller is also configured to determine the grating period C through the following formula: C = W N = 2 P LS LS + PS 0 wherein the grating driving controller is also configured to determine the number M of grating control electrodes in each grating period and the number M of grating driving signals in the set of grating driving signals through the following formula: M = C w e, wherein W e is an electrode width. a plurality of grating control electrodes, with each configured to control on/off states of corresponding grating elements in a grating according to grating driving signals; a viewpoint tracker configured to determine viewing distance S of a viewer; a grating driving signal generator configured to generate a plurality of sets of grating driving signals, wherein each set of grating driving signal corresponds to a respective viewing distance S and comprising a plurality of grating driving signals; and a grating driving controller configured to select a set of grating driving signals from the plurality of sets of grating driving signals that corresponds to a determined viewing distance and corresponds to the number of grating driving signals by determining the number of grating control electrodes in a grating period corresponding to the determined viewing distance and the number of grating driving signals corresponding to the determined viewing distance according to the determined viewing distance, and configured to form grating periods corresponding to the determined viewing distance, wherein each of the grating periods includes a plurality of grating control electrodes that correspond to grating driving signals of the selected set of grating driving signals in a one-to-one relationship; characterized in that the grating driving circuit is designed to comprise a number A of adjusting distances, and the plurality of sets of grating driving signals are A sets of grating driving signals, with each set of grating driving signals corresponding to one of the adjusting distances, wherein A is an integer and greater than or equal to 2; wherein the grating driving controller is also configured to determine an overall grating width W through the following formula: W = 2 NP LS LS + PS 0, wherein 2N is a resolution of a 2D display screen in a horizontal direction, P is a pixel or sub-pixel width of the 2D display screen, L is an interpupillary distance of human eyes, S 0 is a predetermined optimal viewing distance, and a placement height of the grating is set according to the viewing distance S 0; wherein the grating driving controller is also configured to determine the grating period C through the following formula: C = W N = 2 P LS LS + PS 0 wherein the grating driving controller is also configured to determine the number M of grating control electrodes in each grating period and the number M of grating driving signals in the set of grating driving signals through the following formula: M = C w e, wherein W e is an electrode width.