1. Hundreds of coffees, endless nights of debugging and coding, and countless feedback by our beta testers led to this new major release. SimTools 2.4 is probably the version with the most upgrades and improvements in a single release ever. Look at everything Dustin has included:
    SimTools 2.4 all features.
    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 Download Package Now!
  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 here. Do not following these rules will lead to permanent exclusion from this website: Read the forum rules.

DIY MOSFET H-Bridge Driver

Discussion in 'DIY peripherals' started by Sieben, Apr 5, 2019.

  1. wannabeaflyer2

    wannabeaflyer2 Well-Known Member

    Joined:
    Jun 12, 2015
    Messages:
    548
    Location:
    london uk
    Balance:
    6,538Coins
    Ratings:
    +697 / 4 / -0
    My Motion Simulator:
    2DOF, Arduino, Motion platform, 6DOF
    Hi @Sieben have built 2 demo units to test out FFB Leonardo version and the other STM both controllers seem to be working. so one rig will be direct drive the other will be reduction drive , You guys seem to use the wheelcheck step test , but cant get my head around interpreting the chart results , like the ones you often post ... can you point me to where I can learn how to create that charts and each test operation for wheelcheck utility ? would like to use this tool for build performance of my two test wheel setups . Cheers
  2. Sieben

    Sieben Active Member

    Joined:
    Nov 6, 2018
    Messages:
    165
    Balance:
    1,065Coins
    Ratings:
    +55 / 1 / -0
    My Motion Simulator:
    Arduino
    Nice.

    If use open office, just open "blabla smth as calculator" option with rmb. And use commons as separator. Under the video is chart itself must be too.
    • Informative Informative x 1
  3. wannabeaflyer2

    wannabeaflyer2 Well-Known Member

    Joined:
    Jun 12, 2015
    Messages:
    548
    Location:
    london uk
    Balance:
    6,538Coins
    Ratings:
    +697 / 4 / -0
    My Motion Simulator:
    2DOF, Arduino, Motion platform, 6DOF
    Cheers @Sieben really appreciate the rapid response , will now go watch this and hope some of it sinks in :) Cheers
  4. Sieben

    Sieben Active Member

    Joined:
    Nov 6, 2018
    Messages:
    165
    Balance:
    1,065Coins
    Ratings:
    +55 / 1 / -0
    My Motion Simulator:
    Arduino
    • Like Like x 1
  5. Sieben

    Sieben Active Member

    Joined:
    Nov 6, 2018
    Messages:
    165
    Balance:
    1,065Coins
    Ratings:
    +55 / 1 / -0
    My Motion Simulator:
    Arduino
    Checked the torque amount the wheel produce. I recalculated it before according to the lever it was measured, right on the sprocket, and that was 7 nm. Then checked with 1m lever and all the same results) A bit more then 0.7kg gives - 7Nm of force)



    And changed the wires in relay. Now it is a high amp one)

    [​IMG] [​IMG] [​IMG] [​IMG] [​IMG]
  6. Sieben

    Sieben Active Member

    Joined:
    Nov 6, 2018
    Messages:
    165
    Balance:
    1,065Coins
    Ratings:
    +55 / 1 / -0
    My Motion Simulator:
    Arduino
    [​IMG]

    Some changes with flyback's connections. That should be a right thing. )
  7. Sieben

    Sieben Active Member

    Joined:
    Nov 6, 2018
    Messages:
    165
    Balance:
    1,065Coins
    Ratings:
    +55 / 1 / -0
    My Motion Simulator:
    Arduino
    By having directly cut out the relay from the driver, and having an idea of replacing it with a first bridge circuit there, instead of the relay, a quite reasonable question arose, why not actually give a chance to one BTS7960, together with the idle diodes and capacitors in a team. )

    Driver with relay.
    [​IMG] [​IMG] [​IMG]


    As a short summary, experience in using relays. To be honest, I don’t know what kind of assessment to give, because replacing the BTS and unscrewing the FFB 100% Gain, Constant and a feature in the form of Scale up to x2.5 times Constant in EMC09, I got almost the same steering wheel vibration in the center, as with the relay, but at much lower FFB values when there was a relay. For BTS, I left everything in a hundred and reduced Scale x1.5 Constant. If x2.5, the BTS chips get heat up more, so it is set in more “cautious” modes so far (Scale x1.5 Constant.)Again, can repeat that with the "relay driver" it pumped much more strongly at much lower values of force. The switching moment, by changing the direction of rotation, is also not noticeable, with a relay, as it may seem. The same thing in the center. But in short, if it were not for the "oscillations" in the center, as a result of a forced decrease in the strength of ffb, to eliminate it, an absolutely adequate and powerful playable driver would be obtained. If this is of course it's problem at all, i.e. see paragraph above. One can of course connect it to the bridge circuit, from the beginning of the experiments, and see what happens. ) Maybe even the first version of the diy driver will go, but with the correct binding for diodes, and condencers. It may even be possible to score on the need for deadtime s for the bridge.

    BTS7960. As it was announced earlier,https://www.xsimulator.net/communit...ing-dc-motor-based-on-mmos.13019/#post-174094
    the chip numbers in this bts are sort of from the correct series. (617)
    [​IMG] [​IMG] [​IMG] [​IMG]


    The linearity of the base with a wheel of 1.4 kg
    [​IMG]


    This curve, it seems even due to the fact that it is not MMOS that is used, but EMC. Arduino, and not an STM32. Presumably. Since, in the comparative test, one run was enough, and you get an even linearity curve, in MMOS, with EMC apparently has its own small issues, in this regard. But let me remind you that it was even too, when experimenting with the diy driver of the first version and with EMC09)
    [​IMG] [​IMG] [​IMG]


    BTS7960


    Some sort of countersteering etc


    And with relay.)
  8. Sieben

    Sieben Active Member

    Joined:
    Nov 6, 2018
    Messages:
    165
    Balance:
    1,065Coins
    Ratings:
    +55 / 1 / -0
    My Motion Simulator:
    Arduino
    BTS 7960
  9. Sieben

    Sieben Active Member

    Joined:
    Nov 6, 2018
    Messages:
    165
    Balance:
    1,065Coins
    Ratings:
    +55 / 1 / -0
    My Motion Simulator:
    Arduino
    CAP FLYBACK BTS.jpg The power arrangement with caps and flyback for bts7960 used. The caps nominals and quantity is for example. Should be picked in accordance of the total amount of the ripple curent specs.
  10. Sieben

    Sieben Active Member

    Joined:
    Nov 6, 2018
    Messages:
    165
    Balance:
    1,065Coins
    Ratings:
    +55 / 1 / -0
    My Motion Simulator:
    Arduino
    Hi there!)

    Some connections clear up with the power section to the schematic above) I can say that, the freewheeling diodes are an option, with BTS7960 usage. But also can be used for good with it. And, it is quite an obligatory to use this schematics, with complete diy controllers for powerfull motors.