Phase correction device and phase correction method for synchronized PWM control
The phase correction device for synchronous PWM control addresses phase errors by adjusting the carrier frequency within set limits, maintaining synchronization and pulse symmetry, thus addressing the desynchronization issue caused by non-integer frequency multiples.
Patent Information
- Application Number
- PCT/JP2024/009058
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-20
- Filing Date
- 2024-03-08
- Publication Date
- 2024-09-26
AI Technical Summary
In synchronous PWM control, phase errors between the output voltage command and the carrier signal occur due to non-integer multiples of carrier frequency and output frequency, leading to desynchronization and output pulse asymmetry, even when the output frequency is constant.
A phase correction device and method that detects phase errors and adjusts the carrier frequency within set thresholds to maintain synchronization, using first, second, and third phase correction carrier frequencies to ensure the carrier frequency does not exceed the power converter's upper limit and minimizes frequency change amplitude.
The solution effectively corrects phase errors and maintains synchronized states, suppressing output beat phenomena and ensuring pulse symmetry by dynamically adjusting the carrier frequency during synchronous PWM control.
Smart Images

Figure JP2024009058_26092024_PF_FP
Abstract
Description
Synchronous PWM control phase correction device and phase correction method
[0001] The present invention relates to a method for correcting a phase error between an output voltage command and a carrier signal in synchronous PWM control in a power converter that drives a motor or the like.
[0002] In a power converter such as an inverter, one control method for generating a desired output voltage or current is the PWM control method, which turns on and off switching elements in the power converter based on a comparison between an output voltage command and a carrier signal.
[0003] Patent Document 1 proposes a method for suppressing current shock and torque shock during switching from asynchronous PWM control to synchronous PWM control and switching the number of pulses in synchronous PWM control by setting appropriate switching conditions. A characteristic of this method is that the switching condition is that the phase difference between the carrier signal and the output voltage command before and after switching is within a certain range.
[0004] Patent Document 2 proposes a method for determining the timing of changing the carrier frequency in synchronous PWM control. The method is characterized by setting a threshold value for the phase difference between the output (rotor) electrical angle and the carrier signal, and allowing the carrier frequency to be changed when the threshold value is exceeded.
[0005] JP 2010-51129 A JP 2010-98868 A
[0006] The important thing about synchronous PWM control is that the phase of the output voltage command and the carrier signal are synchronized, which maintains the symmetry of the output voltage pulse and eliminates problems such as low-frequency pulsation in the output.
[0007] Patent Document 1 proposes a method in which, when switching from asynchronous PWM control to synchronous PWM control or when switching the number of pulses in synchronous PWM control, the switching condition is that the phase difference between the carrier signal (triangular wave) and the output voltage command before and after the switching is within a certain range.
[0008] When switching from asynchronous PWM control to synchronous PWM control, a determination is made as to whether the phase difference between the output voltage command and the carrier signal is within a range of approximately ±5° of a defined reference value. If the determination is not satisfied, asynchronous PWM control is continued; if the determination is satisfied, control is switched to synchronous PWM control.
[0009] When switching the number of pulses in synchronous PWM control, if the number of pulses is odd, the phase of the output voltage command and the carrier signal remains synchronized, eliminating the need for a judgment at the time of switching. Thus, in Patent Document 1, if the judgment is not satisfied, a delay occurs in switching from asynchronous PWM control to synchronous PWM control. Furthermore, the technique fails to take into account the possibility of a phase error occurring during operation under synchronous PWM control.
[0010] Patent Document 2 proposes a method for stably performing synchronous PWM control even when the rotor rotation speed of a motor, which is a load, changes suddenly. Figure 1 shows an example of the phase relationship between the carrier signal and the rotor electrical angle. When the phase of the carrier signal is θ CA , the rotor electrical angle phase is θ m The rotor electrical angle at that time is sampled for each cycle of the carrier signal (θ m1 ~θ m5 Each sampled phase of the rotor electrical angle is compared with defined upper and lower thresholds, and if the thresholds are exceeded, the carrier frequency is changed.
[0011] Neither Patent Document 1 nor Patent Document 2 mentions the phase error between the output voltage (or output voltage command) and the carrier signal when the output frequency is constant in synchronous PWM control. Since the carrier frequency in synchronous PWM control is an integer multiple of the output frequency at that time, ideally, once the phases of the output voltage and carrier signal are synchronized, the synchronized state of the phases is maintained as long as the output frequency does not fluctuate.
[0012] However, in actual equipment, the resolution of the carrier frequency is determined by the clock frequency of a controller such as a CPU or FPGA (because the carrier period is limited to an integer multiple of the clock period), so the carrier frequency is not necessarily an integer multiple of the output frequency. In this way, when the carrier frequency deviates from an integer multiple of the output frequency, the phase error between the output voltage and the carrier signal increases with time, even if the output frequency is constant, and synchronization cannot be maintained.
[0013] For example, consider synchronous PWM control with an output frequency of 600 Hz and a pulse count of 9. The carrier frequency must be 5400 Hz, which is the product of the output frequency and the pulse count. Assume the controller's clock frequency is 200 MHz, and the carrier signal is generated by counting that clock frequency. If we consider 200M / 5400, rounding down to the nearest whole number, we get 5400 Hz by counting 37037 times the 200 MHz clock frequency.
[0014] However, in reality, the result is 200M / 37037 = 5400.0054 Hz. This error of 0.0054 Hz results in a phase shift of approximately 0.00036 degrees per output voltage cycle at a frequency of 600 Hz. Although the phase error per cycle is minute, for example, if the inverter is operated at a frequency of 600 Hz for one minute, the phase error will be 12.96 degrees.
[0015] In this way, even if the output frequency is constant, the phase error between the output voltage and the carrier signal gradually increases, and the symmetry of the output pulse cannot be maintained.
[0016] The present invention is devised to solve the above-mentioned problems, and its object is to provide a phase correction device for synchronous PWM control that can eliminate the phase error between the output voltage command and the carrier frequency and maintain a synchronized state during operation under synchronous PWM control.
[0017] In order to solve the above problem, the phase correction device for synchronous PWM control according to claim 1 is characterized in that, in a single-phase or three-phase power converter in which synchronous PWM control is performed to synchronize the phase of an output voltage command and a carrier signal, it comprises: a phase error detection unit that detects an error between the phase of an output voltage command of the power converter operating under synchronous PWM control and the phase of a carrier signal of a carrier frequency in synchronous PWM control; a first carrier frequency calculation unit that calculates a first phase correction carrier frequency to correct the phase error when the detected phase error exceeds a set threshold; and a carrier frequency setting unit that sets a carrier frequency in synchronous PWM control during operation under synchronous PWM control, and changes the carrier frequency of the carrier signal to the first phase correction carrier frequency for a set period when the detected phase error exceeds the set threshold.
[0018] The synchronous PWM control phase correction device according to claim 2 is the same as in claim 1, further comprising a second carrier frequency calculation unit that determines whether the calculated first phase correction carrier frequency exceeds an upper limit of the carrier frequency of the power converter, and if the upper limit is exceeded, calculates a second phase correction carrier frequency that does not exceed the upper limit of the carrier frequency of the power converter and corrects the phase error, and the carrier frequency setting unit changes the carrier frequency of the carrier signal to the first phase correction carrier frequency for a set period if the first phase correction carrier frequency does not exceed the upper limit of the carrier frequency of the power converter, and changes the carrier frequency of the carrier signal to the second phase correction carrier frequency for a set period if the first phase correction carrier frequency exceeds the upper limit of the carrier frequency of the power converter.
[0019] The synchronous PWM controlled phase correction device according to claim 3 is the same as claim 1, further comprising a third carrier frequency calculation unit that determines whether a difference between the calculated first phase correction carrier frequency and the carrier frequency set in the carrier frequency setting unit exceeds a set change width limit value, and if the change width limit value is exceeded, calculates a third phase correction carrier frequency by adding or subtracting the change width limit value to the carrier frequency set in the carrier frequency setting unit, wherein the carrier frequency setting unit changes the carrier frequency of the carrier signal to the first phase correction carrier frequency for a set period when the detected phase error exceeds a set threshold value but the difference between the first phase correction carrier frequency and the carrier frequency set in the carrier frequency setting unit does not exceed the change width limit value, and changes the carrier frequency of the carrier signal to the third phase correction carrier frequency for a set period when the detected phase error exceeds a set threshold value and the difference between the first phase correction carrier frequency and the carrier frequency set in the frequency setting unit exceeds the change width limit value.
[0020] The phase correction device for synchronous PWM control according to claim 4 is the same as claim 1, wherein the carrier frequency setting unit sets a carrier frequency fc in synchronous PWM control as follows: fc=Kp×f 0 (Kp is the number of pulses of the carrier signal per cycle of the output voltage command, f 0 is the output frequency of the power converter), and the phase error detection unit detects a synchronous phase θ′ of the phase at a reference point set by the output voltage command when the phases of the output voltage command and the carrier signal are synchronized and the number of pulses is Kp. v0 is defined by the following equation (3):
[0021]
[0022] A detected phase θ that detects the phase at the reference point set in the output voltage command v0 and the synchronous phase θ′ defined in the above equation (3). v0 and the first carrier frequency calculation unit calculates the first phase correction carrier frequency f by the following equations (4) and (5):cθ Calculate
[0023]
[0024]
[0025] (However, θ err is the synchronous phase θ' v0 and the detection phase θ v0 The period during which the carrier frequency setting unit changes the setting to the first phase correction carrier frequency is a Kp period of the carrier signal.
[0026] The phase correction device for synchronous PWM control according to claim 5 is the phase correction device for synchronous PWM control according to claim 2, wherein the carrier frequency setting unit sets a carrier frequency fc in synchronous PWM control equal to Kp×f. 0 (Kp is the number of pulses of the carrier signal per cycle of the output voltage command, f 0 is the output frequency of the power converter), and the phase error detection unit detects a synchronous phase θ′ of the phase at a reference point set by the output voltage command when the phases of the output voltage command and the carrier signal are synchronized and the number of pulses is Kp. v0 is defined by the following equation (3):
[0027]
[0028] A detected phase θ that detects the phase at the reference point set in the output voltage command v0 and the synchronous phase θ′ defined in the above equation (3). v0 and the first carrier frequency calculation unit calculates the first phase correction carrier frequency f by the following equations (4) and (5): cθ Calculate
[0029]
[0030]
[0031] (However, θ err is the synchronous phase θ' v0 and the detection phase θ v0 The second carrier frequency calculation unit calculates the second phase correction carrier frequency (f cθ ) and
[0032]
[0033]
[0034] (However, θ err is the synchronous phase θ' v0 and the detection phase θ v0 The carrier frequency setting unit is characterized in that the period during which the setting is changed to the first phase correction carrier frequency is a Kp period of the carrier signal, and the period during which the setting is changed to the second phase correction carrier frequency is a (Kp-1) period of the carrier signal.
[0035] The phase correction device for synchronous PWM control according to claim 6 is the phase correction device for synchronous PWM control according to claim 3, wherein the carrier frequency setting unit includes a carrier frequency fc=Kp×f in synchronous PWM control. 0 (Kp is the number of pulses of the carrier signal per cycle of the output voltage command, f 0 is the output frequency of the power converter), and the phase error detection unit detects a synchronous phase θ′ of the phase at a reference point set by the output voltage command when the phases of the output voltage command and the carrier signal are synchronized and the number of pulses is Kp. v0 is defined by the following equation (3):
[0036]
[0037] A detected phase θ that detects the phase at the reference point set in the output voltage command v0 and the synchronous phase θ′ defined in the above equation (3). v0 and the first carrier frequency calculation unit calculates the first phase correction carrier frequency f by the following equations (4) and (5): cθ Calculate
[0038]
[0039]
[0040] (However, θ err is the synchronous phase θ' v0 and the detection phase θ v0 The third carrier frequency calculation unit calculates the third phase correction carrier frequency f' by the following equation (7):cθ Calculate
[0041]
[0042] (However, f c_z is the carrier frequency currently set in the carrier frequency setting section, f lim is the carrier frequency change width limit value) f in the above formula (7) lim The addition or subtraction is determined by the magnitude relationship of the following equation (8):
[0043]
[0044] The period during which the carrier frequency setting unit changes the setting to the first phase correction carrier frequency and the period during which the carrier frequency setting unit changes the setting to the third phase correction carrier frequency are both Kp cycles of the carrier signal.
[0045] A phase correction method for synchronous PWM control according to claim 7 is a phase correction method for synchronous PWM control in a single-phase or three-phase power converter in which synchronous PWM control is performed to synchronize the phase of an output voltage command and a carrier signal, comprising: a phase error detection step in which a phase error detection unit detects an error between the phase of an output voltage command of the power converter operating under synchronous PWM control and the phase of a carrier signal of a carrier frequency in synchronous PWM control; a first carrier frequency calculation step in which a first carrier frequency calculation unit calculates a first phase correction carrier frequency for correcting the phase error when the detected phase error exceeds a set threshold; a carrier frequency setting unit calculates and sets a carrier frequency in synchronous PWM control during operation under synchronous PWM control; and a carrier frequency setting change step in which, when the phase error detected in the phase error detection step exceeds a set threshold, the carrier frequency of the carrier signal is changed to the first phase correction carrier frequency for a set period.
[0046] The phase correction method for synchronous PWM control according to claim 8 is the same as claim 7, further comprising a second carrier frequency calculation step in which a second carrier frequency calculation unit determines whether the calculated first phase correction carrier frequency exceeds an upper limit of the carrier frequency of the power converter, and if the upper limit is exceeded, calculates a second phase correction carrier frequency that does not exceed the upper limit of the carrier frequency of the power converter and corrects the phase error; and the carrier frequency setting change step changes the carrier frequency of the carrier signal to the first phase correction carrier frequency for a set period if the first phase correction carrier frequency does not exceed the upper limit of the carrier frequency of the power converter, and changes the carrier frequency of the carrier signal to the second phase correction carrier frequency for a set period if the first phase correction carrier frequency exceeds the upper limit of the carrier frequency of the power converter.
[0047] A ninth aspect of the present invention provides a phase correction method for synchronous PWM control according to the seventh aspect, further comprising: a third carrier frequency calculation step in which a third carrier frequency calculation unit determines whether or not a difference between the calculated first phase correction carrier frequency and the carrier frequency set in the carrier frequency setting unit exceeds a set change width limit value, and if the change width limit value is exceeded, calculates a third phase correction carrier frequency by adding or subtracting the change width limit value to the carrier frequency set in the carrier frequency setting unit; and the carrier frequency setting change step changes the carrier frequency of the carrier signal to the first phase correction carrier frequency for a set period when the detected phase error exceeds a set threshold value but the difference between the first phase correction carrier frequency and the carrier frequency set in the carrier frequency setting unit does not exceed the change width limit value, and changes the carrier frequency of the carrier signal to the third phase correction carrier frequency for a set period when the detected phase error exceeds a set threshold value and the difference between the first phase correction carrier frequency and the carrier frequency set in the frequency setting unit exceeds the change width limit value.
[0048] According to the inventions described in claims 1 to 9, phase errors can be detected during operation and the carrier frequency can be appropriately changed to eliminate the phase errors and maintain a synchronized state. The symmetry of the output voltage pulse is also maintained, which makes it possible to suppress output beat phenomena.
[0049] In claims 1, 4, and 7, the calculated carrier frequency for phase correction may exceed the upper limit of the carrier frequency limited by the power converter. In such a case, setting the carrier frequency to the upper limit makes it impossible to perform appropriate phase correction. According to the inventions of claims 2, 5, and 8, when the calculated carrier frequency for phase correction exceeds the upper limit, a carrier frequency that does not exceed the upper limit and that allows phase correction is recalculated, so phase correction can be performed regardless of the upper limit of the carrier frequency of the power converter.
[0050] In claims 1, 4, and 7, the difference between the calculated carrier frequency for phase correction and the currently set carrier frequency may become large. If the carrier frequency change range is large, the current amplitude becomes excessive when the carrier frequency is switched. According to the inventions of claims 3, 6, and 9, a limit is placed on the carrier frequency change range to suppress abrupt changes in the carrier frequency, so that the carrier frequency can be changed and phase correction can be performed while suppressing an increase in current amplitude.
[0051] 1 is an explanatory diagram showing the phase relationship between a carrier signal and a rotor electrical angle in synchronous PWM control; a configuration diagram showing an example of a system to which the present invention is applied; an explanatory diagram showing an example of a carrier frequency relative to an output frequency used in PWM control; an explanatory diagram showing phase sampling of an output voltage command synchronized with a carrier signal; an explanatory diagram showing carrier frequency transition in a phase correction method of the present invention; a flowchart of carrier frequency setting according to a first embodiment of the present invention; a flowchart of carrier frequency setting according to a second embodiment of the present invention; a flowchart of carrier frequency setting according to a third embodiment of the present invention;
[0052] Hereinafter, embodiments of the present invention will be described with reference to the drawings, but the present invention is not limited to the following embodiments.
[0053] An example of a system configuration to which the phase correction method for synchronous PWM control of the present invention is applied is shown in Figure 2. Reference numeral 1 denotes a power converter (three-phase inverter) in which PWM control is performed by a gate signal generated by a PWM controller 2 by comparing an output voltage command with a carrier signal.
[0054] The output voltage of the power converter 1 is supplied to the motor 3. U , 4 V , 4 W is the three-phase output current I of the power converter 1 U , I V , I W 5 is a current sensor that detects the detected three-phase output current I U , I V , I W is the d-axis current I in the dq coordinate system. D , q-axis current I Q is a uvw / dq converter that converts
[0055] 6 D is the d-axis current command I D * and d-axis current I D A subtractor to take the deviation from Q is the q-axis current command I Q * and q-axis current I Q It is a subtractor that takes the deviation from
[0056] 7 is 6 D , 6 Q so that the deviation outputs of each are zero (I D , I Q Ga I D * , I Q * (dq axis voltage command V D * , V Q * is a current controller that calculates
[0057] 8 is a dq axis voltage command V output from the current controller 7 D * , V Q * Three-phase voltage command V U * , V V* , V W * This is a dq / uvw converter that converts the coordinates into the following and provides it to the PWM controller 2.
[0058] The PWM controller 2 is a commonly used triangular wave comparison PWM system. The PWM controller 2 switches between asynchronous PWM control and synchronous PWM control depending on the output frequency. The carrier frequency for synchronous PWM control is an integer multiple of three of the output frequency, and the pulse number Kp (the number of pulses of the carrier signal per cycle of the output voltage command) is determined so as to satisfy equation (1).
[0059]
[0060] Here, n is an integer (n=0, 1, 2, ...).
[0061] The upper limit of the carrier frequency differs depending on the power converter in question, but in the power converter 1 in this specification, the upper limit of the carrier frequency is set to 8000 Hz.
[0062] Figure 3 shows an example of a carrier frequency used for PWM control with an output frequency of 0 to 1000 Hz. However, when using asynchronous PWM control, the upper limit of the carrier frequency is fixed at 8000 Hz. When switching from asynchronous PWM control to synchronous PWM control, if the output frequency fx (8000 / 21 ≒ 380.95 Hz) is reached, at which the number of output voltage pulses cannot be guaranteed to be 21 (n = 3 in equation (1)), the control switches to synchronous PWM control with 15 pulses (n = 2 in equation (1)).
[0063] Furthermore, when the output frequency fy (8000 / 15 ≒ 533.33 Hz) is reached, where the number of pulses of the output voltage cannot be secured as 15 (n = 2 in equation (1)), the control switches to synchronous PWM control with 9 pulses (n = 1 in equation (1)). Similarly, when the output frequency fz (8000 / 9 ≒ 888.88 Hz) is reached, where the number of pulses of the output voltage cannot be secured as 9 (n = 1 in equation (1)), the control switches to synchronous PWM control with 3 pulses (n = 0 in equation (1)).
[0064] The carrier frequency fc [Hz] in synchronous PWM control is calculated by multiplying the number of pulses Kp by the output frequency fo [Hz] as shown in equation (2).
[0065]
[0066] For example, when the output frequency is 600 Hz, the carrier frequency is 5400 Hz (=9×600).
[0067] Whether the phase of the output voltage command and the phase of the carrier signal are synchronized can be determined by sampling the phase of the output voltage command at periodic timing synchronized with the carrier signal.
[0068] 4 shows the sampling of the phase of the output voltage command synchronized with the carrier signal when the number of pulses Kp is 9 and the synchronous PWM control is performed. v is the phase of the output voltage command. In the example of Fig. 4, sampling is performed at the trough of the triangular wave, which is the carrier signal, but the sampling timing may be changed as appropriate, such as at the crest or zero point of the triangular wave.
[0069] When sampling is set to occur once per cycle of the carrier signal, if the number of pulses in synchronous PWM control is nine, sampling will occur nine times per cycle of the output voltage command, as shown in Figure 4. The numbers 0 to 8 are added as subscripts to identify the nine sampled phases.
[0070] There are several possible definitions of phase synchronization between the output voltage command and the carrier signal, but in this case, we define phase synchronization as a state in which the phase 0 deg of the output voltage command coincides with the zero point during the transition from the peak to the valley of the triangular wave that is the carrier signal, as shown in Figure 4.
[0071] When the phase of the output voltage command and the carrier signal are synchronized, the sampled phase θ of the output voltage command v0 ~θ v8 is uniquely determined. θ when the number of pulses in synchronous PWM control is Kp v0 Synchronous phase θ' v0 is expressed as the following equation (3).
[0072]
[0073] Other θv1 ~θ v8 The synchronous phase of θ can also be calculated, but for any number of pulses in synchronous PWM control, v0 exists (for example, when the number of pulses is 15, θ v0 ~θ v14 However, when the number of pulses is 9, θ v0 ~θ v8 and θ v9 (The following does not exist), the synchronous phase θ' that can be obtained from equation (3) v0 is used as a reference, and this synchronous phase θ' v0 and the actual θ v0 The phase synchronization state is determined based on the error in (detected phase).
[0074] For example, when the number of pulses is 9, the synchronous phase θ' is obtained from equation (3). v0 is 10 deg. The actual θ v0 If the phase error is 10 deg, there is no phase error and the phase is synchronized. v0 If the phase difference is 15 deg, there is a phase error of +5 deg from the synchronized state.
[0075] In the phase correction method of the present invention, when the phase error from the defined synchronous state exceeds a certain threshold, the carrier frequency is changed from an integer multiple of the output frequency in equation (2) to a carrier frequency for phase correction. The phase error threshold, which is the condition for performing phase correction, is given as, for example, ±5 deg.
[0076] Carrier frequency for phase correction f cθ is calculated as in the following equation (4).
[0077]
[0078] However, θ err is the synchronous phase θ' v0 and the actual phase θ v0 and is calculated by the following equation (5):
[0079]
[0080] Phase correction carrier frequency f cθ After Kp cycles of the carrier signal, the carrier frequency fc Return to.
[0081] For example, when the output frequency is 600 Hz and the number of pulses in the synchronous PWM control is 9, the carrier frequency is normally 5400 Hz (= 9 × 600) calculated from equation (2). err becomes +5 deg, the carrier frequency is changed to approximately 5476 Hz, which is the carrier frequency for phase correction calculated from equation (4). After 9 periods of the carrier signal have elapsed since the change, the carrier frequency is returned to 5400 Hz.
[0082] FIG. 5 shows the transition of the carrier frequency by the phase correction method of the present invention. CA indicates the carrier signal, and θv in the lower part indicates the phase of the output voltage command. The number of pulses Kp for synchronous PWM control is set to 9.
[0083] In Fig. 5, during operation at a carrier frequency fc of synchronous PWM control, the time t1 when the phase θv of the output voltage command is 0 deg does not coincide with the time t2 when the carrier signal is at the zero point during the transition from the peak to the valley, and a phase error exists. If the phase error exceeds the threshold for performing phase correction, the carrier frequency f c The carrier frequency f for phase correction calculated from equation (4) cθ At time t5, nine periods of the carrier signal have elapsed since the change, the carrier frequency f calculated from equation (2) is c At this time, as shown at time t4, the phase error has almost disappeared, and the output voltage command and the carrier signal are corrected to be in phase with each other.
[0084] In order to realize the phase correction method of FIG. 5, the phase correction device of the first embodiment includes a phase error detection unit, a first carrier frequency calculation unit, and a carrier frequency setting unit, which will be described next.
[0085] The phase error detection unit detects the phase of the output voltage command of the power converter 1 during operation under synchronous PWM control (detected phase θ obtained by sampling). v0 ) and the synchronous phase θ′ calculated by equation (3) corresponding to the phase of the carrier signal of the carrier frequency in synchronous PWM control. v0 Detect the error with.
[0086] The first carrier frequency calculation unit calculates the detected phase error (θ v0 and θ' v0 When the phase error exceeds a set threshold, a first phase correction carrier frequency f cθ is calculated using equation (4).
[0087] During operation under synchronous PWM control, the carrier frequency setting unit sets the carrier frequency under synchronous PWM control (f c ) is set, and when the detected phase error exceeds the set threshold value, the carrier frequency of the carrier signal is changed to the first phase correction carrier frequency (f in the formula (4)) for a set period (Kp period). cθ ) and change the setting.
[0088] Next, a flowchart of the carrier frequency setting performed by the phase correction device of the first embodiment during operation of the power converter 1 will be described with reference to Fig. 6. In Fig. 6, first, in step S1, it is determined whether operation is under asynchronous PWM control or synchronous PWM control based on the output frequency. If operation is under asynchronous PWM control (if the determination result in step S1 is No), the asynchronous PWM control carrier frequency f' is set in step S2. c Set to.
[0089] When operating under synchronous PWM control (when the determination result in step S1 is Yes), under normal circumstances, an integer multiple (fc) of the output frequency calculated by equation (2) in step S3 is set as the carrier frequency.
[0090] Next, in step S4, it is determined whether or not phase error correction is in progress. If phase error correction is not in progress, in step S5, the phase θ of the output voltage command is calculated to determine the synchronization state. v0 is obtained by sampling (detection phase θ v0 ).
[0091] Next, in step S6, the detected phase θ v0 and the synchronous phase θ' calculated using equation (3) v0If the result of the determination in step S6 is "exceeded," the first phase correction carrier frequency f is calculated by the formula (4) in step S7. cθ In step S8, the carrier frequency is set to the first phase correction carrier frequency f cθ Change the setting to.
[0092] If it is determined in the determination process of step S4 that phase error correction is being performed, it is determined in step S9 whether or not the number of cycles since the start of phase correction is less than Kp.
[0093] While the result of the determination in step S9 is less than the Kp period, the first phase correction carrier frequency f cθ When the Kp period has elapsed (when the result of the determination in step S9 is No), the carrier frequency f is calculated again by the formula (2) in step S10. c Set to.
[0094] By performing phase correction in this manner, even if a phase error occurs between the output voltage command and the carrier signal during operation under synchronous PWM control, the phase synchronization state can be maintained by temporarily changing the carrier frequency.
[0095] 2, to which the present invention is applied, shows an example of the configuration of a power converter 1 having a motor 3 as a load, i.e., a three-phase inverter (DC / AC converter). However, the present invention is not limited to this, and can be applied to loads other than motors, or to single-phase inverters. In other words, the present invention is applicable to all power converters that have a carrier frequency.
[0096] The carrier frequency has an upper limit due to the relationship between the loss and temperature rise of the switching element that occurs during switching, the calculation speed of the control circuit that generates the carrier signal, etc. As in the first embodiment, the first phase correction carrier frequency f cθWhen calculating this, there is a possibility that the upper limit of the carrier frequency, which is limited by the power converter, will be exceeded depending on the output frequency and phase error conditions. As mentioned above, the upper limit of the carrier frequency of the target power converter is assumed to be 8000 Hz. When calculating equation (4) with an output frequency of 880 Hz (number of pulses for synchronous PWM control is 9) and a phase error of +5 degrees, the carrier frequency for phase correction will be approximately 8031 Hz, which exceeds the upper limit.
[0097] Therefore, in the second embodiment, the phase is corrected to prevent the carrier frequency of the power converter from exceeding the upper limit. That is, when the calculation result of equation (4) exceeds the upper limit of the carrier frequency, the carrier frequency for phase correction is recalculated using the following equation (6).
[0098]
[0099] Phase error θ err is calculated by the above-mentioned formula (5) in the same way as formula (4).
[0100] When the carrier frequency for phase correction is calculated using equation (6) with an output frequency of 880 Hz and a phase error of +5 degrees, the result is approximately 7139 Hz, which does not exceed the 8000 Hz upper limit of the power converter's carrier frequency. After (Kp-1) cycles of the carrier signal, the carrier frequency is returned to the carrier frequency calculated using equation (2). The timing for returning from the carrier frequency for phase correction to the original carrier frequency, which is an integer multiple of the output frequency, differs between when equation (4) is applied, after Kp cycles of the carrier signal, and when equation (6) is applied, after (Kp-1) cycles of the carrier signal. Therefore, it is necessary to provide a discrimination flag or the like to determine which equation is used to determine the carrier frequency calculated using which equation phase correction is being performed.
[0101] In order to realize the above phase correction method, the phase correction device of the second embodiment includes a phase error detection unit, a first carrier frequency calculation unit, a second carrier frequency calculation unit, and a carrier frequency setting unit, which will be described next.
[0102] As in the first embodiment, the phase error detection unit detects the phase of the output voltage command of the power converter 1 operating under synchronous PWM control (detected phase θ obtained by sampling). v0) and the synchronous phase θ′ calculated by equation (3) corresponding to the phase of the carrier signal of the carrier frequency in synchronous PWM control. v0 Detect the error with.
[0103] The first carrier frequency calculation unit calculates the detected phase error (θ v0 and θ' v0 When the phase error exceeds a set threshold, a first phase correction carrier frequency f cθ is calculated using equation (4).
[0104] The second carrier frequency calculation unit determines whether the first phase correction carrier frequency calculated by the formula (4) exceeds the upper limit of the carrier frequency of the power converter 1, and if the upper limit is exceeded, calculates a second phase correction carrier frequency (f in the formula (6)) that does not exceed the upper limit of the carrier frequency of the power converter to correct the phase error. cθ ) is calculated.
[0105] The carrier frequency setting unit sets the first phase correction carrier frequency (f cθ ) does not exceed the upper limit of the carrier frequency of the power converter, the carrier frequency of the carrier signal is set to the first phase correction carrier frequency (f in the formula (4)) for a set period (Kp period). cθ ), and if the first phase correction carrier frequency exceeds the upper limit of the carrier frequency of the power converter, the carrier frequency of the carrier signal is changed to the second phase correction carrier frequency (f in equation (6)) for a set period (Kp-1 cycles). cθ ) and change the setting.
[0106] Next, a flowchart of the carrier frequency setting performed by the phase correction device of the second embodiment during operation of the power converter 1 will be described with reference to FIG. 7. In FIG. 7, steps S1 to S7 are the same as steps S1 to S7 in FIG. 6. That is, first, in step S1, it is determined whether operation is under asynchronous PWM control or synchronous PWM control based on the output frequency. If operation is under asynchronous PWM control (if the determination result in step S1 is No), the asynchronous PWM control carrier frequency f' is set in step S2. c Set to.
[0107] When operating under synchronous PWM control (when the determination result in step S1 is Yes), under normal circumstances, an integer multiple (fc) of the output frequency calculated by equation (2) in step S3 is set as the carrier frequency.
[0108] Next, in step S4, it is determined whether or not phase error correction is in progress. If phase error correction is not in progress, in step S5, the phase θ of the output voltage command is calculated to determine the synchronization state. v0 is obtained by sampling (detection phase θ v0 ).
[0109] Next, in step S6, the detected phase θ v0 and the synchronous phase θ' calculated using equation (3) v0 If the result of the determination in step S6 is "exceeded," the first phase correction carrier frequency f is calculated by the formula (4) in step S7. cθ Ask for.
[0110] Next, in step S21, it is determined whether the first phase correction carrier frequency calculated in step S7 exceeds the upper limit carrier frequency of the power converter. If the determination result in step S21 is Yes, in step S22, the second phase correction carrier frequency (f cθ ) is calculated, and in step S23, the second phase correction carrier frequency (f cθ ) is set.
[0111] If the result of the determination in step S21 is No (if the first phase correction carrier frequency does not exceed the upper limit carrier frequency of the power converter), the first phase correction carrier frequency f cθ is set.
[0112] If the result of the determination in step S4 is No (if phase error correction is in progress), it is determined in step S24 whether or not it has been less than Kp or Kp-1 periods since the start of phase error correction.
[0113] In this step S24, a discrimination flag is provided to determine whether phase correction is being performed by applying the first phase correction carrier frequency of equation (4) or the second phase correction carrier frequency of equation (6). If phase correction is being performed using equation (4), it is determined whether the period is less than Kp, and if phase correction is being performed using equation (6), it is determined whether the period is less than Kp-1.
[0114] If the result of the determination in step S24 is Yes, the process returns to step S23. If the result is No (Kp or Kp-1 periods have elapsed), the carrier frequency f calculated by equation (2) is calculated again in step S25. c Set to.
[0115] When the calculation result of equation (4) exceeds the upper limit of the carrier frequency of the power converter as in the first embodiment, if the carrier frequency is limited by that upper limit, for example, phase correction will not be performed accurately. In the second embodiment, a second carrier frequency for phase correction that does not exceed the upper limit of the carrier frequency is set, so that phase correction will be performed accurately.
[0116] In the first embodiment, the first phase correction carrier frequency f cθ The threshold for the change is a phase error of ±5 degrees, but if the output frequency fluctuates, a large phase error may occur. In such a case, the carrier frequency (f c ) and the first phase correction carrier frequency (f cθ If the change in carrier frequency is large, an excessive current (current shock) will flow when the carrier frequency is switched.
[0117] Therefore, in the third embodiment, a limit is set on the change width of the carrier frequency, and the phase is corrected while suppressing the current shock. c and the first phase correction carrier frequency f cθ The difference between these two is a certain threshold f lim If it is greater than the (variation width limit value) [Hz], the variation width is set to f limIn order to limit the carrier frequency f' in the following equation (7), cθ (third phase correction carrier frequency).
[0118]
[0119] However, f in equation (7) c_z is the currently set carrier frequency. lim Whether to add or subtract f c_z and the first phase correction carrier frequency f cθ is determined as shown in the following equation (8) depending on the magnitude relationship between
[0120]
[0121] For example, the variation limit value f lim = 500 Hz. Suppose that when operating at a carrier frequency of 2700 Hz calculated from equation (2), the first phase correction carrier frequency calculated from equation (4) is 3600 Hz. The difference between 2700 Hz and 3600 Hz is 900 Hz, which exceeds the change width limit of 500 Hz. In this case, the carrier frequency is changed to 3200 Hz (= 2700 + 500) calculated from equation (7).
[0122] After Kp cycles of the carrier signal, the carrier frequency f calculated by equation (2) c At this time, if the phase error between the output voltage command value and the carrier signal still exceeds the threshold value of ±5°, the carrier frequency for the first phase correction is calculated using equation (4). At this time, a determination is also made as to whether the change range of the carrier frequency exceeds the change range limit value of 500 Hz. Thereafter, this process is repeated until a phase correction is performed such that the phase error is equal to or less than the threshold value.
[0123] To achieve the above phase correction, the phase correction device of the third embodiment includes a phase error detection unit, a first carrier frequency calculation unit, a third carrier frequency calculation unit, and a carrier frequency setting unit, which will be described next.
[0124] As in the first embodiment, the phase error detection unit detects the phase of the output voltage command of the power converter 1 operating under synchronous PWM control (detected phase θ obtained by sampling). v0 ) and the synchronous phase θ′ calculated by equation (3) corresponding to the phase of the carrier signal of the carrier frequency in synchronous PWM control. v0 Detect the error with.
[0125] The first carrier frequency calculation unit calculates the detected phase error (θ v0 and θ' v0 When the phase error exceeds a set threshold, a first phase correction carrier frequency f cθ is calculated using equation (4).
[0126] The third carrier frequency calculation unit calculates the first phase correction carrier frequency f cθ and the carrier frequency f set in the carrier frequency setting unit c_z The difference between the set variation limit value f lim If the carrier frequency exceeds the variation width limit value, the carrier frequency set in the carrier frequency setting unit is adjusted to the variation width limit value f lim to obtain the third phase correction carrier frequency f′. cθ The detected phase error exceeds the set threshold value, but the first phase correction carrier frequency f cθ and the carrier frequency set in the carrier frequency setting unit is the change width limit value f lim If the carrier frequency of the carrier signal does not exceed the first phase correction carrier frequency f cθ When the detected phase error exceeds the set threshold value and the difference between the first phase correction carrier frequency and the carrier frequency set in the frequency setting unit is equal to or greater than the change width limit value f lim If the carrier frequency of the carrier signal exceeds the third phase correction carrier frequency f', cθ Change the setting to.
[0127] Next, a flowchart of the carrier frequency setting performed by the phase correction device of the third embodiment during operation of the power converter 1 will be described with reference to Figure 8. In Figure 8, steps S1 to S7 are the same as steps S1 to S7 in Figure 6. That is, first, in step S1, it is determined whether operation is under asynchronous PWM control or synchronous PWM control based on the output frequency. If operation is under asynchronous PWM control (if the determination result in step S1 is No), the asynchronous PWM control carrier frequency f' is set in step S2. c Set to.
[0128] When operating under synchronous PWM control (when the determination result in step S1 is Yes), under normal circumstances, an integer multiple (fc) of the output frequency calculated by equation (2) in step S3 is set as the carrier frequency.
[0129] Next, in step S4, it is determined whether or not phase error correction is in progress. If phase error correction is not in progress, in step S5, the phase θ of the output voltage command is calculated to determine the synchronization state. v0 is obtained by sampling (detection phase θ v0 ).
[0130] Next, in step S6, the detected phase θ v0 and the synchronous phase θ' calculated using equation (3) v0 If the result of the determination in step S6 is "exceeded," the first phase correction carrier frequency f is calculated by the formula (4) in step S7. cθ Ask for.
[0131] Next, in step S31, the currently set carrier frequency f c_z and the first phase correction carrier frequency f cθ The difference is the variation limit value f lim It is determined whether or not the value exceeds the threshold.
[0132] If the result of the determination in step S31 is that the frequency is exceeded, in step S32, the currently set carrier frequency f c_z The change range limit value f lim The third phase correction carrier frequency f′ is obtained by adding or subtracting cθ(Equations (7) and (8)) are calculated, and the currently set carrier frequency is stored in step S33 (f c_z (Substitute into ).
[0133] If the determination result in step S4 is No (if the phase error correction is being performed), it is determined in step S34 whether or not the period from the start of the phase correction is less than Kp periods. If the determination result in step S34 is Yes, or if the determination result in step S31 is No (f c_z and f cθ The difference is f lim , the first phase correction carrier frequency f cθ or a third phase correction carrier frequency f' cθ After being set, it is stored as the currently set carrier frequency in step S33.
[0134] If the result of the determination in step S34 is No (if the Kp period has elapsed), the carrier frequency f is calculated again by equation (2) in step S36. c Set to.
[0135] As in Example 1, if the calculation result of Equation (4) is significantly different from the currently set carrier frequency, a current shock may occur. In Example 3, by setting a limit on the range of change in the carrier frequency, phase correction can be performed while suppressing a current shock.
[0136] 1... Power converter 2... PWM controller 3... Motor 4 U , 4 V , 4 W ...current sensor 5...uvw / dq converter 6 D , 6 Q ...Subtractor 7...Current controller 8...dq / uvw converter
Claims
1. A phase correction device for synchronous PWM control, in a single-phase or three-phase power converter in which synchronous PWM control is performed to synchronize the phase of an output voltage command and a carrier signal, comprising: a phase error detection unit that detects an error between the phase of an output voltage command of the power converter operating under synchronous PWM control and the phase of a carrier signal of a carrier frequency in the synchronous PWM control; a first carrier frequency calculation unit that calculates a first phase correction carrier frequency to correct the phase error when the detected phase error exceeds a set threshold; and a carrier frequency setting unit that sets a carrier frequency in the synchronous PWM control during operation under synchronous PWM control, and changes the carrier frequency of the carrier signal to the first phase correction carrier frequency for a set period when the detected phase error exceeds a set threshold.
2. A phase correction device for synchronous PWM control as described in claim 1, further comprising a second carrier frequency calculation unit that determines whether the calculated first phase correction carrier frequency exceeds an upper limit of the carrier frequency of the power converter, and if the upper limit is exceeded, calculates a second phase correction carrier frequency that does not exceed the upper limit of the carrier frequency of the power converter and corrects the phase error, wherein the carrier frequency setting unit changes the carrier frequency of the carrier signal to the first phase correction carrier frequency for a set period if the first phase correction carrier frequency does not exceed the upper limit of the carrier frequency of the power converter, and changes the carrier frequency of the carrier signal to the second phase correction carrier frequency for a set period if the first phase correction carrier frequency exceeds the upper limit of the carrier frequency of the power converter.
3. A phase correction device for synchronous PWM control as claimed in claim 1, further comprising a third carrier frequency calculation unit which determines whether or not the difference between the calculated first phase correction carrier frequency and the carrier frequency set in the carrier frequency setting unit exceeds a set change width limit value, and if the difference exceeds the change width limit value, calculates a third phase correction carrier frequency by adding or subtracting the change width limit value to the carrier frequency set in the carrier frequency setting unit, wherein the carrier frequency setting unit changes the carrier frequency of the carrier signal to the first phase correction carrier frequency for a set period when the detected phase error exceeds a set threshold value but the difference between the first phase correction carrier frequency and the carrier frequency set in the carrier frequency setting unit does not exceed the change width limit value, and changes the carrier frequency of the carrier signal to the third phase correction carrier frequency for a set period when the detected phase error exceeds a set threshold value and the difference between the first phase correction carrier frequency and the carrier frequency set in the frequency setting unit exceeds the change width limit value.
4. The carrier frequency setting unit has a carrier frequency fc=Kp×f in synchronous PWM control. 0 (Kp is the number of pulses of the carrier signal per cycle of the output voltage command, f 0 is the output frequency of the power converter), and the phase error detection unit detects a synchronous phase θ′ of the phase at a reference point set by the output voltage command when the phase of the output voltage command and the phase of the carrier signal are synchronized and the number of pulses is Kp. v0 is defined by the following equation (3): A detected phase θ at the reference point set in the output voltage command v0 and the synchronous phase θ′ defined in the above equation (3). v0 and the first carrier frequency calculation unit calculates a first phase correction carrier frequency f by the following equations (4) and (5). cθ Calculate (However, θ err is the synchronous phase θ' v0 and detection phase θ v0 2. The synchronous PWM control phase correction device according to claim 1, wherein a period during which the carrier frequency setting unit changes the setting to the first phase correction carrier frequency is a Kp period of the carrier signal.
5. The carrier frequency setting unit has a carrier frequency fc=Kp×f in synchronous PWM control. 0 (Kp is the number of pulses of the carrier signal per cycle of the output voltage command, f 0 is the output frequency of the power converter), and the phase error detection unit detects a synchronous phase θ′ of the phase at a reference point set by the output voltage command when the phase of the output voltage command and the phase of the carrier signal are synchronized and the number of pulses is Kp. v0 is defined by the following equation (3): A detected phase θ at the reference point set in the output voltage command v0 and the synchronous phase θ′ defined in the above equation (3). v0 and the first carrier frequency calculation unit calculates a first phase correction carrier frequency f by the following equations (4) and (5). cθ Calculate (However, θ err is the synchronous phase θ' v0 and detection phase θ v0 The second carrier frequency calculation unit calculates the second phase correction carrier frequency (f cθ ) is calculated, (However, θ err is the synchronous phase θ' v0 and detection phase θ v0 The synchronous PWM controlled phase correction device according to claim 2, characterized in that in the carrier frequency setting unit, a period during which the setting is changed to the first phase correction carrier frequency is a Kp period of the carrier signal, and a period during which the setting is changed to the second phase correction carrier frequency is a (Kp-1) period of the carrier signal.
6. The carrier frequency setting unit has a carrier frequency fc=Kp×f in synchronous PWM control. 0 (Kp is the number of pulses of the carrier signal per cycle of the output voltage command, f 0 is the output frequency of the power converter), and the phase error detection unit detects a synchronous phase θ′ of the phase at a reference point set by the output voltage command when the phase of the output voltage command and the phase of the carrier signal are synchronized and the number of pulses is Kp. v0 is defined by the following equation (3): A detected phase θ at the reference point set in the output voltage command v0 and the synchronous phase θ′ defined in the above equation (3). v0 and the first carrier frequency calculation unit calculates a first phase correction carrier frequency f by the following equations (4) and (5). cθ Calculate (However, θ err is the synchronous phase θ' v0 and detection phase θ v0 The third carrier frequency calculation unit calculates the third phase correction carrier frequency f' by the following equation (7): cθ Calculate (However, c_z is the carrier frequency currently set in the carrier frequency setting section, f lim is the carrier frequency change range limit value) f in the above formula (7) lim The addition or subtraction is determined based on the magnitude relationship of the following equation (8):
4. The synchronous PWM control phase correction device according to claim 3, wherein the period during which the carrier frequency setting unit changes the setting to the first phase correction carrier frequency and the period during which the carrier frequency setting unit changes the setting to the third phase correction carrier frequency are both a Kp period of the carrier signal.
7. A phase correction method for synchronous PWM control in a single-phase or three-phase power converter in which synchronous PWM control is performed to synchronize the phase of an output voltage command and a carrier signal, comprising: a phase error detection step in which a phase error detection unit detects an error between the phase of an output voltage command of the power converter operating under synchronous PWM control and the phase of a carrier signal having a carrier frequency in synchronous PWM control; a first carrier frequency calculation step in which a first carrier frequency calculation unit calculates a first phase correction carrier frequency for correcting the phase error when the detected phase error exceeds a set threshold; a carrier frequency setting unit calculates and sets a carrier frequency in synchronous PWM control during operation under synchronous PWM control, and a carrier frequency setting change step in which, when the phase error detected in the phase error detection step exceeds a set threshold, the carrier frequency of the carrier signal is changed to the first phase correction carrier frequency for a set period.
8. A phase correction method for synchronous PWM control as claimed in claim 7, characterized in that the second carrier frequency calculation unit comprises a second carrier frequency calculation step of determining whether or not the calculated first phase correction carrier frequency exceeds an upper limit of the carrier frequency of the power converter, and if the upper limit is exceeded, calculating a second phase correction carrier frequency that does not exceed the upper limit of the carrier frequency of the power converter and corrects the phase error, and the carrier frequency setting change step changes the carrier frequency of the carrier signal to the first phase correction carrier frequency for a set period if the first phase correction carrier frequency does not exceed the upper limit of the carrier frequency of the power converter, and changes the carrier frequency of the carrier signal to the second phase correction carrier frequency for a set period if the first phase correction carrier frequency exceeds the upper limit of the carrier frequency of the power converter.
9. A phase correction method for synchronous PWM control according to claim 7, further comprising a third carrier frequency calculation step in which a third carrier frequency calculation unit determines whether or not a difference between the calculated first phase correction carrier frequency and the carrier frequency set in the carrier frequency setting unit exceeds a set change width limit value, and if the change width limit value is exceeded, calculates a third phase correction carrier frequency by adding or subtracting the change width limit value to the carrier frequency set in the carrier frequency setting unit, and the carrier frequency setting change step changes the carrier frequency of the carrier signal to the first phase correction carrier frequency for a set period when the detected phase error exceeds a set threshold value but the difference between the first phase correction carrier frequency and the carrier frequency set in the carrier frequency setting unit does not exceed the change width limit value, and changes the carrier frequency of the carrier signal to the third phase correction carrier frequency for a set period when the detected phase error exceeds a set threshold value and the difference between the first phase correction carrier frequency and the carrier frequency set in the frequency setting unit exceeds the change width limit value.
Citation Information
Patent Citations
Motor drive control device
JP2010098868A
Motor control device, mechatronics unit, electric vehicle system, motor control method
JP2021170891A
Control device and control method for alternating current motor
WO2010137162A1
