aerospace power systems capable of hardware in the loop simulation. This means that the model under test runs in real-time in the simulator and it can drive and receive ..... charge the batteries; iii) Shunt the SAR current to ground. ... By closing the ideal switch the main .... RbBus = 1.0e+3; % Rb of the Main Bus transducer.
Real-Time Hardware in the Loop Simulation of Aerospace Power Systems Julio C. G. Pimentel Dept. of Electrical and Computer Eng., Laval University, Ste-Foy, QC, G1K7P4, CA and Yosef G. Tirat-Gefen Aerospace Division, Castel Research Inc., Fairfax, VA, Zip Code, USA
[Abstract] This paper presents new results obtained with a real-time simulator for aerospace power systems capable of hardware in the loop simulation. This means that the model under test runs in real-time in the simulator and it can drive and receive signals from the real system through its analog and digital interfaces. The simulator uses low cost reconfigurable computing infrastructure (e.g. embedded processors and FPGAs) and it is capable of having simulation steps on the order of 0.4 microseconds what is suitable to represent typical modern aerospace power systems. As an example, we realize the simulation of a S4R system using Matlab/Simulink and compare it to the results produced by the FPGA simulator.
Nomenclature BCR BDR DRTPSS EFSM ESA FPGA GEO GUI HIL PCU PE S3R S4R SEPS UPS
= = = = = = = = = = = = = = =
Battery Charge Regulator Battery Discharge Regulator Digital Real-Time Power System Simulator Extended Finite State Machine European Space Agency Field Programmable Gate Array Geosynchronous Earth Orbit Graphical User Interface Hardware In the Loop Satellite Power Conditioning Unit Processing Element Sequential Switching Shunt Regulator Sequential Switching Shunt Series Regulator Spacecraft Electrical Power System Universal Power Switch
I. Introduction
M
odern aerospace applications include many types of mission-critical systems. These systems are very expensive and sensitive to manipulation. A small normal unspecified operation may damage such a system beyond repair or cause some serious defects that may be costly to fix. Another important aspect is the time spent to design, setup and to fine-tune these systems. These cost and time figures can affect the budget and schedule of the design of the aircraft. One of these systems is the spacecraft electrical power system (SEPS). It is well known SEPS are normally complex and have high manufacturing cost. Therefore, it is essential to realize simulation studies to better understand and validate their design. Many simulation tools have been used to analyze SEPS. These tools can be circuit-oriented packages such as the many SPICE-like simulators [], signal-flow simulators such as MatLab/Simulink [] or EASY5 [] and application-specific softwares such as the EBLOS (“Energy Budget Low Orbit Satellite”) computer program []. Because of the increasing complexity of modern SEPS, It has also become important to build virtual prototypes prior to construction of the real system. Such prototypes are used to validate the 1 American Institute of Aeronautics and Astronautics
proper operation of the SEPS control strategy and its interaction with the remaining modules of the aerospace system. Such a virtual prototyping tool should help to optimize the system architecture, component choices, and the system performance in terms of efficiency, power density, cost, and lifetime. It has been reported a DRTPSS is an appropriate tool to realize these tasks. A general architecture of a DRTPSS is shown in Figure 1. It consists in a library of device models and a representation of the power system network (modeled, for example, using the nodal or the statespace formulations) coded in a high-level programming language, and a high-performance digital computer that uses some sort of parallel processing topology [] []. At the beginning of every timestep, the simulator acquires new data from the interface inputs through digital channels or through the A/D interface cards, and sends out the simulated physical variables through output digital channels or the D/A interface cards. The input and output signals minimum sampling frequency is given by Nyquist’s Figure 1. General architecture of a DRTPSS Law and must be bigger than twice the signal bandwidth. In practice it should be at least one order of magnitude bigger than the signal bandwidth. If the minimum time step the simulator can attain is smaller than the minimum sampling period required by the application, than the simulator can be used as a virtual prototype of the real subsystem and can replace it. Therefore, when testing a new controller, we can implement it in the simulator and connect the model to the real arm actuator or vice-versa. This strategy is called HIL simulation and it reduces cost and development time. A previous work presented a study of the design and testing of spacecraft power systems using the VTB (“Virtual Test Bed”) simulation environment. VTB is capable of handling natural power flow, signal and data coupling between devices and offers a combination of both topological and mathematical expressions in model formulation. VTB provides a very flexible graphical user interface and powerful capabilities for modeling and cosimulation []. Nevertheless, VTB was designed to run in a microprocessor in a software based platform. Therefore, VTB is subjected to the processor-memory hardware paradigm (Read-Modify-Write) and the interprocessor communication overhead experienced with the present technology create a bottleneck making it difficult to further reduce the minimum simulation timestep. VTB is somewhat flexible to allow for the integration of custom add-on modules as a mean to speed up the simulation. However the limitations inherent to its microprocessor-based design approach can not be easily resolved. On the other hand, to achieve shorter time steps we use a reconfigurable architecture based on state-of-the-art high density FPGAs such as Xilinx Virtex family. Recently, new advances in the IC technology allowed the development of a new generation of FPGA devices that are much bigger and faster than previous generation ones. These new FPGAs can have more than 5 million gates and run at clock frequencies higher than 500 MHz []. We have developed a DRTPSS and a methodology which are entirely based on high density FPGA devices and a HDL design flow. The simulator is capable of simulating small and medium size power networks with very high natural frequency. The methodology exploits the intrinsic parallelism of FPGA’s internal architecture, its high bandwidth low-latency switch fabric and the parallelism inherent to power system models to realize an automatic mapping of the power system network to the FPGA internal resources. Therefore, rather than simulating the power system model in software, it is directly simulated directly in hardware. This approach can produce a speed up of more than one order of magnitude when compared to a software based approach []. The simulator presented in this paper is capable of simulating a variety of different applications. The existent models include power electronics devices, transfer functions, digital controllers, motion control functions, etc. If the modules in the library are not enough, more modules can be easily added to the simulator library. The simulator is capable of simulating fly-by-wire and other aerospace power systems. This includes, but is not limited to, simulation of embedded digital controllers, power electronics energy management systems and motion control applications. Modern power systems use very high frequency converters to maximize power density (ratio between power and volume). To achieve the necessary accuracy, it is mandatory that the simulation time step be short enough. Otherwise, the simulation may produce erroneous results, add artificial jitter to the generated signals or in certain cases can cause the power system controller to become unstable. The obtained results show the simulator can achieve a time step less than 0.4 microseconds, that is smaller than the commercial real-time simulators available, and it can simulate PWM converters with carrier frequency higher than 10 kHz. 2 American Institute of Aeronautics and Astronautics
The article is organized as follows: The next two sections present a short description of the FPGA real-time simulator programming flow and its high level architecture. Afterwards we discuss the S4R SEPS and present the simulation results generated using Matlab/Simulink. Finally, we realize the simulation of the S4R system using the FPGA simulator and compare them to the results produced with Matlab/Simulink.
II. FPGA Real-Time Simulator Programming Flow Figure 2 shows the FPGA simulator programming flow. The interface and configuration parameters of the modules in the VHDL System Library (“VHDL - VHSIC Hardware Description Language”) are compatible with their counterparts existing in the SimPowerSystem and Simulink libraries []. These VHDL modules were developed and tested using a model-based methodology that consists of the following steps: 1) Initially, a model of the module micro-architecture is designed taking into account its implementation in a FPGA; 2) Afterwards, this model is validated using Simulink; 3) After the behavior of the model attains the expected accuracy it is coded in VHDL; 4) Then its VHDL implementation is simulated using an HDL simulator such as Modelsim [] and the results are compared against the simulink simulations; 5) Finally, if the two simulations agree then the module is stored in the VHDL System Library. The modules can be modeled using many different types of formulations such as electrical Figure 2. FPGA Real-Time Simulator Programming Flow circuits, state machines, transfer functions, linear and nonlinear mathematical equations, algorithms, etc. This characteristic enables the FPGA simulator to be used in many different applications. As shown in Table I, currently, the VHDL library includes many modules for power electronics and motion control applications. New modules can be added to the library to enable the simulator to address others applications such as spacecraft power and control systems. The user then utilizes Simulink’s GUI to draw the schematic of the electrical power system (or the schematic model of the system under test in case of others applications). A proprietary tool called GenVhdl reads the Simulink power network schematic, the VHDL libraries as well as data provided by the user and automatically generates the VHDL code that implements the real time simulation. The derived VHDL code can be simulated offline by a commercial HDL simulator such as Modelsim and synthesized with general commercial EDA tools using an FPGA design and implementation flow such as Xilinx ISE [ ]. The simulator was tested using a Xilinx XUP VirtexIIPro FPGA Board []. Nevertheless, the generated VHDL code is independent of the FPGA device. Therefore, it can be implemented others types of FPGA devices that provide the resources needed to implement the specified system.
III. FPGA Real-Time Simulator High Level Architecture The logical resources included in modern FPGAs, such as the Virtex family from Xilinx [], include high speed SRAM memories, a large number of registers and combinational logic and multipliers among others. These resources make FPGAs a convenient platform to implement systems including a large number of parallel small specialized processors; distributed memory access algorithms; high control logic and finite state machines as well as very high throughput DSP functions. Besides the FPGA switch matrix allow the exchange of a high amount of data between modules at very high clock frequency and with very small latency. The FPGA simulator explores these features to solve the bottleneck issues present in the parallel microprocessor based architectures and provide a more scalable solution to the implementation of real-time simulation algorithms. This section presents a short description of the FPGA simulator high level architecture. A more detailed description can be found in [] and [].
3 American Institute of Aeronautics and Astronautics
A. Computational Model – Coarse Grain Dataflow Architecture The FPGA simulator architecture is shown in Figure 3. It is based on a data flow processing model where the processing elements (PEs) are independent objects and each one computes its function independently of each other. The interconnection between them is extracted from the system schematics realized using Matlab/Simulink. The PEs are interconnected through their input and output ports so that the inputs of a sub-circuit can only change at the end of a time step. The outputs of the PEs depend only on their inputs and their internal states. At the end of each time step the PEs transfer their newly calculated values (voltages, currents, logical signals, etc.) to the next PE. The simulation scheduler synchronizes the functioning of all PEs is responsible for coordinating the following tasks: simulation initialization; generation of the multiple timesteps reference clocks; synchronization of the simulation and exchange data between linear and nonlinear PEs. All PEs follow the same standard interface shown in Figure 3. PEs are modeled as an EFSM []. The variables exchanged between PEs are part of the PE data path which is implemented in VHDL using pipelined MAC units (Multiply-And-Accumulate). The remaining signals are part of the control path and are intended to send information to or receive information from the scheduler. The PE control path is implemented as finite state machines that control the data path and the interface to the scheduler. RST CLK S_CLK F_CLK EN STC REG
Sub
Voltages
Circuit
EOC
Voltages
Currents
Currents
Logical Signals
Logical Signals
EOC1
EN
EOC2 STC_l EOCn RST CLK
Scheduler
STC_nl REG_l REG_nl
Figure 3. FPGA Simulator High Level Architecture B. PE Modeling The PEs are stored in the simulator system library as entity DiscPIController is parameter-driven VHDL entities what allows them to be generic (NBits:natural:=8; NBitsRadix:natural:=8; used in different types of circuits and applications. As an NBitsCoef:natural:=8; PIType:natura :=0; example, Figure 4 shows the VHDL entity declaration of a NCycles:natural:=1; A1:natural:=1; PI controller module. The generic clause is used to define A2:natural:=1; Init:natural:=0; the configuration parameters of the module. The port clause UpperBound:integer:=1; defines the input and output signals that are part of the data LowerBound: integer:=0 and the control path. PEs can be modeled using many types ); of formulations such as electrical circuits, state machines, port (CLK: in STD_LOGIC; transfer functions, linear and nonlinear mathematical RST: in STD_LOGIC; equations, algorithms, etc. EN: in std_logic; Because of the real-time constraint, real-time simulators STC: in std_logic; use fixed timestep. A UPS (shown in Figure 5a) is a Reg_output: in std_logic; topology that is often used in power electronics. It is used in Verr: in std_logic_vector (NBits-1 downto 0); the S4R system as the pairs M2/D2 and M3/D3. A UPS is Vcont: out std_logic_vector (NBits-1 downto 0); composed of a MOS switch and a flywheel diode. When the EOC: out std_logic MOS switch is turned on or turned off, the energy and ); current conservation cause the flywheel diode to turn off or Figure 4. PI controller entity declaration to turn on respectively. The commutation is done so that 4 American Institute of Aeronautics and Astronautics
there is no discontinuity of the voltage or the current across the UPS. If the MOS switch and the flywheel diode are simulated independently, during switching, this non linear behavior combined with one or two timesteps delay originated by the decoupling could cause simulation errors and possibly instability. To mitigate these problems, the UPS EFSM (shown in figure 5c) coordinates the PE data path to ensure the current through the UPS will be redistributed respecting voltage and current Kirschoff’s laws as well as energy conservation. The operation of the UPS requires the following conditions to hold: 1) the MOS switch and the flywheel diode can not be turned on at the same time; 2) every time Q1 is on the associated diode D2 is turned off and vice-versa; 3) If Gate=1 then Q1 is on; 4) Current Ia can not suffer sudden changes. Figure 5b shows the electrical equivalent of the MOS switch. The flywheel diode electrical equivalent can be easily inferred from the MOS switch model. The MOS switch is modeled as an non-ideal switch in parallel with a RC snubber [5][6]. The input and output variables are respectively (Gate, Vds) voltages and the averaged and instantaneous Ids currents. When turned off, it is an ideal switch so that Ids(n)=0. Otherwise, when it is turned on it is modeled by a series RLV circuit. The voltage Kirschoff’s law and the continuous time transfer function H(s) of the two port RLV network are given by Eq. (1) and Eq. (2) respectively.
Vds (t ) = V f (t ) + Ron ⋅ I ds (t ) + Lon ⋅
H ( s) =
d I ds (t ) dt
I ds ( s ) (1/ Ron ) = Vds ( s ) − V f ( s ) 1 + s ⋅ ( Lon / Ron )
(1)
(2)
Using backward Euler discretization rule we can write Eq. (3) where Ts is the simulation timestep. This discretized set of time-domain equations are implemented in hardware using an FPGA design flow and a digital filter methodology [].
I ds (n ) = A1 ⋅ Vds (n ) + A2 I ds ( n − 1)) where A1 =
Ts Lon , A2 = Lon + RonTs Lon + RonTs
Figure 5. Modeling of the Power Switch PE
5 American Institute of Aeronautics and Astronautics
(3)
IV. The SEPS under Test: S4R System The SEPS is part of the Power Conditioning Unit which is the system that controls the overall electrical power flow in a satellite. Satellite PCUs have experienced a significant evolution in the last two decades driven mainly by the lifetime requirements demanded for the new telecom spacecrafts. These systems evolved from the unregulated systems used in the first satellites to the regulated systems [I] [2] [3] [4]. Besides, some topologies and control methods have been developed in order to satisfy the hard regulations imposed by the aerospace regulation agencies and companies. These systems are very expensive and sensitive to manipulation. A small normal unspecified operation may damage such a system beyond repair or cause some serious defects that may be costly to fix or completely incapacitate the satellite to realize its functions. Simulations, and more recently HIL simulation, have been employed as a mean to reduce these risks and the total development cost. Figure 6 shows the high level architecture of a typical SEPS. Its primary power source is normally a solar array. Presently, the energy storage system use rechargeable batteries and nonlinear loads, one or more voltage or current regulators and a power distribution and control unit which manages the operation of the whole power system. Previous generation of GEO telecom satellites used NiH2 batteries. Nowadays, they are being changed by Liion technology because of its higher energy-toweight ratio (Wh/kg) and lower thermal dissipation, higher energy efficiency and very low selfdischarge. Most SEPS use shunt regulators to limit Figure 6. High Level Architecture of a Typical SEPS the power bus voltage by dissipating the excess solar array power to ground. There are many proposed topologies such as sequential shunt system, partial shunt system, digital shunt system, etc. [27–30]. One important topology of SEPS is the S4R system [] which has been chosen to be the system under test. A. Functioning of the S4R system One of these topologies is the S4R System. The S4R system is an evolution of the more traditional S3R system and was introduced by the ESA in the late nineties. [4] [5]. It implements a spacecraft payload bus shunt regulator and battery charger architecture operating in a bang-bang control mode [5] [6] where the classical PWM DC/DC converters used as BCR and BDR are substituted by some series regulators. By removing the BCR and BDR and replacing them by series regulators provides some important advantages such as mass reduction, increase of the efficiency of the power converters, etc. Different from a S3R system which has three main control loops, a S4R system has two main control loops: The Main Error Amplifier (“MEA”) for the main bus voltage regulator and Switch the Battery Error Amplifier (“BEA”) Ipcn Logic for the battery charging regulator. This n architecture simplifies the overall Power Cell n design by reducing the number of control loop domains [6]. Similarly to VMEA PI control the S3R system, the S4R architecture Battery Load does not use inductors what is Integra VBEA becoming important for SEPS because tor better yields can he achieved. The Switch Ipcn Logic bulky storage inductors used in the n PWM battery chargers imposes a serious limitation to the power/mass Power Cell 1 coefficient accounting for lower Figure 7. Basic Architecture of a S4R system yields. Figure 7 shows the basic architecture of a S4R system. The S4R system is a sequential switching shunt series regulator. Each of its power cell can drive its associated Solar Array Section (“SAS”) into three possible positions: i) Supply the SAR current to the main bus; ii) Drive it to charge the batteries; iii) Shunt the SAR current to ground. The main bus voltage is regulated by a PI controller. On 6 American Institute of Aeronautics and Astronautics
the other hand, it has been found the battery bus voltage is better regulated by an integrator. Both bang-bang controllers are implemented by hysteretic comparators. The delta of the hysteresis voltages are defined based on mechanical and electrical performances over 1 orbit and the main bus response when for the maximum payload of 4kW. The solar array is composed of an array of individual panels. Each panel handles part of the overall current consumed by the main bus load. Each S4R power cell includes a solar panel, and two hysteretic comparators driving a three-state power switch. The hysteretic comparators are driven by the bus error signal and battery error signal controllers. From a dynamic point of view, the bus and battery loops are designed to operate in an inverse sequence. Also, the main bus regulator has higher priority than the battery charge regulator. In Figure 8. S4R System Power Stage Ladder Model a S4R system, the main bus regulator starts with the lower power cells and takes control of upper cells as the payload increases. On the other hand, the battery charge regulator starts with the last power cell and takes control of the underneath cells as required by the battery charging current and those panels are not already taken by the main bus regulator. Therefore, the hysteretic comparators are designed so that the lower end of its delta voltage is equal to the upper end of the comparator in the underneath power cell. Therefore, an S4R system can be modeled as a ladder where each power cell is a thread of the ladder as shown in Figure 8. As we can notice, this system can operate in two different modes depending on the main bus load and battery charging requirements: i) the load regime where the main bus and the battery bus are regulated with different solar panels is called the medium load range and it is characterized by the fact that the two control loops are independent; ii) The load regime where both subsystems, and therefore both control loops, compete for the same panel is called the maximum load range. Further information about the operation of a S4R system can be found in [], [] and []. B. Matlab/Simulink Simulation of S4R System The model shown in Figure 9 is a 4 power cells S4R system. The power cells detailed schematic including the switch logic is shown in Figure 10. The value of the model devices are shown in the appendix. These values were used to produce the simulation results shown in Figure 11 to 13. In the model, the ideal switch is used to set to payload requirements. When the ideal switch is open, the load on the main bus is defined by resistor RLoad1 which corresponds to load condition of 12.5% of the main bus maximum total current. By closing the ideal switch the main bus load is defined by the parallel of RLoad1 and RLoad2 and corresponds to a load condition of 81.25% of its maximum capacity. The first situation is the medium load range explained in the previous section. It occurs when the power consumption is low enough so that the main bus and the battery charging regulators use different power cells to regulate their respective bus. In this condition, the switching pattern is a two-position switching that involves commutating between the main or the battery bus and the ground As we can see in Figure 11 the power cell 1 is switched between servicing the main bus or directed to ground. The power cell 4 is switched between servicing the battery charger bus or directed to ground. The remaining power cells are always connected to ground. As explained in the previous section in this load regime both subsystems are considered independent. The second situation corresponds to the maximum load range. It describes the behavior of the system when the payload requires large power consumption and there is no solar panel shunted to ground. Also, the input power is large enough to supply the loads and to charge the battery. However, it there will be dependence between the two control loops in one of the four power cells. In this condition, the new switching pattern is a three-position switching that involves commutating between the main bus, the battery bus and the ground. Therefore, the two control loops are not independent anymore. Besides, in order to maintain a regulated voltage on the main bus the control strategy should implement loop priorities. When both control loops are demanding the solar section the bus regulation will prevail against battery regulation.
7 American Institute of Aeronautics and Astronautics
Scope
Sequential Switching Shunt Series Regulator - S4R
VMEA
PGen
IBus
Continuous pow ergui
Vout
IBus i -
+
VMEA PI Controller
Solar Power Cells
KpPiBus
Add1
In1 Conn1 In2
CBus
RLoad1
In1
i -
Battery Bus
IBus1
Main Bus Load
Conn1 In2
VBEA Integrator
SolarArray2
Integrator1
In1
VBEA
Conn1 In2
KIntBat
1 s
Add3
Bat36V
VIntRefBat -CVRSense
-K-
v
+ -
Conn2 IBat
SolarArray3
RSense VRSense
In1 Conn1 In2
VBEA Conn2
SolarArray4
Scope1
Figure 9. Matlab/Simulink Model of the S4R System Solar Power Cell
Power Switch #1 D2
Conn1 1
Vthy 1
1 Bus_Hist1
op1
d
g
AND
M2
NOT op3
Switch Logic
s
Isar2
op2
In1
Main Bus Hystheresis Battery Bus Hystheresis
AND
2
M3 D3
Bat_Hist
In2
g
2
s d
Conn2
Power Switch #2
Figure 10.
Solar power cell model with switch logic
VMEA
s4r 1cell - Matlab/SymPowerSystems Simulation 6 4 2 0
0.01
0.02
0.03
0.04
0.05
0
0.01
0.02
0.03
0.04
0.05
0
0.01
0.02 0.03 time(seconds)
0.04
0.05
IBus
4 2 0
Vout
50.5 50 49.5
Figure 11.
RLoad2
VPiRefBus KiPiBus +
Conn2
2
IdealSwitch
-K-
Integrator
SolarArray1
m
1
+ -
v
-C-
1 s
Conn2
Main Bus
Vout
-K-
Verror
-K-
VMEA
KBus
Add
g
S4R Main Bus Simulation Results 8 American Institute of Aeronautics and Astronautics
s4r 1cell - Matlab/SymPowerSystems Simulation
IBat
1 0.5
VRSense
0 0
0.01
0.02
0.03
0.04
0.05
0
0.01
0.02
0.03
0.04
0.05
0
0.01
0.02 0.03 time(seconds)
0.04
0.05
10 5
VBEA
0 3.8 3.6 3.4 3.2 3 2.8
Figure 12.
S4R Battery Bus Simulation Results s4r 1cell - Matlab/SymPowerSystems Simulation
VMEA
7 6.5 6 0.021
0.0215
0.022
0.0225
0.023
0.0235
0.024
0.0215
0.022
0.0225
0.023
0.0235
0.024
0.0215
0.022
0.0225 time(seconds)
0.023
0.0235
0.024
IBus
4 3.5 3
Vout
50.1 50 49.9
Figure 13. S4R Bus error voltage, shunt switch driving signal and bus voltage ripple. 50V bus voltage and 81.25% bus load (3.25A @ 4A maximum)
V. Experimental Results Herewith we present the simulation results of the simulation of the S4R of section IV using the FPGA real-time simulator. The simulations were realized for two payload scenarios: i) Light load operating condition; ii) Heavy load operating condition. The test environment consists of an AMD XP2400+ microcomputer and a Digilent Inc. XUP Virtex II Pro Development FPGA Card with a 2VP30-7-FF896 Virtex II Pro FPGA. The schematic of the simulation model was generated using Matlab/Simulink. The VHDL simulation and FPGA synthesis/implementation phases were realized using Modelsim HDL simulator v6.1b from Mentor Graphics and ISE Development System v8.1i from Xilinx respectively.
9 American Institute of Aeronautics and Astronautics
IBus
Ibridge2
VBridge2
VIpanel
Vbridge1
Vout
A. Light Load Operating Condition S4r4CellGenVhdl1b - FPGA simulation @ Ts = 1us In order to achieve the required accuracy, 50.2 the FPGA real-time simulations were set to use 50 a time step of 1 µs. The light load operating 49.8 condition corresponds to a system payload of 0.035 0.036 0.037 0.038 0.039 0.04 60 12.5% of the main bus total capacity. In the 40 case of the S4R system under test each solar 20 0 cell has a nominal current of 1A. Therefore, the 0.035 0.036 0.037 0.038 0.039 0.04 light load condition corresponds to an average 60 40 output current of 0.5A at a regulated output 20 voltage of 50V. 0 As shown in Figure 14 the system needs 0.035 0.036 0.037 0.038 0.039 0.04 60 only one solar array to provide the required 40 power to the load. The other three solar arrays 20 0 are shunted to the ground. 1A current driven by 0.035 0.036 0.037 0.038 0.039 0.04 the lower solar array is modulated by the bang0.5 0 bang controller to provide the main bus current -0.5 IBus. The IBus turn on and turn off time is such -1 -1.5 that its average value is equal to 0.5A The main 0.035 0.036 0.037 0.038 0.039 0.04 1.5 bus PI controller regulates the output voltage 1 Vout in the range 49.85V to 50.1V as shown in 0.5 0 Figure 14. In the same figure, VBridge1 and -0.5 0.035 0.036 0.037 0.038 0.039 0.04 Vgridge2 are the voltages on the MOS switch time(seconds) M2 and the diode D2 shown in Figure 10. IBridge2 is the current to ground across the M2 Figure 14. S4R Main Bus Simulation Results – Load = 100 MOS switch. ohms (Payload of 12.5%) B. Heavy Load Operating Condition The light load operating condition has also used a time step of 1 µs. It corresponds to a system payload of 81.25% of the main bus total capacity which is equivalent an average output current of 3.25A at a regulated output voltage of 50V. As we can see in Figure 15, the three lower solar arrays are continuously connected to the main bus and the fourth solar array is modulated by the bang-bang controller to generate the average output current required by the system load. The output is regulated by the main bus PI controller to stay in the range specified by the design (from 49.8V to 50.2V). As we can see, the simulations results produced by the FPGA real-time simulator are in agreement with the results generated using Matlab/Simulink presented in section IV and the design specifications presented in [] and []. These references provide further information about the design specification as well as some additional simulation results. S4r4CellGenVhdl4b - FPGA simulation @ Ts = 1us
Vout
50.5 50 49.5
0.03
0.035
0.04
0.045
0.05
0.03
0.035 0.04 time(seconds)
0.045
0.05
IBus
5
0
Figure 15. S4R Main Bus Simulation Results – Load = 15.38 ohms (Payload of 81.25%) 10 American Institute of Aeronautics and Astronautics
VI. Conclusion This paper presented the real-time simulation of a S4R SEPS. The S4R system is a new topology proposed as a replacement for the S3R topology which has been used for many decades as electrical power system for space applications, mainly in commercial GEO satellites. Interdisciplinary models of power switches and control modules were developed, validated and implemented in VHDL using a model-based methodology. A Matlab/Simulink model of the S4R system was developed and validated by Simulink simulations. A newly developed tool, called GenVhdl was then used to translate the Matlab/Simulink model into a reconfigurable computing architecture implemented in VHDL. This VHDL representation can be mapped to an FPGA device using commercial FPGA development tools such as Xilinx ISE. It can be seen from the experimental results that the FPGA simulations produce results comparable to the Matlab/Simulink simulations. In the near future we will develop a VHDL model for the solar array and a more detailed model for the battery system to be added to the FPGA real-time simulator system library.
Appendix Herewith we list the value of the devices of the S4R system used in the simulations. % Solar Array parmeter definition NSar = 4; % number of power cells (SAS) MaxISas = 2.0; % maximum value of the power cell current TypISas = 1.0; % typical value of the power cell current ZoMax = 0.25; % Main Bus output impedance % Definition of the Main Bus parameters RLoadMax = 25; % maximum load impedance RLoadMin = 250e-3; % minimum load impedance CBus = 500e-6; % laod capacitance VBus = 50; % bus voltage DeltaVBus = 0.01 * VBus; % bus voltage ripple (set to 1%) LoadFactor1 = 12.5 / 100; % percentage of the total current LoadFactor2 = 81.25 / 100; % percentage of the total current RLoad1 = VBus / (LoadFactor1 * NSar * TypISas); Reqq2 = VBus / (LoadFactor2 * NSar * TypISas); RLoad2 = 1 / ((1 / Reqq2) - (1 / RLoad1)); % Definnition of battery parameters VBat = 3 * 12; % battery voltage BatCap = 62; % battery capacity in Ah IMaxBatCharge = 1.5; % max. battery charging current
% definition of parameters of the Main Bus control loop RaBus = 6.8e+3; % Ra of the Main Bus transducer RbBus = 1.0e+3; % Rb of the Main Bus transducer RabBus = (RaBus*RbBus)/(RaBus+RbBus); % parallel of (RaBus, RbBus) VPiRefBus = 6.41; % reference voltage of the Main Bus PI controller R1PiBus = RabBus+620; % R1 of the Main Bus PI controller R2PiBus = 47e+3; % resistance R2 of the Main Bus PI controller C2PiBus = 3.3e-9; % Capacitance C2 of the Main Bus PI controller VHystRefBus = 6.41; % ref. voltage of the Main Bus hystheresis controller R1HystBus = 1.0e+3; % R1 of the Main Bus hystheretic controller R2HystBus = 30.0e+3; % R2 of the Main Bus hystheretic controller KBus = RbBus/(RaBus+RbBus); % gain of the Main Bus transducer KpPiBus = R2PiBus/R1PiBus; % gain KP of the PI controller KiPiBus = 1.0 / (R1PiBus * C2PiBus); % gain KP of the PI controller VHHystBus = VHystRefBus+(15*(R1HystBus/(R1HystBus+R2HystBus))); VLHystBus = VHystRefBus-(15*(R1HystBus/(R1HystBus+R2HystBus))); VDeltaHystBus = (VHHystBus - VLHystBus); % definition of parameters of the battery control loop VIntRefBat = 0.1; % reference voltage of the battery bus controller R1IntBat = 1.5e+3; % resistance of the battery bus controller C1IntBat = 100e-9; % Capacitance of the battery buscontroller RSense = 12; % feedback sensor on the battery VHystRefBat = 6.41; % ref. voltage of the battery bus hystheresis controller R1HystBat = 1.0e+3; % R1 of the battery bus hystheretic controller R2HystBat = 27.0e+3; % R2 of the battery bus hystheretic controller KIntBat = 1/(R1IntBat*C1IntBat); % gain KP of the battery bus cont. VHHystBat = VHystRefBat+(15*(R1HystBat/(R1HystBat+R2HystBat))); VLHystBat = VHystRefBat-(15*(R1HystBat/(R1HystBat+R2HystBat))); VDeltaHystBat = (VHHystBat-VLHystBat);
Acknowledgments J. C. G. Pimentel thanks Xilinx Inc. for its support providing the FPGA development software tools and the XUP Virtex II Pro Development board used for the simulation and the experimental results.
References Periodicals 1 Jiang, Z., Liu, S. and Dougal, R. A., “Design and Testing of Spacecraft Power Systems Using VTB,” IEEE Transactions on Aerospace and Electronic Systems, Vol. 39, No. 3, July 2003, pp. 976-989.
11 American Institute of Aeronautics and Astronautics
2 Cho, B. H., and Lee, F. C. Y. “Modeling and analysis of spacecraft power systems,” IEEE Transactions on Power Electronics, Vol. 3, No. 1, Jan. 1988, pp. 44–54. 3 Colombo, G., Grasselli, U., Deluca, A., and Spizzichino, A., “Satellite power system simulation,” Acta Astronautica, Vol. 40, No. 1, 1997, pp. 41–49. 4 Rosero, J. A., Ortega, J. A., Aldabas, E. Romeral, L., “Moving Twords a More Electric Aircraft,” IEEE A&E Systems Magazine, March 2007, pp. 3-9. 5 Ganig6s, A., Carrasco, J. A., Blanes, J. M. and Sanchis, E., “Modeling the Sequential Switching Shunt Series Regulator,” IEEE Power Electronics Letters, Vol. 3, No. 1, March 2005, pp. 7-13.
Books NOTE: We need some books here – these ones are just dummy 4
Peyret, R., and Taylor, T. D., Computational Methods in Fluid Flow, 2nd ed., Springer-Verlag, New York, 1983, Chaps. 7,
14. 5
Oates, G. C. (ed.), Aerothermodynamics of Gas Turbine and Rocket Propulsion, AIAA Education Series, AIAA, New York, 1984, pp. 19, 136. 6 Volpe, R., “Techniques for Collision Prevention, Impact Stability, and Force Control by Space Manipulators,” Teleoperation and Robotics in Space, edited by S. B. Skaar and C. F. Ruoff, Progress in Astronautics and Aeronautics, AIAA, Washington, DC, 1994, pp. 175-212. Proceedings 7 Billerbeck, W., and Lewis, G., Jr., “Spacecraft power system studies using Pspice,” 36th Intersociety Energy Conversion Engineering Conference, Vol. 1, 2001, 1–18. 16 Ganig6s, A., Carrasco, J. A., Rubiato, J., Avila, E. and Blanes, J. M., “System model of the sequential switching shunt series regulator for spacecraft regulated high power busses,” 351h Annual IEEE Power Electronics Specialists Conference, Aachen, Germany, 2004, pp. 2645-2650. 16 Ganig6s, A., Carrasco, J. A., Rubiato, J., Avila, E., Blanes, J. M. and Ferreres, A., “Control loop design of the Sequential Switching Shunt Series Regulator,” IEEE MELECON 2006, May 16-19, Benalmádena (Málaga), Spain, 2006, pp. 1194-1197. 16 Pimentel, J. C. G., “Hardware Emulation for Real-Time Power System Simulation,” IEEE International Symposium on Industrial Electronics - ISIE’2006, July 9-12, Montreal, QC, Canada, 2006, pp. 1560-1565. 16 Pimentel, J. C. G., “Implementation of Simulation Algorithms in FPGA for Real Time Simulation of Electrical Networks with Power Electronics Devices,” IEEE Reconfigurable Computing – Reconfig’2006, Sep. 20-22, San Luis Potosi, Mexico, 2006. 16 Pimentel, J. C. G., “A High Performance Architecture for Real Time Power System Simulators Based on FPGA Hardware Acceleration,” IASTED Power Engineering Systems - PES’2007, Clearwater, FL, USA, 2007, pp. .
Computer Software 16 XILINX ISE, FPGA Development Tool, Software Package, Ver. 8.1i, Xilinx Inc., San Jose, CA, 2006. 16 Matlab/Simulink, Flow Graph Simulation Tool, Software Package, Ver. 7.0.4, Mathworks Inc., ___, ___, 2004. 16 Modelsim, HDL Simulation Tool, Software Package, Ver. 6.1, Mentor Graphics Inc., ___, ___, 2005.
12 American Institute of Aeronautics and Astronautics