Thanos AMC1.6 USB 2DOF Motion Controller

AMC, H-Bridge projects etc.
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.

Re: Thanos AMC1.6 USB Motion Controller

Postby tronicgr » Sat 21. Jul 2012, 19:48

vicpopo wrote:
tronicgr wrote:xSimCTRL v2.2 is working great on my AMC1.6 board....

Hi Thanos ,
Ok thank you for your video.
The only difference between you board and mine is the wire you solded to improve I don't remember what!
Did you see my video below with the big difference when I connected the board to a external ground !
Regards
Gilles


I seen it. I never had problems with common ground with the h-bridge. I was surprised the it was working fine with no common ground with the motor's power source negative pole. Maybe It worked this way with my equipment because I was using a large car battery!

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: Thanos AMC1.6 USB Motion Controller

Postby prilad » Sat 21. Jul 2012, 20:10

Hi, Gilles.

You are not alone :D .
I hope, you understand that my firmware and Thanos's firmware compatible only for working with standart x-sim ctrl commands like AB~255~a01~a02.

And both firmware can work in 'terminal' mode, (or not? this is question for Thanos :) ). In any other case, especialy in case of parameter setting, our firmwares has a different work algorythm. Only my firmware can work woth xSimCTRL.exe. And only Thanos's firmware can recognize commands for Kp setting like 'KP~255...'. Be careful ;)

Regards.
Prilad.
Last edited by prilad on Sun 22. Jul 2012, 22:15, edited 1 time in total.
User avatar
prilad
 
Posts: 174
Images: 1
Joined: Tue 3. Apr 2012, 14:20
Location: Dubna, Moscow reg., Russia
Has thanked: 3 times
Been thanked: 37 times

Re: Thanos AMC1.6 USB Motion Controller

Postby tronicgr » Sat 21. Jul 2012, 20:12

I don't have a list of the commands that Ale is using to communicate with his firmware but I could at least use his software to output some wave motion test pattern on my existing original firmware v1.1d:



Its just a demonstration not really useful as there are no data sent back to Ale's software for graphing function or KP setting through his controls. And a reminder if you need to have all the functionality of xsimctrlv2.2 you should use his alternate firmware!!!!

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: Thanos AMC1.6 USB Motion Controller

Postby prilad » Sat 21. Jul 2012, 20:26

Hi, Thanos.
tronicgr wrote:Its just a demonstration not really useful as there are no data sent back to Ale's software for graphing function or KP setting through his controls. And a reminder if you need to have all the functionality of xsimctrlv2.2 you should use his alternate firmware!!!!

Thank you for your productive work. For parameter setting from xSimCTRL I use list of command like AB ~127 (126,125 etc) ~param_lo ~ param_hi. Format like main communication command. But realtime returning data from AMC to PC has another format and some special functions.
User avatar
prilad
 
Posts: 174
Images: 1
Joined: Tue 3. Apr 2012, 14:20
Location: Dubna, Moscow reg., Russia
Has thanked: 3 times
Been thanked: 37 times

Re: Thanos AMC1.6 USB Motion Controller

Postby tronicgr » Mon 23. Jul 2012, 22:16

vicpopo wrote:Hi Thanos ,
I will test X=5 and Y=5 and watch if this values stay in memory using the value 254 .
The values 1 , 2 , 3 , 4 didn't stay in memory after reset or when the amc is unplugged , for sure !

I will write to you a liitle message about the disturbing point when the motor goes over its consign position and turn one turn and stop.

Regards
Gilles


I just checked it and it does saves it into memory. The minimum value for KP is 3 and the maximum is 60.

One thing you have to make sure is that you have the correct delays in the USO screen!!! LOOK the red circled value !!! Did you use it?




When you are using hall-effect sensors (ecpecialy the SS495) you have to watch out not to physically exceed the angle limits of +180 degrees, If you do the output signal inverts to -180 degrees ...!!! So you see the motor is doing a full rotation trying to get again close to +180 degrees!! Use less driving range to avoid that. I think I demonstrated that in my hall-effect calibration video: http://motionsim.blogspot.com/2012/06/ss490-ratiometric-hall-effect-sensors.html. Watch the video at minute 6:00 and after... ;)

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: Thanos AMC1.6 USB Motion Controller

