Introduction

Programmable photonics integrated circuits1,2 (PICs) that can generate a temporally- and spatially-varying optical signal would fulfill requirements for many optical and quantum systems. State-of-the-art PIC designs consist of meshes of reconfigurable Mach–Zehnder interferometers (MZIs), with large-scale demonstrations realized in thermo-optic3,4,5,6,7,8, lithium niobate9, and piezoelectric photonic platforms10. Several promising optical phase shifters for the construction of these mesh circuits feature microelectromechanical systems (MEMS)11,12,13,14 with very low power consumption and scalable fabrication compatible with CMOS-foundry processes. Operation of each phase shifter often requires arbitrary electrical control across the full modulation bandwidth. This enables the execution of the entire scope (with hardware error correction15,16) of cascaded SU(2)17,18 operations for either linear-optic or optical switching functions.

There are two potential issues with the conventional operation of MEMS-based PICs. The first is that, despite their scalability, micromechanical phase shifters14,19,20 are limited in the flat modulation bandwidth (~1 μs) by the presence of mechanical eigenmodes and still typically require high voltages for either capacitive or piezoelectric actuation. The second is that for many applications, accessing the full range of unitary operations is not necessary and simply adds additional complexity. It would be sufficient for the PIC to switch periodically between a subset of particular states. For example, high-speed beam steering21,22,23 would need only operate in a periodic manner to provide information on the surrounding environment for range finding applications24,25,26,27. Similarly, laser-scanning technologies for 3D displays28,29 require only repeated raster scans to hold an image. In atom-based quantum systems, modular cluster-state architectures30,31,32 rely on numerous attempts of remote-entanglement between select qubits, requiring a periodic optical switch for optical addressing of atoms as well as routing of spin-entangled photons. Periodic switches can also act as transceivers for time-multiplexed signals, with applications in processing input vector weights for optical neural networks33 or getting around single detector latencies and enabling high-throughput photon counting34.

If the mechanical eigenmodes inherent to MEMS-based phase shifters were purposefully designed and synchronized, we could simultaneously address both issues above. Driving each phase shifter on resonance would not only enhance the modulation strength, but naturally generate a periodic optical signal. Every modulators’ eigenmodes would be engineered and synchronized to high frequency (surpassing the usual MEMS bandwidth limits) to create resonantly enhanced programmable circuits with periodic inputs and outputs. The enhancement, nominally on the order of Qm, the mechanical quality factor, promises orders of magnitude decreases in each modulator’s voltage-loss product, power consumption, and device footprint. The PIC electronics (needing only sinusoids and DC biases) are also simplified, no longer requiring full arbitrary control of all phase shifts. This enables narrow-band voltage sources to take advantage of electronic tank circuits for further reductions in voltage and power35. However, there remains an open question whether the more focused, all-periodic actuation with mechanically-resonant modulation enhancements could produce useful large-scale PICs that benefit the aforementioned applications.

Here we introduce a design architecture for optically broadband programmable PICs whose operation utilizes micromechanical resonances (Fig. 1a) for improved modulation and high-speed periodic operation in several practical configurations. We first present the theory of resonantly enhanced operation of MZI switches and direct phase modulators (Fig. 1b) for construction of phased arrays, 1 × N, and N × N photonic switches. We further apply the architecture by designing and fabricating a proof-of-principle resonantly enhanced 1 × 8 photonic switch. The switch consists of optical modulators based on piezoelectrically actuated cantilevers14,36 (Fig. 1c), each engineered with target mechanical resonances for modulation enhancement (Fig. 1d). Lastly, we experimentally demonstrated successful operation of the PIC to show periodic switching of all 8 channels spaced ~11 ns apart, all while leveraging an average modulation enhancement of 2.90 (4.6 dB) compared to off-resonant, low frequency actuation. Our results demonstrate the possibility of an improved series of programmable PICs operating with micromechanically resonant modulators for a broad range of applications.

Fig. 1: Micromechanically resonant programmable photonic integrated circuits.
figure 1

a Schematic render of a programmable photonic integrated circuit actuated with only periodic sinusoidal driving signals. The optical output channels switch periodically in time, as illustrated by the time stamps t = nTt = T(n + 1). b Diagram of circuit components, consisting of Mach-Zehnder interferometer (MZI) switches and direct phase modulators with reconfigurable phases \(\theta\) and \(\phi\) respectively. c Finite-element render of a micromechanical optical phase shifter implemented as a piezo-actuated cantilever. d Theoretical modulator response and enhancement (Eq. 3) of a phase shifter with a single mechanical resonance where \({\omega }_{0}\) = 10 MHz and \({Q}_{m}\,\)= 40.

Results

Photonic integrated circuit design architecture

