🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

How to do ASK and FSK data coms?

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

Submitted by pete on Wed, 05/13/2009 - 22:25 

 

I need to produce these waveforms

 

FSK005_0.jpg

Find more posts tagged with

Sort by:
1 - 4 of 41
    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Submitted by pete on Wed, 05/13/2009 - 22:27.

     

    FSK+ASK.png

     

    1) Use Import block to read data file containing symbols valued 1 thru 3. Set data point interval to 1 sec and disable interpolation.
    2) Merge blocks selects frequency and amplitude gains based on testing bits in input symbol stream from import block.
    3) Boolean AND of input data with 0x1 tests low order bit 1 (True for binary 01 and 11, decimal 1 and 3), Boolean AND of 0x2 tests bit 2 (binary 10 and 11, decimal 2 and 3)
    4) Frequency is controlled by using merge block to apply gain of 4 to 2pi based on symbol bit test from 3). 1/s integrates frequency constant to create ramp of input slope to sin.
    5) Amplitude is controlled by using merge block to apply gain of 2 to sin output.

    Unable to find an attachment - read this blog

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Submitted by samuel on Fri, 07/23/2010 - 02:33.

    I do not understand what is going on with the 'AND' portion of the block diagram. I thought AND had to take Boolean inputs, but the values from symbolSequence.txt are decimal. And what are the '0x2' and '0x1' constants? Are they in hex format?

    I can't find the answers to these questions within the VisSim User's Guide or with in the program's help menu.

    Thanks.

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Submitted by pete on Fri, 07/23/2010 - 10:20.

    However, 0x1 = 1 and 0x2 = 2 so you don't need to use hex in this situation. The 'and' operator is doing a bitwise and. In this case, each bit in one binary word is 'and'ed with the corresponding bit in the other word. We are using 2 bits in this case.

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Submitted by samuel on Fri, 07/23/2010 - 23:55.

    I appreciate the response.