外文翻译---数字式转速测量仪(编辑修改稿)内容摘要:

t of work. When the speed pulse signal fp receives the rising edge, the flipflop DFF1 turn, Q1 is low, blocking the door 1, Q1 is high, open the door 2,3,4, so that start time T2, m1, m2 and started counting. In the interrupt program, the 8032 ended output pulse signal to stop, set bit trigger DFF2, Q2 lowside outputs, blocking the door 2,3,4, T0, T1 and stop counting. Interrupt the program while reading speed signal pulses and timing signal pulses m1 m2, in the main program, in accordance with m1, m2, P and f calculated speed n = 60fm1/pm2, and converted to BCD code sent to the digital lookup table display, plete a data collection and display. In the regular method, due to the timing signal generated 1 s, while the maximum time the system 131 ms, it is the law in time to take 10 consecutive 100 ms time method, when the time to 100 ms, the timer T2 overflow interrupt to the 8032 application. Interrupt in the interrupt process of the cumulative number of times, if the cumulative number of times until they break 10, not to make any operation on the return, T2 to the next 100ms the time, T0 to count speed pulse, when the interrupt when the number reached 10 in interrupt the program, set bit , stop counting, and reading the count value T0 m1, corresponding in the main program to calculate the speed of operation, and converted to BCD code, send LED display. Time here with 16bit counter with autoloading feature of the T2 counter, when T2 overflow interrupt the same time, the counter counts automatically reload the initial value, continue to regularly. So it39。 s time is continuous, without interruption and response procedures for dealing with the impact of disruption. If not overloaded by features such as timers T0 or T1, then when the timer overflow, it should be in response to failure, reset the timer interrupt program, the initial value. Timer timing is intermittent, the impact of timing accuracy, thereby affecting measurement precision. Visible by 8032 in the T2 counter timer is a feature of the system, it can significantly improve measurement precision. The guns range in 049r/min accuracy up to 177。 r / min, at 5099 999r/min range of accuracy up to 177。 1 r / min. The gun can measure the number of different pole pulse generator pulse occurs, such as infrared detectors above, when changing the rotating body attached to the amount of reflection paper, issued by the rotor per revolution pulse number p is also changed accordingly, At this point, if still in accordance with the procedures in the original p value calculation, calculation error will be. Therefore, the system provides very few of the features set the scene: I take very few set selector switch, when is high time。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。