The general principle of the mechanically resonant PIC architecture is to design modulators optimized for synchronized, sinusoidal drive signals at specific mechanical eigenmodes. We first briefly review the available design degrees of freedom for a typical micromechanical phase modulator (such as a cantilever-based modulator). We assume the primary phase shift \(\varTheta\) stems from the moving boundary14 \(x\) in which \(\varTheta \propto x\). In this case, we derive the modulator’s response function, magnitude \({A}_{{{{{{\rm{c}}}}}}}({\omega }_{{{{{{\rm{s}}}}}}})\) and phase \({\phi }_{{{{{{\rm{c}}}}}}}\), from the equivalent circuit of a piezoelectric oscillatorr37 with a single resonance:

$${A}_{{{{{{\rm{c}}}}}}}({\omega }_{{{{{{\rm{s}}}}}}})=({V}_{0}/{L}_{{{{{{\rm{m}}}}}}}){\left[{({{\omega }_{{{{{{\rm{c}}}}}}}}^{2}-{{\omega }_{{{{{{\rm{s}}}}}}}}^{2}-2{{\omega }_{{{{{{\rm{s}}}}}}}}^{2}\gamma {\tau }_{0})}^{2} \\+(2{\omega }_{{{{{{\rm{s}}}}}}}(\gamma+{\gamma }_{{{{{{\rm{s}}}}}}})+{\omega }_{{{{{{\rm{s}}}}}}}{\tau }_{0}{({{\omega }_{{{{{{\rm{c}}}}}}}}^{2}-{{\omega }_{{{{{{\rm{s}}}}}}}}^{2})})^{2}\right]}^{\!-1/2}$$
(1)
$${\phi }_{{{{{{\rm{c}}}}}}}={\tan }^{-1}\left(\frac{2{\omega }_{{{{{{\rm{s}}}}}}}(\gamma+{\gamma }_{{{{{{\rm{s}}}}}}})+{\omega }_{{{{{{\rm{s}}}}}}}{\tau }_{0}({{\omega }_{{{{{{\rm{c}}}}}}}}^{2}-{{\omega }_{{{{{{\rm{s}}}}}}}}^{2})}{{{\omega }_{{{{{{\rm{c}}}}}}}}^{2}-{{\omega }_{{{{{{\rm{s}}}}}}}}^{2}-2{{\omega }_{{{{{{\rm{s}}}}}}}}^{2}\gamma {\tau }_{0}}\right)$$
(2)

Here, \({\omega }_{{{{{{\rm{c}}}}}}}=\sqrt{1/{L}_{{{{{{\rm{m}}}}}}}{C}_{{{{{{\rm{m}}}}}}}}\) is the modulator’s series resonance frequency, \(\gamma={R}_{{{{{{\rm{m}}}}}}}/2{L}_{{{{{{\rm{m}}}}}}}\) is the damping coefficient, \({C}_{0}\) is the device’s electrical capacitance, \({R}_{{{{{{\rm{m}}}}}}}\), \({L}_{{{{{{\rm{m}}}}}}}\), \({C}_{{{{{{\rm{m}}}}}}}\) are the motional circuit elements, \({V}_{0}\) is the driving amplitude, \({\omega }_{{{{{{\rm{s}}}}}}}\) is the driving frequency, \({\phi }_{{{{{{\rm{s}}}}}}}\) is the phase of the driving sinusoid, \({R}_{{{{{{\rm{s}}}}}}}\) is the voltage source resistance, \({\gamma }_{{{{{{\rm{s}}}}}}}={R}_{{{{{{\rm{s}}}}}}}/2{L}_{{{{{{\rm{m}}}}}}}\) and \({\tau }_{0}={R}_{{{{{{\rm{s}}}}}}}{C}_{0}\). We define the modulation enhancement factor \({G}_{{{{{{\rm{m}}}}}}}\) imparted by the micromechanical resonance as the modulation strength on or near resonance relative to the that near DC (\({\omega }_{{{{{{\rm{s}}}}}}}\approx 0\)). Assuming the source resistance is small compared to the mechanical damping and the circuit’s RC response time is faster than the mechanical resonance, we calculate \({G}_{{{{{{\rm{m}}}}}}}\) to be

$${G}_{{{{{{\rm{m}}}}}}}={A}_{{{{{{\rm{c}}}}}}}({\omega }_{{{{{{\rm{s}}}}}}})/{A}_{{{{{{\rm{c}}}}}}}({\omega }_{{{{{{\rm{s}}}}}}}\, \approx \, 0)=\frac{1}{\sqrt{(1-{{({\omega }_{{{{{{\rm{s}}}}}}}/{\omega }_{{{{{{\rm{c}}}}}}})}^{2}})^{2}+{({\omega }_{{{{{{\rm{s}}}}}}}/{\omega }_{{{{{{\rm{c}}}}}}})}^{2}{(1/{Q}_{{{{{{\rm{m}}}}}}})}^{2}}}\,$$
(3)

