background image

  

 

 

 

1.2  

www.infineon.com

 

page 11 of 24 

10/08/2021 

 Infineon UltraHub  

 User manual 

3

 

Ultrasonic transmission configuration

 

3.1

 

Enabling ultrasonic transmission

 

The four channels on the sensing shields all record audio signals continuously. The ultrasonic transmitting 
functionality can instead be configured depending on which of the four channels is required to transmit the 
ultrasonic bursts according to the pulse-echo principle. 

Default configuration sees only channel 1 active as transceiver, i.e., sending and receiving, and channels 2, 3 
and 4 inactive, i.e., receiving only. Figure 10 illustrates the actuation patterns for the default configuration (A) 
as well as custom configuration (B), with all four transceivers active in sending mode. 

 

Figure 10 

Examples of actuation signals for default (A) and custom configuration with all channels 
active (B) 

3.2

 

Transmitting burst design

 

The ultrasonic transmitting patterns can be configured using a selection of parameters: 

 

Start frequency, i.e., frequency at the start of the actuation burst [20 

𝑡𝑜

 90 

𝑘𝐻𝑧

 

End frequency, i.e., frequency at the end of the actuation burst [20 

𝑡𝑜

 90 

𝑘𝐻𝑧

 

Number of pulses, i.e., number of cycles in the actuation burst [1 

𝑡𝑜

 12 

𝑝𝑢𝑙𝑠𝑒𝑠

 

Pulse repetition time (PRT), i.e., the time interval between the start of one pulse and the start of the 
next one [3 

𝑡𝑜

 500 

𝑚𝑠

The effect of the above parameters is illustrated in Figure 12. 

Содержание UltraHub

Страница 1: ...the UltraHub evaluation kit This user manual familiarizes you with the UltraHub evaluation board and guides you through the initial hardware and software setup and measurements Detailed information about access to serial interface and protocol definitions are included Intended audience Design verification test and software engineers can use this document to gain an understanding of the functionali...

Страница 2: ...2 3 Host computer setup 8 2 4 Audacity software setup 9 3 Ultrasonic transmission configuration 11 3 1 Enabling ultrasonic transmission 11 3 2 Transmitting burst design 11 3 3 Actuation modes 12 4 Serial interface 14 4 1 Serial configuration 14 4 1 1 Device manager 14 4 1 2 Serial command protocol 14 4 2 API description 15 4 2 1 Sending commands using HTerm 16 4 2 1 1 Setting actuation start frequ...

Страница 3: ...luation kit The evaluation board provides an USB audio interface to stream audio data from ultrasonic transceivers with audio recording and editing software 1 1 Prerequisites 1 1 1 Hardware Infineon UltraHub motherboard Infineon XENSIV MEMS ultrasonic sensing shield Micro USB cable 1 1 2 Software Audio editing software that supports 192 kHz and 24 bit recording FT9xx programming utility for firmwa...

Страница 4: ...P_MIC2 DATA2 N_MIC2 DATA2 P_MIC4 N_MIC4 ADC TLV320ADC SHDNZ I2S I2C P_MIC3 N_MIC3 I2C Adress 0x4F 7bit addr I2C Adress 0x4C 7bit addr ADC TLV320ADC SHDNZ I2S I2C D FF LR_DIV2 Q Q CLK CLR RC AND GPIO TDM_CLK POT I2C SDAO_MC Reset Button MODE Button BUTTON GPIO 12 MHz Osc 24 576 Mhz Audio Clock EN VDD VMIC_CTRL DAC_OUT DAC0 DAC1 VMIC Precision DAC Precision DAC Reference Buffer LT3040 ADC_SHDN GPIO ...

Страница 5: ...ects to the MCU baseboard The mechanical connectors have markers X1 and X2 which should coincide with the same marking on the shield see Figure 4 The UltraHub sensing shield is equipped with four LEDs which turn on based on the actuation of the corresponding transceiver 2 1 USB communication The evaluation board is powered through the Micro USB port Connect the board to the host computer to stream...

Страница 6: ...on board connectors The UltraHub evaluation board offers a wide variety of connectors listed in Table 1 Table 1 Connector list Reference designator Description X1 Board to board connector for sensing shield X2 Board to board connector for sensing shield X11 Programming connector USB1 Micro USB connector for power and audio streaming X3 Side pins connector X4 Side pins connector ...

Страница 7: ...nfineon com page 7 of 24 10 08 2021 Infineon UltraHub User manual Figure 5 Schematic a and pad layout b of the connectors for the sensing shield Figure 6 Schematic a and pad layout b of the motherboard side pins ...

Страница 8: ...s Go to the Advanced tab and click on the Settings button under Performance In the pop up window of Performance Options go to the Advanced tab select Background services and apply changes Figure 7 Host computer system settings To enable the UltraHub to be opened in exclusive mode Open Windows Sounds Settings Choose UltraHub as input and click on Device Properties Click on Additional Device Propert...

Страница 9: ...Hub 2 4 Audacity software setup Audacity is a free and open source audio editor and recording application Select the audio source as Microphone Array UltraHubX in the recording software as shown in Figure 9 Select Windows WASAPI as the audio driver and 4 channels The project rate should be edited to 192000 Hz ...

Страница 10: ...1 2 www infineon com page 10 of 24 10 08 2021 Infineon UltraHub User manual Figure 9 Recording from UltraHub in Audacity ...

Страница 11: ...trates the actuation patterns for the default configuration A as well as custom configuration B with all four transceivers active in sending mode Figure 10 Examples of actuation signals for default A and custom configuration with all channels active B 3 2 Transmitting burst design The ultrasonic transmitting patterns can be configured using a selection of parameters Start frequency i e frequency a...

Страница 12: ...ill be The higher the number of cycles the longer the actuation burst will be 3 3 Actuation modes The ultrasonic transceivers can be actuated according to two modes parallel or cyclic In parallel mode the active transceivers i e the transceiver selected as active by the user by default only transceiver number 1 is selected as active are all actuated synchronously In cyclic mode the active transcei...

Страница 13: ...e 14 Comparison of parallel A and cyclic B actuation modes four transceivers active Note The cyclic actuation is performed only on the transceivers selected as active If only one transceiver is selected as active no difference will be perceived between the two modes If all four transceivers are selected as active the actuation will cyclically involve all four channels ...

Страница 14: ...d 19200 Parity None Stop bits 1 Byte size 8 Timeout 1 4 1 1 Device manager The COM port of the connected UltraHub board can be seen in the Device Manager Its description contains USB Serial Device as shown in Figure 15 Figure 15 USB CDC interface description 4 1 2 Serial command protocol The following protocol was implemented in the firmware to receive commands from the application The user can se...

Страница 15: ...0 0b1111 Activate deactivate ultrasonic transmission for each transceiver by bitwise selection of LSBParameter 3 0 D0 Transceiver 1 D1 Transceiver 2 D2 Transceiver 3 D3 Transceiver 4 Parameter set value Length 4 bytes 0x43 0x00 0x00 0x00 Read all configuration parameters read only Read nine words of size equal to 4 bytes 0 start frequency 1 end frequency 2 actuation pulses 3 pulse repetition time ...

Страница 16: ... 1 Sending commands using HTerm Any terminal program for serial communication can be used to access the serial port In the following examples HTerm www der hammer info is used as terminal program 4 2 1 1 Setting actuation start frequency via HTerm To configure the first actuation frequency as 34000 Hz use the command in Table 3 Figure 16 shows how to set up the environment and send the desired com...

Страница 17: ...uency via HTerm The received bytes LSB first from the UltraHub board is the value set in the device If the user inserts a parameter that is out of range the value is set to the corresponding upper or lower limit value for the parameter as in the following example Figure 17 Sending out of limit value to device ...

Страница 18: ... the environment and send the desired command via HTerm Type the values in hexadecimal to send the command and click enter Wait for the received data to appear Note The LSB is transmitted first in parameter see Table 5 Table 5 Set bit corresponding to the transceiver Transceiver 4 Transceiver 3 Transceiver 2 Transceiver 1 B3 B2 B1 B0 Table 6 Binary value of zero actuating channels Command Hex Spec...

Страница 19: ...1 2 www infineon com page 19 of 24 10 08 2021 Infineon UltraHub User manual Figure 18 Setting transceiver 1 as active transceiver Figure 19 Setting transceiver 1 and transceiver 2 as active transceivers ...

Страница 20: ...ED next to the USB connector indicates DFU mode Check in the Device Manager that DFU mode is enabled Figure 20 The microcontroller is in DFU mode from the Device Manager Download FT9xx Programming Utility FT9xx_Toolchain_Setup_2 5 0 Select the option Program via USB DFU interface Figure 21 Select the option Program via USB DFU interface Scan and select the device of interest Figure 22 Scan and sel...

Страница 21: ...1 2 www infineon com page 21 of 24 10 08 2021 Infineon UltraHub User manual Figure 23 Browse to select the right binary file and Flash ...

Страница 22: ...1 is actuated vs a transducer mounted on a thin flex board Figure 24 Layout of type 2 sensing shield Figure 25 Impact of sound channel dimension on resonance behavior of a device on sensing shield compared to a transducer mounted on a slim flex board As can be seen from Figure 25 the prolonged sound channel due to the thickness of the sensing shield is downshifting both resonances If the sound cha...

Страница 23: ...n both resonances is almost omnidirectional as can be seen from the TX directivity plots in Figure 26 Thus the shield offers a very broad field of view and any objects placed on a table next to the shield may therefore lead to static echoes The static echoes can however be subtracted by a calibration routine provided within the GUI Figure 26 Directivity plots of the SPL at 24 kHz left and 85 kHz r...

Страница 24: ...cted Revision history Document version Date of release Description of changes 1 0 July 2021 Public release 1 1 August 2021 Top level schematic and directivity measurements updated 1 2 October 2021 Ultrasonic transmission configuration added ...

Отзывы: