Periodically-poled lithium niobate (PPLN) is a domain-engineered lithium niobate crystal, used mainly for achieving quasi-phase-matching in nonlinear optics. The ferroelectric domains point alternatively to the "+c" and the "−c" direction, with a period of typically between 5 and 35 µm. The shorter periods of this range are used for second harmonic generation, while the longer ones for optical parametric oscillation. Periodic poling can be achieved by electrical poling with periodically structured electrode. Controlled heating of the crystal can be used to fine-tune phase matching in the medium due to a slight variation of the dispersion with temperature.