The invention belongs to the technical field of photoelectric equipments, in particular to a device capable of generating various optical solitons. The optical soliton generation device based on a passive mode-locked ytterbium-doped fiber laser comprises a polarization controller (1), a 1*N optical switch (2), an optical fiber group (3), a 1*N optical coupler (4), a dispersion compensation fiber (5), an optical isolator (6), a ytterbium-doped fiber, a light wavelength division multiplexing (8), a pump light source (9), a saturable absorber (10) and a 1*2 optical coupler (1). In the same passive mode-locked ytterbium-doped fiber laser system, the optical soliton generation device based on the passive mode-locked ytterbium-doped fiber laser is capable of obtaining parabolic dissipative soliton single-pulse optical solitons, hyperbolic secant-shaped soliton single-pulse optical solitons, bounded multi-soliton optical solitons of the two optical pulses and other optical solitons; when switching between different types of solitons, a user does not need to change a light path structure, and the switching speed is very fast.