Cut and connected the wiring for the second FPGA, since the current FPGA is having power issues (it might suddenly switch off without warning). This second FPGA does not have any defects, and will be used for the final demonstration.
Designed the SolidWorks 3D print for mounting the camera and the FPGA. This 3D print will sit above the battery enclosure. The camera mount is designed to be set inwards, such that the camera lens barely peeks out of the microphone array PCB. The current setup has the camera poking 1 inch further out from the PCB array surface, which led to minor inconsistencies between the sound heatmap and the visual overlay. This design choice screws the camera on and fixes it so that the lens is aligned with the microphone array surface.
The FPGA mount is designed such that the mass of cables are pointed upwards (where there is space for them to be routed to the LCD screen / camera). It will keep the FPGA fixed in place, so that there is no risk of disconnecting a wire / cable.
Goals for next week:
Print the design (TechSpark is currently closed over the holiday weekend), attach the new 3D print to the first 3D print using superglue. Screw mount the camera and FPGA.
I tested the TMM-120-01-S-D Samtec headers that came in (which were designed to replace the conventional round wires bridging the FPGA to the Samtec ribbon cable. The initial design used Harwin connectors, but upon further research we discovered that they were incompatible with the Samtec ribbon cable. That was the reason why we swapped to using convention round wires, while ordering a supposedly compatible Samtec header to replace it for the long term. However, the TMM-120-01-S-D Samtec headers did not work as expected, with an unreliable connection upon testing with a continuity meter. Even when pushed all the way in, voltage did not reach the PCB, so the board could not be powered. Thus, we had no choice but to switch back to the conventional round wires. Upon inspection, they were thicker in diameter as compared the the Samtec and Harwin headers we tried, producing a better contact with the metal lining.
I also resoldered the six microphones that were faulty, before passing it over to Essie for testing. Now, 28/30 microphones on the PCB are functional and reacting to sound, with only Data Line 5 having issues.
Goals for next week:
Test with two ultrasonic speakers, and characterize the performance of the array using only the inner ring / outer ring of microphones. This would validate the array geometry as being optimal for beamforming.
We have successfully demonstrated the beamforming ability of our ultrasonic camera on a single ultrasonic speaker producing a 40kHz sine wave, at 10Vpp. We have also received 10 new microphones, which will be used to replace the 6 microphones which have been flagged last week. While I am unsure if the microphones themselves are faulty, or if there has been a solder joint issue, I will rework the microphones and test them again.
We have also received the adapter for converting USB-C to the barrel jack connector. Testing with the power bank verifies that the entire system can be portable, and does not require wall power to be functional.
Goals for next week:
Now that some portions of the project are built, we are entering into the verification and validation phase of the project.
We are planning to verify the contribution of the microphone array geometry in the beamforming process, by running two separate tests. We will attempt beamforming with only the inner ring of 15 microphones and log the single-source localization accuracy. Then, we will attempt beamforming with only the outer ring of 15 microphones, similarly logging the accuracy. Based on the design trade studies, we expect that the inner ring will provide the most single-source localization accuracy. The outer ring only contributes to angular resolution, and should perform worse than the inner ring for this specific test.
We are planning to run additional tests to validate the angular resolution of the ultrasonic camera, by adding an additional ultrasonic speaker. The two speakers will be placed at fixed angles, which will be swept by the beamformer to validate the > 20 degree separation that it should be able to resolve.
On November 3rd, an attempt to wire the Samtec TCSD-20-D-06.00-01-N cable to the FPGA via the Harwin M22-2022005 connectors was made. Unfortunately, this always resulted in all data lines being silent. In contrast, a separate test wiring just 3 data lines to the FPGA via conventional round wires was able to capture the data bits. Upon further investigation, I discovered that the square pin headers on the Harwin connector was incompatible with the Samtec Cable, which expected Samtec Headers (TMM, TMMH, STMM, MMT, TW, MTMM, EHT, ETMM (-SR), and ZSTMM series). The conventional round wires were more similar in shape to the Samtec pins, and made a more reliable connection (still not ideal).
While wiring up the FPGA to the PCB, I accidentally shorted the +5V and GND pins on the LS connector of the FPGA, causing the barrel jack to break off. This tore off the +12V trace on the surface of the Ultra96-V2, requiring a separate wire to be soldered to an alternate +12V point on the bottom of the Ultra96-V2. This was on the side of one of the capacitors, which allowed us to power the FPGA again.
On November 4th, Essie tested the data lines connected to all 30 microphones. There were 17 flagged that required fixing. Specificially:
On November 5th, I reworked all the affected microphones using the Hakko FR811, swapping in the 4 backup replacement microphones for some of them. At this point, I was unsure if the microphones were faulty, or if the soldering was the issue (a short, a cold joint etc.) After reworking the microphones, I retested them using the oscilloscope, doing a litmus test for a working sign: PDM data bits transitioning on a rising and falling clock edge. However, I was unable to test if the microphone itself was reacting to sound.
On the first reflow repair, there were still 5 faulty microphones. After repeating the process (second reflow repair), all microphones were producing ones and zeros on the PDM data lines. This included verifying that both microphones sharing a data line were producing bits (rising and falling edges of clock).
After handing it off to Essie later that night, it was verified that 29 of the 30 microphones were reacting to sound.
I printed the 3D mount for the components, and assembled them for the interim demo, using tape and screws. The tape on the PCB was intended to be a temporary attachment, since the PCB may still have to be reworked in the future (and hence reflowed in the oven).
On November 7th 2026, it was discovered that some of the outer ring microphones were not reacting to sound, even though they were reacting a couple days before. Since no reflow work was done in between, the exact cause of this discrepancy is still unknown. Nevertheless, 24 of the 30 microphones were still functional, which allowed us to test the beamforming capability of the device. We used a waveform generator to produce 40kHz sine wave at 10 V-pp, wired up to a MEETOOT ultrasonic speaker. On varying the position and angle of the speaker, the beamformer was able to track it within a limited field-of-view.
Goals for next week:
Showcase the beamforming ability of the device at the interim demo, for a single speaker producing a 40kHz sine wave. Wait for the arrival of 10 replacement microphones, before reworking the 6 non-functional microphones. When the official TMM-120-01-S-D Samtec headers arrive, use that to replace the current wire setup, to have a reliable ideal connection to the FPGA.
Implemented a short Verilog program for testing each individual microphone on the PCB array. Verified that a 4MHz clock output from the Ultra96-V2 FPGA produces alternating 1s and 0s on the data line (indicating ambient noise / silence). Due to the noise in the clock line and data lines, the Verilog program samples the bits in the middle of a rising and falling edge, for accurate capture of the PDM signals.
Received the camera and LCD screen, designed the placement of components relative to each other (microphone array first, camera in the center hole, FPGA, then the LCD screen at the back). Here is a rough visual:
Began the SolidWorks design of the 3D printed mount for the camera. The physical dimensions have been completely designed, with tall pillars to screw each of the components at their corners.
Goals for next week:
Finish the 3D print design (add the correct size screw mounting holes), print a prototype and begin assembly of the camera. Waiting on the delivery of the ultrasonic speakers for testing. Once that arrives, wire them up on a breadboard and hand it over to Roshni, who will begin testing of the beamforming algorithm.
Soldered all components onto PCB (30 MEMS microphones, 30 capacitors, as well as linear voltage regulator for the 1.8V output). Used solder paste and the reflow oven in the Techspark PCB Lab for SMT soldering, as well as soldering irons for through-hole soldering of the connector pins.
Tested each individual data line routed on the PCB, to check that the PDM data bits are being sent correctly by the microphones. For this purpose, I used a voltage source to generate the 5V input voltage (which is then converted to a 1.8V power line on the board). Also, a waveform generator produced a 4MHz, 1.8V peak-to-peak square wave to simulate the clock signal given by the FPGA PL. Measuring the data lines and clock line using oscilloscope probes, there appears to be significant noise on the clock line (as well as all data lines). In addition, a couple of data lines appear to be completely flat, which suggests that there has been a short that introduced noise into the clock line.
Above: Clock line after connecting it to PCB. There is some short that needs to be fixed.
Above: PDM Data lines produced by a pair of microphones. The transient spikes in voltage may be attributed to a noisy clock signal, which degrades the performance of the microphone.
Above: Testing setup
Goals for next week:
Remove the microphones associated with the faulty data lines, and measure the clock line to check if that was the cause of the introduced noise. This will be done using the Hakko FR811 rework station in the PCB Lab. If that fixes the noise, resolder the affected microphones, and test all clock / data lines again for a clean signal.
Added M2 mounting holes to the PCB (2.2mm diameter). Verified that all placement and routing on PCB design is correct and complete. Submitted the JLCPCB order for the minimum 5pcs, as well as all surface-mount / through hole components for the PCB:
5. SamTec TCSD-20-D-06.00-01-N (ribbon cable for connecting PCB to FPGA)
6. SPH0641LU4H-1 Knowles Microphone
Worked on the design report, specifically on the justification for the microphone array design. Added all required equations for deriving the expected sound pressure level at a range of 10 feet, as well as array aperture sizing for angular resolution. Also added all equations justifying the design choice of the SPH0641LU4H-1 Knowles Microphone, deriving the self-noise floor of the microphone, and the operational signal-to-noise ratio picked up by the microphone array (after beamforming).
Goals for next week:
Wait for the arrival of the fabricated PCB and all the components, for surface-mount and through-hole soldering. This will be done in the TechSpark PCB Lab. After PCB assembly, to individually test every microphone for a data signal, before handing it off to teammates for the RTL bringup.
Designed power subsystem for the device, which included estimation of the power consumption of each electrical component. From the system power consumption, I derived a required battery capacity to sustain 2 hours of operation. From that, I chose a 20000mAh power bank to provide 65W of power, enough to avoid any brownouts at 12V, 4A of current draw. Also designed the interface for getting power to the Ultra96-V2, which went through a USB-C to 5.5mm x 2.1mm barrel jack adapter, as well as another adapter to the required 4.75mm x 1.7mm port on the Ultra96-V2.
Quantified all design requirements for the microphone array subsystem, which included equations to derive the sound pressure level created by a gas leak, and the microphone signal to noise ratio (SNR) required for range detection. Also derived the array aperture required for angular resolution of two different leaks. All these quantitative derviations are in the Design Report.
Finalized the PCB components required (the microphones themselves, the exact models of capacitors to use). Downloaded KiCad and designed the schematic for the components. Place and routed the components on the PCB layout, ran Design Rule Check (DRC) to verify that all components are connected. Created gerber files and got a price quotation from JLCPCB ($30) for 5 pieces of PCB.
Schedule Status
The physical hardware implementation is on track, with the PCB design complete. Since PCB fabrication and shipping will take some time, this will be done in parallel with the shipping of other physical components (camera, LCD screen etc.) On track to receiving all materials and starting the build process right after fall break.
Goals for next week:
Verify that PCB schematic and layout is correct (visual inspection of all traces and connections) before sending it out for fabrication. Work on refining the design report. Begin purchasing the components required for the assembly of a prototype.
I primarily worked on researching the geometries required for the 32-microphone array. I then produced the .scr file for Fusion360 Electronics (the PCB design), which took into account PCB routing constraints (such as the placement of the solder pads). I consolidated the “Materials” excel sheet for peripherals that interface with the Ultra96-V2 (camera, LCD display etc.), which included information such as:
Cost
Quantity
Purchase Link
Justification for order
Goals for next week
Place required components onto the schematic in Fusion360, then run all wire routing across all layers of the PCB (including 5V, ground planes). Run DRC and LVS checks across entire PCB board.
Then, submit the order to JLCPCB for a price quotation. Afterwards, submit the 18500 Purchase Request form (sharing the password to the account).