CN211429224U - DC compensation circuit - Google Patents

DC compensation circuit Download PDF

Info

Publication number
CN211429224U
CN211429224U CN201922242680.9U CN201922242680U CN211429224U CN 211429224 U CN211429224 U CN 211429224U CN 201922242680 U CN201922242680 U CN 201922242680U CN 211429224 U CN211429224 U CN 211429224U
Authority
CN
China
Prior art keywords
direct current
unit
compensation
control unit
value
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
CN201922242680.9U
Other languages
Chinese (zh)
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.)
Suzhou Zhigan Electronic Technology Co ltd
Original Assignee
Suzhou Zhigan Electronic Technology 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 Suzhou Zhigan Electronic Technology Co ltd filed Critical Suzhou Zhigan Electronic Technology Co ltd
Priority to CN201922242680.9U priority Critical patent/CN211429224U/en
Application granted granted Critical
Publication of CN211429224U publication Critical patent/CN211429224U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Stepping Motors (AREA)

Abstract

The utility model provides a DC compensation circuit, which comprises an A/D converter for obtaining the driving signal of a stepping motor; the frequency spectrum analysis unit is connected with the A/D converter and used for carrying out frequency spectrum analysis on the driving signal to obtain a frequency spectrum analysis value so as to determine the current direct-current component amplitude value in the frequency spectrum analysis value; the micro-step control unit is provided with a direct current compensation unit and a sine table driving unit, wherein the input end of the direct current compensation unit is connected with the frequency spectrum analysis unit, the output end of the direct current compensation unit is connected with the sine table driving unit, and the direct current compensation unit is used for determining a target direct current compensation value based on the relation between the current direct current component amplitude and the direct current component front amplitude if the current direct current component amplitude is not an initial value, so as to compensate the phase amplitude stored in the sine table driving unit based on the target direct current compensation value. The utility model provides a motor because the phase place distortion leads to the problem that the motor card is dunked at commutation point department when the low-speed motion.

Description

