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 » Sat 1. Feb 2014, 14:41

Ragazzi, piano piano sto mettendo tutte le foto del mio progetto ma mi trova davanti ad un problema:
Sto mettendo a punto x-sim: i motori si muovono nella giusta direzione seguendo il movimento giusto per la fisica del gioco, ho impostato minum e maximum su x-sim muovendo manualmente i motori e rileva valori che sembrano essere quelli giusti.
Il problema è che i motori non si fermano al massimo e minimo, quindi in accellerazione continuano a girare in un verso, in frenata nell' altro usando anche la porzione del cerchio che non dovrebbero. Cosa sbaglio???
Sto impazzendo :cry: :evil:

Guys, I'm slowly putting all the photos of my project but I am faced with a problem:
I'm developing x-sim: The engines are moving in the right direction following the movement right to the physics of the game, I set minum and maximum of x-sim moving manually engines and detects values ​​that seem to be the right ones.
The problem is that the motors do not stop at the maximum and minimum, then acceleration will continue to run in one direction, braking in 'other using also the portion of the circle that they should not. What is wrong??
I'm going crazy :cry: :evil:
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 » Sat 1. Feb 2014, 20:40

Ciao Billo,
Spero di avere compreso il problema ... hai controllato le polarità dei pot ? non conosco la tua elettronica ma mi pare un problema di retroazione,
fammi sapere!!! ricontrolla i cablaggi (mot1 - pot1 etc), se sono corretti prova a invertire i due poli laterali dei pot, il polo centrale da il "segnale" quelli laterali polarizzano il pot.

cmq vai tranquillo, ragionando risolverai sicuramente, ci vuole solo tenacia

ps se posso darti qualche "consiglio" (la mia postazione è molto simile alla tua ... puoi vederla tra i miei posts),
- il baricentro mi sembra eccessivamente alto, dovrebbero bastarti 20 cm di luce netta tra base e culla.
- stai usando un giunto cardanico simile al primo che ho utilizzato e rotto ... passa a un giunto omocinetico (dallo sfasciacarrozze a gratis, lo chiamano giunto mozzo - ruota) . inserisci una barra anti-torsione usando due teste snodo (anche piccole M6 o M8) tra base fissa e culla, non preoccuparti della limitazione di escursione, ti accorgerai che 5° - 8° sono più che sufficienti.

Dopo ripetute prove mi sono convinto che un'eccessiva rotazione (laterale o longitudinale) è poco realistica e poco reattiva, contano molto di più le "spinte" e le forze verticali (col setup attuale sento le asperità dell'asfalto e il grip da urlo!!!)

a disposizione,
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 » Sat 1. Feb 2014, 21:05

grazieeeee....che bello, un italiano, faccio una fatica bestiale con google traslate :D
Hai ragione, non ho pubblicato ancora l'elettronica perchè non ci sono ancora arrivato, ma nel primo post con la lista della spesa è visibile.
Comunque uso velleman k8055n e sabertoot 2x12
Il circuito l' ho controllato più di una volta comunque potrebbe essermi sfuggito qualcosa:
Andiamo per ordine:
I potenziometri sono collegati bene perchè misurando la tensione all' ingresso della velleman riesco a misurare la variazione di tensione mentre sposto la leva, adesso non ho sottomano la base della postazione perchè ce l'ho al negozio di informatica di un amico che mi sta aiutando, ma potrei effettivamente aver invertito gli ingressi quindi quando il motore gira giustamente il feedback che trova è fasullo perchè è quello dell' altro motore e la postazione impazzisce..... :roll: non sai quanto spero che sia così, ma dovrò aspettare lunedì per verificare.
Per il resto x-sim vede bene la variazone tra maximum e minimum ma io la faccio meccanicamente, c'è un altro modo per tarare il simulatore con la schermata di calibrazione....noi abbiamo provato ma senza successo, ovvero il motore che calibriamo comincia a girare e non si ferma, e ciò potrebbe essere legato sempre all' inversione dei collegamenti dei potenziometri.
Appena provo ti dico, intanto ti ringrazio per il prezioso aiuto :D


