Highly Accurate Measure of Time in PC Simulations of Control Systems with Sensors in the Loop
2000-01-3296
12/01/2000
- Event
- Content
- The measure of time intervals with relatively high accuracy (of 1 milisecond, at least) in PC computers is a relatively hard task to solve. But this is essential for the digital simulation, with sensors in the loop, of fast control systems. This work allows the reading of the programmable internal timer 8253 present in a typical PC, reaching 1 ms resolution, at least, through a C high level language routine. The determination of the angular velocity of a 53M2-30H Contraves 3-axis dynamic simulator used in that simulation was improved by the use of this work, allowing the acquisition of consecutive measures of angles and angular velocities with a time interval smaller than 10 ms in some cases. Using this routine and other simulator control and monitoring softwares we estimated the angular velocity faster (100 ms × 210 ms)and better than the simulator Rate Readout Module, and used it in a fast real time control simulation.
- Pages
- 6
- Citation
- Tredinnick, P., Souza, M., and Milani, P., "Highly Accurate Measure of Time in PC Simulations of Control Systems with Sensors in the Loop," SAE Technical Paper 2000-01-3296, 2000, https://doi.org/10.4271/2000-01-3296.