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

Motion Sim w/ Surge & Traction Loss

Discussion in 'DIY Motion Simulator Projects' started by Boomslangnz, Oct 26, 2014.

  1. bsft

    bsft

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    300 CCA car battery minimum and charger or at least a power supply on it when in use.
    • Informative Informative x 1
  2. 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
    Do you use a power supply AND a battery or just a battery with a charger?

    Surely I don't need such a big battery purely to pick up the current spikes while using a power supply as well. The 50 amp spikes or such only draw for a millisecond so wouldn't drain the battery that fast
  3. bsft

    bsft

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    To be honest I just used what I had around. In this case a large car battery and I had a 12v 32 amp PSU "charging it during use", and @eaorobbie I believe is running the same thing. Car battery and PSU or charger.
    You would be surprised how much juice those big motors can suck.
    Mind you, these days I just run 2 x 40 amp PSU per motor (LED power supplies, not server PSU) and they run just fine.
    • Like Like x 1
  4. 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
    Cool Thanks @bsft

    Good to know, I was wondering if I needed a charger as well or if the psu would keep it charged so I'm guessing the psu keeps it charged without needing a charger as well.

    I'm properly going to try led power supplies but in the meantime I was going to try a battery but just wanted to know what people were using and found did the job. Car Batteries cost around $100 new plus they are pretty big and bulky so was hoping to try something a bit smaller for testing

    The hp server psu's I have say they are good for 56 amps so either my spikes are a lot higher then yours, or these psu's may just be near end of life as you stated earlier. I've tried picking up the spikes with my dc clip on but they are so quick that it barely picks them up really
  5. bsft

    bsft

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    refresh my memory, are you using JRKS or Arduino and MM for motor control
  6. 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
  7. bsft

    bsft

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    I probably asked already in the past, but do you have screen shots of each of the utility tabs for the JRKS, so I can check settings please?
  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
    Yeah you have asked, but computer was away at the time and only got it back couple days ago now so I'll post the screen shots tonight when I'm home
  9. 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
    20150617_202133_resized.jpg

    The power supply has not shut down but instead the JRK seems to lose signal or something as soon as I crash or the motor has to do some quick movement then the JRK stops responding, I see a blinking green light and if I try open the jrk utility it gives me some error about there is an error getting firmware from the device etc etc, If I unplug the usb and then plug into jrk again it boots up fine again

    I set my game engine settings to exactly 100% across 5 forces

    Ill post all my jrk utility screenshots

    #00097072 is rear left 50:1 motor
    #00108600 is rear right 50:1 motor (has the battery in parallel now)
    #00097103 is the surge 25:1 motor
    #00108615 is the traction loss 25:1 motor

    20150617_201907_resized.jpg 20150617_201920_resized.jpg 20150617_202100_resized.jpg 20150617_202111_resized.jpg 20150617_202123_resized.jpg 20150617_202206_resized.jpg 20150617_202215_resized.jpg 20150617_202224_resized.jpg 20150617_202235_resized.jpg 20150617_202245_resized.jpg 20150617_202256_resized.jpg 20150617_202306_resized.jpg
  10. 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
    game engine
    interface 1 is rear left
    interface 2 is rear right
    interface 3 is surge
    interface 4 is traction

    I'm almost certain its something on the simtools end as when im manually moving the motors in jrk utility I can go way crazy and the jrk doesn't cut out but once running in Assetto corsa it stops working after hardly any movement during a crash or going off the road generally

    Could it be a tuning center issue?
    20150617_205518_resized.jpg 20150617_205526_resized.jpg 20150617_205534_resized.jpg 20150617_205543_resized.jpg
  11. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,141
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,541Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    My guess is something is overshooting or there may be a usb issue, though I think it was @bsft who found batteries actually caused some odd issues.

    Try backing the duty cycles down on the 50:1s to 400 and drop the P in the PID settings and test.
  12. 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
    @noorbeast I dropped max duty to 400 and PID to 0.39 and it's not cutting out now and I was purposely slamming into walls and going off track.

    What does the max duty do?
  13. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,141
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,541Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    From the JRK documentation: https://www.pololu.com/docs/0J38/all#4.f

    Duty cycle target: Represents the duty cycle that the jrk is trying to achieve. A value of -600 or less means full speed reverse, while a value of 600 or more means full speed forward. A value of 0 means braking. In no feedback mode (speed control mode), the duty cycle target is the target minus 2048. In other feedback modes, the duty cycle target is the sum of the proportional, integral, and derivative terms of the PID algorithm.

    Duty cycle: Represents the duty cycle that the jrk is driving the motor with. A value of -600 or less means full speed reverse, while a value of 600 or more means full speed forward. A value of 0 means braking. The absolute value of the duty cycle will always be less than the absolute value of the duty cycle target. The duty cycle is different from the duty cycle target because it takes in to account all of the jrk’s configurable limits: maximum acceleration, maximum duty cycle, maximum current, and also brake duration (Section 3.e).
    • Informative Informative x 1
  14. 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
    Ok well the good news is it seems to run well at 400 duty cycle and with the battery in parallel for those current spikes with the server psu, now I guess I will need 3 more batteries and to re-wire my rig a little but not a huge deal


    Might be easier then trying to get new power supplies when this will work anyway
  15. bsft

    bsft

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    as long as its working
    I still think you should work more with PID though on each motor, but if its working, up to you
    • Like Like x 1
    • Agree Agree x 1
  16. 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
    Yeah I did play with PID a bit and put max cycle back to 500 now and doesn't cut out at all

    I got another car battery and wired both my rear motors up in parallel with those psu's but one of the psu still keeps cutting out during big crashes etc, obviously battery keeps running the motor but with nothing to charge it, it would drain away so I guess I might look at just getting standard battery chargers on these now unless I look at trying a 40a led power supply as posted above off ebay.

    Anyway it was cool to finally have a bit of a drive without losing power, after wiring everything up I didn't have too long to play with it all so made some very minor tuning center adjustments and had a drive in Assetto. Seemed pretty good, I didn't seem to be getting any sorta 'engine' motion and not sure if I really am meant too, surge kicked a bit with gears. Hopefully over the weekend I can made a decent video to show where I'm at. @Nick Moxley video from Assetto had a much more 'realistic' looking motion while driving etc compared to what I was properly feeling, but I guess that's with a well tuned setup

    My minimum ctc length is 60mm so thought I'd see what the next one up was like which was 80mm. Man that was alot of movement haha, tons of pitch and sway movements felt almost like a Rollercoaster but seemed to move me with ease

    I'd love to see a picture of someone's Assetto tuning center to see how they have the numbers set etc, I relise we all have different max and min but It would help me understand how I set it up a bit

    I still haven't sorted out that bounce from the linear rails but I have a plan how to stop it, may just take a bit of time to get the bits I need
    • Like Like x 1
  17. 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
    @bsft @eaorobbie Would you guys be able to tell me what brand etc of battery charger you used in your setup? I've had a bit of a look at some but some are quite fancy really and do all these 7 steps etc on the battery

    Do you use 2amp, 3.8 amp charger etc?

    I assume I just need a cheap one that outputs like 13.6v and shuts down once battery is full?
    Last edited: Jun 19, 2015
  18. bsft

    bsft

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    I think mines a 3 amp charger, I keep it running while battery is in use.
    I have also used a 12v 32 amp desktop power supply in parallel as well, but the charger/PSU MUST be disconnected after you have finished with the sim
    • Like Like x 1
  19. 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
    Cool thanks. Yep I've got battery disconnect terminals on and making sure I disconnect the psu from battery once finished too

    Just had a bit of a go at tuning my profile and worked on surge. Actually found less is more really with some forces and setting less in surge felt a ton Better and a more realistic feeling while braking etc. Having the surge with a low number results in a ton of movement but it doesn't feel right
  20. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,141
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,541Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    I find the same thing, I have different settings for the ultra short throw projector and the Rift, for the same game.

    I prefer less axis movement but more precision for the Rift and bigger axis movements for the projector.