160000 bits for all snr values.,... On Thu, Aug 6, 2015 at 2:45 PM, Marcus Müller <[email protected]> wrote:
> Taking a blind guess here: > How many samples do you simulate for Eb/N0 = 8dB? And for 10dB? And for > 12dB? > > Best regards, > Marcus > > > On 06.08.2015 10:58, monika bansal wrote: > > Yes Marcus... > and i used delay block at the output of the demodulator to make output > bits align with input bits. > Now it is tracing the theoretical curve till 9 db but after that error is > not reducing. > > I am attaching the curve. > Why is this happening ?? > > On Thu, Aug 6, 2015 at 2:03 PM, Marcus Müller <[email protected]> > wrote: > >> How should i calculate the error now? >> >> That pretty much depends on what *you* want to measure -- obviously, >> these bits are lost, so practically, this increases your BER. >> If you want to demonstrate asymptotic behaviour, however, then you could >> just increase the length of your simulation until a few bits lost at start >> and end just don't matter anymore. >> >> Greetings, >> Marcus >> >> >> On 06.08.2015 06:47, monika bansal wrote: >> >> Hii >> Thanks for your responses. >> >> The problem is this channel model is eating some initial 6 bits(3 qpsk >> symbols) and last 10 bits(5 qpsk symbols). >> Because of this index of output symbol is different fron input which is >> resulting in error for all snr ranges. >> You can see the output for noise_volage =0.0 >> >> Input = (0L, 0L, 2L, 3L, 1L, 2L, 1L, 1L, 2L, 3L, 0L, 1L, 0L, 1L, 1L, 3L, >> 2L, 3L, 1L, 0L, 2L, 0L, 3L, 2L, 2L, 1L, 3L, 2L, 3L, 0L, 2L, 2L, 0L, 1L, 2L, >> 3L, 3L, 0L, 2L, 2L, 0L, 2L, 3L, 3L, 2L, 2L, 3L, 0L, 0L, 0L, 1L, 0L, 2L, 2L, >> 2L, 0L, 3L, 0L, 1L, 1L, 3L, 0L, 1L, 3L, 3L, 3L, 0L, 0L, 2L, 0L, 1L, 1L, 0L, >> 2L, 3L, 2L, 2L, 3L, 2L, 3L) >> >> Output = (3L, 1L, 2L, 1L, 1L, 2L, 3L, 0L, 1L, 0L, 1L, 1L, 3L, 2L, 3L, 1L, >> 0L, 2L, 0L, 3L, 2L, 2L, 1L, 3L, 2L, 3L, 0L, 2L, 2L, 0L, 1L, 2L, 3L, 3L, 0L, >> 2L, 2L, 0L, 2L, 3L, 3L, 2L, 2L, 3L, 0L, 0L, 0L, 1L, 0L, 2L, 2L, 2L, 0L, 3L, >> 0L, 1L, 1L, 3L, 0L, 1L, 3L, 3L, 3L, 0L, 0L, 2L, 0L, 1L, 1L, 0L, 2L, 3L) >> >> >> Input = (0L, 1L, 0L, 2L, 0L, 1L, 1L, 3L, 2L, 3L, 3L, 1L, 0L, 2L, 2L, 0L, >> 0L, 1L, 1L, 1L, 0L, 0L, 3L, 2L, 3L, 1L, 1L, 2L, 1L, 0L, 3L, 0L, 0L, 0L, 3L, >> 0L, 3L, 2L, 1L, 0L, 3L, 1L, 3L, 1L, 1L, 3L, 1L, 2L, 0L, 1L, 0L, 3L, 1L, 0L, >> 3L, 2L, 1L, 2L, 3L, 3L, 2L, 1L, 3L, 0L, 1L, 2L, 3L, 3L, 0L, 0L, 0L, 2L, 3L, >> 3L, 1L, 3L, 3L, 1L, 0L, 3L) >> >> Output = (2L, 0L, 1L, 1L, 3L, 2L, 3L, 3L, 1L, 0L, 2L, 2L, 0L, 0L, 1L, 1L, >> 1L, 0L, 0L, 3L, 2L, 3L, 1L, 1L, 2L, 1L, 0L, 3L, 0L, 0L, 0L, 3L, 0L, 3L, 2L, >> 1L, 0L, 3L, 1L, 3L, 1L, 1L, 3L, 1L, 2L, 0L, 1L, 0L, 3L, 1L, 0L, 3L, 2L, 1L, >> 2L, 3L, 3L, 2L, 1L, 3L, 0L, 1L, 2L, 3L, 3L, 0L, 0L, 0L, 2L, 3L, 3L, 1L) >> >> How should i calculate the error now? >> Should i use Delay block? >> >> On Thu, Aug 6, 2015 at 2:34 AM, Johnathan Corgan < >> <[email protected]>[email protected]> wrote: >> >>> On Wed, Aug 5, 2015 at 12:51 PM, Martin Braun < <[email protected]> >>> [email protected]> wrote: >>> >>> >>>> Try >>>> >>>> noise_voltage = self.EbN0_to_noise_voltage(EbN0)/sqrt(2) >>>> >>>> the original berawgn.py was already buggy, because it didn't follow a >>>> recent change in the noise power. I've submitted a patch, but it >>>> probably won't be merged before the release cycle is reset (cf >>>> >>>> https://github.com/gnuradio/gnuradio/compare/master...mbr0wn:digital/berawgn_fix_noisepower?expand=1 >>>> ). >>> >>> >>> This did get merged for 3.7.8 release. >>> >>> >>> -- >>> Johnathan Corgan >>> Corgan Labs - SDR Training and Development Services >>> Intro to SDR Class - Aug. 31-Sep. 1, Columbia, MD >>> Intro to SDR Class - Sep. 3-4, Santa Clara, CA >>> <http://corganlabs.com>http://corganlabs.com >>> >>> _______________________________________________ >>> Discuss-gnuradio mailing list >>> [email protected] >>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >>> >>> >> >> >> _______________________________________________ >> Discuss-gnuradio mailing >> [email protected]https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> >> >> >> _______________________________________________ >> Discuss-gnuradio mailing list >> [email protected] >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> >> > >
_______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
