## Abstract

Phase gradient metagratings (PGMs) have provided unprecedented opportunities for wavefront manipulation. However, this approach suffers from fundamental limits on conversion efficiency; in some cases, higher order diffraction caused by the periodicity can be observed distinctly, while the working mechanism still is not fully understood, especially in refractive-type metagratings. Here we show, analytically and experimentally, a refractive-type metagrating which can enable anomalous reflection and refraction with almost unity efficiency over a wide incident range. A simple physical picture is presented to reveal the underlying diffraction mechanism. Interestingly, it is found that the anomalous transmission and reflection through higher order diffraction can be completely reversed by changing the integer parity of the PGM design, and such phenomenon is very robust. Two refractive acoustic metagratings are designed and fabricated based on this principle and the experimental results verify the theory.

### Similar content being viewed by others

## Introduction

The ability to control at will the propagation of waves, such as electromagnetic waves and acoustic waves, has captured the fascination of scientists. In the past few years, as the 2D version of bulk metamaterials, metasurfaces have provided new paradigms to build devices that direct the flow of waves in a way not possible before^{1,2,3,4}, and have enabled new physics^{5,6,7,8,9} that are distinctly different from those observed in their 3D counterparts (i.e., metamaterials). Typical examples, include planar lenses^{5}, holograms^{6}, ultrathin cloaking^{7} in electromagnetics, and other devices in acoustics^{10,11}. By engineering phase shift *ϕ*(*x*) along metasurfaces, the scattered wavefronts can be manipulated to achieve anomalous reflection or refraction^{12,13,14,15,16}, which is summarized as the generalized Snell’s law (GSL)^{12},

where \(k_x^{in}\) and \(k_x^{r(t)}\) are tangential wave vectors of incident and reflected (transmitted) wave. For the 2D case, *ξ* = ∂*ϕ*(*x*)/∂*x* describes the phase gradient along the metasurface. In acoustics, similar wavefront manipulation has been demonstrated using structured phase arrays^{17,18,19,20,21,22}. However, recently some studies^{23,24} have shown that this kind of phase gradient metasurface is inherently limited in conversion efficiency for wavefront manipulation, due to impedance mismatch at boundaries. Even for an ideal phase gradient metasurface with infinite resolutions (i.e., *m* → ∞, where *m* is the number of unit cells in a superlattice; see below), such a limitation is still present.

A few solutions^{23,24,25} were proposed to successively overcome this inherent limitation to achieve the scattering-free manipulation of anomalous reflected and refracted waves, but the designed metasurfaces require active elements or strong nonlocality, posing challenges for practical implementations^{26,27}. To realize extremely anomalous transmission/reflection with perfect efficiency in a passive and lossless structure, bianisotropic metasurfaces^{28,29,30} were proposed and experimentally demonstrated in both electromagnetic and acoustic waves. Alternatively, metagratings^{31}, periodic structures with a supercell comprising of several subscatters, were suggested to deliver the output wavefront into the desired direction with unity efficiency. However, this method solely works for a specific incidence angle, as the design of the metastructure is well defined for a specific angle. By electrostatically biasing graphene sheets, reconfigurable metagratings^{32} can extend the incidence to several discrete angles, but the structures are complex and the working angle is still limited. Therefore, how to realize high-efficient anomalous reflection or/and anomalous refraction, that can cover a wide incidence in a passive structure, is still an open question.

Essentially, phase gradient metasurfaces are periodic structures with a supercell spatially repeated along the interface, because of folded phase profile^{33}. In this way, the GSL is insufficient to determine completely the directions of anomalous reflected or/and refracted waves, in particular for incident angle beyond the so-called critical angle predicted by the GSL. Instead, it is replaced by another formula involving superlattices^{16,19}

