CN107834946B - PWM current driving method and device adopting dynamic mixed attenuation mode - Google Patents

PWM current driving method and device adopting dynamic mixed attenuation mode Download PDF

Info

Publication number
CN107834946B
CN107834946B CN201710929717.8A CN201710929717A CN107834946B CN 107834946 B CN107834946 B CN 107834946B CN 201710929717 A CN201710929717 A CN 201710929717A CN 107834946 B CN107834946 B CN 107834946B
Authority
CN
China
Prior art keywords
current
charging
motor
signal
attenuation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710929717.8A
Other languages
Chinese (zh)
Other versions
CN107834946A (en
Inventor
黄涛涛
谢飞
赵春波
魏荣峰
陈靖文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen linneng Semiconductor Co.,Ltd.
Original Assignee
Shenzhen Linneng Semiconductor Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Linneng Semiconductor Co ltd filed Critical Shenzhen Linneng Semiconductor Co ltd
Priority to CN201710929717.8A priority Critical patent/CN107834946B/en
Publication of CN107834946A publication Critical patent/CN107834946A/en
Application granted granted Critical
Publication of CN107834946B publication Critical patent/CN107834946B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P27/00Arrangements or methods for the control of AC motors characterised by the kind of supply voltage
    • H02P27/04Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage
    • H02P27/06Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters
    • H02P27/08Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters with pulse width modulation
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P23/00Arrangements or methods for the control of AC motors characterised by a control method other than vector control
    • H02P23/28Controlling the motor by varying the switching frequency of switches connected to a DC supply and the motor phases

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Direct Current Motors (AREA)

Abstract

The invention discloses a PWM current driving method adopting a dynamic mixed attenuation mode, which comprises the following steps: setting the period of the square wave signal and the charging current threshold value in the period of the square wave signal; charging the motor to a charging current threshold; controlling the current passing through the motor to quickly attenuate until the current passing through the motor quickly attenuates to a dynamic discharge current threshold; the current through the motor is controlled to decay slowly until the period of the square wave signal is over. The invention also discloses a device corresponding to the method. The invention can ensure that the ripple of the output current is smaller, thereby reducing the noise of the motor and reducing the power consumption of the power supply.

Description

PWM current driving method and device adopting dynamic mixed attenuation mode
Technical Field
The invention belongs to the field of automatic control, and particularly relates to a PWM current driving method and device adopting a dynamic mixed attenuation mode.
Background
The current motor subdivision mode is basically a current subdivision method, and current points obtained by phase currents according to sine waves in a tangent mode are used as subdivision points. When the phase current reaches the subdivision point, the current is controlled to be attenuated, otherwise, angle overshoot occurs, and the current cannot accurately stay at the subdivision angle. The attenuation modes selected by different speeds of the motor are different, and the attenuation modes are generally fast attenuation at a high speed and slow attenuation at a low speed. If the motor is attenuated at a high speed, the problems of large vibration, high noise and the like can occur, and if the motor is attenuated at a low speed, the motor is powerless and even inaccurate positioning can occur. The current attenuation on the motor control chip is directed at the control mode of a full-bridge circuit switching tube, a high side tube is closed when the current is attenuated at a low speed, and a low side tube is conducted; when the current direction is opposite to the current direction during charging in the process of rapid attenuation, the high-side and low-side tubes are closed, and the high-side and low-side tubes on the other side are conducted. The mixed attenuation is an attenuation mode of mixing fast attenuation and slow attenuation, and in the traditional mixed attenuation mode, the time of the fast attenuation and the time of the slow attenuation are fixed, and the proportion of the fast attenuation and the slow attenuation is different according to different chips and different powers. In the conventional hybrid damping mode, the current ripple varies greatly when different motor loads are externally connected. When the current ripple is large, the noise of the motor also becomes large.
Disclosure of Invention
In view of the above technical problems, the present invention provides a current driving technical solution that has a small output current ripple, thereby reducing motor noise and reducing power consumption of a power supply.
The technical scheme adopted by the invention for solving the technical problems is as follows:
according to an aspect of the present invention, there is provided a PWM current driving method using a dynamic hybrid decay mode, the method comprising the steps of:
setting the period of the square wave signal and the charging current threshold value in the period of the square wave signal;
charging the motor to a charging current threshold;
controlling the current passing through the motor to quickly attenuate until the current passing through the motor quickly attenuates to a dynamic discharge current threshold;
the current through the motor is controlled to decay slowly until the period of the square wave signal is over.
As an alternative of the above technical solution of the present invention, in the current period of the square wave signal, the charging current threshold and the dynamic discharging current threshold are set according to the requirements of the user on the precision and the relative error of the motor current.
As an alternative of the above technical scheme of the invention, the dynamic discharge current threshold is set to be 90% -99% of the charging current threshold.
As an alternative of the above technical solution of the present invention, in the next period of the square wave signal, if the set charging current threshold is greater than the charging current threshold in the previous period of the square wave signal, the motor is charged to the larger charging current threshold.
As a further improvement of the above technical solution of the present invention, if the charging time of the motor exceeds one period of the square wave signal, the charging time of the motor is continued to the next period of the square wave signal.
As a further improvement of the above technical solution of the present invention, in the next period of the square wave signal, if the set charging current threshold is smaller than the charging current threshold in the previous period of the square wave signal, and the current passing through the motor at the beginning of the next period is larger than the charging current threshold, the motor is controlled to charge only in the blanking time, and then the current passing through the motor is controlled to decay rapidly.
As a preferable scheme of the above technical solution of the present invention, a blanking time is set at the beginning of the charging and the current fast decay, and the blanking time is greater than a dead time of switching between the upper tube and the lower tube of the full bridge circuit and less than a period of the square wave signal.
As a further improvement of the above technical solution of the present invention, if the time for the current to decay rapidly exceeds one period of the square wave signal, the time for the current to decay rapidly is continued to the next period of the square wave signal.
As a further improvement of the technical scheme, a filter is arranged at each conversion point of the quick attenuation of the charging conversion current and the quick attenuation of the current to the slow attenuation of the current.
According to another aspect of the present invention, there is provided a PWM current driving apparatus employing a dynamic hybrid decay mode, the apparatus including:
a memory for storing an application program; and
a processor for running the application to perform the steps of:
setting the period of the square wave signal and the charging current threshold value in the period of the square wave signal;
charging the motor to a charging current threshold;
controlling the current passing through the motor to quickly attenuate until the current passing through the motor quickly attenuates to a dynamic discharge current threshold;
the current through the motor is controlled to decay slowly until the period of the square wave signal is over.
Compared with the prior art, the invention has the following beneficial technical effects:
according to the invention, after the motor is charged to the charging current threshold, the current passing through the motor is controlled to be quickly attenuated to the dynamic discharging current threshold, and then the current is controlled to be slowly attenuated, so that the ripple wave of the output current can be ensured to be smaller, and the noise of the motor can be reduced and the power consumption of the power supply can be reduced;
the invention defines a dynamic discharge current threshold, namely the invention can control the time of fast attenuation and slow attenuation in mixed attenuation by detecting the charging current of the motor in real time, which is different from the fixed time of fast attenuation and slow attenuation in the traditional mixed attenuation mode, therefore, the method of the invention can be suitable for systems externally connected with different motors;
in the invention, if the set charging current threshold is smaller than the charging current threshold in the previous period of the square wave signal, the motor can be controlled to be charged only in blanking time, and then the current passing through the motor is controlled to be quickly attenuated, so that the delay time before the turn-off is defined after the current charging is stopped, and the current-limiting fault condition before the turn-off can be ignored by a system using the method, thereby improving the fault tolerance of the system;
the invention arranges a filter at each switching point of current change, which can avoid current detection error caused by external noise.
Drawings
FIG. 1 is a schematic diagram illustrating an increase in a charge current threshold in a conventional hybrid decay mode;
FIG. 2 is a schematic diagram of a charge current threshold reduction in a conventional hybrid decay mode;
FIG. 3 is a schematic diagram of one embodiment of a PWM current driving method using a dynamic hybrid decay mode according to the present invention;
FIG. 4 is a schematic diagram of another embodiment of a PWM current driving method using a dynamic hybrid decay mode according to the present invention;
FIG. 5 is a schematic diagram of another embodiment of a PWM current driving method using a dynamic hybrid decay mode according to the present invention;
FIG. 6 is a schematic diagram of another embodiment of a PWM current driving method using a dynamic hybrid decay mode according to the present invention;
FIG. 7 is a schematic diagram of another embodiment of a PWM current driving method using a dynamic hybrid decay mode according to the present invention;
FIG. 8 is an exemplary diagram of adding a filter for the PWM current driving method using the dynamic hybrid decay mode according to the present invention;
FIG. 9 is a schematic diagram illustrating the driving principle of the PWM driving current according to various embodiments of the present invention;
FIG. 10 is a schematic diagram of a PWM logic control module in accordance with various embodiments of the present invention;
fig. 11 is an exemplary embodiment of a PWM driving timing designed when the dynamic hybrid decay mode is employed in the present invention.
Detailed Description
The embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
In the conventional hybrid decay mode, the times of both the fast decay and the slow decay are fixed. Under the condition that the charging current threshold value is increased as shown in fig. 1, when the charging current of the motor reaches the set charging current threshold value, the discharging mode is entered, namely, the slow attenuation is entered first, and then the square wave signal period f is selectedCHOPThe last 1us into a fast decay. When the charging current threshold is reduced, as shown in fig. 2, forced charging is performed for a blanking time, then the current passing through the motor is controlled to rapidly and rapidly decay until the end of a period of the square wave signal, and then the processes of reciprocating charging, slow decay and rapid decay are performed. In the fast decay process of fig. 2, since the relative error between the magnitude of the current discharge and the peak value of the charging current is not confirmed, it is possible that the discharge slope is large, and the current ripple is large. In addition, the conventional hybrid attenuation mode fixes the time or proportion of the rapid attenuation, and if different motor loads are externally connected, the current ripple of the motor has a large difference, and when the current ripple is large, the noise of the motor also becomes large.
In one aspect, according to an embodiment of the PWM current driving method using the dynamic hybrid decay mode of the present invention, the method may include the steps of:
setting the period f of a square wave signalCHOPA charging current threshold value Itrip in the period of the square wave signal;
charging the motor to a charging current threshold Itrip;
the current through the motor is controlled to decay rapidly until the current through the motor decays rapidly to the dynamic discharge current threshold, which may be set according to the user's requirements for precision and relative error of the motor current as a preferred embodiment. As an alternative embodiment of this embodiment, when the relative error between the dynamic discharge current threshold and the charging current threshold exceeds the error threshold T, the current of the motor is switched from fast decay to slow decay, and as a preferred embodiment, T is set to 1% to 10%, i.e. the dynamic discharge current threshold may be set to 90% to 99% of the magnitude of the charging current threshold, and more preferably, the dynamic discharge current threshold may be set to 95% of the magnitude of the charging current threshold;
the current through the motor is controlled to decay slowly until the period of the square wave signal is over. The current regulation process of this embodiment can be as shown in fig. 3, and the start-stop time of the charging, fast-fading and slow-fading of the present invention is not limited by the high and low levels of the square wave signal, but only relates to the magnitude of the charging current threshold Itrip and the dynamic discharging current threshold. Also, in this dynamic hybrid damping mode, the power consumed is greatly reduced.
According to another embodiment of the present invention, based on the above embodiment, as shown in fig. 4, in the next period of the square wave signal, if the set charging current threshold is greater than the charging current threshold in the previous period of the square wave signal, the motor is directly charged to the larger charging current threshold, the current passing through the motor is controlled to be rapidly attenuated to the dynamic discharging current threshold, and then the current passing through the motor is controlled to be slowly attenuated until the period of the square wave signal is over. When the new period of the square wave signal is reached, the charging and discharging processes are recycled.
As a further improvement of the above embodiment of the present invention, as shown in fig. 5, if the charging time of the motor exceeds one period of the square wave signal, the charging time of the motor is extended to the next period of the square wave signal, and then the fast attenuation and the slow attenuation are performed.
According to another embodiment of the present invention, which includes the basic steps of the first embodiment, and based on the first embodiment, as shown in fig. 6, in the next period of the square wave signal, a blanking time can be set at the beginning of the charging and the current fast decay, and the blanking time is greater than the dead time of the full bridge circuit switching between the upper and lower tubes and less than the period of the square wave signal. For example, if the set charging current threshold is smaller than the charging current threshold in the previous period of the square wave signal, the motor is controlled to be charged in a blanking time (blanking time), then the current passing through the motor is controlled to be rapidly attenuated to the dynamic discharging current threshold, and then the current passing through the motor is controlled to be slowly attenuated until the period of the square wave signal is ended. When the new period of the square wave signal is reached, the charging and discharging processes are recycled. In this embodiment, even if the charging current threshold set in the next period is smaller than the charging current threshold in the previous period of the square wave signal, the short-time charging process in the blanking time can be added at the beginning of the period, because the current of the motor at this time is still higher than the charging current threshold, so that the delay time before the shutdown is defined after the current charging is stopped, and the current-limiting fault condition before the shutdown can be ignored by the system using the method, thereby improving the fault tolerance of the system. Preferably, the charge blanking time is set to 1-4 us, more preferably to 1.25 us. The blanking time for the rapid decay of the current may be set to 1-4 us, and more preferably may be set to 2.81 us.
As a further improvement of the above embodiment of the present invention, as shown in fig. 7, if the time for the current to decay rapidly exceeds one period of the square wave signal, the time for the current to decay rapidly is extended to the next period of the square wave signal, and then slow decay is performed. When the new period of the square wave signal is reached, the charging and discharging processes are recycled.
According to another embodiment of the present invention, which includes the basic steps of the first embodiment, and on the basis of the first embodiment, as shown in fig. 8, in order to avoid a current detection error caused by external noise, a filter may be disposed at each transition point where the charging transition current rapidly attenuates, the current rapidly attenuates, and the transition current slowly attenuates, and the filter filters and performs noise prevention processing on a detection signal of the transition point. After the current passing through the motor is compared with the charging current threshold value, a detection signal of rapid attenuation of the charging current can be generated; after the current passing through the motor is compared with the dynamic discharge current threshold value, a detection signal that the current is quickly attenuated and the current is slowly attenuated can be generated. The time delay of the filter can be set to be 300-600 ns, and preferably to be 365 ns.
It is to be noted that the various embodiments and further developments of the inventive method can be combined and/or coupled with each other. For example, in the next period of the square wave signal, when the set charging current threshold is larger and/or smaller than the charging current threshold in the previous period of the square wave signal, a filter may be provided at each switching point of the current variation.
On the other hand, according to an embodiment of the present invention, the PWM current driving apparatus employing the dynamic hybrid decay mode may include:
a memory for storing an application program; and
a processor for running the application to perform the steps of:
setting the period of the square wave signal and the charging current threshold value in the period of the square wave signal;
charging the motor to a charging current threshold;
controlling the current passing through the motor to quickly attenuate until the current passing through the motor quickly attenuates to a dynamic discharge current threshold;
the current through the motor is controlled to decay slowly until the period of the square wave signal is over.
As a preferred implementation of the above embodiment, the device may be integrated within the motor drive chip.
To better illustrate how the current driving method of the present invention is implemented, the present invention is described below with reference to specific devices. Please refer to a schematic diagram of the driving principle of the PWM driving current in each embodiment of the present invention as shown in fig. 9, wherein: the micro control unit can be a single chip microcomputer, sends a direction signal and a mode signal to the PWM logic control unit, namely sets a current subdivision mode and a charging current direction required by output by the micro control unit, and sets a voltage value of V _ ref through resistance voltage division or an external power supply;
the oscillator sets the period of the square wave signal;
setting a charging current threshold DAC _ OUT in a square wave signal period by the digital-to-analog converter;
the PWM logic control unit sets the output to be in a charging state, detects a feedback voltage sense generated by the current I _ load output by the motor M through an external sensing resistor R _ sense, and feeds the voltage sense back to the input end of the current comparator to be compared with a charging current threshold DAC _ OUT. If the comparison result shows that the current I _ load output by the motor M is smaller than the charging current threshold DAC _ OUT, the motor is charged to the charging current threshold, then a discharging start signal DISCHARGE and a rapid attenuation end signal FASTDECAY are generated, the current passing through the motor is controlled to be rapidly attenuated, and the motor current is discharged. Further, the voltage sense across the sensing resistor R _ sense is fed back to the input of the current comparator to be compared with the dynamic discharge current threshold ADAC _ OUT, and the value of the dynamic discharge current threshold ADAC _ OUT is set to 95% DAC _ OUT. In this way, the current through the motor can be controlled to decay rapidly until the current through the motor decays rapidly to the dynamic discharge current threshold, and then controlled to decay slowly until the period of the square wave signal ends, after which a new charging period begins.
In the above embodiment, the feedback signal sense sent to the current comparator may be the voltage on the external power resistor R _ sense, and if there is no external power resistor, the detected feedback signal sense may also be the on voltage of the power down tube in the full bridge circuit.
Further, in the above embodiment, the DISCHARGE start signal DISCHARGE, the fast decay end signal FASTDECAY and the clock signal clock generated by the oscillator are processed by the PWM logic control unit to generate four logic control signals NA1, NA2, NB1 and NB 2; the four logic control signals NA1, NA2, NB1 and NB2 pass through the output front-stage driving unit to generate driving signals DRV _ NA1, DRV _ NA2, DRV _ NB1 and DRV _ NB2 of four power tubes of a full-bridge circuit; the peak value and the direction of the current I _ load on the external motor coil are controlled by controlling the on and off of the four power tubes of the full-bridge circuit.
Among them, as an exemplary embodiment, a PWM logic control unit embodying the present invention may be as shown in fig. 10. Wherein the period f of the square wave signalCHOPThe charging state is started, the feedback signal sense is compared with the charging current threshold DAC _ OUT, and when the sense slowly rises to the DAC _ OUT level, the discharging start signal DISCHARGE is generated, and the output is rapidly attenuated from the charging current. In this rapid discharge state, the sense voltage is negative and the magnitude of the sense signal can be compared to a dynamic discharge threshold value ADAC _ OUT, which is preferably set to 95% DAC _ OUT. When the feedback signal sense slowly drops to the ADAC _ OUT level, a fast decay end signal FASTDECAY is generated, transitioning the output from fast current decay to slow current decay. In this slow discharging state, the feedback signal sense is compared with the GND zero level, in order to avoid that when the set charging threshold is small, the load current is small, and the current may become zero or reverse in the slow decay mode. If the level of the feedback signal sense is detected to be equal to zero level, the zero-crossing detection signal OUT _ Z is generated, which will affect the four logic control signals NA1, NA2, NB1 and NB2 to make them all become low level, and the output enters high impedance state until the next fCHOPThe cycle restarts at the charging state.
Further, in order to avoid noise interference, the blanking time is set for both charging and rapid discharging. The charge blanking time may be set to 1-4 us, preferably 1.25us, the fast discharge blanking time may be set to 1-4 us,and preferably may be set to 2.81 us. In order to avoid current detection errors caused by external noise, a filter can be arranged at each switching point of quick attenuation of charging switching current and quick attenuation of current to slow attenuation of current, and the filter carries out filtering and noise prevention processing on a detection signal of the switching point. The time delay of the filter can be set to be 300-600 ns, and preferably to be 365 ns. Fig. 11 shows an exemplary embodiment of the PWM drive timing designed when the dynamic hybrid decay mode is employed in the present invention. Wherein SDDTDead time for slow decay, FDDTIn order to quickly attenuate the dead time, certain dead time is reserved for the upper pipe and the lower pipe when each state is switched, so that the upper pipe and the lower pipe are prevented from being communicated.
While the preferred embodiments of the present invention have been illustrated and described, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (6)

1. The PWM current driving method adopting the dynamic mixed attenuation mode is characterized by being applied to a PWM current driving system, wherein the PWM current driving system comprises a micro-control unit, a digital-analog converter, an oscillator, a current comparator, a PWM logic control unit, an output preceding stage driving unit, a full-bridge circuit and a sensing resistor, the PWM logic control unit comprises a first AND gate, a second AND gate, a first trigger and a second trigger, and the method comprises the following steps:
the micro control unit sends a direction signal and a mode signal to the PWM logic control unit, sets a current subdivision mode and a charging current direction required by output, and sets an input voltage reference value of the digital-analog converter in a mode of resistor voltage division or an external power supply;
setting the period of a square wave signal by using the oscillator, and setting a charging current threshold value in the period of the square wave signal by using the digital conversion simulator, wherein the period of the square wave signal is used as an input signal of the first trigger;
the PWM logic control unit sets the output to be in a charging state, detects a feedback signal generated by the current output by the motor through the external sensing resistor, feeds the feedback signal back to the input end of the current comparator to be compared with the charging current threshold, and charges the motor to the charging current threshold if the comparison result shows that the current output by the motor is smaller than the charging current threshold, and the current comparator generates a charging end detection signal;
the second AND gate receives the charging end detection signal and the charging blanking time signal and generates a charging trigger signal;
if the rising edge of the charging trigger signal arrives, the second trigger generates a discharging start signal, controls the current passing through the motor to be quickly attenuated, and compares the amplitude of the feedback signal on the sensing resistor with a dynamic discharging current threshold until the current passing through the motor is quickly attenuated to the dynamic discharging current threshold;
the first AND gate receives a fast discharge blanking time signal and a dynamic attenuation detection signal, generates a fast attenuation end signal, outputs a state of changing from fast current attenuation to slow current attenuation, controls current passing through a motor to carry out slow attenuation, compares a feedback signal on the sensing resistor with a zero level, and generates a zero-crossing detection signal until the period of a square wave signal is ended if the level of the feedback signal is detected to be equal to the zero level; the four logic control signals generate driving signals of four power tubes in a full-bridge circuit through an output front-stage driving unit, and the four power tubes in the full-bridge circuit are controlled to be turned on and off to control the current peak value and the direction of an external motor coil;
in the current period of the square wave signal, setting a charging current threshold and a dynamic discharging current threshold according to the requirements of a user on the precision and the relative error of the motor current;
blanking time is set at the beginning of charging and current rapid attenuation, and the blanking time is greater than dead time of switching of an upper tube and a lower tube of a full bridge circuit and less than the period of a square wave signal;
in the next period of the square wave signal, if the set charging current threshold is smaller than the charging current threshold in the previous period of the square wave signal and the current passing through the motor at the beginning of the next period is larger than the charging current threshold, controlling the motor to charge only in blanking time, and then controlling the current passing through the motor to quickly attenuate;
the method comprises the steps that a filter is arranged at each switching point of quick attenuation of charging switching current and slow attenuation of current, wherein the filter carries out filtering and noise-proof processing on detection signals of the switching points, the detection signals of the quick attenuation of the charging switching current are generated after the current passing through a motor is compared with a charging current threshold, and the detection signals of the quick attenuation of the current and the slow attenuation of the current are generated after the current passing through the motor is compared with a dynamic discharging current threshold.
2. The PWM current driving method using dynamic hybrid decay mode according to claim 1, wherein the dynamic discharge current threshold is set to 90% to 99% of the charge current threshold.
3. The PWM current driving method using dynamic hybrid attenuation mode according to claim 1, wherein in a next period of the square wave signal, if the set charging current threshold is larger than the charging current threshold in a previous period of the square wave signal, the motor is charged to the set charging current threshold.
4. The PWM current driving method using dynamic hybrid decay mode according to claim 3, wherein if the charging time of the motor exceeds one period of the square wave signal, the charging time of the motor is extended to the next period of the square wave signal.
5. The PWM current driving method using dynamic hybrid decay mode according to claim 1, wherein if the time for the current to decay fast exceeds one period of the square wave signal, the time for the current to decay fast is extended to the next period of the square wave signal.
6. Adopt PWM current drive arrangement of dynamic mixed attenuation mode, its characterized in that is applied to PWM current drive system, PWM current drive system includes little the control unit, digital-to-analog converter, oscillator, current comparator, PWM logic control unit, output preceding stage drive unit, full-bridge circuit and sensing resistor, PWM logic control unit includes first AND gate, second AND gate, first trigger and second trigger, the device integration includes in the motor drive chip:
a memory for storing an application program; and
a processor for running the application to perform the steps of:
the micro control unit sends a direction signal and a mode signal to the PWM logic control unit, sets a current subdivision mode and a charging current direction required by output, and sets an input voltage reference value of the digital-analog converter in a mode of resistor voltage division or an external power supply;
setting the period of a square wave signal by using the oscillator, and setting a charging current threshold value in the period of the square wave signal by using the digital conversion simulator, wherein the period of the square wave signal is used as an input signal of the first trigger;
the PWM logic control unit sets the output to be in a charging state, detects a feedback signal generated by the current output by the motor through the external sensing resistor, feeds the feedback signal back to the input end of the current comparator to be compared with the charging current threshold, and charges the motor to the charging current threshold if the comparison result shows that the current output by the motor is smaller than the charging current threshold, and the current comparator generates a charging end detection signal;
the second AND gate receives the charging end detection signal and the charging blanking time signal and generates a charging trigger signal;
if the rising edge of the charging trigger signal arrives, the second trigger generates a discharging start signal, controls the current passing through the motor to be quickly attenuated, and compares the amplitude of the feedback signal on the sensing resistor with a dynamic discharging current threshold until the current passing through the motor is quickly attenuated to the dynamic discharging current threshold;
the first AND gate receives a fast discharge blanking time signal and a dynamic attenuation detection signal, generates a fast attenuation end signal, outputs a state of changing from fast current attenuation to slow current attenuation, controls current passing through a motor to carry out slow attenuation, compares a feedback signal on the sensing resistor with a zero level, and generates a zero-crossing detection signal until the period of a square wave signal is ended if the level of the feedback signal is detected to be equal to the zero level; the four logic control signals generate driving signals of four power tubes in a full-bridge circuit through an output front-stage driving unit, and the four power tubes in the full-bridge circuit are controlled to be turned on and off to control the current peak value and the direction of an external motor coil;
in the current period of the square wave signal, setting a charging current threshold and a dynamic discharging current threshold according to the requirements of a user on the precision and the relative error of the motor current;
blanking time is set at the beginning of charging and current rapid attenuation, and the blanking time is greater than dead time of switching of an upper tube and a lower tube of a full bridge circuit and less than the period of a square wave signal;
the method comprises the steps that a filter is arranged at each switching point of quick attenuation of charging switching current and slow attenuation of current, wherein the filter carries out filtering and noise-proof processing on detection signals of the switching points, the detection signals of the quick attenuation of the charging switching current are generated after the current passing through a motor is compared with a charging current threshold, and the detection signals of the quick attenuation of the current and the slow attenuation of the current are generated after the current passing through the motor is compared with a dynamic discharging current threshold.
CN201710929717.8A 2017-10-09 2017-10-09 PWM current driving method and device adopting dynamic mixed attenuation mode Active CN107834946B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710929717.8A CN107834946B (en) 2017-10-09 2017-10-09 PWM current driving method and device adopting dynamic mixed attenuation mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710929717.8A CN107834946B (en) 2017-10-09 2017-10-09 PWM current driving method and device adopting dynamic mixed attenuation mode

Publications (2)

Publication Number Publication Date
CN107834946A CN107834946A (en) 2018-03-23
CN107834946B true CN107834946B (en) 2021-10-15

Family

ID=61647617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710929717.8A Active CN107834946B (en) 2017-10-09 2017-10-09 PWM current driving method and device adopting dynamic mixed attenuation mode

Country Status (1)

Country Link
CN (1) CN107834946B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11894710B2 (en) * 2019-09-06 2024-02-06 Makita Corporation Battery pack, charging system, and method for controlling charging of battery pack

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110365245B (en) * 2018-03-26 2021-04-23 中车株洲电力机车研究所有限公司 SVPWM control method, system and device for eliminating dead zone effect
CN111983447B (en) * 2020-09-01 2023-05-23 深圳市英威腾电动汽车驱动技术有限公司 Motor controller and fault detection method and circuit of three-phase bridge arm inverter circuit of motor controller
CN112688609A (en) * 2020-12-31 2021-04-20 无锡思泰迪半导体有限公司 Self-adaptive attenuation control method
CN115955214B (en) * 2023-03-14 2023-07-18 成都明夷电子科技有限公司 Circuit and method for eliminating switching overshoot of attenuator

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2684461Y (en) * 2004-01-03 2005-03-09 深圳市雷赛机电技术开发有限公司 Subdivision two-phase stepping motor driver
CN103607151A (en) * 2013-12-03 2014-02-26 嘉兴中润微电子有限公司 Mixing attenuation control circuit in motor drive chip
CN103701376A (en) * 2013-11-25 2014-04-02 嘉兴中润微电子有限公司 Current attenuation mode control circuit of motor drive chip
CN105897089A (en) * 2016-06-13 2016-08-24 王良坤 Low-noise low-jitter control circuit in motor drive chip

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2684461Y (en) * 2004-01-03 2005-03-09 深圳市雷赛机电技术开发有限公司 Subdivision two-phase stepping motor driver
CN103701376A (en) * 2013-11-25 2014-04-02 嘉兴中润微电子有限公司 Current attenuation mode control circuit of motor drive chip
CN103607151A (en) * 2013-12-03 2014-02-26 嘉兴中润微电子有限公司 Mixing attenuation control circuit in motor drive chip
CN105897089A (en) * 2016-06-13 2016-08-24 王良坤 Low-noise low-jitter control circuit in motor drive chip

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11894710B2 (en) * 2019-09-06 2024-02-06 Makita Corporation Battery pack, charging system, and method for controlling charging of battery pack

Also Published As

Publication number Publication date
CN107834946A (en) 2018-03-23

Similar Documents

Publication Publication Date Title
CN107834946B (en) PWM current driving method and device adopting dynamic mixed attenuation mode
CN105356727B (en) Switching tube drive control method and control circuit for Switching Power Supply
CN100492861C (en) Method of forming a power supply control and device therefor
US8552695B2 (en) Dual mode flyback converter and method of operating it
CN103532350B (en) Control circuit with fast dynamic response for power converters
US8198880B2 (en) Constant on-time converter and the method of operation
CN203071817U (en) Switching power supply circuit
US8270184B2 (en) Isolated voltage converter with feedback on the primary winding and passive snubber network, and corresponding control method
CN1466808A (en) Interleaved power converters incorporating switch type control
US7218085B2 (en) Integrated ZVS synchronous buck DC-DC converter with adaptive control
US20120081084A1 (en) Controller with Valley Switching and Limited Maximum Frequency for Quasi-Resonant Power Converters
KR20080076831A (en) Switching regulator
JP2009118650A (en) Power converter
JP5772020B2 (en) Switching control device
CN101207333A (en) Switch power supply and control method with awaiting orders mode thereof
CN112134453A (en) Start control method and system, and peak voltage detection circuit and method
EP3301802B1 (en) Power supply control unit and isolation type switching power supply device
US8258824B2 (en) Heterodyne dual slope frequency generation method for the load change of power supply
JP5056405B2 (en) Switching device
CN106787702A (en) Switching Power Supply and its audio-frequency noise suppressing method
US20140292291A1 (en) Multiphase converting controller
CN108736792B (en) Matrix converter and method for determining constant of AC motor
CN111740599A (en) DC-DC buck converter and control method and control system thereof
CN113346719B (en) NMOS power tube floating gate voltage driving circuit in Buck converter
CN109586573A (en) A kind of active frequency control switch power-supply system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20190110

Address after: 518000 East A-37, Skirt Building, Nanshan Software Park, Nantou Street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen Coloring Technology Co., Ltd.

Address before: 518000 Youchuang Space Building 208-209, No. 1 Qunhui Road, Xin'an Street, Baoan District, Shenzhen City, Guangdong Province

Applicant before: Shenzhen Bardeen Microelectronics Co., Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210412

Address after: 518000 rooms 525-526, West, 5th floor, building 4, Shenzhen Software Park, No.2, second Gaoxin Road, Maling community, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen linneng Semiconductor Co.,Ltd.

Address before: 518000 East A-37, Skirt Building, Nanshan Software Park, Nantou Street, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: Shenzhen Coloring Technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant