A microwave signal is generated at a designed frequency by DFG based on the second order nonlinear optical effect in LiTaO3 crystal when the frequency of the optical modulation signal coincides with this designed frequency. The designed frequency is determined by the quasi-phase-matching (QPM) condition between the modulated lightwave and the generated microwave and the microwave resonance condition.