thank you ....
You're right, I have not yet published the electronics because there are not yet come, but in the first post with the shopping list is visible.
However, use velleman k8055n and sabertoot 2x12
The circuit I 've checked more than once though that may have missed something:
Come to order:
The potentiometers are connected well because measuring the voltage 'entrance of velleman can measure the voltage change while I move the lever, now I have to hand the base of the post because I have the computer store with a friend who is helping me , but I might actually have reversed the inputs so when the engine is running correctly is the feedback that is bogus because it is that of 'other engine and the station goes crazy ..... : Roll: I hope you do not know what that is, but I'll have to wait until Monday to find out.
For the rest of x-sim can clearly see the Changes as between maximum and minimum but I do it mechanically, there is another way to calibrate the simulator with the calibration screen .... we have tried without success, which is the engine that calibrate starts and does not stop, and this may be related more to 'wrong connection of potentiometers.
As soon as I try I tell you, in the meantime I thank you for the precious help: 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 micma80 » Sun 2. Feb 2014, 09:33

E' proprio vero, in italiano è più facile!!! (riflessione a parte su quanto, in media, non conosciamo altre lingue rispetto al resto del mondo...)

IT A noi, ricorda non solo di verificare la corrispondenza motore -> pot, ma anche la polarità del pot!!! (scambia i due fili laterali se necessario)
EN remember to verify the matching engine -> pot and also the polarity of the pots! (if necessary swap the two side wires )

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 vicpopo » Sun 2. Feb 2014, 10:44

billo2404 wrote:Guys, I'm slowly putting all the photos of my project but I am faced with a problem:
I'm developing x-sim: The engines are moving in the right direction following the movement right to the physics of the game, I set minum and maximum of x-sim moving manually engines and detects values ​​that seem to be the right ones.
The problem is that the motors do not stop at the maximum and minimum, then acceleration will continue to run in one direction, braking in 'other using also the portion of the circle that they should not. What is wrong??
I'm going crazy :cry: :evil:

Hi,

With Velleman vm110 I never reach to solve the problem (motors start unexpectly ) without putting a car relay .I don't know if we are talking about the same problem.
Did you watch here ?
http://www.x-sim.de/forum/viewtopic.php?f=37&t=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: my 2dof sim

Postby billo2404 » Sun 2. Feb 2014, 15:03

micma80 wrote:E' proprio vero, in italiano è più facile!!! (riflessione a parte su quanto, in media, non conosciamo altre lingue rispetto al resto del mondo...)

IT A noi, ricorda non solo di verificare la corrispondenza motore -> pot, ma anche la polarità del pot!!! (scambia i due fili laterali se necessario)
EN remember to verify the matching engine -> pot and also the polarity of the pots! (if necessary swap the two side wires )

micma80


Grazie della precisazone, effettivamente non avevo minimamente pensato al fatto che invertendo la polarità dei potenziomentri potesse cambiare qualcosa al feedback, io per il momento, considerando che con il sistema a glifo oscillante che ho utilizzato perdo un po' di corsa del potenziometro, riscontro una tensione positiva all' ingresso analogico della k8055n che varia tra i 3,41 in posizione minima e i 3,98 v in posizione massima se mi ricordo bene. Lunedi rimisurerò per sicurezza comunque sono sicuro che sia positiva.

Come potrebbe incidere sul sistema l' inversione della polarità????
Mi sta sfuggendo qualcosa di ovvio??? :roll:


Thank precisazone, actually I had not the slightest thought to the fact that reversing the polarity of the feedback potentiometers could change something, I for the moment, whereas with the glyph oscillating system that I have used I lose a little 'run of the potentiometer, accompanied by a positive voltage to 'analog input k8055n ranging between 3.41 and 3.98 v at the lowest position to the highest position if I remember right. Monday rimisurerò for security, however, I'm sure it is positive.

How could it affect the system 's reverse polarity??
Am I missing something obvious?? :roll:
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 » Sun 2. Feb 2014, 15:10

vicpopo wrote:
billo2404 wrote:Guys, I'm slowly putting all the photos of my project but I am faced with a problem:
I'm developing x-sim: The engines are moving in the right direction following the movement right to the physics of the game, I set minum and maximum of x-sim moving manually engines and detects values ​​that seem to be the right ones.
The problem is that the motors do not stop at the maximum and minimum, then acceleration will continue to run in one direction, braking in 'other using also the portion of the circle that they should not. What is wrong??
I'm going crazy :cry: :evil:

Hi,

With Velleman vm110 I never reach to solve the problem (motors start unexpectly ) without putting a car relay .I don't know if we are talking about the same problem.
Did you watch here ?
http://www.x-sim.de/forum/viewtopic.php?f=37&t=254


Grazie, ma se ho ben capito il problema che dici tu è un altro, cioè non far partire tutto quando accendi il sim e la velleman da uscita "0" quindi la saberthoot da in uscita "-12 v" e tutto comincia a girare.
E' un ottima suluzione la tua e probabilmente ti chiederò qualcosa in merito quando avrò finito. Io per il momento utilizzo un interruttore sull' uscita della saberthoot cosi che posso dare alimentazione al simulatore solo quando il software è connesso. Sicuramente la tua soluzione è migliore ma adesso devo risolvere questo problema, poi penserò ai miglioramenti generali.
Spero di non aver frainteso il succo del tuo post, purtroppo con i traduttori automatici a volte può capitare.


Thanks, but if I understand the problem that you say is another, everything that is not to start when you turn on the sim and the velleman to output '0 'then the output from saberthoot' -12 v 'and it all begins to turn.
It 'a great suluzione and your probably going to ask you about something when I'm done. For the moment I use a switch on the 'output saberthoot so that I can give power to the simulator only when the software is connected. Surely your solution is better but now I have to solve this problem, then I will think to general improvements.
I hope I have not misunderstood the gist of your post, unfortunately with automatic translators can sometimes happen.
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 » Mon 3. Feb 2014, 10:54

Ciao,
l'ovvio può sempre sfuggire, mi sa che nulla è ovvio ...

a noi, la polarità dei pot è molto importante perché il valore di retroazione deve seguire il movimento.

Ad esempio, in 2DOF come il nostro quando il movimento del braccio motore va verso l'alto il relativo pot deve restituire valori crescenti (sopra i 512) e viceversa, altrimenti il sistema non capisce che il movimento è corretto e comanda il motore in senso opposto al movimento voluto (quindi il motore inizia a girare per tutti i 360 °). In altre parole xsim e l'elettronica che usiamo lavorano con un controllo di posizione (a catena chiusa).

In termini pratici: puoi visualizzare (con un display) i valori restituiti dal pot alla k8055n e vedere se sono coerenti con il movimento, oppure provare direttamente a invertire la polarità dei fili laterali del pot (non dovrebbe rompersi nulla visto che usi il sistema a glifo oscillante).

circa l'escursione del glifo e quindi del pot considera che in realtà i ns. sim sfruttano in totale massimo 40 - 45° (+20 e -20), quindi è necessario usare pot 90° elettrici (ideali quelli a effetto hall) o far credere al sistema che stai usando qualcosa del genere. Io uso normali pot 270° e ho tarato su AMC1.5 il max e il min così da ottenere valori di circa 100 - 150 sulla posizione di minimo e circa 900 - 1000 sulla posizione di massimo, così sfrutto quasi tutta la risoluzione a 9 bit.

spero di essere stato chiaro,
micma80

EN Hello ,
polarity of the pot is very important because the feedback value must follow the movement .

For example, in 2DOF like ours, when the movement of the motor arm goes up on the pot should return increasing values ​​(above 512) and vice versa, otherwise the system does not understand that the movement is correct and controls the motor in the opposite to the desired motion (so the motor starts to rotate through 360 °). In other words xsim and electronics that use work with a position control ( closed loop ) .

[b] you can ( with a display) return values ​​from the pot to the k8055n and see if they are consistent with the movement, directly or try to reverse the polarity of the side of the pot (it should not break anything since it uses the system oscillating glyph ) . [/ b]

about hiking the glyph and then the pot considers that in fact our. sim exploit total maximum 40-45 degrees ( +20 to -20 ) , so you need to use pot 90 electrical degrees ( those ideals hall effect ) or the system to believe that you're using something. I use normal pot 270 ° and I calibrated AMC1.5 the max and min so as to obtain values ​​of about 100-150 to the minimum position and about 900-1000 on the position of the maximum, so I take advantage of almost all of the 9-bit resolution
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 » Mon 3. Feb 2014, 19:52

