Jump to content

Contributions:BioPacADC: Difference between revisions

From BCI2000 Wiki
Lingling (talk | contribs)
No edit summary
Added pic
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Image:BioPacDevice.jpg|thumb|Example BioPac device]]
==Synopsis==
==Synopsis==
The BioPacADC source module enables signal acquisition from BioPac MP160
The BioPacADC source module enables signal acquisition from BioPac MP160
Line 8: Line 10:
===Authors===
===Authors===
Huiling Huang (huiling@neurotechcenter.org)
Huiling Huang (huiling@neurotechcenter.org)
Juergen Mellinger (mellinger@neurotechcenter.org)
William Engelhardt (engelhardt@neurotechcenter.org)


===Version History===
===Version History===
Line 14: Line 20:
==Video Overview==
==Video Overview==
<br>
<br>
<youtube alignment="center" dimensions="900"></youtube>
<youtube alignment="center">https://youtu.be/IHK_Ft60F9g</youtube>
<be>
<br>


==Functional Description==
==Functional Description==
Acquires data from BioPac MP160 system: 1)BN-RSPEC(respiration signal) 2)BN-PPGED(skin conductance measurement) 3)BN-EGG2(electrogastrogram) 4)BN-EMG2(Electromyography)
The MP160 is implemented as both a BCI2000 source module and as a “logger.” As a source module, the MP160 is treated as the time base for data acquisition. This means that any peripheral devices will be sampled with respect to the MP160. You should implement the MP160 as a bci2000 source module if this is your primary electrophysiological signal acquisition device. As a logger, the MP160 is implemented alongside a primary electrophysiological amplifier. This means data acquired from the MP160 is resampled to the primary source device. You should implement the MP160 as a logger if you are using it to acquire additional biometric information (such as skin conductance or respiration) but want to use another device for your primary electrophysiological amplifier.
 
In this tutorial, we will implement the MP160, BN-RSPEC, BN-EGG2, BN-EMG2, and BN-PPGED into BCI2000, which will allow us to acquire the respiration signal, electrogastrogram, electromyogram, and electrodermal signal.


==Hardware Set Up==
==Hardware Set Up==
Figure 1 shows all the necessary hardware from BioPac, Make sure that you have MP160 and wireless amplifier, power supply for MP 160, Ethernet USB adapter, and Ethernet cable which could connect your BioPac with BCI2000 PC. The hardware connection is simple(Figure 2). Using the Ethernet cable plug on MP 160 and the other side plug on the Ethernet USB adapter. Then connect the adapter to the BCI2000 PC. Alternatively, if your PC got an Ethernet port, you can directly connect the PC with MP 160 using an Ethernet cable.
Figure 1 shows all the necessary hardware from MP160. Make sure you have the MP160 and a wireless amplifier, the power supply for the MP160, an Ethernet USB adapter, and an Ethernet cable that can connect your MP160 with the BCI2000 PC. You will also need the Windows BCI2000 PC that will be running BCI2000. The hardware connection is simple(Figure 2). Using the Ethernet cable, plug one end into the MP160 and the other end into the Ethernet USB adapter. Then connect the adapter to the BCI2000 PC. Alternatively, if your PC has an Ethernet port, you could directly connect the PC with the MP160 using an Ethernet cable.
<gallery mode="packed" widths=650px heights=600px>
<gallery mode="packed" widths=650px heights=600px>
File:All_device_3_min.png|Figure 1: BioPac hardware.
File:All_device_3_min.png|Figure 1: BioPac hardware.
Line 28: Line 36:


==Calibration==
==Calibration==
For skin conductance measurements, we need to first calibrate the amplifier before data are acquired. After configuration setup, press “Set Config”, and a dialog will pop up. Then disconnect the leads to electrodes, press “Calibrate”.
For skin conductance measurements, we need to first calibrate the amplifier before data are acquired. After configuration setup, press “Set Config”, and a dialog will pop up. Then disconnect the leads to the electrodes and press “Calibrate”. Once the calibration is successful, you can reconnect the patient and record data.


==Signal Range==
==Signal Info==
{| class="wikitable"
{| class="wikitable"
|+ '''Signal Range'''
|+ '''Signal Info'''
|-
|-
! Signal Type
! Signal Type
! Signal Range
! Signal Range
! Signal Resolution
|-
|-
| Respiration
| Respiration
| [-10,10]V
| [-10, 10] V
|-
| 13 bits
| 6-9
| 100
|-
|-
| 10
| EDA
| 80
| [0, 50] µS
| 13 bits
|-
|-
| 11-20
| EGG
| 60
| [-10, 10] mV
| 16 bits
|-
|-
| 21-32
| EMG
| 40
| [-10, 10] mV
| 16 bits
|}
|}


==Parameters==
==Parameters==
===SourceCh===
===SourceCh===
The number of active channels of MP160. This number must exactly match the number of wireless transmitters you are planning to connect to MP 160.
The number of connected channels of MP160. This number must exactly match the number of wireless transmitters you are planning to connect to the MP160.


===SampleBlockSize===
===SampleBlockSize===
Line 61: Line 71:


===SamplingRate===
===SamplingRate===
The BioPac MP160 supports the following sampling rates: 0.1, 0.125, 0.2, 0.25, 0.4, 0.5, 0.625, 1, 1.25, 2, 2.5, 4, 5, 6.25, 10, 20, 25, 40, 50, 62.5, 100, 125, 200, 250, 400, 500, 625, 1000, 1250, 2000, 2500, 4000, 5000, 6250, 10000, 12500, 20000, 25000, 40000, 50000, 100000, 20000HZ.  
The MP160 supports the following sampling rates: 0.1, 0.125, 0.2, 0.25, 0.4, 0.5, 0.625, 1, 1.25, 2, 2.5, 4, 5, 6.25, 10, 20, 25, 40, 50, 62.5, 100, 125, 200, 250, 400, 500, 625, 1000, 1250, 2000, 2500, 4000, 5000, 6250, 10000, 12500, 20000, 25000, 40000, 50000, 100000, 20000HZ.  
The maximum sampling rate for BN-RSPEC, BN-PPGED, BN-EGG2, and BN-EMG2 is 2000HZ. So in our case, the maximum sampling rate here is 2000HZ.
The maximum sampling rate for BN-RSPEC, BN-PPGED, BN-EGG2, and BN-EMG2 is 2000HZ. So in our case, the maximum sampling rate here is 2000HZ.


===BioPacChList===
===SourceChMatrix===
The channel number list of connected channels, which must be in ascending order.
The information of the connected channels. You need to specify the channel ID and corresponding signal types in this matrix.


===SourceChType===
===StreamChMatrix===
The list of the corresponding signal type matches the order of BioPacChList. So far, we have implemented respiration, EGG, EMG, and EDA signals, so only four signal types above are allowed.
The channel you wish to be shown in the stream window rather than be shown in the source signal window. For example, if you are acquiring EGG and EMG signals from the MP160, but you only want to monitor the EGG signal in the source signal window, then you can config the EMG signal to be shown in StreamChMatrix.  


==See also==
==See also==
[[Contributions:ADCs]]
[[Contributions:ADCs]]


[[Category:Contributions]][[Category:Data Acquisition]]
[[Category:Contributions]][[Category:Data Acquisition]][[Category:Video]]

Latest revision as of 21:30, 3 September 2024

Example BioPac device

Synopsis

The BioPacADC source module enables signal acquisition from BioPac MP160

Location

http://www.bci2000.org/svn/trunk/src/private/SignalSource/BioPacADC

Versioning

Authors

Huiling Huang (huiling@neurotechcenter.org)

Juergen Mellinger (mellinger@neurotechcenter.org)

William Engelhardt (engelhardt@neurotechcenter.org)

Version History

  • 2022-04-15: Initial public release by Huiling Huang (huiling@neurotechcenter.org)

Video Overview



Functional Description

The MP160 is implemented as both a BCI2000 source module and as a “logger.” As a source module, the MP160 is treated as the time base for data acquisition. This means that any peripheral devices will be sampled with respect to the MP160. You should implement the MP160 as a bci2000 source module if this is your primary electrophysiological signal acquisition device. As a logger, the MP160 is implemented alongside a primary electrophysiological amplifier. This means data acquired from the MP160 is resampled to the primary source device. You should implement the MP160 as a logger if you are using it to acquire additional biometric information (such as skin conductance or respiration) but want to use another device for your primary electrophysiological amplifier.

In this tutorial, we will implement the MP160, BN-RSPEC, BN-EGG2, BN-EMG2, and BN-PPGED into BCI2000, which will allow us to acquire the respiration signal, electrogastrogram, electromyogram, and electrodermal signal.

Hardware Set Up

Figure 1 shows all the necessary hardware from MP160. Make sure you have the MP160 and a wireless amplifier, the power supply for the MP160, an Ethernet USB adapter, and an Ethernet cable that can connect your MP160 with the BCI2000 PC. You will also need the Windows BCI2000 PC that will be running BCI2000. The hardware connection is simple(Figure 2). Using the Ethernet cable, plug one end into the MP160 and the other end into the Ethernet USB adapter. Then connect the adapter to the BCI2000 PC. Alternatively, if your PC has an Ethernet port, you could directly connect the PC with the MP160 using an Ethernet cable.

Calibration

For skin conductance measurements, we need to first calibrate the amplifier before data are acquired. After configuration setup, press “Set Config”, and a dialog will pop up. Then disconnect the leads to the electrodes and press “Calibrate”. Once the calibration is successful, you can reconnect the patient and record data.

Signal Info

Signal Info
Signal Type Signal Range Signal Resolution
Respiration [-10, 10] V 13 bits
EDA [0, 50] µS 13 bits
EGG [-10, 10] mV 16 bits
EMG [-10, 10] mV 16 bits

Parameters

SourceCh

The number of connected channels of MP160. This number must exactly match the number of wireless transmitters you are planning to connect to the MP160.

SampleBlockSize

The number of samples to acquire for every system clock.

SamplingRate

The MP160 supports the following sampling rates: 0.1, 0.125, 0.2, 0.25, 0.4, 0.5, 0.625, 1, 1.25, 2, 2.5, 4, 5, 6.25, 10, 20, 25, 40, 50, 62.5, 100, 125, 200, 250, 400, 500, 625, 1000, 1250, 2000, 2500, 4000, 5000, 6250, 10000, 12500, 20000, 25000, 40000, 50000, 100000, 20000HZ. The maximum sampling rate for BN-RSPEC, BN-PPGED, BN-EGG2, and BN-EMG2 is 2000HZ. So in our case, the maximum sampling rate here is 2000HZ.

SourceChMatrix

The information of the connected channels. You need to specify the channel ID and corresponding signal types in this matrix.

StreamChMatrix

The channel you wish to be shown in the stream window rather than be shown in the source signal window. For example, if you are acquiring EGG and EMG signals from the MP160, but you only want to monitor the EGG signal in the source signal window, then you can config the EMG signal to be shown in StreamChMatrix.

See also

Contributions:ADCs