Wednesday 26 July 2017

kitronik :Move mini buggy (JavaScript blocks)

Finally got around to building add playing with the Kitronik :Move https://www.kitronik.co.uk/5624-move-mini-buggy-kit-excl-microbit.html (see below - I decided to put the green sides on the outside - just to be different). One of its features is a vertical set of holes for a pen to be placed in.


Add the blocks (found at https://github.com/KitronikLtd/pxt-kitronik-servo-lite) in blocks editor (https://makecode.microbit.org/) to control the motors. You can do the same thing with writing to the pins, those instructions come with the build instructions, but using the extra blocks  is a little easier to understand. Also add the package for neopixels (type in neopixels in the search box to find them). Two very good tutorials I found useful to start with can be found at:









1. Motor example
I wanted it so that press A on the Micro:bit the robot goes turns right, goes forward, goes back and turns left. 






A stop block does need to be included, without it the :Move will continue moving. The wheels I found can slip on some surfaces reducing the precision, but still fun to play with.

2. At the start and stopping.
I want to use the motors and the 'pixels', but I want to have a known starting position for the motors and set the turning speed; this was possible using the blocks (see below). The pixels are set at this point on pin P0 (see below) as well. 

To stop both the motors and cycling of the pixels - pressing buttons A+B together was set up to this.




3. Rainbow on the pixels.
On pressing button B the pixels rotate through a range of colours.




4. Summary
This is great fun. Having the set of blocks adding for the servos means it is a bit simpler to work with. 








All opinions in this blog are the Author's and should not in any way be seen as reflecting the views of any organisation the Author has any association with. Twitter @scottturneruon

Tuesday 25 July 2017

genetic algorithms to select filters for evoked potential enhancement

Use of evolutionary algorithms to select filters for evoked potential enhancement
Scott Turner
University of Leicester
Published: 2000
http://hdl.handle.net/2381/29366
DOI: 10.13140/RG.2.1.3654.3204

Abstract
Evoked potentials are electrical signals produced by the nervous system in response to a stimulus. In general these signals are noisy with a low signal to noise ratio. The aim was to investigate ways of extracting the evoked response within an evoked potential recording, achieving a similar signal to noise ratio as conventional averaging but with less repetitions per average. In this thesis, evolutionary algorithms were used in three ways to extract the evoked potentials from a noisy background. First, evolutionary algorithms selected the cut-off frequencies for a set of filters. A different filter or filter bank was produced for each data set. The noisy signal was passed through each filter in a bank of filters the filter bank output was a weighted sum of the individual filter outputs. The goal was to use three filters ideally one for each of the three regions (early, middle and late components), but the use of five filters was also investigated. Each signal was split into two time domains: the first 30ms of the signal and the region 30 to 400ms. Filter banks were then developed for these regions separately. Secondly, instead of using a single set of filters applied to the whole signal, different filters (or combinations of filters) were applied at different times. Evolutionary algorithms are used to select the duration of each filter, as well as the frequency parameters and weightings of the filters. Three filtering approaches were investigated. Finally, wavelets in conjunction with an evolutionary algorithm were used to select particular wavelets and wavelet parameters. A comparison of these methods with optimal filtering methods and averaging was made. Averages of 10 signals were found suitable, and time-varying techniques were found to perform better than applying one filter to the whole signal.














Full text versions are available from:

References

Akay M and Daubenspeck JA (1999) Investigating the Contamination of Electroencephalograms by Facial Muscle Electromyographic Activity using Matching Pursuit Brain and Language Vol. 66 p. 184-200.
http://dx.doi.org/10.1006/brln.1998.2030
Aguiar P, David A, Palo S, Rosa A (2000) EEGSolver-Brain Activity and Evolutionary algorithms [on-line] http://thcta.ist.utl.ptl/~142549/nies/paDer/Daper.html Accessed on 7/2/2000
Aminoff MJ (1999) Electrophysiology Ed. Goetz CG, Pappert EJ Textbook of Clinical Neurophysiology Saunders p. 436-457.
Aminoff MJ and Eisen A (1999) Somatosensory Evoked Potentials Ed. Aminoff MJ Electrodiagnosis in Clinical Neurology Churchill Livingston 4th Edition p. 513-536.
Angel A, Linkens DA, Ting CH (1999) Estimation of Latency Changes and Relative Amplitudes in Somatosensory Evoked Potentials Using Wavelets and Regression Computers and Biomedical Research Vol. 32 p. 209-251.
Anziska BJ, Cracco RQ (1981) Short latency SEPs to median nerve stimulation: Comparison o f recording methods and origin o f components Electroencephalography and Clinical Neurophysiology Vol. 52 p. 531-539.
http://dx.doi.org/10.1016/0013-4694(81)91428-0
Bartnik EA, Blinowska KJ, Durka PJ (1992a) Single evoked potential reconstruction by means of wavelet transform Biological Cybernetics Vol. 67 p. 175-181.
http://dx.doi.org/10.1007/BF00201024
Bartnik EA, Blinowska KJ (1992b) Wavelets - A new method of Evoked Potential Analysis Medical and Biological Engineering and Computing Vol. 30 p. 125-126.
Bentley PM, McDonnell JTE (1994) Wavelet Transforms: An Introduction IEE Electronics & Communication Engineering Journal p. 175-186.
Bertrand O, Bohorquez J, Pernier J (1994) Time-frequency Digital Filtering Based on an Invertible Wavelet Transform. An Application to Evoked Potentials IEEE Transactions o f Biomedical Engineering Vol. 41 No 1 p.77-88.
Bezerianos A, Laskaris N, Fotopoulos S, Papathanasopoulos (1995) Data dependent weighted averages for recording evoked potential signals Electroencephalography and Clinical Neurophysiology Vol. 96 p. 468-471.
http://dx.doi.org/10.1016/0168-5597(95)00070-9
Blinowska KJ, Durka PJ (1997) Introduction to wavelet analysis British Journal ofAudiologyVo\. 31 No. 6 p. 449-459.
Braun JC, Hanley DF, Thakor NV (1996) Detection of Neurological Injury Using Time-Frequency Analysis of Somatosensory Evoked Potentials Electroencephalography and Clinical Neurophysiology Vol. 100 No. 4 p. 310- 318.
http://dx.doi.org/10.1016/0168-5597(96)95115-1
leBron Paige A, Ozdamar O, Delegado RE (1996) Two dimensional spectral processing of sequential evoked potentials Medical & Biological Engineering & Computing Vol. 34 p. 239-243.
http://dx.doi.org/10.1007/BF02520080
Cadwell JA and Villarreal (1999) Electrophysiological Equipment and Electrical Safety Ed. Aminoff MJ Electrodiagnosis in Clinical Neurology Churchill Livingston 4thEdition p. 15-33.
Campbell JA (1985) Observations on Somatosensory Evoked Potentials Recorded From Within the Human Spinal Cord , PhD Thesis, University of Liverpool.
Campbell JA and Leandri M (1986) The effects of High-pass Filters on Computer Reconstructed Evoked Potentials Electroencephalography and Clinical Neurophysiology Vol. 57 pp 99-101.
Carlton EH, Katz S (1980) Is Wiener Filtering an Effective Method of Improving Evoked Potential Estimation IEEE Transactions of Biomedical Engineering Vol. 27 No. 4 p. 187-192.
Challis RE, Kitney RI (1990) Biomedical Signal Processing (in four parts) Part 1 Time Domain Methods Medical and Biological Engineering and Computing Vol. 28 p. 509-524.
http://dx.doi.org/10.1007/BF02442601
Choudhry DK, Stayer SA, Rehman MA, Schwartz RE (1998) Electrocardiographic artifact with SSEP monitoring unit during scolios surgery Paediatric Anaesthesia Vol. 8 p. 341-343.
http://dx.doi.org/10.1046/j.1460-9592.1998.00005.x
Clark (1992) The Origin of Biopotentials Medical Instrumentation: Application and Design Ed. Webster JG 2ndEdition Houghton Muffin: Boston
Coifman RR, Wickerhauser MV (1992) Entropy-based Algorithms for best Basis Selection IEEE Transactions on Information Theory Vol. 38 No.2 p. 713-719.
http://dx.doi.org/10.1109/18.119732
Coppla R, Tabor R, Buchsbaum MS (1978) Signal To Noise Ratio Variability Measurements in Single Trial Evoked Potentials Electroencephalography and clinical Neurophysiology Vol. 4 p. 214-222
Darragh GA, Ifeachor EC, Rosen K (1995) Optimal Signal Enhancement of EPs: A Pilot Study Proceedings o f the International Workshop on Medical and Biological Signal Processing p. 47-54.
Daubechies I (1988) Orthonormal Bases of Compact Supported Wavelets Communications on Pure & Applied Mathematics Vol. XLI p. 909-996.
Daubechies I (1990) The Wavelet Transform, Time-frequency Localization and Signal Analysis IEEE Transactions on Information Theory Vol. 36 No. 5 p. 961-1005.
Davilia CE, Mobin MS (1992) Weighted Averaging of Evoked Potentials IEEE Transactions o f Biomedical Engineering Vol. 39 No. 4 p. 338-345.
Davis L (1991) Hybridisation and Numerical Representation Ed. Davis L Handbook ofEvolutionary algorithms p. 61 -71.
Demiralp T, Yordanova J, Kolev V, Ademoglu A, Devrim M, Samar VJ (1999) Time-Frequency Analysis of Single-Sweep Event-Related Potentials by Means o f Fast Wavelet Transforms Brain and Language V ol. 66, p. 129-145.
Dobie RA, Wilson MJ (1990) Optimal ('Wiener') digital filtering of auditory evoked potentials: use of coherence estimates Electroencephalography and Clinical Neurophysiology Vol. 77 p. 205-213.
http://dx.doi.org/10.1016/0168-5597(90)90039-G
Doncarli C, Goering L, Guiheneuc P (1992) Adaptive smoothing of evoked potentials Signal Processing Vol. 28 p. 63-76.
http://dx.doi.org/10.1016/0165-1684(92)90065-5
Donoho DL (1995) De-Noising by Soft Thresholding IEEE Transactions on Information Theory Vol. 41 No. 3 p. 613-627.
http://dx.doi.org/10.1109/18.382009
Donoho DL, Johnstone IM (1994) Ideal spatial Adaptation by Wavelet Shrinkage Biometrika Vol. 81 p. 425
Donoho DL, Johnstone IM, Kerkyacharian G, Picard D (1995) Wavelet Shrinkage: Asymptopia ? Journal o f the Royal Statistical Society B Vol. 57 No. 2 p. 301-369.
Doyle DJ (1975) Some comments on the use of Wiener filtering for estimation of evoked potentials Electroencephalography and Clinical Neurophysiology V ol. 38 p. 533-534.
Eisen A, Roberts F, Low M, Hoirch M, Lawerence P (1984) Questions Regarding the Sequential Neural Generators Theory of the Somatosensory Evoked Potentials Biased by Digital Filtering Electroencephalography and Clinical Neurophysiology Vol. 59 p. 388-395.
http://dx.doi.org/10.1016/0168-5597(84)90040-6
Fung KSM, Chan FHY, Lam K, Poon PWF, Liu JG(1995) Visual Evoked Potential Estimator By Artificial Neural Network Filter: Comparison With The EnsembleAveragingMethod Proceedings of the IEEE Engineering in Medicine and Biology 17thAnnual Conference p. 805-806.
Fung KSM, Chan FHY, Lam K, Liu JG, Poon PWF (1996) Visual Evoked Potential Enhancement by an Artificial Neural Network Filter Bio-Medical Materials and Engineering Vol. 6 p. 1-13.
Furst M, Blau A (1991) Optimal A Posteriori Time Domain Filter for Average Evoked Potentials IEEE Transactions on Biomedical Engineering Vol. 38 No. 9 p. 827-833.
Geva AB, Pratt H, Zeevi YY (1995) Spatio-temporal multiple source localization by wavelet-type decomposition of evoked potentials Electroencephalography and Clinical Neurophysiology Vol96 p. 278-286
http://dx.doi.org/10.1016/0168-5597(94)00294-O
Geva AB, Pratt H, Zeevi YY (1997) Multichannel wavelet-type decomposition of evoked potentials: model-based recognition of generator activity Medical & Biological Engineering & Computing Vol. 35 No. 1 p. 40-45.
http://dx.doi.org/10.1007/BF02510390
Glaser EM and Ruchkin DS (1976) Principles of Neurobiological Signal Analysis Academic Press: New York.
Goldberg DE (1989) Evolutionary algorithms in Search, Optimisation & Machine Learning Addison-Wesley: Reading,Mass.
Green JB, Nelson AV, Michael D (1986) Digital zero-phase-shift filtering of short-latency somatosensory evoked potentials Electroencephalography and Clinical Neurophysiology Vol. 63 p. 384-388.
http://dx.doi.org/10.1016/0013-4694(86)90024-6
Grefenstette JJ (1986) Optimisation of control parameters for genetic algorithms IEEE Transactions on Systems, Man and Cybernetics Vol. 16 No. 1 p. 122-128.
http://dx.doi.org/10.1109/TSMC.1986.289288
Grieve RCW, Parker PA, Hudgins B (1995) Adaptive stimulus Artifact Cancellation in Biological Signals using Neural Networks Proceedings o f the IEEE Engineering in Medicine and Biology 17thAnnual Conference p. 801-802.
Hansson M, Gansler T, Salomonseen G (1996) Estimation of Single Event- Related Potentials Ultizing the Prony Method IEEE Transactions on Biomedical Engineering Vol. 43 No. 10 p. 973-981.
Harrison SAB, Lovely DF (1995) Identification of noise sources in surface recording of spinal somatosensory evoked potentials Medical & Biological Engineering & Computing p. 299-305.
http://dx.doi.org/10.1007/BF02510503
Haupt RL (1995) An introduction to Genetic Algorithms for Electromagnetics IEEE Antennas and Propagation Magazine Vol. 37 No. 2 p. 7-15.
Hayes MH (1996) Statistical Digital Signal Processing and Modelling, John Wiley and Sons, first Edition, p. 335-390.
Heinrich H, Dickhaus H, Rothenberger A, Heinrich V, Moll GH (1999) Single- Sweep Analysis of Event-Related Potentials by Wavelet Networks - Methodological Basis and Clinical Application IEEE Transactions on Biomedical Engineering Vol. 45 No. & p. 867 -879.
Holland JH (1995) Adaptation in Natural and Artificial Systems: An Introduction Analysis with Applications to Biology, Control and Artificial Intelligence MIT Press: Cambridge, Mass.
Isoglu-Alkac U, Baser-Eroglu C, Ademoglu A, Demiralp T, Miener H, Stadler M (1998) analysis of the Electroencephalographic activity during the necker cube reversals by means of the wavelet Transform Biological Cybernetics Vol. 79 p. 437-442.
http://dx.doi.org/10.1007/s004220050492
Journee HL, van der Worp PE, Zeinstra E, Buchtal A, Mooji JJA (1995) Enhancement of the Acquisition Speed of Somatosensory Evoked Potentials By a Response Tuned Wavelet Filter Proceedings of the IEEE Engineering in Medicine and Biology 17thAnnual Conference p. 1065-1066.
Karajalainen PA, Kaipio JP, Koistinen AS, Vauhkonen M (1999) Subspace Regularization Method for the Single-Trial Estimation of Evoked Potentials IEEE Transactions on Biomedical Engineering Vol. 48 No. 7 pp. 849-860.
Khandpur RS (1987) Handbook of Biomedical Instrumentation p.5 Tata McGraw Hill: New Dehli.
Kriss A (1985) Setting up an Evoked Potential (EP) Laboratory Ed. Halliday AM Evoked Potentials in Clinical Testing p. 1-44.
Lange DH, Inbar GF (1996) A Robust Parametric Estimator for Single-Trial Movement Related Brain Potentials IEEE Transactions on Biomedical Engineering Vol. 43 No. 4 p. 341-347.
http://dx.doi.org/10.1109/10.486254
Lange DH, Pratt H, Inbar GF (1997) Modelling and Estimation of Single Evoked Brain Potential Components IEEE Transactions on Biomedical Engineering Vol. 44 No. 9 p. 791-799.
Lankhorst MM, van der Lann MD(1994) Wavelet-based Signal Approximation with Evolutionary algorithms [on-line] ftp://ftp.cs.rug.nl/pub/cs-reports/wavelets.ps.gz Accessed on 24/4/1999
Laskaris N, Bezarianos A, Fotopoulos S, Papathanasopoulos P (1996) A Evolutionary algorithm For the Multidimensional Filtering Process of Visual Evoked Potential Signals Proceedings o f 18th Annual International Conference o f the IEEE Engineering in Medicine and Biology Society p. 1553-1554.
Laskaris N, Fotopoulous S, Papathanasopoulos P, Bezerianos A (1997) Robust moving averages, with Hopfield neural network implementation, for monitoring evoked potential signals, Electroencephalography and Clinical Neurophysiology Vol. 104 p. 151-156.
http://dx.doi.org/10.1016/S0168-5597(97)96681-8

Lewalle J, Peek FW, Murphy SJ (1995) Wavelet Analysis of Olfactory Nerve Responses to Stimulus Journal of Theoretical Biology Vol. 177 No. 3 p. 215- 236.
Lim LM, Akay M, Doubenspeck JA (1995) Identifying Respiratory-Related Evoked Potentials IEEE Engineering in Medicine and Biology Magazine March/April p. 174-178.
http://dx.doi.org/10.1109/51.376756
Maccabee PJ, Pinkhasov El, Cracco RQ (1983) Short latency somatosensory evoked potentials to median nerve stimulation effect of low frequency filter Electroencephalography and Clinical NeurophysiofogyVol 55 p. 34-44.
Maccabee PJ, Hassan NF, Cracco RQ, Schiff JA (1986) Short latency somatosensory evoked potentials: power spectra comparisons between high-pass analog and digital filter Electroencephalography and Clinical NeurophysiologyVol65 p. 177-187.
Maccabee PJ, Hassan NF (1992) AEEM Minimonograph #39: Digital Filtering: Basic Concepts and Applications to Evoked Potentials Muscle & Nerve Vol. 15 p. 865-875.
MacLennan AR and Lovely DF (1995) Reduction of evoked potential measurement time by a TMS320 based adaptive matched filter Med. Eng. Phys. Vol. 17 (4) p. 248-256.
http://dx.doi.org/10.1016/1350-4533(95)90849-7
Makeig S, Jung TP, Bell AJ, Ghahreman D, Sejinowski TJ (1997) Blind Separation of Auditory Event Related Responses into Independent Components Proceedings o f the National Academy o f Science USA Vol. 94 p. 10979-10984.
Mallat SG (1989) A Theory for Multiresolution Signal Decomposition: The wavelet Representation IEEE Transactions on Pattern Analysis and Machine Intelligence Vol. 11 No. 7 p. 674-693.
http://dx.doi.org/10.1109/34.192463
Mallat SG (1998) A Wavelet Tour of Signal Processing Academic Press: San Diego
Mallat SG and Zang Z (1993) Matching pursuit with time-frequency dictionaries IEEE Transactions on Signal Processing Vol. 41 No. 12 p. 3397-3415.
http://dx.doi.org/10.1109/78.258082
McNay D, Michielesen E, Rodgers RL, Taylor SA, Akhatari M, Sutherling WW (1996) Multiple Source Localization using Genetic Algorithms Journal of Neuroscience Methods Vol. 64 pp 163-172.
http://dx.doi.org/10.1016/0165-0270(95)00122-0
Michalewicz Z (1996) Evolutionary algorithms+Data Structures = Evolution Programs 3rd Edition, Springer: Berlin
Misiti M, Misiti Y, Oppenheim G, Poggi JM Wavelet Toolbox For Use with MATLAB TheMathWorksInc.
Morin E, Scott RN, Parker PA (1987) Characterization and Processing of Surface Recorded Spinal Somatosensory Evoked Potentials Electroencephalography and Clinical Neurophysiology Vol. 68 pp.40-44
http://dx.doi.org/10.1016/0168-5597(87)90068-2
Muthuswamy J, Thakor NV (1998) Spectral analysis methods for neurological signals Journal ofNeuroscience Methods Vol. 83 p. 1-14.
Nayak A, Roy RJ (1995) Neural Networks for Predicting Depth of Anesthia From Auditory Evoked Potentials: Comparison of the Wavelet Transform with Autoregressive Modelling and Power Spectrum Proceedings of the IEEE Engineering in Medicine and Biology 17thAnnual Conference p. 797-800.
Nayak A, Roy RJ (1998) Anaesthesia Control Using Midlatency Auditory Evoked Potentials IEEE Transactions on Biomedical Engineering Vol. 45 No. 4 p. 409-421.
http://dx.doi.org/10.1109/10.664197
Nishida S, Nakamura M, Shibasaki H (1993) Method for single-trial Recording of somatosensory evoked potentials Journal of BiomedicalEngineeringVol. 15 p. 255-262.
Norcia AM, Sato T, Shinn P, Mertus J (1986) Methods for identification of evoked response in frequency and combined time/frequency domains Electroencephalography and Clinical Neurophysiology V ol. 65 p. 212-226.
Nuwer MR, Dawson E (1984) Intraoperative evoked potential monitoring of spinal cord: enhanced stability of cortical recordings Electroencephalography and clinical Neurophysiology Vol. 59 p. 318-327
http://dx.doi.org/10.1016/0168-5597(84)90049-2
Olson WH Basic Concepts of Medical Instrumentation Ed. Webster JG Medical Instrumentation Application and Design 2nd Edition p. 10-11, Houghton Mifflin Co: Boston
Paradiso C, De Vito L, Rossi S, Setacci C, Battisini N, Cioni R, Passero S, Giannini F, Rossini PM (1995) Cervical and scalp recorded short latency somatosensory evoked potentials in response to epidural spinal cord stimulation in patients with peripheral vascular disease Electroencephalography and Clinical Neurophysiology V ol. 96 p. 105-113.
Parker PA, Gopalan R (1987) Evoked Potential Signal and System Nonlinearity IEEE Transactions on Biomedical Engineering Vol. 34 No. 10 p. 771-778.
Parsa V, Parker PA (1994) Multireference Adaptive Noise Cancellation Applied to Somatosensory Evoked Potentials IEEE Transactions on Biomedical Engineering Vol. 41 No. 8 p. 792-800.
Parsa V, Parker PA, Scott RN (1998) Adaptive Stimulus Artifact Reduction in Noncortical Somatosensory Evoked Potential Studies IEEE Transactions on Biomedical Engineering Vol. 45 No. 2 p. 161-179.
Quiroga RQ (2000) Obtaining single stimulus evoked potentials with Wavelet Denoising [on-line] http:/Avww.physio.mu-luebeck.de/user/rq/denoisingl.ps.qz accessed on 3/7/2000.
Rossini PM, Cracco RQ, Cracco JB, House WJ (1981) Short latency somatosensory evoked potentials to peroneal nerve stimulation: scalp topography and the effect of different frequency filters Electroencephalography and Clinical Neurophysiology Vol. 52 p. 540-552.
http://dx.doi.org/10.1016/0013-4694(81)91429-2
Rossini PM, Basciani M, DiStefano E, Febbo A, Mercuri N (1985) Short Latency scalp somatosensory evoked potential and central spine to scalp propagation characteristics during peroneal and median nerve stimulation in multiple sclerosis Electroencephalography and clinical Neurophysiology Vol. 60 p. 197-206.
http://dx.doi.org/10.1016/0013-4694(85)90031-8
Saatchi Mr, Gibson C, Rowe JWK, Allen EM (1997) Adaptive Multiresolution Analysis Based Evoked Potential Filtering IEE Proceedings on Science, Measurement and Technology Vol. 144 No. 4 pp. 149-155.
Samar VJ, Swartz KP, Raghuveer (1995) Multiresolution Analysis of Event- Related Potentials by Wavelet Decomposition Brain and Cognition Vol. 27 p. 398-438.
Samar VJ, Begleiter H, Chapa JO, Raghuveer MR, Orlando M, Chorlian D (1996) Matched Meyer Neural Wavelets for Clinical and Experimental Analysis of Auditory and Visual Evoked Potentials Signal Processing: VIII Theories and Applications p. 387-390.
Samar VJ, Bopardikar, Raghuveer R, Swartz K (1999) Wavelet Analysis of Neuroelectric Waveforms: A conceptual Tutorial Brain and Language Vol. 66 p. 7-60.
http://dx.doi.org/10.1006/brln.1998.2023
Schafer RE, Small GW, Arnold A (1996) Evolutionary algorithm-Based Protocol for Coupling Digital Filtering and Partial Least-Squares Regression: Application to the Near-Infrared Analysis of Glucose in Biological Matrices Analytical Chemistry Vol. 68 p. 2663-2675.
Strang G and Nguyen T (1997) Wavelets and Filter Banks Wellesley-Cambridge Press Revised Edition.: Wellesley, MA
Thakor NV (1987) Adaptive filtering of Evoked Potentials IEEE Transactions ofBiomedical Engineering Vol. 32 NO. 1 p. 7-12.
Thakor NV, Guo X, Vaz RA, Laguna P, Jane R, Caminal P, Rix H, Hanley DF (1993a) Orthonormal (Fourier and Walsh) Models of Time-varying Evoked Potentials in Neurological Injury IEEE Transactions o f Biomedical Engineering Vol. 40 No. 3 p. 213-221.
Thakor NV, Xin-rong G, Yi-Chun S, Hanley DF (1993b) Multiresolution Wavelet Analysis of Evoked Potentials IEEE Transactions of Biomedical EngineeringNoX.^ONo.W p. 1085-1094.
Tian J, Juhola M, Gronfors T (1997) Latency Estimation of Auditory Brainstem Response By Neural Networks Artificial Intelligence in Medicine Vol. 10 p. 115-128.
Walter DO (1969) A Posteriori Wiener Filtering of Averaged Evoked Responses Electroencephalography and Clinical Neurophysiology suppl 27 p. 61-70.
Wastell DG (1979) The application of low-pass filtering to evoked potential data: Filtering without phase distortion Electroencephalography and Clinical
Neurophysiology Vol. 46 p. 355-356.
Wasted DG (1981) When wiener filtering is less than optimal: An illustrative application to the brain stem evoked potential Electroencephalography and Clinical Neurophysiology Vol. 51 p. 678-682.
http://dx.doi.org/10.1016/0013-4694(81)90214-5
de Weerd JPC, Kap JI (1981a) A Posteriori Time-varying Filtering of Averaged Evoked Potentials 1 Introduction and Conceptual Basis Biological Cybernetics Vol. 41 p. 211-222.
de Weerd JPC, Kap JI (1981b) A Posteriori Time-varying Filtering of Averaged Evoked Potentials I Mathematical and Computational Aspects Biological Cybernetics Vol. 41 p. 223-234.
de Weerd JPC, Kap JI (1981c) Spectro-temporal representation and time- varying spectra of evoked potentials Biological Cybernetics Vol. 41 p. 101-117
http://dx.doi.org/10.1007/BF00335365
Wiener N (1949) Extrapolation, Interpolation and Smoothing of Stationary Time Series with Engineering Applications cited by Proakis JG and Manolakis DG (1996) Digital Signal Processing Principles, Algorithms and Applications Prentice-Hall.New Jersey 3rdEdition pp. 715.
Yu KB, McGillem CD (1983) Optimum filter for estimating evoked potential waveforms IEEE Transactions on Biomedical Engineering Vol. 30 No. 11 p. 730-373.
http://dx.doi.org/10.1109/TBME.1983.325187
Yu XH, Zhang YS, He ZY (1994) Peak component latency-corrected average method for evoked potential waveform estimation IEEE Transactions on Biomedical Engineering Vol. 41 No. 11 p. 1072-1082.
http://dx.doi.org/10.1109/10.335845
Zhang Q and Benveniste A (1992) Wavelet Networks IEEE Transactions on Neural Networks Vol. 2 p. 889-898
http://dx.doi.org/10.1109/72.165591


All opinions in this blog are the Author's and should not in any way be seen as reflecting the views of any organisation the Author has any association with. Twitter @scottturneruon

Sunday 16 July 2017

Cozmo, Ohbot go to Code Club

I have recently taken two robots to a Code Club, here are a couple of reflections/observations.


Cozmo
This robot produced by Anki is incredibly cute - a cross between Wall-E and a pet in some respects.

The code below was produced by the 'Code-Clubbers' and gets Cozmo to speak move around and operate its forks at the front. Anecdotally, someone was trying to work on something but couldn't resist coming and having another look at what it was doing.







Ohbot






Ohbot provided a different opportunity to play with a robot, getting to move the mouth, speak and track faces. My first impression was some of the children were a bit wary, until they found out they could control what it says and that seemed to break the ice.





All opinions in this blog are the Author's and should not in any way be seen as reflecting the views of any organisation the Author has any association with. Twitter @scottturneruon

Friday 30 June 2017

Cozmo is programmable

The incredibly cute robot Cozmo became even more engaging recently with the ability to program it. A recent update to the Cozmo app (see related links) to include Code Lab allowing programming of Cozmo through of a graphical programming approach based on Scratch Blocks.





An example of the code is shown below, getting Cozmo to:

  • Start moving around
  • Wait until it see a face
  •       Says Hi Everybody 
  •       Moves forward
  •       Sounds like a cat
  •       Looks down and then raises it's forks
  •       Acts 'grumpy'
  •       Acts 'happy'




The video at the end shows this in action.


It is an easy to use tool and with a lot of the Cozmo actions available in the blocks, put a few blocks together and very quickly you have Cozmo doing some interesting and often funny actions. Is it very flexible, no; but it is not meant to be - it is meant to be easy to use and it is and great fun. Personally, I felt the app needed this addition, it adds the element to take this toy further into a coding toy (yes another one) that it feels, to me, it should be.







Related posts
Cozmo-Wall-E has a rival
Cozmo is coming to the UK
Android app
iPad app




All opinions in this blog are the Author's and should not in any way be seen as reflecting the views of any organisation the Author has any association with. Twitter @scottturneruon

Saturday 24 June 2017

Crumble Junkbot at Code Club

Tried out the Junkbot controlled by a Crumble Controller (See here for plans for it) at the Code Club I help with at Roade Primary School, Northamptonshire.

The first two images show the junkbot drawing the lines and dots on the paper just be using a spinning unbalanced motor.




In the figure below (though you can't see it) the connection between the motor and the power goes through the Crumble to allow the motor to change direction. Some the 'code-clubbers' have played with lowering the power via the Crumble and found below certain values (percentage of the maximum power available through the Crumble) the motor stalls.





The simple code used to control it shown below.




Links












All opinions in this blog are the Author's and should not in any way be seen as reflecting the views of any organisation the Author has any association with. Twitter @scottturneruon

Thursday 22 June 2017

Girls into Engineering event - Computing -22/6/2017

The Computing teams NAO robots seemed to have been a hit today: 


The robots were a hit it sounds see below:




All opinions in this blog are the Author's and should not in any way be seen as reflecting the views of any organisation the Author has any association with. Twitter @scottturneruon

Remote Data Logging with V1 Microbit

In an earlier post  https://robotsandphysicalcomputing.blogspot.com/2024/08/microbit-v1-datalogging.html  a single microbit was used to log ...