Advances in speed for AMC

News about the X-Sim software, forum & website or other X-Sim related news

Advances in speed for AMC

Postby tronicgr » Fri 23. Nov 2012, 22:18

Today I would like to present you with the latest firmware changes for AMC.
The difference is so big that I thought it makes a nice piece for the news page.

I was hopping to fix the really noisy ADC function for several years, and I finally
got it. Now it follows closely the potentiometer and the measurements are not
affected by motor power noise or other parasitic noise from environment.

To achieve that noise reduction I made my own routine to access directly the ADC registers
and handle their sampling timing with a interrupt. This gave me a great deal of freedom
to make the sampling time of each channel as fast as 7us (microseconds) or 0.000007sec.
Just for comparison, before was 250us using standard library code.

This allowed me to also increase the program cycle speed up to 9000 times (when not receiving),
and up to 7000 times per second when receiving data from the computer.

See the comparison video and the timing diagrams below:










More info on the Project thread here: http://www.x-sim.de/forum/viewtopic.php?f=39&t=132

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

Re: Advances in speed for AMC

Postby yokoyoko » Fri 23. Nov 2012, 22:29

I am very impressed! Thank you for sharing your work - can't wait to play with it ;-)
User avatar
yokoyoko
 
Posts: 392
Images: 28
Joined: Tue 7. Aug 2012, 03:16
Location: Germany / Bad Eilsen
Has thanked: 33 times
Been thanked: 12 times

Re: Advances in speed for AMC

Postby vicpopo » Fri 23. Nov 2012, 22:35

Hi my friend,

The Xsim community would thank you and will thank you.Your amc1.6 is awesome.
Thanks a lot , the amc works already great with ac motors , I can't imagine what could be better than great , better than awesome.
Best Regards
Gilles
User avatar
vicpopo
 
Posts: 643
Joined: Fri 20. Apr 2012, 18:04
Location: Strasbourg France
Has thanked: 37 times
Been thanked: 78 times

Re: Advances in speed for AMC

Postby denizelmas » Sat 24. Nov 2012, 00:34

SUPERB,

now I know I am on the right path :D :D
viewtopic.php?f=37&t=604&p=4076#p4076
Mind Before Money,Creativity Before investment
User avatar
denizelmas
 
Posts: 24
Images: 16
Joined: Mon 12. Nov 2012, 13:23
Location: Antakya-Turkey
Has thanked: 0 time
Been thanked: 0 time

Re: Advances in speed for AMC

Postby motiondave » Sat 24. Nov 2012, 00:42

Well done dude,
so when are we going to see this on a simulator?
User avatar
motiondave
 
Posts: 997
Images: 1
Joined: Tue 20. Mar 2012, 16:36
Location: Sydney Australia
Has thanked: 11 times
Been thanked: 13 times

Re: Advances in speed for AMC

Postby tronicgr » Sat 24. Nov 2012, 00:56

Soon.

Yokoyoko, is going to do comparison between AMC1.6 and the jrk12v12... ;)
User avatar
tronicgr
 
Posts: 624
Images: 11
Joined: Tue 20. Mar 2012, 22:10
Location: San Diego, CA
Has thanked: 130 times
Been thanked: 49 times

Re: Advances in speed for AMC

Postby motiondave » Sat 24. Nov 2012, 09:20

tronicgr wrote:Soon.

Yokoyoko, is going to do comparison between AMC1.6 and the jrk12v12... ;)



mmmmm....groovy........
User avatar
motiondave
 
Posts: 997
Images: 1
Joined: Tue 20. Mar 2012, 16:36
Location: Sydney Australia
Has thanked: 11 times
Been thanked: 13 times

Re: Advances in speed for AMC

Postby vicpopo » Tue 27. Nov 2012, 17:29

Hi ,

I tested the new amc1.6 firmware h with the the 2 DOF simulator with ac motors.Look at the link below for the simulator.
I was very impressed by the result .The simulator is dynamic for acceleration and braking and smooth for lateral effect.
I setup the uso parser with 1 and 5 ms and both values worked great.

The thread from the simulator :http://www.x-sim.de/forum/viewtopic.php?f=37&t=293

The video on youtube for the test:



Best Regards
User avatar
vicpopo
 
Posts: 643
Joined: Fri 20. Apr 2012, 18:04
Location: Strasbourg France
Has thanked: 37 times
Been thanked: 78 times

Re: Advances in speed for AMC

Postby vicpopo » Sat 1. Dec 2012, 21:22

Hi everybody,

I post my last test with the amc1.6 last firmware h.
I changed the KP settings and I was so surprised by the result.First I climbed to KP 5 from my originaly setup with KP parameterised to 3.But with KP setting to 5 the motion was too much violent and too much dynamic ( yes too much dynamic in fact unreal).
Finally I dropped to KP 4 both axis and very happy with the result.
I couldn't imagine that so little KP point will be change so hard the motion.
A video from the result on the awesome Nordschleife ...

Best Regards

User avatar
vicpopo
 
Posts: 643
Joined: Fri 20. Apr 2012, 18:04
Location: Strasbourg France
Has thanked: 37 times
Been thanked: 78 times

Re: Advances in speed for AMC

Postby prodigy » Wed 5. Dec 2012, 12:40

Very nice motion and reactions Image

What is that squeaking sound, is it from the frame or the motor?

Is it better when projector is moving with frame, or when it is standing still?
I'm asking because I've noticed that image from projector gets distorted (bigger/smaller) when you brake / accelerate.
User avatar
prodigy
X-Sim Supporter
 
Posts: 274
Images: 42
Joined: Tue 16. Oct 2012, 12:32
Location: Pula, Croatia
Has thanked: 20 times
Been thanked: 21 times

Next

Return to NEWS

Who is online

Users browsing this forum: No registered users and 1 guest