where *G* = 2*π*/*p* is the reciprocal lattice vector, and *p* is period. Both *ξ* and *G* commonly share the identical magnitude, yet with different physical origin; the former is introduced by the phase gradient, whereas the latter is caused by the periodicity of grating. Eq. (2) can not only steer a wavefront as expected from the GSL, but can also exhibit other unique features. In fact, in a large number of aforementioned phase gradient metasurfaces, particularly in acoustic metasurfaces^{17,18,19,20,21,22,34,35,36,37,38}, anomalous reflection or refraction with high-efficiency were obtained through higher order diffraction. For convenience, in this work we call all periodic structures with phase gradient as phase gradient metagratings (PGMs). Normally, there are several diffraction channels simultaneously open for a particular incidence and these propagation channels are available for incident wave to depart from PGM. The diffraction mechanism therein is complex and ambiguous, especially in more complicated refractive-type PGMs, since the refractive and reflective diffraction channels are concurrently included. Eq. (2) fails to predict the primary diffraction order of the scattering waves. For instance, for incident angle beyond the critical angle (the *n* = 1 order in Eq. (2)), multiple diffraction channels coexist, and only negative refraction stemming from the *n* = −3 order in Eq. (2) was observed in experiments^{19}. The underlying mechanism is still a puzzle.

In this article, we will investigate theoretically and experimentally a passive and lossless refractive-type PGM, and we will show that the designed PGM can enable anomalous reflection and refraction with near unity conversion efficiencies over a wide angle of incidence. Recently, based on loss-induced suppression of higher order diffraction, acoustic asymmetric transmission^{39} was demonstrated in the lossy PGMs. Transient simulations revealed that multiple reflections (MRs) are responsible for the energy-loss of higher order diffraction^{39}, which offered a new insight to explore the uncharted diffraction rule. Starting from the MR effect^{39,40}, we will reveal the diffraction mechanism of PGMs. It is found that the diffraction order is relevant to the propagation number of MRs (i.e., the number of times the wave travels inside the PGM) and the number of unit cells *m* of the PGMs. In particular, the transmission and reflection amplitudes of a particular diffraction order are determined by the integer parity of the propagation number. Consequently, the control of transmission and reflection of the diffraction order can be realized by controlling the integer parity, i.e., oddness or evenness (and hereafter referred to simply as parity), of the number of unit cells in the PGMs. Further explorations show that such parity-dependent phenomena are very robust for any *m*, implying that the diffraction law in Eq. (2) should be carefully refined according to the integer parity of *m*. Based on the demonstrated diffraction mechanism, we derive here a new set of formulas that can well explain the complicated diffraction phenomena of our studied PGMs, and can fully predict the parity-dependent perfect anomalous reflection and refraction. The puzzling diffraction phenomena in previous work can also be well understood from our diffraction rule. The experimentally measured results of acoustic waves verify our findings.

## Results

### Models and theory

To demonstrate our idea, let us start from the metagrating structure shown in Fig. 1a, where the PGM is composed of periodically repeated supercells with lengths of *p*. It should be noted that although this study focuses on acoustic waves, the achieved results are also applicable to the electromagnetic analogs^{16}. The whole system is immersed in a background medium of air with density of *ρ*_{0} = 1.21 kg m^{−3} and speed of sound *c*_{0} = 343 ms^{−1}. Figure 1b shows the details of the supercell, which includes *m* unit cells with widths of *a* (=*p*/*m*), and each unit cell is made of sound-hard material (gray area) perforated by a slit (blue area) with a width of *w*. The thickness of the metagrating is *h*. To steer the outgoing wave, the transmitted phase across a supercell covers a complete range of 2*π*, with a phase gradient of *ξ*. To begin with, we consider effective medium filled in the subwavelength slits. The effective medium is characterized by different effective refractive indices, and the index profile in the *j*th unit cell is given as *n*_{j} = 1 + (*j* − 1)*λ*_{0}/*mh*. For obtaining a specific phase gradient, the period length is set to be constant, and the width of unit cell is determined by the number of unit cells in a supercell. We consider incident wave from air with \(k_x^{in} = k_0\sin \theta _{in}\), where *k*_{0} = 2*π*/*λ*_{0} is wave vector in air and *θ*_{in} is the incident angle. The reflected and transmitted waves obey the diffraction law of Eq. (2), with the maximum diffraction order (*N*, a negative integer) given as, *N* = roundup [−2*k*_{0}/*G*] + 1. Regardless of the direction of the incident wave, i.e., \(k_x^{in} \in \left[ { - k_0,\;k_0} \right]\), the existing diffraction orders of the reflected and transmitted waves belong to *n* ∈ [*N*, 1].

### Diffraction mechanism of PGM

We first provide an intuitive physical picture to reveal the diffraction mechanism. Owing to the sound-hard materials of a PGM (gray area in Fig. 1b), these unit cells could be regarded as acoustic waveguides. The sound-hard material is thick enough to avoid wave coupling between adjacent unit cells. When the width of unit cell is much smaller than the working wavelength (i.e., *a* ≪ *λ*_{0}), only fundamental mode can be supported inside these unit cells. The forward and backward waves propagating in the unit cells interfere to form standing waves stemming from the MR effect of incident rays in the PGM (see the yellow arrows in Fig. 1c). For simplicity, we define the number of times the waves pass through the medium as *L*. When incident rays pass directly through the PGM, i.e., *L* = 1 (see the solid yellow arrows), the phase shift in the *j*th unit cell is *ϕ*_{j} = *k*_{0}*n*_{j}*h* and the phase difference of adjacent unit cells per period is Δ*ϕ* = *ϕ*_{j+1} − *ϕ*_{j} = 2*π*/*m*. By analyzing Eq. (2), the phase gradient of the *n*th diffraction order could be equivalent to *ξ* = *nG*, accordingly, the phase difference of two adjacent unit cells is expressed as Δ*φ*_{n} = *aξ* = 2*πn*/*m*. For one-pass propagation, the lowest order *n* = 1 is satisfied for Δ*ϕ* = Δ*φ*_{1}, therefore Eq. (2) can be expressed as

which is well-known as GSL. In such a case, the incident wave with \(k_x^{in} \in \left[ { - k_0,\;k_0 - \xi } \right]\) will follow GSL (the *n* = 1 order), with *k*_{x} = *k*_{0} − *ξ* being the critical momentum. When the incident angle is beyond the critical angle (\(k_x^{in} \in \left[ {k_0 - \xi ,\;k_0} \right]\)), the channel of the *n* = 1 order will close, and normally the incident wave cannot pass through the PGM via direct transmission. Thereupon, waves will undergo another propagation process (*L* = 2) via internal reflection at the transmitted interface (see the dashed yellow arrows), leading to a phase shift of 2*ϕ*_{j} and a phase difference of Δ*ϕ* = 2 × (2*π*/*m*) at the reflected interface. As the remaining diffraction orders are *n* ∈ [*N*, 0], so Δ*φ*_{n} = 2*πn*/*m* ≤ 0. Therefore, it seems that waves cannot couple to these diffraction orders by means of Δ*ϕ* = Δ*φ*_{n}. However, when a phase wrap of 2*π* is applied to Δ*ϕ*, i.e., Δ*ϕ* − 2*π* (2*π* phase wrap is enough for wave to couple to higher-order (*N*) in a PGM with unit cells supporting fundamental waveguide modes), the phase difference becomes equivalent. Therefore, when Δ*ϕ* − 2*π* = Δ*φ*_{n}, the reflected wave with the *n*-diffraction order will occur (see the red arrows in Fig. 1c); if not, the third time propagation process (*L* = 3) will emerge in unit cells via internal reflection at the reflected interface (see Fig. 1d). When rays reach the transmitted interface, the phase difference is Δ*ϕ* = 3 × (2*π*/*m*). Similarly, if it can meet Δ*ϕ* − 2*π* = Δ*φ*_{n}, there will be a transmitted wave of the *n*-diffraction order, otherwise the fourth time propagation (*L* = 4) will happen and so forth (See Fig. 1d).

