The present invention relates to a simulation system for use in testing motor controllers/drivers, and in particular to a simulation system that provides feedback simulating the loading of a mechanically loaded motor.
The operation of AC machines is determined by the frequency, amplitude and position of AC currents provided to the motor. To this end, most motor systems include a motor controller/driver that selectively controls the AC current to obtain the desired motor performance.
Testing the operation and performance of the motor controller/driver is typically done by either connecting the motor controller/driver to an actual motor and load, or through basic simulation of the inputs and output of the motor controller/driver. Both methods offer potential benefits and drawbacks. For instance, testing the motor controller/driver with an actual motor and load allows the actual motor response to be monitored. In particular, as the speed of the motor increases, the rotating magnetic field induces a back electromotive force (BEMF) that opposes the AC power provided by the motor controller/driver. Employing a mechanically loaded motor allows the motor controller/driver to be tested in the presence of this type of electrical response. However, during testing it is typically desirable to run the motor and load through failure scenarios in which the motor and/or load may be damaged. Because the test of failure scenarios can result in damage or destruction of the motor or load, this type of test can be prohibitively expensive.
Simulations provide an inexpensive alternative to mechanically loading the motor controller/driver directly. Simulations typically observe the waveforms generated by the inverter. However, this type of simulation does not include generation of the actual AC outputs provided to the motor or the electrical response generated by a mechanically loaded motor in response to the actual AC outputs. Thus, the simulation does not provide feedback opposing the output of the motor controller/driver as would happen in a motor controller/driver connected to a mechanically loaded motor.
A simulation system that overcomes these obstacles would therefore be desirable.
Described herein is a simulation system that is used in testing the operation of a motor controller driver. The motor controller/driver converts direct current (DC) power to alternating current (AC) power that is provided to a simulator. In response to the AC power provided by the motor controller/driver, the simulator generates a dynamic load voltage that is provided as feedback to oppose the AC power provided by the motor controller/driver.
The present invention provides a hardware-in-the-loop simulator that provides dynamic load voltages as feedback to a motor controller/driver to simulate the connection of a motor and load.
Motor controller/driver 10 is connected to three-phase motor 12, which is in turn connected through position sensor 28 to load 14. Motor controller/driver 10 converts the DC input to a three-phase AC output that is provided to three-phase motor 12. In response to the AC output provided by motor controller/driver 10, three-phase motor 12 drives load 14. Driving a mechanically loaded motor (i.e., a motor connected to a load) results in a particular loading that opposes the AC output provided by motor controller/driver 10. For instance, as three-phase motor 12 begins to rotate, a back electromotive force (BEMF) is generated that opposes the AC output provided by motor controller/driver 10. The mechanical loading of three-phase motor 12 presents an inertial force that also tends to oppose the AC output of motor controller/driver 10.
Motor controller/driver 10 controls the operation of three-phase motor 12 by monitoring the AC output provided to three-phase motor 12 and the position of the three-phase motor 12. Current sense circuit 22 and voltage sense circuit 24 monitor the current and voltage provided to three-phase motor 12, respectively, including the effect of the BEMF generated by three-phase motor 12 and mechanical load 14. Position sensor 28 monitors the rotational position of three-phase motor 12 and provides the result as feedback to motor controller/driver 10.
Testing of motor controller/driver 10 therefore entails operating three-phase motor 12 and load 14 in a variety of scenarios and monitoring the response of motor controller/driver 10. Benefits of this approach include the fact that motor controller/driver 10 is providing full power to a motor connected to a load. The electrical response generated by the mechanically loaded motor in response to the AC outputs provided by motor controller/driver 10 varies depending on a number of factors, such as the speed of motor 12 and the mechanical resistance provided by load 14, such that the electrical response is dynamic in nature. This approach has several drawbacks however, including the cost associated with connecting a motor and load to motor controller/driver 10 for each test operation. In addition, failure scenario testing may result in damage to both the motor and load, further adding to the cost of testing motor controller/driver 10.
In the embodiment shown in
With respect to motor controller/driver 42, PWM inverter 48 is selectively controlled by controller 56 to convert the DC signal provided on DC link 46 to three-phase AC power that is provided to chop filter 50. Controller 56 monitors a number of inputs, including the DC link voltage on DC link 46, the position of the rotor as provided by HIL simulator 44, as well as the magnitude and phase of both the current and voltage of the AC output voltage va, vb, and vc. Based on these monitored inputs, controller 56 generates PWM control signals that are provided to PWM inverter 48 such that the resulting AC output has a desired magnitude, phase, and frequency. Switching frequencies associated with the PWM inverter are filtered from the desired AC output signal by reactive components employed by chop filter 50. Motor controller/driver 42 is exemplary in nature. Persons of ordinary skill in the art will recognize that motor controller/driver 42 may be implemented in a number of ways to generate the desired AC output.
AC outputs generated by motor controller/driver 42 are provided to HIL simulator 44. As described above, HIL simulator 44 simulates the dynamic load voltages provided by a three-phase motor connected to a mechanical load, such as the three-phase motor and load illustrated in
As discussed with respect to
Simulator controller 60 is responsive to the monitored AC currents, but outputs generated by simulator controller 60 may be based, in addition, on programmed characteristics of the mechanically loaded motor being simulated. Thus, simulator controller 60 may take into account inertial characteristics of the motor being simulated, as well as details regarding the resistance, time-constant, etc., associated with the simulated motor. In this way, simulator controller 60 is able to accurately estimate the operational state of the mechanically loaded motor being simulated, including the dynamic load voltages provided by the simulated motor. The dynamic load voltages va
The estimated speed of the mechanically loaded motor being simulated is represented by the output labeled ‘Electrical Frequency’. The speed estimate is provided to positional generator 62, which calculates the position of the motor and provides the calculated position to simulator controller 60 as feedback. In this way, the state estimates associated with the simulated motor take into account the estimated position of the motor and as a result how the AC output currents interact with the simulated motor defined by a certain position. The positional estimate generated by position generator 62 is also provided as feedback to motor controller/driver 42. In this way, position generator 62 acts to provide the same type of output that would typically be provided by a position sensor (such as position sensor 28 as shown in
Four-quadrant power supplies 64a, 64b, and 64c and neutral forming transformer 66 amplify the load voltages va
In response to the feedback (i.e., dynamic load voltages) provided by HIL simulator 44, motor controller/driver 42 responds to control the simulated motor in a desired manner. Operation of motor controller/driver 42 can be verified by monitoring the operation of motor controller/driver 42 in response to HIL simulator 44. In this way, the ability of motor controller/driver 42 to effectively control a mechanically loaded motor can be cheaply and efficiently tested. In addition, motor controller/driver 42 can be operated through a range of operational states, including failure analysis states, without the costs associated with testing the motor controller/driver in conjunction with an actual motor and load.
Although the present invention has been described with reference to preferred embodiments, workers skilled in the art will recognize that changes may be made in form and detail without departing from the spirit and scope of the invention.