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

    i test with this section: i put my analog velleman output in direct output axis but i have 2.5v in 0 in the middle axis, and is not correct....
    i just want 0 to max (5v) in + x 0 to +x = 0to 5v, and 0t o max in -X 5v it is the correct setting to a analog speed

    X sim dont work with analog speed output trere are a big problem.
    its not possible to drive AC motor with output analog speed..

    The fast and simple direct output of the synaptrix dialog The direct output is a seperated feature which will send one single analogue or digital export out of the math section to one single output which is accessable by the interface setup section. It is like the universal serial output, but uses complex interface plugins. You can output a analogue voltage level to a interface like the velleman K8055d and use that analogue voltage for a industrie actuator that is using a voltage following control with its own electronic. This is also used for the SCN5 actuators. This output section is a addon which will not use the rest of the synaptrix dialog. If you will control a complex sequence for a output this section will be left unused.
  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

    Why don't you use the USO output to control your DAC?
  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 use variable frequency
    to give the rotation of my engines, I use digital output on / off

    for speed, I use an analog output, my variable frequency we need 0 ..... 10v 0v 0vitesse
    10v max speed .....

    (I amplify the 0 ... 5v velleman for 0 .... 10v)


    but the problem is that XSIM always sends the 0v (right) / 2.5v (engine stopped) and 5v (left) ,pwm for the position, direction of motors,
    this information gives an analog problem, because the information remains as 2.5v (the engine stop)


    I have 2.5v output of fixed in center, it is not correct, I just need a change that represents the speed variation from 0 to 5V
    and xsim always give a bad information.

    I tried many solutions, profiles, nothing works, I still have this problem

    I also tried with the VM140 K8061 is the same thing!

    I do not use USO because I have no connection USO to my frequency inverter.

    if XSIM management correctly any analog, would be perfect!
    my connection is very simple! just the on / off for synaptrix direction, and just the 0....to.. 5v analog for speed and can make walking very simply AC gearmotor configuration

    I work for a long time on my simulator, my hardware is different and brings an interesting complement to XSIM and the community.
    I am disappointed to see that nobody is interested to understand and provide a solution.

    if I said there may be a problem with XSIM, no one gives his opinion
    it's really easy to try and verify what I say!
    I was constantly asked what engine, what power, reference frequency converter ......
    this is not a help for me, I just need to be responsive to my questions

    look what is in analog whit multimeter!
    0v a maximum , 2.5v at the center of the axis, and 5v on the other maximum! It's easy to understand for controlling the speed in analogue is not all correct!
    2.5v was already at the center to 0 how to have a linear speed if it begins to 2.5v??

    thanks
  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

    when I testing with the program Velleman, Iwas a variation of 0 to 5V analog, with x sim is different, there is a change from 0 to 2.5v and 2.5v to 2.5v with 5v set on 0 axis. This is not a correct analog variation.

    for analog output:
    should be 0 ... 5V, 0 volts to the center and 5 V + X (for example)
    for 0 ....+ x = 0v ...... 5v
    0 .......-x = 0 ... 5v

    0 ....+ y = 0 ... 5v
    0 .....-y = 0 .... 5v
    .........for other axis

    Now I have:
    -x = 0v ....... 0 = .........+ x 2.5v = 5v is not correct! you see or not?
  5. 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

    PWM:
    in the same cable ground + PWM
    0\/\/\/\/\/\/\/\5v speed, signal PWM modulation
    0.......2.5v......5v direction information

    become in analogue:

    0.......2.5v..........5v not good

    the correct is:
    0...............5v analogue
  6. 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

    OK, so you get steps in your output, and not a constant linear change. When you say analogue, you still get an analogue voltage. Your DAC converts your digital information to a voltage corresponding to it. It has nothing to do with outputting this analogue voltage in steps (0V 1V 2V 3V 4V 5V) if you know what I mean. These voltages will still be analogue, but the output will not be linear, you will have 5 steps.

    I don't think pneumatic controls are meant for continually varying the valve opening like the way you are trying to change speed. It will wear out the hardware, so only 2-3 speeds are practical to use, but someone please correct me if I'm wrong.

    What do you use for position feedback?
  7. 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 use pot for position

    analogue voltage in a variation 0 ...5v same a pot

    is correct if i delete the information position to the PWM signal.

    if i just have the speed signal, it's correct!!
    PWMspeed = analog speed pe
    but sens rotation and stop motor information 0v 2.5v 5v give a problem because this information are present in analog output!

    i need a realy analog output 0....5v only
  8. 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

    So you have the correct signal coming out of your PC? If you do, then the problem is obviously not in X-Sim.

    There should be no position data in your signal to your motor. There should be only speed data controlling the speed of the motor, and not position.
  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

    n i have not the correct signal in output
    i have not only the speed , i need only the speed

    and i not give the position for my axis speed i have just put in direct output my analog output.

    but i have a other axis only for position

    with to solution with pot position or not pot possition same problem.

    i can test just with one axis speed with no pot... but if it ok , there are an other problem with my sens motor, i give the sens motor with synaptrix

    i make a shema if you want...
  10. 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

    analogique speed.jpg

    i test just with 1 axis , in direct output my analog output velleman, no reference pot , i have 2.5v allways! no sequence direction nothing, just analog speed, i press start and i have 2.5v
    becaus the center axis send 2.5v in output.

    the information sens left , right and stop (2.5v) are send in the same output it's not correct in velleman card VM 110 or VM140 its the same problem. i think its the same problem with other card, the reason is XSIM just manage PWM simulator, output analog not suported....
  11. 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

    Do you use google translator? I have a hard time reading your english. Maybe thats why it is hard to understand your problem.

    Can you draw a diagram of what you have and what signal goes into what stage?

    As I understand now:

    PC -> PWM output -> welleman card (PWM gets converted into analog voltage) -> analog voltage output -> AC motor driver -> power to the motors proportional to analog input.
  12. 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 it is
    Velleman card also has two analog output, 2 solution are ok

    PC -> welleman card (PWM gets converted into analog voltage) -> analog voltage output -> AC motor driver -> power to the motors proportional to analog input.
    welleman card (SYNAPTRIX SEQUENCE FOR DIRECTION MOTOR) -> DIGITAL OUTPUT ->AC motor driver -> DIRECTION motors.
  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

    actual bad solution :

    bad analogique speed.jpg

    good solution:
    good analogique speed.jpg

    I repeat my problem:
    with all the tests possible, I have the same problem:
    I have a fixes volltage in Analog Output Card velleman = 50% = 2.5V to the stop reference PWM , and it's not correct to manage my speed
  14. 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

    Look at your manual for the phase inverter. Find out what sort of analog input voltage you need for it and how you control the direction.

    Is it 0-10V? 0V means running full speed in one direction, 5V stop, 10V full speed other direction?
    Is it 0-5V? 0V stop, 5V full speed one direction, and digital inputs for which direction?

    Look at the manual for the welleman card. Can it output the analog voltages you need?

    I don't understand why can't you just post the information I asked you a page back. It seems like I'm just wasting my time trying to guess everything.
  15. 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

    velleman et variateur.jpg

    no no, its not correct its verry verry easy

    direction by the digital output
    speed analog output

    is very simple, very easy
    There is nothing complicated
  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

    you just look at the problem:
    analog outputs do not work correctly
    the analog output provides a fixed voltage 2.5v center, and this is not correct

    you speack about a connection problem, but my equipment properly connected!
    nobody listens
    only you had taken time to listen to my remarks
    I sent many messages has Sirnoname, nobody would understand

    how to be heard and understood?

    I am really disappointed .....

    If I give you the documentation,i think you not understand it, is difficult.

    with my lot of diagram it's easy to understand
    I can give you the doc ......
    variator frequency: omron mini j7
    http://downloads.industrial.omron.eu/IA ... Manual.pdf

    I am not a beginner! I know my material, I know both XSIM now
    imagine that x sim is French, the forum is French, and nobody gives you an answer
    and of course you do not speak French ...
    imagine the work that I can do to get to understand, and all alone!
    i m not speak english, and no body give me help ,i try to understantd witout help...
    i just need a little help and just you help me!
    Thank you for your help, but I feel that you do not really understand, yet it's easy!
  17. 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

    I assume you have separate direction outputs from the X-Sim, right?

    With a PWM signal, you can only transmit a value from 0% to 100% duty cycle.
    Your in-game force data will be scaled to fit in this number, therefore:

    -128 = 0% = 0V
    0 = 50% = 2.5V
    127 = 100% = 5V

    You have to offset this number so you get

    0 = 0% = 0V
    127 = 100% = 5V


    If you have to determine direction from the PWM signal, more processing needs to be done.
  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

    I do not understand your explanation, I think it is not my problem ....
    I insist, but I want to run analogue simply

    For example, there is in synaptrix : ON, OFF,analogue, and dynamic speed.
    analogue, you see, it's not dynamic it's just a fixed analogue speed, but it works ....
    I need the same thing but dynamic
  19. 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

    Sirnoname
    of course I want my simulator work , but
    I also want to help.

    I see a problem, I want you to talk naturally
    if you know the problem I just need this:
    To your problem:
    the analogue dynamic control of x-sim is defective

    my concept is different, my work, my tests gives support to your work.

    I think it is difficult for you to have everything (equipment, motor, AC motor ....) and test everything in detail

    it is not easy to be understood.

    I have read your message.
    the only viable solution is a speed analog dynamics, there aa my avie not much has chnager because the problem is just to (me) on 2.5v the center.

    if there was nothing 0v it would be perfect.

    I am preparing a video to get you in detail the problem with voltmeter, and set profile
    it will be easy to understand

    thank you
  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

    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)