1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  3. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  4. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

Project Simulator 4 DOF

Discussion in 'New users start here - FAQ' started by Sylvain57, Mar 3, 2016.

  1. Sylvain57

    Sylvain57 New Member

    Joined:
    Mar 2, 2016
    Messages:
    12
    Balance:
    748Coins
    Ratings:
    +2 / 0 / -0
    Bonjour, je m'appelle Sylvain, j'ai 49 ans et j'habite à METZ (FRANCE). Actuellement je suis en école de reconversion professionnelle pour "adultes reconnus travailleurs handicapés". Je suis en terminale BAC pro "étude et définition de produits industriels", ce diplôme s'effectue sur 2 ans.
    Dans le cadre du projet de fin d'études, 3 camarades et moi-même avons eu l'idée de faire un modèle réduit d'un simulateur 4 DOF.
    Bâti en profilé de 45x45 mm - Chassis en aluminium - Pilotage sur 4 vérins électriques type Titan 100 (course 100 mm - vitesse 0.015 m/s) - Carte arduino uno et motor shield.
    Je solliciterai votre aide en tant voulu, si vous le voulez bien, concernant la communication entre arduino et sim tools
    Merci de m'avoir lu, à bientôt.
    Sylvain.

    Hello, my name is Sylvain, I'm 49 years old and live in METZ (FRANCE). Currently I am in school for retraining "recognized adult disabled workers". I am terminally BAC pro "study and definition of industrial products", this diploma is done over 2 years.
    As part of the project graduation, three friends and I had the idea of making a model of a 4 DOF simulator.
    Built in profile 45x45 mm - Aluminum frame - Control of 4 electric actuators Type Titan 100 (100 mm stroke - speed 0015 m / s) - Map Arduino uno and motor shield.
    I solicit your assistance as desired, if you like, about the communication between Arduino and sim tools
    Thank you for reading, see you soon.
    Sylvain.
  2. TFOU57

    TFOU57 Member

    Joined:
    Mar 30, 2009
    Messages:
    164
    Location:
    Thionville - France
    Balance:
    5,723Coins
    Ratings:
    +16 / 1 / -0
    My Motion Simulator:
    2DOF, AC motor, Arduino
    :cheersHello neighbor Mosellan!
    Good luck on your project.
    I transferred a few corners you for you to download any plugins that you will wish and this during 1 week.

    Bonjour voisin Mosellan!:grin
    Bonne chance pour ton projet.
    Je t’ai transférer quelques coins pour que tu puisses télécharger tous les plugins que tu souhaiteras et ceci durant 1 semaine.
    • Friendly Friendly x 1
  3. Sylvain57

    Sylvain57 New Member

    Joined:
    Mar 2, 2016
    Messages:
    12
    Balance:
    748Coins
    Ratings:
    +2 / 0 / -0
    Neighbor thank you for your gift, I have what I need for a year but I love this spirit of sharing that I would do myself. Again thank you and see you soon.
    Sylvain.

    Merci voisin pour ton don, j'ai ce qu'il me faut pour une année mais j'adore cet esprit de partage que je ferais à mon tour. Encore merci et à très bientôt.
    Sylvain.:thumbs
  4. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,509
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    150,674Coins
    Ratings:
    +11,018 / 55 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
  5. Sylvain57

    Sylvain57 New Member

    Joined:
    Mar 2, 2016
    Messages:
    12
    Balance:
    748Coins
    Ratings:
    +2 / 0 / -0
  6. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,509
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    150,674Coins
    Ratings:
    +11,018 / 55 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
  7. Sylvain57

    Sylvain57 New Member

    Joined:
    Mar 2, 2016
    Messages:
    12
    Balance:
    748Coins
    Ratings:
    +2 / 0 / -0
    I actually agree with this principle, but there is a reduction model prototype. The goal of this project is to transcribe only the movements needed, namely pitch, roll, yaw and vertical effect. But thank you for your remark that I fully if it would have been a 1/1 scale prototype.

    Effectivement je suis d'accord sur ce principe, mais il s'agit d'un prototype modèle réduit. Le but de ce projet est uniquement de retranscrire les mouvements dont on a besoin, à savoir tangage, roulis, lacet et un effet vertical. Mais merci de ta remarque que j'approuve entièrement si cela aurait été un prototype à l'échelle 1/1.
  8. TFOU57

    TFOU57 Member

    Joined:
    Mar 30, 2009
    Messages:
    164
    Location:
    Thionville - France
    Balance:
    5,723Coins
    Ratings:
    +16 / 1 / -0
    My Motion Simulator:
    2DOF, AC motor, Arduino
    Titan electric actuators 100, 100mm 506100 VECTI reference race are downright expensive for their features:
    - 6 kg of thrust (60 N)
    - Rear clevis pin 5mm
    They will serve you as your prototype scale model study
    scale model servomotors will be cheaper and easier to monitor and control
    Everything depends on the size and weight of the model that you would like to create and animate

    Tes vérins électriques Titan 100, course 100mm référence VECTI506100 sont franchement chers pour leurs caractéristiques:
    • 6 Kg de poussée (60 N)
    • Axe de chape arrière 5mm
    Ils ne pourront te servir que pour ton prototype d’étude modèle réduit
    Des servomoteurs de modèle réduit seront moins chers et plus facile à commander et contrôler
    Tout dépend de la taille et du poids de maquette que tu souhaites créer et animer
  9. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,509
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    150,674Coins
    Ratings:
    +11,018 / 55 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Sorry my mistake, I forgot it was a model you were building.
  10. TFOU57

    TFOU57 Member

    Joined:
    Mar 30, 2009
    Messages:
    164
    Location:
    Thionville - France
    Balance:
    5,723Coins
    Ratings:
    +16 / 1 / -0
    My Motion Simulator:
    2DOF, AC motor, Arduino
    Titan electric actuators 100, 100mm 506100 VECTI reference race are downright expensive for their features:
    - 6 kg of thrust (60 N)
    - Rear clevis pin 5mm
    They will serve you as your prototype scale model study
    scale model servomotors will be cheaper and easier to monitor and control
    Everything depends on the size and weight of the model that you would like to create and animate
    Do not forget that we must also control the actual position of your cylinders in relation to the set from SimTools
    With this feedback servo control is facilitated
    Tes vérins électriques Titan 100, course 100mm référence VECTI506100 sont franchement chers pour leur caractéristiques:
    • 6 Kg de poussée (60 N)
    • Axe de chape arrière 5mm
    Ils ne pourront te servir que pour ton prototype d’étude modèle réduit
    Des servomoteurs de modèle réduit seront moins chers et plus facile à commander et contrôler
    Tout dépend de la taille et du poids de maquette que tu souhaites créer et animer
    N'oublie pas qu'il faut également contrôler la position réelle de tes vérins par rapport à la consigne provenant de SimTools
    Avec les servomoteurs ce contrôle feedback est facilité
  11. Sylvain57

    Sylvain57 New Member

    Joined:
    Mar 2, 2016
    Messages:
    12
    Balance:
    748Coins
    Ratings:
    +2 / 0 / -0
    @noorbeast No problem. I did not say in my post

    @TFOU57 "sont franchement chers pour leur caractéristiques" exact, l'école les a financé
    "Ils ne pourront te servir que pour ton prototype d’étude modèle réduit" oui c'est le but comme décrit dans mon post plus haut.
    Je prends note de tes recommandations, je reviendrais surement vers toi pour de plus amples informations. Merci voisin.

    @ TFOU57 "are downright expensive for their characteristic" exact, the school funded
    "They will serve you as your prototype scale model study of" yes it is the goal as described in my earlier post.
    I take note of your recommendations, I will surely come back to you for more information. thank you neighbor.
  12. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,509
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    150,674Coins
    Ratings:
    +11,018 / 55 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    You actually did mention it was a model in your initial post, but I misinterpreted thinking it was a language translation thing, my apologies.
  13. Sylvain57

    Sylvain57 New Member

    Joined:
    Mar 2, 2016
    Messages:
    12
    Balance:
    748Coins
    Ratings:
    +2 / 0 / -0
    @ TFOU57 "Do not forget that we must also control the actual position of your cylinders in relation to the set from SimTools"
    Regarding the set from SimTools what is it? I do not really understand (at the same time I started only in this area and I admit that it is quite complicated: think)

    @TFOU57 "N'oublie pas qu'il faut également contrôler la position réelle de tes vérins par rapport à la consigne provenant de SimTools"
    Concernant la consigne provenant de SimTools quelle est-elle ? Je ne comprends pas vraiment (en même temps je débute seulement dans ce domaine et j'avoue que c'est assez compliqué :think)
  14. Sylvain57

    Sylvain57 New Member

    Joined:
    Mar 2, 2016
    Messages:
    12
    Balance:
    748Coins
    Ratings:
    +2 / 0 / -0
    • Like Like x 1
  15. TFOU57

    TFOU57 Member

    Joined:
    Mar 30, 2009
    Messages:
    164
    Location:
    Thionville - France
    Balance:
    5,723Coins
    Ratings:
    +16 / 1 / -0
    My Motion Simulator:
    2DOF, AC motor, Arduino

    I speak as Simtools data sent via serial link (USB) to the Arduino.

    This position (instructions) to each of your electric actuators

    These position values range from 0 to 255 if you choose the 8-bit or 0-1023 if you choose to send instructions in 10-bit (recommended for Arduino uno)

    Each of your cylinders must cause 10Kohm potentiometer.

    These controls give you the position of your actuator (state of the output shaft).

    If you choose in your Arduino code in 10-bit ADC also, this position will be transcribed into a value from 0 to 1023

    Arduino then compares the value "Setpoint" issued by Simtools with the "real" value of output shaft of your cylinders

    For more info, watch the tutorials site Simtools in English and tutorial RacingMat which is very well done

    http://www.xsimulator.net/community/market...ion-hbridge.67/

    Je parle des données que Simtools envoie par liaison série ( USB) à l'Arduino .
    Il s'agit des positions ( consignes) de chacun de tes vérins électriques
    Ces valeurs de position vont de 0 à 255 si tu choisis du 8 bits ou de 0 à 1023 si tu choisis l'envoie de consignes en 10 bits ( conseillée pour l'Arduino uno)
    Chacun de tes vérins doivent entraîner un potentiomètre 10Kohm.
    Ces potentiomètres te donne la position de ton vérin ( état de la sortie de tige) .
    Si tu choisis dans ton code Arduino l'ADC en 10 bits également, cette position sera transcrite en une valeur de 0 à 1023
    Ensuite l'Arduino compare la valeur "Consigne" émise par Simtools avec la valeur "réelle" de sortie de tige de tes vérins

    Pour plus d'info , regarde les tutoriaux du site Simtools en anglais et le tutorial de RacingMat qui est très bien fait
    http://www.xsimulator.net/community/market...ion-hbridge.67/
  16. TFOU57

    TFOU57 Member

    Joined:
    Mar 30, 2009
    Messages:
    164
    Location:
    Thionville - France
    Balance:
    5,723Coins
    Ratings:
    +16 / 1 / -0
    My Motion Simulator:
    2DOF, AC motor, Arduino
    I had forgotten a precision RacingMat Simtools uses a serial link frame 8-bit hex.
    I also have another tutorial in French link with a frame 10-bit binary
    I have a preference for the Arduino code Wanegain, author of the tutorial set below lienci
    http://pcshm-simulateurs-homemade.clicforum.com/t493-Configurer-et-SimTools.htm
    It manages the PID actuators and uses a binary 10bits series link frame and the actuator position feedback also 10-bit

    J'avais oublié une précision, RacingMat utilise une trame de liaison série Simtools en 8 bits hexa.

    J'ai aussi le lien d'un autre tutorial en français avec une trame 10 bits binaire
    J'ai une préférence pour le code Arduino de Wanegain, l'auteur du tutorial mis en lienci dessous
    http://pcshm-simulateurs-homemade.clicforum.com/t493-Configurer-et-SimTools.htm
    Il gère le PID des actionneurs et utilise une trame de liaison série 10bits binaire ainsi que des retours de position actionneur également en 10 bits
  17. Sylvain57

    Sylvain57 New Member

    Joined:
    Mar 2, 2016
    Messages:
    12
    Balance:
    748Coins
    Ratings:
    +2 / 0 / -0
    Alors j'ai bien lu ton post ! En sachant qu'on utilise une arduino uno et un motor shield arduino (qui pilote deux vérins) tu conseilles d'utiliser des potentiomètres
    pour calculer la position des vérins (parce qu'ils n'ont pas de capteur) ? Excuse mon ignorance mais qu'appelles-tu ADC ? Ce projet semble très compliqué

    Then I read your post! Knowing that uses an Arduino uno Arduino shield and a motor (which drives two cylinders) you recommend to use potentiometers
    to calculate the position of the jacks (because they have no sensor)? Excuse my ignorance but qu'appelles you ADC? This project seems very complicated
  18. TFOU57

    TFOU57 Member

    Joined:
    Mar 30, 2009
    Messages:
    164
    Location:
    Thionville - France
    Balance:
    5,723Coins
    Ratings:
    +16 / 1 / -0
    My Motion Simulator:
    2DOF, AC motor, Arduino
    ADC = Conversion of analog signals (voltage of 0 to 5 V) into digital signals (0-1023 if you choose a resolution of 10 bits)
    https://learn.sparkfun.com/tutorials/analog-to-digital-conversion/arduino-adc-example
    https://www.arduino.cc/en/tutorial/potentiometer
    Whatever the solution you're going to remember, it will take a position control your cylinders.
    Is used for this function 10Kohm linear potentiometers (especially not log.)
    I advise you to carefully study the tutorials

    ADC = Conversion de signaux analogiques ( tension de 0 à 5 v) en signaux numériques ( 0 à 1023 si tu choisis une résolution de 10 bits)
    https://learn.sparkfun.com/tutorials/analog-to-digital-conversion/arduino-adc-example
    https://www.arduino.cc/en/tutorial/potentiometer
    Quelque soit la solution que tu vas retenir , il faudra un contrôle de position de tes vérins.
    On utilise pour cette fonction des potentiomètres 10Kohm linaire ( surtout pas de log.)

    Je te conseille de bien étudier les tutoriaux
    • Like Like x 1
  19. Sylvain57

    Sylvain57 New Member

    Joined:
    Mar 2, 2016
    Messages:
    12
    Balance:
    748Coins
    Ratings:
    +2 / 0 / -0
    Hi neighbor. About ADC that is what it seemed to me thank you for your confirmation.
    Regarding the potentiometers I'll give this a try it will be easier to control position.
    Again thank you for your help and I will carefully study the tutorials.
    @ + My friend.

    Salut voisin. Concernant l'ADC c'est bien ce qu'il me semblait merci pour ta confirmation.
    Concernant les potentiomètres je vais opter pour cette solution ce sera plus simple pour le contrôle de position.
    Encore merci pour ton aide et je vais bien étudier les tutoriaux.
    @+ mon ami.