my 2dof sim

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: my 2dof sim

Postby billo2404 » Mon 3. Feb 2014, 22:14

purtroppo non credo sia quello il problema, in fase di progettazione avevo cercato di calcolare che il punto di massimo e il punto di minimo si trovassero sufficentemente prima della tangente che forma il braccio con il potenziometro.
Posto uno schema per semplificare il concetto:
2545
qui è rappresentato il motore dx, il sinistro è praticamente simmetrico:

in questo disegno abbiamo:
A = punto di escursione massima settato su x-sim e corrispondente al valore di V 3,59
B = punto di escursione minima settato su x-sim e corrispondente al valore di V 2,19
C = punto di minima resistenza fornita dal potenziometro quindi con V sueriore a 3,59 V (tangente superiore)
D = punto di assima resistenza fornita dal potenziometro quindi con V inferiore a 2,19 V (tangente inferiore)

A questo punto non credo sia un problema di hardware ma di software, mi potresti riassumere il procedimento giusto per eseguire la taratura dei profili, forse è li che sbaglio qualcosa, purtroppo non riesco a trovare dei tutorial dove sia spiegato con chiarezza.

Per sicurezza ecco anche uno schema della mia elettronica

2546

Grazie in anticipo

Unfortunately, I do not think that's the problem, at the design stage I tried to calculate that the maximum point and the minimum point they were sufficiently before the turn that form the arm with the potentiometer.
Place a scheme to simplify the concept:
2545
represented here is the right engine, the left is almost symmetric:

in this design, we have:
A = point of maximum excursion set of x-sim and corresponding to the value of 3.59 V
B = point hike minimum set of x-sim and corresponding to the value of 2.19 V
C = the point of least resistance provided by the potentiometer then with tertiary level V to 3.59 V (upper tangent)
D = assima point of resistance provided by the potentiometer then with U less than 2.19 V (lower tangent)

At this point I do not think it is a hardware problem but software, I could summarize the procedure right to perform the calibration profiles, maybe there is something wrong that, unfortunately I can not find the tutorial where it is explained clearly.

For your safety here is also a diagram of my electronics

2546

Thanks in advance
User avatar
billo2404
 
Posts: 70
Images: 72
Joined: Tue 2. Jul 2013, 18:29
Location: Roma (ITALY)
Has thanked: 7 times
Been thanked: 2 times

Re: my 2dof sim

Postby micma80 » Tue 4. Feb 2014, 11:16

ciao, guarda i PM,
girando qua e la ho trovato qualcosa. In effetti l'elettronica che usi differisce molto dalla mia.
Controlla i seguenti passi, qualora non lo avessi già fatto:

by adbgg
1. Jumpers :
IMPORTANT : Don’t forget to remove jumpers SK2 and SK3 when trying external potentiometers (number 3 and 4 from the picture). Then, turn in the clockside the 2 pots (number 5 and 6 on the picture), to get the maximum range.
2. Feedback position : Potentiometer
You must supply the potentiometer with a battery of 5V, and NOT MORE !
To be more precise, you could supply the potentiometer with a higher voltage than 5V.
For instance, I have tried with success to supply with 6V BUT in that case, I had to turn the ATT1 pot on the K8055 to lower the range and keep the signal between 0V and 5V maxi. I’ve tried with less electrical power (3 x 1,5 V= 4,5V) and it works also, but the range is not so large.
3. The Sabertooth board can work in several configurations. In this project, we are interested in the “analog mode”. So we have to configure the SWITCH as follow :

SWITCH 1 = ON
SWITCH 2 = ON
SWITCH 4 = OFF

SWITCH 4 allows “Independant mode” to drive 2 motors.
For others SWITCH, please read the user manual (everything is important).
4. Speed and direction :

The Sabertooth must receive an electrical signal between 0V and 5V to know the speed and the direction of the motors. The motors must support 6V-24V and without exceeding 10A continuously. Check that you have connected a battery to give electrical power 6V-24V to the Sabertooth.

0V will give a full speed in one direction
5V will give a full speed in ohter direction
2,5 V will stop the motor

There is a simple way to understand this rule by using a potentiometer. I invite you to realise this simple test before connecting K8055 with the Sabertooth. You can use a linear potentiometer of 10kohms for this test. Please note that the potentiometer is auto-powered through the Sabertooth (no need to plug another battery of 5V).

