Design of bias-free operational uni-traveling carrier photodiodes for terahertz wave generation