Control method and driver of direct-current brush motor

The sampling current of the DC brushed motor is compensated through the current compensation meter, which realizes accurate current control, solves the problem of inaccurate current sampling in traditional motor drivers, and improves the control accuracy and flexibility of surgical robots.

CN119093784APending Publication Date: 2024-12-06HARBIN SIZHERUI INTELLIGENT MEDICAL EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411283652.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-13
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

When traditional motor drivers control DC brushed motors with small inductance, due to inaccurate current sampling, the control is inaccurate and nonlinear. The given current is inconsistent with the actual current, resulting in a nonlinear output of the motor, which affects the flexibility of the operating robot.

Method used

By obtaining the sampling current of the DC brushed motor, compensating it with a current compensation meter, determining the actual current, and closing the loop control based on the command current and the actual current, to achieve accurate current regulation.

Benefits of technology

It improves the accuracy of current control of DC brushed motors, reduces master-slave delay, enhances the flexibility of surgical robots, and meets the needs of device movement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119093784A_ABST
    Figure CN119093784A_ABST
Patent Text Reader

Abstract

The invention discloses a control method of a direct current brush motor and a driver. The control method of the direct current brush motor comprises the following steps: acquiring the current sampling current of the direct current brush motor; compensating the sampling current according to a current compensation table so as to determine the current actual current of the direct current brush motor; and performing closed-loop control on the current of the direct-current brush motor according to the instruction current and the actual current of the direct-current brush motor. According to the technical scheme provided by the invention, the current control accuracy of the DC brush motor is improved, the master-slave time delay is reduced, and the use requirements of instrument movement are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the technical field of motor control, and in particular to a control method and a driver for a brushed DC motor. Background Art

[0002] A brushed motor is a motor that contains a brush device. It has the characteristics of fast starting, timely braking, smooth speed regulation over a large range, and relatively simple control circuit. It has broad application prospects in medical devices.

[0003] The motor driver is a device in the surgical robot system that drives the brushed motor to achieve movements such as clamping, rotation, and yaw of surgical instruments. When the traditional motor driver controls the current of a small-inductance DC brushed motor, due to inaccurate current sampling, there are disadvantages of inaccurate and nonlinear control. There is also a problem of inconsistency between the given current and the actual current, which leads to the problem of nonlinear motor output. Although this problem can be improved by the compensation algorithm of the controller in the application of surgical robots, the driver response also takes time, resulting in an increase in the master-slave delay, affecting the flexibility of the surgical robot. Summary of the invention

[0004] The embodiment of the present invention provides a control method and a driver for a brushed DC motor, so as to improve the accuracy of current control of the brushed DC motor and reduce the master-slave delay, thereby meeting the use requirements of the movement of the equipment.

[0005] According to one aspect of the present invention, a control method for a brushed DC motor is provided, comprising:

[0006] Obtaining a current sampling current of the brushed DC motor;

[0007] Compensating the sampled current according to a current compensation table to determine the actual current of the brushed DC motor;

[0008] The current of the brushed DC motor is controlled in a closed loop according to the command current of the brushed DC motor and the actual current.

[0009] Optionally, obtaining a current sampled current of the brushed DC motor includes:

[0010] Collecting the current voltage across the sampling resistor connected in series to the phase line of the brushed DC motor;

[0011] The current sampling current of the brushed DC motor is determined according to the current voltage across the sampling resistor.

[0012] Optionally, the current compensation table is a mapping table formed by sampling currents and corresponding actual currents; the current compensation table stores a preset number of sampling currents within a rated current range and actual currents corresponding to each of the sampling currents; and compensating the sampling currents according to the current compensation table to obtain the current actual current of the brushed DC motor includes:

[0013] The current compensation table is queried according to the sampled current to determine an actual current in the current compensation table that has a mapping relationship with the sampled current.

[0014] Optionally, before compensating the sampled current according to the current compensation table to obtain the current actual current of the brushed DC motor, the method further includes:

[0015] A current compensation table for the brushed DC motor is obtained.

