{"id":2432,"date":"2014-10-30T08:17:03","date_gmt":"2014-10-30T08:17:03","guid":{"rendered":"http:\/\/www.raymaps.com\/?p=2432"},"modified":"2014-12-10T06:43:15","modified_gmt":"2014-12-10T06:43:15","slug":"noise-calibration-in-simulation-of-communication-systems","status":"publish","type":"post","link":"https:\/\/www.raymaps.com\/index.php\/noise-calibration-in-simulation-of-communication-systems\/","title":{"rendered":"Noise Calibration in Simulation of Communication Systems"},"content":{"rendered":"<p style=\"text-align: justify;\">We have been using a wireless signal model in our simulations without going into the details of noise calibration for simulation. In this article we discuss this. Lets assume the received signal is given as<\/p>\n<p style=\"text-align: justify;\">r(t)=s(t)+n(t)<\/p>\n<p style=\"text-align: justify;\">where r(t) is the received signal s(t) is the transmitted signal and n(t) is the Additive White Gaussian Noise (AWGN). Channel fading is ignored at the moment.\u00a0Signal to noise ratio for simulation of digital communication systems is given as<\/p>\n<p style=\"text-align: justify;\">\u03c1=Eb\/No (1)<\/p>\n<p style=\"text-align: justify;\">Where Eb is the energy per bit and No is the noise Power Spectral Density (PSD). We also know that for the case of Additive White Gaussian Noise the noise power is given as [Tranter]<\/p>\n<p style=\"text-align: justify;\">\u03c3^2=(No\/2)*fs<\/p>\n<p style=\"text-align: justify;\">No=2*(\u03c3^2)\/fs<\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/www.raymaps.com\/index.php\/noise-calibration-in-simulation-of-communication-systems\/noise-psd\/\" rel=\"attachment wp-att-2441\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2441\" src=\"http:\/\/www.raymaps.com\/wp-content\/uploads\/2014\/10\/Noise-PSD.jpg\" alt=\"Noise PSD\" width=\"594\" height=\"252\" srcset=\"https:\/\/www.raymaps.com\/wp-content\/uploads\/2014\/10\/Noise-PSD.jpg 594w, https:\/\/www.raymaps.com\/wp-content\/uploads\/2014\/10\/Noise-PSD-300x127.jpg 300w\" sizes=\"auto, (max-width: 594px) 100vw, 594px\" \/><\/a>Where \u03c3 is the standard deviation of noise and fs is the sampling frequency. \u00a0Substituting in equation 1 we get<\/p>\n<p style=\"text-align: justify;\">\u03c1=Eb\/No=Eb\/(2*\u03c3^2\/fs )<\/p>\n<p style=\"text-align: justify;\">Eb\/No=(Eb*fs)\/(2*\u03c3^2)<\/p>\n<p style=\"text-align: justify;\">\u03c3^2=(Eb*fs)\/(2*Eb\/No )<\/p>\n<p style=\"text-align: justify;\">\u03c3=\u221a((Eb*fs)\/(2*Eb\/No ))<\/p>\n<p style=\"text-align: justify;\">If the energy per bit and the sampling frequency is set to 1 the above equation reduces to<\/p>\n<p style=\"text-align: justify;\">\u03c3=\u221a(1\/(2*Eb\/No ))<\/p>\n<p style=\"text-align: justify;\">The simulation software can thus calculate the noise standard deviation (or variance) for each value of Eb\/No in the simulation cycle. The following piece of MATLAB code generates AWGN with the required power and adds it to the transmitted signal.<\/p>\n<pre lang=\"matlab\">s=sign(rand-0.5);      % Generate a symbol\r\nsigma=1\/sqrt(2*EbNo);  % Calculate noise standard deviation\r\nn=sigma*randn;         % Generate AWGN with the required std dev \r\nr=s+n;                 % Add noise to the signal<\/pre>\n<p>How can we assume that energy per bit and sampling frequency is equal to one and are we breaking some discrete time signal processing rule here. This will be discussed in a later post.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have been using a wireless signal model in our simulations without going into the details of noise calibration for simulation. In this article we discuss this. Lets assume the received signal is given as r(t)=s(t)+n(t) where r(t) is the received signal s(t) is the transmitted signal and n(t) is the Additive White Gaussian Noise (AWGN). Channel fading is ignored at the moment.\u00a0Signal to noise ratio for simulation of digital communication systems is given as \u03c1=Eb\/No (1) Where Eb is the energy per bit and No is the noise Power Spectral Density (PSD). We also know that for the case [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[81],"tags":[77,109,84,110,111],"class_list":["post-2432","post","type-post","status-publish","format-standard","hentry","category-fundamentals","tag-awgn","tag-calibration","tag-noise","tag-psd","tag-sim"],"_links":{"self":[{"href":"https:\/\/www.raymaps.com\/index.php\/wp-json\/wp\/v2\/posts\/2432","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.raymaps.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.raymaps.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.raymaps.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.raymaps.com\/index.php\/wp-json\/wp\/v2\/comments?post=2432"}],"version-history":[{"count":10,"href":"https:\/\/www.raymaps.com\/index.php\/wp-json\/wp\/v2\/posts\/2432\/revisions"}],"predecessor-version":[{"id":2458,"href":"https:\/\/www.raymaps.com\/index.php\/wp-json\/wp\/v2\/posts\/2432\/revisions\/2458"}],"wp:attachment":[{"href":"https:\/\/www.raymaps.com\/index.php\/wp-json\/wp\/v2\/media?parent=2432"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.raymaps.com\/index.php\/wp-json\/wp\/v2\/categories?post=2432"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.raymaps.com\/index.php\/wp-json\/wp\/v2\/tags?post=2432"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}