TTK Links: Home Page | TTK Moodle | ÕIS
TTK/UAS Repository For Digital Teaching and Learning Resources

Kliimastendi kasutajaliidese väljatöötamine ja rakendamine

Kiljak, Riivo (2017) Kliimastendi kasutajaliidese väljatöötamine ja rakendamine. [thesis] [en] User Interface Development and Implementation on a Climate Control Stand.

[img]
Preview
PDF - Published Version
Download (1MB) | Preview
[img] Other (lihtlitsents - bdoc) - Additional Metadata
Download (77kB)
[img] Other (retsensioon - bdoc) - Additional Metadata
Restricted to repository personnel only

Download (22kB)

Abstract

Lõputöö käigus koostati kasutajaliides kliimaseadme õppestendile. Liides teostati arvutiprogrammi kujul, mis kirjutati Pythonis. Liidese kaudu on võimalik nii juhtida kui ka jälgida stendi tööd. Liidesele seati kolm eesmärki. Esiteks seati liidese ülesandeks kasutaja sisendite järgi reprodutseerida sisepõlemismootori juhtmooduli teateid CAN-võrgus, mis on vajalik kliimaseadme juhtmooduli tööks. Teiseks seati programmi ülesandeks juhtida läbi sagedusmuunduri elektrimootorit, mis käitab kompressorit. Viimane eesmärk oli juhtida läbi liidese elektromehaanilisi releesid stendil. Kõik eesmärgid täideti. Lisaväärtusena suudab koostatud programm lugeda väärtusi ka lüüsilt (süsteemi rõhk ja solenoidi vool) ning elektrimootorilt läbi sagedusmuunduri (vool ja pinge). Sisepõlemismootori juhtmooduli teadete reprodutseerimiseks oli tarvilik teateid analüüsida, et mõista, kuidas sõidukil juhtmoodulid omavahel suhtlevad. Täpsemalt oli ülesanne välja peilida oluliste CAN-teadete ID-d ja leida, kuidas füüsikalised väärtused, nagu temperatuur, on kodeeritud teates väärtusesse kuueteistkümnendsüsteemis. Liidese kitsaskohtadena saab välja tuua puudused ohutuses. Kuigi teatavad kontrollfunktsioonid on liidesesse sisse viidud, on siiski võimalik programmi ebasihipäraselt kasutada. Näiteks on programmis võimalik tõsta töökindlust, kui sisse viia tõrgete kontrolle, nagu puuduv CAN-võrk ja mitterakenduv relee. Samuti on programmi kood spetsiifiline vaid selle stendi jaoks ja teistel eesmärkidel on seda raske kasutada. Sellegipoolest on programmi võimalik hõlpsasti lisada uusi sisendparameetreid ja näite. Üks võimalus tehtud tööd edasi arendada oleks lisada veel andureid, mis annaksid parema ülevaate kliimastendil toimuvast. Näiteks saaks paigaldada termomeetreid, pöörete lugejaid, ja asendiandureid. Nende mõõdetavad väärtused peaksid olema kättesaadavad samas programmis.

Abstract [en]

The goal of the paper was to create a user interface to a mobile climate control stand which shall be used for educational purposes. Students can use the work station to study how a climate control system operates on a modern car. The components were taken from a Lexus GS300 produced in 2005. Certain requirements were set for the interface. Firstly, it needed to be flexible, i.e. it would allow the user to change the input parameters in real time in order for the user to observe how the system reacts. For example, the user can change the digital value of engine coolant temperature and see how the airflow is redirected depending on the desired inside temperature. This meant that the interface needed to reproduce CAN (controller area network) messages to A/C Amplifier which is normally done by ECM (engine control module). Secondly, the interface was required to also control the electric engine which ran the compressor. The electric engine was powered by an inverter which too had a CAN controller module available. Finally, the solution needed to switch electromechanical relays on the station. Following the analysis of different hardware and software options, it was decided to write a Python application and run it on Raspberry Pi 3 Model B single-board computer. The CAN network interfaces were provided with a PiCAN2 DUO CAN-bus board. It has two CAN channels which could be used for communication with the A/C Amplifier though the gateway ECU and the inverter simultaneously. Moreover, the leftover pins on the GPIO interface could be used for switching relays with the help of a ULN2803A transistor. The first task was to reverse engineer the relevant communication between ECM and the A/C Amplifier. Three CAN message ID-s with contents were identified and documented – the engine coolant temperature, ambient temperature and A/C compressor clutch lock signal. These signal proved to be enough to successfully use the station. The interface was additionally given the capability to show certain measures, such as the compressor solenoid current, pressure in the system, and the voltage and electric current of the engine. Moreover, when closing the application, the user is given the possibility to receive a log file in the CSV format via e-mail containing data from the last session of using the car climate control station. Critique can be made toward the reliability and limited testing that has been done on the interface. Although certain safety mechanisms are in place, there are still risks deriving from high pressure, high voltage, moving parts and extreme temperatures that need minimising.

Item Type: thesis
Advisor: Sven Kreek
Co-advisor: Henri Vennikas
Subjects: Transport > Automotive engineering > Car construction > Additional equipment for added comfort
Transport > Automotive engineering > Car construction > Car electrical systems
Divisions: Institute of Engineering > Automotive Engineering
Depositing User: Riivo Kiljak
Date Deposited: 07 Jun 2017 05:43
Last Modified: 07 Jun 2017 11:08
URI: http://eprints.tktk.ee/id/eprint/2671

Actions (login required)

View Item View Item