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

Riton' 2DOF with AC gearhead motors

Discussion in 'DIY Motion Simulator Projects' started by riton, Jun 8, 2009.

  1. riton

    riton Active Member

    Joined:
    Jul 6, 2007
    Messages:
    600
    Location:
    France
    Balance:
    1,006Coins
    Ratings:
    +103 / 3 / -0
    Re: Riton' 2DOF with AC gearhead motors/ need help for speed

    http://www.youtube.com/watch?v=evIMa8XeqM4

    same thing with move the ofset
    http://www.youtube.com/watch?v=6Q95E7De8Fo

    you can see 2,3V in the center
  2. Frakk

    Frakk Active Member

    Joined:
    Apr 15, 2009
    Messages:
    1,144
    Balance:
    328Coins
    Ratings:
    +4 / 0 / -0
    Re: Riton' 2DOF with AC gearhead motors/ need help for speed


    Here is your problem. Read my whole comment.

    If you are only outputting a 0%-100% PWM signal, how do you determine which way your motor has to turn?

    The welleman card cannot calculate your direction. All it will do is convert the PWM signal to a Voltage level. You get 2.3V because that IS your middle point in X-Sim and that is what you are outputting.
    Your 0 position is actually 50% - 2.5V, because you CANNOT output speed and direction on one single line. Only way to do it is to have a controller that makes 50% input to 0V output, 0% input = full speed left, 100% input = full speed right.

    In your drawing you show 2 direction inputs to the phase inverter. Did you measure those voltages?

    If you would have posted the informations I asked for in my very first post here, I would have told you 2 pages ago that you don't have your hardware setup correctly.
  3. riton

    riton Active Member

    Joined:
    Jul 6, 2007
    Messages:
    600
    Location:
    France
    Balance:
    1,006Coins
    Ratings:
    +103 / 3 / -0
    Re: Riton' 2DOF with AC gearhead motors/ need help for speed

    I give the rotation at my engines with 2 others differents axes synaptrix with the sequence and the digital output, of course!

    this video is just to shaw you the problem with 2.3v at the center.
    normaly i don't have a 2.3v center as the same cable in PWM signal
    PWM + modulation speed in one cable
    direction sens, is in a n other cable

    i dont understand, i need help in my french forum.....
  4. riton

    riton Active Member

    Joined:
    Jul 6, 2007
    Messages:
    600
    Location:
    France
    Balance:
    1,006Coins
    Ratings:
    +103 / 3 / -0
    Re: Riton' 2DOF with AC gearhead motors/ need help for speed

    http://www.youtube.com/watch?v=BN4sUFDm9iQ
  5. Frakk

    Frakk Active Member

    Joined:
    Apr 15, 2009
    Messages:
    1,144
    Balance:
    328Coins
    Ratings:
    +4 / 0 / -0
    Re: Riton' 2DOF with AC gearhead motors/ need help for speed

    This remark wondering ... how?
    there is a special way to do that, I think I know how ,....
    how to separate the speed and direction? (to check if I made good)

    I give the rotation at my engines with 2 others differents axes synaptrix with the sequence and the digital output, of course!

    :? :? :?

    your video doesn't work btw
  6. riton

    riton Active Member

    Joined:
    Jul 6, 2007
    Messages:
    600
    Location:
    France
    Balance:
    1,006Coins
    Ratings:
    +103 / 3 / -0
    Re: Riton' 2DOF with AC gearhead motors/ need help for speed

    upload....need time to finish the upload

    i think sense and speed can't be separate in inside x sim....
    i send direction to digital output, but ther are no change in the speed, there are always 2, 5v in the center axis.

    http://www.youtube.com/user/MSXRsimulation?feature=mhw5
  7. tronicgr

    tronicgr

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    Re: Riton' 2DOF with AC gearhead motors/ need help for speed

    Riton,

    I think I know whats happening.... The Velleman card CANNOT be used for BOTH Digital and Analog (PWM) signals the SAME time...!!!

    That's why I created my AMC1.5 motion controller, cause I could not find ready commercial solutions on this. My AMC works like that:

    For ONE motor has these outputs: TWO Digital directions signals and ONE Analog Speed signal (PWM)

    to make the motor rotate to one direction:
    DIGITAL_Direction_1_output = 1
    DIGITAL_Direction_2_output = 0
    ANALOG_Speed_PWM = varies from profiler

    to make the motor rotate to the other direction:
    DIGITAL_Direction_1_output = 0
    DIGITAL_Direction_2_output = 1
    ANALOG_Speed_PWM = varies from profiler

    From the side of the Profiler you need only ONE input, most usually some g-force that returns back to zero value automatically.

    Thanos
  8. riton

    riton Active Member

    Joined:
    Jul 6, 2007
    Messages:
    600
    Location:
    France
    Balance:
    1,006Coins
    Ratings:
    +103 / 3 / -0
    Re: Riton' 2DOF with AC gearhead motors/ need help for speed

    ah! Thanos! thanks
    an observation that is consistent with my problem ...

    my setup is the same as you, except for my speed analog 0 to 5V

    are you sure the analog and digital do not work together?
    it works very well with the test program Velleman.

    it also works very well with x and the sim card velleman
    it seems to work on the same output analog. I feel that we can not separate the speed only on analogue.

    I feel that speed and direction are always together on the analog output.

    if I delete the 2.5 v in the center, it would work very well

    I'll make a video on my profile that works pretty well ....
    I put dynamic speed to -100%, 2.5 as it becomes the center v 0v, but this is not correct for the effect .... but this is the best solution

    all the solution give the same problem, direct output, analog output, with pot or not pot reference, is the same problem, the result is the same 2,5V in the center....
    there are just one different setting :
    but is just only one speed its :analog integer in the section sequence step in synaptrix.
    0 is 0v and 0 speed and max is maximum speed, but is not dynamic.....


    I am sure that with perceverance, we can run the card velleman!
    I believe much has this opportunity!
    requires little to make it work!
    Velleman map is easy to use and not very expensive.

    If this problem 2.5 v at the center is set, it won, its ok
  9. riton

    riton Active Member

    Joined:
    Jul 6, 2007
    Messages:
    600
    Location:
    France
    Balance:
    1,006Coins
    Ratings:
    +103 / 3 / -0
    Re: Riton' 2DOF with AC gearhead motors/ need help for speed

    if you want:
    I need Xsim sends the sense motor in digital output.
    and I need xsim send speed, and just the speed of 0 to 5V on the analog output
    and now in the analog output, I have 2.5v in the middle, I need 0v
    it starts with a speed of 50% I just need 0
    dynamic course!
    0 speed effect= 0speed, big effect, big Speed max 100%
  10. tronicgr

    tronicgr

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    Re: Riton' 2DOF with AC gearhead motors/ need help for speed

    Are you using velleman card to INPUT back to computer the potentiometer positions?

    I think I heard that velleman can't be used for input Analog and output Analog (PWM) the same time... someone correct me if I'm wrong... I don't own velleman card, never did!!

    Thanos
  11. riton

    riton Active Member

    Joined:
    Jul 6, 2007
    Messages:
    600
    Location:
    France
    Balance:
    1,006Coins
    Ratings:
    +103 / 3 / -0
    Re: Riton' 2DOF with AC gearhead motors/ need help for speed

    Yes, I use potentiometers for position engines

    yes using either analog or PWM, but I do not need 2 in the same time.

    I use analog for speed
    and digital for the sens rotation

    with the VM140 i have the same problem, a freind test for me , i have 2,5v in the center
  12. Frakk

    Frakk Active Member

    Joined:
    Apr 15, 2009
    Messages:
    1,144
    Balance:
    328Coins
    Ratings:
    +4 / 0 / -0
    Re: Riton' 2DOF with AC gearhead motors/ need help for speed

    riton, you should try using the AMC.

    USO serial output -> AMC -> PWM out -> Welleman DAC -> Phase Inverter analog in
    AMC -> Digital Direction outputs -> Phase Inverter Direction in
    Feedback potentiometer -> AMC analog in
  13. riton

    riton Active Member

    Joined:
    Jul 6, 2007
    Messages:
    600
    Location:
    France
    Balance:
    1,006Coins
    Ratings:
    +103 / 3 / -0
    Re: Riton' 2DOF with AC gearhead motors/ need help for speed

    http://www.youtube.com/watch?v=4jm66P1p4X0
    my profile game, waiting for a real solution

    http://www.youtube.com/watch?v=Bce2cLQ3-v8

    I think I have an idea of the problem:
    in analog, information sens motor, stop motor, 2.5 v at the center, it also finds in output analog, she is not stopped by the PWM and transistor output
    to analog output, all out: speed and direction and i's not correct!
    it is impossible to stop information stopp motor, and is found in analog output.

    should just make out the speed in analogue
    how to block information from motor sense: stop the engine central axis, analog output?




    Proposer une meilleure traduction
  14. akina

    akina New Member

    Joined:
    Jun 7, 2009
    Messages:
    25
    Balance:
    1Coins
    Ratings:
    +0 / 0 / -0
    Re: Riton' 2DOF with AC gearhead motors/ need help for speed

    Hi, a problem is that the input of variator is not standard i.e. it is 0->Speed null ; 256->Speed max (ex: +100tr/mn) and the sign need be separate to a digital input of variator.
    Now I think is normaly 0-> Speed min ( -max ex: -100tr/mn) ; 124-> speed null and 256-> Speed max (ex: +100tr/mn) ; It is good for the mean application but for the variator of Riton it is not exactly good, he need use only the half of range to have the positive value, i think.

    Is it possible to give the source code of plugin of K8055 for see if it possible of only change the DDL of K8055 to Riton ?

    I think somethink like this:

    if (value >= 2^31) { // if value is normaly postitive i.e. 0 <= value < +100tr/mn
    outputDA1( (value - 2^31 )*2 ); //analogique output of 0 to 2^32 i.e. 0 to 255 of VM110 -> 0 to 5volt
    Digital1( 1); // digital to the variator right way
    }
    else { // if value is normaly negative i.e. -100tr/mn < value < 0
    outputDA1( abs( value - 2^31)*2); //analogique output of 0 to 2^32 i.e. 0 to 255 of VM110 -> 0 to 5volt
    Digital1( 0); // digital to the variator wrong way
    };


    Regard,
    Akina
  15. Frakk

    Frakk Active Member

    Joined:
    Apr 15, 2009
    Messages:
    1,144
    Balance:
    328Coins
    Ratings:
    +4 / 0 / -0
    Re: Riton' 2DOF with AC gearhead motors/ need help for speed

    That is exactly what I have been talking about... I am not going to repeat myself.
  16. riton

    riton Active Member

    Joined:
    Jul 6, 2007
    Messages:
    600
    Location:
    France
    Balance:
    1,006Coins
    Ratings:
    +103 / 3 / -0
    Re: Riton' 2DOF with AC gearhead motors/ need help for speed

    hello
    I made a change on the simulator.
    I changed the system for my mechanical potentiometers.
    I made a quick prototype for testing.
    I confirm my new installation, then I will make a pulley of aluminum, with roller bearings to not break the potentiometer

    This system is very simple and very effective!
    it's much better than my old installation.


    [​IMG]
    [​IMG]

    for my speed problem, I understood the problem.
    Nima really helps me to understand the profiles, I will find him a solution
    the new Xsim version will bring also, I hope a solution for installations like mine.
  17. riton

    riton Active Member

    Joined:
    Jul 6, 2007
    Messages:
    600
    Location:
    France
    Balance:
    1,006Coins
    Ratings:
    +103 / 3 / -0
    Re: Riton' 2DOF with AC gearhead motors/ need help for speed

    I had much problem with an error: A Dll Was Not loaded
    I finally found the problem!
    My 2nd PC simulator / profiler was not powerful enough

    I changed my PC with a big core 2 duo and I have no problem!
    Profiling / synaptrix works fine now!

    I also add an external 5V supply to power the potentiometer, the velleman card, my card DAC board

    I'm redoing the bracket pot , I'll post pictures ....
  18. riton

    riton Active Member

    Joined:
    Jul 6, 2007
    Messages:
    600
    Location:
    France
    Balance:
    1,006Coins
    Ratings:
    +103 / 3 / -0
    Re: Riton' 2DOF with AC gearhead motors/ need help for speed

    my news pot support
    [​IMG]
    [​IMG]
    [​IMG]
  19. egoexpress

    egoexpress Active Member

    Joined:
    Dec 13, 2006
    Messages:
    3,839
    Location:
    Germany - Frankfurt/M
    Balance:
    421Coins
    Ratings:
    +7 / 1 / -0
    Re: Riton' 2DOF with AC gearhead motors/ need help for speed

    I suggested this some time ago. Unlike the SCN5 or Tronic' AMC controller, in your setup the pc has to calculate the positioning, which requires a lot of processing power.

    However, good that you have solved this problem :thbup:

    Regards
  20. riton

    riton Active Member

    Joined:
    Jul 6, 2007
    Messages:
    600
    Location:
    France
    Balance:
    1,006Coins
    Ratings:
    +103 / 3 / -0
    Re: Riton' 2DOF with AC gearhead motors/ need help for speed

    yes me too!
    I realize that you had talked to me.
    I changed the first time my PC simulator, but it was still not strong enough!
    this time with a dual core and 4GB 2X 3000Ghz DDRAM is ok!
    I'm at 2% CPU!

    as there is no configuration minium, it is not easy to do an idea of power requirements with synaptrix.

    now it works very well, and I am very happy!
    much advised to change map, but the map velleman works really well! is quite impressive this card does wonders!

    I still have the problem of output for my drive, I work with friends on the fabrication of a small interface to adjust my inverter.