Realization of DC Motor Angle Control Circuit under Low Line Count Grating Based on FPGA
A technology of angle control and DC motor, which is applied in the direction of DC motor speed/torque control, control system, electrical components, etc. It can solve the problems of low control precision, poor adaptability, and high cost of high-precision control devices for low-line gratings. Save hardware resources, low cost, and improve the effect of angle control accuracy
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2022-08-09
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention belongs to the field of DC motor angle control, and in particular relates to a DC motor angle control circuit based on FPGA to realize low-line-number grating. Background technique
[0002] FPGA is a field programmable gate array, which is the product of further development on the basis of programmable devices such as PAL, GAL, and CPLD. It appears as a semi-custom circuit in the field of application specific integrated circuits (ASIC), which not only solves the shortcomings of custom circuits, but also overcomes the shortcomings of the limited number of gate circuits of the original editable device. The circuit design completed by hardware description language (Verilog or VHDL) can be quickly programmed to FPGA for testing after simple synthesis and layout, which is the mainstream technology of modern IC design verification. These editable elements can be used to implement some basic logic gate circuits (such as AND, OR, XOR, NOT) or mo...
Examples
Embodiment
[0062] Using JGB37-520 motor, using FPGA of Xilinx company XC7Z020-2CLG400I as the main control chip, using Verilog language development, output PWM to control the motor rotation. The angle control verification is carried out with the combination of 200-line grating and photoelectric pair tube module. In the algorithm, the angle is divided into 9 categories. The theoretical accuracy of the 200-line grating is 1.8°, and the angle that can be divisible by 1.8 can be accurately controlled by counting the number of lines the grating turns. For the other 8 types of angles, divide by 1.8 If the residual value is different, make corresponding time compensation.
[0063] The system block diagram of motor angle control is as follows figure 2 shown. All modules are implemented on FPGA.
[0064] The angle control module receives the new angle input flag signal and angle data and the data fed back by the photoelectric tube to realize angle control. New angle input flag signal for ang...