IMPORTANT : Motors may move unexpectedly if there is no electrical signal sent to S1 / S2 of the Sabertooth. No signal means 0V and “full speed in one direction”. To stop the motors, you have to send an electrical signal of 2,5V.

5.First test with Velleman Software (K8055 Demo):

A good idea to test your connexion is to try the Velleman software.
Plug the K8055 to the PC and launch the software “K8055 Demo”.
Try to move the slider DA1 and look at the reaction of the motor :

· If the slider DA1 is at the middle position, the motor should not move (2,5V). If you put the slider at the top, the motor should move at full speed in one direction (5V) etc.
· The AD1 slider shows the position of the potentiometer. In this way, you can check if you have a feedback.
6. XSIM

Test with “interface setting” menu :

The first test I propose is to move the motor through X-Profiler menu. This is a good solution to check all the connexions and to be sure that everthing’s working well.
TEST : In the menu of “Interface setting” of X-Profiler, select the analog output from the list “All outputs of found interfaces” (normally DAC1 = Output analog 1), and fill in a percentage into the field between 0 and 100%, click on the button “Set output” and look to the motor reaction.

[img600px]http://nice.maurice.free.fr/Tutorial/Interface_setting.jpg[/img600px]

Please, try the figures below and look directly to the motor effects ;

· 0% will make the motor moves at a full speed in one direction (0V)
· 100% will make the motor moves at a full speed in the other direction (5V).
· 50% will stop the motor (2,5V)
· 60% will make the motor moves slowly in one direction.
· 40% will make the motor moves slowly on the other direction.
· 50% will stop the motor.

Please read the “speed and direction” section in this tutorial (Sabertooth Dual motor). You can look directly the effects of X-SIM configuration on the motors, through K8055 + Sabertooth boards.

IMPORTANT : Without any information sent to the Sabertooth when launching X-Profiler, motors may move in full speed. I suppose the default value is set à 0%, corresponding to full speed in one direction (0V corresponds to full speed).
7. Calibration :

The calibration can be realised by hand. If you are not able to move the motor by hand, you can use the menu « interface setting ». Select the analog output, and write a percentage of 60%. The corresponding motor will move slowly and you can calibrate maximum and minimum positions, following the instructions below :

· Maximum : Place the motor in order to move the potentiometer at the maximum, and click on the button « maximum ».
· Minimum : Place the motor in order to move the potentiometer at the minimum, and click on the button « minimum ».

If there is a problem for calibration, you can click on the button « invert reference input » and repeat the procedure with maximum and minimum positions.
Create profile for Tablet-test

micma80
User avatar
micma80
 
Posts: 100
Images: 11
Joined: Mon 14. May 2012, 10:30
Location: Italy - Sicilia
Has thanked: 3 times
Been thanked: 5 times

Re: my 2dof sim

Postby billo2404 » Thu 6. Feb 2014, 16:48

Grazie micma80 per tutto l' aiuto.
Molto interessante questo post anche se purtroppo la maggior parte di queste nozioni le conoscevo già :?
Comunque ho misurato per sicurezza la tensione di feedback massima oltre la massima escursione utile:
In pratica dal punto di massimo che setto su x-sim se ruoto ancora il motore ho una variazione di circa 0,2 v.
Ora mi chiedo se magari questo valore è insufficente per far capire ad x-sim che si è passato il massimo o no. Io presumo che dovrebbe bastare visto che in elettronica 0,2 volt non sono trascurabili ma vorrei un parere da qualcuno più esperto.
Potrei anche eliminare il glifo oscillante e utilizzare un piccolo sistema a cinghia per avere un feedback più preciso ma vorrei essere sicuro che il problema sia quello prima di intervenire.
Intanto voglio fare qualche test con la demo della k8055n per controllare il feedback (avevo fatto le prove quando l'ho collegata la prima volta ma non gli ho dato troppo peso) e poi voglio provare a fare una taratura di x-sim con un escursione limitata per vedere se si comporta diversamente.
Oltre queste prove al momento non me ne vengono in mente altre.
Ogni consiglio nel frattempo è ben accetto e fa bene al morale ;)


