3DOF power simulator

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.

Re: 3DOF power simulator

Postby tronicgr » Thu 27. Sep 2012, 14:57

Hi,

You haven't set correctly the ADC range of the AMC1.6 , you need to turn the small trim potentiometer, next to the ADC channels, all the way clockwise to see the correct voltage across all the turns of the 10k 10-turn potentiometers you have.

Here you can find an explanation how the ADC range limit works:
http://www.*.de/forum/viewtopic.php?f=25&t=559&p=6138&hilit=multiturn+pot#p6138


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: 3DOF power simulator

Postby thecure » Thu 27. Sep 2012, 15:35

the file POT_CALIB_XEC.ZIP is not available
User avatar
thecure
X-Sim Supporter
 
Posts: 122
Joined: Mon 23. Jul 2012, 19:09
Has thanked: 11 times
Been thanked: 5 times

Re: 3DOF power simulator

Postby tronicgr » Thu 27. Sep 2012, 15:55

thecure wrote:the file POT_CALIB_XEC.ZIP is not available



You don't need this file!!! I had it this way back in 2007, before the AMC firmware was finished with all LCD functions it has *


Don't be confused by the above article I gave you in the link, just follow these steps:

1. Turn the small blue multi pot all the way clockwise to get the full ADC range.
2. Load the latest AMC1.6 firmware v1.1g !!!
3. Use an extra potentiometer connected on POT3 to set the end-position limits (percent) this way.
4. Done!


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: 3DOF power simulator

Postby thecure » Fri 28. Sep 2012, 10:22

while adjusting the adc I still have the same problem as before ..... where am I wrong? another question the position of POT1 where it needs to be ?
User avatar
thecure
X-Sim Supporter
 
Posts: 122
Joined: Mon 23. Jul 2012, 19:09
Has thanked: 11 times
Been thanked: 5 times

Re: 3DOF power simulator

Postby thecure » Sat 29. Sep 2012, 13:38

the problem (as shown in the video) and that in 1/5 of turn i have 5 volt. Look the video. http://www.youtube.com/watch?v=00VMDmVZ ... e=youtu.be

I need this (look the image)...tks
Image
User avatar
thecure
X-Sim Supporter
 
Posts: 122
Joined: Mon 23. Jul 2012, 19:09
Has thanked: 11 times
Been thanked: 5 times

Re: 3DOF power simulator

Postby tronicgr » Sat 29. Sep 2012, 16:32

Hi,

The video was helpful to see what you mean. But all I seen is correct. The potentiometer work as it should.

To see what I mean you should get readings on the LCD from 0 - 255 (second number) for all ten turns of your potentiometer.

Now the question is where you are measuring that voltage from? Are you measuring it from the PWM output? If yes, that is normal! The Proportional math inside the CPU is making appropriate signals (or voltage levels) for the motor to follow closely the potentiometer position...

I'd suggest to connect a motor (via a motor driver of course) and attach the potentiometer on the motor rotation axis (be careful of correct direction) to see the motor following the potentiometer position accordingly to the positions that x-sim sends to the AMC1.6.


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: 3DOF power simulator

Postby basthard » Sat 29. Sep 2012, 18:12

tronicgr wrote:Hi,

To see what I mean you should get readings on the LCD from 0 - 255 (second number) for all ten turns of your potentiometer.

Now the question is where you are measuring that voltage from? Are you measuring it from the PWM output? If yes, that is normal! The Proportional math inside the CPU is making appropriate signals (or voltage levels) for the motor to follow closely the potentiometer position...

Thanos


I Thanos,an thecure, my friends ;)
sorry if I intrude,
but since we did the test together this morning,
please explain why what I see on the LCD is not in any way reflect the output
PWM because, in a nutshell:
after 21 points on the display (about 107, 1/5 turn) started from 127 (the center)
I already 5V on PWM and the rest 4/5 of rotation? :evil:
and this, in another sense too ... so, give reasons for using a multiturns pot? :cry:
let me know please.
basthard :ugeek:
User avatar
basthard
 
Posts: 29
Images: 0
Joined: Sun 22. Jul 2012, 09:03
Location: Italy
Has thanked: 0 time
Been thanked: 5 times

Re: 3DOF power simulator

Postby tronicgr » Sat 29. Sep 2012, 18:56

Hi,

The way it increases the output so early in is because the potentiometer is providing as feedback the ERROR in position or otherwise the current distance from the setpoint (position instructed by x-sim). The way this ERROR increases is exponential, meaning the further the position from the setpoint the faster the output speed will reach maximum to counter react for the error in position.

Have a look in this video that explains how Position Control systems work: http://www.youtube.com/watch?v=wbmEUi2p-nA

Its WRONG from your side to just observe the PWM output without completing the process of the closed loop system. You HAVE to USE the feedback position potentiometer in combination with the output (motor)!!!!


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: 3DOF power simulator

Postby basthard » Sat 29. Sep 2012, 20:11

i again,
since I am a big electronic eh eh eh :lol:
In practice I have to run the motor with the pot connected
with the reduction we need, and that's it ...
I can almost assure you, I say almost ...

the only question that comes to us is that having
control a worm, we should adopt a reduction ratio of 10:1
and we wanted to make sure you have up to 10 rotations on pot

for now thanks again :oops:
User avatar
basthard
 
Posts: 29
Images: 0
Joined: Sun 22. Jul 2012, 09:03
Location: Italy
Has thanked: 0 time
Been thanked: 5 times

Re: 3DOF power simulator

Postby thecure » Tue 2. Oct 2012, 13:36

we tried as you said with the pot on the engine, and it seems to work, but it happens that after a couple of laps (with rfactor ..) .. turns out this error display (see video), ... and it also happens that then also lose the position, ... the problem?

http://www.youtube.com/watch?v=9baQGDL5 ... e=youtu.be

I tried to increase the datapacket ms (see photo), and seems to get better, I have less crashes!!

Image
User avatar
thecure
X-Sim Supporter
 
Posts: 122
Joined: Mon 23. Jul 2012, 19:09
Has thanked: 11 times
Been thanked: 5 times

PreviousNext

Return to Motion simulator Projects in progress

Who is online

Users browsing this forum: No registered users and 2 guests