• Регистрация
Дмитрий Анатольевич
Дмитрий Анатольевич +1.03
н/д

Simulink

05.12.2021

     Добрый день! Кто может подсказать, как самому реализовать блоки каналов связи с помехами в Simulink?

    Необходимо сгенерировать различные виды помех (узкополосные, широкополосные в части полосы, гармонические и т.д.) и добавить в канал связи.

     Вопрос в следующем.

   Например, есть канал AWGN.Он реализован отдельным блоком в самой программе. Мне необходимо собрать тоже самое, но своими руками. Ничего сложного в этом нет, так как смысл понятен и сам блок позволяет в него заглянуть. На выходе получаем сумму "белого (гауссова) шума" и полезного сигнала с заданным отншением С/Ш. Но в AWGN релизована оценка уровня (мощности) сигнала и "подгонка" параметров помехи под сигнал с помощью функции 'measured'. Для программного кода Matlab выглядит примерно так:

     y=awgn(x,10,'measured');

    Но мне необходимо, чтобы помеха была не во всей полосе сигнала, а только в его части. Как эту функцию реализовать в таком случае?

P.S. Подбор коэффициентов в усилителе "на глаз" не подходит, так как нужны корректные данные.

Теги

    05.12.2021

    Ответы

    • Marat
      Marat+208.00
      6.12.2021 08:59

      Генерируйте сигнал помехи на РЧ нужной вам формы, ограничивайте спектр помехи фильтрами. Потом замешиваете примерно в той же точке, где и AWGN. Будет вам счастье.

      • Дмитрий Анатольевич
        Дмитрий Анатольевич+1.03
        7.12.2021 10:50

        Нет в этом счастья, так как это только формирование полосы помехи. Вопрос в выравнивании мощностей полезного сигнала и помехи. Блок AWGN это делает сам, но вот как это повторить руками не совсем ясно.

        P.S. Хотя для простых сигналов этот вариант почти подходит, так как любой сигнал формируется в Simulink с уровнем в единицу  и можно подобрать уровни "на глаз" по спектру.

        • aBoomest
          aBoomest+942.89
          7.12.2021 13:24

          Я может глупости спрошу, но . . . :

          1. сколько занимаюсь такими вещами (не на прямую, но косвенно связанными), до конца понять не могу, что такое мощность в этих вопросах. Это весьма абстрактная и не понятная вещь.
          2. У вас получается если принять конкретное соотношение мощностей сигнала и шума, то чем уже полоса тем мощнее помеха должна быть?

      • Дмитрий Анатольевич
        Дмитрий Анатольевич+1.03
        9.12.2021 15:05

        Имеется ввиду вот такая операция:

         

        sigPower = sum(abs(sig(:)).^2)/length(sig(:)); // Вычисление мощности сигнала на входе

        noisePower = sigPower/SNR; // Задание мощности помехи в соответствии с заданным отношением С/Ш (SNR)

        noise = sqrt(noisePower)* randn(size(sig)); // Формирование помехи с заданной мощностью (амплитудой)

        y = sig + noise; // Выходной сигнал из аддитивной смеси полезного сигнала и шума

         

        P.S. Это часть кода из awgn.m файла в Matlab. Можно открыть через open и посмотреть.

        • aBoomest
          aBoomest+942.89
          9.12.2021 17:12

          Вопрос был е в урезании полосы?

          • Дмитрий Анатольевич
            Дмитрий Анатольевич+1.03
            9.12.2021 18:23

            Нет. Вопрос в уравниванивании уровня помехи и сигнал. А далее формирования их аддитивной смеси, но с заданным отношением С/Ш.

             

            P.S. Полосу можно задавать в самом генераторе. Для особо изощренных можно в АБГШ вырезать нужную полосу полосым фильтром.

          • okuneva
            okuneva0.00
            18.10.2022 16:28

            Your post is so well-written and informative that I couldn't put it down. also, if you're sitting around with nothing to do geometry dash

            • carljames
              carljames0.00
              28.11.2022 05:28

              I agree with your thought. hedge cutting Stroud

              • carljames
                carljames0.00
                28.11.2022 05:42
                • jabami
                  jabami0.00
                  1.12.2022 00:10

                  That is really a tricky question, but be sure to check out other information. window replacement in okc

                  • jabami
                    jabami0.00
                    1.12.2022 00:25

                    Also, thank you for finding some answers to that. I really appreciate the effort. we buy houses in any condition in nj

                    • ginagilmore
                      ginagilmore0.00
                      4.01.2023 08:19

                      Although it is a really difficult question, be sure to look at other facts. drift hunters

                      • Kenneth Marcial
                        Kenneth Marcial0.00
                        5.01.2023 16:12

                        Best home builders in Oklahoma can help you successfully find and buy new homes in Chickasha, Midwest City, and other neighborhoods. oklahoma home builders

                        • Kenneth Marcial
                          Kenneth Marcial0.00
                          5.01.2023 16:15

                          Red Oak Home Exteriors is the Affordable Choice for home exteriors and other window replacement OKC  awning windows oklahoma city 

                          • Kenneth Marcial
                            Kenneth Marcial0.00
                            5.01.2023 16:17

                            We help beautify your outdoor space and keep your home safe through tree service tree service montgomery county pa

                            • Kenneth Marcial
                              Kenneth Marcial0.00
                              5.01.2023 16:20

                              We provide a variety of hair extension options that can give your hair the perfect volume and length. hair extensions cherry hill

                              • Kenneth Marcial
                                Kenneth Marcial0.00
                                5.01.2023 16:23

                                Breeding World Class Corsos. The Best Cane Corso Breeders. cane corso breeders

                                • Kenneth Marcial
                                  Kenneth Marcial0.00
                                  5.01.2023 16:25

                                  Sharing an inspirational Hugot Kristiyano Bisaya through memes and stories. sukdulang biyaya lyrics

                                  • Kenneth Marcial
                                    Kenneth Marcial0.00
                                    5.01.2023 16:30

                                    We have a story to tell. A story that is full of hope and joy. We can all make a difference and inspiring others is one of those. By faith, we are inspired, and by faith, we are empowered. holy spirit lyrics

                                    • Kenneth Marcial
                                      Kenneth Marcial0.00
                                      6.01.2023 06:22

                                      QUALITY GARAGE DOOR INSTALLATIONS & REPAIRS garage door repair attleboro ma

                                      • YolandaBurke
                                        YolandaBurke0.00
                                        6.01.2023 08:16

                                        thank you for sharing

                                      • YolandaBurke
                                        YolandaBurke0.00
                                        9.01.2023 03:55

                                        It's great because I was here https://wasplus.com/fouad-whatsapp.html , and learned a lot of useful things

                                        • Kenneth Marcial
                                          Kenneth Marcial0.00
                                          11.01.2023 12:14

                                          Sell Your House Fast For Cash In Philadelphia! we buy houses philadelphia

                                          • Kenneth Marcial
                                            Kenneth Marcial0.00
                                            11.01.2023 12:17

                                            Simplifying the Mortgage Lending Process. Easy online experience. Expert home loan professionals. Hassle-free pre-approval letter. best mortgage lenders new jersey

                                            • Kenneth Marcial
                                              Kenneth Marcial0.00
                                              11.01.2023 12:20

                                              At Pacific Tax Professionals, we offer professional tax services for individuals, small businesses, and corporations. pasadena tax services

                                              • Kenneth Marcial
                                                Kenneth Marcial0.00
                                                12.01.2023 15:42

                                                We follow the traditional Brazilian Jiu Jitsu School belt system for kids and adults. This system is very challenging and takes years of training to truly grasp its full potential. We teach and adhere to principles of respect, humility, confidence, resilience, and of course we like to have fun self defense classes nj

                                                • Kenneth Marcial
                                                  Kenneth Marcial0.00
                                                  12.01.2023 15:44

                                                  CBI is a web designers in New Jersey that provides realistic, problem-solving solutions for all of your eCommerce digital branding needs, allowing your company to build a digital presence, attract new clients, and pave the way for massive and long-term sales. web designers in new jersey

                                                  • Kenneth Marcial
                                                    Kenneth Marcial0.00
                                                    12.01.2023 15:47

                                                    Our company is among the top HVAC service providers in the state of New Jersey. Every installation or maintenance job that we do is anchored on our primary goal which is always to provide quality products and outstanding workmanship ac repair voorhees nj

                                                    • michsullivan015
                                                      michsullivan0150.00
                                                      11.04.2023 20:30

                                                      Just wanted to say what a pleasure it was to read your opinions on this. I'll be coming back soon to do some more reading. Sorry for changing the subject, but if you're interested, please visit us at credit repair san antonio