Why can't the orthogonal PN codes help in the near-far effect?












4












$begingroup$


The CDMA near far problem arises because handsets may be anywhere within the particular cell boundaries. Some handsets will be close to the base station, whereas others will be much further away. In a free space scenario signals decay according a an inverse square law...signals within a cell will have a huge variation in signal strengths. For the receiver to be able to decode all the signals in the channel, they should ideally all be at the same signal strength





I got the above information on a website while trying to understand the near-far problem. I understood the basic concept that the mobile devices near the base station will have a higher amplitude when the signal reaches the base station as compared to the ones far away. But, can't the orthogonal PN sequences used in CDMA be able to handle this. As I recall, the sequences when ex-ored with each other will produce a string of all zeros.
Note that this question has already been answered here. There It has been mentioned that, the mobile phones dont have orthogonal codes. What if they did ? would that solve the near-far problem ? If not, can I know why ?
Basically, In short, If 2 mobile phone signals reach the base station at different levels of power but have Orthogonal codes, wouldnt that solve the near-far problem ?










share|improve this question









$endgroup$












  • $begingroup$
    The correlators have finite dynamic range.
    $endgroup$
    – analogsystemsrf
    Jan 10 at 4:24
















4












$begingroup$


The CDMA near far problem arises because handsets may be anywhere within the particular cell boundaries. Some handsets will be close to the base station, whereas others will be much further away. In a free space scenario signals decay according a an inverse square law...signals within a cell will have a huge variation in signal strengths. For the receiver to be able to decode all the signals in the channel, they should ideally all be at the same signal strength





I got the above information on a website while trying to understand the near-far problem. I understood the basic concept that the mobile devices near the base station will have a higher amplitude when the signal reaches the base station as compared to the ones far away. But, can't the orthogonal PN sequences used in CDMA be able to handle this. As I recall, the sequences when ex-ored with each other will produce a string of all zeros.
Note that this question has already been answered here. There It has been mentioned that, the mobile phones dont have orthogonal codes. What if they did ? would that solve the near-far problem ? If not, can I know why ?
Basically, In short, If 2 mobile phone signals reach the base station at different levels of power but have Orthogonal codes, wouldnt that solve the near-far problem ?










share|improve this question









$endgroup$












  • $begingroup$
    The correlators have finite dynamic range.
    $endgroup$
    – analogsystemsrf
    Jan 10 at 4:24














4












4








4





$begingroup$


The CDMA near far problem arises because handsets may be anywhere within the particular cell boundaries. Some handsets will be close to the base station, whereas others will be much further away. In a free space scenario signals decay according a an inverse square law...signals within a cell will have a huge variation in signal strengths. For the receiver to be able to decode all the signals in the channel, they should ideally all be at the same signal strength





I got the above information on a website while trying to understand the near-far problem. I understood the basic concept that the mobile devices near the base station will have a higher amplitude when the signal reaches the base station as compared to the ones far away. But, can't the orthogonal PN sequences used in CDMA be able to handle this. As I recall, the sequences when ex-ored with each other will produce a string of all zeros.
Note that this question has already been answered here. There It has been mentioned that, the mobile phones dont have orthogonal codes. What if they did ? would that solve the near-far problem ? If not, can I know why ?
Basically, In short, If 2 mobile phone signals reach the base station at different levels of power but have Orthogonal codes, wouldnt that solve the near-far problem ?










share|improve this question









$endgroup$




The CDMA near far problem arises because handsets may be anywhere within the particular cell boundaries. Some handsets will be close to the base station, whereas others will be much further away. In a free space scenario signals decay according a an inverse square law...signals within a cell will have a huge variation in signal strengths. For the receiver to be able to decode all the signals in the channel, they should ideally all be at the same signal strength





I got the above information on a website while trying to understand the near-far problem. I understood the basic concept that the mobile devices near the base station will have a higher amplitude when the signal reaches the base station as compared to the ones far away. But, can't the orthogonal PN sequences used in CDMA be able to handle this. As I recall, the sequences when ex-ored with each other will produce a string of all zeros.
Note that this question has already been answered here. There It has been mentioned that, the mobile phones dont have orthogonal codes. What if they did ? would that solve the near-far problem ? If not, can I know why ?
Basically, In short, If 2 mobile phone signals reach the base station at different levels of power but have Orthogonal codes, wouldnt that solve the near-far problem ?







wireless mobile






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 9 at 15:31









ADzADz

