Matlab is a mathematical analysis and engineering design tool which has a complete, user-friendly and interactive environment and with the help of Simulink, mathematical modeling of simple as well as complex systems can be done with great ease.From the simple applications, such as temperature control systems, the speed of the electric motor to more complex systems such as robotic arms control system or automatic flight of the aircraft and so on. HIL simulation principles can be applied in a number of applications. embedded system under test (SUT) as shown in Figure 1‑1.įigure 1-1: General characteristics of simulation of HIL This modeling system must be modeled at the real time and must be connected with embedded system that we need to test i.e. The modeling system, Hardware In the Loop (HIL), is one of the most useful technique to design and test embedded system because it covers all the possible situations which can happen and the testing can be repeated many times. It is challenging to reduce the cost and the testing time while still keeping the efficiency of the testing. The testing period is the most costly time period because the testing equipment is very expensive and it takes a lot of time to analyze the information. Only then the system/product can be put into commercial use. All this testing is to make sure that the system is reliable and the system can handle the problems which could happen. Engine Control Unit (ECU), the developer needs time to design and test system with real vehicle and test the outcome of the system by putting the model in real situations for example what happens if the sensor is malfunctioning/stop working as well as find any possible errors of program. While developing a practical embedded system such as fuel control system in a vehicle i.e. Hardware-in-the-loop (HIL) simulation is a technique for performing system-level testing of embedded systems in a comprehensive, cost-effective, and repeatable manner. 2.5 Case 3: Testing System with Discrete-Time Algorithm in target – Continuous-Time Plant in hostġ Using Hardware in the Loop with Waijung ¶.2.4 Case 2: Testing System with Discrete-Time Algorithm in target- Plant in host.
#HARDWARE IN THE LOOP MATLAB SIMULINK PC#
2.3 Case 1: Testing System with Discrete-Time Algorithm in host PC – Plant in target.2.2 Setting up Communication in UART Host and Target.1.3 Modeling Speed Control System for a Motor.1 Using Hardware in the Loop with Waijung.Using Hardware in the Loop with Waijung.