Thanks for all the micma80 'help.
Very interesting post this but unfortunately most of them already knew the basics :?
However, I measured the voltage feedback maximum safety over the maximum excursion helpful:
In practice, from the point of maximum septum on x-sim if I rotate the engine again I have a variation of about 0.2 v.
Now I wonder if maybe this value is too low to make it clear to x-sim that has passed the maximum or not. I guess that should be enough because in 0.2 volt electronics are not negligible but would like an opinion from someone more experienced.
I could also remove the glyph and use a small oscillating belt system for feedback more precise, but I would be sure that the problem is that before intervening.
Meanwhile I will do some tests with the demo of k8055n to control the feedback (I did the tests when I connected the first time but I did not give too much weight) and then I want to try to make a calibration of x-sim with an excursion Limited to see if it behaves differently.
Apart from these tests at the time I did not come to mind other.
Any advice in the meantime is welcome and is good for morale ;)
User avatar
billo2404
 
Posts: 70
Images: 72
Joined: Tue 2. Jul 2013, 18:29
Location: Roma (ITALY)
Has thanked: 7 times
Been thanked: 2 times

Re: my 2dof sim

Postby micma80 » Sun 9. Feb 2014, 22:22

Forza e coraggio!!!
fai tutte le prove con calma e in modo ordinato, prima che tu possa pensare la soluzione arriverà.

io mi concentrerei sul particolare che con la tua elettronica ci vogliono 2,5 V al segnale di comando PWM per far si che il motore si fermi.
A che punto sei ???

micma80

EN I would focus on the detail with which your electronics it takes to 2.5V PWM control signal to ensure that the engine stops.
User avatar
micma80
 
Posts: 100
Images: 11
Joined: Mon 14. May 2012, 10:30
Location: Italy - Sicilia
Has thanked: 3 times
Been thanked: 5 times

Re: my 2dof sim

Postby billo2404 » Tue 11. Feb 2014, 20:22

Ecco le novita:
Innanzitutto voglio ringraziare l' utente "merchane" che è stato così gentile da passarmi il suo profilo con il quale sto facendo qualche prova e sono riuscito a fare qualche passo avanti.
Ora il simulatore si ferma bene a metà, e non oltrpassa mai il mnimo e massimo impostati e questa è già una vittoria.
Però si muove un po' poco e non mi simula laforza g in curva.
Sto caricando un video e più tardi posterò il video con i procedimenti che ho fatto e le varie schermate del profilo e se qualcuno ha pazienza dovrò fare qualche domanda...a dopo :D

Here's the news:
First I want to thank user 'merchane' that has been so kind as to pass him with whom I'm doing some testing and I managed to make some progress.
Now the simulator stops right in the middle, and do not ever oltrpassa mnimo and the maximum set and this is already a victory.
But it moves a little 'little and I do not laforza simulates g cornering.
I'm uploading a video later and post the video I made with the procedures and the various screens of the profile and if anyone has patience I'll have to ask some questions after ... :D
User avatar
billo2404
 
Posts: 70
Images: 72
Joined: Tue 2. Jul 2013, 18:29
Location: Roma (ITALY)
Has thanked: 7 times
Been thanked: 2 times

Re: my 2dof sim

Postby billo2404 » Wed 12. Feb 2014, 01:10

ecco il video del risultato con questo profilo usando rfactor in modalità IA

here is the video of the result with this profile using rfactor mode IA

http://www.youtube.com/watch?v=SY47XqDZ9Aw

Come vedete si muove molto poco e non si inclina nelle curve.
Ora chiedo a voi se ho eseguito la procedura giusta.
Dopo aver caricato il profilo ho impostato il massimo e il minimo sia per il motore destro che per il sinistro

As you can see moves very little and will not tilt when cornering.
Now I ask you if you've done the right procedure.
After loading the profile I set the maximum and minimum for both the right and the left engine


2547
2548

Ho settato a "0" l' offset e ho inpostato l'asse come simmetrico sia destro che sinistro e qui potete anche vedere i vari effetti caricati nel profilo

I set to '0 's' and I inpostato offset the axis as symmetrical right and left and here you can also see the different effects loaded in the profile


2551
2550