Generally, if we consider the oscillating wave inside a PGM coupling to the *n*-diffraction order via *L-*time propagation process in unit cells, the corresponding relation can be expressed as 2*πL*/*m* − 2*π* = 2*πn*/*m*, i.e.

As *L* > 0 and the maximum diffraction order is *N*, the number of unit cells is required to meet *m* ≥ 1 − *N*. When *L* is odd, the incident wave will couple to the corresponding transmitted wave of the higher orders; whereas when *L* is even, it will couple to the corresponding reflected wave of the higher orders. Consequently, by combining Eqs. (2) and (4), the diffraction law in a PGM is summarized as

Using Eqs. (3)–(5), the diffraction phenomena in a PGM can be predicted. For the incident wave below the critical angle, the propagation number is *L* = 1, the incident wave will couple to the transmitted wave of the lowest order *n* = 1, which is independent of *m*. For the incident wave beyond the critical angle, MRs happen inside the PGM in turn (i.e., *L* = 1 → 2 → 3...) and resonance transmission or reflection can be induced when the path length due to MRs reaches the Fabry–Perot condition. If the wave travels through the slab an odd (even) propagation number, strong transmission (reflection) can be generated, with the diffraction order determined by Eq. (5) (see Fig. 1d). Although several diffraction orders are open for the incident wave, the maximum diffraction order is preferential owing to minimum propagation number that corresponds to minimum geometric path length. Furthermore, if one designs a PGM with odd and even unit cells, caused by the parity transition of the propagation number, the transmission and reflection of the diffraction order can be reversed.

### Analytical and numerical demonstration

