摘要:Controlled flexible pulses have widespread applications in the fields of fiber telecommunication, optical sensing, metrology, and microscopy. Here, we report a compact pulse-controlled all-fiber laser by exploiting an intracavity fiber Bragg grating (FBG) system as a flexible filter. The width and wavelength of pulses can be tuned independently by vertically and horizontally translating a cantilever beam, respectively. The pulse width of the laser can be tuned flexibly and accurately from ~7 to ~150 ps by controlling the bandwidth of FBG. The wavelength of pulse can be tuned precisely with the range of >20 nm. The flexible laser is precisely controlled and insensitive to environmental perturbations. This fiber-based laser is a simple, stable, and low-cost source for various applications where the width-tunable and/or wavelength-tunable pulses are necessary.