Inoltre nel profilo c'è un terzo asse chiamato "SPEED" che non utilizza nessun ingresso referente e uscite digitali (nel video si può vedere dai led quando interviene) ma non so a cosa serva, anche perchè non ho nulla attaccato sulle uscite diglitali.
Posso semplicemente cancellarlo o no?

In addition there is a third axis in the profile called 'SPEED' that does not use any reference input and outputs (in the video you can see by the LEDs when it intervenes) but I do not know what it's for, partly because I do not have anything attached to the outputs diglitali.
Can I just delete it or not?

2552

l'effetto della forza g risultante mi sembra anche bassino sul grafico:

the effect of g-force also seems to me remeber the resulting graph:

2549

Potete aiutarmi a correggere questo profilo per le mie esigenze???

Can you help me fix this profile for my needs??
User avatar
billo2404
 
Posts: 70
Images: 72
Joined: Tue 2. Jul 2013, 18:29
Location: Roma (ITALY)
Has thanked: 7 times
Been thanked: 2 times

Re: my 2dof sim

Postby Tiromancino1 » Sun 16. Mar 2014, 13:48

Complimenti bel progetto.
Anche io ho scelto la velleman e sabertooth.
User avatar
Tiromancino1
 
Posts: 23
Images: 8
Joined: Sat 15. Mar 2014, 13:27
Location: Rimini Italy
Has thanked: 3 times
Been thanked: 0 time

Re: my 2dof sim

Postby kevin123 » Mon 16. Jun 2014, 18:30

@billo2404 Secondo me (da quello che ho visto) è un problema dei profili che usi.. scaricali da x-sim e ci cambi solo l'output...oppure devi aumentare le forze longitudinali verticali ecc. del profilo che usi (leggi il manuale di x-sim).
Se puoi fare anche uno screenshot della tua configurazione velocità dinamica
Ps: Come hai impostato il massimo e il minimo?
Saluti kevin

@ billo2404 I think (from what I've seen) is a problem of the profiles that you use .. download them from x-sim and it only changes the output ... or you need to increase your vertical longitudinal forces etc.. the profile you use (read the manual of x-sim).
If you can also do a screenshot of your configuration dynamic speed

PS: How did you set the maximum and minimum?
greetings Kevin
User avatar
kevin123
X-Sim Supporter
 
Posts: 196
Images: 132
Joined: Sat 14. Apr 2012, 09:15
Location: Italy
Has thanked: 15 times
Been thanked: 11 times

Re: my 2dof sim

Postby billo2404 » Tue 17. Jun 2014, 10:38

Grazie kevin per l'interessamento....purtroppo questo periodo ho dovuto dedicare tempo ad altre cose e ho trascurato un po il sim.
ora sono fuori fino al 22 ma ho giá fatto modifiche e appena ritorno vorrei riuscire a portare a termine l'opera.
purtroppo dal telefonino posso farti vedere poco ma dopo posso pubblicare tutto. Spero di trovarti ancora perchè il tuo aiuto sarebbe veramente preziosa...grazie
User avatar
billo2404
 
Posts: 70
Images: 72
Joined: Tue 2. Jul 2013, 18:29
Location: Roma (ITALY)
Has thanked: 7 times
Been thanked: 2 times

Re: my 2dof sim

Postby kevin123 » Tue 17. Jun 2014, 20:24

billo2404 wrote:Grazie kevin per l'interessamento....purtroppo questo periodo ho dovuto dedicare tempo ad altre cose e ho trascurato un po il sim.
ora sono fuori fino al 22 ma ho giá fatto modifiche e appena ritorno vorrei riuscire a portare a termine l'opera.
purtroppo dal telefonino posso farti vedere poco ma dopo posso pubblicare tutto. Spero di trovarti ancora perchè il tuo aiuto sarebbe veramente preziosa...grazie


Vai tranquillo...ultimamente non stò facendo trasferte di lavoro quindi se posso aiutarti per quello che so ben volentieri ;)


Go quiet lately ... I'm not making business trips so if I can help you with what I know gladly ;)
User avatar
kevin123
X-Sim Supporter
 
Posts: 196
Images: 132
Joined: Sat 14. Apr 2012, 09:15
Location: Italy
Has thanked: 15 times
Been thanked: 11 times

PreviousNext

Return to Motion simulator Projects in progress

Who is online

Users browsing this forum: No registered users and 2 guests