Although the above revealed diffraction mechanism and associated diffraction rule are very simple, they are indeed powerful for making complex diffraction phenomena clear. Without loss of generality, we take PGMs with *ξ* = *k*_{0} to verify this point, in which the maximum diffraction order is *N* = −1 and the critical angle of is *θ*_{1} = 0°. When *θ*_{in} < *θ*_{1}, the propagation number is *L* = 1, it is mainly the transmitted wave following GSL (the *n* = 1 order). While for *θ*_{in} > *θ*_{1}, there are two diffraction orders, i.e., the *n* = 0 order and the *n* = −1 order. As we have discussed in Fig. 1d, the higher diffraction order is preferential owing to the minimum propagation number. Hence, for *θ*_{in} > *θ*_{1}, the effective diffraction order is the *n* = −1 order and the corresponding propagation number of PGM with *m* unit cells is *L* = *m* − 1. Based on Eqs. (4) and (5), when *m* is odd, e.g., *m* = 3, the propagation number *L* is even, which leads to the reflection of the *n* = −1 order (see the equifrequency contour in Fig. 2a). On the other hand, when *m* is even, e.g., *m* = 4, the propagation number *L* is odd, which results in the transmission of the *n* = −1 order (see the equi-frequency contour in Fig. 2b). To demonstrate above theoretical prediction, numerical simulations are performed using COMSOL MULTIPHYSICS. The simulated field patterns of the PGMs with three and four unit cells are respectively displayed in Fig. 2c, d, where these two metagratings share identical phase gradient, since the period length is constant, i.e., *p* = *λ*_{0}. When *θ*_{in} = −30°, which is below the critical angle, the incident waves in both cases pass through the PGMs following the *n* = 1 order (see the lower plots of Fig. 2c, d). However, when *θ*_{in} = 30°, beyond the critical angle, the incident wave is reflected back for the PGM with *m* = 3 (see the upper plot in Fig. 2c), and passes through the PGM with *m* = 4 (see the upper plot in Fig. 2d). In both cases, the scattered waves follow the *n* = −1 diffraction order with nearly perfect conversion efficiency (see the arrows in Fig. 2). Therefore, the theoretical prediction based on Eqs. (4) and (5) is well demonstrated from numerically simulated acoustic field patterns. In addition, by observing the equicontour in Fig. 2a, when the incident angle is within the critical angle, the anomalous transmission can occur by following \(k_x^t = k_x{\mathrm{ + }}\xi\). While for the incident angle beyond the critical angle, the PGM will generate an equivalent tangential momentum of −*ξ*, the anomalous reflection will take place by obeying \(k_x^r = k_x - \xi\). Hence, bounded by the critical angle, the anomalous reflection and transmission can simultaneously exist in a single PGM, which enables potential design for multifunctional acoustic planar devices.

In fact, the reflection (transmission) of the *n* = −1 order for the PGM with *m* = 3 (*m* = 4) not only happens at *θ*_{in} = 30°, but occurs in a wider incident range, which can be observed from the equi-contours in Fig. 2. To quantify angular performance of the PGMs, we analytically and numerically show the relationship between the transmission/reflection of the diffraction orders and the incident angle in Fig. 3, where the analytical results are described by the curves and the numerical results are indicated by the symbols. The analytical results are obtained based on the coupled mode theory^{18,39} (details shown in Supplementary Note 1), which agree well with numerical results except for very steep incident angles. For the case of the PGM with *m* = 3 (see Fig. 3a, b), more than 90% transmission of the *n* = 1 order is observed for *θ*_{in} ∈ [−60°, 0°] and the reflection of the *n* = −1 order is higher than 90% for *θ*_{in} ∈ [0°, 60°]. In addition, for the normal incidence, that is, at the critical angle, there is an odd propagation number of *L* = 3 for the *n* = 0 order, bringing about higher transmission of the *n* = 0 order (see the black data in Fig. 3a). For the case of the PGM with *m* = 4 (see Fig. 3c, d), similar behavior is observed for *θ*_{in} ∈ [−60°, 0°]. For angles above the critical angle (*θ*_{in} ∈ [0°, 60°]), however, the reflection mode is reversed to transmission mode due to integer parity of the cell number. Furthermore, it is an even propagation number of *L* = 4 for the *n* = 0 order, therefore there is higher reflection of the *n* = 0 order at the critical angle (see the black data in Fig. 3d), which is opposite with that in Fig. 3a. For the incident angle near ±90°, owing to intrinsic limitation of PGMs^{29,30}, the coupling efficiency between incident wave and the *n* = 1/*n* = −1 order is extremely low and stronger specular reflection appears (see black data in Fig. 3b, d). In addition, to further demonstrate Eqs. (4) and (5), as a more complicated case, PGMs with *ξ* = 0.6*k*_{0} are used to reveal similar reversal phenomena of the diffraction orders, shown in Supplementary Figs. 1 and 2, and Supplementary Note 2.

### Design of PGMs and experimental verifications

To further confirm the diffraction behavior of the PGMs (*ξ* = *k*_{0}) with odd/even number of unit cells, we utilize zigzag microstructures to design two groups of PGMs at 4.0 kHz: one is a PGM with three unit cells and the other has four unit cells. In each case, the transmissions of these designed unit cells are nearly unity and the phase differences between two adjacent cells are Δ*ϕ* = *ϕ*_{j+1} − *ϕ*_{j} = 2*π*/*m* (*m* = 3 and 4). The Supplementary Figs. 3 and 5, and Supplementary Notes 3 and 4 show the physical dimensions of the final designs and design details. The fabricated samples of the two PGMs are shown in Fig. 4a, where one period of the PGM with *m* = 3 (*m* = 4) is highlighted by the red (blue) box (see the inset). The experimental setup is shown in Fig. 4b. For the designed PGM with *m* = 3, we numerically show the corresponding relationship between the transmission/reflection of the main diffraction orders (*T*_{1}, *T*_{0} and *R*_{−1}) and the incident angle in Fig. 4c, where the transmission/reflection agrees well with that in the ideal case of Fig. 3. In the experiments, to measure the angular performance of the designed PGMs, the Gaussian beam from the speaker array is incident from *θ*_{in} = −60° to *θ*_{in} = 60° with a step of 15°, and the measured results denoted by the stars are also displayed in Fig. 4c. While the measured result has some deviation in amplitude from the numerical result, the variation tendency of the curves agrees well with each other. Indeed, anomalous reflection and transmission can simultaneously exist in such a single PGM. To clearly show the reflection performance of the PGM with *m* = 3, the simulated scattered field, including reflected field and transmitted field of incident beam with *θ*_{in} = 30° (for other angles, see Supplementary Fig. 4) is shown in Fig. 4d, where a strong reflected wave towards the opposite direction with the incident wave is seen and the transmitted wave is much weaker. The experimentally measured scattered field shows the identical result (see Fig. 4e).

For the designed PGM with *m* = 4, the corresponding relationship between the transmission/reflection of the main diffraction orders (*T*_{1}, *T*_{−1}, and *R*_{0}) and the incident angle is shown in Fig. 4f, with transmission/reflection agreeing well with prediction (Fig. 3). The corresponding measured result is displayed in Fig. 4f, where there are some small discrepancies between the numerical and measured results, but the overall trend in both cases is consistent. In addition, the field patterns of simulated and measured scattered waves for *θ*_{in} = 30° (for other angles, see Supplementary Fig. 6) are respectively shown in Fig. 4g, h, where both results reveal that strong transmitted waves appear and reflected waves are considerably weaker. Therefore, the parity design of the PGMs can effectively manipulate the switching of reflection and transmission of the higher order diffraction, enabling more flexibility in the design of acoustic planar devices.

### Robust feature of parity-dependent transmission and reflection

We would also like to point out that the phenomenon of anomalous reflection and refraction in the PGMs with parity design is very robust, depending only on the parity of the number *m* of unit cells. The reversal phenomenon could be observed in a PGM with parity design, even with large *m*, as long as the wave coupling between adjacent unit cells is negligible. To demonstrate this robust feature, we consider a specific case of a PGM with *ξ* > *k*_{0} as an example, and analyze the behavior at normal incidence. In this way, only the transmission and reflection of the *n* = 0 order^{41} need to be taken into consideration. After some mathematical derivations (see Supplementary Note 5), the corresponding transmission and reflection coefficients for the *n* = 0 order are respectively given as

where \(\zeta _1 = \left( {\tilde g - 1} \right)\mathop {\sum}\nolimits_{j = 1}^m {1/\left( {u_j^2 - 1} \right)}\), \(\zeta _2 = \left( {1 - \tilde g} \right)\mathop {\sum}\nolimits_{j = 1}^m {u_j/\left( {u_j^2 - 1} \right)}\), \(\tilde g_1 = 2g_1^2/\left( {g_1^2 - \gamma _1} \right)\),\(g_1 = {\mathrm{sin}}c(Gw/2)\) and \(u_j = \exp (i\phi _j)\) is phase shift in the *j*th unit cell in *u*-complex plane. From Eq. (6), we know that the reflection and transmission are only determined by two factors: (i) the coefficient \(\tilde g_1\), which is related to the geometry structure of a PGM and is a constant for a fixed configuration. (ii) the sums of \(Y_1 = \mathop {\sum}\nolimits_{j = 1}^m {1/\left( {u_j^2 - 1} \right)}\) and \(Y_2 = \mathop {\sum}\nolimits_{j = 1}^m {u_j/(u_j^2 - 1)}\), which are highly dependent on the phase distribution *ϕ*_{j} in *u*-complex plane. When *m* is odd, the phase distribution of *ϕ*_{j} is asymmetric (see Fig. 5a), which results in |*Y*_{1}| = |*Y*_{2}|. When *m* is even, the phase distribution of *ϕ*_{j} is symmetric (see Fig. 5b), and *Y*_{2} = 0. The detailed mathematical derivation is shown in Supplementary Note 5. With these results, Eq. (6) becomes

where \(\varphi _T = \arg(\zeta _1) + \arg(\zeta _2)\) and \(\varphi _R = 2\arg(\zeta _1)\), giving rise to a perfect transmission for odd *m* and a perfect reflection for even *m*. The results are consistent with these from the theoretical prediction summarized in Eqs. (4) and (5). Based on the generalized theoretical formulas in Eqs. (S11)–(S14), Fig. 5c, d displays the results of \(R = \mathop {\sum}\nolimits_n {\left| {r_n(m)} \right|}\) and \(T = \mathop {\sum}\nolimits_n {\left| {t_n(m)} \right|}\) with *n* = 0, respectively, which agree well with the approximate results of Eqs. (7) and (8). Therefore, it is analytically confirmed that even for larger *m*, the reversal phenomenon of almost perfect transmission and reflection is preserved, implying the parity-dependent feature is quite robust.

## Discussion

In conclusion, through a combination of analytical calculations and numerical simulations, we have revealed the governing diffraction mechanism of PGMs from the perspective of MRs. We find that the integer parity of the PGMs plays a pivotal role in the higher order diffraction for incident waves beyond the critical angle. To be more precise, the parity transition in the designed unit cells of a PGM enables the relevant odd/even transition of propagation number in the unit cells, which induces the reversal of transmission and reflection for a particular diffraction order. To demonstrate our findings, two acoustic PGMs (*ξ* = *k*_{0}) with three and four unit cells are designed using zigzag microstructures, and the reversal phenomenon of higher order diffraction is clearly demonstrated in experiments. In particular, the coexistence of anomalous reflection and anomalous transmission, depending on a critical angle, is achieved in a single PGM with an odd number of unit cells. Compared with previous works in both acoustic waves and electromagnetic waves, the diffraction mechanism proposed here can comprehensively explain almost all the known diffraction behaviors in the metagratings with phase gradient. While our system is designed to work at a specific frequency, the parity-dependent behavior can be observed in a certain bandwidth as the phase gradient along the metagrating is preserved, leading to some tolerances in the frequency response (see Supplementary Fig. 7 and Supplementary Note 6). In addition, if a larger *m*-integer is designed for the lossy metagratings, the higher diffraction orders will undergo more round-trips, along with more absorption^{40}. As a result, the parity-dependent scattering behavior of the higher diffraction orders will gradually disappear as “*m*” increases. We believe that our proposed diffraction mechanism can become a new paradigm for the design of acoustic/electromagnetic PGMs and open up new wave manipulation capabilities based on the versatile platform that can offer. For instance, due to achieved anomalous refraction and reflection, our work enables more systematic design of functional planar devices, such as asymmetric and wide-angle absorbers^{39,40}, multifunctional metagratings^{42}, omnidirectional reflector^{43,44,45}. Alternatively, inspired by the phenomenon that an incident wave can be totally transmitted or reflected by a disordered slab^{46,47,48}, one can design a metagrating of disorder with a properly designed combinations of integer m, which might enable some new effects associated with disorder-induced transition.

## Methods

### Numerical simulations

The full wave simulations are performed using COMSOL Multiphysics Pressure Acoustics module. In Fig. 2, the plane wave is incident on the PGM consisting of two supercells, the upper and lower walls are set as periodic boundary conditions and perfectly matched layers (PMLs) are used in the left and right sides to reduce the reflection. In Fig. 4, a spatially modulated Gaussian wave is incident on the designed PGM with 20 supercells, and the surrounding regions are PMLs. The normalized transmission and reflection efficiencies of the diffraction orders are numerically obtained from the port analysis of COMSOL RF module, where the acoustic profiles are replaced by their optical analogs.

### Experimental apparatus

The samples were fabricated with fused deposition modeling in three dimensional printing and the printed material is acrylonitrile butadiene styrene plastic with density of 1180 kg m^{−3} and speed of sound 2700 ms^{−1}. As the characteristic impedance of the plastic is much larger than that of air, the walls can be considered as acoustically rigid. The fabricated PGM consists of ten supercells and is placed in a two-dimensional waveguide for the measurement. A loudspeaker array with 28 speakers emits a Gaussian modulated beam to the PGM and the reflected and transmitted field is scanned using a moving microphone with a step of 2.0 cm. The acoustic field at each spot is then calculated using Fourier Transform. The overall scanned area is 90 cm by 30 cm and the signal at each position is averaged out of four measurements to reduce noise. The transmission/reflection efficient is calculated by performing Fourier Transform along a line right behind/in front of the PGM.

## Data availability

The data that support the findings of this study are available from the corresponding author upon reasonable request.

## Code availability

The code used for the analyses will be made available upon e-mail request to the corresponding author.

## References

Kildishev, A. V., Boltasseva, A. & Shalaev, V. M. Planar photonics with metasurfaces.

*Science***339**, 1232009 (2013).Yu, N. & Capasso, F. Flat optics with designer metasurfaces.

*Nat. Mater.***13**, 139–150 (2014).Minovich, A. E. et al. Functional and nonlinear optical metasurfaces.

*Laser Photon. Rev.***9**, 195–213 (2015).Xu, Y., Fu, Y. & Chen, H. Planar gradient metamaterials.

*Nat. Rev. Mater.***1**, 16067 (2016).Ni, X., Ishii, S., Kildishev, A. V. & Shalaev, V. M. Ultra-thin, planar, babinet-inverted plasmonic metalenses.

*Light Sci. Appl.***2**, e72 (2013).Genevet, P., Lin, J., Kats, M. A. & Capasso, F. Holographic detection of the orbital angular momentum of light with plasmonic photodiodes.

*Nat. Commun.***3**, 1278 (2012).Ni, X., Wong, Z., Mrejen, M., Wang, Y. & Zhang, X. An ultrathin invisibility skin cloak for visible light.

*Science***349**, 1310–1314 (2015).Yin, X., Ye, Z., Rho, J., Wang, Y. & Zhang, X. Photonic spin hall effect at metasurfaces.

*Science***339**, 1405–1407 (2013).Cui, T. J. et al. Coding metamaterials, digital metamaterials and programmable metamaterials.

*Light Sci. Appl.***3**, e218 (2014).Cummer, S. A., Christensen, J. & Alù, A. Controlling sound with acoustic metamaterials.

*Nat. Rev. Mater.***1**, 16001 (2016).Ma, G. & Sheng, P. Acoustic metamaterials: from local resonances to broad horizons.

*Sci. Adv.***2**, e1501595 (2016).Yu, N. et al. Light propagation with phase discontinuities: generalized laws of reflection and refraction.

*Science***334**, 333–337 (2011).Sun, S. et al. Gradient-index metasurfaces as a bridge linking propagating waves and surface waves.

*Nat. Mater.***11**, 426–431 (2012).Sun, S. et al. High-efficiency broadband anomalous reflection by gradient meta-surfaces.

*Nano Lett.***12**, 6223–6229 (2012).Kang, M., Feng, T., Wang, H. T. & Li, J. Wave front engineering from an array of thin aperture antennas.

*Opt. Express***20**, 15882–15890 (2012).Xu, Y., Fu, Y. & Chen, H. Steering light by a subwavelength metallic grating from transformation optics.

*Sci. Rep.***5**, 12219 (2015).Li, Y., Liang, B., Gu, Z., Zou, X. & Cheng, J. Reflected wavefront manipulation based on ultrathin planar acoustic metasurfaces.

*Sci. Rep.***3**, 2546 (2013).Mei, J. & Wu, Y. Controllable transmission and total reflection through an impedance-matched acoustic metasurface.

*New J. Phys.***16**, 123007 (2014).Xie, Y. et al. Wavefront modulation and subwavelength diffractive acoustics with an acoustic metasurface.

*Nat. Commun.***5**, 5553 (2014).Li, Y. et al. Experimental realization of full control of reflected waves with subwavelength acoustic metasurfaces.

*Phys. Rev. Appl.***2**, 064002 (2014).Tang, K. et al. Anomalous refraction of airborne sound through ultrathin metasurfaces.

*Sci. Rep.***4**, 6517 (2014).Li, Y., Qi, S. & Assouar, M. B. Theory of metascreen-based acoustic passive phased array.

*New J. Phys.***18**, 043024 (2016).Estakhri, N. M. & Alù, A. Wave-front transformation with gradient metasurfaces.

*Phys. Rev. X***6**, 041008 (2016).Asadchy, V. S. et al. Perfect control of reflection and refraction using spatially dispersive metasurfaces.

*Phys. Rev. B***94**, 075142 (2016).Epstein, A. & Eleftheriades, G. V. Synthesis of passive lossless metasurfaces using auxiliary fields for reflectionless beam splitting and perfect reflection.

*Phys. Rev. Lett.***117**, 256103 (2016).Diaz-Rubio, A., Asadchy, V. S., Elsakka, A. & Tretyakov, S. A. From the generalized reflection law to the realization of perfect anomalous reflectors.

*Sci. Adv.***3**, e1602714 (2017).Wong, A. & Eleftheriades, G. Perfect anomalous reflection with a bipartite Huygens’ metasurface.

*Phys. Rev. X***8**, 011036 (2018).Asadchy, V. S., Wickberg, A., Díaz-Rubio, A. & Wegener, M. Eliminating scattering loss in anomalously reflecting optical metasurfaces.

*ACS Photon.***4**, 1264–1270 (2017).Díaz-Rubio, A. & Tretyakov, S. Acoustic metasurfaces for scattering-free anomalous reflection and refraction.

*Phys. Rev. B***96**, 125409 (2017).Li, J., Shen, C., Díaz-Rubio, A., Tretyakov, S. & Cummer, S. A. Systematic design and experimental demonstration of bianisotropic metasurfaces for scattering-free manipulation of acoustic wavefronts.

*Nat. Commun.***9**, 1342 (2018).Ra’di, Y., Sounas, D. L. & Alù, A. Metagratings: beyond the limits of graded metasurfaces for wave front control.

*Phys. Rev. Lett.***119**, 067404 (2017).Ra’di, Y. & Alù, A. Reconfigurable metagratings.

*ACS Photon.***5**, 1779–1785 (2018).Larouche, S. & Smith, D. R. Reconciliation of generalized refraction with diffraction theory.

