A multi-channel motor integrated time-sharing control system and control method
Through the multi-channel motor integrated time-sharing control system, combined with voltage sampling and current sampling, and using time-sharing control power tubes, the problem of complex wiring and high cost of the multi-channel motor control system is solved, and low energy consumption and low-cost motor control are achieved. , reducing the motor starting current and torque ripple.
Patent Information
- Application Number
- CN202010223181.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-03-26
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-03-26
AI Technical Summary
The existing multi-channel motor control system has complex wiring, high cost, and large volume. The low-power control scheme increases the hardware cost or requires high components, making it difficult to effectively reduce the starting current and torque pulsation of the motor.
A multi-channel motor integrated time-sharing control system is adopted, including a power module, a motor module, a switch module and a control module. Through voltage sampling and current sampling combined with software control algorithms, motor identification and control are realized, using multi-channel selection switches and power The time-sharing control of the tube reduces the PWM duty cycle and reduces the starting current and torque ripple.
It realizes low-energy consumption and low-cost time-sharing control of multiple motors, reduces the size and cost of the control system, improves the accuracy and stability of motor identification, and reduces the impact current and torque pulsation of motor starting.
Smart Images

Figure CN111262479B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of motor digital control and power electronics technology, and in particular to an integrated time-sharing control system and control method for multi-channel brushed motors, which has the advantages of small size, low cost, low power consumption, etc. Background Art
[0002] In the field of multi-channel motor control, the drive control circuit of each motor is usually an independent structure. For example, if there are n motors, n independent drive circuits and power tubes (or power modules) are required, as well as n control chips storing corresponding motor control parameters. In this way, the larger the number of motors, the larger the volume of the entire control circuit, and the higher the cost.
[0003] In some other application scenarios, such as battery-powered control systems, the power consumption of the circuit must also be considered. Existing low-power control solutions can generally be divided into the following three categories: the first category is that the components in the circuit are selected to support low power consumption, including control chips, power chips, etc. This type of circuit has high requirements for chip selection and will increase hardware costs; the second category is to use electronic circuits to open or close the power circuit, such as connecting power tubes in series in the power circuit. This type of circuit will increase the cost of some hardware circuits and require an additional external switch signal to trigger the power tube connected in series in the power circuit; the third category is to connect the motor's starting switch in series in the power circuit and achieve low power consumption (zero power consumption) mode by disconnecting the switch. This type of method has certain voltage resistance and current level requirements for the type of switch. Summary of the invention
[0004] The first object of the present invention is to propose a multi-way motor integrated time-sharing control system, which solves the problems of complex wiring, high cost and large size of the multi-way motor time-sharing control system in the prior art; another object of the present invention is to provide a multi-way motor time-sharing control method applied to the above-mentioned control system; the innovation of the present invention involves the combination of hardware topology structure and software control algorithm.
[0005] In view of the first purpose, a technical solution adopted by the present invention is: a multi-channel motor integrated time-sharing control system, including: a power module, a motor module, a switch module and a control module.
[0006] Furthermore, the power supply module is a DC power supply or a battery.
[0007] Furthermore, the motor module includes n brushed motors, each of which has independent motor parameters and control parameters; the positive ends of the n brushed motors are respectively connected to the switch modules; and the negative ends of the n brushed motors are connected together.
[0008] Furthermore, the switch module includes a multi-way selection switch, one end of which is connected to the power module, and the other end includes a 0 contact and n control contacts; the n control contacts are respectively connected to the positive ends of the n brushed motors; when the contact is dialed to 0, it means that the circuit between the power module and the motor module is turned off, and when the contact is dialed to the i-th control contact, the circuit between the power module and the positive end of the i-th brushed motor is connected; wherein i is a value between 1 and n.
[0009] Furthermore, the motor module has n brushed motors, and both ends of each brushed motor are connected in parallel with a freewheeling diode for reverse freewheeling.
[0010] Furthermore, the control module includes n voltage sampling circuits, 1 driving circuit and power tube, 1 current sampling circuit, 1 control chip, 1 linear power supply and 1 communication interface;
[0011] The voltage sampling circuit is divided into n independent groups, corresponding to the positive terminal voltage sampling of n brushed motors in the motor module respectively;
[0012] The current sampling circuit includes a sampling resistor connected in series between the power module and the power tube. The current sampling circuit collects the voltage across the sampling resistor and sends it to the control chip for conversion to achieve current sampling. One end of the sampling resistor is connected to the source (S pole) of the power tube, and the other end is connected to the negative pole of the power module.
[0013] The drain (D pole) of the power tube is connected to the common negative terminal of the motor module, the source (S pole) of the power tube is connected to one end of the sampling resistor, the control end (G pole) of the power tube is connected to the output end of the drive circuit, and the input end of the drive circuit is connected to the output pin of the control chip.
[0014] Furthermore, the control chip is a programmable single-chip microcomputer MCU, which has multiple ADC channels inside and stores control parameters and operating programs of n-way brushed motors.
[0015] Furthermore, the multiple ADC channels of the control chip are respectively connected to the outputs of the n-way voltage sampling circuit and the output of the current sampling circuit.
[0016] Furthermore, the input of the linear power supply is introduced from the positive terminal of the n-way brushed motor through a diode to power the entire control module.
[0017] Furthermore, the communication interface is used to realize communication between the control module and an external host computer, and the host computer can monitor the operating status of the motor module through the communication interface.
[0018] For the second purpose, a technical solution adopted by the present invention is: a multi-channel motor integrated time-sharing control method, the control method is based on the multi-channel motor integrated time-sharing control system, the method comprises:
[0019] Voltage sampling: The voltage sampling circuit collects the positive terminal voltage signal of the n-way brushed motor and transmits it to the control chip;
[0020] Current sampling: The current sampling circuit collects the current signal flowing through the power tube and transmits it to the control chip;
[0021] Motor identification: The control chip receives the voltage sampling signal and the current sampling signal, and determines which brushed motor is turned on by the switch module by analyzing the sampling results, and calls the control parameters and operation program of the corresponding brushed motor to perform operation control and protection on the corresponding brushed motor;
[0022] Motor phase loss identification: The control chip combines the voltage sampling signal and the current sampling signal to determine whether the corresponding brushed motor has a phase loss fault.
[0023] Furthermore, the control chip controls the opening and closing of the power tube through PWM pulse modulation, and realizes the speed control of the motor module by adjusting the pulse width of PWM, that is, the duty cycle.
[0024] Furthermore, the current sampling and voltage sampling must be performed during the conduction time of the power tube. At the moment of the power tube being turned on, the current fluctuates greatly due to the influence of du / dt. Therefore, the current sampling must be delayed T after the power tube is turned on. Ring time to ensure the stability and accuracy of the current sampling signal, where T Ring It is the ringing duration of the power tube being turned on, which is related to the parameters of the power tube; the voltage sampling occurs after the current sampling and ADC result conversion are completed.
[0025] Furthermore, the voltage sampling is implemented through time-sharing control, that is, in each conduction sequence of the power tube, the current sampling circuit performs a current signal sampling, and the voltage sampling circuit only performs a voltage signal sampling of one brushed motor.
[0026] Furthermore, the ADC sampling and result conversion time of the control chip is recorded as T ADC , then through the voltage time-sharing sampling method, the minimum on-pulse width time of the power tube is: T Ring +2*T ADC ; Correspondingly, if the voltage time-sharing sampling method is not used, the minimum on-pulse width time of the power tube is: T Ring +(n+1)*TADC It can be seen that by adopting the voltage time-sharing sampling method proposed in the present invention, the minimum PWM duty cycle can be obtained, so the starting current of the motor can be smaller, and in the motor identification stage, the motor conduction identification is completed by the minimum PWM duty cycle, which can reduce the impact current and torque pulsation of the motor.
[0027] Furthermore, after the control chip is powered on and initialized, it begins to perform time-sharing voltage sampling and current sampling, not only in the motor identification stage, but also in the motor startup and operation stages; when a fault or overcurrent protection or overvoltage protection occurs, the control chip will shut down the power tube (voltage sampling and current sampling will not occur at this time), and report the fault event to the external host computer through the communication interface. The control chip will not restart the time-sharing voltage sampling and current sampling until the external host computer clears the fault event flag through the communication interface.
[0028] A multi-channel brushed motor integrated time-sharing control method, comprising:
[0029] (1) The controller sends out the i=i+1th test pulse signal;
[0030] (2) The current sampling circuit delays T after the power tube is turned on Ring Perform a current signal sampling, the i-th voltage sampling circuit collects the positive terminal voltage signal of the i-th brushed motor, the voltage sampling moment occurs after the current sampling result conversion is completed, and the current sampling signal and the voltage sampling signal are both input into the control chip through the ADC channel;
[0031] (3) Determine whether n test pulse outputs are completed, if not, return to step (1);
[0032] (4) If n test pulses have been output, determine whether the n current sampling signals are all 0. If so, determine whether the n voltage sampling signals are all 0. If the n voltage sampling signals are also all 0, determine that the voltage sampling module is faulty and output an alarm signal; if the n voltage sampling signals are all VDD (assuming that VDD is the positive terminal voltage value of the DC power supply), determine that the drive current or power tube is faulty and output an alarm signal; if the i-th voltage sampling signal is VDD and the remaining voltage sampling signals are zero, determine that the i-th brushed motor is out of phase and output an alarm signal; if none of the above is the case, determine that the motor identification has failed, set i=0 and return to step (1) to perform a new round of motor identification;
[0033] (5) If the i-th current sampling signal is not zero, determine whether the i-th voltage sampling signal is VDD. If so, determine whether the remaining voltage sampling signals are all 0. If so, the i-th brushed motor is successfully identified, and the control chip calls the control parameters and operating program of the brushed motor to control its operation; if the remaining voltage sampling signals are not all 0, it is determined that the motor identification has failed, set i=0 and return to step (1) to start a new round of motor identification.
[0034] The beneficial effects of the present invention are as follows: the innovative points of the present invention involve hardware topology and software control algorithms, and the main inventive points are: 1. Time-sharing control of multiple brushed motors is realized through a set of control modules, which reduces the volume of the control system, achieves low energy consumption and low cost; 2. Motor identification is performed through the results of voltage sampling and current sampling data, and the corresponding control program is called to control the motor operation after determining which motor is turned on; 3. Further, by combining voltage sampling and current sampling, it is possible to identify whether the motor has a phase failure; 4. Multi-channel voltage sampling is achieved through time-sharing control, which can make the minimum PWM duty cycle of the power tube as small as possible, reduce the starting current of the motor, and reduce the motor torque pulsation problem in the motor identification stage. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 It is a schematic diagram of the hardware topology structure of a preferred embodiment of the present invention;
[0036] Figure 2 is a simplified circuit diagram of a state in which the motor n is turned on but the power tube is not turned on in an embodiment of the present invention;
[0037] Figure 3 is a simplified circuit diagram of the motor n connected and the power tube turned on in the embodiment of the present invention;
[0038] Figure 4 It is a timing control diagram of current sampling, voltage sampling and PWM in an embodiment of the present invention;
[0039] Figure 5 It is a software flow chart of an embodiment of the present invention. DETAILED DESCRIPTION
[0040] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more definite definition of the protection scope of the present invention.
[0041] The embodiment of the present invention involves a hardware topology structure and a software control algorithm, and requires a combination of the two to work.
[0042] The hardware topology structure of the embodiment of the present invention can be found in Figure 1 ,include:
[0043] Power module: including a DC power supply
[001] (can also be a battery);
[0044] The switch module includes a multi-way switch
[002] , which is connected in series between the positive electrode of the DC power supply
[001] and the positive terminal of the motor module
[002] , and includes a 0 contact and n control contacts; when the contact is turned to 0, it indicates that the circuit is turned off, and when the contact is turned to i, it indicates that the positive electrode of the DC power supply
[001] is connected to the positive terminal of the i-th motor (i.e., motor i), which means that motor i is turned on; wherein i is a value between 1 and n;
[0045] Motor module
[003] : includes n brushed motors, the positive end of each brushed motor is connected to the positive pole of the DC power supply
[001] through a multi-way switch
[002] , the negative ends of the n brushed motors are connected together, and a freewheeling diode is connected in parallel at both ends of each brushed motor for reverse freewheeling;
[0046] Control chip: including single-chip microcomputer MCU
[004] , used for software algorithm programming and implementation, storing control parameters and operation programs of n-way brushed motors, and having multiple ADC input channels;
[0047] Voltage sampling: including n voltage sampling circuits
[005] , each of which corresponds to the positive end of a brushed motor, collects the positive end voltage signal of the corresponding brushed motor and sends the voltage sampling signal to the ADC channel of the single-chip microcomputer MCU
[004] ;
[0048] LDO power supply
[006] : introduced from the positive terminal of the motor module
[003] through a diode, used to power the microcontroller MCU
[004] ;
[0049] The power tube includes a MOSFET tube
[007] , whose D drain is connected to the common negative terminal of the motor module
[003] , whose S source is connected to the negative terminal of the DC power supply
[001] through the sampling resistor
[009] , and whose G gate is connected to the driving circuit
[008] ; the driving circuit
[008] is connected to the control signal terminal of the single-chip microcomputer MCU
[004] and the G gate of the power tube
[007] to drive the MOSFET tube
[007] to be turned on and off;
[0050] Current sampling: This is achieved by connecting a sampling resistor
[009] in series between the S source of the MOSFET tube
[007] and the negative electrode of the DC power supply
[001] . The voltage across the sampling resistor
[009] is collected and the sampling signal is sent to the ADC channel of the single-chip microcomputer MCU
[004] . The single-chip microcomputer MCU
[004] converts the sampling signal to achieve current sampling of the MOSFET tube
[007] .
[0051] Communication interface
[010] : used to realize the communication between the single-chip microcomputer MCU
[004] and the external host computer. The host computer can monitor the operating status of the motor module
[003] through the communication interface
[010] .
[0052] The functions of the embodiments of the present invention are described as follows:
[0053] When the multi-way switch
[002] is connected to contact 0, the circuit between the control system and the DC power supply
[001] is disconnected, the motor module
[003] is in the off state as a whole, and the system has zero power consumption.
[0054] If the i-th brushed motor (i.e. motor i, i is a value between 1 and n) is to be turned on, the multi-way switch
[002] is turned to the i-th contact; the single-chip microcomputer MCU
[004] realizes the following functions through the input of the voltage sampling circuit
[005] and the current sampling circuit, combined with a series of control logics: motor identification (determining which motor is turned on), overvoltage protection, overcurrent protection, motor phase loss judgment, motor soft start, etc.
[0055] Among them, motor identification is one of the invention points that need to be protected in the present invention. Only by identifying which brushless motor is turned on, can the microcontroller MCU
[004] call the corresponding control parameters to complete the soft start and load operation of the motor.
[0056] Assuming that the multi-way switch
[002] is externally switched to the nth control contact (at this time, the microcontroller MCU
[004] does not know which motor is turned on), the circuit between the nth brushed motor (i.e., motor n), the DC power supply
[001] , and the MOSFET tube
[007] can be simplified to the following two cases.
[0057] For the first case, see Figure 2 When the MOSFET tube
[007] is not turned on, there is generally no current loop in the motor n (except when the back electromotive force is freewheeling through the freewheeling diode during the motor shutdown period). The positive terminal voltage of each motor can be considered to be equivalent to the voltage of the DC power supply
[001] , recorded as VDD. Therefore, the microcontroller MCU
[004] cannot identify the motor through the sampling results of the voltage sampling circuit
[005] .
[0058] For the second case, see Figure 3When the MOSFET tube
[007] is turned on, the motor n connected to the multi-way switch
[002] forms a loop through the MOSFET tube
[007] and the DC power supply
[001] , and its positive terminal voltage is equivalent to the voltage VDD of the DC power supply
[001] , while the positive terminal voltages of the other motors that are not turned on are equivalent to the negative terminal voltage of the DC power supply
[001] , that is, GND. (If there is a reverse electromotive force in the motor that is not turned on, for example, the positive terminal voltage will decrease as the motor speed decreases), at this time, it is possible to identify which motor is turned on by the multi-way switch
[002] by judging the sampling data size of each voltage sampling circuit
[005] .
[0059] Motor phase loss identification is another invention point that needs to be protected in the present invention. Assume that the contact of the multi-way switch
[002] is externally switched to the positive terminal of motor i, and when the MOSFET tube
[007] is turned on, if the corresponding motor i is normally connected, the sampling result of the current sampling is non-zero; if the corresponding motor i is not connected (phase loss), the sampling result of the current sampling is zero. At this time, by combining the voltage sampling result and the current sampling result, it can be identified whether the i-th brushed motor has a phase loss fault.
[0060] Furthermore, after the motor identification is completed, the corresponding motor control parameters (such as the preset PWM duty cycle curve) in the single-chip microcomputer MCU
[004] can be called to realize the soft start, load operation, overvoltage / undervoltage protection and overcurrent protection of the corresponding brushed motor. For example, the overvoltage threshold, undervoltage threshold and overcurrent threshold are pre-stored in the single-chip microcomputer MCU
[004] . When the motor identification is successful, the voltage sampling result of the brushed motor is compared with the overvoltage threshold / undervoltage threshold. If the voltage sampling result exceeds the preset overvoltage threshold, the MOSFET tube
[007] is disconnected to realize overvoltage protection; if the voltage sampling result is less than the undervoltage threshold, the MOSFET tube
[007] is also disconnected to realize undervoltage protection; similarly, if the current sampling result is greater than the overcurrent threshold, the circuit is disconnected through the MOSFET tube
[007] to realize overcurrent protection. When the protection event occurs, the corresponding flag bit in the software will be set to 1. Only when the host computer clears the corresponding flag bit through the communication interface
[010] can the motor enter the identification stage.
[0061] The host computer can monitor the operating status of the entire control system through the communication interface
[010] and can also clear the corresponding fault flag.
[0062] The timing of voltage sampling and current sampling is another inventive point that needs to be protected in the present invention. As previously analyzed, voltage sampling and current sampling need to be performed during the conduction period of the MOSFET tube
[007] in order to effectively identify the on and off of the motor. At the moment of the MOSFET tube
[007] being turned on, due to the influence of du / dt, current sampling needs to be delayed T after the MOSFET tube
[007] is turned on. Ring In order to perform sampling, T Ring It is the ringing time length of the MOSFET tube
[007] being turned on, which is related to the parameters of the MOSFET tube
[007] . In addition, since there are many voltage sampling paths (a total of n paths), and if the conduction time of the MOSFET tube
[007] in a single PWM cycle is too long, it will cause a large starting current and motor torque pulsation, so the voltage sampling needs to be implemented through time-sharing sampling.
[0063] See also Figure 4 In each pulse cycle of the MOSFET tube
[007] , the current sampling is delayed by T at the moment of conduction. Ring At the same time, only one brushed motor voltage sampling is performed in each pulse, and the voltage sampling is immediately followed by the current sampling ADC conversion. In this way, the minimum PWM duty cycle can be obtained, thereby effectively reducing the impact of motor identification and motor start-up on the impact of current and torque pulsation.
[0064] See also Figure 5 , is a software flow chart of an embodiment of the present invention.
[0065] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A multi-channel motor integrated time-sharing control system, comprising: The power module, switch module, motor module and control module are characterized by: The motor module comprises n brushed motors with independent motor parameters and control parameters, the positive ends of the n brushed motors are connected to the positive pole of the power module through the switch module, and the negative ends of the n brushed motors are connected in common; The switch module comprises a multi-way selection switch, one end of which is connected to the positive pole of the power module, and the other end of which can be connected to the positive end of any one of the brushed motors; The control module comprises: n-way voltage sampling circuits, 1-way power tube, 1-way current sampling circuit, 1-way drive circuit and 1-way control chip, wherein the n-way voltage sampling circuits respectively correspond to the positive terminal voltage sampling of the n-way brushed motor, and the drain of the power tube is connected to the common negative terminal of the motor module; the current sampling circuit collects the current signal of the power tube, and the control chip stores the control parameters and operation program of the n-way brushed motor; the drive circuit is connected to the control end of the control chip and the power tube, and the multi-way motor integrated time-sharing control system controls the n-way brushed motor to realize the functions of conduction identification, operation, fault judgment, overcurrent protection and overvoltage protection through the drive circuit and the power tube; the control chip comprises a programmable single-chip microcomputer MCU, and the programmable single-chip microcomputer MCU stores the control parameters and operation program of the n-way brushed motor and is provided with multiple ADC channels; the current sampling circuit comprises a sampling resistor; The drain of the power tube is connected to the common negative terminal of the motor module, the source is connected to one end of the sampling resistor, and the other end of the sampling resistor is connected to the negative electrode of the power module, the control end of the power tube is connected to the output end of the drive circuit, and the input end of the drive circuit is connected to the output pin of the programmable single chip microcomputer MCU; The current sampling and voltage sampling need to be completed during the conduction period of the power tube, and the specific steps include: the control chip turns on the power tube through the drive circuit, and then triggers the current sampling circuit to perform current sampling, and after the current sampling signal conversion is completed, then triggers the voltage sampling circuit to perform voltage sampling; The control chip turns on the power tube through the drive circuit, which requires a delay of T Ring After a certain time, the current sampling circuit is triggered to perform current sampling; the T Ring is the ringing duration of the power tube being turned on; During the motor identification stage, the voltage sampling is achieved through time-sharing sampling, that is: during the i-th conduction sequence of the power tube, the current sampling circuit performs a current signal sampling, and the i-th voltage sampling circuit performs a voltage signal sampling of the i-th brushed motor; wherein i is a value between 1 and n.
2. A multi-channel motor integrated time-sharing control system according to claim 1, characterized in that: The power supply module includes: a DC power supply or a battery; The motor module comprises: n-way brushed motors, one end of the multi-way selection switch is connected to the positive pole of the power module, and the other end can be connected to the positive end of any one of the brushed motors, and the negative ends of the n-way brushed motors are connected together; The control module includes: n voltage sampling circuits, 1 drive circuit, 1 power tube, 1 current sampling circuit, 1 control chip and 1 linear power supply; the control chip includes a programmable single-chip microcomputer MCU, the programmable single-chip microcomputer MCU stores the control parameters and operating programs of n brushed motors and is provided with multiple ADC channels; the current sampling circuit includes a sampling resistor; The n-way voltage sampling circuits respectively sample the positive terminal voltages of the n-way brushed motors, and input the voltage sampling signals into the ADC channels of the programmable single-chip microcomputer MCU; The current sampling circuit collects the voltage across the sampling resistor and inputs the sampling signal into the ADC channel of the programmable single-chip microcomputer MCU, and the single-chip microcomputer MCU then converts the sampling signal to implement current sampling of the power tube; The linear power supply is introduced from the positive terminal of the motor module through a diode, and is used to provide the required power supply voltage to the control chip.
3. A multi-channel motor integrated time-sharing control system according to claim 1 or 2, characterized in that: The multi-way selection switch includes a 0 contact and n control contacts; the n control contacts are respectively connected to the positive terminals of the n-way brushed motors; When the contact is turned to 0, the circuit between the power module and the motor module is disconnected, and when the contact is turned to i, the circuit between the power module and the i-th brushed motor is connected; i is a value between 1 and n.
4. A multi-channel motor integrated time-sharing control method, the control method is based on the multi-channel motor integrated time-sharing control system according to any one of claims 1 to 3, characterized in that: The method comprises: Voltage sampling: n-way voltage sampling circuits respectively collect positive terminal voltage signals of n-way brushed motors and send the n-way voltage sampling signals to the control module; Current sampling: The current sampling circuit collects the current signal of the power tube and sends the current sampling signal to the control module; Motor identification: The control module combines the magnitudes of the received n-channel voltage sampling signals and current sampling signals to determine which brushed motor is turned on, and calls the corresponding control parameters and operating procedures to control and protect the corresponding brushed motor; Motor phase loss identification: The control module combines the voltage sampling signal and the current sampling signal to determine whether the corresponding brushed motor has a phase loss fault.
5. A multi-channel motor integrated time-sharing control method according to claim 4, characterized in that: The motor identification includes: After the control chip receives the voltage sampling signal of the i-th brushed motor, if the i-th voltage sampling signal = VDD, and the i-th current sampling signal is greater than the set minimum current threshold value, the control chip determines that the i-th brushed motor is turned on and the motor identification is completed; the control chip calls the control parameters and operation program of the i-th brushed motor to control its operation; If the i-th voltage sampling signal = GND, the control chip determines that the i-th brushed motor is not turned on; Wherein, i is a value between 1 and n; the VDD is the positive terminal voltage value of the power module, and the GND is the negative terminal voltage value of the power module.
6. A multi-channel motor integrated time-sharing control method according to claim 4, characterized in that: The motor phase loss identification includes: After the control chip receives the voltage sampling signal and the i-th current sampling signal of the i-th brushed motor, if the i-th voltage sampling signal = VDD, and the i-th current sampling signal is less than the set minimum current threshold value, the control chip determines that the i-th brushed motor has a phase failure; If all n voltage sampling signals are GND, the control chip determines that the voltage detection circuit is faulty; If all the n voltage sampling signals are VDD, the control chip determines that the power tube or the drive circuit is faulty; Wherein, i is a value between 1 and n; the VDD is the positive terminal voltage value of the power module, and the GND is the negative terminal voltage value of the power module.
7. An integrated time-sharing control method for multiple brushed motors, the control method is based on the integrated time-sharing control system for multiple motors as claimed in claim 3, characterized in that: In the method, it is assumed that the positive terminal voltage value of the power module is VDD, and the method includes: (1) The controller sends the i=i+1th test pulse signal; (2) The current sampling circuit delays T after the power tube is turned on Ring Then, current sampling is performed, and the i-th voltage sampling circuit collects the positive terminal voltage signal of the i-th brushed motor. The i-th voltage sampling moment occurs after the current sampling result conversion is completed. Both the current sampling signal and the voltage sampling signal are input into the control chip through the ADC channel; (3) Determine whether n test pulse outputs are completed. If not, return to step (1); (4) If n test pulses have been output, determine whether the n current sampling signals are all 0. If so, determine whether the n voltage sampling signals are all 0. If the n voltage sampling signals are all 0, determine that the voltage sampling circuit is faulty and output an alarm signal. If the n voltage sampling signals are all VDD, determine that the drive current or power tube is faulty and output an alarm signal. If the i-th voltage sampling signal is VDD and the remaining voltage sampling signals are zero, determine that the i-th brushed motor is out of phase and output an alarm signal. If none of the above conditions are true, determine that the motor identification has failed, set i=0 and return to step (1) to perform a new round of motor identification. (5) If the i-th current sampling signal is not zero, determine whether the i-th voltage sampling signal is VDD. If so, determine whether the remaining voltage sampling signals are all 0. If so, the i-th brushed motor is successfully identified, and the control chip calls the control parameters and operating program of the i-th brushed motor to control its operation. If the remaining voltage sampling signals are not all 0, it is determined that the motor identification has failed, set i=0 and return to step (1) to start a new round of motor identification.
8. An integrated time-sharing control method for multiple brushed motors, the control method is based on the integrated time-sharing control system for multiple motors as claimed in claim 1, characterized in that: An overvoltage protection threshold is stored in the control chip. If the voltage sampling signal collected by the voltage sampling circuit is greater than the overvoltage protection threshold, the control chip determines that an overvoltage protection event occurs, and the control chip will shut down the power tube to implement overvoltage protection.
9. An integrated time-sharing control method for multiple brushed motors, the control method is based on the multiple motor integrated time-sharing control system of claim 1, characterized in that: The control chip stores protection current thresholds respectively. If the current signal collected by the current sampling circuit is greater than the protection current threshold, the control chip determines that an overcurrent protection event occurs, and the control chip shuts down the power tube to implement overcurrent protection.