[0016] Optionally, obtaining a current compensation table for the brushed DC motor includes:

[0017] Controlling the current of the brushed DC motor in sequence according to a preset gradient, and obtaining a current sampled current and a corresponding actual current of the brushed DC motor after each control of the current of the brushed DC motor;

[0018] The current compensation table is formed according to all acquired sampled currents and corresponding actual currents.

[0019] Optionally, controlling the current of the brushed DC motor in sequence according to a preset gradient includes:

[0020] From the negative rated current to the positive rated current, the command current is increased in sequence according to a preset gradient, and a control signal for controlling the current of the brushed DC motor is adjusted according to the command current;

[0021] Alternatively, the command current is decreased according to a preset gradient from the positive rated current to the negative rated current, and a control signal for controlling the current of the brushed DC motor is adjusted according to the command current.

[0022] Optionally, obtaining an actual current of the brushed DC motor includes:

[0023] The phase current of the brushed DC motor is detected by an oscilloscope and a current probe, and the detected phase current is used as the actual current.

[0024] Optionally, performing closed-loop control on the current of the brushed DC motor according to the actual current and the command current of the brushed DC motor includes:

[0025] The current of the DC brushed motor is closed-loop controlled according to the difference between the command current and the actual current through a PID algorithm.

[0026] According to another aspect of the present invention, there is provided a driver for a brushed DC motor, comprising:

[0027] An acquisition module, used for acquiring the current sampling current of the brushed DC motor;

[0028] A compensation module, used to compensate the sampled current according to a current compensation table to obtain a current actual current of the brushed DC motor;

[0029] A control module is used to perform closed-loop control on the current of the brushed DC motor according to the command current of the brushed DC motor and the actual current.

[0030] Optionally, the driver of the brushed DC motor further includes:

[0031] A storage module, the storage module is used to store the current compensation table;

[0032] The current compensation table is a mapping table formed by sampling currents and corresponding actual currents; the current compensation table stores a preset number of sampling currents within a rated current range and the actual current corresponding to each of the sampling currents.

[0033] The embodiment of the present invention provides a control method and driver for a brushed DC motor, wherein the control method for the brushed DC motor includes: obtaining the current sampled current of the brushed DC motor; compensating the sampled current according to a current compensation table to determine the current actual current of the brushed DC motor; and performing closed-loop control on the current of the brushed DC motor according to the command current and the actual current of the brushed DC motor. The technical solution provided by the embodiment of the present invention compensates the sampled current according to the current compensation table after obtaining the current sampled current of the brushed DC motor to obtain the actual phase current of the motor, that is, to obtain the accurate motor phase current; and compensates the inaccurately sampled motor phase current at the bottom layer of the driver, so that the data obtained by the driver control algorithm part is accurate current data, which fundamentally solves the problem of inaccurate control current, does not require a controller for secondary compensation, shortens the master-slave delay, and improves the flexibility of the surgical robot. Therefore, while improving the accuracy of the current control of the brushed DC motor, the master-slave delay is reduced, and the use requirements of the instrument movement are met.

[0034] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0036] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0037] Figure 1 is a flow chart of a control method of a brushed DC motor provided by an embodiment of the present invention;

[0038] Figure 2 This is a current loop PID control principle diagram of a driver provided by an embodiment of the present invention;

[0039] Figure 3 is a flow chart of another method for controlling a brushed DC motor provided by an embodiment of the present invention;

[0040] Figure 4 is a flow chart of another method for controlling a brushed DC motor provided by an embodiment of the present invention;

[0041] Figure 5 The present invention provides a structural block diagram of a DC brush motor driver. DETAILED DESCRIPTION

[0042] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0043] The embodiment of the present invention provides a control method for a brushless DC motor. Figure 1is a flow chart of a control method of a brushed DC motor provided by an embodiment of the present invention, with reference to Figure 1 , the control method of the DC brush motor includes:

[0044] S110, obtaining the current sampling current of the brushed DC motor.

[0045] Specifically, the basic components of a brushed DC motor include a stator, a rotor, a brush, and a commutator. The stator is usually a permanent magnet that generates a constant magnetic field; the rotor contains a coil. When current flows through the coil, an electromagnetic field is generated. The electromagnetic field generated by the coil interacts with the stator magnetic field to generate an electromagnetic torque, causing the motor to rotate and drive the load. The commutator is a ring-shaped device connected to the rotor. Its function is to change the direction of the current to ensure that the rotor can continue to rotate. The brush contacts the commutator and transfers the current physically. Brushed DC motors have the advantages of simple structure, low cost, and easy control. In a brushed DC motor, the direction of the current in the coil is controlled by the contact between the carbon brush and the commutator, thereby maintaining the directional rotation of the rotor. The speed and torque of a brushed DC motor can be adjusted by controlling the input voltage and current.

[0046] When controlling the current of a brushed DC motor, first set the command current (given target current). The driver will calculate the deviation e based on the command current and the collected phase current (sampling current) of the brushed DC motor, and then perform closed-loop control of the current of the brushed DC motor based on the deviation e through the PID algorithm. Among them, the sampling current is collected by collecting the voltage across the sampling resistor connected in series on the motor phase line, and the voltage across the sampling resistor and the resistance value of the sampling resistor are calculated, and the sampling is performed once in each control cycle. The current waveform of a brushed DC motor is different when it works at low current and high current. The phase current of the motor is the integral of the current over time divided by the time. For brushed DC motors with small inductance, the collected phase current (sampling current) will be inaccurate due to the narrow and high current waveform.

[0047] S120: Compensate the sampled current according to the current compensation table to determine the actual current of the brushed DC motor.

[0048] Specifically, after obtaining the current sampling current of the DC brush motor, the sampling current is compensated according to the current compensation table to obtain the compensated phase current, thereby improving the accuracy of the collected phase current. The current actual current of the DC brush motor is the compensated phase current. Among them, the current compensation table may record the compensation current corresponding to the sampling current, so the table lookup method can be used to query the compensation current corresponding to the current sampling current recorded in the current compensation table according to the current sampling current, and then the current sampling current is compensated according to the compensation current, so as to obtain the current actual current of the DC brush motor; wherein, the compensation current can be understood as the difference between the sampling current and the actual current. Alternatively, the current compensation table may record the actual current corresponding to the sampling current, so the table lookup method can be used to directly query the corresponding actual current according to the current sampling current.

[0049] S130 . Perform closed-loop control on the current of the brushed DC motor according to the command current and the actual current of the brushed DC motor.

[0050] Specifically, Figure 2 This is a current loop PID control principle diagram of a driver provided by an embodiment of the present invention, refer to Figure 2 After determining the actual current of the brushed DC motor, the accurate deviation e can be obtained according to the command current and actual current (compensated phase current) of the brushed DC motor, and then the current of the brushed DC motor can be closed-loop controlled according to the deviation e through the PID (Proportional-Integral-Derivative) algorithm.

[0051] The control method of the brushed DC motor provided by the embodiment of the present invention compensates the sampled current according to the current compensation table after obtaining the current sampled current of the brushed DC motor, and obtains the actual phase current of the motor, that is, obtains the accurate motor phase current; the inaccurately sampled motor phase current is compensated at the bottom layer of the driver, so that the data obtained by the driver control algorithm part is accurate current data, which fundamentally solves the problem of inaccurate control current, does not require the controller to perform secondary compensation, shortens the master-slave delay, and improves the flexibility of the surgical robot. Therefore, while improving the accuracy of the current control of the brushed DC motor, the master-slave delay is reduced, and the use requirements of the instrument movement are met.

[0052] Figure 3 is a flow chart of another method for controlling a brushless DC motor provided by an embodiment of the present invention, with reference to Figure 3 , the control method of the DC brush motor includes:

[0053] S210, collecting the current voltage across the sampling resistor connected in series to the phase line of the brushed DC motor.

[0054] S220: Determine the current sampling current of the brushed DC motor according to the current voltage across the sampling resistor.

