Research on Pulse Speed Measurement Technology Based on General PLC
Programmable logic controllers(PLC)due to their high reliability and cost-effectiveness,can be implemented in photoelectric encoders for speed measurement.However,traditional speed measurement algorithms based on PLC tend to have slower response speeds at low speeds range,and the controllable accuracy is limited within a narrow ro-tation speed range,resulting in significant fluctuations across a wide speed range.To address the above-mentioned is-sues,a single-pulse speed measurement algorithm is proposed.This algorithm utilizes a high-speed pulse,ensuring sta-ble speed accuracy across the entire speed range.Simultaneously,the algorithm specifies the speed measurement cycle based on accuracy requirements,allowing real-time updates of the encoder to achieve a balance between precision and response speed.Simulation analysis indicates that this algorithm exhibits favorable accuracy and speed response within the commonly used wide speed range 0~1700 r/min,showcasing potential application prospects in speed mea-surement systems.