81 |
Memory Measurement and Message Usage Improvement on an Elevator Embedded SystemArleklint, Tomas January 2019 (has links)
All embedded systems are unique, a design that is suitable for one system can rarely be copied over to another. This inherently makes designing embedded systems difficult. The difficulty is only amplified by the uncertainty of the future requirements as it is developed over time. Being able to continuously validate the performance and the reliability is of great importance to be able to ensure fault proof execution.This thesis explores two areas. A method of tracking the static and dynamic memory usage of a system is crucial to ensure correct functionality under all conditions, and that the implemented hardware will suffice. Multiple possible tools, each functioning uniquely, were developed and tested to find the most suitable for measuring the memory usage of the elevator system. Additionally the message usage, i.e. the way the different units within the studied system communicate with each other, was scrutinized for possible performance and reliability enhancements. A study was made for the most optimal communication protocol, and for how the transmissions could be improved upon.The results show that for this specific system, the best way of calculating the memory usage is with a tool developed within this project. Using this tool it was found that none of the modules in the elevator system use more than 30 % of the available memory during execution. The message usage study shows the most optimal protocol is CAN with the ISO 15765-2 upperlevel protocol, which is the one currently in use. However, improvements to the message transmissions are suggested, such as taking full advantage of the CAN protocol and by implementing message buffers on the receiving end.An important conclusion is that just as there is no unique system design that fits all, there is no memory measurement tool or message usage implementation that fits all systems. Each system has to be analyzed to find the most optimal solution for that particular system. / Alla inbyggda system är unika, en design som passar ett system kan sällan kopieras över till ett annat. Detta leder till att det är svårt att designa inbyggda system. Osäkerheten över framtida systemkrav då systemet utvecklas över tid gör inte designproblemet lättare. Att kontinuerligt kunna validera prestandan och pålitligheten är viktigt för att kunna garantera felfri körning.Detta examensarbete utforskar två områden. En metod för att mäta den statiska och dynamiska minnesanvändningen av systemet är nödvändig för att kunna säkerställa att systemet alltid fungerar som det ska, och att den tillgängliga hårdvaran är tillräcklig. Flera olika verktyg utvecklades och testades för att hitta det som bäst mäter hissens minnesanvändning. Utöver det granskades meddelandeanvändningen, hur de olika enheterna inom det studerade systemet kommunicerar med varandra, för potentiella förbättringar av prestandan och pålitligheten. En studie utfördes för att hitta det mest optimala kommunikationsprotokollet, och för hur av överföringarna kunde förbättras.Resultatet visar att för det här specifika systemet är bästa sättet att räkna ut minnesanvändningen med ett verktyg utvecklat under projektet. Med hjälp av det här verktyget visas att ingen av modulerna i hissystemet använde mer än 30% av det tillgängliga minnet under körning. Studien över minnesanvändningen påvisar att det mest optimala protokollet var CAN och ISO 15765-2 för det övre lagret, vilket är det som används för nuvarande. Dock föreslås förbättringar till hur meddelandena överförs, till exempel genom att utnyttja CAN protokollet till fullo och genom att implementera meddelandebufferts på mottagarsidan.En betydelsefull slutsats som drogs var att på samma sätt som det inte finns en unik systemdesign som passar alla system, finns det inte heller ett minnesanvändningsverktyg eller en meddelandeanvändning som passar alla system. Varje enskilt system måste analyseras för att hitta den mest optimala lösningen för det specifika systemet.
|
82 |
Using embedded systems to optimize the care of indoor plants / Användning av inbyggda system för att optimera skötseln av inomhusväxterÅbonde, Anton, Salas Amnér, Simon January 2020 (has links)
Over the last few years the interest in indoor plants has increased. Whether they are used for decorating, as mood boosters or sometimes as food in cooking, people want to come closer to nature by bringing it into their homes. However removing plants from their natural habitat could have negative implications on their well-being. In order to achieve an optimal environment, the current location for the plants need to emulate their native environment. Taking sunlight and watering into consideration isn’t always enough: temperature, humidity, soil nutritional level and soil pH level are also factors that needs to be monitored. This thesis covers the creation of a prototype that measures sunlight, temperature and humidity, compares the measurements to a database of plant needs, and then displays the result on a website. The aim is to enable a more effective care of indoor plants. In the end a system was created that can take measurements, are capable of comparing the two sets of data and then visualize the result on a website for the user. / Under de senaste åren har intresset för inomhusväxter ökat. Oavsett om de används för att dekorera, som humörförstärkare eller ibland i matlagning vill människor komma närmare naturen genom att föra den in i sina hem. Att ta bort växter från deras naturliga livsmiljö kan dock ha negativa konsekvenser för deras välbefinnande. För att uppnå en optimal miljö måste den nuvarande platsen för växterna emulera deras ursprungliga miljö. Att tänka på solljus och vattning är inte alltid tillräckligt utan temperatur, luftfuktighet, jordens näringsnivå och jordens pH-nivå är andra faktorer som också behöver ses över. Det här examensarbetet omfattar skapandet av en prototyp som mäter solljus, temperatur och luftfuktighet, jämför mätningarna med en databas över växtbehov och sedan visar resultatet på en webbplats. Syftet är att göra det möjligt för användaren att effektivisera skötseln av inomhusväxter för växternas välbefinnande såväl som för sitt egna. I slutändan skapades ett system som kan utföra mätningarna och är kapabelt att jämföra dessa två samlingar data som sedan visar resultatet på en webbplats för användaren.
|
83 |
Jämförelse av datakomprimeringsalgoritmer för sensordata i motorstyrenheter / Comparison of data compression algorithms for sensordata in engine control unitsMöller, Malin, Persson, Dominique January 2023 (has links)
Begränsad processor- och minneskapacitet är en stor utmaning för loggning avsensorsignaler i motorstyrenheter. För att kunna lagra större mängder data i dessakan komprimering användas. För att kunna implementera komprimering imotorstyrenheter krävs det att algoritmerna klarar de begränsningar som finnsgällande processorkapaciteten och ändå kan producera en godtagbarkomprimeringsgrad.Denna avhandling jämför komprimeringsalgoritmer och undersöker vilken ellervilka algoritmer som är bäst lämpade för detta ändamål. Detta i syfte att förbättraloggning och därmed effektivisera felsökning. Detta gjordes genom att utveckla ettsystem som kör olika komprimeringsalgoritmer på samplad sensordata frånmotorstyrenheter och beräknar komprimeringstid och komprimeringsgrad.Resultaten visade att delta-på-delta-komprimering presterade bättre än xorkomprimering för dessa data. Delta-på-delta presterade betydligt bättre gällandekomprimeringsgrad medan skillnaderna i komprimeringstid mellan algoritmernavar marginella. Delta-på-delta-komprimering bedöms ha god potential förimplementering i loggningssystem för motorstyrenheter. Algoritmen bedöms somväl lämpad för loggning av mindre tidsserier vid viktiga händelser, för merkontinuerlig loggning föreslås fortsatta studier för att undersöka hurkomprimeringsgraden kan förbättras ytterligare. / Limited processor and memory capacity is a major challenge for logging sensorsignals in engine control units. In order to be able to store larger amounts of data,compression can be used. To successfully implement compression algorithms inmotor control units, it is essential that the algorithms can effectively handle thelimitations associated with processor capacity while achieving an acceptable level ofcompression.This thesis compares compression algorithms on sensor data from motor controlunits in order to investigate which algorithm(s) are best suited to implement forthis application. The work aims to improve the possibilities of logging sensor dataand thus make the troubleshooting of the engine control units more efficient. Thiswas done by developing a system that performs compression on sampled sensorsignals and calculates the compression time and ratio.The results indicated that delta-of-delta compression performed better than xorcompression for the tested data sets. Delta-of-delta had a significantly bettercompression ratio while the differences between the algorithms regardingcompression time were minor. Delta-of-delta compression was judged to have goodpotential for implementation in engine control unit logging systems. The algorithmis deemed to be well suited for logging smaller time series during important events.For continuous logging of larger time series, further research is suggested in orderto investigate the possibility of improving the compression ratio further.
|
84 |
Analysis and modelling of grooming behaviour of mice / Analys och modellering av skötselbeteende hos mössSjöstedt, Wilhelm January 2022 (has links)
Mapping dynamical motion to neural brain activity is one of many challenges in the field of neuroscience. Further knowledge in this area could provide useful insights in fields such as medical treatment of brain disorders. However, progress in the field is halted by the immense complexity of the human brain and the diversity of unique dynamical behaviours. In this project the stereotypical grooming behaviour of mice is analysed to gain knowledge of its dynamical features. Properties such as the dimensionality of the underlying dynamical system and trajectories of state space reconstructions are analysed using tools such as Taken's delayed embedding theorem, Principal Component Analysis and Locally Linear Embedding. / Att sammankoppla motorik med hjärnans neurala aktivitet är en av många utmaningar inom neurovetenskapen. En bättre förståelse inom området kan vara till stor nytta för behandling av till exempel neurologiska sjukdomar. Komplexiteten av den mänskliga hjärnan och den stora mängden av unika rörelsebeteenden gör dock processen svårare. I det här projektet analyseras det stereotypiska skötselbeteendet hos möss för att få en djupare förståelse om dess dynamiska egenskaper. Dimensionaliteten av skötselbeteendet och rekonstruktioner av det dynamiska flödet undersöks med hjälp av exempelvis Taken's delayed embedding Theorem, Principal Component Analysis och Locally Linear Embedding.
|
85 |
Automatiserad elektrisk testning av styrenheter : Styrenheter med verkliga laster i befintliga testriggar / Automated electric testing of electronic control units : Electronic control units with actual loads in existing testrigsWernersson, Johan January 2017 (has links)
I detta examensarbete utreddes huruvida elektriska tester av styrenheter för tunga fordon kan automatiseras på befintliga testmiljöer. Arbetet utfördes på uppdrag av Scania CV AB för arbetsgruppen Electronic Hardware som utför tester vid utveckling och verifiering av krav på styrenheter. Genom en automatiserad testprocess kan testarbetet effektiviseras och kvaliteten höjas. Testarbetet sker på testriggar som innehåller fullskalig hårdvara från lastbilar för att kunna emulera styrenhetens autentiska arbetsmiljö. För att komma fram till ett testsystem som kunde leva upp till de krav och behov som formulerats inom kravprocessen i arbetet användes utvecklingsmodeller. Utvärderingsmatriser användes för att välja den mjuk- och hårdvara som skulle vara mest lämplig för det automatiserade testsystemet utifrån kraven. Resultatet visade att testsystemet skulle bestå av en testprogramvara som körs på en vanlig persondator och ett inbyggt system med elektroniska komponenter för att kunna utföra de elektriska testerna. För att demonstrera testsystemets möjligheter i ett helhetstest konstruerades en prototyp som har funktionalitet att utföra ett testfall som kan dra stor nytta av att automatiseras, nämligen att testa omslagsnivåer för en digital ingång. Prototypen baserades på ett mikrokontrollerkort från Arduino och ett kretskort konstruerades till detta för att kunna utföra elektriska tester med högre spänningsnivåer som krävs för styrenheter på Scaniafordon. För att utforma testfall och hantera testprocessen valdes LabVIEW, en programvara där tester designas med ett grafiskt programmeringsspråk. Testresultaten för prototyptestsystemet visade att verifieringen av kraven för omslagsnivåer förenklas radikalt vid ett automatiserat förfarande, eftersom testtiden kunde minskas drastiskt, i synnerhet vid ett repetitivt förfarande. / This thesis work intends to study the possibilities to automate electrical testing of electronic control units in an existing test environment. The work was executed on behalf of Scania CV AB for the department Electronic Hardware, who run tests in development and verification of requirements for electronic control units. By using an automated testing system, the testing process could be made more effective and raise the quality. The testing work is done on test rigs which are equipped with full-scale hardware from real trucks to emulate the working environment the electronic control unit operates into. Development models were used to be able to create a testing system which could meet the requirements that were defined during the requirement engineering process. Evaluation matrices were used to choose the soft- and hardware that could be considered the most appropriate for the automated testing system according to the requirements. The result shown that the testing system should consist of a testing software that runs on an ordinary computer and an embedded system equipped with electronic components to enable the testing system for electrical tests. To demonstrate the possibilities of the whole testing system a prototype was manufactured which was designed to execute a test case that could greatly benefit from the advantages that comes with automation. It was a test case set out to measure voltage levels when switching in a digital input. The prototype was based on a microcontroller card from Arduino and was joined by a printed circuit board to be able to run electrical tests with the higher voltage levels that were demanded by electronic control units. To design test cases and manage the test process, LabVIEW was chosen, a software in which tests are designed in a graphical programming language. Test results for the prototype test system showed that verification of the requirements for voltage levels when switching was radically simplified by an automated procedure, as the test time could be drastically reduced, particularly in a repetitive procedure.
|
86 |
Force-Sensing Rehabilitation Glove : A tool to facilitate rehabilitation of reduced hand strengthHenriksson, Michael, Fransson, Michael January 2018 (has links)
This thesis examines how the pressure sensors can be used in rehabilitation for patients with weakened hand strength. The rehabilitation process usually contains everyday tasks to evaluate the patient’s capability and the tools for this part of the rehabilitation process are few. The challenges will be to find a suitable sensor for the application and how to implement the sensor in a versatile prototype with direct feedback for the user. To solve this problem, research will be conducted on different pressure sensor types to determine the most suitable one for this implementation. The resulting prototype is utilizing a force sensing resistor (FSR) mounted on a glove together with a module that presents direct feedback to the patient and caretaker. The glove has pressure sensors in each fingertip to detect the applied force for each individual finger when the patient grips an object. To present the feedback, a visual interface is created in the form of a hand with a LED for each finger, which provides direct visual feedback and a display to present numerical data. / Denna avhandling undersöker hur trycksensorer kan användas vid rehabilitering av patienter med försvagad handstyrka. Rehabiliteringsprocessen innehåller vanligtvis vardagliga uppgifter för att utvärdera patientens förmåga och nuvarande hjälpmedel är få. Utmaningarna är att hitta en lämplig sensor för applikationen och hur man kan implementera sensorn i en mångsidig prototyp med en direkt återkoppling för användaren. För att lösa detta problem kommer forskning att genomföras på olika typer av trycksensorer. Detta görs för att kunna bestämma den mest lämpade sensortypen för denna implementering. Den resulterande prototypen består av en handske med kraft känsliga resistorer (FSR) och en separat modul som ger direkt återkoppling till patienten och vårdtagaren. Handsken har en sensor i varje fingertopp för att detektera applicerad kraft för varje enskilt finger när patienten greppar ett föremål. För att presentera data från sensorerna skapas ett visuellt gränssnitt. Gränssnittet är i form av en hand med lysdioder i varje finger för direkt återkoppling och en bildskärm för att presentera numeriska data.
|
87 |
ATT UTVECKLA EN KRETSKORTSPROTOTYP : UTVECKLING AV EN SMART PILLERDOSAHallberg, Anders, Lindberg, Jonathan January 2019 (has links)
Allt fler människor är beroende av medicinering för sin överlevnad. Dessa hittas främst i de äldre åldersgrupperna. Många av dessa tar medicin dagligen och bördan av medicinering är påtaglig. På grund av deras problematik skapas en oerhörd stress i samband med medicinering eftersom dessa människor har särskilt svårt att minnas när den ska intas, vilken dos, men också vilken medicin. En del behöver ta medicin så ofta som 8 ggr på en dag.Dessa människor behandlas av läkare. Läkare bedömer medicineringens verkningsgrad baserat på patientens förmåga och vilja att återge korrekt information medicineringens följsamhet. Allt för ofta återger patienten fel information.Vi har fått i uppgift att vidareutveckla en prototyp för en ”smart” pillerdosa vars mål är att förbättra patientens upplevelse av medicinering samt ge läkaren ett pålitligt och säkert sätt att följa sina patienters följsamhet till medicinering.Vi har vidareutvecklat en tidigare framtagen prototyp genom att utveckla en ny prototyp som implementerar alla önskvärda funktioner på ett måttanpassat kretskort.Fördelarna med en speciellt framtagen kretskortsprototyp gentemot en modulbaserad prototyp undersöks med avseende på storleksförminskning, energieffektivisering samt kostnadseffektivisering.Ett lämpligt tillvägagångsätt för att utveckla en kretskortsprototyp, resultatet av undersökning samt rekommendationer för vidareutveckling avhandlas och presenteras i rapporten.En kretskortsprototyp enligt angivna specifikationer utvecklades på utsatt tid. Undersökningarna visade att storleksförminskning, energieffektivisering samt kostnadseffektivisering kunde uppnås. / More and more people are dependent on medication for their survival. These are mainly found in older age groups. Many of these are medicated daily and the burden of medication is noticeable. Because of their problems, enormous stress is associated with medication because it is particularly difficult to remember when it is to be taken, which dose, but also which medicine. Some need to take medicine as often as eight times in one day.These people are treated by doctors. Doctors assess the effectiveness of medication based on the patient's ability and willingness to recall accurate information regarding their compliance with medication. All too often, the patient recalls wrongful information.We have been given the task of further developing a prototype for a "smart" pillbox whose goal is to improve the patient's experience in medication and give the doctor a reliable and safe way to follow the patients' compliance with medication.We have further developed a previous prototype by creating a new prototype that implements all the desired features on a customized circuit board.The advantages of a specially developed circuit board prototype against a modular prototype are investigated regarding size reduction, energy efficiency and cost efficiency.A suitable approach for developing a circuit board prototype, the results of the investigation and recommendations for further development are discussed and presented in the report.A circuit board prototype according to the stated specifications was successfully developed in the specified timeframe. The investigation showed that greater sizereduction, energy-efficiency and cost-efficiency were possible to achieve.
|
88 |
Embedded Vision Machine Learning on Embedded Devices for Image classification in Industrial Internet of thingsParvez, Bilal January 2017 (has links)
Because of Machine Learning, machines have become extremely good at image classification in near real time. With using significant training data, powerful machines can be trained to recognize images as good as any human would. Till now the norm has been to have pictures sent to a server and have the server recognize them. With increasing number of sensors the trend is moving towards edge computing to curb the increasing rate of data transfer and communication bottlenecks. The idea is to do the processing locally or as close to the sensor as possible and then only transmit actionable data to the server. While, this does solve plethora of communication problems, specially in industrial settings, it creates a new problem. The sensors need to do this computationally intensive image classification which is a challenge for embedded/wearable devices, due to their resource constrained nature. This thesis analyzes Machine Learning algorithms and libraries from the motivation of porting image classifiers to embedded devices. This includes, comparing different supervised Machine Learning approaches to image classification and figuring out which are most suited for being ported to embedded devices. Taking a step forward in making the process of testing and implementing Machine Learning algorithms as easy as their desktop counterparts. The goal is to ease the process of porting new image recognition and classification algorithms on a host of different embedded devices and to provide motivations behind design decisions. The final proposal goes through all design considerations and implements a prototype that is hardware independent. Which can be used as a reference for designing and then later porting of Machine Learning classifiers to embedded devices. / Maskiner har blivit extremt bra på bildklassificering i nära realtid. På grund av maskininlärning med kraftig träningsdata, kan kraftfulla maskiner utbildas för att känna igen bilder så bra som alla människor skulle. Hittills har trenden varit att få bilderna skickade till en server och sedan få servern att känna igen bilderna. Men eftersom sensorerna ökar i antal, går trenden mot så kallad "edge computing" för att stryka den ökande graden av dataöverföring och kommunikationsflaskhalsar. Tanken är att göra bearbetningen lokalt eller så nära sensorn som möjligt och sedan bara överföra aktiv data till servern. Samtidigt som detta löser överflöd av kommunikationsproblem, speciellt i industriella inställningar, skapar det ett nytt problem. Sensorerna måste kunna göra denna beräkningsintensiva bildklassificering ombord vilket speciellt är en utmaning för inbyggda system och bärbara enheter, på grund av sin resursbegränsade natur. Denna avhandling analyserar maskininlärningsalgoritmer och biblioteken från motivationen att portera generiska bildklassificatorer till inbyggda system. Att jämföra olika övervakade maskininlärningsmetoder för bildklassificering, utreda vilka som är mest lämpade för att bli porterade till inbyggda system, för att göra processen att testa och implementera maskininlärningsalgoritmer lika enkelt som sina skrivbordsmodeller. Målet är att underlätta processen för att portera nya bildigenkännings och klassificeringsalgoritmer på en mängd olika inbyggda system och att ge motivation bakom designbeslut som tagits och för att beskriva det snabbaste sättet att skapa en prototyp med "embedded vision design". Det slutliga förslaget går igenom all hänsyn till konstruktion och implementerar en prototyp som är maskinvaruoberoende och kan användas för snabb framtagning av prototyper och sedan senare överföring av maskininlärningsklassificatorer till inbyggda system.
|
89 |
Design och utvärdering av programvara för en Bluetoothkommunicerande lågenergienhetLarsson, Ante, Fölster, Niclas January 2020 (has links)
Syftet med projektet var att utveckla en programvara för ett strömsnålt smartarmband som kommunicerar med sin användare på ett nytt sätt, via vibrationer i morsekod. Programvaran använder sig av Bluetoothteknik för att skicka och ta emot information i realtid från en smartphone-applikation. Kravet var att programvaran inte bara ska fungera utan även uppnå en viss standard. Standarden var definierad av en kravspecifikation och ett antal mål; robusthet, prestanda, energieffektivitet, begriplighet och förvaltningsbarhet. Allt detta krävdes för att programvaran skulle vara tillräckligt funktionell för att kunna användas i verkligheten.Den utvecklade programvaran har i huvudsak tre delar; En som styr Bluetoothkommunikationen mellan systemet och smartphone-applikation. En som hanterar knapptryckningarna på armbandet. En som styr armbandets vibrationsmotorer. För att bestämma vilken programstruktur som bäst skulle uppfylla kraven utvärderades flera olika ramverk systematiskt. Av dessa valdes det ramverk bäst lämpad för de uppsatta målen. Systemet använder ett realtidsoperativsystem som ger en stabil grund och hanterar alla uppgifter på ett smidigt sätt. Det är dessutom väletablerat och dokumenterat, vilket förenklade utvecklingen. För att validera att programvaran uppnått målen utfördes flertalet anpassade tester. Projektet resulterade i en fullt fungerade programvara som uppfyllde uppsatta mål. Några viktiga lärdomar som har dragits av detta projekt är bland annat att satsningen på test-fokuserad evaluering har varit ett mycket lyckat val. Det har resulterat i att det är lätt och tydligt att se om kraven som ställts har uppnåtts. En annan del som har varit till stor hjälp är de avgränsningar som lagts på projektet. Att ha satt tydliga mål och specificerat att andra icke-relevanta aspekter är utanför ramarna av projektet har varit en stor fördel. / The purpose of this project was to develop a firmware for a low-energy smartwristband that communicates with the user in a new way through vibrations in Morse-code. It uses Bluetooth technology to send and receive information in real-time, from a smartphone application. The firmware did not only have to be functional, it had to reach a certain standard as well. This standard was defined by a set of goals: robustness, performance, power efficiency, comprehensibility and maintainability. All these are required for the program to be viable in practice. The firmware has three main parts: One which controls Bluetooth communication between the system and the smartphone application. One that handles the button presses on the wristband. One that controls the vibration motors on the wristband.To find the right structure for the firmware, several different frameworks were systematically evaluated with the requirements in mind. The system uses a realtime operating system which provides a strong foundation and handles all tasks in an easily manageable way. It is also well established and documented, which facilitated development. Several tests were performed to validate goal achievement.The project resulted in a fully functioning firmware which fulfilled the set goals. Some important lessons that was taught from this project is firstly that the focus on test-based evaluation was a very good choice. It makes it very clear and easy to see if requirements were fulfilled. Another part which has helped a lot was the delimitations set on the project. To specify the scope has been very important part of the projects success.
|
90 |
Generativa melodier för modulära syntar : En vidareutveckling av den klassiska stegWilson, Jim January 2022 (has links)
Detta arbete tar avstamp i Brian Enos uttryck generative music, detta har blivit förknippat med modulära syntar. Hos modulära syntar är möjligheterna stora att ställa in parametrar och sedan låta synten göra sitt, vilket kan skapa intressanta ljudlandskap. Det som dock sällan uppstår är melodier. Arbetet går ut på att lägga till ytterligare en dimension i en sådan kreativ process. Målet med arbetet är att skapa en steg-sequencer inom formatet Eurorack. Denna sequencer ska kunna spela, och slumpmässigt ändra melodier, utifrån valda parametrar. Den önskas dessutom kunna uttrycka musik utifrån musikteoretiska koncept. En prototyp skapas med mikrokontrollern RP2040 från Raspberry Pi Foundation, kretskort designas och tillverkas med KiCad och beställs från mönsterkortstillverkare JLCPCB. Mjukvaran utvecklas i programmeringsspråket C, och skrivs så generellt som möjligt för att det skapade operativsystemet ska kunna expanderas. Prototypen klarar av att programmeras på samma sätt som man skriver noter på notblad. Den innehåller två separata sekvenser med 16 takter vardera, dessa är oberoende av varandra och kan vara olika längd. Det går att ställa in skala och tonart, dessa påverkar båda sekvenser. Det går att ställa in sannolikhet för slumpmässiga ändringar i tonart, skala, melodi på två sekvenser, och harmonisering mellan sekvenserna. Förutom sannolikhet finns flera andra parametrar för de slumpmässiga ändringarna. På prototypens panel sitter en bildskärm och 18 tryckknappar där 13 av dem är utformade likt tangenterna på ett piano. Förutom att programmera sekvenser går det även att spela de kopplade syntarna med pianotangenterna. Följande MoSCoW modellen uppfyller prototypen alla ska och bör mål. Endast två av önskade målen är ej uppfyllda. Funktionaliteten upplevs över författarens förväntan. / This work kicks off with Brian Enos expression generative music. Generative music has risen to prominence lately within the modular synth community. With modular synthesizers there are basically infinite possibilities of setting up some modules and let the synth play forever creating soundscapes without human influence. What seldom is produces in this process is melodies. This work sets to add a new dimension to this kind of creative process. A step-sequencer is produced, intended to play random musical harmonies, within the boundaries that are set. Another aspiration is to create a sequencer which more closely follows the principles of basic music theory. A prototype is created with the microcontroller RP2040 from Raspberry Pi foundation. The circuit board is designed and created in KiCad and ordered from PCB manufacturer JLCPCB. Software is written in the C programming language, data structures are written as generic as possible, so that the operating system easily can be expanded. The result is a sequencer in which you add notes much like you would write sheet music. It contains two separate sequences which can play at the same time, both with 16 bars. There is a changeable key and scale which both affect the sequences. It has the possibility to set a probability for random changes to occur. The key, the scale, the melodies, and harmonization can be randomized. There are several other parameters that affect the randomization. The front panel of the sequencer contains a display and several buttons, some of which is positioned as a piano, which you can use to play any synth it is connected to. Following the MoSCoW model, the prototype fulfills all the must and should goals, only two of the could goals is not implemented. The usability and functionality are beyond the authors expectations.
|
Page generated in 0.0607 seconds