[0055] Specifically, obtaining the current sampling current of the brushed DC motor includes: collecting the current voltage across a sampling resistor connected in series to a phase line of the brushed DC motor; and determining the current sampling current of the brushed DC motor according to the current voltage across the sampling resistor and the resistance value of the sampling resistor.

[0056] S230 , querying a current compensation table according to the sampled current, and determining an actual current in the current compensation table that has a mapping relationship with the sampled current.

[0057] Specifically, the current compensation table is a mapping table formed by the sampling current and the corresponding actual current; the current compensation table stores a preset number of sampling currents within the rated current range and the actual current corresponding to each sampling current. Then, the sampling current is compensated according to the current compensation table to obtain the current actual current of the DC brush motor, which includes: querying the current compensation table according to the sampling current, and determining the actual current in the current compensation table that has a mapping relationship with the sampling current. By querying the current compensation table and directly determining the actual current in the current compensation table that has a mapping relationship with the sampling current, the amount of calculation can be reduced and the difficulty of controlling the DC brush motor can be reduced.

[0058] S240, performing closed-loop control on the current of the brushed DC motor according to the difference between the command current and the actual current through a PID algorithm.

[0059] Specifically, motor PID control is a control method widely used in industrial control systems. It achieves precise control of motors by adjusting proportional, integral and differential parameters, including speed, position and torque. The input of the PID control module is the error signal of the motor, that is, the difference between the expected value and the actual value, and the output is the control signal of the motor, such as voltage or current. The PID controller adjusts the motor control signal by performing proportional, integral and differential processing on the error signal. The proportional term Kp is used to control the proportional relationship between the control signal and the error signal, the integral term Ki is used to eliminate the steady-state error of the system, and the differential term Kd is used to suppress the oscillation of the system and resist external interference. During the control process, the PID controller continuously monitors the operating status of the motor, and adjusts the output signal of the motor controller by calculating the error signal, thereby achieving precise control of the motor. This control method has fast response speed, high control accuracy and strong adaptability, and can be widely used in various motor control occasions.

[0060] In the embodiment of the present invention, the current compensation table is queried according to the collected sampled current, and the actual current in the current compensation table having a mapping relationship with the sampled current is directly determined. Then, the deviation between the command current of the DC brush motor and the actual phase current of the DC brush motor is input into the PID control module. The PID control module controls the duty cycle of the PWM (Pulse Width Modulation) signal input to the drive circuit based on the difference e between the command current and the actual current, thereby controlling the current of the DC brush motor.

[0061] Based on the above embodiments, optionally, before compensating the sampled current according to the current compensation table to obtain the current actual current of the DC brush motor, the method further includes: obtaining a current compensation table for the DC brush motor to be controlled. Figure 4 is a flow chart of another method for controlling a brushless DC motor provided by an embodiment of the present invention, with reference to Figure 4 , the control method of the DC brush motor includes:

[0062] S310 , sequentially controlling the current of the brushed DC motor according to a preset gradient, and obtaining a current sampled current of the brushed DC motor and a corresponding actual current after controlling the current of the brushed DC motor each time.

[0063] S320 , forming a current compensation table according to all acquired sampled currents and corresponding actual currents, and storing the current compensation table.

[0064] S330: When the driver of the brushed DC motor is powered on and initialized, the stored current compensation table is read and saved in the driver.

[0065] S340, obtaining the current sampling current of the brushed DC motor.

[0066] S350: Compensate the sampled current according to the current compensation table to determine the actual current of the brushed DC motor.

[0067] S360: Perform closed-loop control on the current of the brushed DC motor according to the command current and the actual current of the brushed DC motor.

[0068] Specifically, controlling the current of the brushed DC motor in sequence according to the preset gradient includes: increasing the command current in sequence according to the preset gradient from the negative rated current to the positive rated current, and adjusting the control signal for controlling the current of the brushed DC motor according to the command current (adjusting the duty cycle of the PWM signal). Alternatively, controlling the current of the brushed DC motor in sequence according to the preset gradient includes: decreasing the command current in sequence according to the preset gradient from the positive rated current to the negative rated current, and adjusting the control signal for controlling the current of the brushed DC motor according to the command current (adjusting the duty cycle of the PWM signal).

[0069] For example, the current compensation function is turned off, and a command current is input every 10 mA from the negative rated current to the positive rated current, and the sampled current of the DC brushed motor and the corresponding actual current are recorded. Based on all the sampled currents and the corresponding actual currents obtained, a current compensation table is formed and stored.

[0070] The step of obtaining the sampled current of the brushed DC motor includes: collecting the current voltage across the sampling resistor connected in series to the phase line of the brushed DC motor; determining the current sampled current of the brushed DC motor according to the current voltage across the sampling resistor and the resistance value of the sampling resistor. The step of obtaining the actual current of the brushed DC motor includes: detecting the phase current of the brushed DC motor through an oscilloscope and a current probe, and using the detected phase current as the actual current.

[0071] When the DC brush motor driver is powered on and initialized, the current compensation table is read and saved in the driver. When the DC brush motor is controlled by the driver, the corresponding actual current can be queried from the current compensation table according to the sampled current of the DC brush motor, thereby obtaining the accurate motor phase current. According to the command current and actual current of the DC brush motor, the current of the DC brush motor is closed-loop controlled, realizing the precise control of the small-inductance DC brush motor, which not only ensures the accuracy of the current, but also does not affect the master-slave delay, meeting the use requirements of the machine movement.

[0072] An embodiment of the present invention further provides a driver for a brushed DC motor, which is used to execute the control method for the brushed DC motor described in any of the above embodiments. Figure 5 is a structural block diagram of a DC brushed motor driver provided by an embodiment of the present invention, with reference to Figure 5 , the driver of the brushed DC motor includes:

[0073] An acquisition module 10 is used to acquire the current sampled current of the brushed DC motor;

[0074] The compensation module 20 is used to compensate the sampled current according to the current compensation table to obtain the actual current of the DC brush motor;

[0075] The control module 30 is used to perform closed-loop control on the current of the brushed DC motor according to the command current and the actual current of the brushed DC motor.

[0076] Specifically, the brushed DC motor is an actuator that operates according to the instructions of the driver; the driver is used to control the speed, torque and rotation direction of the brushed DC motor. The driver is connected to the controller, and the driver receives instructions from the controller. The controller is mainly responsible for receiving command signals from the host computer or other control devices, converting them into corresponding motor control commands as needed, and providing processing and calculation functions for feedback signals. Among them, the feedback signal can come from encoders, sensors and other devices, which are used to monitor parameters such as motor position, speed and acceleration in real time. The driver is mainly responsible for receiving the motor control signal from the controller, converting it into current or voltage output, and controlling the motor's speed, torque and position and other parameters. The driver also usually has protection functions such as overload and overheating, and can monitor the running status of the motor in real time and transmit relevant data to the controller so as to adjust the control strategy in time.

[0077] The compensation module 20 is added to the driver of the brushed DC motor provided in the embodiment of the present invention. The compensation module 20 compensates the sampled current according to the current compensation table to obtain the actual current of the brushed DC motor, that is, to obtain the accurate motor phase current. The inaccurately sampled motor phase current is compensated at the bottom layer of the driver, so that the data obtained by the driver control algorithm part is accurate current data, which fundamentally solves the problem of inaccurate control current, does not require the controller to perform secondary compensation, shortens the master-slave delay, and improves the flexibility of the surgical robot. Therefore, while improving the accuracy of the current control of the brushed DC motor, the master-slave delay is reduced, meeting the use requirements of the instrument movement.

[0078] Optionally, the acquisition module 10 is used to acquire the current voltage across a sampling resistor connected in series to a phase line of the brushed DC motor, and calculate the current sampling current of the brushed DC motor according to the current voltage across the sampling resistor and the resistance value of the sampling resistor.

