1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  3. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  4. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

Question Extracting Data from SMC3Utils

Discussion in 'DIY Motion Simulator Building Q&A / FAQ' started by TheGerard15, Jun 13, 2024.

  1. TheGerard15

    TheGerard15 New Member Gold Contributor

    Joined:
    Jan 25, 2024
    Messages:
    6
    Balance:
    - 19Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Joyrider, Motion platform
    Greetings to everyone, I am trying to tune the Kp, Ki, and Kd values for my controller using Matlab. To do this, I need time and amplitude data of the SetPoint and Present Value signals that are being graphed in real-time on the interface.

    I would greatly appreciate it if you could help me understand how to achieve this. I was attempting to create my own controller without constants as a starting point and then obtain a transfer function with the help of Matlab to be able to tune the constant values for the PID controller. I have considerable knowledge in the area of controller tuning, and if I obtain this data, I could contribute to the community with an automatic tuner based on the requested data.
    [​IMG]

    Attached Files:

  2. TheGerard15

    TheGerard15 New Member Gold Contributor

    Joined:
    Jan 25, 2024
    Messages:
    6
    Balance:
    - 19Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Joyrider, Motion platform
    Greetings, I am making significant progress with the interface in Matlab. For testing, I am using a code where I read an analog port and send the SetPoint through the interface. The data generated can be processed in Matlab to synthesize the proportional, integral, and derivative parameters upload_2024-6-13_20-25-19.png of the controller.

    Does anyone have an idea on how to extract data from the sensor and the target or SetPoint from SMC3Utils?

    PD: My native language is Spanish; I am translating with Google Translate.