Vis enkel innførsel

dc.contributor.advisorDrengstig, Tormod
dc.contributor.authorMikkelsen, Sindre
dc.contributor.authorSalvesen, Sondre
dc.contributor.authorRabba, André Risa
dc.date.accessioned2022-07-20T15:51:29Z
dc.date.available2022-07-20T15:51:29Z
dc.date.issued2022
dc.identifierno.uis:inspera:93568960:50410876
dc.identifier.urihttps://hdl.handle.net/11250/3007297
dc.description.abstractI denne bacheloroppgaven undersøkte vi om Sysmac Studio kan brukes sam- men med Simulink. I Simulink brukte vi tilleggspakken Simulink PLC Coder som gjør det mulig å konvertere simulinkmodeller til strukturert tekst(ST). For å teste den genererte ST koden anvendte vi et fysisk tretankanlegg som sto på et laboratorie ved Instituttet for Data- og Elektro. Det fysiske tre- tankanlegget ble oppgradert med nye komponenter, anlegget kan nå brukes i undervisning. Det ble utviklet et nytt PLS og HMI program som gjør det mulig å styre og regulere prosessen til tretankanlegget. Vi konstruerte en matematisk modell av tretankanlegget som gjør det mulig å simulere pro- sessen. Reguleringsmetodene som ble undersøkt i denne bacheloroppgaven var enkel nivåregulering for en tank ved hjelp av en pumperegulator(PI in- tegrator) og en mer avanseert ventilregulator(Gain Scheduling). Vi gene- rerte ST kode for pumperegulatoren og sammenliknet den med en innebygd regulator i Sysmac Studio for å teste Simulink PLC Coder. Vi valgte en mer avansert regulator av ventilen for å vise nytteverdien til Simulink PLC Coder ved mer avanserte beregninger. Vi konkluderte med at verktøyet Si- mulink PLC Coder fungerer, men at det er mer tidkrevende å bruke for enkle beregninger. Ved utføring av avanserte beregninger, som for eksempel Gain Scheduling er Simulink PLC Coder et mer nyttig verktøy.
dc.description.abstractIn this bachelor thesis, we investigated whether Sysmac Studio can be used together but with Simulink. In Simulink we used the additional package Simulink PLC Coder which makes it possible to convert simulink models to structured text (ST). To test the generated ST code, we used a physical three-tank system such as stood in a laboratory at the Department of Computer and Electrical Engineering. The physical tree the tank system was upgraded with new components, the system can now be used in teaching. A new PLC and HMI program was developed that does this possible to control and regulate the process of the three-tank plant. We constructed one mathematical model of the three-tank system that makes it possible to simulate sessen. The regulatory methods that were investigated in this bachelor's thesis was simple level control for a tank by means of a pump regulator (PI in- tegrator) and a more advanced valve regulator (Gain Scheduling). We gen- ST code for the pump controller and compared it with a built-in one controller in Sysmac Studio to test Simulink PLC Coder. We chose one more advanced regulator of the valve to show the utility value of Simulink PLC Codes for more advanced calculations. We concluded that the tool Si- mulink PLC Coder works, but it is more time consuming to use for simple calculations. When performing advanced calculations, such as Gain Scheduling is Simulink PLC Coder a more useful tool.
dc.languagenob
dc.publisheruis
dc.titleBruk av Sysmac Studio sammen med Simulink
dc.typeBachelor thesis


Tilhørende fil(er)

Thumbnail

Denne innførselen finnes i følgende samling(er)

Vis enkel innførsel