The present invention generally relates to a system and method for providing sensor-less hysteresis current control of permanent magnet synchronous generators without information of rotor position. In operation, a zero-crossing algorithm in conjunction with a switching pattern is utilized to control a permanent magnet generator.
There is a wide spread use of brushless direct current three-phase motors in applications wherein reliability and high efficiency are required. Critical to the operation and use of brushless motors is driving and controlling the motors to effectively reduce variations from one revolution to the next thus making the output of the PM machines more stable, efficient and precise.
Permanent magnet brushless electrical machines, have a permanent magnet rotor and a stator comprising a plurality of phase winding that may be independent or coupled in a variety of configurations. Typically, brushless electrical machines are three-phase motors and incorporate a driving circuit comprising integrated circuits to power the phase windings and in some instances may include an inverter bridge architecture or a full-bridge architecture. It should be understood that the discussions herein are equally applicable to electrical machines with varied winding and/or different connection schemes.
Ordinarily, in the actuation of permanent magnet electrical machines, it is necessary to detect the position of the machine's rotor in respect to the stator. This is achieved by sensors that are physically (in the case of an optical encoder) or electromagnetically (in the case of Hall Effect or electromagnetical resolver sensors), coupled to the rotor. Alternatively, the position may be detected by observing the voltages induced (phase back electromagnetic force EMF) to the coils of the machine. The detection of the rotor position enables a control system to select the phases of the motor that would be actuated at a given moment in time to thereby produce torque.
Torque control may be implemented by controlling the voltage applied to the machine or by current hysteresis. Current hysteresis control involves the application of a median current to phases of the machine that are selected by a controller to be actuated. The current is essentially controlled by a comparator with hysteresis which turns off a selected power switch when the current reaches a maximum value and turns on said selected power switch when the current reaches a minimum value. This operation generates a voltage modulation signal, with a variable switching frequency, maintains the current at an approximate reference value (therefore the torque) which may be adjusted to maintain a constant motor speed. This type of control has a drawback in that it is complex to implement with microcontroller systems as it requires rotor position information, an analog-to-digital converter and a powerful microcontroller that needs to have as high a switching frequency as possible in order to achieve low-ripple current waveform.
Voltage control involves the application of a voltage value to the permanent magnet machine phases that are selected by a controller to be actuated. The voltage is modulated by a pulse width modulated (PWM) signal/switching frequency that is generated by a timer. The control unit selects and turns on and off switches during the period in which the machines phases are fed with voltage from a power source. By varying the period between the closed switch period and the switching period, the mean voltage value on the machine's phases may be varied. Traditionally such control systems have a PWM with a fixed switching frequency and a switch conduction period (also known as duty cycle) that is adjusted based on the controllable value: speed, torque, etc. This aspect of the control, limits its application to situations where loads do not vary widely, as the reaction time of the control is quite slow, albeit simple and thus suitable for microcontroller based systems. Further, this control also requires rotor position information in order to be implemented.
In summary, currently available systems utilize information of the rotor position with respect to the stator. The problem with all of the existing systems is that the permanent magnet generator is not optimally controlled, because phase current and back EMF are not aligned, due to lack of current control and the rotor position feedback techniques result in excessive reactive power use thereby reducing the capacity of the generator and making the generator prone to over-heating.
What is needed is a robust and efficient solution that can be universally implemented without the drawbacks described above. A solution that provides a sensor-less control with a switching technique that has a variable frequency and does not require a prediction of the switching would enable better generator control. While other sensor-less control strategies exist that do not look at the OFF time of the switches, such systems rely on filtering of phase voltage signals which introduces phase lag of the rotor position. Exclusion of hardware filtering and provision of software correction of rotor position based on zero-crossing signal would avoid the short comings of current systems and would be advantageous, especially because it uses simple six-step switching pattern, but not complex field oriented control principles that require three phase into two phase transformation (abc into dq system).
The present invention fulfills these as well as other needs.
In order to overcome the above stated problems, the present invention provides, in one aspect, a method programmed in a computing environment for current control of a permanent magnet generator utilizing brushless direct current switching without position sensing of the rotor position relative to the stator of the generator.
According to another aspect of the present invention, a microcontroller having one or more input/output ports is adapted to define feedback signal readings including current and phase voltage zero-crossing events for input to the input/output ports, and to define output signals including gate control signals to operate power switches that control the output voltage of the generator.
In a further aspect of the present invention, a synchronization sequence is provided to detect a zero-crossing event from any one phase voltage signal of the generator output. The present invention calculates a time period between the active and inactive status of said phase voltage signal, determines switch patterns and controls the generator outputs by utilizing current hysteresis control wherein switch settings are applied to control phase current and torque of the generator, and wherein said switch settings are non-predictable i.e. they depend on the generator's load, and occur at varied frequency.
Additional benefits of the above described system and method for providing sensor-less hysteresis current control of permanent magnet synchronous generators without direct information (position sensor) of rotor position are set forth in the following discussion.
The above-mentioned and other features and advantages of this invention, and the manner of attaining them, will become apparent and be better understood by reference to the following description of the invention in conjunction with the accompanying drawings, wherein:
Generally, the systems, components and methods described herein for providing sensor-less hysteresis current control of PM generators according to the present invention may be implemented in a variety of hardware, software or combinations thereof.
The present invention applies the six-step BLDC switching scheme and controls the current and torque of the PM generator without obtaining continuous information/feedback signals of the rotor position relative to the stator of the generator. The sensor-less hysteresis current control concept of the present invention features two components namely, a zero-crossing algorithm and a switching pattern.
An exemplary hardware configuration for implementing the control concept of the present invention is illustrated in
The DC link capacitors 104a, 104b are connected in series across terminals DC+ and DC−. A connection 111 between the capacitors 104a and 104b provides half of the direct output voltage Vdc/2 from the DC link, i.e. DC+/2, to a voltage sensor 112. The second leg of the voltage sensor 112 is connected to DC-, to thereby enable voltage sensor 112 to detect one half of the output DC voltage i.e. Vdc/2. The output 113 of the voltage sensor 112 (Vdc/2) is operatively connected to the negative terminal of each of the op amps 110a, 110b and 110c, to derive zero-crossing signals A_out, B_out and C_out.
Output currents Ia, Ib and Ic from each of the phases A, B, C of the permanent magnet generator 102 along with the zero-crossing signals A_out, B_out and C_out are provided to a microcontroller 114 as inputs. The microcontroller 114, utilizing these input signals, provides output signals to activate or deactivate each of the switches S1, S2, S3, S4, S5 and S6.
In operation, the microcontroller 114 takes feedback signals from the permanent magnet generator 102 and the voltage sensors 108/op-amp 110 circuits. As illustrated, the three op-amp circuits 110 are used to compare phase voltage signals Va, Vb and Vc of the PM generator 102 against half of the DC link voltage Vdc/2, to thereby determine a zero-crossing event for any of the phases A, B, or C.
A zero-crossing algorithm determines the zero-crossing sequence of the inactive phase voltage of the permanent magnet generator 102. The inactive phase voltage represents the generator's output of a particular phase which is not conducting any current at the particular moment in time, while the other two phases are active (i.e. conducting current). Triggered by the zero-crossing event of the inactive phase, the microcontroller 114 determines the point at which the inactive phase is activated. A delay which is defined herein as the sequence between the zero-crossing event and the activation of a phase enables the microcontroller 114 to set a switching pattern.
The switching pattern represents the sequence in which the power switches S1, S2, S3, S4, S5 and S6 are activated/deactivated during one electrical revolution (360 electrical degrees) of the PM generator.
Hysteresis current control can be achieved either by using 3-phase current sensors in each of the generator's phase, therefore sensing currents: Ia, Ib and Ic, or by using one current sensor in DC link and sensing only DC link current: Idc. The effect of hysteresis current control is the same, whichever of two mentioned options in utilized.
A representation of the phase voltage signal for a single phase of the permanent magnet generator 102 outputs Va, Vb or Vc, its zero-crossing and corresponding switch setting is illustrated in the timing diagrams 200 of
As previously described, the present invention utilizes a combination of hardware and software to implement the zero-crossing algorithm and switching pattern. The software aspect of the invention is best described with reference to the flow diagram 300 of
For purpose of illustration only and not limitation, the present invention may be described as having four distinct sequences, namely generator unloaded, wake-up, synchronization, and regular sensor-less operation. The first three sequences may be considered the preparatory sequences for the regular sensor-less operation sequence. Before things get initiated, at step 302, signals A_out 328, B_out 330, C_out 332 and current signals Ia, Ib, Ic from the permanent magnet generator 102 are connected to the microcontroller 114 to provide the required input signals.
Turning initially to the first sequence of operations—unloading sequence, the generator 102 is initially in an unloaded state until the generator starts spinning, as shown at step 304. Also within the unloading sequence, at step 306 the 3 phase back EMFs begin to create phase currents Ia, Ib, and Ic that charge up the DC link voltage capacitors 104a, 104b. At step 308, once the DC link voltage across the capacitors goes above zero, signals A_out 328, B_out 330, C_out 332 are collected and utilized by the algorithm of the present invention. To explain further, an initialization sequence is performed when the generator first starts spinning. During this sequence, the system initializes the input/output ports of the microcontroller 114 and defines various feedback signal readings such as current and zero-crossing events, as well as output signals such as the signals for controlling the gate switches S1, S2, S3, S4, S5 and S6.
In the next sequence (i.e., wake-up sequence), which begins at step 310, a first timer 336 (Timer1) measures the time between two zero-crossings of all three phases, utilizing the signals A_out 328, B_out 330, and C_out 332. The measured time from Timer1 336 is utilized to provide a 60 electrical degree interrupt signal for a second timer 338 (Timer2), at step 312. This process may be described as providing a settling time delay of approximately one second following the initialization sequence.
The synchronization sequence follows next and begins with an initial wait at step 314 for the rising edge of a first phase (Phase A). Upon the occurrence of the rising edge of phase A, Timer2 338 is triggered at step 316. Timer2 338 is utilized for a thirty electrical degree delay. Following the delay, an interrupt driven by timer2 338 initiates the execution of the previously described switching pattern, beginning with phase A. In effect, the synchronization sequence performs as follows: During the passive rectification mode of the permanent magnet generator 102, the control system 100 checks the zero-crossing events originating from each of the phase outputs A_out 328, B_out 330, C_out 332 of the PM generator 102. On the occurrence of a zero-crossing event for a particular phase e.g. phase A, the microcontroller 114 calculates and determines the time period until that particular inactive phase (phase A) becomes active again. At this point, the microcontroller 114 sets an appropriate switch pattern. The ongoing process of switching patterns represents the regular sensor-less operation and hysteresis current control of the present invention.
The regular sensor-less operation sequence begins at step 320 with timer1 336 sensing zero-crossings on the inactive phase. Timer 336 serves to calculate sixty (60) electrical degrees and trigger timer2 338, which enables a thirty (30) electrical degree delay, at step 322. Following each interrupt, the switching pattern is continued at step 324. Switches S1-S6 are set to execute hysteresis current control at step 326. One switching cycle 3401.e. one electrical revolution, involves various patterns of switch settings 400 as shown in
As shown in
In one embodiment of the present invention, during regular operation, following the synchronization of the system 100, the system determines the correct switching pattern for the switches S1, S2, S3, S4, S5, S6 and also chooses the inactive phase in which to observe the next zero-crossing. Following a zero-crossing in the inactive phase, the system sets a 30 electrical degrees delay and sets the next switch pattern. As part of the regular operation, hysteresis current control represents the switching pattern showing which switches are suitable for the rotational position of the rotor. Importantly, the system of the present invention only uses the appropriate switches S1, S2, S3, S4, S5, and S6 for current control for the rotor position. Once the rising edge of the phase A output signal occurs, the algorithm of the present invention starts to drive the six power switches utilizing a predetermined switching pattern and controlled by the first and second timers 336,338. This results in unpredictable and variable switching sequences.
The algorithm of the present invention uses a hysteresis current control scheme to determine and turn on or off, the chosen switches S1, S2, S3, S4, S5, and S6. The control scheme of the invention defines a band around the reference current, in one embodiment of the present invention the band is approximately 5%, but can be set in the code to any other value. If the actual current drops below the level of the band, the system turns ON appropriate switches to build up the current. When the current surpasses the upper level of the band, switches are turned off and kept off until the current drops within the specified band.
It should be noted that other brushless direct current sensor-less techniques such as PWM control utilize variable PWM duty cycle and a constant switching frequency, these techniques switch power devices in order to control the generator. Although the PWM technique may also utilize zero-crossing, PWM utilizes inactive back EMF signal from all three phases of the generator in order to get rotor position information. Further, during PWM switching, zero-crossing information is predictable because the switching frequency value is constant (typically about 10 KHz) at all times. This technique does not optimally control the generator and results in excessive reactive power usage thereby lowering the capacity of the generator and causing over-heating. The present invention utilizes a unique switching technique. The use of hysteresis current control where the switching frequency is varied and is non-predictable provides better control of the generator. With hysteresis current control, ON and OFF time for the switches S1, S2, S3, S4, S5, S6 depends on the actual current value, which cannot be known or predicted. The algorithm of the present invention does not rely on the OFF time of the switches but rather looks at the inactive phase of the brushless direct current control through a switching pattern.
Other sensor-less control strategies ignore off time of the switches and instead rely upon filtering the phase voltage signal. These methods by default introduce a phase lag on the rotor position. Conversely, the control strategy of the present invention does not utilize any hardware filtering and it implements software based correction of rotor position based on zero-crossing signals. As a result, the accuracy and effectiveness of the resent invention is not impacted by lower or higher speeds or speed range of the generator rotor.
From the foregoing, it will be seen that this invention is one well adapted to attain all the ends and objects hereinabove set forth together with other advantages which are obvious and which are inherent to the method and apparatus. It will be understood that certain features and sub combinations are of utility and may be employed without reference to other features and sub combinations. This is contemplated by and is within the scope of the claims. Since many possible embodiments of the invention may be made without departing from the scope thereof, it is also to be understood that all matters herein set forth or shown in the accompanying drawings are to be interpreted as illustrative and not limiting.
The constructions described above and illustrated in the drawings are presented by way of example only and are not intended to limit the concepts and principles of the present invention. As used herein, the terms “having” and/or “including” and other terms of inclusion are terms indicative of inclusion rather than requirement.
While the invention has been described with reference to preferred embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements or components thereof to adapt to particular situations without departing from the scope of the invention. Therefore, it is intended that the invention not be limited to the particular embodiments disclosed as the best mode contemplated for carrying out this invention, but that the invention will include all embodiments falling within the scope and spirit of the appended claims.