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

Auflösung und Positonen !

Discussion in 'Miscellaneous' started by egoexpress, Jan 9, 2008.

  1. egoexpress

    egoexpress Active Member

    Joined:
    Dec 13, 2006
    Messages:
    3,839
    Location:
    Germany - Frankfurt/M
    Balance:
    421Coins
    Ratings:
    +7 / 1 / -0
    Ein sehr interessantes Thema, dass du hier anführst.

    Ich verstehe leider noch nicht so ganz, was gegen eine Proportionalitätskonstante spricht. Wenn der Sollwert nahe dem Ist Wert liegt, dann wird langsam gefahren, und wenn er weit entfernt liegt, dann eben schnell.
    Der Motor darf nur nie schneller die Soll Position erreichen, als die Steuerung die Datenpakete erhält, weil sonst ja gebremst und angefahren wird. Stop'n'Go sozusagen.

    Wüsste aber nicht, warum man damit keine Bodenwellen simulieren kann.
    Weiß ehrlich gesagt nicht, auf welche Art die Daten für die USO aufbereitet werden.
    Aber man muss m.E nur sicherstellen, dass Bodenwellen ein heftigen Soll Ausschlag erzeugen.
    Also sollte der USO im Fall Bodenwellen fast Rohdaten übermitteln
    Denn in diesem Fall gibt ja auch die proportionale Steueurung das Signal zur Fahrt mit voller Leistung -> Bodenwellen

    Wenn im Zuge des Prof2 dann 16bit und mehr zur Vefügung stehen, dann ist das doch super. Auch wenn bei schneller Fahrt nur ein Bruchteil der Postitionen angefahren werden können, so stehen doch bei langsamer Fahrt weitaus mehr Positionen zur Verfügung, als vorher. Das ist doch das, was wir wollen.

    Ich glaube was du bei deinen Überlegungen vergisst, ist die Tatsache, dasss es bei der digitalen Pneumatik eben nur 3 Geschwindigkeiten gibt. Deswegen kannst du sie nicht direkt mit einer dynamischen DC Motorensteuerung vergleichen. Und genau DAS ist der katastrophale Nachteil der digitalen Pneumatik. Und nur das.

    Das Netzwerk delay ist halt auch ein Problem. Deswegen finde ich es auch besser einen dual oder multicore Prozi zu nutzen, anstatt einen 2. Rechner.

    Also sollte es nun erstrebenswert sein, aufs Netzwerk zu verzichten, und die 33ms des Profilers zu verkürzen. Zumindest für den USO eine Justiermöglichkeit der Update Rate anbieten.

    hmm, wenn Frex mit 1ms ausliest, dann machen wir evtl vielleicht was falsch?

    So, nun widerlege mich, damit die Diskussion interessant bleibt ;D

    Gruss
    ego
  2. tronicgr

    tronicgr

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    I think, that a value of 5 to 8 ms update will be enough even if we receive less position per second from the computer. This will also enable us to use less accurate optical encoder resolution perhaps 11-bit or 12-bit that a single microcontroller can handle better.

    Just think that the output pulley of my joyrider setup turns around 3 times to travel the frame from one side to another. And with a 120 CPR optical encoder disk I get only 360 points!! So the only way to get bigger resolution from my wiper motors I have to hack them and attach the encoder disk directly on the motors shaft (that is before the gear reduction box). And even so, the max resolution could be 18000 points (if the reduction rate is 50:1).

    In my electronics though I can increase the resolution of the input data by using PID algorithms since the steps are translated into speed settings. This means that if a constant rate of changes in the input is occurring, no matter how small the change, it will keep rotating without sights of stepping!

    Its indeed a very interesting Thema that needs lots of analysis

    More on this later.... (busy right now ;-) )

    Regards, Thanos
  3. tronicgr

    tronicgr

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    Hi Sirnoname,

    These steps are time-based, not the true resolution of the output.

    It affects the fast oscilating motion (bumps, vibration, etc) but isn't so important as I see it.

    I guess we can have more than 33 changes per second using faster update rate like 5ms... :)

    Regards, Thanos
  4. RaceRay

    RaceRay Administrator Staff Member SimAxe Beta Tester

    Joined:
    Nov 8, 2006
    Messages:
    4,656
    Occupation:
    Self-employed | Web and application development
    Location:
    Hamburg, Germany
    Balance:
    23,837Coins
    Ratings:
    +1,965 / 13 / -0
    My Motion Simulator:
    2DOF, DC motor, SimAxe, SimforceGT
    Hi,

    what is about serial direct connection (Null-Modem) of two PC´s? I don´t find any hints about the latency time. Maybe that could reduce the 12ms of network delay?

    WENN!!! ;-)

    regards René
  5. RaceRay

    RaceRay Administrator Staff Member SimAxe Beta Tester

    Joined:
    Nov 8, 2006
    Messages:
    4,656
    Occupation:
    Self-employed | Web and application development
    Location:
    Hamburg, Germany
    Balance:
    23,837Coins
    Ratings:
    +1,965 / 13 / -0
    My Motion Simulator:
    2DOF, DC motor, SimAxe, SimforceGT
    Die 12ms vergiss einfach schnell..das war geistige Umnachtung, hätt meinen post gleich nach dem Schreiben am liebsten schnell gelöscht, aber Du warst mit Antworten schneller *gg* Ok, also auf die Netzwerkanbindung zu verzichten müssen wir nicht.

    Wie wäre es daher wenn der Berg nicht zum Propheten kommt...?

    Errinerst Dich noch an das was Du mir über Windows CE und die Echtzeitfähigkeiten gesagt hattest? Wie wäre es daher, das X-SIM Paket als Echtzeitanwendung zu gestalten, indem ein Treiber installiert wird, der Windows XP Echtzeitfähigkeiten beschert?

    Ich hab folgendes SDK gefunden:
    http://www.codeguru.com/cpp/w-p/system/ ... hp/c14457/
    In der zip mit dem Demoprogramm ist die Dokumentation.

    Der Entwickler sitzt in Russland:
    http://www.hadcon.ru

    Leider ist das ganze trotz quellcode nicht open source, aber bezüglich non-commercial Lizensen könnten wir ja mal anklopfen:)

    Frage ist eher, ob so etwas möglich wäre, oder die CPU Last bei solch einem Vorgehen so dermassen in den Keller geht, dass keine Rssourcen für das game mehr übrig sind - Abstürze vorprogrammiert sind.

    Edit: Sag bloss, Du hast meinen Vorschlag schon integriert, und ich bin der einzige, dem soeben Aufgefallen ist, dass der Profiler 2.0 schon in Echtzeit die Daten ausliesst und sendet, und die 33ms Einschränkung umgeht?!? Hab den folgenden Abschnitt von Dir nochmal gründlich gelesen:

    Wie hast Du es denn geschafft die 33ms zu umgehen?

    Wenn der verwendete Mikroprozessor schnell genug ist - und die mathematischen Funktionen (z.b. Washout) ausschliesslich in X-SIM berechnet werden und der Mp damit nicht auch noch beschäftigt ist, könnten sogar alle 1800 Positionsdaten/s des seriellen Ports abgearbeitet werden. Glaub Martin wollt darauf auch noch hinaus :)

    Gruß René
  6. RaceRay

    RaceRay Administrator Staff Member SimAxe Beta Tester

    Joined:
    Nov 8, 2006
    Messages:
    4,656
    Occupation:
    Self-employed | Web and application development
    Location:
    Hamburg, Germany
    Balance:
    23,837Coins
    Ratings:
    +1,965 / 13 / -0
    My Motion Simulator:
    2DOF, DC motor, SimAxe, SimforceGT
    Hi,

    immerhin hast Du es geschafft den Treiber zum Laufen zu bekommen. Bei mir wollte sicher der Treiber in der Demo partout nicht zum installieren überreden lassen, auch nicht nach einem Neustart. Leider scheinen die Hauptfunktionen sich in den lib´s zu befinden (verschlüsselt?!?)

    Ich werd mal weitersuchen :)

    Gruß
    René
  7. egoexpress

    egoexpress Active Member

    Joined:
    Dec 13, 2006
    Messages:
    3,839
    Location:
    Germany - Frankfurt/M
    Balance:
    421Coins
    Ratings:
    +7 / 1 / -0
    hier noch was kommerzielles zum Thema. Vielleicht finden wir ja was vergleichbares als Freeware^^

    link Realtime Suite 8.0