Home Forums SYSTEM variable attenuation in a single FSO

Viewing 3 reply threads
  • Author
    Posts
    • #29630
      marvi grover
      Participant

      hello everyone!!

      i need to know how can we introduce variable attenuation in a single FSO system using optisystem.
      can anybody help me with this.
      i shall be thankful.

      Regards
      Marvi

    • #29646
      alistu
      Participant

      Hi Marvi,

      In order to introduce such a parameter, you can use script mode for the attenuation parameter and then write a formula with some variables. I have explained this in more detail in the following forum topic:

      Use Matlab to change the attenuation in FSO channel

      Regards

      • #29672
        marvi grover
        Participant

        thankyou so much Alistu.

        in that system, the rain rate has been fixed at ‘2’, how can i make this value variable??? for example : the formula i want to implement is attenuation = (3.91/v)(1550/550)^-q , where v is the visibility in kilometers and q is some number. so i will write this formula in th script of attenuation, but i want the values of v and q to be variable, that is they change according to some condition which will be specified in the matlab component that i will be attaching before the FSO channel.
        how can i do this??
        please suggest me a solution

        regards
        marvi

        • #29675
          alistu
          Participant

          You’re welcome Marvi. If I am getting it correctly, you want the attenuation to change with time in the middle of calculations according to parameters defined by Matlab component. I hope you realize it is hard to talk about it when I don’t know anything about the program and so on, but I think the signal is only sent once from Matlab component into the fiber in OptiSystem and attenuation is calculated only once. This should be taken into consideration.

        • #29676
          marvi grover
          Participant

          yes alistu, i want the attenuation to change, but yes you are right, it is not possible to change it in the middle of calculation.
          but is there some option available where i can specify the global parameter as a “variable” for example visibility as ‘v’, and then relate to a matlab variable, so that if i change the value of ‘v’ in matlab component, then this value of v is used in the formula for attenuation calculationin optisystem.
          how do i relate a matlab variable to optisystem “variable”.

          waiting for your reply
          regards
          marvi

        • #29682
          alistu
          Participant

          Unfortunately I don’t know how it is possible to export any parameters from Matlab component to optiSystem where the value of that parameter can be used via script mode for another parameter. However, the attenuation can be entered from a file as you can see in fiber properties. What I am not sure in here is whether the values of the attenuation should only be versus wavelength, or it is possible to use attenuation values versus time in the file. If the second option is possible, maybe something could be done in your case to change attenuation versus time.

        • #29683
          marvi grover
          Participant

          ok alistu . thankyou so much for your help.

        • #29685
          alistu
          Participant

          You’re welcome.

          Regards

        • #29689
          marvi grover
          Participant

          hii alistu
          i need some more help.
          when i am including the matlab component in optisystem , and i click on its properties, i am not getting the ‘ user parameters’ tab in it, which is shown in the tutorial.
          i am attaching the screenshot of it. please help me to get it

        • #29691
          alistu
          Participant

          I cannot see it in my installed OptiSystem version either. And I am using version 13.0.3. The tutorial seems to have been made using an older version of the software, but the parameters can most probably be found in other tabs. Is there any specific parameter that you are looking for?

        • #29696
          marvi grover
          Participant

          in the user manual about how to add matlab component ,it is written that the input parameters of the component have to be specified in the matalab component properties. so i think user parameter tab is neccessary to specify the input parameters which i will be using in my matlab code. i am attaching a screenshot.

        • #29698
          alistu
          Participant

          In the newer OptiSystem versions, you can add the new parameter in the main tab of the properties window. You can see an “Add Param…” button on the right side of the Matlab component properties window. Using that button you can add your new parameters which all appear under the “main” tab.

        • #29700
          marvi grover
          Participant

          yes alistu, thankyou so much
          i was able to add the parameter but now i am getting error in my matlab code, i am the screenshots.
          i am getting an error in the first line “outputport1=inputort1”
          i read your reply for the same problem in the forum but m nt able to correct it. i am opening the program using tha command windoe only.
          please have a look to find out what the prblem is.

          thankyou

        • #29703
          marvi grover
          Participant

          i think i have not used the array editor shown in the tutorial.perhaps that is the reason for this error but i am not able to find the array editor, how to open it ??
          it is in matlab or optisystem???

        • #29704
          alistu
          Participant

          You’re welcome. If you are using the example from OptiSystem and have given the right address, then I really don’t think there should be any problem. BTW, by putting .osd and .m files in the same folder, you won’t need to address the .m file in .osd Matlab component. Can you please mention the error you are receiving while running the co-simulation?

    • #29653
      prakash jat
      Participant

      hi alistu
      can you send me more example file like on dynamic scintillation index ,attenuation ? please

      • #29655
        alistu
        Participant

        I don’t have any other examples of attenuation being considered in such a way in OptiSystem, but if you would like to see any other examples, you can introduce a formula and I will show you how to use script mode. BTW, enabling scintillation intensity adds scintillation to the channel by OptiSystem (Index refraction structure can be determined under “enhanced” category).

    • #29705
      alistu
      Participant

      In order to open array editor, you need to open matlab command window using the option in Matlab component before running the simulation. After running the simulation, type “workspace” in Matlab command window and there, you can choose arrays and functions. This helps better understand what is going on, but is not necessary for the program to run correctly.

      • #29753
        marvi grover
        Participant

        ok Alistu
        thanx a lot for your help.
        here is a new question i wanted to ask about the component ‘fork’ used in optisystem. what is the exact function of the fork. in the ‘help’ about the fork, it is written that it copies the input to multiple output port, but i have a doubt here, if the fork copies the input to the output, then the power of each signal at the output should be same as the input signal , i am attaching a screenshot of a system, refering to that….how can we give one signal of a particular power at the input and rceive many signals of the same power at the output????
        is there some power multiplier or something like that present in the fork.

        • #29755
          alistu
          Participant

          You are right about no such component being present in practice. Components that increase power in practice are amplifiers which, of course, add noise to the signal. However, when you want to have several copies of the same signal, you can use it as a tool in OptiSystem. I think I have read the paper whose image you have attached and I believe the use of fork was not correct there.

        • #29756
          marvi grover
          Participant

          okk, thankyou Alistu.

          actually i have seen ‘fork’ being attached in a lot of systems which have done simulation using optisystem. all of them have used it for the duplication of the input signal, but i think there must be some practical justification to the use of this component which i am not able to find. beacuse ultimately these systems have to be realized practically. CAn we ask Damian Marek about this??, may be he has some more knowledge.
          please let me know if u find out out something about this.
          i shall be really grateful.

          Regards
          Marvi

        • #29763
          alistu
          Participant

          You’re welcome Marvi. Damian can definitely explain this better, but let me give another example: In the system shown in the attached image, you can see two schemes being compared together. Instead of using two PRBS generators, only one is used and then a fork is added. Obviously, such a thing is not implemented in practice, but the use of fork suits the purpose of comparison.

          Regards

        • #29772
          marvi grover
          Participant

          yes Alistu..
          in the system which you have attached, the function of fork is quite justified for the simulation purposes.
          thankyou so much for the help.
          regards
          marvi

        • #29773
          alistu
          Participant

          You’re welcome Marvi. In other words (in a better eplanation), the use of fork in the attached example is not to duplicate power (or to amplify the signal) in order to get better results in terms of BER and Q-factor. If you have doubts about using fork in any particular case, feel free to ask.

          Regards

Viewing 3 reply threads
  • You must be logged in to reply to this topic.