Josef’s Status Report for 10/24

This week, I continued working on the hardware implementation of our active noise cancellation system, with my primary focus being the preparation and refinement of our custom breakout boards. As we move further into the implementation phase, I have been reviewing the schematics and PCB layouts to ensure that the selected components can be reliably interfaced with the STM32 development board. In particular, I focused on verifying the connections required by the audio codec, including its power supply, clock inputs, and digital communication interfaces. I also continued considering how to make the boards easier to debug by ensuring that important signals and power rails are accessible during testing.

I also spent time investigating how the electronics will eventually be integrated into our final wearable form factor. Because the device is intended to be comfortable during sleep, minimizing the size and rigidity of the electronics remains an important design constraint. I continued looking into potential layouts for the custom PCB, including how to route connections between the microphones, speakers, processor, and supporting power-management components. Building on our previous investigation of commercial headphones, I also further considered the use of temporary SWD programming connections to avoid permanently incorporating large connectors into the final design.

Another area I focused on was preparing for the initial hardware verification process. Once the breakout boards have been fabricated and assembled, I plan to begin by checking continuity and verifying that the required power rails are operating correctly before attempting communication with the codec. After that, the next step will be testing the individual microphone and speaker interfaces and confirming that the hardware can reliably communicate with the STM32. My work is progressing toward physical hardware testing, and next week I plan to continue advancing the breakout boards toward fabrication and assembly so that we can begin validating the electrical design.

Soma’s Status Report

This week, I continued working on the signal-processing and physical integration aspects of our active noise cancellation system. My primary focus was on preparing the Hybrid LxFMS algorithm for implementation on the STM32 and considering how its performance in simulation will translate to the actual hardware. Our earlier MATLAB simulation demonstrated promising noise attenuation, particularly at lower frequencies, but real-world performance will depend on additional factors such as microphone placement, speaker response, and processing latency. I therefore continued examining the algorithm’s filtering operations and adaptive coefficient updates to better understand how they can be implemented efficiently within the computational constraints of the processor.

I also spent time considering how the physical arrangement of the microphones and speakers will affect the effectiveness of the ANC system. In particular, I looked into the relationship between the reference microphones, which detect incoming noise, and the error microphones, which measure the residual sound near the user’s ears. Since the adaptive algorithm relies on this feedback to update its filter coefficients, the placement of these components will be important in determining how effectively the system can cancel unwanted noise. I also considered how the secondary acoustic path between the speaker and error microphone may need to be characterized experimentally once we have a working audio-processing pipeline.

Alongside the DSP work, I continued investigating the physical design of the wearable and how the electronic components can be integrated into a comfortable sleep-mask form factor. This included considering the positioning of the speakers around the ears, the placement of the microphones, and how the electronics can be distributed without creating excessive pressure when the user is lying on their side. My work is currently focused on preparing both the algorithm and acoustic configuration for experimental validation. Next week, I plan to continue refining the embedded implementation of the ANC algorithm and develop a more concrete testing procedure for measuring noise attenuation across different frequencies once the hardware becomes available.

Team Status Report for 10/24

This week, our team continued making progress toward implementing the hardware and software components of our active noise cancellation system. With most of the major architectural decisions and component selections finalized, our focus has increasingly shifted toward developing the individual subsystems that will eventually be integrated into the final wearable device. In particular, we continued working on the STM32 firmware, preparing the Hybrid LxFMS algorithm for embedded execution, and advancing the fabrication of our custom breakout boards. Although the complete system is not yet ready for integration, these efforts are helping establish the foundation needed to begin hardware testing and validation.

On the software side, we continued developing the low-level firmware infrastructure required to support real-time audio processing on the STM32. A major focus was the configuration of the SAI/I2S peripheral and DMA transfers, which will allow audio samples to move continuously between the processor and the audio codec without requiring the CPU to handle every sample individually. We also investigated the implementation of a double-buffered DMA architecture, in which the processor operates on one block of audio samples while the next block is simultaneously being received. This approach is particularly important for our application because ANC requires consistent processing intervals and minimal latency between detecting unwanted noise and generating the corresponding anti-noise signal.

