CN101729009B - Control system of direct current motor - Google Patents
Control system of direct current motor Download PDFInfo
- Publication number
- CN101729009B CN101729009B CN2008102167992A CN200810216799A CN101729009B CN 101729009 B CN101729009 B CN 101729009B CN 2008102167992 A CN2008102167992 A CN 2008102167992A CN 200810216799 A CN200810216799 A CN 200810216799A CN 101729009 B CN101729009 B CN 101729009B
- Authority
- CN
- China
- Prior art keywords
- motor
- signal
- circuit
- control unit
- motor control
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 claims abstract description 25
- 238000001514 detection method Methods 0.000 claims description 18
- 230000008569 process Effects 0.000 claims description 13
- 230000000087 stabilizing effect Effects 0.000 claims description 7
- 239000003990 capacitor Substances 0.000 claims description 6
- 230000005611 electricity Effects 0.000 claims description 3
- 230000011664 signaling Effects 0.000 claims description 3
- 238000013461 design Methods 0.000 abstract description 13
- 230000001276 controlling effect Effects 0.000 abstract description 6
- 230000001105 regulatory effect Effects 0.000 abstract description 4
- 230000008859 change Effects 0.000 abstract description 2
- 230000007547 defect Effects 0.000 abstract 1
- 230000006870 function Effects 0.000 description 24
- 238000010586 diagram Methods 0.000 description 19
- 230000006854 communication Effects 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 230000007246 mechanism Effects 0.000 description 6
- 230000006378 damage Effects 0.000 description 5
- 230000010354 integration Effects 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 238000004146 energy storage Methods 0.000 description 4
- 230000006872 improvement Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000003321 amplification Effects 0.000 description 3
- 230000000052 comparative effect Effects 0.000 description 3
- 238000001914 filtration Methods 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 238000003199 nucleic acid amplification method Methods 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 230000003068 static effect Effects 0.000 description 3
- 238000007726 management method Methods 0.000 description 2
- 230000009711 regulatory function Effects 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 210000001367 artery Anatomy 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000009514 concussion Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 230000001066 destructive effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000013021 overheating Methods 0.000 description 1
- 238000010248 power generation Methods 0.000 description 1
- 238000004886 process control Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 210000003462 vein Anatomy 0.000 description 1
Images
Landscapes
- Control Of Motors That Do Not Use Commutators (AREA)
Abstract
The invention discloses a control system of a direct current motor for an electric actuator, which comprises an electric machine control unit, a driving circuit and a three-phase brushless direct current motor connected sequentially, wherein the driving circuit is provided with three groups of phase changing circuits which are respectively connected with three phase lines (U, V and W) of the direct current motor. According to the position information of a rotor, the current output of the driving circuit is controlled for phase change. Six paths (UH, UL, VH, VL, WH and WL) of pulse-width modulation signals output by the motor control unit 1 are respectively used for controlling the conduction and disconnection of six upper and lower half-bridge switching tubes of the driving circuit. The system overcomes the defect of poor starting characteristics of an alternating current motor and is convenient for the miniaturized design of the electric actuator. By dynamically regulating the duty ratio of the pulse-width modulation signal, the stable speed control function of the motor is realized. By a method of superposing different pulse-width modulation signals at the upper half bridge and the lower half bridge, the direct current motor is controlled to keep operation at stable speed in states of different external loads.
Description
Technical field
The present invention relates to the automatic control technology field, especially relate to the electric actuator of industrial process control.
Background technology
Along with the development of social scientific and technological level, industrial process intelligent control level improves constantly.Simultaneously, as the requirement that improves the industrial processes productivity effect, intelligent control also progressively becomes main assurance means.And the realization of intelligent control not only needs to possess the operating platform of integrated control, also needs the intellectuality of each PCU simultaneously.And electric actuator is upgraded the particular importance that seems as main process control actuator to its intellectuality.
The AC Motor Control system is all adopted in traditional electric actuator field basically.For alternating current machine, there are following shortcomings and deficiencies in it, upgrades for the intellectuality of electric actuator and has brought many difficulties:
A. because adopting alternating current machine, starting characteristic is not good;
B. speed is regulated complexity, and cost is high, generally all is to move by fixed rotating speed;
C. the motor overload protection needs to finish by Machine Design, increases mechanism complexity, and some small-size electric actuators often can cause burn-down of electric motor because Machine guarding is not installed;
D. the alternating current machine size is bigger than normal, is unfavorable for Miniaturization Design;
E. the torque protection point can only arrange one, can't carry out online configuration, is unfavorable for that electric actuator and different loads are used.
Summary of the invention
The technical problem to be solved in the present invention is, the DC MOTOR CONTROL technology is introduced the electric actuator field, solves the number of drawbacks such as the conventional electric actuator adopts the staring torque of alternating current machine not enough, speed control difficulty.
The present invention solve the technical problem the technical scheme that adopts to be: DC motor control system, comprise the motor control unit, drive circuit and the actuating motor that are linked in sequence, and described actuating motor is three-phase brushless dc motor.Drive circuit is provided with three groups of commutation circuits, and its 3 outputs are connected with three phase lines (U, V, W) of direct current machine respectively.Direct current machine is provided with detecting apparatus for rotor position, 3 positional informations (H1, H2, H3) of the reflection rotor of its output access respectively motor control unit, motor control unit is controlled the commutation of drive circuit electric current output according to the positional information of rotor.Described commutation circuit is provided with upper half-bridge switch pipe and lower half-bridge switch pipe in parallel, 6 tunnel (UH, UL, VH, VL, WH, WL) pulse-width signal of described motor control unit 1 output is respectively applied to control conducting and the disconnection of 6 upper and lower half-bridge switch pipes of drive circuit.
Compared with prior art, for the characteristic of electric actuator, adopt the three-phase DC motor control system, overcome in the prior art because the not good defective of alternating current machine starting characteristic; The volume of three-phase brushless dc motor is little, is convenient to the Miniaturization Design of electric actuator.
A kind of improvement of the present invention is, system has increased the speed detection unit that is connected with position detecting device, it is according to the interval of the position signalling of rotor, calculate the rotating speed of brshless DC motor, Input Control Element, by the duty ratio of dynamic adjustments pulse-width signal, realize the speed stabilizing control function of three-phase brushless dc motor rotating speed.
When load pulling motor, specifying under the running speed, described motor control unit is within the cycle of pulse-width signal, the superposed signal of half-bridge switch pipe and the conducting of lower half-bridge switch pipe difference on the homophase of output control drive circuit is for the running speed of stable DC motor.Described superposed signal is provided with " dead band " that prevents simultaneously conducting of half-bridge switch pipe and lower half-bridge switch pipe on the homophase.
By the method at the upper and lower half-bridge stack of motor-driven bridge distinct pulse widths modulation signal, the control direct current machine keeps stabilized speed work under different external loading states.
The another kind of improvement of the present invention is, system has increased the electric current setting unit that connects drive circuit, be used for gathering the operating current of direct current machine, be converted to voltage signal, a signal voltage that dynamically arranges with the user relatively after, the control end of access motor control unit, the operating current of restriction drive circuit is for the max. output torque that direct current machine is set.
Dynamically adjust max. output torque, the overload protection point can arrange a plurality of, supports the use with the different loads of electric actuator.
Of the present invention also have a kind of improvement to be, system has increased the power down holding unit of judging power failure, notify motor control unit after detecting power-down conditions, control drive circuit and direct current machine enter generating, braking flow process, utilize motor oppositely the control unit work of energy power supply machine and the braking motor of generating.
By the detection power supply, and the method for utilizing actuator inertia to generate electricity, can remain on normally current position state when being controlled at device looses power.The electronics mode realizes that power down keeps function, can simplify the associated mechanisms of actuator.
By using these technology, so that introduce brshless DC motor control in electric actuator, the performance that seems is more superior.
Description of drawings
Description of drawings of the present invention is as follows:
Fig. 1 is the logic block-diagram of DC motor control system of the present invention;
Fig. 2 is DC motor control system of the present invention, the logic block-diagram of motor control unit 1;
Fig. 3 is DC motor control system of the present invention, the pin circuitry figure of single-chip microcomputer;
Fig. 4 is DC motor control system of the present invention, the circuit theory diagrams of drive circuit 2;
Fig. 5 is DC motor control system of the present invention, the circuit theory diagrams of electric current setting unit 4;
Fig. 6 is DC motor control system of the present invention, the principle sketch of power-down retaining circuit;
Fig. 7 is DC motor control system of the present invention, the logic block-diagram of power circuit;
Fig. 8 is DC motor control system of the present invention, the 48-15VDC power circuit diagram;
Fig. 9 is DC motor control system of the present invention, the 15-5VDC power circuit diagram;
Figure 10 is DC motor control system of the present invention, indicator light circuit;
Figure 11 is DC motor control system of the present invention, the logic block-diagram of function treatment circuit;
Figure 12 is DC motor control system of the present invention, the PWM control flow chart in the closed-loop control;
Figure 13 is DC motor control system of the present invention, the ratio in the closed-loop control and integral algorithm flow chart;
Figure 14 is DC motor control system of the present invention, the simplification circuit of drive circuit 2;
Figure 15 is DC motor control system of the present invention, the state of a control table of three-phase brushless dc motor;
Figure 16 is DC motor control system of the present invention, three-phase brushless dc motor control sequential schematic diagram;
Figure 17 is DC motor control system of the present invention, Electric Machine Control sequential partial enlarged drawing;
Figure 18 is DC motor control system of the present invention, and the schematic diagram of motor maximum operating currenbt is set;
Figure 19 is DC motor control system of the present invention, power down retentive control flow chart.
Embodiment
Further specify embodiments of the invention below in conjunction with accompanying drawing.
The logic block-diagram of DC motor control system of the present invention as shown in Figure 1, comprises the motor control unit 1, drive circuit 2 and the actuating motor 3 that are linked in sequence.Actuating motor 3 is provided with position detecting device 6, link position checkout gear 6 speed detection unit 7 arranged, all with signal feedback to control unit 1.The electric current setting unit 4 that connects drive circuit 2, two-way connection motor control unit 1.With the motor control unit 1 two-way in addition power down holding unit 8 that is connected.System also comprises and the motor control unit 1 two-way communication interface unit that is connected 9, and the condition indication circuit 10 of unidirectional connection.
As shown in Figure 2, motor control unit 1 comprises time-delay administrative unit 1A, the pulse-width signal generating unit 1B for generation of motor control signal, the pulse-width modulation administrative unit 1C that is linked in sequence, the channel management unit 1D that is used for the motor control signal channel management, its major function is according to position detecting device 6, speed detection unit 7, control selects to export to the pulse-width signal of drive circuit 2.The inside of pulse-width modulation administrative unit 1C includes the comparison circuit, control switch K and the mode selector that are linked in sequence.
Embodiments of the invention are selected the ST7MC single-chip microcomputer, realize motor control unit 1 function.And partial function module and part peripheral circuit thereof by ST7MC single-chip microcomputer inside, realize the function of correlation unit.Single-chip microcomputer is the core of this control system among the embodiment, and single-chip microcomputer receives user profile, and rotor-position, operating current detection to motor realize the control to direct current machine.Speed stabilizing control technology, moment of torsion arrange function and power-down protection, all are the information that single-chip microcomputer utilizes the motor operating mode, finish by self computing.
The pin circuitry of ST7MC single-chip microcomputer as shown in Figure 3.
The the 3rd, 2,1,44,43, No. 42 pin of single-chip microcomputer, the control signal of output driving circuit 2, respectively called after UH, UL, VH, VL, WH, WL.First letter represents phase, divides U here, V, W three-phase.Rear this signal of letter representation is the upper half-bridge (H) of this phase of control, or lower half-bridge (L).The signal of exporting is one group of signal with upper and lower half-bridge pulse-width modulation (PWM) signal superposing control, is used for the switching of the switching tube of control drive circuit 2.
5th, No. 6 pins connect clock circuit; 7th, 26, No. 25 pin ground connection.
8th, 27, No. 24 pins connect the 5V DC power supply, and by capacitor C 302 and C301 with contingent pulse ground connection, prevent that arteries and veins from gushing voltage single-chip microcomputer is caused damage.
No. 9 pin called after M_TEMP connects the motor temperature transducer, is used for measuring motor temperature; No. 31 pin called after E_TEMP is used for measures ambient temperature, and these two ports have mould/number conversion (ADC) function.
No. 10 pin called after Vbus is for the operating voltage of measuring motor; No. 23 pin called after Current is used for measuring the operating current of working as front motor; No. 32 pin called after Vin is used for measuring the power supply input voltage, is ADC function port.
12nd, 13, No. 14 pins, the position signalling for measuring rotor generally need to connect and draw resistance, and its signal code name is respectively H1, H2, H3.
19th, 20,21, No. 22 pins are configured to amplifier and comparator function module in application, for detection of with the operating current that motor is set.
No. 18 pin called after Direction is used for two LED light of indicating current electric machine operation states of control; No. 40 pin called after ALM is used for two LED light of indicating current driving and controlling circuits fault messages of control, is common I/O mouth function port.
No. 30 pin called after PSet is pulse-width modulation (PWM) signal output.
Actuating motor 3 of the present invention adopts the three-phase brushless dc motor with three Hall switch of detection rotor position.
Fig. 4 is the circuit theory diagrams of drive circuit 2.Comprise three groups of commutation circuits take the electronic switching tube of 6 N-types such as Q400, Q401, Q402, Q403, Q404 and Q405 as core, every group has two switching tubes series connection.3 ports of called after U, V, W are the output port of drive circuit 2, connect respectively three phase lines of three-phase brushless dc motor, are used for driving the running of direct current machine.
Before three groups of commutation circuits, be provided with three groups of level shifting circuits with bootstrapping function take U400, U401 and U402 chip as core, be used for improving the voltage of motor control unit 1 output signal.The input of level shifting circuit, difference called after UH, UL, VH, VL, WH, WL, connect ST7MC single-chip microcomputer delivery outlet of the same name, accept pulse-width modulation (PWM) signal of motor control unit 1 output, control respectively conducting and the disconnection of 6 switching tubes of drive circuit 2.
Speed detection unit 7 reality are the inner related hardware of ST7MC single-chip microcomputer and interrupt routine, by the interval to the signal of the position detecting device 6 that receives, calculate the rotating speed of three-phase brushless dc motor, are used for the closed-loop control of motor.
Transformation period to rotor-position signal is caught, and speed detection unit 7 is by the signal of record continuous several times, and the time of obtaining each state variation, after the state of predetermined number of times switched, the calculating of averaging can obtain the actual speed of motor fast and accurately.Because the Hall switch signal intensity of direct current machine read-around ratio has all been carried out record, therefore can calculate more the value near actual speed.
Fig. 5 is the circuit theory diagrams of electric current setting unit 4, and this unit comprises the motor working current testing circuit, signal amplification circuit, and signal comparator circuit and some filter circuits form.Among the figure 19,20,21,22 corresponds respectively to the pin of ST7MC single-chip microcomputer, and used operational amplifier and comparator are the inner integrated functional module of ST7MC single-chip microcomputer.
Current detection circuit; adopt the sampling with high precision resistance of a low-resistivity to sample; the default reference voltage of the magnitude of voltage that obtains and one compares, and comparative result is given the motor control unit 1 of single-chip microcomputer, is used for control drive circuit 2 and enters guard mode.
The Rsensor input of electric current setting unit 4 connects the current of electric information outlet of drive circuit 2, and the signal of reception is the real work current value of motor.The PSet input of electric current setting unit 4 connects the delivery outlet of the same name of No. 30 pin of ST7MC single-chip microcomputer, is used for arranging the current protection point of electric current setting unit 4, and the high workload current value of motor namely is set.The Current output of electric current setting unit 4 connects the input port of the same name of No. 23 pin of ST7MC single-chip microcomputer, the signal that transmits be motor working current through current/voltage (I-V) conversion, and amplification and filtered value.
The current signal that electric current setting unit 4 gathers motor is converted to voltage signal, receive simultaneously the benchmark comparative voltage signal that motor control unit 1 arranges, according to comparative result, motor control unit 1 is sent the pwm signal of appointment, in fact the maximum operating currenbt value of restriction drive circuit 2 is equivalent to the max. output torque that motor is set.
Power down holding unit 8 is finished power-down protection by correlation module and the handling procedure of ST7MC single-chip microcomputer inside jointly with some peripheral circuits.Fig. 6 is the circuit theory sketch, comprises the power supply Acquisition Circuit that divider resistance R1, R2 form, a termination power, other end ground connection, the detection input Vin of dividing potential drop termination single-chip microcomputer; The diode D1 that is used for unidirectional power supply restriction; One end connects diode D1, and other end ground connection is used for the capacitor C 1 of power storage; Reduction voltage circuit to the single-chip microcomputer power supply; Single-chip microcomputer; Drive circuit 2 and direct current machine.
Power down holding unit 8 detects the situation of change of supply power voltage by the power supply Acquisition Circuit, judges whether to occur power-down conditions, detect power-down conditions after the notice single-chip microcomputer carry out relevant handling process, comprise the power generation mode that motor is set, afterwards braking motor.
DC motor control system also is provided with power circuit, and its logic block-diagram comprises the 220VAC-48VDC power supply, 48-15VDC power supply and the 15-5VDC power supply that are linked in sequence as shown in Figure 7.
Connect the anti-circuit that burns by a diode D1 to prevent direct current supply first before the 48V, and connect one and be used for the hold concurrently capacitor C 1 of filtering of energy storage.These consist of again the part of power down holding unit 8.
A.220VAC-48VDC power supply, its input connects 176~265VAC 50Hz/60Hz civil power, is output as the 48V DC power supply, and one the tunnel is drive circuit 2 power supplies, and another road connects the input of 48-15VDC power supply.
B.48-15VDC power supply, circuit as shown in Figure 8, input connects 48V (the actual acceptable input voltage range of this partial circuit is a wide voltage power supply circuit) DC power supply, output 15VDC DC power supply more than the 24V-70V scope.One the tunnel is drive circuit 2 power supplies, and another road connects the input of 15V-5V DC power supply.
Main circuit will be by Switching Power Supply managing chip U200, and the voltage stabilizing circuit take voltage reference chip U203 as core, the feedback circuit take photoelectrical coupler U202 as core and other set of devices become.This circuit adopts the Switching Power Supply working method, has greatly improved the efficient of supply voltage conversion.The Z200 that circuit input end connects too highly causes damage to circuit except can be used for preventing that input voltage is instantaneous, produces too high generating voltage in the time of also can preventing brshless DC motor generating mode of operation circuit is caused damage.The design of 48-15VDC power circuit guarantees that output current is not less than 0.2A.
C.15-5VDC power supply, circuit as shown in Figure 9, input meets 15VDC, and (the actual acceptable input voltage range of this partial circuit is more than the 8V-27V scope, a wide voltage power supply circuit) DC power supply, output 5VDC power supply is position detecting device 4 and the peripheral circuit power supply of ST7MC single-chip microcomputer, brshless DC motor.
Circuit take Switching Power Supply managing chip U201 as core and other set of devices become, circuit design guarantees that output current is greater than 0.2A.
Figure 10 is condition indication circuit 10 schematic diagrams, is comprised of 4 indicator lights and related resistors device.Wherein the both direction indicator light is used to indicate the direction information of motor, and two other alarm lamp indicator light is used to indicate the fault message of circuit.
The Direction of condition indication circuit 10 and ALM input port connect the pin of the same name of ST7MC single-chip microcomputer.Adopt two indicator lights of an I/O mouth control of single-chip microcomputer, two indicator lights are except the flickering display mode simultaneously, can also single lamp is bright (go out such as the bright LED301 of LED300, or opposite), also can two lamp go out simultaneously (will control I/O mouth be arranged to high configuration input can realize), arrange in flicker frequency that can to regard two lamps as when enough fast simultaneously bright.
The communication interface unit 9 that system comprises is the interface circuit of a kind of UART Universal Asynchronous Receiver Transmitter (UART) mode, this interface circuit is passed to motor control unit 1 after by the relevant control information that receives other equipment or module and send over, and carries out relevant operation according to relevant information.Can realize easily human-machine operation.
DC motor control system is provided with the motor temperature testing circuit, and temperature sensor (employing thermistor) links to each other with three-phase brushless dc motor, and circuit output end links to each other with the ST7MC single-chip microcomputer.By gathering the temperature of motor, the heat protection temperature contrast with setting stops motor when motor temperature arrives default value, can realize the motor overheating defencive function.Also be provided with ambient temperature detection circuit, temperature sensor (employing thermistor) is arranged on the PCB, and circuit output end links to each other with the ST7MC single-chip microcomputer.
Whether the single-chip microcomputer of this system, the positional information that draws according to position detecting device 6 in state of a control table (Figure 15), can judge whether the hall signal mistake, thus protection drive circuit 2.
DC motor control system also is provided with the function treatment circuit, is used for man-machine interface operation and external signal and processes, by communication interface unit 9 and motor control unit 1 exchange message.Its logic block-diagram as shown in figure 11.Major function comprises: the state information of LCD display system (operating current, operating voltage, real-world operation speed, motor temperature, ambient temperature and actuator travel position); Key-input operation is processed (dynamically arranging given rotating speed and electric motor protecting moment of torsion); Input control signal is processed; Communication process to external world; Output feedback signal is for the positional information that reflects current electric actuator; Motor control unit 1 is sent work order, the indication action.
In the present embodiment, adopt LM162AFC-2 character point configuration Liquid Crystal Module, be used for showing current given signal, feedback signal, speed, moment; Be with one road 4-20mA analog input signal, one road feedback potentiometer input signal, one road 4-20mA analog output signal; Band RS-485 communication and bluetooth communication; Pass through the communication of UART Universal Asynchronous Receiver Transmitter (UART) mode with motor control unit 1.
Adopt the brshless DC motor control technology, the function such as can realize that speed stabilizing control function, power-down protection, max. output torque can be established.Be described below respectively:
One. speed stabilizing control function
For electric actuator, the speed stabilizing control technology is divided into, and motor press given rotating speed under the load condition in pulling and moved, motor two kinds of situations of stable speed operation under by the load driving status.
A. motor is pressed the given rotating speed operation under the pulling load condition:
Electric Machine Control mainly is the relation between processing speed feedback and speed are regulated in this case, and the speed adjusting is the adjusting of pulse-width signal duty ratio.Control to motor speed is actually by relevant pulse-width modulation (PWM) signal is controlled, and pulse-width modulation process adopts flowage structure as shown in figure 12.
Motor speed control mainly comprises the actual motor speed measurement, and the adjusting of the pulse-width signal duty ratio of control drive circuit 2 switching tubes, and illustrated flow process is the part that whole speed is regulated.In Single Chip Microcomputer (SCM) program in real time to motor speed control, the trigger mechanism of a fixed cycle need to be set, this so that above handling process can periodically carry out.
" given motor speed " in the flow chart is the user profile that this control system obtains by communication mode." actual motor speed " be ST7MC single-chip microcomputer inside speed detection unit 7, by what obtain after the signal of the position detecting device 6 of brshless DC motor is processed.
The process of processing comprises two steps: the first step is to catch the hardware time of speed detection unit 7, catching of this time is in the motor control unit 1 control machine operation process of single-chip microcomputer, when detecting the Hall switch signal generation state variation of reflection brushless DC motor rotor position of position detecting device 6, speed detection unit 7 records, 6 continuous state time of origins of record provide data (three-phase brushless dc motor that adopts in the present embodiment is the right motors in the two poles of the earth, and 6 state variation will occur 6 times in every one week of rotation of motor) for rotating speed calculates in the interrupt routine.Second step is to convert the 6 state time of origins that record gets up the working speed of motor to by software mode, thereby obtains the actual operation speed of motor.
The adjusting of motor speed is to realize by the adjusting to pulse-width modulation (PWM) signal, this control system, the adjusting of pulse-width modulation (PWM) signal, and the processing of the working speed of brshless DC motor, be to carry out for ratio and integration (PI) algorithm routine that the ST7MC single-chip microcomputer provides with reference to ST company.In program, ratio and integration (PI) algorithm is processed as follows:
PWM
Dutr=f(freq) (1)
PWMstart is the initial value of pulse-width modulation (PWM) duty ratio calculating formula, and it is a constant, and this value is equivalent to be provided with motor initial start electric current;
Kp is coefficient of comparisons;
Ki is integral coefficient.
In design, above relevant parameter all needs to adjust according to employed brshless DC motor.
Adoption rate and integration (PI) algorithm in the program, calculate one group of pulse-width modulation (PWM) signal according to the speed of user's setting and the actual speed of motor, and with this group pulse-width signal be superimposed upon on the control signal of drive circuit 2, thereby realize the control to the machine operation average voltage, and be reflected to the control to motor speed.Make the adjusting of rotating speed can be stabilized to fast the state that needs and the concussion situation not occur.Adopt the variation of software PI algorithm governing speed and operating current, can prevent from exporting the excessive mechanism that causes of impact and damage.
Handling process as shown in figure 13, the minimum output valve of ratio and integration (PI) computing is 0, under this value, pulse-width modulation (PWM) signal dutyfactor value minimum is 0, motor is in not driving condition.
B. motor stable speed operation under by the load driving status:
This control system be except can keeping stable rotating speed under normal load condition, also can keep steady running at motor under by the load driving status.Method is that the waveform for the pulse-width signal of controlling drive circuit 2 is carried out some improvement.Adopt the auxiliary control mode of phase-change switch pipe, realize that motor can be stabilized in the rotating speed state that needs by the pulling of the load in the certain limit running time.The method of this auxiliary control is utilized the high advantage of the little efficient of brshless DC motor volume so that this control system can be maximum.
Figure 14 is the simplified electrical circuit diagram of drive circuit 2.K1, K3, K5 are the upper half-bridge switch pipe of U, V, three phase drive axles of W among the figure, and K2, K4, K6 are the lower half-bridge switch pipe of U, V, three phase drive axles of W.Three ports of called after U, V, W are used for connecting three phase lines of three-phase brushless dc motor.
Figure 15 is the state of a control table in three-phase brushless dc motor, adopt the upper and lower half-bridge of homophase within the cycle of pulse-width signal, the control method of be superimposed with, lower half-bridge switch pipe being distinguished the pulse-width signal of conducting realizes the rotational speed regulation control function to motor.P represents to act on the pulse-width signal (represent when signal is high that switching tube opens, represent when low switching tube close) of half-bridge in the table; The switching tube of the corresponding phase of 1 expression is opened; NP represents to act on the respective signal (the certain dead band design that keeps in this Design of Signal) of half-bridge pulse-width signal on the correspondence of lower half-bridge.
Figure 16 is three-phase brushless dc motor control sequential schematic diagram, provided motor control unit 1 among the figure, according to Hall switch input signal H1, H2, H3, correspondence is exported to signal UH, VH, WH, the UL of drive circuit 2, the relation between VL, the WL, the upper and lower switching signal of the homophase of exporting to drive circuit 2 has been described among the figure, has had Dead Zone.
P and NP waveform in the state of a control table are shown in the partial enlarged drawing that Figure 17 controls sequential.Situation during take the superimposed pulse-width modulation of U (PWM) signal is as example, for the oscillogram of the pulse-width signal of controlling single mutually upper and lower half-bridge.UH is that high level represents that the half-bridge switch pipe opens, for low level represents to close; UL is that high level represents that lower half-bridge switch pipe opens, for low level represents to close.Motor control unit 1 is passed to the pulse-width signal of drive circuit 2, has upper and lower half bridge signal of homonymy and replaces the open and close operation.The design in " dead band " that identifies among the figure is avoided causing when the pulse-width signal high-low level switches, simultaneously conducting of upper and lower half-bridge and damage the problem of circuit.
The fixed value that arranges when being programming of sign " pwm signal cycle " among the figure, pulse-width modulation (PWM) signal dutyfactor (pulse-width modulation (PWM) signal high level accounts for the pulse-width modulation ratio in (PWM) cycle) then are that the working condition according to motor changes.
Two. the max. output torque regulatory function:
The invention solves the traditional AC Motor Control system of electric actuator and can only fix the restriction of a max. output torque, can adapt to the application demand of controlling different torque apparatus.
Utilize one group of pulse-width signal of single-chip microcomputer, wave circuit converts after the direct current signal comparison reference as motor working current to after filtration, and the signal after relatively is used for the foundation that single-chip microcomputer judges whether this restriction output current.Because the operating voltage of regulation motor is stable in the design, therefore just can be converted to restriction to motor working current to the restriction of motor max. output torque.
The overload protection function of this control system is realized by electric current setting unit 4, adopts the max. output torque technology that dynamically arranges.
For the maximum operating currenbt value that can be accepted by brshless DC motor is set, need to adjust the multiplication factor of current sampling resistor R413 and amplifying circuit, the principle of adjusting is that direct current machine also is in safe work state when being maximum 5V for the Pset signal that maximum operating currenbt is set.This arrangement is used for avoiding causing direct current machine to be in and having destructive action when single-chip microcomputer abnormal fault.
For maximum operating currenbt is set accurately, program need to be carried out initial proving operation according to circuit, and proving operation is the relation of confirming between the maximum operating currenbt of Pset signal and motor reality.
Figure 18 is the schematic diagram that the motor maximum operating currenbt is set, the PSet pin (MCPWMV) of 12 pulse-width signal generating unit 1B of ST7MC single-chip microcomputer, produce one group of pulse-width signal, this group pwm signal is through forming a level signal after the filtering, level signal is used as the reference voltage of comparison circuit, and inputs by No. 22 pin (MCCREF) pin of ST7MC single-chip microcomputer.No. 19 pin (OAP) of ST7MC single-chip microcomputer is used for receiving the motor working current signal through after the conversion of Rf resistance.
Its working method is that OAP receives the signal of motor working current, then through after the operational amplifier amplification computing, compares with the reference voltage signal.Signal enters pulse-width modulation administrative unit 1C inside relatively, acts on control switch K, if motor working current then disconnects the signal path between pulse-width signal generating unit 1B and the mode selector greater than default reference voltage signal.
The max. output torque regulatory function be for direct current machine from the configuration of different load equipment and propose, this function can make control system adapt to the equipment of multiple load, also reduces the trouble of user's type selecting.
Three. power-down protection
Cut off the power supply in the external world, and original motor is in by under the load pulling working order, motor can in time be stopped do not turn suddenly.(prerequisite that this function realizes is that electric actuator is originally stopping in the situation, and not powering on can not spurred by load.Namely, the magnetic force that the brshless DC motor that adopts self has can maintain in the original static situation of mechanism.)
Permanent-magnet brushless DC electric machine is because the effect of magnetic force all has certain confining force generally speaking.Because the characteristic of magnetic pole, the brshless DC motor resistance mean value that the magnetic force of self plays in by load pulling situation is less, and can give full play of the effect of obstruction at the original halted state lower magnetic force of motor.In the processing of native system to power-down conditions, can make brshless DC motor in the situation that power down is spurred by load again simultaneously, the energy that utilizes circuit to store in time makes motor stop, and just can rely on afterwards the magnetic force of motor own and mechanism's resistance to make motor keep static.
1. detection of power loss:
Power down holding unit 8 comprises two resistance that are used for dividing potential drop, and one is used for the Schottky diode that Limited Current flows backwards, and the diode back is provided with the electrical power storage circuit.Under the normal operation, electric current flow into related work circuit and accumulator from power supply by Schottky diode.When power supply disappeared or reduce, Schottky diode limits was flow backwards back to supply line by the energy of accumulator, and single-chip microcomputer also can in time detect.
2. stop control:
When detecting the power supply disconnection or excessively hanging down, the motor control unit 1 of single-chip microcomputer began within first second time by default pulse-width modulation (PWM) signal, according to power down phase state control motor working current constantly, this situation is equivalent to strengthen the magnetic force of motor self, simultaneously, if motor also running can with self mechanical energy part be converted to electric energy, return to electrical energy storage circuit.
Crossed one second rear motor control unit 1 and stopped by mode of braking control motor, the design has guaranteed the ability of electrical energy storage circuit, is enough to keep the short-term operation of single-chip microcomputer, and the control motor stops operating in the loading range that allows.
If original motor is in motor and hauls loaded work piece, and can not overcome the resistance acting after loading on the motor power down, drive circuit 2 can consume the stored energy of accumulator fast.
If original motor is in motor and is spurred situation by load, the energy of energy storage is with the enough a bit of time of interlock circuit work, can in time stop motor rotation with assurance control unit 1, thereby utilize the static friction of actuator and the magnetic force of motor to enter hold mode.
This method has solved under the motor band case of heavy load (comprised spurred and spur by heavy duty heavy duty) motor and has overcome under the motion state, and confining force is not enough and the problem that can't allow load stop.
Under normal operation, the VCC power supply that obtains behind the 220VAC-48VDC power supply process diode D1 of the power supply of drive circuit 2 by power circuit, single-chip microcomputer is passed through the 5V Power supply that obtains after 48-15VDC power supply and the step-down of 15-5VDC power supply by VCC, the control that the motor control unit 1 of single-chip microcomputer is realized brshless DC motor by drive circuit 2, whether 8 pairs of 48VDC power supplies of simultaneously power down holding unit periodically detect, normal to judge power supply.When the 48V of power supply suddenly disappeared or drops to certain level value, because the effect single-chip microcomputer of capacitor C 1 can also work a bit of time, at this moment, motor control unit 1 was just controlled motor at once and is stopped.If original with load be unlikely to spur direct current machine and rotate, then can stop operating at once; If original with load can spur electric machine rotation, then stop the mode of electric machine rotation this moment, can make the load pulling electric machine rotation generation electric energy that oppositely generates electricity, capacitor C 1 is rear to work on for single-chip microcomputer and electric energy is stored in, single-chip microcomputer will have enough energy to stop motor like this, to guarantee that electric actuator can remain on current location accurately.
Above power down retentive control function, the routine processes flow process of realization as shown in figure 19.The Single-chip Controlling motor stops through " the control motor stops with current state " and " braking motor " two steps.
" the control motor stops with current state " refers to, in 6 states of three-phase brushless dc motor work, when single-chip microcomputer is fixing when occuring with power down, one of residing 6 states of single-chip microcomputer are controlled motor, even undergoing phase transition of motor rotor position drives too at this moment.Can regard the magnetic force that improves motor as under this control mode.The control motor stops with current state, and single-chip microcomputer is controlled with a predefined pulse width modulation duty.
" braking motor " refers to, three lower half-bridges of drive circuit of control motor all opened, and upper half-bridge Close All.Three phase lines that this method is equivalent to motor are shorted together, and motor is in from the loss state.When motor is under the large inertia working order, should not adopt this mode that motor is stopped.Therefore the design has used above-mentioned " the control motor stops with current state " method as the transition processing method.
Claims (7)
1. DC motor control system comprises the motor control unit (1), drive circuit (2) and the actuating motor (3) that are linked in sequence, it is characterized in that:
Described actuating motor (3) is three-phase brushless dc motor, and described drive circuit (2) is provided with three groups of commutation circuits, and its 3 outputs are connected with three phase lines (U, V, W) of direct current machine respectively; Direct current machine is provided with detecting apparatus for rotor position (6), 3 positional informations (H1, H2, H3) of the reflection rotor of its output access respectively motor control unit (1), motor control unit (1) is controlled the commutation of drive circuit (2) output current according to the positional information of rotor;
Described commutation circuit is provided with half-bridge switch pipe and lower half-bridge switch pipe, 6 tunnel (UH, UL, VH, VL, WH, WL) pulse-width signal of described motor control unit (1) output is respectively applied to control conducting and the disconnection of 6 upper and lower half-bridge switch pipes of described drive circuit (2);
System also comprises the speed detection unit (7) that is connected with position detecting device (6), it is according to the interval of the position signalling of rotor, calculate the rotating speed of brshless DC motor, input motor control unit (1), by the duty ratio of dynamic adjustments pulse-width signal, realize the speed stabilizing control function of three-phase brushless dc motor rotating speed;
When load pulling motor, specifying under the running speed, described motor control unit (1) is within the cycle of pulse-width signal, the superposed signal of half-bridge switch pipe and lower half-bridge switch pipe difference conducting on the homophase of output control drive circuit (2) is for the running speed of stable DC motor.
2. control system according to claim 1 is characterized in that: described superposed signal is provided with " dead band " that prevents half-bridge switch pipe and the simultaneously conducting of lower half-bridge switch pipe on the homophase.
3. control system according to claim 1 is characterized in that: described motor control unit (1) comprises time-delay administrative unit (1A), the pulse-width signal generating unit (1B) for generation of motor control signal, the pulse-width modulation administrative unit (1C) that is linked in sequence, the channel management unit (1D) that is used for the motor control signal channel management; The inside of pulse-width modulation administrative unit (1C) includes the comparison circuit, control switch K and the mode selector that are linked in sequence.
4. control system according to claim 1 is characterized in that: be provided with level shifting circuit before the described commutation circuit, be used for improving the voltage of motor control unit (1) output signal.
5. control system according to claim 1, it is characterized in that: system also comprises the electric current setting unit (4) that connects drive circuit (2), be used for gathering the operating current of direct current machine, be converted to voltage signal, a signal that dynamically arranges with the user relatively after, the control end of access motor control unit (1), the operating current of restriction drive circuit (2) is for the max. output torque that direct current machine is set.
6. control system according to claim 1 is characterized in that: be provided with power down holding unit (8) between described motor control unit (1) and the power circuit, comprise the divider resistance that gathers the power supply power down, the diode D1 of unidirectional power supply restriction; The storage capacitor C1 that connects diode; After the power failure, motor control unit (1) oppositely generates electricity by drive circuit (2) control motor provides electric energy, control system to enter generating, braking flow process.
7. control system according to claim 6 is characterized in that: described power circuit is the 220VAC-48VDC power supply for the direct current machine power supply that is linked in sequence, for the 48-15VDC power supply of drive circuit (2) power supply be the 15-5VDC power supply of motor control unit (1) power supply.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008102167992A CN101729009B (en) | 2008-10-21 | 2008-10-21 | Control system of direct current motor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008102167992A CN101729009B (en) | 2008-10-21 | 2008-10-21 | Control system of direct current motor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101729009A CN101729009A (en) | 2010-06-09 |
CN101729009B true CN101729009B (en) | 2013-01-16 |
Family
ID=42449385
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008102167992A Expired - Fee Related CN101729009B (en) | 2008-10-21 | 2008-10-21 | Control system of direct current motor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101729009B (en) |
Families Citing this family (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102343634A (en) * | 2010-08-02 | 2012-02-08 | 北京中电科电子装备有限公司 | Overheat protecting device and method of motorized spindle and cutter |
CN102594229A (en) * | 2011-01-07 | 2012-07-18 | 北京统合万方科技有限公司 | High-power three-phase brushless direct-current motor control module and packaging of control module |
CN103078574B (en) * | 2011-10-25 | 2015-04-15 | 深圳万讯自控股份有限公司 | Active brake control method and system of direct-current brushless motor |
CN103490681B (en) * | 2012-06-12 | 2016-08-03 | 上海金脉电子科技有限公司 | Control the method and system of attached brushless DC motor of electric vehicle |
CN102881140A (en) * | 2012-09-28 | 2013-01-16 | 天津滨耀特控科技有限公司 | Radio-frequency remote-control wireless intelligent electric actuator |
CN103208955B (en) * | 2013-04-24 | 2016-02-24 | 上海电机学院 | For the three-phase brushless dc motor control device of electric motor car |
CN104569568A (en) * | 2015-01-13 | 2015-04-29 | 烟台智慧云谷云计算有限公司 | Current signal acquisition device based on 2.4G wireless network |
CN105322849B (en) * | 2015-07-03 | 2020-08-14 | 浙江海洋学院 | High-power brushless motor driving circuit and control method thereof |
CN104967369B (en) * | 2015-07-14 | 2017-12-29 | 华中科技大学 | A kind of suppending cup type planting apparatus drive system based on DC brushless motor |
CN107276464B (en) * | 2017-06-29 | 2020-07-03 | 宁波汉浦工具有限公司 | Starting method of starting circuit of brushless motor |
CN107681929B (en) | 2017-10-30 | 2023-11-28 | 广东美的制冷设备有限公司 | Motor control system and variable frequency air conditioner |
CN107834911B (en) * | 2017-11-13 | 2019-12-03 | 北方电子研究院安徽有限公司 | Three-phase brushless dc motor speed stabilizing control method |
CN110328427A (en) * | 2019-07-17 | 2019-10-15 | 郭建业 | A kind of wire feeding motor power supply mode |
CN110486521A (en) * | 2019-09-03 | 2019-11-22 | 陕西科技大学 | A kind of execution time adjustable electric valve actuator control device and method |
CN111722666B (en) * | 2020-06-17 | 2024-12-10 | 惠州市天宝创能科技有限公司 | A voltage stabilizing circuit |
CN112532120A (en) * | 2020-11-26 | 2021-03-19 | 内蒙古科技大学 | Brushless direct current motor electric and regenerative braking integrated control method |
US12259475B2 (en) | 2021-03-30 | 2025-03-25 | Lg Innotek Co., Ltd. | Closed-loop motor control using unidirectional data feedback |
CN115032934B (en) * | 2022-08-12 | 2022-11-25 | 中国船舶重工集团公司第七0七研究所 | Control system and implementation method of roof support reverse leveling mechanism |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1311559A (en) * | 2000-02-29 | 2001-09-05 | 株式会社日立制作所 | Electric motor driving circuit, motor driving method and semiconductor integrated circuit |
CN1538613A (en) * | 2003-10-23 | 2004-10-20 | 华东理工大学 | Positionless brushless DC motor control circuit and its intelligent control method |
CN1744425A (en) * | 2004-09-02 | 2006-03-08 | 圆创科技股份有限公司 | Brushless Motor Drive |
CN201017256Y (en) * | 2007-03-05 | 2008-02-06 | 深圳万讯自控有限公司 | Light loading type electric actuating mechanism |
-
2008
- 2008-10-21 CN CN2008102167992A patent/CN101729009B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1311559A (en) * | 2000-02-29 | 2001-09-05 | 株式会社日立制作所 | Electric motor driving circuit, motor driving method and semiconductor integrated circuit |
CN1538613A (en) * | 2003-10-23 | 2004-10-20 | 华东理工大学 | Positionless brushless DC motor control circuit and its intelligent control method |
CN1744425A (en) * | 2004-09-02 | 2006-03-08 | 圆创科技股份有限公司 | Brushless Motor Drive |
CN201017256Y (en) * | 2007-03-05 | 2008-02-06 | 深圳万讯自控有限公司 | Light loading type electric actuating mechanism |
Also Published As
Publication number | Publication date |
---|---|
CN101729009A (en) | 2010-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101729009B (en) | Control system of direct current motor | |
CN202754140U (en) | Digital servo | |
CN101960700B (en) | High-side sensing of zero inductor current for step down dc-dc converter | |
CN1330087C (en) | Damping control in a three-phase motor with a single current sensor | |
CN201536337U (en) | DSP-based direct-current motor controller based on | |
CN101969291B (en) | System-on-chip driver of high-subdivision multi-path stepping motor | |
US8183803B2 (en) | Brushless DC motor control system | |
CN103248293A (en) | TMS320F2812 based speed regulation controller of brushless DC motor | |
CN201185405Y (en) | A digital servo control device for a motor operating mechanism for a high-voltage circuit breaker | |
CN102819227B (en) | Automobile voltage regulating circuit | |
AU2012364270A1 (en) | Calibration of current sensors in parallel power converters | |
CN107959421A (en) | BUCK-BOOST types direct current transducer and its control method | |
CN101572522B (en) | Fool type self-learning motor soft on-off control device | |
CN101640514A (en) | Separately excited motor controller and control method thereof | |
CN101425770A (en) | Stepless speed regulator for DC electric motor | |
CN100521487C (en) | Display device for power saving effect of frequency converter | |
CN203084067U (en) | AC abnormity fast detection circuit | |
CN202523800U (en) | Control system for vanadium redox battery in all working conditions | |
CN201001095Y (en) | Brushless DC motor control system and its inverter module | |
CN108427048A (en) | A kind of load simulating device | |
CN102298082B (en) | Electricity-stealing prevention electric energy meter | |
CN2553363Y (en) | Low temp./high-low temp. testing box controller | |
CN201130918Y (en) | Controller for switching bidirectional power supply of AC motor | |
CN205946253U (en) | LED drive and control circuit and controlling means | |
CN205986680U (en) | PMSM control system that changes speed |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130116 Termination date: 20211021 |