Postby vicpopo » Tue 24. Jul 2012, 21:17

Hi Thanos ,
I posted a video showing the discussion about "motor arm" over its position.
The hall sensor ss490 is configured for a angle from 0 to 90°( as you linked in the previous post) , from 0 to 1023 in the amc1.6 board as you can show at the beginning of the video .
As you can show when I move the slider up and down near the max position ,even if I go over the value 1023 the motor arm never make a complete turn for reaching the next position!
Otherwise when I move the slider nearbthe min position 0 , sometimes the motor make a complete turn for reaching the next postion.
Regards
Gilles
Video :
PS: for the KP settings it's OK x=y=4 with permanent string 254
User avatar
vicpopo
 
Posts: 645
Joined: Fri 20. Apr 2012, 18:04
Location: Strasbourg France
Has thanked: 39 times
Been thanked: 80 times

Re: Thanos AMC1.6 USB Motion Controller

Postby ne02005 » Wed 25. Jul 2012, 14:08

Thanos:

Do you have the Sprint Layout files of your AMC 1.6 board?
I want to make some modifications just like de holes (they are too big).

Thanks

ne02005
User avatar
ne02005
 
Posts: 36
Images: 0
Joined: Fri 13. Jul 2012, 22:00
Location: Buenos Aires - Argentina
Has thanked: 3 times
Been thanked: 0 time

Re: Thanos AMC1.6 USB Motion Controller

Postby tronicgr » Wed 25. Jul 2012, 17:49

vicpopo wrote:Hi Thanos ,
I posted a video showing the discussion about "motor arm" over its position.
The hall sensor ss490 is configured for a angle from 0 to 90°( as you linked in the previous post) , from 0 to 1023 in the amc1.6 board as you can show at the beginning of the video .
As you can show when I move the slider up and down near the max position ,even if I go over the value 1023 the motor arm never make a complete turn for reaching the next position!
Otherwise when I move the slider nearbthe min position 0 , sometimes the motor make a complete turn for reaching the next postion.
Regards
Gilles


I tested it myself and it never happened to my mechanical arrangement until I moved the sensor a little way from the magnets! What happens is that the magnets maybe less strong than mine and at the max positions cannot reach the absolute zero or absolute 1023 value.

But as you mentioned there might be also problem with potentiometers since the motor might not stop in time for the mechanical limit of the potentiometer and break it. To remedy that I added a new firmware (1.1e) that adds a 10% dead zone in the end limits of the potentiometer or hall effect devices. This will fix the problems with "complete turns" errors with hall-effect sensors and save the classic potentiometers from mechanical failures.

Try the new firmware v1.1e and tell me if it is better * (BTW because of the rotation speed of the axis of my motor I had to limit the KP to just 3!)

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: Thanos AMC1.6 USB Motion Controller

Postby tronicgr » Wed 25. Jul 2012, 22:16

And here is a video with my tests... Full speed, edge to edge and no incorrect rotation! Notice on the video, the dead zone on the end positions of the sensor developed in firmware v1.1e !





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: Thanos AMC1.6 USB Motion Controller

Postby vicpopo » Thu 26. Jul 2012, 07:11

Hi Thanos,
Yes!! Many thanks for your firmware improvement :D !
It will secure our simulator and will become cheaper (any switches to install)
I tested it too with wiper motor and it works great.I didn't post a video because not enough time doing that.
Gilles.
I will post my test with h bridge and bigworm 180w motor wich was unsatisfacting.I burned mofset and one led on h-bridge.We suppose with my friend very high voltage peaks that the h-bridge can't eliminate.(peaks when inversion direction)
User avatar
vicpopo
 
Posts: 645
Joined: Fri 20. Apr 2012, 18:04
Location: Strasbourg France
Has thanked: 39 times
Been thanked: 80 times

PreviousNext

Return to Controllers and Drivers Projects

Who is online

Users browsing this forum: No registered users and 2 guests