Variable optical attenuators,short as VOA, are used to permit dynamic control of optical power levels in a fiber. It can be applied to adjust power level of signal in the optical communication at the output of light sources, E/O converters and for the linear or dynamic range of power meter. Furthermore, they can the used in optical amplifier systems to balance the gain across the different operating wavelengths.