6 dof using xpid

Running simulator build projects.
Please use the image gallery for your pictures, a short tutorial can be found here.
The first image in the first post will be shown in the project gallery.

6 dof using xpid

Postby gerad » Fri 31. Jan 2014, 22:45

I want to do a 6 dof setup using xpid . If someone want more information feel free . i hope it will drift :))



pcb

under construction
gerad
 
Posts: 3
Joined: Sat 21. Dec 2013, 14:45
Has thanked: 2 times
Been thanked: 0 time

Re: 6 dof using xpid

Postby sirnoname » Sat 1. Feb 2014, 00:48

The pwm's are limited with UNO, which Arduino you try to use?
If needed I can help with expanding the plugin.
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: 6 dof using xpid

Postby gerad » Sun 2. Feb 2014, 13:34

arduino duemilanove boot as base , ft232rl for ttl , opto dir and pwm to analog . no extra power . 24v & 10v are from vfd .

http://youtu.be/T3opkXLvpso
gerad
 
Posts: 3
Joined: Sat 21. Dec 2013, 14:45
Has thanked: 2 times
Been thanked: 0 time

Re: 6 dof using xpid

Postby tronicgr » Mon 3. Feb 2014, 20:07

Hi,

Good job, did you manage to get linear analog output from the PWM? I think near the edges the signal it becames flat because of the optoisolation. I don't use isolation at all and real DAC for the analog signals, and never had any issues with leaking currents.

Also you will have to synchronize a little bit the 3 arduinos (three seperate COM ports)... ;)
Also make sure to use an emergency power cutoff for the AC motors, they are not toys!!!

See the latest development with DC motor actuators: http://motionsim.blogspot.com/2014/02/diy-6dof-motion-platform-by-markus.html


Thanks
Thanos
User avatar
tronicgr
 
Posts: 624
Images: 11
Joined: Tue 20. Mar 2012, 22:10
Location: San Diego, CA
Has thanked: 130 times
Been thanked: 50 times

Re: 6 dof using xpid

Postby gerad » Wed 5. Feb 2014, 16:27

it will work with opto as well. can i post the details in my build ?(pcb -orcad)

i rename the channels , put them in the 6dof plugin but i need more in math setup i think.


gerad
 
Posts: 3
Joined: Sat 21. Dec 2013, 14:45
Has thanked: 2 times
Been thanked: 0 time

Re: 6 dof using xpid

Postby sirnoname » Wed 5. Feb 2014, 17:38

Yes, you need the setup of thanos 6dof hardware plugin. You run this plugin in software simulation mode. The first step is to get the software simulation working perfectly. Then (if the 3D simulation works) add another 6 axis in math and on top you can add on each the 6dof math plugin (this will wrap the 6DOF motor HW plugin results back to the math setup) where you get the calculated motor output of the 6DOF plugin. This output you can transfere to a XPID output or you can use them for analysing.

OR

You write a own 6DOF plugin inside the XPID sample dialog ;)
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: 6 dof using xpid

Postby tronicgr » Wed 5. Feb 2014, 19:51

Hi Gerald,

Just suggestion... try to avoid using USB hub to transfer fast data packets to your arduino boards. There will be a bottleneck there where the USB controller is trying to handle the massive amount of data between the three usb devices. I had packet drops or even USB controller driver freezing on the hub sometimes. Connect each USB directly on a USB port on your computer (add USB expansion card if you don't have enough).

You can use USB hub for other peripherals like joysticks, mouse etc... they have higher latency requirements.

Thanks
Thanos
User avatar
tronicgr
 
Posts: 624
Images: 11
Joined: Tue 20. Mar 2012, 22:10
Location: San Diego, CA
Has thanked: 130 times
Been thanked: 50 times

Re: 6 dof using xpid

Postby tyric » Fri 17. Apr 2020, 18:24

[quote="gerad"]arduino duemilanove boot as base , ft232rl for ttl , opto dir and pwm to analog . no extra power . 24v & 10v are from vfd .


Hi ,what circuit did you use for the direction signal to vfd/please help.Thanks
tyric
 
Posts: 3
Joined: Fri 17. Apr 2020, 16:47
Has thanked: 0 time
Been thanked: 0 time


Return to Motion simulator Projects in progress

Who is online

Users browsing this forum: No registered users and 4 guests