Here, \({Q}_{{{{{{\rm{m}}}}}}}=\frac{{\omega }_{{{{{{\rm{c}}}}}}}}{2\gamma }\) is the mechanical quality factor. When driven on resonance such that \({\omega }_{{{{{{\rm{s}}}}}}}\approx {\omega }_{{{{{{\rm{c}}}}}}}\), the modulation enhancement becomes equal to the mechanical quality factor: \({G}_{{{{{{\rm{m}}}}}}}\approx {Q}_{{{{{{\rm{m}}}}}}}\). For the design of practical large-scale PICs, these modulator variables offer important flexibility. The cantilever parameters \({\omega }_{{{{{{\rm{c}}}}}}}\), \({Q}_{{{{{{\rm{m}}}}}}}\) are targeted to desired values during initial design of the modulator geometry. The operating parameters \({\omega }_{{{{{{\rm{s}}}}}}}\), \({\phi }_{{{{{{\rm{s}}}}}}}\), and \({A}_{{{{{{\rm{s}}}}}}}\) are then adjusted in order to maximize the modulation enhancement \({G}_{{{{{{\rm{m}}}}}}}\) while still synchronized with the rest of the photonic circuit. See Methods for more details of the derivation.

We proceed to illustrate how the design architecture applies to several well-known photonic circuits. A natural periodically operated device is the optical phased array, whose design and operation are shown in Fig. 2. The circuit schematic (Fig. 2a) consists of a static MZI binary tree for routing and power balancing to the N = 8 output channels, each with a resonantly actuated phase modulator imparting a phase \({\phi }_{n}\), defined:

$${\phi }_{n}(t)=\pi \cos (({\omega }_{0}+n\Delta \omega )t)$$
(4)
Fig. 2: Resonantly actuated 8-channel phased array.
figure 2

a Architecture of a photonic integrated circuit (PIC) phased array based on 8 optical outputs consisting of static MZIs for power routing and direct phase modulators at the output of each channel. These modulators offset each channel’s phase by a steady rate over time, defined by the frequency difference NΔω. b Example plots of the control signals applied to the first four channels \({\phi }_{1}-{\phi }_{4}\). The channels periodically drift in and out of phase on a timescale defined by \(T=2\pi /\Delta \omega\). c Gaussian beam calculations of the 8 output phased array at discrete times over a spatial domain of 50λ × 100λ of the x and z axes, respectively. The central beam combines constructively when all control phases \({\phi }_{n}\) are in phase (t = 0). At subsequent times, the beam sweeps counterclockwise and repeats at every t = T.

The modulation frequency is offset by \(n\Delta \omega\) depending on the channel, generating a steady phase difference between channels that periodically repeats every \(T=2\pi /\Delta \omega\). Figure 2b shows example control voltages to the first four phase modulators, illustrating the phase differences plotted over time. The total modulation enhancement will be strongest when the mechanical eigenfrequency \({\omega }_{{cn}}\) match the modulation frequency of the nth channel.

$${\omega }_{{{{{{\rm{c}}}}}}n}={\omega }_{0}+n\Delta \omega$$
(5)

Once the phases are set, the output optical waveguides simply need to be routed, spaced, and coupled off-chip to complete the beam scanner38. We numerically simulated the 1D phased array whose optical outputs are modeled as edge-emitting waveguides to show device operation. Using the phases defined in Eq. 4, the simulation calculates the Gaussian beam equation modulated in time

$${E}_{n}(x,z,t)={E}_{0}(1/q(z))\exp (-{ik}{(x-{x}_{n})}^{2}/(2q(z))) \exp ({ikz}+i{\phi }_{n}(t))$$
(6)

where \({E}_{0}\) is the field amplitude, \({x}_{n}\) is the nth output waveguide’s origin point, \(q(z)\) is the complex beam parameter given by \(\frac{1}{q(z)}=\frac{1}{R(z)}-i\frac{\lambda }{\pi w{(z)}^{2}}\), \(R(z)\) is the beam curvature whose inverse is given by \(\frac{1}{R(z)}=\frac{z}{{z}^{2}+{{z}_{{{{{{\rm{R}}}}}}}}^{2}}\), \(w(z)={w}_{0}\sqrt{1+{z}^{2}/{{z}_{{{{{{\rm{R}}}}}}}}^{2}}\) is the propagation-dependent beam waist, \({w}_{0}\) is the initial beam waist at \(z=0\), \({z}_{{{{{{\rm{R}}}}}}}=\pi {{w}_{0}}^{2}/\lambda\) is the Rayleigh range, and \(\lambda\) is the wavelength. The spacing between each \({x}_{n}\) is a half wavelength and the initial beam waist is set to \({w}_{0}=0.5\). The total intensity is then given by

$$I(x,z,t)={\left|{\sum }_{n=1}^{8}{E}_{n}\left(x,z,t\right)\right|}^{2}$$
(7)

