Highly Accurate Measure of Time in PC Simulations of Control Systems with Sensors in the Loop 2000-01-3296
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.