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 motor speed adaptation to the motors

Discussion in 'SimTools Pro & Entertainment Version' started by riton, Oct 21, 2017.

  1. riton

    riton Active Member

    Joined:
    Jul 6, 2007
    Messages:
    600
    Location:
    France
    Balance:
    1,006Coins
    Ratings:
    +103 / 3 / -0
    ok, yes, that's exactly what I'm doing
    But I can not do anything good.
    it's too violent. or too soft.
    it gives the impression that there is not enough resolution.
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,554
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,142Coins
    Ratings:
    +10,780 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    "it's too violent. or too soft"... with what settings?

    It is not a resolution issue, as @yobuddy has already explained, it is a settings issue.

    Please post a video that clearly shows the surge movement of the rig and the game screen at the same, with pictures of all of the settings being used for surge.
  3. riton

    riton Active Member

    Joined:
    Jul 6, 2007
    Messages:
    600
    Location:
    France
    Balance:
    1,006Coins
    Ratings:
    +103 / 3 / -0
    Ok,
    here is a video with the automatic recording of the values without any accident:
    40% Surge, only Surge.


    now I will repeat what I wrote above.
    it's violent, too violent.
    if I want to reduce this violence, I have to increase the values.
    if I increase the values, I lose the effects.

    I do not know how you translated things, but for me there is a problem of adaptation of the resolution, speed motor.

    if I want less violence I must increase the values or lower the speed.
    whatever I do, I lose in violence but also in definition.

    if I lower the engine speed, it's the same thing, I can not find a solution.

    I would have to increase values but also increase the resolution.

    I do not say it comes from Simtools, it's a feeling.
    if I could multiply by 10 or more the resolution, I could increase the values to lower the violence, without losing in details.
  4. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,554
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,142Coins
    Ratings:
    +10,780 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    I would suggest you lower the axis allocation, try 10-15%, then capture Max/Min in tuning Center, then manually tweak Tuning center value as needed.

    Then please post a video of the results.
  5. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,166
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,214Coins
    Ratings:
    +5,038 / 16 / -0
    Adjust the Max/Min value for sure buddy.
    Auto capture is the easiest way, as noorbeat suggests, to get some good base values.
    I would turn off auto leveling for surge.
    It’s ok if they have different values for Max and Min.
    Then adjust them till you have a good breaking and acceleration effect.
    Let us know how it goes.
    yobuddy
  6. riton

    riton Active Member

    Joined:
    Jul 6, 2007
    Messages:
    600
    Location:
    France
    Balance:
    1,006Coins
    Ratings:
    +103 / 3 / -0
    what is the point of having an axis of 17 ° and limiting it to 10%?
    it's really a shame
    for 6DOF for example, the% are fixed.
    in fact lower the% of the axis decreases the inclination, for braking it is even worse.
    my post title was well representative of the problem:
    I can not find a good setting between violence and quality effects.

    I did what you said to me, I already did that before.
    and the result is bad.

    too violent or without any effect as I say from the beginning.

    there is no way out.
    I can just find a compromise by lowering the speed of the engines.
    But I get to the same result, lowering speed is like increasing the value of effects

    I put the question to Thanos, I think there is a problem of resolution or adaptation between the firmware, and the choice of 16-bit resolution.

    can be a problem between Simtools and the Thanos AMC

    I tested with 2 / 2.5 / 3 / 3.5 / 4
    10% / 20% / 30/40/50/60/70/80/100%
    all combinations% and effects
    with all the effects one by one and they too in all combinations.
    Normally Heave is very detailed. I chose it as a reference when I test, and although it is very bad.

  7. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,166
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,214Coins
    Ratings:
    +5,038 / 16 / -0
    Can we have a screen shot of your Interface settings?
    yobuddy
  8. riton

    riton Active Member

    Joined:
    Jul 6, 2007
    Messages:
    600
    Location:
    France
    Balance:
    1,006Coins
    Ratings:
    +103 / 3 / -0
  9. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,166
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,214Coins
    Ratings:
    +5,038 / 16 / -0
    Your not sending complete inputs to your Interface is the problem I bet.

    Try these settings
    Interface Output string: AB<Axis1a><Axis2a><Axis3a><Axis4a><Axis5a><Axis6a>
    Shutdown Output string: AB<127><255><127><255><127><255><127><255><127><255><127><255>

    I would also check with Thanos about proper PID settings for the AMC.
    As he has a ton more experience with the AMC than I.

    Take care,
    yobuddy
  10. riton

    riton Active Member

    Joined:
    Jul 6, 2007
    Messages:
    600
    Location:
    France
    Balance:
    1,006Coins
    Ratings:
    +103 / 3 / -0
    I already tried to put the full parameters, I thought, but it does not matter, I can still try with the full settings ...
    For the PID, it is set to not have an overflow.
    I think that if it was slow, I could have a smoothing effects and that kind of behavior, but there it is rather reactive and precise.
  11. riton

    riton Active Member

    Joined:
    Jul 6, 2007
    Messages:
    600
    Location:
    France
    Balance:
    1,006Coins
    Ratings:
    +103 / 3 / -0
    in the past, with the AMC 64 / then 128, by ignorance I put 32 bits in the settings of the interface.
    I thought it was better!

    it worked well!
    but now it's impossible.
    if I put 32 bits it drives the engines in a bad position.
  12. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,166
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,214Coins
    Ratings:
    +5,038 / 16 / -0
    That's because it does not support 32bit input.
    I don't remember any AMC running at 32bit to be honest.
    I think you should give @Thanos a buzz.
    yobuddy
  13. riton

    riton Active Member

    Joined:
    Jul 6, 2007
    Messages:
    600
    Location:
    France
    Balance:
    1,006Coins
    Ratings:
    +103 / 3 / -0
    yes you're right, I also know, normally you have to put 16 bits in the interface for the map AMC Thanos.
    But by putting 32 bits, it increased the resolutions and improved the feeling on the effects!
    I do not know why, I'm not a developer, how is that possible?

    the fact is that today it does not work anymore ... :(
    can be a firmware update? or soft? Xsim or Simtools? or both.

    I asked Thanos

    there are updates at the moment ...

    the first seems to improve the resolution :)
  14. Thanos

    Thanos Building the Future one AC Servo at a time... or 6

    Joined:
    Jul 6, 2017
    Messages:
    1,347
    Occupation:
    Electronics Engineer
    Location:
    United States
    Balance:
    2,699Coins
    Ratings:
    +1,043 / 9 / -0
    My Motion Simulator:
    AC motor, Motion platform, 4DOF, 6DOF
    The AMC1280USB is trully 16-bit only. The serial interface has capture counters for the data, and data rejection function for data that doesn't meet the requirements.

    After it receives the Data start identifier ( AB or AC ) it counts incoming data in packets of 2bytes to form each axis 16-bit values. If the new value for each axis is too different than what is expected it gets rejected. For example:
    a series of values: 100, 102, 104, 108, 116, 53, 130, 135 ....
    It will reject the value "53" as its most likely not part of usable data, probably is corrupted data or stray data as it doesn't follow the general direction of the rest data samples.

    So if you send to it 32-bit data, it will strip down the extra additional 16-bits, but it might keep the wrong information if it seems more relevant.

    Please only use 16-bit mode and if you have any issues with the motion, try increasing the data transmission delay to 4ms or 8ms. Also don't use USB extender cable, even a powered one sometimes cause data corruption.


    Thanks
    Thanos
    • Like Like x 3
    • Informative Informative x 2
  15. riton

    riton Active Member

    Joined:
    Jul 6, 2007
    Messages:
    600
    Location:
    France
    Balance:
    1,006Coins
    Ratings:
    +103 / 3 / -0
    Ok, but then, why in the past the quality of effects was improved by putting 32 bits?
    Well, today it does not work anymore.

    what is the best value of time for the quality of the effects? 0, 1,2,3,4 or 8 ms?
  16. Thanos

    Thanos Building the Future one AC Servo at a time... or 6

    Joined:
    Jul 6, 2017
    Messages:
    1,347
    Occupation:
    Electronics Engineer
    Location:
    United States
    Balance:
    2,699Coins
    Ratings:
    +1,043 / 9 / -0
    My Motion Simulator:
    AC motor, Motion platform, 4DOF, 6DOF
    Not sure why. I could not replicate it. But the serial communications module have had undergo huge reconstruction since to be as much accurate and error free. The new module is three times the code size as it checks the validity of data and includes failsafe features that weren't present before in early firmware versions. I think these are introduced in early v2.1x versions.

    You may want to set the controller to work in "Motion Data" mode only. See this video how to find this setting.


    The recommended delay is 4ms, but if your USB latency is not set correctly, you may need to increase it to 16ms (USB standard latency). You can decrease the latency of the USB serial driver in the device manager.


    Thanks
    Thanos
    • Like Like x 2
    • Informative Informative x 1
  17. riton

    riton Active Member

    Joined:
    Jul 6, 2007
    Messages:
    600
    Location:
    France
    Balance:
    1,006Coins
    Ratings:
    +103 / 3 / -0
    Ok , thank you for your expertise ;)
    My USB setting:
    http://hpics.li/d995bad
    I put 1ms in the setting of my USB
    by default, it was 16

    I changed the setting and put "seer feedback off" what is this function? does this cause other problems?
    it was before on "On"

    edit
    if I put 1ms in the USB settings, can I put 1m in the interface of Simtools?
    or the best result will be with 4ms?
    I tried 1 ms I do not notice too much difference ...
    Last edited: Oct 29, 2017
  18. Thanos

    Thanos Building the Future one AC Servo at a time... or 6

    Joined:
    Jul 6, 2017
    Messages:
    1,347
    Occupation:
    Electronics Engineer
    Location:
    United States
    Balance:
    2,699Coins
    Ratings:
    +1,043 / 9 / -0
    My Motion Simulator:
    AC motor, Motion platform, 4DOF, 6DOF
    The only setting needs to changed in ftdi driver is the latency one. No need to change other settings.
  19. Thanos

    Thanos Building the Future one AC Servo at a time... or 6

    Joined:
    Jul 6, 2017
    Messages:
    1,347
    Occupation:
    Electronics Engineer
    Location:
    United States
    Balance:
    2,699Coins
    Ratings:
    +1,043 / 9 / -0
    My Motion Simulator:
    AC motor, Motion platform, 4DOF, 6DOF
    Use 4ms in simtools to let the AMC1280USB sync to that. If you put smaler delay than the serial communication module can handle, it will simply reject the overflow data and flush them from the buffer.

    The serial communication module runs independent from the PID loop and has ultimate priority in processing incoming data. If you overload it, it might delay a little bit other functions like the PID loop and the position sensors reading that it takes place every 1ms, resulting in time stretching up to 2ms (not big deal).

    The LCD menu also delays the PID execution a little bit, and this is the reason I enforce it to be disabled now while the controller is in online mode receiving motion data from the motion software.

    Thanks
    Thanos
  20. riton

    riton Active Member

    Joined:
    Jul 6, 2007
    Messages:
    600
    Location:
    France
    Balance:
    1,006Coins
    Ratings:
    +103 / 3 / -0
    ""The LCD menu also delays the PID execution a little bit, and this is the reason I enforce it to be disabled now while the controller is in online mode receiving motion data from the motion software.""

    it's automatic now, there is no switch to go down?