AD8317 based Intelligent Attenuator/Power Meter for 0.2 to 500 MHz