Nintendo Entertainment System Emulation
Author
Ondřej Golasowski
Year
2023
Type
Bachelor thesis
Supervisor
Ing. Stanislav Jeřábek, Ph.D.
Reviewers
Ing. Michal Štepanovský, Ph.D.
Department
Summary
The bachelor's thesis is focused on the problematics of software emulation in the context of teaching the principles of computer architectures and associated hardware. There is a whole emulator development process presented in an example of a particular computer system, which is the Nintendo Entertainment System. The process consists of understanding the basic principles behind software emulation, analysis of the emulated system, design of the solution based on discovered information, and finally, the implementation of the emulator including testing. The goal of the implementation is to be as comprehensible as possible. The project also includes a universal platform for emulator development. To motivate other students (or hobbyists) interested in the topic, there is a list of possible extensions of the project in the last chapter of the thesis. Detailed documentation was created to make the project more accessible for emulator developers and potential project contributors.
Camera device for remote space monitoring using ESP32-CAM and SIM800L modules
Author
Adam Staes
Year
2023
Type
Bachelor thesis
Supervisor
Ing. Pavel Kubalík, Ph.D.
Reviewers
Ing. Vojtěch Miškovský, Ph.D.
Department
Summary
The bachelor thesis deals with the design and creation of a camera device for remote space monitoring using ESP32-CAM and SIM800L modules. Existing solutions are explored in the work and a custom solution is proposed. The result of this work is a device capable of detecting motion and taking a picture of the monitored space. The image is stored on an SD card and sent via mobile data to the user's email address. The user can control the device with commands via SMS. A printed circuit board and a 3D printable enclosure are designed for the device.
RISC-V CPU superscalar microarchitecture design
Author
Tomáš Věžník
Year
2023
Type
Bachelor thesis
Supervisor
Ing. Michal Štepanovský, Ph.D.
Reviewers
doc. Ing. Ivan Šimeček, Ph.D.
Department
Summary
This thesis aims to explain the superscalar processor's working principles and to design a microarchitecture based on the RISC-V RV32I instruction set architecture. The designed microarchitecture is called VTM (Veznik Tomas Microarchitecture) and is described using SystemVerilog hardware description language. The VTM is a dual-issue out-of-order superscalar microarchitecture that executes up to four instructions in the execution stage simultaneously. The primary output of this thesis is the VTM source code. The simulation, accompanied by the theoretical part of this thesis, serves as a learning tool for anyone who wants to understand the inner workings of superscalar processors, with students as the primary audience.
Robot Pepper Application for Mobile Phone Operator
Author
Adam Švehla
Year
2022
Type
Bachelor thesis
Supervisor
Ing. Miroslav Skrbek, Ph.D.
Reviewers
Ing. Zdeněk Buk, Ph.D.
Department
Summary
This bachelor thesis covers the design and implementation of an application for the Pepper humanoid robot, which is aimed at supporting customer care at a mobile phone operator's branch office.
The work analyzes the available technologies for the needs of the application and at the same time tries to avoid shortcomings and errors of similar solutions. The aim of the work is to implement an interactive application that will inform and entertain customers. The result is a robust solution that uses state-of-the-art cloud technology for speech recognition and artificial intelligence for localization and intent detection, which stands out in terms of communication, user-friendliness and user experience.
Implementation of Paillier cryptosystem & fault-injection attack on CEC 1702 processor
Author
Lukáš Daněk
Year
2022
Type
Bachelor thesis
Supervisor
Dr.-Ing. Martin Novotný
Reviewers
Ing. Jakub Klemsa
Department
Summary
The bachelor thesis focuses on working with the CEC1702 cryptoprocessor. The first part of the thesis is oriented on programming the cryptoprocessor, modification of existing implementation of the library for operating on large numbers, and implementation of the Paillier cryptosystem for the mentioned cryptoprocessor. The thesis also includes development of firmware that allows the use of the RSA-CRT encryption algorithm and the Paillier cryptosystem with variable key length. The second part of the thesis focuses on fault injection attacks on the RSA-CRT encryption algorithm. Power supply glitches and clock source glitches used are generated using the ChipWhisperer suite.
The attacks are first successfully performed on the STM32F3 microcontroller, where RSA-CRT is implemented using the library for operating on large numbers from the first part of the thesis. Using the knowledge from the attacks on the STM32F3, a further set of attacks was designed for the CEC1702 cryptoprocessor, using only power supply glitches, as the CEC1702 does not have the ability to use an external clock source. The attack was performed on two versions of RSA-CRT. The first version corresponds to the implementation for the STM32F3. The second version uses a hardware accelerator for cryptographic operations. The attack was successful on both versions of the implementation. This thesis outlines a possible approach to extend the created implementations and the implemented fault injection attacks. Created manual for programming the cryptoprocessor and the firmware documentation can be found in the appendix of the thesis.
Software for Nixie clock
Author
Martina Bechyňová
Year
2022
Type
Bachelor thesis
Supervisor
Ing. Matěj Bartík, Ph.D.
Reviewers
doc. Ing. Ivan Šimeček, Ph.D.
Department
Summary
The aim of this thesis is to create control software for a custom-made embedded system using an STM32WB microcontroller unit that can be configured via Bluetooth Low Energy (BLE). The thesis concerns itself with analyzing the criteria placed on the software and the development of said software. The thesis also places emphasis on compatibility with the complementary BLE Android application that was developed for the custom device, but it does not cover the development of the application itself. The software is made from the ground up, because no suitable existing project was found that could be used as its basis. The result of the thesis is functional control software that can be used on the custom-made devices or as a basis for a similar project.
Versatile Hardware Framework for Elliptic Curve Cryptography
Author
Vít Mašek
Year
2022
Type
Bachelor thesis
Supervisor
Dr.-Ing. Martin Novotný
Reviewers
Ing. Vojtěch Miškovský, Ph.D.
Department
Summary
This thesis proposes a versatile hardware framework for elliptic curve cryptography. The framework supports modular arithmetics with up to 256-bit general modulus and optimized arithmetic for P-256, Ed25519, and Curve25519 curves, enabling easy implementation of various elliptic curve cryptography algorithms. Full elliptic curve and Edwards curve digital signature algorithms can be performed using this framework as well as the X25519 algorithm for Diffie-Hellman key exchange. Such a framework finds its application area in nowadays rapidly expanding field of hardware wallets or IoT devices. As the design is intended to be implemented in ASIC, it is designed to be area efficient. Individual hardware units are reused for several different calculations. The framework allows to implement several side-channel attack countermeasures, mainly masking techniques, even after the framework is designed.
Smart monitoring system
Author
Michal Žůrek
Year
2021
Type
Bachelor thesis
Supervisor
Ing. Miroslav Skrbek, Ph.D.
Reviewers
Ing. Martin Daňhel, Ph.D.
Department
Summary
The goal of this thesis is to develop monitoring system which monitor environment using camera and transfers data of picture to cloud for further processing. Thesis targets security aspects of solution.
The thesis describes possible opportunities to develop monitoring system using different approaches and describes their properties that results from selection. Thesis describes development of IoT device based on Azure Sphere platform which is connected to Microsoft Azure cloud, cloud application based on Azure services developed according to concept PaaS and user application presenting outputs from monitoring system to user.
The thesis also describes some issues associated with development on the Azure Sphere platform and their possible solutions.
Smart mirror prototype
Author
Jakub Zahradník
Year
2021
Type
Bachelor thesis
Supervisor
Ing. Martin Daňhel, Ph.D.
Reviewers
doc. Ing. Ivan Šimeček, Ph.D.
Department
Summary
This bachelor thesis deals with the design and implementation of a functional prototype of a smart mirror. The analytical part of this work is devoted to a detailed analysis of already completed projects, whether by technology enthusiasts or products available on the market. The possible benefits or negatives of the investigated solutions are evaluated in this analytical part of work, either from the point of view of the materials used, technologies or the way of user control. In the next phase of the analytical part, possible SW platforms and HW products are considered, which could be used for the implementation of a smart mirror. Great attention is paid especially to the selection of suitable display components - various types of glasses and displays are discussed here. The practical part of this work deals with the creation of a functional prototype of a smart mirror. The construction of the mirror is unique, frameless and is designed to offer the user the largest possible display area for information and at the same time a modern design with voice control. The created prototype is based on the Raspberry Pi platform, and also are listed here expandable modules for light control. The steps for installing the individual SW platforms HomeAsistant, MagicMirror^2 and the voice assistant Kalliope are described. Part of the work is also a procedure how to configure individual platforms, solve possible problems and also it is indicated the way of possible expansion or use of the designed mirror in a smart home. Finally, the prototype is thoroughly tested to ensure the functional reliability of the entire system.
Remotely controlled low power weather station
Author
Vojtěch Jílek
Year
2020
Type
Bachelor thesis
Supervisor
Ing. Pavel Kubalík, Ph.D.
Reviewers
Ing. Robert Hülle
Department
Summary
This thesis deals with designing and creating a meteostation which meassures temperature, humidity, preassure and concentration of carbon dioxide. The designed station can also communicate with user via Bluetooth and SMS messages, compute averages of meassured values and check wether some quantity limit has been exceeded. The station is based on Arduino platform. PCB for the meteostation has been created within this work.
Dummy and multiple rounds countermaesure of PRESENT cipher in FPGA
Author
Petr Moucha
Year
2020
Type
Bachelor thesis
Supervisor
Dr.-Ing. Martin Novotný
Reviewers
Ing. Stanislav Jeřábek
Department
Summary
This thesis focuses on securing block ciphers against side-channel attacks that can deduce the secret key from a device's power consumption. Multiple-and dummy-rounds countermeasure was tested because its effectiveness is yet to be proven. To verify previous results and find possible errors in countermeasure design, I created VHDL implementation of PRESENT cipher secured by dummy rounds. This version underwent a series of tests that revealed a leakage at the beginning of the cryptographic operation. Further improvements led to progressively better but still unsatisfying results. The most prominent feature was the insertion of a random number of dummy clock cycles before the first valid operation. I also examined the influence of added dummy registers used as storage for outputs of dummy rounds. Furthermore, as part of my effort, I developed tools useful for future testing of multiple- and dummy-rounds countermeasure.
A Library for the Hexapod robot control
Author
Jitka Seménková
Year
2019
Type
Bachelor thesis
Supervisor
Ing. Miroslav Skrbek, Ph.D.
Reviewers
Ing. Ivo Háleček
Department
Summary
The aim of this thesis is to create a software library for six-legged robot. This library is created for the A-Pod hexapod by Lynxmotion controlled with Raspberry Pi and servo controller SSC-32u by Lynxmotion. This library enables the hexapod robot to walk on flat surface and over terrain as well using contact sensors. Inverse kinematic is used for planning the movement. This library can be used to create more complex applications for hexapod robot by other students of FIT CTU. Manual and CD with video of the robot walking is attached to this thesis.
Remote control of the model car
Author
Zuzana Jiránková
Year
2018
Type
Bachelor thesis
Supervisor
Ing. Jaroslav Borecký, Ph.D.
Reviewers
Ing. Martin Kohlík, Ph.D.
Department
Summary
The thesis' focus is documentation of building a functional car model remotely controlled by tilt of back of a hand with development and expansion boards from company STMicroelectronics. The aim of the practical part is to build functional car model, glove for attachment of the remote control board and a firmware of the remote control and the car. The firmware either of the remote control and the car will be written in C language and Bluetooth Low Energy technology will be used for communication purposes. The result of the practical part is functional remote control and car, which can be further expanded with more features.
Portable ECG
Author
Tomáš Přeučil
Year
2018
Type
Bachelor thesis
Supervisor
Dr.-Ing. Martin Novotný
Reviewers
Ing. Vojtěch Miškovský, Ph.D.
Department
Summary
This bachelor thesis looks into the development of a portable device for electrocardiography which can measure three elemental ECG leads, is battery powered and transmits measured data into a central data collection unit via WiFi. The patient is therefore able to move and the physician can see real time information about his/her condition.
The core of the system is an ECG analog frontend -- ADAS1000 from Analog Devices. The data are processed by STM32L0 MCU and sent to the data collection unit using ESP8266 WiFi module.
The main output of this thesis is a complete prototype design which contains both hardware and software. It is very simple to manufacture a PCB from the presented data and thanks to enclosed source codes of MCU firmware and central unit software (which can be run on any Linux PC) it is possible to quick start the usage of the prototype.
The enclosed DVD contains prototype photos, PCB design and source codes.
Device for Measurement of Ionizing Radiation
Author
Libor Kuchař
Year
2018
Type
Bachelor thesis
Supervisor
Ing. Filip Štěpánek
Reviewers
Ing. Martin Kohlík, Ph.D.
Department
Summary
This bachelor thesis deals with the development of homemade Geiger-Müller counter based device for gamma-ray measurement and a supporting mobile application for the Android. Thesis also contains the introduction to the physical and chemical basics necessary for the successful realization of the device. The design of the device is elaborated based on the analysis of similar devices for measurement of ionizing radiation. The device is composed of the Arduino kit and board with Geiger-Müller tube. This device can be controlled via mobile phone using Bluetooth interface. The text also describes device tesing in Department of Radiation Dosimetry and the results are compared with the dosimeter commonly used in laboratories.
Meteostation using Bluetooth Low Energy
Author
David Šafrata
Year
2017
Type
Bachelor thesis
Reviewers
Ing. Ivo Háleček
Department
Summary
This bachelor's thesis describes implementation of weather monitoring station, which is able to send historical measurements via Bluetooh Low Energy (BLE). Application is implemented for SoC EM9304 with EEPROM memory and temperature, pressure and humidity sensor connected over serial interface. Result of this thesis is working device, which communicates with smartphone using dedicated client application, where user sends commands and receive visualized data. The thesis also contains results of power consumption measurements in various phases of activity.
Side channel analysis of cryptographic algorithms implementations
Author
Lukáš Mazur
Year
2017
Type
Bachelor thesis
Supervisor
Dr.-Ing. Martin Novotný
Reviewers
Ing. Vojtěch Miškovský, Ph.D.
Department
Summary
We explored the possibilities of the Differential Power Analysis (DPA) on the Field Programmable Gate Array (FPGA). We have modified the application for measuring a power consumption, created scripts for performing DPA, and created different implementations of AES algorithm for FPGA. Developed scripts and applications for DPA were verified against AES implementation for smart cards. Once those applications successfully broke the implementation for smart cards, we continued with the application of DPA against AES implementation for an FPGA board. DPA against FPGA was performed in six different configurations. Those configurations differed in AES implementation for FPGA, in board configuration, in oscilloscope setup, and in method of the attack. We found variants that could be successfully broken. We found out that an oscilloscope and measuring environment setups has major impact on the feasibility of the DPA on FPGA. The implementation is less important for the success of the attack. The most important aspect of the implementation was the clock frequency. We have also found out that using different power sources and removing capacitors on the FPGA board have significant impact on the feasibility of the DPA.
Side channel attack on AES Implementation in Altera FPGA
Author
Jan Říha
Year
2017
Type
Bachelor thesis
Supervisor
Dr.-Ing. Martin Novotný
Reviewers
Ing. Vojtěch Miškovský, Ph.D.
Department
Summary
Aim of this work is to compare influence of Fault-Tolerance techniques on
differential power-analysis (DPA) resistance of AES cipher implemented in Altera
FPGA. After attacking simple variant, I attacked fault-tolerant variants
of the cipher and compared results with the simple variant. From the comparison
follows that the use of informational redundancy at SubBytes operation,
spatial and time redundancy at both round and algorithm level had minimal
influence on resistance against DPA, as the number of power traces necessary
to obtain the key had not changed significantly.
Educational Kit with the Peltier Device
Author
Karel Hynek
Year
2017
Type
Bachelor thesis
Supervisor
Ing. Miroslav Skrbek, Ph.D.
Reviewers
Dr.-Ing. Martin Novotný
Department
Summary
This bachelor's thesis deals with design of educational kit with the Peltier device. The kit can cool and warm up liquid on preset temperature using thermoelectric cooling and warming.
The goal was reached with discrete controller, which is controlling Peltier device by pulse width modulation.
This thesis concerns construction of whole kit and designing cooler for Peltier device considering size of the kit. It also deals with design of electri cal scheme, circuit board and selecting right electronic components. Lastly, thesis deals with implementation of libraries for reading from sensors, discrete controller and sample application.
The educational kit was succesfuly tested and should help to educate students at CTU in Prague.