Figure 2c plots the output intensity (Eq. 7) at different times t, showing a periodic beam-scanner actuated with the sinusoidal driving signals corresponding to Fig. 2b. The in-phase and out-of-phase durations illustrate how the outputs interfere constructively or destructively in order to steer the beam. Compared to conventional MEMS scanners or switches23,25,29 that typically operate with sub-MHz device speed, our proposed resonantly actuated phased array can be implemented with existing modulators14 whose device speeds exceed >10 MHz, thus possibly enabling full field of view scan frequencies >1 MHz.

Another class of photonic circuits that benefits from periodic actuation is the integrated photonic switch. The basic 1 × N switch may be implemented as a mesh of Mach-Zehnder interferometers (MZIs), as shown in Fig. 3a. Input light Ein is coupled through a single port on the left and routed to the nth output En on the right with the transfer matrix \({T}_{{ij}}({\theta }_{{ij}})\) applied to each depth of MZIs. The normalized output intensities \({I}_{n}\) can be written as a product of sinusoids

$${I}_{n}={\prod }_{m=1}^{M}(1+s(m,n)\cos (2{{\theta }_{{ij}}}^{(m,n)}))$$
(8)
Fig. 3: Architecture of micromechanically resonant 1 × N and N × N integrated optical switches.
figure 3

a Schematic of a general 1 × N optical switch implemented as a binary tree mesh of Mach-Zehnder interferometers (MZIs) with transfer function Tij. b Design of a resonantly actuated 1 × 8 optical switch operating at three distinct frequencies, each unique to a column of MZIs. c Examples of driving signals in time domain to each of the MZIs with appropriate phase offsets. Each signal oscillates between bar and cross switching states. d Theoretical normalized optical intensity of the 8 output channels plotted in time domain when the circuit in (b) is driven with the signals in (c). e Schematic of a resonantly actuated 4 × 4 matrix switch consisting of 8 individual 1 × 4 switches connected through a 16 × 16 passive router. The individual switches are programmed with different driving signals to facilitate a proper switching order. f Example periodic transmission and receiving pattern through the 4 × 4 matrix switch.

Here, \(M={\log }_{2}(N)\) the total circuit depth, \(s(m,n)=\pm 1\) a sign that depends on whether the nth output channel’s optical path is connected to the mth depth MZI’s bar or cross port, and \({{\theta }_{{ij}}}^{(m,n)}\) is the time-dependent phase setting of that MZI. We illustrate a specific example of operating a resonantly actuated 1 ×8 switch (Fig. 3b). In this circuit, there are 7 MZIs labeled with the depth and the row, each with a modulator having a mechanical eigenfrequency that is an integer multiple of a base frequency \({\omega }_{0}\). All MZIs are actuated synchronously with a resonant sine wave and phase offset (Fig. 3c) such that all light is periodically routed to a single channel at specific moments in time. Figure 3d plots Eq. 8 with \(N=8\) and \(M=3\) driven by the time-dependent \({{\theta }_{{ij}}}^{(m,n)}\) signals in Fig. 3c, showing a periodic train of pulses emitted by each channel in sequence. The design of the optical switching alternates between the top half and the bottom half of the tree whose order can be adjusted by changing the driving phase offsets.

In addition to 1 × N switches, resonantly actuated N × N matrix switches are also possible. One representative construction of \(N=4\) is shown in Fig. 3e and generally consists of 2 N number of 1 × N switches and a connecting N × N static optical router. The individual 1 × N switches are programmed such that in one actuation period, each input channel appears at every output channel of the N × N matrix switch. In other words, by adjusting the static connections and the sinusoid phases of the 1 × N switch, the matrix switch can be tailored to form a transmission (Tx) and receiving (Rx) sequence to suit the desired application. Figure 3f displays a table of one possible Tx and Rx sequence. The Tx sequence entries are how each input channel transmits to the corresponding output in the order of the output channels labeled. Conversely, the Rx sequence entries are the order of the input channels received by the labeled output channel. In \(N=4\) cycles, all inputs are transmitted once to all outputs.

Micromechanically resonant 1 × 8 photonic switch

