what is the working principle of oscillator?
There are many types of electronic oscillators, but they all operate according to the same basic principle: an oscillator always employs a sensitive amplifier whose output is fed back to the input in phase. Thus, the signal regenerates and sustains itself.