233




233












  • $begingroup$
    The correlators have finite dynamic range.
    $endgroup$
    – analogsystemsrf
    Jan 10 at 4:24


















  • $begingroup$
    The correlators have finite dynamic range.
    $endgroup$
    – analogsystemsrf
    Jan 10 at 4:24
















$begingroup$
The correlators have finite dynamic range.
$endgroup$
– analogsystemsrf
Jan 10 at 4:24




$begingroup$
The correlators have finite dynamic range.
$endgroup$
– analogsystemsrf
Jan 10 at 4:24










3 Answers
3






active

oldest

votes


















6












$begingroup$


the orthogonal PN sequences used in CDMA be able to handle this?




Orthogonal PN sequences could.



In reality, you don't get these – frequency and timing offsets, and trade-offs during the design phase mean that you only get approximately orthogonal sequences.



So, even if the cross-correlation between what TX1 and TX2 transmits is say -50 dB, but TX2 is 53 dB stronger at the receiver than TX1, then TX1's energy after correlation with the matching PN sequence is still only half of that of TX2's interference.






share|improve this answer









$endgroup$





















    4












    $begingroup$

    Well, the clue is in the last sentence. The receiver has to reliably detect the number of received signals (e.g. 1's in the code sequence), since they add up on the receiver end.



    If there are two handsets, one with a received signal strength of say, 10 (disregarding exact units) and another one with a strength of 1, then we have total incoming signal strenghts of 0, 1, 10 and 11 (again, over-simplifying). That's pretty difficult to separate for a receiver as 4 different levels. Now if the ratio is 100:1, which is not unlikely with radios, the levels are 0, 1, 100 and 101; impossible to separate.



    When the units are more or less equal in power, we get values 0, 1 and 2 (no, not 3). Much easier to separate and detect.






    share|improve this answer









    $endgroup$













    • $begingroup$
      Sort of. Extend your voting model to the simpler case of sinusoidal carriers (ie, classic narrowband radio), and think about the fact that it does work across huge power differences, provided that the codes are truly orthogonal and that the system remains linear. For a code receiver, linearity is a function of the instantaneous dynamic range of the pre-digital stages, in effect, if 10000 + 1 = 10001 or if it might compress or quantize to 10000. And as Marcus pointed out, orthogonality may be limited too.
      $endgroup$
      – Chris Stratton
      Jan 9 at 16:50



















    3












    $begingroup$

    CDMA is very unique in comparison with other multiplexing schemes because it doesn't (even in the ideal case) completely remove interference from other users. In an ideal time based (i.e TDMA) or an ideal frequency based (i.e FDMA) you can effectively remove all interference from other users, whilst in a CDMA scheme all you are doing is effectively scaling down other users' interference by a factor of $N$, where $N$ is the length of the spreading codes.



    So if you have a two users $a$ and $b$ both transmitting to a common receiver using a common power level of $P$ but the power levels being received are $P_a$ and $P_b$ respectively (because one is near and the other is far away) then in an ideal FDMA system and transmitting over unit channel gain then you would have the normal SNR formula of



    $$
    SNR_a = frac{P_a}{P_N}
    $$



    for user $a$ and a formula of



    $$
    SNR_b = frac{P_b}{P_N}
    $$



    for user $b$. $P_N$ is the noise power. So it's basically a pure multiplexing scheme and so provided the two SNR values above are above your receiver's sensitivity then you should be able to decode them just fine. In an ideal CDMA scheme however the interference from other users is not removed but instead just scaled back by a factor of $N$ so the SNR for user $a$ would be



    $$
    SNR_a = frac{P_a}{frac{P_b}{N} + P_N}
    $$



    and for user $b$ it's



    $$
    SNR_b = frac{P_b}{frac{P_a}{N} + P_N}
    $$



    Now, if your orthogonal spreading sequence length $N$ is long enough this isn't an issue as this SNR will effectively be the same as in the first case. If on the other hand $N$ is not very long and you have one device near and the other one far then you will have $P_a >> P_b$ if user $b$ is far away. This can then cause $SNR_b$ to fall below the receive sensitivity of the receiver and make it hard for you to receive packets from $b$. You can mitigate this near far problem to a great extent by using long perfectly orthogonal PN sequences. In a lot of cases though PN sequences that are not perfectly orthogonal are used, the interference from other users is then reduced by a factor slightly lower than the PN sequence length. This exacerbates the "near far" problem.






    share|improve this answer











    $endgroup$













      Your Answer





      StackExchange.ifUsing("editor", function () {
      return StackExchange.using("mathjaxEditing", function () {
      StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
      StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["\$", "\$"]]);
      });
      });
      }, "mathjax-editing");

      StackExchange.ifUsing("editor", function () {
      return StackExchange.using("schematics", function () {
      StackExchange.schematics.init();
      });
      }, "cicuitlab");

      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "135"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f416054%2fwhy-cant-the-orthogonal-pn-codes-help-in-the-near-far-effect%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      6












      $begingroup$


      the orthogonal PN sequences used in CDMA be able to handle this?




      Orthogonal PN sequences could.



      In reality, you don't get these – frequency and timing offsets, and trade-offs during the design phase mean that you only get approximately orthogonal sequences.



      So, even if the cross-correlation between what TX1 and TX2 transmits is say -50 dB, but TX2 is 53 dB stronger at the receiver than TX1, then TX1's energy after correlation with the matching PN sequence is still only half of that of TX2's interference.






      share|improve this answer









      $endgroup$


















        6












        $begingroup$


        the orthogonal PN sequences used in CDMA be able to handle this?




        Orthogonal PN sequences could.



        In reality, you don't get these – frequency and timing offsets, and trade-offs during the design phase mean that you only get approximately orthogonal sequences.



        So, even if the cross-correlation between what TX1 and TX2 transmits is say -50 dB, but TX2 is 53 dB stronger at the receiver than TX1, then TX1's energy after correlation with the matching PN sequence is still only half of that of TX2's interference.






        share|improve this answer









        $endgroup$
















          6












          6








          6





          $begingroup$


          the orthogonal PN sequences used in CDMA be able to handle this?




          Orthogonal PN sequences could.



          In reality, you don't get these – frequency and timing offsets, and trade-offs during the design phase mean that you only get approximately orthogonal sequences.



          So, even if the cross-correlation between what TX1 and TX2 transmits is say -50 dB, but TX2 is 53 dB stronger at the receiver than TX1, then TX1's energy after correlation with the matching PN sequence is still only half of that of TX2's interference.






          share|improve this answer









          $endgroup$




          the orthogonal PN sequences used in CDMA be able to handle this?




          Orthogonal PN sequences could.



          In reality, you don't get these – frequency and timing offsets, and trade-offs during the design phase mean that you only get approximately orthogonal sequences.



          So, even if the cross-correlation between what TX1 and TX2 transmits is say -50 dB, but TX2 is 53 dB stronger at the receiver than TX1, then TX1's energy after correlation with the matching PN sequence is still only half of that of TX2's interference.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 9 at 15:57









          Marcus MüllerMarcus Müller

          32.7k35895




          32.7k35895

























              4












              $begingroup$

              Well, the clue is in the last sentence. The receiver has to reliably detect the number of received signals (e.g. 1's in the code sequence), since they add up on the receiver end.



              If there are two handsets, one with a received signal strength of say, 10 (disregarding exact units) and another one with a strength of 1, then we have total incoming signal strenghts of 0, 1, 10 and 11 (again, over-simplifying). That's pretty difficult to separate for a receiver as 4 different levels. Now if the ratio is 100:1, which is not unlikely with radios, the levels are 0, 1, 100 and 101; impossible to separate.



              When the units are more or less equal in power, we get values 0, 1 and 2 (no, not 3). Much easier to separate and detect.






              share|improve this answer









              $endgroup$













              • $begingroup$
                Sort of. Extend your voting model to the simpler case of sinusoidal carriers (ie, classic narrowband radio), and think about the fact that it does work across huge power differences, provided that the codes are truly orthogonal and that the system remains linear. For a code receiver, linearity is a function of the instantaneous dynamic range of the pre-digital stages, in effect, if 10000 + 1 = 10001 or if it might compress or quantize to 10000. And as Marcus pointed out, orthogonality may be limited too.
                $endgroup$
                – Chris Stratton
                Jan 9 at 16:50
















              4












              $begingroup$

              Well, the clue is in the last sentence. The receiver has to reliably detect the number of received signals (e.g. 1's in the code sequence), since they add up on the receiver end.



              If there are two handsets, one with a received signal strength of say, 10 (disregarding exact units) and another one with a strength of 1, then we have total incoming signal strenghts of 0, 1, 10 and 11 (again, over-simplifying). That's pretty difficult to separate for a receiver as 4 different levels. Now if the ratio is 100:1, which is not unlikely with radios, the levels are 0, 1, 100 and 101; impossible to separate.



              When the units are more or less equal in power, we get values 0, 1 and 2 (no, not 3). Much easier to separate and detect.






              share|improve this answer









              $endgroup$













              • $begingroup$
                Sort of. Extend your voting model to the simpler case of sinusoidal carriers (ie, classic narrowband radio), and think about the fact that it does work across huge power differences, provided that the codes are truly orthogonal and that the system remains linear. For a code receiver, linearity is a function of the instantaneous dynamic range of the pre-digital stages, in effect, if 10000 + 1 = 10001 or if it might compress or quantize to 10000. And as Marcus pointed out, orthogonality may be limited too.
                $endgroup$
                – Chris Stratton
                Jan 9 at 16:50














              4












              4








              4





              $begingroup$

              Well, the clue is in the last sentence. The receiver has to reliably detect the number of received signals (e.g. 1's in the code sequence), since they add up on the receiver end.



              If there are two handsets, one with a received signal strength of say, 10 (disregarding exact units) and another one with a strength of 1, then we have total incoming signal strenghts of 0, 1, 10 and 11 (again, over-simplifying). That's pretty difficult to separate for a receiver as 4 different levels. Now if the ratio is 100:1, which is not unlikely with radios, the levels are 0, 1, 100 and 101; impossible to separate.



              When the units are more or less equal in power, we get values 0, 1 and 2 (no, not 3). Much easier to separate and detect.






              share|improve this answer









              $endgroup$



              Well, the clue is in the last sentence. The receiver has to reliably detect the number of received signals (e.g. 1's in the code sequence), since they add up on the receiver end.



              If there are two handsets, one with a received signal strength of say, 10 (disregarding exact units) and another one with a strength of 1, then we have total incoming signal strenghts of 0, 1, 10 and 11 (again, over-simplifying). That's pretty difficult to separate for a receiver as 4 different levels. Now if the ratio is 100:1, which is not unlikely with radios, the levels are 0, 1, 100 and 101; impossible to separate.



              When the units are more or less equal in power, we get values 0, 1 and 2 (no, not 3). Much easier to separate and detect.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Jan 9 at 15:49









              JvOJvO

              540210




              540210












              • $begingroup$
                Sort of. Extend your voting model to the simpler case of sinusoidal carriers (ie, classic narrowband radio), and think about the fact that it does work across huge power differences, provided that the codes are truly orthogonal and that the system remains linear. For a code receiver, linearity is a function of the instantaneous dynamic range of the pre-digital stages, in effect, if 10000 + 1 = 10001 or if it might compress or quantize to 10000. And as Marcus pointed out, orthogonality may be limited too.
                $endgroup$
                – Chris Stratton
                Jan 9 at 16:50


















              • $begingroup$
                Sort of. Extend your voting model to the simpler case of sinusoidal carriers (ie, classic narrowband radio), and think about the fact that it does work across huge power differences, provided that the codes are truly orthogonal and that the system remains linear. For a code receiver, linearity is a function of the instantaneous dynamic range of the pre-digital stages, in effect, if 10000 + 1 = 10001 or if it might compress or quantize to 10000. And as Marcus pointed out, orthogonality may be limited too.
                $endgroup$
                – Chris Stratton
                Jan 9 at 16:50
















              $begingroup$
              Sort of. Extend your voting model to the simpler case of sinusoidal carriers (ie, classic narrowband radio), and think about the fact that it does work across huge power differences, provided that the codes are truly orthogonal and that the system remains linear. For a code receiver, linearity is a function of the instantaneous dynamic range of the pre-digital stages, in effect, if 10000 + 1 = 10001 or if it might compress or quantize to 10000. And as Marcus pointed out, orthogonality may be limited too.
              $endgroup$
              – Chris Stratton
              Jan 9 at 16:50




              $begingroup$
              Sort of. Extend your voting model to the simpler case of sinusoidal carriers (ie, classic narrowband radio), and think about the fact that it does work across huge power differences, provided that the codes are truly orthogonal and that the system remains linear. For a code receiver, linearity is a function of the instantaneous dynamic range of the pre-digital stages, in effect, if 10000 + 1 = 10001 or if it might compress or quantize to 10000. And as Marcus pointed out, orthogonality may be limited too.
              $endgroup$
              – Chris Stratton
              Jan 9 at 16:50











              3












              $begingroup$

              CDMA is very unique in comparison with other multiplexing schemes because it doesn't (even in the ideal case) completely remove interference from other users. In an ideal time based (i.e TDMA) or an ideal frequency based (i.e FDMA) you can effectively remove all interference from other users, whilst in a CDMA scheme all you are doing is effectively scaling down other users' interference by a factor of $N$, where $N$ is the length of the spreading codes.



              So if you have a two users $a$ and $b$ both transmitting to a common receiver using a common power level of $P$ but the power levels being received are $P_a$ and $P_b$ respectively (because one is near and the other is far away) then in an ideal FDMA system and transmitting over unit channel gain then you would have the normal SNR formula of



              $$
              SNR_a = frac{P_a}{P_N}
              $$



              for user $a$ and a formula of



              $$
              SNR_b = frac{P_b}{P_N}
              $$



              for user $b$. $P_N$ is the noise power. So it's basically a pure multiplexing scheme and so provided the two SNR values above are above your receiver's sensitivity then you should be able to decode them just fine. In an ideal CDMA scheme however the interference from other users is not removed but instead just scaled back by a factor of $N$ so the SNR for user $a$ would be



              $$
              SNR_a = frac{P_a}{frac{P_b}{N} + P_N}
              $$



              and for user $b$ it's



              $$
              SNR_b = frac{P_b}{frac{P_a}{N} + P_N}
              $$



              Now, if your orthogonal spreading sequence length $N$ is long enough this isn't an issue as this SNR will effectively be the same as in the first case. If on the other hand $N$ is not very long and you have one device near and the other one far then you will have $P_a >> P_b$ if user $b$ is far away. This can then cause $SNR_b$ to fall below the receive sensitivity of the receiver and make it hard for you to receive packets from $b$. You can mitigate this near far problem to a great extent by using long perfectly orthogonal PN sequences. In a lot of cases though PN sequences that are not perfectly orthogonal are used, the interference from other users is then reduced by a factor slightly lower than the PN sequence length. This exacerbates the "near far" problem.






              share|improve this answer











              $endgroup$


















                3












                $begingroup$

                CDMA is very unique in comparison with other multiplexing schemes because it doesn't (even in the ideal case) completely remove interference from other users. In an ideal time based (i.e TDMA) or an ideal frequency based (i.e FDMA) you can effectively remove all interference from other users, whilst in a CDMA scheme all you are doing is effectively scaling down other users' interference by a factor of $N$, where $N$ is the length of the spreading codes.



                So if you have a two users $a$ and $b$ both transmitting to a common receiver using a common power level of $P$ but the power levels being received are $P_a$ and $P_b$ respectively (because one is near and the other is far away) then in an ideal FDMA system and transmitting over unit channel gain then you would have the normal SNR formula of



                $$
                SNR_a = frac{P_a}{P_N}
                $$



                for user $a$ and a formula of



                $$
                SNR_b = frac{P_b}{P_N}
                $$



                for user $b$. $P_N$ is the noise power. So it's basically a pure multiplexing scheme and so provided the two SNR values above are above your receiver's sensitivity then you should be able to decode them just fine. In an ideal CDMA scheme however the interference from other users is not removed but instead just scaled back by a factor of $N$ so the SNR for user $a$ would be



                $$
                SNR_a = frac{P_a}{frac{P_b}{N} + P_N}
                $$



                and for user $b$ it's



                $$
                SNR_b = frac{P_b}{frac{P_a}{N} + P_N}
                $$



                Now, if your orthogonal spreading sequence length $N$ is long enough this isn't an issue as this SNR will effectively be the same as in the first case. If on the other hand $N$ is not very long and you have one device near and the other one far then you will have $P_a >> P_b$ if user $b$ is far away. This can then cause $SNR_b$ to fall below the receive sensitivity of the receiver and make it hard for you to receive packets from $b$. You can mitigate this near far problem to a great extent by using long perfectly orthogonal PN sequences. In a lot of cases though PN sequences that are not perfectly orthogonal are used, the interference from other users is then reduced by a factor slightly lower than the PN sequence length. This exacerbates the "near far" problem.






                share|improve this answer











                $endgroup$
















                  3












                  3








                  3





                  $begingroup$

                  CDMA is very unique in comparison with other multiplexing schemes because it doesn't (even in the ideal case) completely remove interference from other users. In an ideal time based (i.e TDMA) or an ideal frequency based (i.e FDMA) you can effectively remove all interference from other users, whilst in a CDMA scheme all you are doing is effectively scaling down other users' interference by a factor of $N$, where $N$ is the length of the spreading codes.



                  So if you have a two users $a$ and $b$ both transmitting to a common receiver using a common power level of $P$ but the power levels being received are $P_a$ and $P_b$ respectively (because one is near and the other is far away) then in an ideal FDMA system and transmitting over unit channel gain then you would have the normal SNR formula of



                  $$
                  SNR_a = frac{P_a}{P_N}
                  $$



                  for user $a$ and a formula of



                  $$
                  SNR_b = frac{P_b}{P_N}
                  $$



                  for user $b$. $P_N$ is the noise power. So it's basically a pure multiplexing scheme and so provided the two SNR values above are above your receiver's sensitivity then you should be able to decode them just fine. In an ideal CDMA scheme however the interference from other users is not removed but instead just scaled back by a factor of $N$ so the SNR for user $a$ would be



                  $$
                  SNR_a = frac{P_a}{frac{P_b}{N} + P_N}
                  $$



                  and for user $b$ it's



                  $$
                  SNR_b = frac{P_b}{frac{P_a}{N} + P_N}
                  $$



                  Now, if your orthogonal spreading sequence length $N$ is long enough this isn't an issue as this SNR will effectively be the same as in the first case. If on the other hand $N$ is not very long and you have one device near and the other one far then you will have $P_a >> P_b$ if user $b$ is far away. This can then cause $SNR_b$ to fall below the receive sensitivity of the receiver and make it hard for you to receive packets from $b$. You can mitigate this near far problem to a great extent by using long perfectly orthogonal PN sequences. In a lot of cases though PN sequences that are not perfectly orthogonal are used, the interference from other users is then reduced by a factor slightly lower than the PN sequence length. This exacerbates the "near far" problem.






                  share|improve this answer











                  $endgroup$



                  CDMA is very unique in comparison with other multiplexing schemes because it doesn't (even in the ideal case) completely remove interference from other users. In an ideal time based (i.e TDMA) or an ideal frequency based (i.e FDMA) you can effectively remove all interference from other users, whilst in a CDMA scheme all you are doing is effectively scaling down other users' interference by a factor of $N$, where $N$ is the length of the spreading codes.



                  So if you have a two users $a$ and $b$ both transmitting to a common receiver using a common power level of $P$ but the power levels being received are $P_a$ and $P_b$ respectively (because one is near and the other is far away) then in an ideal FDMA system and transmitting over unit channel gain then you would have the normal SNR formula of



                  $$
                  SNR_a = frac{P_a}{P_N}
                  $$



                  for user $a$ and a formula of



                  $$
                  SNR_b = frac{P_b}{P_N}
                  $$



                  for user $b$. $P_N$ is the noise power. So it's basically a pure multiplexing scheme and so provided the two SNR values above are above your receiver's sensitivity then you should be able to decode them just fine. In an ideal CDMA scheme however the interference from other users is not removed but instead just scaled back by a factor of $N$ so the SNR for user $a$ would be



                  $$
                  SNR_a = frac{P_a}{frac{P_b}{N} + P_N}
                  $$



                  and for user $b$ it's



                  $$
                  SNR_b = frac{P_b}{frac{P_a}{N} + P_N}
                  $$



                  Now, if your orthogonal spreading sequence length $N$ is long enough this isn't an issue as this SNR will effectively be the same as in the first case. If on the other hand $N$ is not very long and you have one device near and the other one far then you will have $P_a >> P_b$ if user $b$ is far away. This can then cause $SNR_b$ to fall below the receive sensitivity of the receiver and make it hard for you to receive packets from $b$. You can mitigate this near far problem to a great extent by using long perfectly orthogonal PN sequences. In a lot of cases though PN sequences that are not perfectly orthogonal are used, the interference from other users is then reduced by a factor slightly lower than the PN sequence length. This exacerbates the "near far" problem.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Jan 9 at 21:02

























                  answered Jan 9 at 20:07









                  KillaKemKillaKem

                  1,28921122




                  1,28921122






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Electrical Engineering Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      Use MathJax to format equations. MathJax reference.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f416054%2fwhy-cant-the-orthogonal-pn-codes-help-in-the-near-far-effect%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Mario Kart Wii

                      What does “Dominus providebit” mean?

                      The Binding of Isaac: Rebirth/Afterbirth