To demonstrate the micromechanically resonant architecture, we designed, fabricated, and characterized a proof-of-principle 1 × 8 photonic switch. The device is realized on a PIC platform whose layer stack consists of integrated silicon nitride waveguides and piezoelectric aluminum nitride, all fabricated on 200 mm silicon wafers10,39. Figure 4a illustrates the switch’s resonant MZI design based on variable overhang cantilevers14. Each MZI consists of two independently controllable phase shifters: the first is used for DC biasing to the mid-point of the MZI response function; the second is driven sinusoidally between the approximate bar and cross states while taking advantage of any modulation enhancement from the mechanical eigenmode. We fabricated cantilevers with overhang lengths of 190.5, 95.5, and 45.5 µm, which target mechanical eigenmodes at approximately 10, 20, and 40 MHz, respectively. These cantilevers were arranged according to the schematic in Fig. 3b) with a design that corresponds to a base frequency of \({\omega }_{0}\approx 2\pi \times 10\) MHz. After fabrication, we packaged the photonic switch on a custom PCB with high-speed voltage amplifiers driven with multi-channel arbitrary waveform generators (AWGs) for electrical inputs. Optical inputs were fed through a fiber array while optical outputs were collected via a free-space imaging system for characterization. Figure 4b shows an optical microscope image of the fully processed photonic switch with labeled MZIs.

Fig. 4: Design and characterization of a piezoelectric 1 × 8 integrated optical switch.
figure 4

a Illustration of the resonantly actuated Mach-Zehnder interferometer (MZI) design with two independent phase shifters: one larger, non-resonant cantilever for static DC biasing to the midpoint of the MZI’s sinusoidal response function and one smaller, AC cantilever designed with a target mechanical eigenfrequency. b Optical microscope image of the fully fabricated PIC with labeled MZIs, optical inputs and outputs, and electrical bonding pads. ce Measured small-signal response of the AC cantilever for the first (MZI 11), second (MZI 21 and 22) and third (MZI 31, 32, 33, and 34) columns, respectively—each measured trace is averaged 100x. In this device, the targeted base frequency is nominally 10 MHz; zoomed-in plots show the response near 40, 20, and 10 MHz, respectively.

To program the circuit, we calibrated all MZIs as follows. We first measured the responses of all the DC phase shifters to store the target midpoint DC voltages. Next, we measured the small-signal, linearized response of all AC phase shifters around the DC bias point using a vector network analyzer. Figure 4c–e plots the AC actuation response of each column of MZIs averaged 100 times and normalized to the response at low frequency (100 kHz), showing clear modulation enhancement (peaks at roughly 5–10 dB) for several mechanical resonances. We note that the MZIs may still be operated as a standard binary tree switch with a DC—~1 MHz bandwidth until the non-flat frequency response would start to affect the switching fidelity. Under the micromechanically resonant architecture, however, we focus instead on the modulation response near the eigenfrequencies of interest (Fig. 4c–e insets). Despite the eigenfrequencies not precisely matching up for all MZIs due to the presence of other mechanical modes, variability in device release, and local stress gradients, the wide range of enhancement allows flexibility in choosing the base frequency \({\omega }_{0}\). Once the base frequency was chosen, we calibrated the AC \({V}_{\pi }\), the voltage required to drive the MZI between its bar and cross states with a particular modulation enhancement. Lastly, we set and synchronized the phases \({\phi }_{{{{{{\rm{s}}}}}}}\) of all driving signals for periodic switching operation. The PIC technology’s high degree of calibration stability10 allowed our photonic switch to operate in open loop for the duration of our experiments.

We measured the performance of the fully programmed photonic switch for a particular base frequency \({\omega }_{0}=11.3\) MHz, as shown in Fig. 5. This specific base frequency was selected according to the isolation of the driven mechanical eigenmode as well as the overall modulation enhancement (4.6 dB on average from Fig. 4c–e) of all 7 MZIs. Figure 5a plots time-resolved measurements using a high-speed photodiode, normalized for different losses and collection efficiencies, of all 8 output channels. The traces show clear peaks every ~11 ns which follow an 8-channel switching order that cycles every period \(T=2\pi /{\omega }_{0}\). We also plot the AC driving voltages of all MZIs (Fig. 5b) and list the values of their amplitudes \({V}_{0}\) and phase \({\phi }_{{{{{{\rm{s}}}}}}}\) (Fig. 5c). We note that the relative phases of the driving signals differ from the ideal values in Fig. 3c as not all MZIs are driven precisely at the resonance peak—there are adjustments to \({\phi }_{{{{{{\rm{s}}}}}}}\) to compensate for the induced, frequency-dependent phase \({\phi }_{{{{{{\rm{c}}}}}}}\) (Eq. 2) of every individual cantilever. The switching fidelity and ordering of all channels generally matches the theoretical case as shown in Fig. 3d. However, while the maximum switching contrast during times the channels are off is approximately 0.032 +/− 0.007 (14.95 dB) for all channels, some channels show non-negligible pulsing during off-peak times (output 2 is a notable example in Fig. 5a) which reduce the switching contrast to, at worst, 8.0 dB for some channels. These off-peaks occur due to imperfect calibration on the larger-overhang cantilevers, which occasionally exhibit mechanical nonlinear coupling (see Supplementary Methods) over many periods between different eigenmodes.

Fig. 5: Measurements of the 8-channel full switching sequence.
figure 5

