-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 As a rule of thumb with expected error rate BERe:
num simulation bits: (1 / BERe) * 100 that's more like a minimum. It's probably better to go for * 1000. Also if you use BER block, it has a parameter ' BER Min. Errors'. As long as it didn't count at least this amount of errors it'll not output anything. Depending on your code and your SNR 8-12dB I'd expect you need at least 1Gbit or in case of SNR=12dB more towards 100Gbit in order to obtain meaningful results. Hope that helps. On 06.08.2015 11:31, monika bansal wrote: > 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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 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:digit al/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/d iscuss-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 > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJVwyrLAAoJEO7fmkDsqywMumwQAJ9YXsjZrX051rtAp61Rrbdp PqsblRAqNAy2kXNGVX+Ag1B9BUnSqsIpSZVgYCvXqiPH8Cy9qAGFv3EkPPk80BN0 O+4zzIFCovnPXHHnJB90ntyUUvHZlUd5TTDRn0RNzMSvI1ABg+ssk7pUYM424vvO wTMBA4yP41aCr7nbYDowpMd+GnzdC0nwpxpTVdEVX8yS8PlhECAv45/U2Ze/6CT2 EcK3pUIZRTgZlWezrS1mqD5afGqNYPHz1WhPQx05Hx2OjyP2wNwPx9RA6VKhIosU iywpvz4zdpbaKFEpgTwB6h0w0+CeclnqmipSP+hPIkUmFa7kbQyzNjAn5WTYfQrd Ne+v2W9ztxQlbvihswVmHdrBxwk2/gDlL6pzBWy6zf2T0NfAJxlW/zcOQlVc+fEs tL5l0ZVNha0Ppam2I6jxKzINMDOm3Gln0h3F75FD9CpcTyHRKxV9a8Sg4BCi4jei +l6rnT4mhQk6RirDBOXUwWIXLbk28RLAWYNL8Jyn0n7M50ax7WMGXBS+yDUf/G1A mmiLAFm1ATZRHBN1Aw99DXkI/LN+qp10oUYkKRcx7Ji3z6Oc+CKIqE0r9QBck0qS z0JfxOG9N1z+iEgWJ/Ui4GZx85zHJVkmyHQs72QTecoFnhO1j/GWqeRRAyyWDTJ8 zMsQVtreQnqYEPkSSQKK =rixl -----END PGP SIGNATURE----- _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
