Modeling and simulation is growing ever more important in the development of new products. This thesis describes the use of Hopsan for hydraulic modeling and its use in conjunction with Simulink with the intent of using the model in a hardware-in-the-loop setup. A sensor layer has been created in Simulink to emulate all the internal sensors in a modern forklift. The details of using legacy C-code instead of a hardware MCU for a fully simulated environment, software-in-the-loop has been outlined. There are two major routes one can follow implementing software-in-the-loop, exporting the C-functions to CAPL via a export layer or creating an s-function in Simulink. Of the two the export layer method is the most promising since it is easier handling different execution times in CAPL than in Simulink.
Identifer | oai:union.ndltd.org:UPSALLA1/oai:DiVA.org:liu-78958 |
Date | January 2012 |
Creators | Israelsson, Erik |
Publisher | Linköpings universitet, Fluida och mekatroniska system, Linköpings universitet, Tekniska högskolan |
Source Sets | DiVA Archive at Upsalla University |
Language | Swedish |
Detected Language | English |
Type | Student thesis, info:eu-repo/semantics/bachelorThesis, text |
Format | application/pdf |
Rights | info:eu-repo/semantics/openAccess |
Page generated in 0.0012 seconds