🎉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

TransferFunction Block

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

Submitted by ctedie on Wed, 07/27/2011 - 20:47 

Hi,
I have troubles to use the Transfert function block with a TMS320F28035.
I try to filter a signal with a low-pass filter.
It runs good in simulation mode, but when I compile the block and then run the vissim diagram of my compilated block I have nothing in the filtered output.
Could you help me?
I join the diagram I use

Unable to find an attachment - read this blog

Find more posts tagged with

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

    Submitted by Anders89 on Fri, 07/29/2011 - 00:17.

    Because your cutoff frequency is 5 orders of magnitude lower than the sampling frequency there are some small values in the coefficients. This requires use of 32-bit precision in the fixed point filter (you were using 16-bit). Here is an example of a run showing good agreement between 

     

    slowFilterOutputCompare.png

     

    simulation on the PC and results from the embedded target. Please find the modified diagram attached below.

    Unable to find an attachment - read this blog