The present invention is directed to a method and apparatus for providing feedback to a machine controller, and, more specifically, toward a method and apparatus for simulating the feedback provided by a machine connected to an inverter receiving gating signals from a machine controller when the machine acts as either a motor or a generator.
Aircraft power systems operate in different modes. When aircraft engines are running, some of their rotational energy is used to drive a machine operating as a generator to produce power on a DC bus. Various aircraft electrical systems draw power from this bus. However, before the engines are started, power is often provided by a battery. The battery supplies direct current to an inverter/rectifier which, under the control of a controller, produces AC power to operate the machine as a motor. The motor starts an auxiliary power unit, and, after the auxiliary power unit is running, the machine is switched back to generator mode and generates AC power from the rotating shaft of the auxiliary power unit. This AC power is rectified by the inverter/rectifier and provided to the DC bus. Power from the DC bus is thereafter used to drive a motor for starting the aircraft main engines. Once the main engines are started, the auxiliary power unit is no longer needed. The machine remains in generator mode and is driven by the output of the main engines until the engines are shut down.
The operation of the inverter/rectifier is controlled by a controller, which may comprise, for example, an integrated circuit card (ICC) that provides gating signals to control elements in the inverter/rectifier to produce AC power from a DC input or DC power from an AC input. Controllers can be programmed in various manners to operate different types of inverter/rectifiers and to operate under various conditions of load and power. In order to test these controllers, it has heretofore generally been necessary to connect their outputs to an inverter/rectifier and to a generator or motor or device that functions in either a motor or generator mode to see how the devices function in response to various controller commands. Such a testing procedure generally requires participation by both software and circuit designers, who are knowledgeable about programming and controller design, and systems engineers who are familiar with motors and generators and are skilled in handling the high voltages and currents that are produced by the systems. It would be desirable to provide a system and method for simulating the environment in which the controller operates in a manner that provides suitable feedback to the controller without requiring connection to an actual inverter/rectifier or machine and that does not require the use of the relatively high voltages and currents that are typically used in by such machines.
These problems and others are addressed by various embodiments of the present invention which comprises, in a first aspect, a simulator having at least one input and first and second outputs. The simulator includes an inverter model that receives gating signals at its input and produces current and voltage signals based on the gating signals. The simulator also includes a machine model that receives the current and voltage signals from the inverter model and produces a machine current signal at the first output and a machine position signal at the second output.
Another aspect of the invention comprises a method of providing feedback to a machine controller adapted to control a machine acting as either a generator or a motor that involves providing an inverter simulator, receiving gating signals from the machine controller at the inverter simulator and producing voltage and current signals based on the gating signals. A first output is provided that represents a current produced by a machine that receiving a voltage and a current represented by the voltage and current signals. A second output is produced that represents a position of a machine receiving the voltage and current represented by the voltage and current signals. An input of the machine controller is connected to either a voltage signal representing a voltage across the modeled machine or a load connected to the modeled machine.
A further aspect of the invention comprises a simulator having at least one input and first, second and third outputs that includes an inverter model receiving gating signals at the at least one input and producing current and voltage signals based on said gating signals. The simulator also includes a machine model that receives the current and voltage signals from the inverter model and produces a machine current signal at the first output and a machine position signal at the second output. A voltage source and a circuit simulating a given load are provided as is a switch for selectably connecting the third output to either the voltage source or the load.
These aspects and features of the invention and others will be better understood after a reading of the following detailed description in connection with the following drawings wherein:
Referring now to the drawings, wherein the showings are for the purpose of illustrating preferred embodiments of the invention only, and not for the purpose of limiting same,
These current and voltage signals are output to a machine model 26, illustrated in greater detail in
With reference to
In generating mode, when switch 62 is positioned to connect node 60 to a circuit 64 generating a constant signal representing the rated operating speed of the machine, and this speed is integrated by integrator 56 to produce an output representing rotor position Θ on second output 32 to simulator output 34.
In operation, controller 10 is electrically connected to simulator 12 and caused to send gating signals as if connected to an actual inverter and machine functioning in a motor or generator mode. The above-described circuitry causes simulator 12 to produce current and position output signals corresponding to the signals that controller 10 would receive in actual operation. In addition, simulator 12 includes a voltage source 36. When simulator 12 is in motor mode, that is simulating a machine operating as a motor, switch 40 connects DC voltage source 36 to third output 42 of simulator 12 and provides this voltage signal to third input 20 of controller 10. This voltage represents the voltage provided to controller 10 in the motoring state. When simulator 12 is in generator mode, switch 40 is set to connect a load 38 to third output 42 of simulator 12 and this load is sensed at third input 20 of controller 10 as the load being driven by the generator being simulated.
The present invention has been described herein in terms of a preferred embodiment. However, obvious modifications and additions to the invention will become apparent to those skilled in the relevant arts upon a reading and understanding of the foregoing description. It is intended that all such modifications and additions form a part of the present invention to the extent that they fall within the scope of the several claims appended hereto.
This invention was made with Government support under Contract No. N00019-02-3002 awarded by Department of the Navy. The Government may have certain rights in this invention.