DC compensation circuit
Technical Field
The utility model relates to a motor drive field especially relates to a direct current compensation circuit.
Background
The step motor is an open-loop control motor which converts an electric pulse signal into angular displacement or linear displacement, under the condition of non-overload, the rotating speed and the stopping position of the motor only depend on the frequency and the pulse number of the pulse signal and are not influenced by load change, when a step driver receives a pulse signal, the step driver drives the step motor to rotate by a fixed angle in a set direction, namely a step angle, the rotation of the step motor runs in one step at the fixed angle, and the angular displacement can be controlled by controlling the number of the pulses, so that the aim of accurate positioning is fulfilled; meanwhile, the rotating speed and the rotating acceleration of the motor can be controlled by controlling the pulse frequency so as to achieve the purpose of speed regulation.
The current at zero is generally non-linear, i.e., the current is discontinuous, resulting in uneven motor rotation. When current chopping is carried out, the ideal chopping current is higher than the actual current, so that the chopping current near the zero point is basically close to 0, and the current is attenuated too fast in the discharging process due to the fact that the winding inductance and resistance of the motor are too small, so that the current near the zero point is easier to be attenuated to zero, a nonlinear area is enlarged, and therefore, when the motor moves at a low speed, phase distortion at a phase change point is caused, and the motor is jammed.
In view of the above, there is a need for an improved motor driving scheme in the prior art to solve the above technical problems.
SUMMERY OF THE UTILITY MODEL
An object of the utility model is to provide a direct current compensating circuit to solve the motor and lead to the problem that the motor blocks because of phase distortion in commutation point department when the low-speed motion.
To achieve the above object, the present invention is implemented as follows:
the utility model provides a direct current compensation circuit, include:
the A/D converter is used for acquiring a driving signal of the stepping motor;
the frequency spectrum analysis unit is connected with the A/D converter and used for carrying out frequency spectrum analysis on the driving signal to obtain a frequency spectrum analysis value so as to determine the current direct-current component amplitude value in the frequency spectrum analysis value;
the micro-step control unit is provided with a direct current compensation unit and a sine table driving unit, wherein the input end of the direct current compensation unit is connected with the frequency spectrum analysis unit, the output end of the direct current compensation unit is connected with the sine table driving unit, and the direct current compensation unit is used for determining a target direct current compensation value based on the relation between the current direct current component amplitude and the front direct current component amplitude if the current direct current component amplitude is not an initial value so as to compensate the phase amplitude stored in the sine table driving unit based on the target direct current compensation value.
The utility model discloses beneficial effect does:
because the utility model discloses a direct current compensating circuit carries out spectral analysis through the drive signal of the step motor that the spectral analysis unit acquireed to the AD converter and obtains the spectral analysis value, with direct current component amplitude in the definite spectral analysis value, and under the condition that current direct current component amplitude is not initial value through the direct current compensating unit, confirm target direct current compensating value according to the relation between direct current component amplitude and the direct current component preceding amplitude at present, thereby compensate phase amplitude that stores in the sine table drive unit through target direct current compensating value. Therefore, when the motor moves at low speed, the problem of phase distortion at a commutation point can be prevented because the phase amplitude in the sine table is compensated, and the problem that the motor is jammed due to the phase distortion at the commutation point when the motor moves at low speed is solved.
Drawings
Fig. 1 is a schematic block diagram of a dc compensation circuit according to an embodiment of the present invention;
FIG. 2 is a schematic block diagram of the micro-step control unit of FIG. 1;
fig. 3 is a schematic diagram of a dc compensation circuit according to an embodiment of the present invention;
fig. 4 is a schematic waveform diagram of a sine wave output before the dc compensation circuit of the present invention is used;
fig. 5 is a schematic waveform diagram of a sine wave output after the dc compensation circuit of an embodiment of the present invention is employed;
fig. 6 is a schematic waveform diagram of the output of the pwm signal output unit via RC filtering according to an embodiment of the present invention;
fig. 7 is a schematic circuit diagram of a motor drive bridge of the present invention;
fig. 8 is a schematic connection structure diagram of the dc compensation circuit according to an embodiment of the present invention connected to the main control unit and the motor respectively;
fig. 9 is a schematic connection structure diagram of a dc compensation circuit connected to a motor according to another embodiment of the present invention.
Detailed Description
The present invention is described in detail with reference to the embodiments shown in the drawings, but it should be understood that these embodiments are not intended to limit the present invention, and those skilled in the art should understand that the functions, methods, or structural equivalents or substitutions made by these embodiments are within the scope of the present invention.
The technical solutions provided by the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic block diagram of a dc compensation circuit 100 according to an embodiment of the present invention, to solve the problem of motor seizure due to phase distortion at a commutation point when the motor is moving at a low speed. As described with reference to fig. 1 and 2, the dc compensation circuit 100 includes: an a/D converter 30 for acquiring a drive signal of the stepping motor; the spectrum analysis unit 50 is connected with the a/D converter 30 and is used for performing spectrum analysis on the driving signal to obtain a spectrum analysis value so as to determine the current direct-current component amplitude in the spectrum analysis value; a micro-step control unit 20 having a dc compensation unit 205 and a sine table driving unit 202, wherein an input end of the dc compensation unit 205 is connected to the spectrum analysis unit 50, an output end of the dc compensation unit 205 is connected to the sine table driving unit 202, and the dc compensation unit 205 is configured to determine a target dc compensation value based on a relationship between a current dc component amplitude and a previous dc component amplitude if the current dc component amplitude is not an initial value, so as to compensate a phase amplitude stored in the sine table driving unit based on the target dc compensation value.
It should be noted that, the driving signal of the motor is the driving signal by the actual current or voltage to the motor,the current driving signal and the voltage driving signal can be obtained by mutual conversion through a certain conversion relation (the embodiment of the present invention provides a driving signal mainly refers to the current driving signal) to acquire the signal. Specifically, a voltage signal of a detection resistor in an H-bridge circuit is collected and analyzed (generally, a sine wave integer wave is specified to collect N points, the collected signal is stored in an annular cache with the size of N, when the number of the collection points exceeds N, a spectrum analysis result is inquired, the analysis result is N complex numbers, the zero point is a current direct current component, and the amplitude value is calculated to be | z0The corresponding amplitude of the first point is the current motion frequency amplitude | z1After a point of the amplitude of the multiplied frequency component | zn-1|,2<n<N, and N is an integer) to be equivalent to analyzing the actual current drive signal. That is, the analog voltage signal obtained after sampling is converted into a digital signal by the a/D converter 30, and the quantized digital signal is subjected to spectrum analysis by the spectrum analysis unit 50 to obtain a spectrum analysis value. The frequency spectrum analysis value comprises a current direct current component amplitude, a current motion frequency amplitude and a frequency multiplication component amplitude, the function of direct current compensation is realized by extracting the current direct current component amplitude in the frequency spectrum analysis value, and the function of self-adaptive subdivision adjustment is realized by extracting the current motion frequency amplitude and the frequency multiplication component amplitude in the frequency spectrum analysis value.
The H-bridge circuit is well known in the art or common general knowledge, and will not be described in detail herein.
It should be noted that the dc component front amplitude refers to a dc component amplitude obtained by performing spectrum analysis on N points of a last round of sinusoidal wave according to the collected sinusoidal wave, and a target dc compensation value is determined according to a comparison relationship between the current dc component amplitude and the dc component front amplitude, so that the phase amplitude stored in the sine table is compensated by the target dc compensation value.
The embodiment of the utility model provides a "compensate phase amplitude who stores in the sine table" does not change the sine table, but draws out the phase amplitude who stores in the sine table from the sine table rather than being equivalent to, and compensate the phase amplitude who draws (the phase amplitude who stores in the sine table is fixed unchangeable promptly) with phase amplitude who follows the compensation output pulse width modulation signal duty cycle in follow-up step.
Because the utility model discloses a DC compensation circuit 100 carries out spectral analysis through the drive signal of the step motor that spectral analysis unit 50 obtained AD converter 30 and obtains the spectral analysis value, with direct current component amplitude in the definite spectral analysis value, and under the condition that current direct current component amplitude is not initial value through DC compensation unit 205, confirm target direct current compensation value according to the relation between current direct current component amplitude and the preceding amplitude of direct current component, thereby compensate phase amplitude that stores in sine table drive unit 202 through target direct current compensation value. Therefore, when the motor moves at low speed, the problem of phase distortion at a commutation point can be prevented because the phase amplitude in the sine table is compensated, and the problem that the motor is jammed due to the phase distortion at the commutation point when the motor moves at low speed is solved.
In the above embodiment, the dc compensation unit 205 is configured to: if the current direct current component amplitude is smaller than the direct current component front amplitude, compensating the preset compensation value for the preset offset in the first target compensation direction to obtain a target direct current compensation value; and if the current direct current component amplitude is larger than the direct current component front amplitude, compensating the preset compensation value by the preset offset in a compensation direction opposite to the first target compensation direction to obtain a target direct current compensation value.
It should be noted that the first target compensation direction refers to the same direction as the previous compensation direction, where the previous compensation direction refers to the direction when the dc component amplitude is compensated by the preset offset in the previous round. The embodiment of the utility model provides a and the following "compensation direction" that relates all indicate to predetermine the offset and add (or subtract) the operation direction, then the compensation direction opposite with target compensation direction indicates to predetermine the offset and carry out the operation direction of subtracting (or adding), then "compensation" will be equivalent to predetermine the offset and add or subtract operation.
In the above further embodiment, the dc compensation unit 205 is further configured to: and if the current direct current component amplitude is an initial value, compensating the preset compensation value amplitude by the preset offset in the second target compensation direction to obtain a target direct current compensation value.
It should be understood that when the dc compensation circuit 100 starts to detect the dc component of the driving signal, the preset compensation value is first compensated for the preset offset according to the second target compensation direction. If the amplitude of the direct current component detected again after compensation is smaller than the amplitude of the direct current component before, the direction of compensating the preset offset is correct, so that the preset offset can be continuously compensated according to the previous compensation direction (namely the second target compensation direction); otherwise, the compensation direction (i.e. the compensation direction opposite to the second target compensation direction) is changed to compensate the currently detected dc component amplitude and the preset offset.
Wherein, the second target compensation direction refers to the specific direction that compensates at the beginning of detecting the direct current component of drive signal, can carry out the operation direction that adds for predetermineeing the offset and predetermineeing the offset, also can be for predetermineeing the offset and predetermine the offset and carry out the operation direction of subtracting, generally speaking, can define the second target compensation direction as predetermineeing the offset and carry out the operation direction that adds, of course, specifically can set up according to actual demand, is not limited to the utility model discloses the scope of injecing.
In any of the above embodiments, the dc compensation unit 205 is configured to: and determining whether the current direct current component amplitude is smaller than a preset value or not so as to determine whether the current direct current component amplitude is an initial value or not when the current direct current component amplitude is larger than the preset value, and determining a target direct current compensation value based on the relation between the current direct current component amplitude and the direct current component front amplitude when the current direct current component amplitude is not the initial value.
Referring to fig. 3, if the current dc component amplitude is smaller than the dc component previous amplitude and the current dc component amplitude is still larger than the preset value, the preset compensation value is continued to obtain the target dc compensation value according to the previous compensation direction. Otherwise, if the current dc component amplitude is greater than the previous dc component amplitude, the target dc compensation value is obtained in a direction opposite to the previous compensation direction. Thus, the obtained target dc compensation value is compensated for the phase amplitude stored in the sine table according to the compensation method, so that the dc component amplitude obtained by performing spectrum analysis on N points of the acquired sine wave whole wave in the next round is smaller than a preset value (even approaches to 0), so that the dc component oscillates near zero in the final stable state, as shown in fig. 3.
In this way, the compensation of the dc component amplitude by the dc compensation unit 205 can make the current at the zero point approximately linear, i.e. smooth (or continuous), so as to smooth the sine wave at the zero point, in case the motor is jammed at the commutation point due to phase distortion when the motor moves at a low speed. Referring to fig. 4, before the dc compensation circuit 100 according to the embodiment of the present invention compensates the phase amplitude stored in the sine table driving unit 202, the sine wave may have a nonlinear distortion (i.e. under compensation) at the zero point, and after the dc compensation circuit 100 according to the embodiment of the present invention compensates the phase amplitude stored in the sine table driving unit 202, as shown in fig. 5, the output sine wave is smoother at the zero point, thereby solving the problem that the motor is stuck due to the phase distortion at the commutation point when the motor moves at a low speed.
The embodiment of the utility model provides an in predetermine the offset and can set up according to concrete actual operation requirement (or operating condition), as long as can reach the purpose of compensating to direct current component amplitude, do not specifically explain in detail and explain here. The preset compensation value is generally small, so that the amplitude of the finally extracted direct current component can approach zero through the repeated and cyclic compensation process. If the preset offset (or the compensation intensity) is larger, the amplitude of each compensation is larger, so that the compensation process can be converged quickly, but the larger the preset offset is, the larger the oscillation amplitude of the direct current component near the equilibrium point is easily caused. Therefore, the preset offset can be set according to specific actual working conditions.
In any of the above embodiments, by introducing a direct CURRENT compensation mechanism (direct CURRENT compensation unit 205), CURRENT _ DC _ BIAS (compensation value for automatic compensation mode) or INIT _ DC _ BIAS (compensation value for manual compensation mode) register value is added after the phase amplitude value in the sine table driving unit 202 is taken, so as to implement compensation of the phase amplitude value in the sine table driving unit 202. The compensation value can be positive or negative, and the sum of the phase amplitude value in the sine table and the compensation value is a negative number, and then the sum is 0. Different motors, even the same motor moving at different speeds, need to add different dc offsets. In order to strengthen the adaptability of module to motor selection and different motion states, through the utility model discloses direct current compensation circuit realizes self-adaptation's direct current compensation.
The dc compensation circuit 100 further includes: and a pulse width modulation signal output unit 40 for outputting a pulse width modulation signal duty ratio based on the compensated sine table, to determine a rotation angle of the stepping motor based on the pulse width modulation signal duty ratio and to control the rotation of the stepping motor based on the rotation angle.
It should be understood that the rotation angle of the motor is controlled by controlling the number of pulses, and the rotation angle of the motor is consistent with a given PWM signal duty ratio, and each duty ratio value corresponds to one rotation angle, so that the rotation angle of the motor can be controlled by adjusting the duty ratio of the pulse width modulation signal. The duty ratio of the pulse width modulation signal is determined based on the phase amplitude output in the sine table, and after the phase amplitude output by the sine table is compensated, the compensated phase amplitude is determined as the PWM duty ratio, so that the rotation angle of the motor is determined according to the determined duty ratio, and the motor is controlled to move at the rotation angle.
The micro-step control unit 20 further includes: the input end of the pulse width modulation setting unit 204 is connected with the sine table driving unit 202, the output end of the pulse width modulation setting unit 204 is connected with the pulse width modulation signal output unit 40, and the pulse width modulation setting unit 204 is used for responding to the input of a user to determine the maximum duty ratio of the pulse width modulation signal, so that the duty ratio of the pulse signal output by the pulse width modulation signal output unit does not exceed the maximum duty ratio. It is easy to find that the general system drives the sine table in the sine table driving unit to advance or retreat by one phase according to the acquired motion parameter of the motor according to time, so as to change the primary PWM duty ratio and output the pulse width modulation output signal duty ratio through the pulse width modulation signal output unit 40. Since the changed amplitude is valued according to a sine wave, a complete sine wave can be output after continuous value taking, as shown in fig. 6, a half sine wave represents a signal filtered by an RC filter, and a rectangular wave represents a phase level value.
In any of the above embodiments, the dc compensation circuit 100 includes a logic control unit 10, which is respectively connected to the micro-step control unit 20, the a/D converter 30, and the spectrum analysis unit 50, and the logic control unit 10 is configured to respectively send clock signals to the micro-step control unit 20, the a/D converter 30, and the spectrum analysis unit 50, so as to drive the micro-step control unit 20, the a/D converter 30, and the spectrum analysis unit 50 to operate based on the clock signals. The dc compensation circuit 100 further includes a frequency doubling unit 60, an input end of the frequency doubling unit 60 is connected to the logic control unit 10, an output end of the frequency doubling unit 60 is connected to the micro-step control unit 20, the a/D converter 30, and the spectrum analysis unit 50, respectively, and the frequency doubling unit 60 is configured to perform a frequency doubling operation on the clock signal output by the logic control unit 10, and send the frequency-doubled clock signal to the micro-step control unit 20, the a/D converter 30, and the spectrum analysis unit 50, respectively. The dc compensation circuit 100 may further include a motion controller 201 for calculating a current motion speed of the motor to determine the movement of the sine table driving unit 202 when the motion controller 201 receives a motion command initiated by the logic control unit 10.
In the first aspect, the logic control unit 10 provides a hardware SPI bus operation interface to the main control unit 200, and thus, the CS signal sent by the main control unit 200 accesses the register in the micro-step control unit 20 through the logic control unit 10; in the second aspect, the logic control unit 10 sends the clock signal provided by the main control unit 200 (which may be via the frequency multiplication unit 60) to the micro-step control unit 20, the a/D converter 30, and the spectrum analysis unit 50, where the highest frequency of the clock signal may be up to 400MHZ, and a rising edge of each clock signal performs one operation along the micro-step control unit 20, the a/D converter 30, and the spectrum analysis unit 50, which is equivalent to a heartbeat of the micro-step control unit 20, the a/D converter 30, and the spectrum analysis unit 50. In a third aspect, the logic control unit 10 receives the VD, PLS, SCK, SDATA synchronization signals output by the main control unit 200 to control the operations of the micro-step control unit 20, the a/D converter 30, the spectrum analysis unit 50, and the like.
It should be understood that after the main control unit 200 sends out the synchronization signal, the motor motion parameters are written into the micro-step control unit 20 through the SPI bus, and the VD control line is pulled up, the main control unit 200 sends out a start motion instruction to the micro-step control unit 20 through the logic control unit 10 in response to the VD delay time input by the user, and the micro-step control unit 20 performs a single new motion based on the parameters stored in its register. The main control unit 200 monitors the motion state of the micro-step control unit 20 through the logic control unit 10, and pulls up the PLS signal when the driving motor moves and pulls down the PLS signal when the driving motor stops moving, so that the main control unit 200 can obtain whether the motor is currently in motion through the PLS signal.
As described with reference to fig. 1 and 7, the output signals VREFnA1 and VREFnA2 of the pulse width modulation signal output unit 40 serve as the input signals VREFnA of the motor drive bridge 700, and the output signals PHASE1a1 and PHASE1a2 of the pulse width modulation signal output unit 40 serve as the input signals PHASE1 and PHASE 2 of the H-bridge circuit in the motor drive bridge 900, respectively. The motor drive signal VSENSE1 (or VSENSEn) obtained by the a/D converter 30 is obtained by connecting the detection resistor R of the H-bridge circuit to the a/D converter 30.
It should be noted that, in the embodiment of fig. 1, the main control unit 200 and the dc compensation circuit 100 are two units independent from each other for performing mutual communication. As shown in fig. 8, the dc compensation circuit 100 may be used as a controlled end to receive the motion parameter of the motor sent by the main control unit 200, and used as a control end of the motor 300 to collect a driving signal of the motor, so as to implement compensation of the phase amplitude stored in the sine table based on the driving signal, and at the same time, the dc compensation circuit 100 feeds back the motion state of the motor 300 to the main control unit 200.
In another embodiment, as shown in fig. 9, the main control unit 200 may be used to communicate as a part of the dc compensation circuit 100, in this case, the dc compensation circuit 100 may further include the main control unit 200 connected to the logic control unit 10 and configured to provide a clock signal to the logic control unit 10, so as to send the clock signal to the microstep control unit 20, the a/D converter 30, and the spectrum analysis unit 50 through the logic control unit 10, respectively, so as to drive the microstep control unit 20, the a/D converter 30, and the spectrum analysis unit 50 to operate based on the clock signal.
Of course, the dc compensation circuit 100 may also be a part of the main control unit 200, as long as the compensation of the phase amplitude stored in the sine table can be achieved, which is not limited to the protection scope defined by the embodiment of the present invention. The principle of the dc compensation circuit according to any of the above embodiments can be referred to, and will not be described in detail herein.
The dc compensation circuit 100 and the main control unit 200 according to any of the above embodiments may be, but not limited to, a physical machine, a virtual machine, a cloud host, or a mobile computing device.
The above list of details is only for the practical implementation of the present invention, and they are not intended to limit the scope of the present invention, and all equivalent implementations or modifications that do not depart from the technical spirit of the present invention should be included in the scope of the present invention.
It is obvious to a person skilled in the art that the invention is not restricted to details of the above-described exemplary embodiments, but that it can be implemented in other specific forms without departing from the spirit or essential characteristics of the invention. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be combined as appropriate to form other embodiments understood by those skilled in the art.

Claims (9)

1. A dc compensation circuit, comprising:
the A/D converter is used for acquiring a driving signal of the stepping motor;
the frequency spectrum analysis unit is connected with the A/D converter and used for carrying out frequency spectrum analysis on the driving signal to obtain a frequency spectrum analysis value so as to determine the current direct-current component amplitude value in the frequency spectrum analysis value;
the micro-step control unit is provided with a direct current compensation unit and a sine table driving unit, wherein the input end of the direct current compensation unit is connected with the frequency spectrum analysis unit, the output end of the direct current compensation unit is connected with the sine table driving unit, and the direct current compensation unit is used for determining a target direct current compensation value based on the relation between the current direct current component amplitude and the front direct current component amplitude when the current direct current component amplitude is not an initial value so as to compensate the phase amplitude stored in the sine table driving unit based on the target direct current compensation value.
2. The dc compensation circuit of claim 1, wherein the dc compensation unit is further configured to:
if the current direct current component amplitude is smaller than the direct current component front amplitude, compensating a preset compensation value by a preset offset in a first target compensation direction to obtain a target direct current compensation value;
and if the current direct current component amplitude is larger than the direct current component front amplitude, compensating the preset compensation value by a preset offset in a compensation direction opposite to the first target compensation direction to obtain the target direct current compensation value.
3. The dc compensation circuit of claim 1, wherein the dc compensation unit is further configured to:
and if the current direct current component amplitude is an initial value, compensating a preset compensation value for a preset offset in a second target compensation direction to obtain the target direct current compensation value.
4. The dc compensation circuit of claim 1, wherein the dc compensation unit is configured to:
determining whether the current direct current component amplitude is smaller than a preset value or not, determining whether the current direct current component amplitude is an initial value or not when the current direct current component amplitude is larger than the preset value, and determining a target direct current compensation value based on the relation between the current direct current component amplitude and the direct current component front amplitude when the current direct current component amplitude is not the initial value.
5. The dc compensation circuit of claim 1, further comprising:
and the pulse width modulation signal output unit is used for outputting a pulse width modulation signal duty ratio based on the compensated sine table, determining the rotation angle of the stepping motor based on the pulse width modulation signal duty ratio and controlling the stepping motor to rotate based on the rotation angle.
6. The DC compensation circuit of claim 5, wherein the micro-step control unit further comprises:
the pulse width modulation setting unit is used for responding to the input of a user to determine the maximum duty ratio of a pulse width modulation signal so that the duty ratio of the pulse signal output by the pulse width modulation signal output unit does not exceed the maximum duty ratio.
7. The DC compensation circuit of claim 1, further comprising a logic control unit respectively connected to the micro-step control unit, the A/D converter, and the spectrum analysis unit, wherein the logic control unit is configured to send clock signals to the micro-step control unit, the A/D converter, and the spectrum analysis unit, respectively, so as to drive the micro-step control unit, the A/D converter, and the spectrum analysis unit to operate based on the clock signals.
8. The DC compensation circuit according to claim 7, further comprising a frequency doubling unit, wherein an input end of the frequency doubling unit is connected to the logic control unit, an output end of the frequency doubling unit is connected to the micro-step control unit, the A/D converter, and the spectrum analysis unit, respectively, and the frequency doubling unit is configured to perform a frequency doubling operation on the clock signal output by the logic control unit, and send the frequency-doubled clock signal to the micro-step control unit, the A/D converter, and the spectrum analysis unit, respectively.
9. The DC compensation circuit of claim 7, further comprising a main control unit connected to the logic control unit and configured to provide a clock signal to the logic control unit, so that the logic control unit sends the clock signal to the microstep control unit, the A/D converter, and the spectrum analysis unit, respectively, to drive the microstep control unit, the A/D converter, and the spectrum analysis unit to operate based on the clock signal.
CN201922242680.9U 2019-12-13 2019-12-13 DC compensation circuit Active CN211429224U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201922242680.9U CN211429224U (en) 2019-12-13 2019-12-13 DC compensation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201922242680.9U CN211429224U (en) 2019-12-13 2019-12-13 DC compensation circuit

