Disclosure of Invention
Therefore, in order to overcome the above-mentioned drawbacks of the prior art, the present invention provides a frequency-invariant spreading method and a frequency-invariant spreading system.
In order to achieve the above object, the present invention provides a frequency invariant spreading method, comprising: acquiring a control frequency and a pulse frequency, and determining a doubling value between a control period and a pulse period; randomly generating a first switching period; and determining the remaining period according to the control period when the control frequency is unchanged.
In one embodiment, when the multiple N is 2, a first switching period, Tpwm, is randomly generated 0 (k)=(1+α·k sp ) Ts, where α is a random number between-1 and 1, k sp To spread the frequency coefficient, Tpwm 0 (k) Is the first switching period, Ts is the pulse period; the second period satisfies the condition of constant control frequency, Tpwm 1 (k)=Tctrl-Tpwm 0 (k),Tpwm 1 (k) For the second switching period, Tctrl is the control period.
In one embodiment, when the multiple N is greater than 2, a first switching period, Tpwm, is randomly generated 0 (k)=(1+α·k sp ) Ts, where α is a random number between-1 and 1, k sp For spreading factor, Tpwm 0 (k) Is a first switching period, Ts is a pulse period; repeating the above steps until generating the N-1 switching period(ii) a Under the condition of constant control frequency, Tpwm n-1 (k)=Tctrl-Tpwm 0 (k)-…-Tpwm n-2 (k),Tpwm n-2 (k) Is the N-1 switching period, and Tctrl is the control period.
A spread spectrum system comprising: an inverter unit for outputting a current; the current sampling module is used for collecting a current value output by the inverter unit; the coordinate transformation module is used for converting three-phase current into two-phase current; a current controller for outputting a command voltage; and the PWM modulation module is used for adjusting the control period of the current signal according to the command voltage, so that the control period comprises at least two pulse periods, wherein the adjusting method is the above spread spectrum method.
Compared with the prior art, the invention has the advantages that: the control frequency is kept constant during the spreading process, so that the system parameters do not need to be changed in real time. And the bandwidth range of the switching period is random PWM frequency; in addition, the pulse period and the corresponding control frequency of the whole system are kept unchanged, and the complexity of the system is low. The whole system can effectively reduce EMI interference, control loops and related parameters can be kept unchanged, control performance is not affected by spread spectrum, and the system has high practical engineering value.
Detailed Description
The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
The embodiments of the present disclosure are described below with specific examples, and other advantages and effects of the present disclosure will be readily apparent to those skilled in the art from the disclosure in the specification. It is to be understood that the described embodiments are merely illustrative of some, and not restrictive, of the embodiments of the disclosure. The disclosure may be embodied or carried out in various other specific embodiments, and various modifications and changes may be made in the details within the description without departing from the spirit of the disclosure. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
It is noted that various aspects of the embodiments are described below within the scope of the appended claims. It should be apparent that the aspects described herein may be embodied in a wide variety of forms and that any specific structure and/or function described herein is merely illustrative. Based on the disclosure, one skilled in the art should appreciate that one aspect described herein may be implemented independently of any other aspects and that two or more of these aspects may be combined in various ways. For example, an apparatus may be implemented and/or a method practiced using any number of the aspects set forth herein. Additionally, such an apparatus may be implemented and/or such a method may be practiced using other structure and/or functionality in addition to one or more of the aspects set forth herein.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present disclosure, and the drawings only show the components related to the present disclosure rather than the number, shape and size of the components in actual implementation, and the type, amount and ratio of the components in actual implementation may be changed arbitrarily, and the layout of the components may be more complicated.
In addition, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects may be practiced without these specific details.
As shown in fig. 1, an embodiment of the present disclosure provides a spread spectrum system, which includes an inverter unit 1, a current sampling module 2, a coordinate transformation module 3, a current controller 4, and a PWM modulation module 5.
An inverter unit 1 for outputting a current.
And the current sampling module 2 is used for acquiring a current value output by the inverter unit.
And the coordinate transformation module 3 is used for converting the three-phase current into the two-phase current.
And a current controller 4 for outputting a command voltage.
And the PWM module 5 is used for adjusting the control period of the current signal according to the command voltage, so that the control period comprises at least two pulse periods. The PWM modulation module 5 may randomly change the PWM frequency/PWM period.
The output current of the inverter unit 1 is obtained by sampling through the current sampling module 2, and after passing through the coordinate transformation module 3, the current controller module 4 outputs instruction voltage to the PWM modulation module 5, and the modulation module outputs PWM signals. The PWM signal is a pulse width modulated signal. The current sampling module 2, the coordinate transformation module 3 and the current controller 4 operate in a control period Tctrl, and the modulation module 5 operates in a PWM period Tpwm. As shown in fig. 2, in the system with a fixed PWM frequency, Tpwm is Ts, and Ts is the pulse period.
The PWM modulation module 5 modulates the PWM period by using a frequency invariant spread spectrum method, which includes the steps of:
acquiring a control frequency and a pulse frequency, and determining a doubling value between a control period and a pulse period;
randomly generating a first switching period;
and determining the remaining period according to the control period when the control frequency is unchanged.
Therefore, the control frequency can be kept unchanged, the current sampling module 2, the coordinate transformation module 3 and the current controller 4 do not need to be adjusted due to introduction of spread spectrum, and the system complexity is low.
The method and the system enable the control frequency to be kept unchanged in the process of frequency spreading, so that system parameters do not need to be changed in real time. And the bandwidth range of the switching period is random PWM frequency; in addition, the pulse period and the corresponding control frequency of the whole system are kept unchanged, and the complexity of the system is low. The whole system can effectively reduce EMI interference, control loops and related parameters can be kept unchanged, control performance is not affected by spread spectrum, and the system has high practical engineering value.
In one embodiment, when the multiplication value N is 2, the PWM modulation module 5 randomly generates a first switching period, Tpwm 0 (k)=(1+α·k sp ) Ts, where α is a random number between-1 and 1, k sp For spreading factor, Tpwm 0 (k) Is the first switching period of the kth control period in the control loop, k is a constant, and Ts is a pulse period;
the second period satisfies the condition of constant control frequency, Tpwm 1 (k)=Tctrl-Tpwm 0 (k),Tpwm 1 (k) Tctrl is the control period for the second switching period of the kth control period in the control loop.
In one embodiment, when the multiplication value N is greater than 2, the PWM modulation module 5 randomly generates a first switching period, Tpwm 0 (k)=(1+α·k sp ) Ts, where α is a random number between-1 and 1, k sp For spreading factor, Tpwm 0 (k) The first switching period is the kth control period, and Ts is a pulse period;
repeating the steps until an N-1 switching period is generated;
under the condition of constant control frequency, Tpwm n-1 (k)=Tctrl-Tpwm 0 (k)-…-Tpwm n-2 (k),Tpwm n-2 (k) Is the (N-1) th switching period of the kth control period, and Tctrl is the control period.
The above description is only for the specific embodiments of the present disclosure, but the scope of the present disclosure is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present disclosure should be covered within the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.