The invention provides a double-linear-motor contour compensation device and method based on a fuzzy RBF network
integral sliding mode with respect to a double-linear-motor
numerical control feeding
system with the axial direction being in mutual vertical movement. A real-time
contour error is used as the input of a controller, the powerful self-learning ability of the controller enables the
contour error to tend to zero within limited time, and thus contour
machining precision is improved. The double-linear-motor contour compensation device comprises a commutating and
voltage-stabilizing unit, an IPM
inverter, a DSP, a Hall sensor, a
grating ruler, a current detection unit, a position and speed detection unit, an
optical coupling isolation circuit, a driving protection circuit and a fault detection and protection circuit. The DSP comprises a QEP circuit of an
event manager EVA, an ADC module, a PWM unit, a Flash storage module, a program storage, a
timer and a PDPINT pin. A PI controller of a position
signal setter, a
linear motor position loop, a
speed loop and an
electric current loop, a
contour error calculator, a fuzzy RBF network
integral sliding mode contour compensator and a driver device are further arranged inside the DSP. The double-linear-motor contour compensation device is good in robustness, suitable for contour
machining tasks of any track and capable of achieving high-precision contour control.