CN / EN
CN / EN

Ask a New Question

Design Support

If you need one-on-one support for confidential technical issues with your project, please click on "Contact Us" below.

how to get magnitude and phase values from I and Q data GH3300

par****com

2024-12-27 19:25

Hello!

We use GH3300 to measure impedances. From FIFO we get some I and Q data. How to get magnitude and phase values ​​of impedance from this I and Q data?

0 Favorites

0 Likes

3 Answers

Tim

Goodix Employee
2024-12-31 19:59

1、before measurement, it is necessary to pass high precision the resistance is calibrated;

2、Measure each frame I, Q data first through the calibration formula to calculate the measured resistance value and reactance value, and then calculate the impedance amplitude and phase Angle. Calibration formula is as follows, including 𝐼𝑅 and 𝑄𝑅 are 𝑅𝑅𝐸𝐹 measurements (calibration process obtained average) , 𝑅𝑅𝐸𝐹 = 1000, 𝐼𝑅𝑥 and 𝑄𝑅𝑥 for measurement of the resistance under test, 𝐼𝐶𝑎𝑙 and 𝑄𝐶𝑎𝑙 are the real part (resistance value) and imaginary part (reactance value) of the resistance to be measured after calibration.

Ic = (IR*RREF)/(IR2 + QR2)

Qc = -(QR*RREF)/(IR2 + QR2)

Ical = (IRx*Ic - QRx*Qc)

Qcal = (IRx*Qc + QRx*Ic)

The essential complex operation of the calibration formula (where i is the imaginary part of the complex number):

RREF * (IRx + QRxi) /(IR + QRi)

To get the above equation, multiply the numerator and denominator by 𝑰𝑹− 𝑸𝑹𝒊.

The amplitude and Phase Angle of the impedance are calculated by the following formula, where Mag and phase are represented by 32-bit signed integer data, and the calculation result is multiplied by 1000 to make the data accuracy to the third decimal place.

Mag = sqrt( ICal*ICal + QCal*QCal ) * 1000

Phase = (180/Pi)*atan2(QCal, ICal) * 1000

0 Comments

0 Likes

0 Favorites

Your comment

par****com

2025-01-10 17:48

Thanks a lot!

What about GSR measurement? Now we've got logs with GSR_I and GSR_Q. How to get the true resistance from them?

0 Comments

0 Likes

0 Favorites

Your comment

par****com

2025-01-14 22:44

Hello! We still wait for the answer.

0 Comments

0 Likes

0 Favorites

Your comment

You can answer questions after logging in, please or register

Your Voice Matters
Contact Sales

Scan to follow

Open WeChat, use "Scan" to follow.