An encoder signal sampling method and device
A signal sampling and encoder technology, which is applied in the field of servo control, can solve problems such as sampling errors, failure to pass CRC checks, and inability to accurately control motor movement to achieve the effect of ensuring accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0047] An embodiment of the present invention provides an encoder signal sampling method, which is applied to a field programmable gate array (Field-Programmable Gate Arra, FPGA) or a complex programmable logic device (Complex Programmable Logic Device, CPLD). The encoder signal sampling method is used to filter out interference noise and improve the sampling accuracy of the encoder input signal. see figure 1 , is a flowchart of an encoder signal sampling method provided by an embodiment of the present invention. The encoder signal sampling method includes:
[0048] Step S101: Obtain the data frequency of the encoder.
[0049] It should be noted that the data frequency refers to the output frequency of the encoder. It is related to the number of pulses generated by the encoder per revolution or the communication protocol of the encoder.
[0050] Step S102: Determine the clock frequency according to the data frequency.
[0051] Specifically, the product of the data freque...
no. 2 example
[0079] see Figure 6 , Figure 6 A functional block diagram of an encoder signal sampling device 100 provided for a preferred embodiment of the present invention. It should be noted that the basic principles and technical effects of the encoder signal sampling device 100 provided in this embodiment are the same as those of the above-mentioned embodiments. Corresponding content in the embodiment. The encoder signal sampling device 100 includes a parameter acquisition unit 110 , a clock frequency determination unit 120 , a signal generation unit 130 , a sampling unit 140 and a denoising unit 150 .
[0080] Wherein, the parameter obtaining unit 110 is used to obtain the data frequency of the encoder.
[0081] It can be understood that, in a preferred embodiment, the parameter acquiring unit 110 can be used to execute step S101.
[0082] The clock frequency determining unit 120 is used for determining the clock frequency according to the data frequency.
[0083] Specifically,...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


