vortex-acoustics

所属分类:物理/力学计算
开发工具:C
文件大小:0KB
下载次数:0
上传日期:2023-07-06 22:59:47
上 传 者sh-1993
说明:  分析来自A1压敏检波器的信号。在Nucleo-F767ZI上运行,
(Analyzes signals from the A1 hydrophones. Runs on Nucleo-F767ZI,)

文件列表:
.settings/ (0, 2023-11-15)
.settings/language.settings.xml (2345, 2023-11-15)
Diagrams/ (0, 2023-11-15)
Diagrams/acoustic_architecture.drawio (3039, 2023-11-15)
Diagrams/plane_pinger_propagation.drawio (1737, 2023-11-15)
Diagrams/stm_multilateration_class_diagram.drawio (4147, 2023-11-15)
Include/ (0, 2023-11-15)
Include/analyze_data.h (2815, 2023-11-15)
Include/main.h (5187, 2023-11-15)
Include/parameters.h (9363, 2023-11-15)
Include/stm32f7xx_hal_conf.h (21651, 2023-11-15)
Include/stm32f7xx_it.h (1907, 2023-11-15)
Include/testing.h (1817, 2023-11-15)
Include/trilateration.h (6560, 2023-11-15)
LICENSE (1068, 2023-11-15)
Makefile (1602, 2023-11-15)
Matlab/ (0, 2023-11-15)
Matlab/Filter_coefficients_test_script.m (1785, 2023-11-15)
Matlab/butterworth_df2_4th_order.fda (7099, 2023-11-15)
Matlab/chebychev_type_1.fda (7421, 2023-11-15)
Python/ (0, 2023-11-15)
Python/__init__.py (0, 2023-11-15)
Python/conftest.py (633, 2023-11-15)
Python/correlation/ (0, 2023-11-15)
Python/correlation/__init__.py (0, 2023-11-15)
Python/correlation/correlation.py (1132, 2023-11-15)
Python/correlation/tdoa.py (3108, 2023-11-15)
Python/correlation/test/ (0, 2023-11-15)
Python/correlation/test/__init__.py (0, 2023-11-15)
Python/correlation/test/test_correlation.py (4552, 2023-11-15)
Python/correlation/test/test_vary_frames.py (2056, 2023-11-15)
... ...

# Acoustics Repository to analyze signals from three (3) different hydrophones and estimate the positioning of a pinger in XY-coordinates. The estimation is calculated by using TDOA to trilaterate the position. TDOA (Time Difference Of Arrival) is the difference between the measured acoustic signals. The TDOA is calculated by the cross-correlation between the measured signals. Since the hydrophones' positions are known, the sound source is calculated through some linear algebra described at https://math.stackexchange.com/questions/1722021/trilateration-using-tdoa Dependencies: CMSIS-library: DSP-library developed by ARM. Downloadable at https://www.keil.com/pack/doc/CMSIS/DSP/html/index.html Eigen (v. 3.3.9 used): Library for linear algebra and matrix-operations. Downloadable at http://eigen.tuxfamily.org/index.php?title=Main_Page Important notes: The code is compiled on STM32CubeIDE, and the MAKEFILE may not be up to date. The Makefile is kept for the future, in case the system is compiled and run on another platform OBS! To prevent the compiler used at STM32CubeIDE to go mental, some defines have been moved into the direct header-files. The compiler couldn't find the defines in the other files where they originally were defined. This can be a problem if the code is used for other projects or other MCUs, and should therefore be used with caution. ## Source files The source files for 2020/2021, can be found in the folder "Source" with the header files under Include. Files with a short description: PARAMETERS: Holds defines and global parameters, such as sampling frequency, hydrophone position, buffer sizes etc. TRILITERATION: Mantains functions to estimate the sound source's position ANALYZE_DATA: Defines a class hydrophone which wraps the data-analyzis for each hydrophone ### Teensy The source code used for the multilateration running on the Teensy 4.1 is placed in `cpp/teensy/`. #### Build Status [![Build PlatformIO project](https://github.com/vortexntnu/acoustics/actions/workflows/build-platformio.yml/badge.svg)](https://github.com/vortexntnu/acoustics/actions/workflows/build-platformio.yml) ## Resource files Resource files are found in the folder "Resource". The folder includes the CMSIS-library, driver for STM32. ## Matlab The Matlab code provided contains the calculations for the digital filter used in the C++ code. ## Python The Python folder provides code for analyzing the multilateration algorithm. ### Pytest Status [![Run Python tests](https://github.com/vortexntnu/acoustics/actions/workflows/run-pytest.yml/badge.svg)](https://github.com/vortexntnu/acoustics/actions/workflows/run-pytest.yml) ## Future improvements/development List of improvements: 1. Check the correctness of the code. Specialized tests should be written to accomodate this requirement. 2. Check the RAM-usage to prevent any memory-leaks. This should be done using Valgrind or any other program

近期下载者

相关文件


收藏者