a Time-resolved measurements of all 8 optical outputs during a full switching sequence with a base frequency of 11.3 MHz for three full periods. Charged-coupled device (CCD) capture times for the imaging experiment in (d) are also labeled, depicting the small integration region defined by the camera shutter. b Plots of the sinusoidal driving inputs to the all seven Mach–Zehnder interferometers (MZIs). c Table of driving parameters, including voltage amplitude \({V}_{0}\) and phase \({\phi }_{{{{{{\rm{s}}}}}}}\,\). The driving phase term compensates for the variation in each cantilever’s phase response. d CCD images captured at various times t as labeled in (a). Each image integrates the output from all 8 optical channels for 4.8 ns and illustrates an unnormalized snapshot of the output at different temporal offsets in the total switching sequence.

We further characterized the switching sequence by imaging all 8 waveguide outputs simultaneously onto an intensified charge-coupled device (ICCD). The camera’s image intensifier, acting as a high-speed shutter, was programmed synchronously with the MZI’s driving sinusoids, allowing the capture of a small temporal window of light as illustrated in Fig. 5a. These capture times were precisely aligned to the output switching sequence by an analog gate signal generated from the same multi-channel AWGs driving the photonic switch. Figure 5d shows four CCD images at different times t (relative to Fig. 3a) of a 4.8 ns exposure of the 8 output channels. Each image shows the charge count during a small subperiod (4.8 ns) of the full switching sequence, accumulated over three periods and amplified to improve the signal-to-noise ratio. The images are a measure of the unnormalized intensities of the switch’s output, with bright channels matching those in the photodiode trace. Both the imaging and time-resolved experiments demonstrate the operation and viability of our 1 × 8 resonantly actuated photonic switch. See Supplementary Methods for more details of the device calibration and imaging experiment.

Discussion

We have shown theoretically and experimentally the concept of mechanically resonant modulation for the construction of periodically operated programmable photonics. While the architecture encompasses a broad range of PIC designs and applications, there are several future improvements to the current experimental realization. The cantilever modulators’ occasional nonlinear mechanical coupling is likely due to uneven undercuts and film stresses during fabrication. This can be mitigated by shortening the cantilever overhang to facilitate better undercutting and patterning the electrodes to more efficiently excite the eigenmodes of interest. Furthermore, the current photonic switch only relied on the fabricated geometry for targeting the value of the mechanical eigenmode. Thus, the overall achieved modulation enhancement fell short of the measured maxima due to small mismatches in mechanical eigenfrequencies. The matching of mechanical eigenfrequencies across all devices on the PIC may be improved by post-process trimming and ablation40 to adjust the mechanical spring constant or mass to optimize the cantilevers to the previously demonstrated14 \({Q}_{m}=40\). The overlap of output channel intensities in the full switching sequence (Fig. 5a) is reduced by adding additional frequencies to sharpen the output pulses. Furthermore, our photonics platform10 provides a natural path for co-integration of CMOS-electronics for control of optically connected photonic chiplets in order to scale beyond current device size and yield constraints. Please see Supplementary Discussion for cantilever post-process trimming results and other circuit designs.

More broadly, the infusion of ideas from micro- and nano-mechanical engineering of high-Q oscillators41 as well as high-Q electronic oscillators should further decrease the size (offering reduced power consumption and optical losses) or operating voltage of these photonic circuits by many orders of magnitude. Devices in other thin-film piezoelectric MEMS platforms have shown mechanical quality factors exceeding 10,00042,43 or even higher quality factors of 106–109 with engineered structures44,45 and tuning techniques46, operating at kHz–MHz resonance frequencies. Moreover, geometries can also be optimized for speed, with demonstrations reaching GHz eigenfrequencies47,48 with still high mechanical quality factors greater than 100. Future advances to resonant MEMS with integrated photonics, an improved category of low-power and high-speed programmable PICs should be possible.

Methods

Linear response function of a piezoelectric optical modulator

We model the response function of our piezoelectrically actuated optical modulators using the standard equivalent circuit of a piezoelectric device37 (Butterworth–van Dyke model). The circuit has a frequency-dependent effective impedance \({Z}_{{{{{{\rm{eq}}}}}}}(\omega )\) given by

$${Z}_{{{{{{\rm{eq}}}}}}}(\omega )={R}_{{{{{{\rm{s}}}}}}}+\frac{{{\omega }_{{{{{{\rm{c}}}}}}}}^{2}-{\omega }^{2}+2j\omega \gamma }{j\omega /{L}_{{{{{{\rm{m}}}}}}}+j\omega {C}_{0}({{\omega }_{{{{{{\rm{c}}}}}}}}^{2}-{\omega }^{2}+2j\omega \gamma )}$$
(9)

where \(j\) is the imaginary unit, \({R}_{{{{{{\rm{s}}}}}}}\) is the series source resistance, \({\omega }_{{{{{{\rm{c}}}}}}}=\sqrt{1/{L}_{{{{{{\rm{m}}}}}}}{C}_{{{{{{\rm{m}}}}}}}}\) is the series resonance frequency, \(\gamma={R}_{{{{{{\rm{m}}}}}}}/2{L}_{{{{{{\rm{m}}}}}}}\) is the damping coefficient, \({C}_{0}\) is the device’s electrical capacitance, and \({R}_{{{{{{\rm{m}}}}}}}\), \({L}_{{{{{{\rm{m}}}}}}}\), \({C}_{{{{{{\rm{m}}}}}}}\) are the motional circuit elements. The frequency-dependent applied voltage \({V}_{{{{{{\rm{s}}}}}}}(\omega )\) and current \(i(\omega )\) are defined

$${V}_{{{{{{\rm{s}}}}}}}(\omega )={V}_{0}\pi \,\left[{e}^{-j{\phi }_{{{{{{\rm{s}}}}}}}}\delta (\omega -{\omega }_{{{{{{\rm{s}}}}}}})+{e}^{j{\phi }_{{{{{{\rm{s}}}}}}}}\delta (\omega+{\omega }_{{{{{{\rm{s}}}}}}})\right]$$
(10)
$$i(\omega )={V}_{{{{{{\rm{s}}}}}}}(\omega )/{Z}_{{{{{{\rm{eq}}}}}}}(\omega )$$
(11)

We are interested in the charge accumulated on the motional capacitor \({q}_{{{{{{\rm{m}}}}}}}\), which is analogous to the motional displacement \(x\) responsible for the optical phase shift. We make the assumption that the phase shift \(\theta\) ultimately imparted by the modulator linearly follows the displacement, i.e., \(x={B}_{1}{q}_{{{{{{\rm{m}}}}}}}\) and \(\theta={B}_{2}{q}_{{{{{{\rm{m}}}}}}}\) where \({B}_{1}\), \({B}_{2}\) are constants representing the optomechanical coupling. We calculate the current flowing through the motional circuit elements:

$${i}_{{{{{{\rm{m}}}}}}}(\omega )=i(\omega )\frac{1/j\omega {C}_{0}}{1/j\omega {C}_{0}+j\omega {L}_{{{{{{\rm{m}}}}}}}+{R}_{{{{{{\rm{m}}}}}}}+1/j\omega {C}_{{{{{{\rm{m}}}}}}}}$$
(12)

and using the relation \({i}_{{{{{{\rm{m}}}}}}}(\omega )=j\omega {q}_{{{{{{\rm{m}}}}}}}(\omega )\), we find

$${q}_{{{{{{\rm{m}}}}}}}(\omega )=\frac{{V}_{{{{{{\rm{s}}}}}}}(\omega )}{{L}_{{{{{{\rm{m}}}}}}}}\left[\, \, \frac{1}{j\omega {R}_{{{{{{\rm{s}}}}}}}/{L}_{{{{{{\rm{m}}}}}}}+j\omega {R}_{{{{{{\rm{s}}}}}}}{C}_{0}({{\omega }_{{{{{{\rm{c}}}}}}}}^{2}-{\omega }^{2}+2j\omega \gamma )+{{\omega }_{{{{{{\rm{c}}}}}}}}^{2}-{\omega }^{2}+2j\omega \gamma }\right]$$
(13)

To find the time-dependent motional displacement, we first introduce \({\gamma }_{{{{{{\rm{s}}}}}}}={R}_{{{{{{\rm{s}}}}}}}/2{L}_{{{{{{\rm{m}}}}}}}\) and \({\tau }_{0}={R}_{{{{{{\rm{s}}}}}}}{C}_{0}\) for simplicity. Inserting Eq. 10 into Eq. 13 and performing the inverse Fourier transform, we calculate the time-dependent charge to be

$${q}_{{{{{{\rm{m}}}}}}}(t)=\frac{1}{2\pi }{\int }_{\!\!\!\!\!-{\infty }}^{{\infty }}{{{{{\rm{d}}}}}}\omega {e}^{-j\omega t}{q}_{{{{{{\rm{m}}}}}}}(\omega )=A({\omega }_{{{{{{\rm{s}}}}}}})\cos ({\omega }_{{{{{{\rm{s}}}}}}}t+{\phi }_{{{{{{\rm{s}}}}}}}+{\phi }_{{{{{{\rm{c}}}}}}}({\omega }_{{{{{{\rm{s}}}}}}}))$$
(14)
$${\!}{A}_{{{{{{\rm{c}}}}}}}({\omega }_{{{{{{\rm{s}}}}}}})=({V}_{0}/{L}_{{{{{{\rm{m}}}}}}}){\left[{({{\omega }_{{{{{{\rm{c}}}}}}}}^{2}-{{\omega }_{{{{{{\rm{s}}}}}}}}^{2}-2{{\omega }_{{{{{{\rm{s}}}}}}}}^{2}\gamma {\tau }_{0})}^{2}+(2{\omega }_{{{{{{\rm{s}}}}}}}(\gamma+{\gamma }_{{{{{{\rm{s}}}}}}})+{\omega }_{{{{{{\rm{s}}}}}}}{\tau }_{0}{({{\omega }_{{{{{{\rm{c}}}}}}}}^{2}-{{\omega }_{{{{{{\rm{s}}}}}}}}^{2})})^{2}\right]}^{{\!}-1/2}$$
(15)
$${\phi }_{{{{{{\rm{c}}}}}}}={\tan }^{-1}\left(\frac{2{\omega }_{{{{{{\rm{s}}}}}}}(\gamma+{\gamma }_{{{{{{\rm{s}}}}}}})+{\omega }_{{{{{{\rm{s}}}}}}}{\tau }_{0}({{\omega }_{{{{{{\rm{c}}}}}}}}^{2}-{{\omega }_{{{{{{\rm{s}}}}}}}}^{2})}{{{\omega }_{{{{{{\rm{c}}}}}}}}^{2}-{{\omega }_{{{{{{\rm{s}}}}}}}}^{2}-2{{\omega }_{{{{{{\rm{s}}}}}}}}^{2}\gamma {\tau }_{0}}\right)$$
(16)

We define the modulation enhancement factor \({G}_{{{{{{\rm{m}}}}}}}\) by normalizing the actuation amplitude \({A}_{{{{{{\rm{c}}}}}}}({\omega }_{{{{{{\rm{s}}}}}}})\) to that near DC (\({A}_{{{{{{\rm{c}}}}}}}({\omega }_{{{{{{\rm{s}}}}}}}\, \approx \, 0)\)).

$${A}_{{{{{{\rm{c}}}}}}}({\omega }_{{{{{{\rm{s}}}}}}}\approx 0)=\frac{{V}_{0}}{{{\omega }_{{{{{{\rm{c}}}}}}}}^{2}{L}_{{{{{{\rm{m}}}}}}}}$$
(17)
$$ {G}_{{{{{{\rm{m}}}}}}}={A}_{{{{{{\rm{c}}}}}}}({\omega }_{{{{{{\rm{s}}}}}}})/{A}_{{{{{{\rm{c}}}}}}}({\omega }_{{{{{{\rm{s}}}}}}}\approx 0)\\ =\left[\left(1-{\left(\frac{{\omega }_{{{{{{\rm{s}}}}}}}}{{\omega }_{{{{{{\rm{c}}}}}}}}\right)}^{2}-{\left(\frac{{\omega }_{{{{{{\rm{s}}}}}}}}{{\omega }_{{{{{{\rm{c}}}}}}}}\right)}^{2}\frac{{\omega }_{{{{{{\rm{c}}}}}}}{\tau }_{0}}{{Q}_{{{{{{\rm{m}}}}}}}}\right)^{2}+\left(\frac{{\omega }_{{{{{{\rm{s}}}}}}}}{{\omega }_{{{{{{\rm{c}}}}}}}{Q}_{{{{{{\rm{m}}}}}}}}(1+{R}_{{{{{{\rm{s}}}}}}}/{R}_{{{{{{\rm{c}}}}}}})+{\omega }_{{{{{{\rm{s}}}}}}}{\tau }_{0}\left(1-{\left(\frac{{\omega }_{{{{{{\rm{s}}}}}}}}{{\omega }_{{{{{{\rm{c}}}}}}}}\right)}^{2}\right)\right)^{2}\right]^{-1/2}$$
(18)

where we have inserted \({Q}_{{{{{{\rm{m}}}}}}}={\omega }_{{{{{{\rm{c}}}}}}}/2\gamma\) the mechanical quality factor. If we assume operating conditions of (i) small source resistance compared to the mechanical damping (\({R}_{{{{{{\rm{s}}}}}}} < < {R}_{{{{{{\rm{m}}}}}}}\)) and (ii) the mechanical resonance is far below the circuit’s RC response (\({\tau }_{0}{\omega }_{{{{{{\rm{c}}}}}}},{\tau }_{0}{\omega }_{{{{{{\rm{s}}}}}}} < < 1\)), then the modulation enhancement simplifies considerably to

$${G}_{{{{{{\rm{m}}}}}}}=\frac{1}{\sqrt{{(1-{({\omega }_{{{{{{\rm{s}}}}}}}/{\omega }_{{{{{{\rm{c}}}}}}})}^{2})}^{2}+{({\omega }_{{{{{{\rm{s}}}}}}}/{\omega }_{{{{{{\rm{c}}}}}}})}^{2}{(1/{Q}_{{{{{{\rm{m}}}}}}})}^{2}}}$$
(19)

which is Eq. 3 in the main text.