Eccomi qui...ho fatto delle prove ma purtroppo non sono arrivato a nulla di utile :cry:
La corrispondenza dei motori sembrava esatta, ma ho provato ad invertirli per sicurezza e non è cambiato nulla.
Misurando con il tester ho rilevato i seguenti valori di feedback:

MOTORE DESTRO: Max altezza: 3,59 volt
Min altezza: 2,19 volt

MOTORE SINISTRO: Max altezza: 2,01 volt
Min altezza: 3,29 volt

Ho provato ad invertire la polarità ma i valori sono assolutamente identici, purtroppo i potenziomentri sono montati asimmetrici, quindi quando si alza il motore destro il potenziomentro corrispondente si muove in senso antiorario, mentre quando si alza il motore sinistro il potenziometro corrispondente si muove in senso orario. Per ovviare a questo problema non basta invertire l'asse?
Per quanto riguarda x-sim faccio leggere il massimo e il minimo muovendo la leva dei motori e i valori sembrano essere giusti, il massimo è più alto e il minimo è più basso. La corrispondenza del 100% al massimo e del 0% al minimo è giusta.

Mentre il gioco va i valori di feedback cambiano in modo giusto, pero non riesco a impedire che i motori vadano oltre il massimo e il minimo, in pratica in acellerazione i motori continuano a girare come se non ci fosse il massimo fin quando si arriva alla frenata e i motori cominciano a girare nel verso opposto senza rovare il minimo.

Queste prove, se può essere utile le sto facendo con Rfactor in modalita IA.

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


Here I am ... I did some tests but unfortunately I have not arrived at anything useful :cry:
The matching engine seemed correct, but I tried to swap them for safety and nothing has changed .
Measuring with the meter I found the following values ​​of feedback :

ENGINE RIGHT : Max height : 3.59 volts
Min height : 2.19 volts

MOTOR LEFT : Max height : 2.01 volts
Min height : 3.29 volts

I tried to reverse the polarity , but the values ​​are absolutely identical , unfortunately the potentiometers are mounted asymmetric , then when he gets the right engine the potentiometer corresponding moves counterclockwise , and when you lift the left motor potentiometer corresponding moves in the time . To overcome this problem it is not enough to reverse the axis ?
As for x -sim I read the maximum and minimum moving the lever of the engines and the values ​​appear to be correct , the maximum is higher and the minimum is lower. The 100% match to the maximum and the minimum is 0% right .

As the game goes the feedback values ​​change in the right way, but I can not prevent the motors go beyond the maximum and minimum , in practice acellerazione engines continue to run as if there was not the greatest ever when it comes to braking and the engines start to turn in the opposite direction without the slightest rovare .

These tests may be useful if I'm doing with Rfactor in IA mode .


http://www.youtube.com/watch?v=nFXJFIPRsGk
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 » Mon 3. Feb 2014, 21:09

Ciao,
ho visto il video ... ho un altro pensiero in testa.
mi pare che nel punto di massimo o di minimo il glifo non abbia la giusta lunghezza. infatti anziché invertire il moto del pot in senso opposto "cade" dall'altro lato. Per confermare questa teoria puoi abbassare notevolmente i valori di forza che mandi da XSim, in modo da limitare l'escursione del braccio motore, facendolo rimanere entro 45°, verso l'alto e verso il basso. Spero che sia la soluzione... diversamente devi trovare i vari posts che parlano della tua elettronica, purtroppo non la conosco affatto,

in bocca al lupo
micma80

EN

I saw the video ...
I think that the point of maximum or minimum of the glyph does not have the right length. In fact rather than reverse the motion of the pot in the opposite direction "falls" on the other side. To confirm this theory can significantly lower the values ​​of force to send to XSIM, in order to limit the excursion of the motor arm, causing it to remain within 45 °, upwards and downwards. I hope this is the solution ... otherwise you have to find the various posts that speak of your electronics, unfortunately I do not know at all,
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

PreviousNext

Return to Motion simulator Projects in progress

Who is online

Users browsing this forum: No registered users and 1 guest