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

Tutorial SPS - Sabertooth Packet Serial PID motor driver sketch w/SoftStart

Discussion in 'SimTools compatible interfaces' started by BlazinH, Nov 10, 2016.

  1. Neo_One

    Neo_One Member Gold Contributor

    Joined:
    Oct 20, 2017
    Messages:
    34
    Location:
    Obersulm
    Balance:
    198Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    2DOF, AC motor, Arduino
    Nun habe ich die ersten lauftests machen können.
    Meine Hardwarekonfiguration ist
    2 X 12v/30A Schaltnetzteil
    Saberthooth 2x60
    2x Traktionsmotor 90ZYT-199

    wenn ich diese Einstellung wie in Bild 1 ( kp 550 ) in SMC3 habe schaffen es die Netzteile nicht, schalten immer wieder kurz ab.

    wenn ich die Einstellung von Bild 2 ( kp 450 ) habe laufen diese problemlos, nur haben beide Motoren nach etwa 10 min eine geschätzte temperatur von 70-80 Grad und da ist noch kein Sitz oder gar ich als Last mit dabei!

    Gibt es da tips wie ich die Motortemperatur mit den SMC einstellungen runter bekomme?

    Now I have been able to do the first running tests.
    My hardware configuration is
    2 x 12v / 30A switching power supply
    Saberthooth 2x60
    2x traction engine 90ZYT-199

    if i have this setting as in pic 1 ( kp 550 ) in SMC3 dont manage it the power supplies will turn off again and again.

    if I have the setting of picture 2 ( kp 450 , thes run smoothly, but both engines have an estimated temperature of 70-80 degrees after about 10 minutes and there is no seat or even a load with me!

    Are there any tips as I get the engine temperature with the SMC settings down?


    IMG_20181022_160508.jpg IMG_20181022_160536.jpg IMG_20181022_160400.jpg IMG_20181022_160426.jpg
  2. BlazinH

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,145
    Location:
    Oklahoma City, USA
    Balance:
    16,622Coins
    Ratings:
    +1,835 / 32 / -1
    Power supplies appear inadequate. Are you using a battery too as recommend? This will increase available current and also absorb regen current that can heat up your motors.
    • Agree Agree x 1
  3. Neo_One

    Neo_One Member Gold Contributor

    Joined:
    Oct 20, 2017
    Messages:
    34
    Location:
    Obersulm
    Balance:
    198Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    2DOF, AC motor, Arduino
    nein nur die Netzteile.
    Wenn ich Batterien benutze muss ich ja auch gleich ein Ladegerät dazu schalten damit die Batterien nicht leer werden oder?



    no, only the power supplies.
    When I use batteries, I have to switch a charger so that the batteries are not empty, right?
  4. BlazinH

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,145
    Location:
    Oklahoma City, USA
    Balance:
    16,622Coins
    Ratings:
    +1,835 / 32 / -1
    It depends on several factors like the actual voltage output of your supplies, how much regen you get, and how much current gets drawn from the battery. You don't want to overcharge them either. I'd try without a charger first and see what happens with the batteries voltage unless you have a smart charger.
    Last edited: Oct 23, 2018
  5. Neo_One

    Neo_One Member Gold Contributor

    Joined:
    Oct 20, 2017
    Messages:
    34
    Location:
    Obersulm
    Balance:
    198Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    2DOF, AC motor, Arduino
  6. BlazinH

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,145
    Location:
    Oklahoma City, USA
    Balance:
    16,622Coins
    Ratings:
    +1,835 / 32 / -1
    The battery you linked to will be fine. And you may only need to but the battery on a trickle charger when your not using your rig. You need to see how fast the voltage drops if any on your battery to make the best decission on a charger.
  7. Neo_One

    Neo_One Member Gold Contributor

    Joined:
    Oct 20, 2017
    Messages:
    34
    Location:
    Obersulm
    Balance:
    198Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    2DOF, AC motor, Arduino
    ok, dann werde ich zuerst die Batterien bestellen und testen wie schnell der Strom nachlässt unter betrieb und je nach dem werde ich das ladegerät kaufen.
    Ein normales bis 12v habe ich ja noch

    müsste dann das Problem mit der Hitze an den Motoren weg sein oder ist das "nur" ein versuch ob es besser ist?


    ok, then i will first order the batteries and test how fast the power goes down under operating and depending on which i will buy the charger.
    A normal to 12v I still have

    would then be the problem with the heat on the engines or is it "only" a try if it is better?
  8. BlazinH

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,145
    Location:
    Oklahoma City, USA
    Balance:
    16,622Coins
    Ratings:
    +1,835 / 32 / -1
    I can't say how much heat is from load or from regen but in any case your power supply triping indicates you need a battery too or better supplies.
    Last edited: Oct 23, 2018
  9. Neo_One

    Neo_One Member Gold Contributor

    Joined:
    Oct 20, 2017
    Messages:
    34
    Location:
    Obersulm
    Balance:
    198Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    2DOF, AC motor, Arduino
  10. BlazinH

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,145
    Location:
    Oklahoma City, USA
    Balance:
    16,622Coins
    Ratings:
    +1,835 / 32 / -1
    It would bring 3+ times more power but probably overkill. And it wont handle regen current any better. But you need to determine why the supplies you have now are tripping to know what actually needs fixing. Unless you have a scope to check it though you will need to add a couple of 30amp min. diodes to the supply output wires to stop regen current from entering. If it stops tripping then thats the problem otherwise you need more available amps.
  11. Neo_One

    Neo_One Member Gold Contributor

    Joined:
    Oct 20, 2017
    Messages:
    34
    Location:
    Obersulm
    Balance:
    198Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    2DOF, AC motor, Arduino
    was für Dioden muss ich da benutzen?
    bin da leider zu ahnungslos kann es jedoch dann machen wenn ich weiß wie es geht


    what diodes do I have to use there?
    I am unfortunately too clueless, but it can then do if I know how to do it

    habe heute noch weiter versucht alles zu optimieren.
    Motoren werden nur noch betriebswarm ab und an noch kleine micro aussetzer werde morgen weiter testen.
    Ich denke ich brauche andere Pots habe deadzone 4

    I still tried to optimize everything today.
    Engines are now only warmed up and even small micro misfires will continue testing tomorrow.
    I think I need other pots deadzone 4
  12. BlazinH

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,145
    Location:
    Oklahoma City, USA
    Balance:
    16,622Coins
    Ratings:
    +1,835 / 32 / -1
    I use a bridge rectifier like this myself instead which is 4 diodes in a single package. But you still need two if you're going to put one on each supply wire. I don't know if you really need one on each wire but thats what I did.
    s-l400.jpg
    https://www.ebay.com/itm/MDQ60A-Amp...ge-Rectifier/382239531614?hash=item58ff40625e
    But while they may keep your supply from tripping from regen currents they won't help dissipate heat generated from them.
    Last edited: Oct 24, 2018
  13. Evan Rowlands

    Evan Rowlands EMR Industries

    Joined:
    Jan 22, 2017
    Messages:
    190
    Occupation:
    business owner/ EMR industries
    Location:
    Melbourne Australia
    Balance:
    - 82Coins
    Ratings:
    +33 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, Motion platform
    I use the sabertooth 2x60 and syren 50 @115200 you need a module i got from jaycar to change the baud rate mate ive never had an issue and never touched the script
  14. Neo_One

    Neo_One Member Gold Contributor

    Joined:
    Oct 20, 2017
    Messages:
    34
    Location:
    Obersulm
    Balance:
    198Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    2DOF, AC motor, Arduino
    sehr gut
    habe mir jetzt gleich mal 2 Brückengleichrichter kostet jeweils 100A
    Die Motorwärme hab ich gedacht, dass ich mal in den Griff gekommen bin mit anderen SMC Einstellungen.
    Habe auch gleich das Netzteil mit 100A bestellt
    Das hat mich schon am Anfang mit dem TTL-Usb Modul und der Dimersion Software überprüft 115200 Baudrate hinzugefügt

    very well
    I have now ordered two bridge rectifiers each 100A
    the engine heat I think I get a grip on with other SMC settings.
    Have also ordered the same power supply with 100A
    I checked that right at the beginning with the TTL-Usb module and the Dimersion software was already registered 115200 baud rate
  15. BlazinH

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,145
    Location:
    Oklahoma City, USA
    Balance:
    16,622Coins
    Ratings:
    +1,835 / 32 / -1
    SMC3-SPS sets the baud rate of a new 2x60 to 115200 automatically when you run the sketch.
  16. BlazinH

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,145
    Location:
    Oklahoma City, USA
    Balance:
    16,622Coins
    Ratings:
    +1,835 / 32 / -1
    @Neo_One When you wire the bridge rectifiers the two terminals that are between the diodes are not used. On the terminals you do use the current runs opposite the arrow. If your not sure which wire to put on which terminal though just try one way and connect a motor or something. If it doesn't work then reverse the wires and try again. If it still won't work then the wires on the other rectifier are backwards also.
    s-l400.jpg
  17. Neo_One

    Neo_One Member Gold Contributor

    Joined:
    Oct 20, 2017
    Messages:
    34
    Location:
    Obersulm
    Balance:
    198Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    2DOF, AC motor, Arduino
    @

    @BlazinH
    alles klar dann nutze ich nur den Plus und Minus Pol des Brückengleichrichters
    Soll ich dann die Plusleitung des Netzteils dafür nutzen?


    All right Then I use only the plus and minus pole of the bridge rectifier
    Should I then use the positive line of the power supply for it?
  18. BlazinH

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,145
    Location:
    Oklahoma City, USA
    Balance:
    16,622Coins
    Ratings:
    +1,835 / 32 / -1
    I believe the negative wire is the most important because electrons normally flow - to +. But like I said before a I put one on both wires just in case. My thinking is regen polarity will depend on the direction the motor is turning so it may cause interferance on both wires where a second rectifier might help.
    Last edited: Oct 26, 2018
  19. Neo_One

    Neo_One Member Gold Contributor

    Joined:
    Oct 20, 2017
    Messages:
    34
    Location:
    Obersulm
    Balance:
    198Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    2DOF, AC motor, Arduino
    das verstehe ich jetzt nicht wie du das meinst, kannst du evtl ein Bild hochladen?

    I do not understand now how do you mean that, you can possibly upload a picture?
  20. BlazinH

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,145
    Location:
    Oklahoma City, USA
    Balance:
    16,622Coins
    Ratings:
    +1,835 / 32 / -1
    I don't have and can't take a photo because I do something different now. But they're quite simple to connect. In case you're unaware a diode on a wire is like a check valve on a pipe. Flow can only happen in one direction.
    Therefore just disconnect the neg. wire from your supply and connect it to one of the rectifiers terminals. Connect another wire to the other terminal and connect it back to your supply. If it doesn't output power then reverse the wires on the rectifier.
    Repeat on the pos. wire if the supply is still shutting down at times.
    • Like Like x 1