You may have heard of battery-powered drones being used to deliver packages, or air taxis being developed to ferry people from place to place in busy cities, or electric planes used to revolutionize short-haul and middle-flight use cases. We’ve covered how engineers at both Zunum Aero and magniX are using simulation software to connect communities via electric flight, for instance. With the challenges inherent in new electric air mobility concepts, engineering tools are crucial for efficiently designing and simulating complex systems.
Software is a huge part of any new transportation design. Complex systems like electric aircraft require a holistic approach to achieve system-level simulations with embedded software in the loop.
System simulation is key in the early design phases of an electric air mobility project, especially to analyze and predict electro-mechanical system behavior. It is a powerful means to push new air mobility technology further in terms of performance and safety. It can apply to flight control, braking control, engine controls and battery management systems, but also to embedded human machine interfaces (HMIs).
Closed-loop simulation is more accurate when used with a software in the loop (SiL) approach. In this approach, the “real-time” embedded software, which already relies on rigorous and safe implementation of control laws, can be included in the simulation environment — including including the aircraft dynamics that are modeled as high-reliability multiphysics models.
Simulation and Software in the Loop
The interoperability between Ansys tools for embedded software and system simulation is key to achieve such SiL simulation, and this is possible with Ansys SCADE and Ansys Twin Builder through the Functional Mock-Up (FMU), which is a free standard interface between components. The FMU can apply to control software as HMI software.
Additionally, software in the loop is useful for system architecture design. It is also useful for software and safety requirements refinement when considering the different operational mode of a vehicle (e.g. nominal or degraded mode) or considering several flight path scenarios with different failure conditions. For each failure scenario, engineers can analyze the controller’s responsiveness and the aircraft stability, and then tune the system parameters.
A rapid prototyping solution is also possible with SCADE via FMU to provide scenario inputs to the simulation, either manually through a graphical usr interface (GUI) with pre-defined, built-in widgets or by sending flight path data directly from the Twin Builder model.
With SCADE and Twin Builder, system engineers have an efficient environment to iterate with software and control engineers as they simulate the results of plotting different aircraft data such as the speed, altitude or heading and analyze the system’s behavior.