Publications (1)

Publication Number Publication Date
CN211429224U true CN211429224U (en) 2020-09-04

Family

ID=72275814

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201922242680.9U Active CN211429224U (en) 2019-12-13 2019-12-13 DC compensation circuit

Country Status (1)

Country Link
CN (1) CN211429224U (en)

Similar Documents

Publication Publication Date Title
CN102957366B (en) Permanent magnet synchronous motor control method and device and air conditioning equipment
AU2019397879B2 (en) PWM generation circuit, processing circuit and chip
Bartolini et al. Robust speed and torque estimation in electrical drives by second-order sliding modes
CN106849808B (en) New method for sensorless control technique of PMSM and method with LC filter
JP2003111472A (en) Switching method for ground referenced voltage controlled electric machine
CN103516283A (en) Methods, systems and apparatus for estimating angular position and/or angular velocity of a rotor of an electric machine
US9425725B2 (en) Position estimation system and method for an electric motor
CN101232266A (en) Apparatus and method for controlling direct current brushless motor
CN101917159A (en) System and method for controlling running speed and displacement of linear motor
CN103856132A (en) Control system of alternating current servo permanent magnet synchronous motor
CN110609230A (en) Power level simulation driving system and method of permanent magnet synchronous motor
CN111030526B (en) Motor driving method and system
CN109039199A (en) One kind being used for EPS controller bus current evaluation method and system
CN211429224U (en) DC compensation circuit
CN109586625B (en) Driving method and device of brushless direct current motor
CN103986392B (en) A kind of control method of low-speed direct driving type AC servo
JP2019083672A (en) Inverter, and drive control method for motor
CN110829920A (en) Modulation device and system
KR20140017764A (en) Method and apparatus for obtaining maximum possible magnetic flux in permanant magnet synchronous motor
US10890895B2 (en) Position or velocity control system and method
US9762166B2 (en) Method for field-oriented control of a frequency converter for a three-phase motor
US6952089B2 (en) Motor drive with voltage-accurate inverter
CN104038114A (en) Sine-wave voltage driving system of single-winding brushless direct current motor and control method thereof
CN111010060B (en) DC compensation method and circuit for stepping motor
CN106559013B (en) Brushless DC motor control system current sample method

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant