Incremental encoder fault diagnosis method based on FPGA
An incremental encoder and fault diagnosis technology, applied to instruments, wind power generation, etc., can solve problems such as incomplete types of fault detection, poor real-time fault detection, complex circuits, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] see figure 1 and figure 2 , figure 1 It is the control circuit diagram of the FPGA-based incremental encoder fault diagnosis method; figure 2 This is the flow chart of the A-phase multi-code fault detection of the FPGA-based incremental encoder fault diagnosis method of the present invention; this embodiment discloses an FPGA-based incremental encoder fault diagnosis method. The incremental encoder output The signal is processed by the signal processing module. The signal processing module converts the signal output by the incremental encoder into a pair of reverse signals and inputs it to the FPGA module. The FPGA module performs fault detection on the incremental encoder. Line fault detection unit and multi-code fault detection unit;
[0036] When the multi-code fault detection unit detects the rising edge or falling edge of the encoder A-phase signal, the A-phase pulse count is incremented by 1, and at the same time, the A-phase pulse count is cleared to 0 when ...
Embodiment 2
[0045] see Image 6 , Image 6 It is a flow chart of the encoder A-phase or B-phase or Z-phase connection fault detection of the FPGA-based incremental encoder fault diagnosis method of the present invention;
[0046] The disconnection fault detection unit judges whether the connection of the A-phase, B-phase and C-phase of the encoder is disconnected according to each pair of reverse signals of the encoder phase A, B-phase and Z-phase. Specifically, the disconnection fault detection unit is as follows: Perform fault detection and judgment on a pair of reverse signals a+ or a- input by phase A of the encoder, a pair of reverse signals b+ or b input by phase B, and a pair of reverse signals z+ or z- input by phase Z. When A When the phase inversion signal a+ or a- is not 1, the A-phase is a connection failure; when the B-phase inversion signal b+ or b- is not 1, the B-phase is a connection failure; when the C-phase inversion When the signal c+ or c- is not 1, the C phase is a...
Embodiment 3
[0048] see image 3 and Figure 4 , image 3 It is the flow chart of the A-phase code missing fault detection of the FPGA-based incremental encoder fault diagnosis method of the present invention, Figure 4 It is the flow chart of the Z-phase code missing fault detection of the FPGA-based incremental encoder fault diagnosis method of the present invention;
[0049] The FPGA module also includes a code-missing fault detection unit, which judges whether the encoder A-phase pulse count is less than the lower limit of the encoder line count threshold when the encoder generates a Z-phase rising edge, and if so, encodes the Add 1 to the encoder-phase missing code counter, when the encoder-phase A-phase missing code count is equal to the threshold of the number of missing codes, it is judged that the encoder phase A-phase missing code is faulty;
[0050] The code-missing fault detection unit judges whether the encoder-phase B-phase pulse count is less than the lower limit of the e...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