[0079] Optionally, the current compensation table is a mapping table formed by sampling currents and corresponding actual currents; the current compensation table stores a preset number of sampling currents within the rated current range and the actual current corresponding to each sampling current. The compensation module is also used to query the current compensation table according to the sampling current to determine the actual current in the current compensation table that has a mapping relationship with the sampling current. The current compensation table can be stored in a storage module in the driver, or in a storage module outside the driver.

[0080] Optionally, the driver of the brushed DC motor further includes: a storage module, and the storage module is used to store a current compensation table.

[0081] Optionally, the control module is also used to perform closed-loop control on the current of the brushed DC motor according to the difference between the command current and the actual current through a PID algorithm.

[0082] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A control method for a brushless DC motor, characterized in that: include: Obtaining a current sampling current of the brushed DC motor; Compensating the sampled current according to a current compensation table to determine the actual current of the brushed DC motor; The current of the brushed DC motor is controlled in a closed loop according to the command current of the brushed DC motor and the actual current.

2. The control method of a brushed DC motor according to claim 1, characterized in that: Obtaining the current sampling current of the brushed DC motor, including: Collecting the current voltage across the sampling resistor connected in series to the phase line of the brushed DC motor; The current sampling current of the brushed DC motor is determined according to the current voltage across the sampling resistor.

3. The control method of a brushed DC motor according to claim 1, characterized in that: The current compensation table is a mapping table formed by sampling currents and corresponding actual currents; the current compensation table stores a preset number of sampling currents within the rated current range and the actual current corresponding to each of the sampling currents; The sampled current is compensated according to the current compensation table to obtain the actual current of the DC brush motor, including: The current compensation table is queried according to the sampled current to determine an actual current in the current compensation table that has a mapping relationship with the sampled current.

4. The control method of a brushed DC motor according to claim 1, characterized in that: Before compensating the sampled current according to the current compensation table to obtain the actual current of the DC brush motor, the method further includes: A current compensation table for the brushed DC motor is obtained.

5. The control method of a brushed DC motor according to claim 3, characterized in that: Obtaining a current compensation table for the brushed DC motor, including: Controlling the current of the brushed DC motor in sequence according to a preset gradient, and obtaining a current sampled current and a corresponding actual current of the brushed DC motor after each control of the current of the brushed DC motor; The current compensation table is formed according to all acquired sampled currents and corresponding actual currents.

6. The control method of a brushed DC motor according to claim 5, characterized in that: The current of the brushed DC motor is sequentially controlled according to a preset gradient, comprising: From the negative rated current to the positive rated current, the command current is increased in sequence according to a preset gradient, and a control signal for controlling the current of the brushed DC motor is adjusted according to the command current; Alternatively, the command current is decreased according to a preset gradient from the positive rated current to the negative rated current, and a control signal for controlling the current of the brushed DC motor is adjusted according to the command current.

7. The control method of a brushed DC motor according to claim 5, characterized in that: Obtaining the actual current of the brushed DC motor, including: The phase current of the brushed DC motor is detected by an oscilloscope and a current probe, and the detected phase current is used as the actual current.

8. The control method of a brushed DC motor according to claim 1, characterized in that: The method further comprises: performing closed-loop control on the current of the brushed DC motor according to the actual current and the command current of the brushed DC motor; The current of the DC brushed motor is closed-loop controlled according to the difference between the command current and the actual current through a PID algorithm.

9. A driver for a brushed DC motor, characterized in that: include: An acquisition module, used for acquiring the current sampling current of the brushed DC motor; A compensation module, used to compensate the sampled current according to a current compensation table to obtain a current actual current of the brushed DC motor; A control module is used to perform closed-loop control on the current of the brushed DC motor according to the command current of the brushed DC motor and the actual current.

10. The driver of the brushed DC motor according to claim 9, characterized in that: Also includes: A storage module, the storage module is used to store the current compensation table; Wherein, the current compensation table is a mapping table formed by the sampled current and the corresponding actual current; The current compensation table stores a preset number of sampled currents within a rated current range and an actual current corresponding to each of the sampled currents.