*Opt. Lett.***37**, 2391–2393 (2012).Li, Y., Jiang, X., Liang, B., Cheng, J. & Zhang, L. Metascreen based acoustic passive phased array.

*Phys. Rev. Appl.***4**, 024003 (2015).Liu, B., Zhao, W. & Jiang, Y. Apparent negative reflection with the gradient acoustic metasurface by integrating supercell periodicity into the generalized law of reflection.

*Sci. Rep.***6**, 38314 (2016).Zhu, H. & Semperlotti, F. Anomalous refraction of acoustic guided waves in solids with geometrically tapered metasurfaces.

*Phys. Rev. Lett.***117**, 034302 (2016).Cai, L. et al. Beam steering of the acoustic metasurface under a subwavelength periodic modulation.

*Appl. Phys. Lett.***111**, 201902 (2017).Liu, B. & Jiang, Y. Metasurface-based angle-selective multichannel acoustic refractor.

*Appl. Phys. Express***11**, 057301 (2018).Li, Y. et al. Tunable asymmetric transmission via lossy acoustic metasurfaces.

*Phys. Rev. Lett.***119**, 035501 (2017).Shen, C. & Cummer, S. A. Harnessing multiple internal reflections to design highly absorptive acoustic metasurfaces.

*Phys. Rev. Appl.***9**, 054009 (2018).Lu, M. et al. Extraordinary acoustic transmission through a 1D grating with very narrow apertures.

*Phys. Rev. Lett.***99**, 174301 (2007).Fu, Y., Cao, Y. & Xu, Y. Multifunctional reflection in acoustic metagratings with simplified design.

*Appl. Phys. Lett.***114**, 053502 (2019).Qian, E., Fu, Y., Xu, Y. & Chen, H. Total omnidirectional reflection by sub-wavelength gradient metallic gratings.

*Europhys. Lett.***114**, 34003 (2016).Zhang, H. et al. Omnidirectional ventilated acoustic barrier.

*Appl. Phys. Lett.***111**, 203502 (2017).Shen, C., Xie, Y., Li, J., Cummer, S. A. & Jing, Y. Acoustic metacages for sound shielding with steady air flow.

*J. Appl. Phys.***123**, 124501 (2018).Gérardin, B. et al. Full transmission and reflection of waves propagating through a maze of disorder.

*Phys. Rev. Lett.***113**, 173901 (2014).Dorokhov, O. N. On the coexistence of localized and extended electronic states in the metallic phase.

*Solid State Commun.***51**, 381–384 (1984).Imry, Y. Active transmission channels and universal conductance fluctuations.

*Europhys. Lett.***1**, 249–256 (1986).

## Acknowledgements

This work was supported by the National Natural Science Foundation of China (grant Nos. 11604229, 11774252, and 11874311), the Natural Science Foundation of Jiangsu Province (grant Nos. BK20161210 and BK20171206), a Multidisciplinary University Research Initiative grant from the Office of Naval Research (N00014-13-1-0631), an Emerging Frontiers in Research and Innovation grant from the National Science Foundation (grant No. 1641084), the Project funded by China Postdoctoral Science Foundation (grant No. 2018T110540), Hong Kong Research Grants Council (AoE/P-02/12), and the Fundamental Research Funds for the Central Universities (grant No. 20720170015). Fu would like to thank the start-up fund support from Nanjing University of Aeronautics and Astronautics, Xu would like to thank the support from the Collaborative Innovation Center of Suzhou Nano Science and Technology at Soochow University, and Gao thanks the support from the Qing Lan project, “333” project (BRA2015353) and PAPD of Jiangsu Higher Education Institutions. We also thank the helpful discussions with Prof. Z.-Q. Zhang from Hong Kong University of Science and Technology.

## Author information

### Authors and Affiliations

### Contributions

Y.X. and Y.F. conceived the idea. Y.F., C.S., Y.C., and Y.X. performed the theoretical calculation and numerical simulations. C.S. and S.A.C. fabricated the samples and performed experiments. L.G. and H.C. helped with the theoretical interpretation. Y.X., C.T.C., and S.A.C. supervised the project. All authors discussed the results and prepared the paper.

### Corresponding authors

## Ethics declarations

### Competing Interests

The authors declare no competing interests.

## Additional information

**Journal peer review information:** *Nature Communications* thanks Fabrice Lemoult and other anonymous reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports are available.

**Publisher’s note:** Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Supplementary information

## Rights and permissions

**Open Access** This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.

## About this article

### Cite this article

Fu, Y., Shen, C., Cao, Y. *et al.* Reversal of transmission and reflection based on acoustic metagratings with integer parity design.
*Nat Commun* **10**, 2326 (2019). https://doi.org/10.1038/s41467-019-10377-9

Received:

Accepted:

Published:

DOI: https://doi.org/10.1038/s41467-019-10377-9

## Comments

By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.