•  Search
  • Advanced search



  •  Newest members

  •  Top Posters

  • International

  • Deutsch

  • Espanol

  • Português

  • Français




  • Simulators

  • League

  • Recent posts


  • Latest news

View the latest post Attachment(s) Advances in speed for AMC

1, 2

Today I would like to present you with the latest firmware changes for AMC.
The difference is so big that I thought it makes a nice piece for the news page.

I was hopping to fix the really noisy ADC function for several years, and I finally
got it. Now it follows closely the potentiometer and the measurements are not
affected by motor power noise or other parasitic noise from environment.

To achieve that noise reduction I made my own routine to access directly the ADC registers
and handle their sampling timing with a interrupt. This gave me a great deal of freedom
to make the sampling time of each channel as fast as 7us (microseconds) or 0.000007sec.
Just for comparison, before was 250us using standard library code.

This allowed me to also increase the program cycle speed up to 9000 times (when not receiving),
and up to 7000 times per second when receiving data from the computer.

See the comparison video and the timing diagrams below:










More info on the Project thread here: http://www.x-sim.de/forum/viewtopic.php?f=39&t=132

Thanks

Views: 20826  •  Comments: 11  •  Write comments [ Back ]

  • Did you know?
  • There is a big slider panel in the extractor as a test plugin to simulate input values without a game is running. With this panel you can simulate all the input values that are normally sended by a game. A auto movement option will move the sliders slowly or fast from the maximum to the minimum value. Use this sawtooth wave and control your simulator to its maximum positions. With this slider you can for example test the feedback delay, the difference between input values and simulator position in time. You can enable this panel if you open the motion driver and select the plugin driver. There you can enable in the middle box the test panel. It will popup if you have selected it in the list (left round selection).


  • Who is online?
  • In total there are 1015 users online :: 0 registered, 0 hidden and 1015 guests (based on users active over the past 5 minutes)
    Most users ever online was 3297 on Sat 7. Jun 2025, 14:11

    Registered users: No registered users
    Legend: Administrators, Beta Tester, Global moderators, Stage2, Supporter

    Map





  •  Statistics
  • Totals
    Total posts 23557
    Total topics 3139
    Total Announcements: 4
    Total Stickies: 11
    Total Attachments: 4298

    Topics per day: 1
    Posts per day: 5
    Users per day: 1
    Topics per user: 1
    Posts per user: 6
    Posts per topic: 8

    Total members 4071
    Our newest member rhinok

  •  Imprint/Impressum
  • Imprint/Impressum

    This page is using cookies, with continue using this page you accept the usage of cookies of this page. You may also read the impress for new EU regulations.