Newcastle University
Browse
GenAlgor4_1_5Arduino.m (27.54 kB)

Active vibration control with hardware in the loop - supervision program code

Download (27.54 kB)
software
posted on 2023-01-24, 11:48 authored by Jack HaleJack Hale

Matlab code for optimising an active vibration control (AVC) syetm running on an Arduino microccontroller.  For use with sketch "DueMatlabControllerV6_2".


The genetic algorithm generates a population, each member composed of 60 genes which form the controller coefficients, which are sent in turn to the faster running microcontroller.  It then receives back a measure of the effectiveness of the AVC which it uses as "fitness" to compare a population members. 


The fittest members of the population are "bred" to form a new generation, and the process repeated until the population converges on an optimum set of controller coefficients.


Funding

None

History

Usage metrics

    Newcastle University

    Licence

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC