Abstract:
The present invention discloses a pulse frequency measurement device and method and a control system, the device including: a hardware counter configured to perform a counting operation on an input pulse sequence to output a counting result; and a processing unit configured to obtain number of pulses from the counting result outputted by the hardware counter and measure a first time period during which the obtained number of pulses occupy, in which the processing unit includes a frequency calculation module configured to calculate a frequency of the input pulse sequence based on the obtained number of pulses and the first time period. According to the invention, it is possible to achieve adaptive pulse frequency measurement and multi-channel sampling for multiple input pulse sequences with a relatively low cost while ensuring the accuracy of the measurement result.
Abstract:
A control system may include a plurality of terminal boards. Each of the plurality of terminal boards may at least include a power pin. The definition of the power pin on at least one of the plurality of terminal boards may be different from the definition of the power pin on another one of the plurality of terminal boards. Thus, if the at least one of the plurality of terminal boards is connected to a wrong input/output module, the input/output module will not get a process power supplied via the power pin on the terminal board. Therefore, a wrong input/output signal will not be transferred, and the input/output module will not be damaged even if a higher process voltage is provided by a wrong terminal board.