We also made progress in determining how the Hybrid LxFMS algorithm will eventually be implemented on the processor. Our current system design uses a 48 kHz sampling rate with 64-sample processing blocks, meaning that the processor must complete the necessary computations within approximately 1.33 milliseconds per block to maintain continuous audio processing. While this provides a useful initial timing constraint, the actual available processing time will depend on peripheral overhead, DMA behavior, and other firmware operations. We therefore began considering how to organize the filtering and adaptive coefficient-update operations to make efficient use of the STM32’s floating-point and DSP capabilities. Our goal is to eventually compare the computational requirements of the algorithm against measurements collected from the actual processor.

On the signal-processing side, we continued examining the relationship between the ANC algorithm and the physical acoustic configuration of the device. Our previous MATLAB simulation demonstrated promising attenuation, particularly at lower frequencies, but the effectiveness of the algorithm in practice will depend heavily on the placement of the microphones and speakers, as well as the acoustic propagation paths between them. We therefore continued considering how the reference and error microphones should be positioned within the wearable to provide useful information to the adaptive filter. We also began planning how to test different acoustic configurations once the hardware is assembled, allowing us to evaluate whether the attenuation observed in simulation can be reproduced experimentally.

On the hardware side, we continued preparing our custom breakout boards for fabrication and assembly. These boards will allow us to test the audio codec and other supporting components independently before incorporating them into the final PCB. Particular attention was given to ensuring that the designs provide the necessary power connections, communication interfaces, and accessible test points for debugging. We also continued refining our approach to programming the STM32 on the eventual custom board, with the current plan involving the SWD interface and temporary programming connections rather than a large permanent connector. This should help minimize the physical footprint of the electronics while preserving the ability to program and debug the device during development.

Another important area of work was planning the testing and verification procedures for the individual subsystems. Rather than attempting to integrate the complete ANC system immediately, we intend to proceed through several stages of validation. The first step will be verifying basic processor functionality and communication with the audio codec. Once this is established, we plan to test continuous DMA-based audio transfers and implement a simple audio passthrough system. We can then introduce fixed filtering operations before moving toward the full adaptive Hybrid LxFMS algorithm. This incremental approach should make it easier to isolate issues related to peripheral configuration, audio synchronization, processing latency, and signal integrity.

We also continued considering the physical integration of the electronics into the sleep-mask form factor. Although the immediate priority remains getting the individual electrical and software components working, the final system must also satisfy our original requirements for comfort, low weight, and overnight operation. Consequently, decisions involving PCB dimensions, wiring, component placement, and power consumption need to remain compatible with the wearable design. We are continuing to treat the mechanical and electrical aspects of the project as interconnected challenges rather than separate tasks.

Overall, the project continues to progress from preparation and design toward implementation and testing. The firmware architecture is becoming more concrete, the ANC algorithm is being prepared for embedded execution, and the custom hardware is moving closer to physical validation. Our main remaining challenge is integrating these independently developed components into a reliable real-time audio-processing system. Next week, we plan to continue STM32 peripheral development, advance the fabrication and testing of our breakout boards, and work toward establishing the first complete audio input-to-output pipeline. Once that basic functionality is demonstrated, we will be in a much stronger position to begin integrating the adaptive ANC algorithm and measuring the actual performance of the system against our original design requirements.

May’S Status Report for 10/24

This week, I continued working on the embedded software for our STM32-based active noise cancellation system. My primary focus was on developing the low-level firmware infrastructure needed to support real-time audio processing. In particular, I continued working on the configuration of the SAI/I2S interface and DMA transfers, which will eventually allow audio samples to move between the processor and audio codec without requiring constant CPU intervention. I also looked further into implementing a double-buffered system so that the processor can perform computations on one block of audio samples while the next block is being received.

Another area I focused on was preparing the software architecture for integrating our Hybrid LxFMS ANC algorithm. Since our current design uses a 48 kHz sampling rate and 64-sample processing blocks, I considered how to organize the audio-processing pipeline to minimize latency and ensure that computations can consistently finish before the next block becomes available. I also began looking into how we could use the STM32’s DSP instructions and floating-point capabilities to accelerate the filtering and coefficient-update operations.

I also continued planning how to test and benchmark the firmware once the complete audio hardware is available. In particular, I want to measure the execution time of individual processing blocks, CPU utilization, and the timing of DMA interrupts to determine how much computational headroom remains for the ANC algorithm. Although full audio testing still depends on successfully bringing up the codec and associated hardware, the software infrastructure is gradually becoming more concrete. Next week, I plan to continue implementing the audio pipeline and work toward running basic passthrough and filtering tests on the development board before integrating the complete adaptive ANC algorithm.

Soma’s Status Report for 10/12 and or 10/17

This week, I focused on preparing our Hybrid LxFMS ANC algorithm for eventual integration with the embedded hardware. Our MATLAB simulation has already demonstrated promising noise attenuation, particularly in the lower-frequency range, so I began examining how the existing algorithm can be translated into an implementation suitable for real-time execution on the STM32. This involved reviewing the filtering operations, adaptive coefficient updates, and secondary-path modeling required by the algorithm while considering the computational and memory limitations of the embedded platform.

I also continued investigating the interaction between the physical acoustic configuration and the ANC feedback loop. Because the effectiveness of the algorithm depends heavily on the relative positions of the reference microphones, error microphones, and speakers, I looked further into how these components should be arranged within our wearable design. In particular, I considered how microphone placement and acoustic propagation delays could affect the ability of our system to generate anti-noise before unwanted sound reaches the user’s ears.

Alongside the algorithm work, I continued thinking about the physical construction of the wearable, including the integration of the speakers, microphones, and electronics into a comfortable sleep-mask form factor. My work is currently on schedule, although the final acoustic configuration will require experimental validation once the hardware is assembled. Next week, I plan to continue preparing the ANC implementation for embedded execution and begin developing a more concrete testing procedure for evaluating attenuation across different frequencies and microphone configurations.

Josef’s Status Report for 10/12 and or 10/17

This week, I focused on moving our custom PCB designs closer to fabrication and preparing for the initial hardware verification process. With the breakout-board designs largely completed last week, I continued reviewing the schematics and layouts to ensure that the selected components could be reliably connected to our development hardware. In particular, I paid attention to power distribution, component footprints, signal routing, and the connections required to interface the audio codec with the STM32. The immediate objective is to fabricate and assemble these breakout boards so that we can begin testing individual components rather than relying entirely on datasheets and simulations.

I also continued investigating how our eventual custom PCB will accommodate programming and debugging without requiring large permanent connectors. Following our teardown of a commercial headphone, I explored the use of small exposed programming pads or temporary wire connections for the STM32 SWD interface. This would allow us to flash and debug the processor during development while keeping the final PCB compact enough to fit inside the wearable. I also considered how the board layout could minimize rigid areas and simplify connections between the microphones, speakers, battery, and processing circuitry.

Another area of focus was establishing a hardware bring-up procedure for the breakout boards once they arrive. This includes checking continuity, verifying power rails, confirming clock signals, and testing communication with individual components before connecting the full system. My work is progressing toward physical fabrication and assembly, although the functionality of the boards cannot be fully confirmed until they are manufactured and tested. Next week, I plan to continue fabrication and begin assembling and validating the first boards as soon as they become available.

May’s Status Report for 10/12 and or 10/17

This week, I focused on beginning the implementation and bring-up of the embedded software that will run on our STM32 processor. With the development boards ordered, I began transitioning from planning the firmware architecture to implementing and testing the low-level functionality required for our ANC system. This included working on the processor’s clock configuration, basic peripheral initialization, and establishing a reliable workflow for programming and debugging the STM32 using ST-Link and SWD.

I also continued developing the DMA-based audio-processing infrastructure that will eventually connect the processor to our audio codec. Our current architecture uses a 48 kHz sampling rate with 64-sample processing blocks, so I focused on designing a double-buffered DMA system that allows audio transfers and computation to occur concurrently. I also began configuring the SAI/I2S peripheral and investigating the clocking and synchronization requirements of the codec. My immediate goal is to establish reliable audio input and output before introducing more computationally intensive filtering operations.

Additionally, I began considering how to benchmark the computational performance of the processor once the audio pipeline is operational. In particular, I plan to measure processing time per audio block, CPU utilization, DMA timing, and overall latency to determine whether our current architecture provides sufficient computational headroom for the Hybrid LxFMS algorithm. My work is currently progressing toward hardware validation, and next week I plan to continue peripheral bring-up and work toward establishing a complete audio passthrough pipeline.