OpenwaterHealth / opw_ustx

Openwater Ultrasound Transmit Module (USTX)
GNU Affero General Public License v3.0
1 stars 1 forks source link

Openwater Ultrasound Transmit Module (USTX)

This repository contains the mechanical designs and code for the USTX module.

The USTX module is a Work In Progress, but represents Openwater's work towards a standalone, low-cost ultrasound transmit module for the Open-LIFU platform.

Operating Instructions

How to bring up USTX

  1. Install STM32CubeIDE in order to download embedded microcontroller firmware

  2. Clone the This repository from github

  3. Open the STM32CubeIDE

    • Set the workspace to: embedded/ustx_cpp/
    • Import Project: embedded
    • Check the ustxtest folder
    • In the left panel, you should see a blue IDE icon that says ustxtest, if you click the expand arrow you can see all the associated files.
    • Go to “Project” menu, and click “Build All”
  4. Power on USTX

    • For programming power provided from the usb-C cable is sufficient, no need for 12V barrel jack connector).
  5. Plug in the JTAG debug dongle (6pin) to the J-link tool and to USTX

    • Once connected, in the project explorer (menu on the left), click ustxtest.elf.launch, and then click the green run arrow at the top of the screen
    • If successful, green indicator light should come on
    • To test: Open Putty, connect to ustx by selecting serial, entering COM port, and using baudrate 921600. If it connects, the green indicator light should start flashing image

How to run and test the USTX

In order to run and test the USTX, there is a USTX-Onda Utility function that allows you to program it to work with a specific probe, at a specific frequency, for various foci.

To use the USTx-Onda Utility:

  1. Navigate to: C:/Openwater/system/util/ustx-onda/msvc/
    • Open: ustx-onda.sln
    • In the ‘Solution Explorer’ panel, right click on ustx-onda, scroll down to ‘project only’ and select ‘build only ustx-onda’

To Run:

  1. Follow these steps to safely power up the board:
    1. Plug in a 12V barrel jack.
    2. Plug in the USB cable and connect to the PC.
    3. Turn on input power through +/-VDD.
    4. Program the board using the PC.
    5. Turn on the trigger signal.

Please note that plugging the USB cable before the barrel jack will prevent the board from starting properly, the barrel jack needs to be plugged in first.

  1. Open a command prompt (windows-> cmd)
    1. cd /system/util/ustx-onda/msvc/x64/Release
    2. ustx-onda.exe

Troubleshooting:

Example JSON File:

{
  "frequency" : 5e6,
  "waveforms": 1,
  "repeat_count": 5,
  "repeat_time": 0.001,
  "cw_mode": false,
  "speed_sound": 1500.0,
  "n_elements": 128,
  "pitch": 3e-4,
  "max_angle": 0.78,
  "f_number": 1,
  "probe": "L11-5v",
  "radius": 0,
  "max_elements": 30,
  "foci": [
    [0.000, 0.025],
    [-0.010, 0.010],
    [0.010, 0.010]
    ]
}

What are the differences between v1.0, 1.1, 1.2 and where are the physical boards and electronic design files?

How does USTx work?

Architecture:

Settings:

CW mode vs pulsed mode

CW mode

License

open-LIFU is licensed under the GNU Affero General Public License v3.0. See LICENSE for details.

Investigational Use Only

CAUTION - Investigational device. Limited by Federal (or United States) law to investigational use. The system described here has not been evaluated by the FDA and is not designed for the treatment or diagnosis of any disease. It is provided AS-IS, with no warranties. User assumes all liability and responsibility for identifying and mitigating risks associated with using this software.