Analysis of self pulsations in DBR lasers: two alternative approaches