Jump to content

Ric

Members
  • Content Count

    20
  • Joined

  • Last visited

  • Days Won

    1

Ric last won the day on August 1

Ric had the most liked content!

About Ric

  • Rank
    Beginner

Profile Information

  • Are you University user?
    No

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi Minh Pham, I'm attaching a more efficient model that uses a digital integrator in place of your continuous ones that should work fine on the Arduino. RichiiiiRK.vsm
  2. This is a nice explanation of SPI communication between a Texas Instruments launchpad 28379 and TC77 and the SPI IO Expander pic_kit_spi_io_expander_MCP23008.vsm pic_kit_spi_tc77.vsm SPI_Altair_Embed.pptx
  3. Hi Tom, I'm attaching one method using the "Auto Restart" setting to run a sensitivity analysis, I've used your .vsm model as the example with instructions included. Ric Example_a_updateRK.vsm
  4. Ric

    Integrator

    Chinmaya, You are integrating a sin wave of the form 50sin(10*pi*t) The integral is (-50/(10*pi))cos(10*pi*t) + (5/pi which begins at 0 amplitude and peaks at 3.18 which is what you are seeing, I don't understand the question you are asking, can you further explain what you are trying to do or what you expect to see. Ric
  5. Ric

    Integrator

    I do not see any problem with your digital integrator, here's a comparison with a continuous integrator
  6. Ric

    ePWM Problem

    Javier, Please attach your Embed model, Ric
  7. Hi Rajath, Embed can import a Simulink model that is saved in .MDL format but there is no easy way to import an Activate model into Embed at this time. Ric
  8. Hi PaulFG, Please indicate the Embed version that is producing this error. We have seen problems with the F280049 board with some of the 2019.0.x versions. Please update to version 2019.1 and let me know if this problem goes away. Ric
  9. This PDF explains how to convert a C file into a block that can be included in any Embed Model. Include C functions to your model.pdf
  10. How do you include existing C code functions into an Embed model?
  11. Hi Sanjeevkumar, I'm attaching a .vsm model that illustrates how to implement a while and a for loop using a compound block. I'm also attaching a ppt file that explains how to setup a do loop. While and For Loops.vsm Do Loops.pdf
  12. Hi Priyanka, The most direct way to identify the frequency content of a signal is using the FFT option in the plot block. This technique will identify power at different frequencies over a frequency range starting at 0 Hz and going up to 1/(2*timeStep). In the example you used above, the timeStep is .01 seconds so the maximum frequency you'd be able to see in the data is 50Hz. You can test this by applying a 20Hz sinwave to a plot with timeStep = .01, select FFT, and you'll see a spike at 20 Hz only and the frequency range will begin at 0 and go to 50 Hz. Ric
  13. Hi Trido, The HotLink (Target Interface block) is not supported on the MSP430 because the JTAG unit always halts the CPU on an access making it unusable for control development. Ric
  14. Hi Trido, I'm attaching some information explaining how to setup and use the Embed SPI, you will need to modify it to fit your communication constraints. Ric SPI_RK.pdf
  15. Hi Jason S., Yes, Altair Embed Basic can be used for professional applications at your job. Ric
×
×
  • Create New...