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

Need some help... Sim not playing nice..

Discussion in 'DIY Motion Simulator Building Q&A / FAQ' started by Archie, Nov 12, 2015.

  1. Archie

    Archie Eternal tinkerer

    Joined:
    Dec 31, 2014
    Messages:
    1,081
    Location:
    Wollongong, NSW, AU
    Balance:
    3,796Coins
    Ratings:
    +1,379 / 4 / -0
    My Motion Simulator:
    2DOF, DC motor, JRK
    Bear with me... this will be a long post as I want to convey all the testing I have done to narrow it down.

    No matter which game I play, my left motor always ends up with a Motor Drive Error (MDE).
    In AC it can be as soon as the first corner at Nords, sometimes just as go past the pits area.
    Anyway, my point is. My sim is currently unusable until I get to the bottom of this, and it's driving me mad! :)

    Testing I have done:
    Played with PID - No difference.
    Reduced the Arc - No difference.

    In the JRK Util I can fang the input slider all over the place and not once can I induce an MDE.

    So.. I swapped Power Supplies, so my Right Supply was feeding the left motor. Still MDE.

    Then I swapped out the JRK and set up a new JRK from scratch. Still MDE.
    (Have a new JRK that will be heave/sway - not decided yet!)

    You spotting a pattern? The only constant is the same motor...

    To test, I put a smaller Power Supply on my Sim feeding the left motor and in AC on the corner where I get the MDE, the smaller supply tripped and powered off.

    So, it's fair to say that for some reason my left motor is now drawing silly AMP's, but I don't understand why.
    The right motor/JRK will run all day without issues.

    How come in the JRK util I can't get an MDE no matter how much I wiggle the input slider?!?
    As soon as I fire up a game... Left JRK reports an MDE.

    Is there any sure fire way to determine what Amp's the Left motor is drawing in comparison with the Right?

    All advice, very welcome :D Thank you!
  2. GIB SimRacing

    GIB SimRacing Active Member

    Joined:
    Feb 19, 2015
    Messages:
    238
    Location:
    Barossa Valley, SA
    Balance:
    983Coins
    Ratings:
    +247 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, JRK
    Have you swapped the pots from one side to the other? Also, make sure that the pot of the motor in question does move exactly with the axle. The reason I'm saying this is that I had a very similar issue and found that the pot on one motor did have a tiny bit of play (meaning the axle would start to turn and the pot would only turn a fraction later). That was enough to cause problems.
  3. Archie

    Archie Eternal tinkerer

    Joined:
    Dec 31, 2014
    Messages:
    1,081
    Location:
    Wollongong, NSW, AU
    Balance:
    3,796Coins
    Ratings:
    +1,379 / 4 / -0
    My Motion Simulator:
    2DOF, DC motor, JRK
    Yes, sorry. Forget to mention. the Pot was changed as well. New never before used Pot and all good from a feedback point of view.
    Also, in the JRK util the Pot is staying well within it's feedback range.

    (I did have some feedback disconnect issues that I fixed, but not on this motor.)

    Seems my left hand motor has started pulling crazy AMP's and I can't work out why, or how to go about testing it.....
  4. Archie

    Archie Eternal tinkerer

    Joined:
    Dec 31, 2014
    Messages:
    1,081
    Location:
    Wollongong, NSW, AU
    Balance:
    3,796Coins
    Ratings:
    +1,379 / 4 / -0
    My Motion Simulator:
    2DOF, DC motor, JRK
    Oh, and again for Clarity, I'm going to test my motor using a multimeter to check what the AMP draw is. I am more looking for a way to work out why it's only having issues once in game.

    Using the JRK util I can't induce an MDE. (I can sit on the sim and throw myself all over the place) So I'm really keen to understand why the Plugins / Simtools seem to be generating this error from the JRK.
  5. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,030
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,878Coins
    Ratings:
    +10,879 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    A couple of things @Archie, you may want to check the brushes in the problem motor. If needed Motion Dynamics can supply spares.

    I am guessing the SimTools settings may be leading to a combined spike of some sort. Have you tried things like a slightly lower Main Level % in the Game Manager. If the issue is replaceable maybe you can capture a video and post it and your settings.

    I started getting motor drive errors out of the blue with a failing PSU, when under load. I know you have swapped them but I just want to note it can be observed even though the PSU works and can be exacerbated when one motor may draw more and have its own issues.
    Last edited: Nov 13, 2015
  6. Archie

    Archie Eternal tinkerer

    Joined:
    Dec 31, 2014
    Messages:
    1,081
    Location:
    Wollongong, NSW, AU
    Balance:
    3,796Coins
    Ratings:
    +1,379 / 4 / -0
    My Motion Simulator:
    2DOF, DC motor, JRK
    Yes - It's repeatable, so I will make a video. I go away this weekend for two weeks so will likely be after that, so my apologies when I revive a seemingly dead thread then :)
    • Like Like x 1
  7. bsft

    bsft

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    Try a car battery as power and see if that helps.
    Oddly enough, a stuffed power supply can do all sorts of weird things, over voltage, spikes in current, under voltage, drops in current.......
    • Agree Agree x 1
  8. Boomslangnz

    Boomslangnz Active Member SimAxe Beta Tester Gold Contributor

    Joined:
    Oct 26, 2014
    Messages:
    346
    Balance:
    4,166Coins
    Ratings:
    +243 / 1 / -0
    My Motion Simulator:
    2DOF
    I know you said you never get the errors in jrk config, only in simtools etc but can you post your jrk config and simtools settings? I had issues like that awhile back, but I did replace my HP server psu's as they helped cause the issues
  9. Archie

    Archie Eternal tinkerer

    Joined:
    Dec 31, 2014
    Messages:
    1,081
    Location:
    Wollongong, NSW, AU
    Balance:
    3,796Coins
    Ratings:
    +1,379 / 4 / -0
    My Motion Simulator:
    2DOF, DC motor, JRK
    Thanks Guys.

    I'm actually thinking along the same lines and I may have one dud-ish Power supply and one on the way out. I managed to get hold a HP-700 67A PSU from work and tested with that, and I could certainly get further into Nords on AC before I got the error again. So to try and rule Power issues (household and PSU) out I'm just going to bite the bullet and get rid of the HP PSU and install the Monster 2000W IBM edgeserver PSU. To that end, I ordered two of these puppies today: (Forums report one of these can run two JRK's and motors up to 500W each!!)

    They are 15AMP so need the special Earth pin, but I'm just going to run on standard mains at 10A and wire them to work with a standard plug. We have heaps of the 15A connectors at work.

    Once they arrive (about 2 weeks) I'll re do everything and report back what I discover.
    I will reset my JRK's and also build a profile for AC from the ground up.
    Start off all fresh again.

    The only good thing from all this frustration is I now have a much better understanding of PID. :)
  10. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,030
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,878Coins
    Ratings:
    +10,879 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Sounds like a plan.

    I also got one of those bad boys but in the end decided not to use it, as I did not want to ever have an insurance risk if anything ever went wrong. So if you upgrade and need another then let me know, it is just sitting in the cupboard and you are welcome to it.

    Instead I replaced my second-hand failing HP server PSU with a brand new one and it outperformed the other existing 2 HP PSUs so well that I have purchased 2 more brand new HP server PSUs, I just need time to fit them.
  11. bsft

    bsft

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    @Archie , did you try a car battery?
  12. GIB SimRacing

    GIB SimRacing Active Member

    Joined:
    Feb 19, 2015
    Messages:
    238
    Location:
    Barossa Valley, SA
    Balance:
    983Coins
    Ratings:
    +247 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, JRK
    @Archie - Didn't you mention you had swapped the psu's from one side to the other and still got the error on the same jrk/motor? Or did I read that wrong? So unless you have 2 dodgy power supplies the problem might still be there with a new psu. Have you checked all the cables and connections to make sure you don't have a high resistance join somewhere?

    Also, what about turning all the forces in Simtools off and only turning one on at the time to figure out which force is causing the error. It might just be the case of turning some values down in the tuning center or limiting that axis...
  13. Archie

    Archie Eternal tinkerer

    Joined:
    Dec 31, 2014
    Messages:
    1,081
    Location:
    Wollongong, NSW, AU
    Balance:
    3,796Coins
    Ratings:
    +1,379 / 4 / -0
    My Motion Simulator:
    2DOF, DC motor, JRK
    Hi Gents,

    We are all thinking along the same lines, I like it :) This is what I did today to try and narrow it down.

    Reset both JRK's to Factory default, set up the Feedback again on both of them.
    Replaced both Power Supplies with "borrowed" HP-700's

    Fired up Simtools and used AC as my test program.

    Turned off all the axis and went through them all, one by one.
    Pitch. Tuned OK and at 20% - OK
    Roll. Tuned OK and at 20% - OK
    Sway. Tuned OK and at 25% - OK
    Heave. Tuned OK and at 10% - OK.
    Surge. Tuned OK and at 20% - Motor Driver Error!!

    With all other forces switch off and only Surge engaged, and only at 20% with a well tuned profile I am getting an MDE.
    Always the same motor and always under surge. I accelerate, all good. Hit the brakes... MDE.
    .
    If I drop the P to 0.2 then the MDE goes away, but the Sim feels rubbish as the movement is not sharp enough.

    It's driving me bonkers. I don't even have a high P value. (0.35) Ignore the D value I have in the video below, I was testing between 0.35 and 0.7 with no difference to the MDE.

    Here is the Video:

    https://drive.google.com/file/d/0B9UVNikjcBjCSGdBb0RPd245SVU/view?usp=sharing (Sorry, it's full HD so quite large to capture all the windows)

    What do you think?
  14. bsft

    bsft

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    Did you try with a car battery on it?
  15. Archie

    Archie Eternal tinkerer

    Joined:
    Dec 31, 2014
    Messages:
    1,081
    Location:
    Wollongong, NSW, AU
    Balance:
    3,796Coins
    Ratings:
    +1,379 / 4 / -0
    My Motion Simulator:
    2DOF, DC motor, JRK
    I don't have car battery to hand Dave :( With two new Power Supplies, I'm struggling to see a correlation with Power in this instance??
  16. GIB SimRacing

    GIB SimRacing Active Member

    Joined:
    Feb 19, 2015
    Messages:
    238
    Location:
    Barossa Valley, SA
    Balance:
    983Coins
    Ratings:
    +247 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, JRK
    I can't quite remember what the Integral Limit setting does but from memory, mine is set to 2000 instead of the 10000 you have. Might be worth checking out.
  17. Archie

    Archie Eternal tinkerer

    Joined:
    Dec 31, 2014
    Messages:
    1,081
    Location:
    Wollongong, NSW, AU
    Balance:
    3,796Coins
    Ratings:
    +1,379 / 4 / -0
    My Motion Simulator:
    2DOF, DC motor, JRK
    I think that only comes into play if you actually use the I value, it stops Integral Wind-up and resets the I value at the threshold you specify.
  18. bsft

    bsft

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    Set intergal at 10000. Leave I at 0
    Car battery handles back current better than psu. Hence if you had one handy , you could check.
    Oh and set , I think its bits per second to 1024 up from 128. Im not near my puter so I double check a bit later.
  19. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,030
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,878Coins
    Ratings:
    +10,879 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Your scaled feedback goes out of bounds at 1:27, which is the trigger for the motor drive error.

    Your Integral is correct at 10000, so I am presuming your Analog sample is also correct at 1024.

    It would be wise to clear the Feedback settings, redo the learn step then properly calibrate your PID.
  20. Archie

    Archie Eternal tinkerer

    Joined:
    Dec 31, 2014
    Messages:
    1,081
    Location:
    Wollongong, NSW, AU
    Balance:
    3,796Coins
    Ratings:
    +1,379 / 4 / -0
    My Motion Simulator:
    2DOF, DC motor, JRK
    Thanks @noorbeast - I'll check that out. However I think the MDE is happening before the Feedback issues. When I get the MDE the motor jiggles and dies (the run/stop motor flicking you see) and then my motor arms falls all the way to down, sending feedback to 0. A quick press of the Emergency Power switch brings the Motor / JRK back into life, until it happens again.

    You will notice in the video, the JRK reports "No Power" while hit and then reset the Emergency switch.

    Interestingly, an Analogue sample of 1024 makes the "PID Period exceeded" go to Yes. Is that something I can ignore or is another setting wrong somewhere?

    Really appreciate all the feedback guys. Keeps me from setting fire to the damn thing ;)