Embodiment
Below, utilize accompanying drawing that the preferred implementation of the control device of permanent magnet synchronous motor of the present invention is described.The control device of permanent magnet synchronous motor of the present invention, it is characterized in that, a kind of position detectors such as enhancement mode encoder that utilize are provided, can easily carry out the detection of position of magnetic pole in prestarting dwell time at short notice, can be rapidly and the low-cost control device of starting permanent-magnet synchronous motor reposefully.
Execution mode 1
Fig. 1 is the structure chart of control device of the permanent magnet synchronous motor of embodiment of the present invention 1.The control device of this permanent magnet synchronous motor, be constituted as and comprise the non-Interference Control of the d-q axle system 101 that the is often used as current control system speed control system 100 of (being equivalent to part shown in the dotted line of Fig. 1) (being equivalent to part shown in the single-point line of Fig. 1), also further added detecting pattern setup unit 18, magnetic pole detection stream command unit 19, magnetic pole phase identifying unit 20, switch 21a~21c.
At first, the structure to speed control system 100 describes.The non-Interference Control of d-q axle system just had in the past, was used for carrying out the Current Control of permanent magnet synchronous motor 1, was the general control mode that also comprises speed control.This speed control system 100 is made of position detector 2, angular speed arithmetic element 3, subtracter 4, speed control unit 5, phase place arithmetic element 6, current detector 7, three-phase two phase converter 8, two-phase three phase converer 9, subtracter 10 and 11, d shaft current control unit 12, q shaft current control unit 13, non-Interference Control unit 14, adder 15 and 16, power converter 17.
Position detector 2 detects the position along with the rotor of the rotor of permanent magnet synchronous motor 1, is equivalent to encoder etc.Angular speed arithmetic element 3 is exported the angular velocity of rotation ω r that methods such as utilizing difference is calculated permanent magnet synchronous motors 1 according to the position of position detector 2.Subtracter 4 calculates the angular velocity of rotation instruction ω rcom of permanent magnet synchronous motor 1 and the deviation of angular velocity of rotation ω r.
Speed control unit 5 calculates the commentaries on classics distance that permanent magnet synchronous motor 1 should produce according to the deviation that is calculated by subtracter 4 as current-order, the line speed of going forward side by side control is so that angular velocity of rotation ω r servo-actuated is in angular velocity of rotation instruction ω rcom.And in order to improve control performance, and except deviation, also with angular velocity of rotation ω r and angular velocity of rotation instruction ω rcom in the structure as the input of speed control unit 5, following content is set up too.
In the control of three-phase alternating-current motor, general most carrying out with the electric current of three-phase, the processing that voltage transitions is 2.Here, with the U of α axle and three-phase mutually the coordinate system on the axle overlap static 2 be called the alpha-beta coordinate system.In addition, the coordinate system in 2 of the rotations that the d axle is overlapped with the excitation direction of rotor is called the d-q axis coordinate system.The non-Interference Control of d-q axle system 101 among Fig. 1 is equivalent to the control system of this d-q axis coordinate system.
Phase place arithmetic element 6 is exported the electrical angle phase theta re of the rotor that calculates permanent magnet synchronous motor 1 according to the position of position detector 2.This electrical angle phase theta re represents from the anglec of rotation of the observed d-q axis coordinate system of alpha-beta coordinate system.Current detector 7 detects the three-phase alternating current (Iu, Iv, Iw) of the stator winding (coil) that flows through permanent magnet synchronous motor 1.
Three-phase two phase converter 8 are converted to electric current (Id, Iq) in the d-q axis coordinate system with three-phase current (Iu, Iv, Iw).Two-phase three phase converer 9 will be converted to voltage in three phases command value (Vu, Vv, Vw) at the voltage instruction value (Vd, Vq) of d-q axis coordinate system.Subtracter 10 and subtracter 11 calculate the current-order Idcom of d axle component of stator winding electric current of permanent magnet synchronous motor 1 and the deviation of feedback current value Id thereof respectively, and the deviation of the current-order Iqcom of q axle component and feedback current value Iq thereof.
D shaft current control unit 12 and q shaft current control unit 13 be according to the deviation that is calculated by subtracter 10 and subtracter 11, obtains control output (Vd ', Vq '), carries out Current Control, makes each feedback current value servo-actuated in current-order separately.Non-Interference Control unit 14 makes the non-interfering feedforward compensation of each electric current, makes independently to control d shaft current and q shaft current.
Adder 15 and adder 16 with the output of non-Interference Control unit 14 respectively with the control output of d axle and q axle (Vd ', Vq ') addition, calculate voltage instruction (Vd, Vq) separately.And then output voltage is variable, the three-phase alternating voltage of changeable frequency according to voltage in three phases command value (Vu, Vv, Vw) for power converter 17.
Below, a series of control actions based on these structures are described.Since the control mode of the non-Interference Control of this d-q axle system 101 be with the synchronous rotational coordinates of the rotation of the rotor magnetic pole of permanent magnet synchronous motor 1 on the control carried out, so the detection as the rotor magnetic pole position of benchmark is just become very important.Utilize the signal according to the position detector 2 that is connected from the rotor with permanent magnet synchronous motor 1, the phase angle θ re that is calculated by phase place arithmetic element 6 represents rotor magnetic pole position.
According to the phase angle θ re that calculates by phase place arithmetic element 6, will be converted to the two-phase current value of feedback (Id, Iq) of d-q axle by the three-phase current (Iu, Iv, Iw) of current detector 7 detected permanent magnet synchronous motors 1 by three-phase two phase converter 8.Then, d shaft current control unit 12 and q shaft current control unit 13 are converted into 2 mutually current feedback values (Id, Iq) according to this and carry out FEEDBACK CONTROL with the deviation separately of the current instruction value (Idcom, Iqcom) of each, output control output (Vd ', Vq ').
At this moment, for the non-interferenceization of the control that realizes d axle and q axle, so that be not subjected to influence from other interference voltage, non-Interference Control unit 14 carries out non-interference feedforward compensation according to the interference voltage that precomputes.Like this, owing to realized non-interferenceization, each carries out FEEDBACK CONTROL independently, so the non-Interference Control of d-q axle system 101 is called as non-Interference Control mode.
The voltage instruction (Vd, Vq) that the output of non-Interference Control unit 14 and control output (Vd ', Vq ') addition is calculated, phase angle θ re according to phase place arithmetic element 6 calculates is converted to three-phase voltage command value (Vu, Vv, Vw) by two-phase three phase converer 9.Then, output voltage is variable, the three-phase alternating voltage of changeable frequency according to three-phase voltage command value (Vu, Vv, Vw) for power converter 17, carries out the speed control of permanent magnet synchronous motor 1 thus.
In the structure of Fig. 1, have at permanent magnet synchronous motor 1 under the situation of the rotor shapes that is called as non-prominent polar form, generally making d shaft current instruction Idcom as a rule is 0., weaken under the situation in magnetic field, or in the permanent magnet synchronous motor 1 of contrary prominent polar form, use under the situation of reluctance torque etc., d shaft current instruction Idcom can be controlled to be suitable value at the voltage when reducing high speed rotating.
Below, detecting pattern setup unit 18, magnetic pole detection stream command unit 19, magnetic pole phase identifying unit 20, the switch 21a~21c that increases newly in the speed control system 100 described.By additional these structures, not under the situation of position detector 2 of absolute position transducer having used, can easily detect the initial magnetic pole position after the power supply closure.
Detecting pattern setup unit 18 has the storage part (not shown) that the storage position of magnetic pole detects the setting/reset mode of complement mark, and this position of magnetic pole detects complement mark and represents whether be in the state that has detected position of magnetic pole.In Fig. 1, because position detector 2 is not an absolute position transducer, so when power supply is closed, be in the state that does not detect correct position of magnetic pole.Therefore, detecting pattern setup unit 18 position of magnetic pole that is stored in the storage part that resets when power supply is closed detects complement mark.
And detecting pattern setup unit 18 takes out position of magnetic pole from storage part and detects complement mark when permanent magnet synchronous motor 1 starting, judges whether to carry out magnetic pole and detects action.And then, detecting situation that complement mark resetted according to position of magnetic pole at detecting pattern setup unit 18 and judge needs and carry out magnetic pole and detect under the situation of action, the magnetic pole that output is used to detect the position of magnetic pole of permanent magnet synchronous motor 1 detects instruction.
When magnetic pole detection stream command unit 19 receives magnetic pole when detecting instruction from detecting pattern setup unit 18, output is used to detect the electrical phase angle and the current-order of initial magnetic pole phase place.Magnetic pole detection stream command unit 19 slowly changes electrical phase angle at the current-order of the d shaft current of certain regulation, electrical phase angle and current-order that output initial magnetic pole phase-detection is used.And magnetic pole detection stream command unit 19 also can make electrical phase angle slowly change the generation output signal at different current-orders, can generate the output valve of a plurality of different patterns.
In addition, magnetic pole detection stream command unit 19 for example can carry out following setting to current instruction value.Promptly, magnetic pole detection stream command unit 19 is by setting current instruction value, so that the magnetic flux that armature reaction magnetic flux that the d shaft current produces and permanent magnetism produce and, a part that becomes the motor magnetic loops such as stator core that make permanent magnet synchronous motor 1 reaches the value of magnetic saturation degree, can set the state that more is easy to generate oscillatory occurences for thus.And this d axle is the notion in the control all the time, owing to do not detect position of magnetic pole in this stage, so the direction of the magnetic flux of d axle phase place and permanent magnetism may not be consistent.
When magnetic pole phase identifying unit 20 receives magnetic pole when detecting instruction from detecting pattern setup unit 18, judge magnetic pole phase according to the feedback current Id of d axle.Specifically, magnetic pole phase identifying unit 20 extracts the high fdrequency component of electric current from the detected value of feedback current Id, detects the oscillatory occurences of the current control system of the non-Interference Control of d-q axle system 101.And then magnetic pole phase identifying unit 20 judges that rotor magnetic pole is present on the electrical phase angle of degree of oscillation for maximum of detected oscillatory occurences, is defined as the initial magnetic pole phase place with this electrical phase angle.
And 20 pairs of phase place arithmetic elements of magnetic pole phase identifying unit 6 are carried out the setting of fixed initial magnetic pole phase place as initial phase.Phase place arithmetic element 6 is carried out starting operation by the initial phase that utilization sets, and can make indefinite permanent magnet synchronous motor 1 smooth start of position of magnetic pole.
And magnetic pole phase identifying unit 20 is provided with the storage part that position of magnetic pole detects complement mark and stores detecting pattern setup unit 18 into after can determining the initial magnetic pole phase place.Like this, during first start after the power supply closure, can determine the initial magnetic pole phase place.When the second time after carrying out the power supply closure and for the second time later starting, detecting pattern setup unit 18 detects the situation of complement mark according to the position of magnetic pole that has been provided with storage part, and can be judged as does not need to carry out magnetic pole and detect action.Thus, when the second time after the power supply closure and for the second time later starting, can not carry out magnetic pole and detect action and directly carry out starting operation stably.
Switch 21a~21c detects the signal switching part that output signal is switched in instruction according to the magnetic pole from detecting pattern setup unit 18.Switch 21a~21c is not receiving magnetic pole when detecting instruction (when being equivalent to run well) from detecting pattern setup unit 18, and the electrical phase angle θ re and the current-order (Idcom, Iqcom) that will utilize phase place arithmetic element 6 to calculate according to the position output of position detector 2 output to the non-Interference Control of d-q axle system 101.
On the other hand, switch 21a~21c switches to electrical phase angle θ ph and the current-order of using from the initial magnetic pole phase-detection of magnetic pole detection stream command unit 19 outputs (Idph, Iqph) with electrical phase angle and the current instruction value that offers the non-Interference Control of d-q axle system 101 when receiving magnetic pole detection instruction from detecting pattern setup unit 18.
Below, the reason of utilizing this structure can detect the initial magnetic pole phase place is described.Fig. 2 is the square frame line chart of the d shaft current control system of expression embodiments of the present invention 1.Time lag of first order square frame 22 is expression square frames from the voltage that imposes on motor armature to the transfer function of electric current.Current Control square frame 12a is the square frame of the example of the control computing of use in the expression d shaft current control unit 12.
This Current Control square frame 12a is usually as proportional integral (PI) control of the stable deviation that is used to suppress electric current.The design of PI compensator is decided by the nominal value of motor constant and the design response frequency ω c of control system.Promptly, nominal value at the resistance value Ra that makes armature coil is R, the nominal value of induction coefficient La is under the situation of L, will control the inverse that break frequency ω i that constant is designed so that the PI compensator on the Bode diagram equals the nominal value (L/R) of the time constant of motor armature coil usually.
In this case, be well known that: the open-loop transfer function of current control system only represents with integrating system ω c/s that phase place is always-90 degree, and can carry out stable control.And though represented the situation of d axle in Fig. 2, the q axle also can similarly carry out the design of current control system.
On the other hand, often have actual motor constant to depart from the situation of nominal value, the magnetic saturation of stator core etc. also is one of major reason that causes this situation.Fig. 3 is the curve chart of the relation of the armature supply of permanent magnet synchronous motor 1 of expression embodiment of the present invention 1 and magnetic flux.As shown in Figure 3, when armature supply increased, because the magnetically saturated influence of stator core etc., slope of a curve had the tendency that diminishes.Because the induction coefficient L relevant with the Current Control of permanent magnet synchronous motor 1 equates that with this slope of a curve Δ φ/Δ I therefore owing to magnetically saturated influence, the value of induction coefficient La is littler than nominal value L.
Fig. 4 is the Bode diagram of open-loop transfer function of the d shaft current control system of expression embodiment of the present invention 1.Fig. 4 has represented situation (being equivalent to La=L) that induction coefficient equates with nominal value and because magnetic saturation and (be equivalent to La<L) less than the situation of nominal value respectively.
Under the situation of La=L, as previously mentioned, with have-slope of 20dB/dec, be that 0 straight line is represented gain in design response frequency ω c place gain, phase place remains-90 and spends.On the other hand, under the situation of La<L, open-loop transfer function is not only an integration, but on Bode diagram, form expression advance lag characteristic, in the high-frequency region gain shape of protuberance significantly.
In this case, because the phase place that gains when being zero is-90 degree, so control is stable in theory., because the digital control control lag that causes, the perhaps influence of sensor characteristics etc. is easy to generate delay in the phase place of high-frequency region, so in fact there is unsettled tendency.Therefore, the phase place of the armature reaction magnetic flux that produces when electric current is consistent with the phase place of the magnetic flux that permanent magnetism produces, flow through very big magnetic flux in the iron core, and when causing induction coefficient less than nominal value owing to magnetic saturation, under the sufficiently high situation of the gain of control system, current control system can produce oscillatory occurences.
Therefore, by from feedback current, extracting oscillating component, and detect this oscillatory occurences, can determine the phase relation of magnetic flux and armature reaction magnetic flux, can easily find initial magnetic pole position.And, consider that when oscillatory regime continues it is unusual that vibration amplitude can slowly become big even system is taken place, but as described later, do not produce excessive electric current by making phase angle variations and providing instruction to make, before system exception, suppress amplitude.
Below, according to flow chart, continuous action processing is described.Fig. 5 is the flow chart of the sequential processes that detects of the initial magnetic pole position of expression embodiment of the present invention 1.At first, at step S501, when detecting pattern setup unit 18 receives the starting order of permanent magnet synchronous motor 1 from the outside, take out position of magnetic pole from storage part and detect complement mark, detect the complement mark position of magnetic pole that still resetted and detect complement mark and judge that magnetic pole detects and whether finish according to position of magnetic pole is set.
Detect complement mark at position of magnetic pole and reset, and be judged as magnetic pole and detect under the uncompleted situation, detecting pattern setup unit 18 output magnetic poles detect instruction, then, advance to the processing of step S502.In addition, detect complement mark at position of magnetic pole and be provided with, and be judged as magnetic pole and detect under the situation about having finished, detecting pattern setup unit 18 is not exported magnetic pole and is detected instruction, then, advances to the processing of step S509.
At step S502, magnetic pole detection stream command unit 19 detects instruction by receiving magnetic pole from detecting pattern setup unit 18, sets initial magnetic pole and detects the necessary d shaft current command value Idph of action, and q shaft current command value Iqph is set at Iqph=0.
At step S503, detecting pattern setup unit 18 detects instruction by the output magnetic pole and comes diverter switch 21a~21c.Thus, switch 21a~21c outputs to the non-Interference Control of d-q axle system 101 with current-order (Idph, Iqph) and the electrical phase angle θ ph that magnetic pole detects usefulness.
The state of switch 21a~21c of Fig. 1, expression be to be switched the state that is connected with the output signal that flows command unit 19 from the magnetic pole detection in order to carry out magnetic pole to detect.That is, detect instruction according to the magnetic pole from detecting pattern setup unit 18, switch 21a is connected with d shaft current command value Idph, and switch 21b is connected with q shaft current command value Iqph, and switch 21c is connected with electrical phase angle θ ph.
Then, at step S504, magnetic pole detection stream command unit 19 makes electrical phase angle θ ph increase the amount of predesignating.Then at step S505, magnetic pole phase identifying unit 20 extracts the high fdrequency component of electric current from the detected value of the feedback current of the electrical phase angle θ ph that sets at step S504.
Then, at step S506, magnetic pole detection stream command unit 19 judges whether electrical phase angle θ ph has changed the one or more cycle, and the operation of repeating step S504~step S506 is until having changed the one or more cycle.By this reprocessing, extract the data of the high fdrequency component of electric current the detected value of magnetic pole phase identifying unit 20 each feedback current when electrical phase angle θ ph changes in the scope of one-period.
At step S506, when being judged as electrical phase angle θ ph when having changed one or more cycle, at step S507, magnetic pole phase identifying unit 20 is according to the high frequency component data that is extracted, the variation of one-period takes place by making electrical phase angle θ ph in judgement, and whether current control system has produced oscillatory occurences.And, be judged as under the situation that does not produce oscillatory occurences at magnetic pole phase identifying unit 20, be transferred to the processing of step S512.
On the other hand, be judged as under the situation that has produced oscillatory occurences, be judged to be the electrical phase angle place that rotor magnetic pole is present in the degree of oscillation maximum, determine electrical phase angle, and be transferred to the processing of step S508 at magnetic pole phase identifying unit 20.Then, at step S508, magnetic pole phase identifying unit 20 upgrades the magnetic pole phase that phase place arithmetic element 6 is kept according to the electrical phase angle of determining.
Fig. 6 represents that the initial magnetic pole of embodiment of the present invention 1 detects each phase current Iu, Iv, Iw and electrical phase angle θ ph in the action and the relation of d shaft current Id.In this example, represented electrical phase angle θ ph surpass 180 degree near, the state of overlapping dither on each phase current and the d shaft current.Magnetic pole phase identifying unit 20 can be judged as rotor magnetic pole and be present in and the corresponding electrical phase angle of such oscillatory regime place, and can determine electrical phase angle.
And in Fig. 1, magnetic pole phase identifying unit 20 is as being taken into d shaft current Id, detects the structure with the overlapping vibration of d shaft current Id, but according to detecting rotor magnetic pole too with the overlapping vibration of each phase current.In addition, because the pace of change of electrical phase angle θ ph, and observe oscillatory occurences slightly behindhand,, can carry out more high-precision test so get and the mean value when electrical phase angle θ ph is changed in the opposite direction than actual magnetic pole phase.
Step S507 formerly, be judged as under the situation that does not produce oscillatory occurences, at step S512, magnetic pole detection stream command unit 19 increases d shaft current command value Idph, the feasible magnetic saturation that is easy to generate stator, then, the determination processing of position of magnetic pole is carried out in the processing of repeating step S504~step S507.
And, according to the magnetic pole detection of present embodiment 1, can when starting, detect position of magnetic pole at short notice, make permanent magnet synchronous motor 1 smooth start.After the starting,, as mentioned above, after the initial value of determining electrical phase angle and starting,, can further improve the accuracy of detection of magnetic pole by the pole reduction running (for example, the spy opens flat 10-80188) that proposed in the past for requiring high-precision the commentaries on classics apart from the situation of control.The step S509 of Fig. 5~step S511, expression is used to carry out the flow chart of this pole reduction running exactly.
According to execution mode 1, by current control system additional detected mode initialization unit, magnetic pole detection are flowed command unit, magnetic pole phase identifying unit, switch, can utilize position detectors such as enhancement mode encoder, when stopping, carrying out the detection of position of magnetic pole at short notice, at short notice the smooth start permanent magnet synchronous motor.
Also have,, then can easily carry out position of magnetic pole at short notice and detect if will be used for the electrical phase angle of initial magnetic pole phase-detection and the initial value of current-order is set at the value that makes current control system produce oscillatory occurences easily.
And, more than be illustrated carrying out the situation that position of magnetic pole detects after the power supply closure during first start, but be not limited thereto.Can when each starting, carry out this position of magnetic pole and detect, also can detect instruction according to magnetic pole and carry out from the outside.
Execution mode 2
In execution mode 1,, the situation that d shaft current command value Idph is increased is illustrated as the method that is easy to generate oscillatory occurences.In present embodiment 2, the additive method that is easy to generate oscillatory occurences is described.
Shown in the Bode diagram of Fig. 4, oscillatory occurences is easy to generate by the phase delay that makes high-frequency region.Thus, in the processing of the step S512 of Fig. 5, can in current regulator, insert and postpone key element (redundancy time key element) and d shaft current command value Idph is increased to substitute.
Fig. 7 has been the square frame line chart that has comprised the d shaft current control system that postpones key element 23 and switch 24 of expression embodiment of the present invention 2.Postpone key element 23 and export the feedback current value Id ' of the time delay of the feedback current value Id with relative current control system.In addition, switch 24 is to insert the secondary signal switching part that output signal is switched in instruction according to the delay key element from magnetic pole phase identifying unit 20.
When running well, when perhaps illustrated position of magnetic pole detected in carrying out execution mode 1, magnetic pole phase identifying unit 20 did not generate and postpones key element insertion instruction.But when carrying out the position of magnetic pole detection, even d shaft current command value Idph increase also is being judged as under the situation that does not produce oscillatory occurences, magnetic pole phase identifying unit 20 can the output delay key element insert instruction.
Under the situation of not instructing from the delay key element insertion of magnetic pole phase identifying unit 20, switch 24 is exported feedback current Id as the feedback current value.On the other hand, switch 24 inserts under the situation of instruction receiving from the delay key element of magnetic pole phase identifying unit 20, and the feedback current Id ' by postponing the time delay that key element 23 causes that will have relative feedback current Id exports as the feedback current value.
According to execution mode 2, be inserted into the current feedback ring by postponing key element according to delay key element insertion instruction, the feedback current when position of magnetic pole is detected is easy to generate oscillatory occurences.Thus, only increasing current instruction value, feedback current can not produce oscillatory occurences, and can not determine under the situation of position of magnetic pole, can postpone usually to produce oscillatory occurences by inserting, and can easily detect position of magnetic pole.
And, owing to can make feedback current be easy to generate oscillatory occurences by inserting the delay key element, so need not to increase current instruction value on the contrary.Therefore, can detect for carrying out position of magnetic pole under the lower state in that current instruction value is suppressed, and the heating of the permanent magnet synchronous motor can suppress position of magnetic pole and detect the time.