# Phase response of Moku:Go

**URL:** <https://forum.liquidinstruments.com/t/phase-response-of-moku-go/1134>\
**Category:** Moku:Go\
**Created:** [March 4, 2025, 11:08am UTC](https://forum.liquidinstruments.com/t/phase-response-of-moku-go/1134 "2025-03-04T11:08:26Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![JeromeJuillard](https://avatars.discourse-cdn.com/v4/letter/j/8baadc/32.png) [@JeromeJuillard](https://forum.liquidinstruments.com/u/JeromeJuillard)\
**Post date:** [March 4, 2025, 11:08am UTC](https://forum.liquidinstruments.com/t/phase-response-of-moku-go/1134/1 "2025-03-04T11:08:26Z")

</div>

Hello,  
Below is the frequency response I obtain when connecting Out1 to In1 with a BNC cable and performing a frequency sweep. The phase response is far from 0°, even at moderate frequencies, well below the amplitude cutoff freequency.

- could you please explain what part of this phase response comes from the analog front-end? the ADC? the DAC ? Could you please provide complete specifications (i.e. including phase response) for these blocks?
- it seems to me that the phasemeter does not compensate for this systematic phase error. Could you please confirm?  
Best regards,  
JJ

 ![Kdm7wZKdKnzgYf0A](https://canada1.discourse-cdn.com/flex035/uploads/liquidinstruments/original/1X/7bc4a5d51f2a623382dec2b598499740781355ad.png)

---

<div class="post-metadata">

**Author:** ![Dylan](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@Dylan](https://forum.liquidinstruments.com/u/Dylan)\
**Post date:** [March 5, 2025, 8:15pm UTC](https://forum.liquidinstruments.com/t/phase-response-of-moku-go/1134/2 "2025-03-05T20:15:56Z")

</div>

Hello JJ,  
Could you please let me know what type of device you are performing the FRA sweep on?

---

<div class="post-metadata">

**Author:** ![JeromeJuillard](https://avatars.discourse-cdn.com/v4/letter/j/8baadc/32.png) [@JeromeJuillard](https://forum.liquidinstruments.com/u/JeromeJuillard)\
**Post date:** [March 6, 2025, 7:12am UTC](https://forum.liquidinstruments.com/t/phase-response-of-moku-go/1134/3 "2025-03-06T07:12:17Z")

</div>

Hello Dylan,  
As mentioned in the post : the device I am using to perform the sweep is a Moku:Go. The sweep is performed with a BNC cable connecting Out1 to In1.  
Best regards,  
JJ

---

<div class="post-metadata">

**Author:** ![Dylan](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@Dylan](https://forum.liquidinstruments.com/u/Dylan)\
**Post date:** [March 6, 2025, 9:12pm UTC](https://forum.liquidinstruments.com/t/phase-response-of-moku-go/1134/4 "2025-03-06T21:12:19Z")

</div>

Hello JJ,  
It looks like you are using the FRA in Multi-Instrument Mode (MiM). In MiM, there is no compensation for the delay between the DACs and ADCs, so that is why you are seeing the phase wrapping at lower frequencies. In single instrument, the Moku does indeed compensate for this delay. Hope this helps!

---

<div class="post-metadata">

**Author:** ![Dylan](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@Dylan](https://forum.liquidinstruments.com/u/Dylan)\
**Post date:** [March 6, 2025, 11:56pm UTC](https://forum.liquidinstruments.com/t/phase-response-of-moku-go/1134/5 "2025-03-06T23:56:14Z")

</div>

Hello JJ,  
You can also use the ‘Normalization Trace’ on the bottom right of the screen. This will essentially measure the latency and then apply compensation. If you are measuring a real circuit/DUT, you will want to normalize before connecting your DUT since the normalization will compensate for the delay in your circuit and skew your results.

---

<div class="post-metadata">

**Author:** ![JeromeJuillard](https://avatars.discourse-cdn.com/v4/letter/j/8baadc/32.png) [@JeromeJuillard](https://forum.liquidinstruments.com/u/JeromeJuillard)\
**Post date:** [March 7, 2025, 8:47am UTC](https://forum.liquidinstruments.com/t/phase-response-of-moku-go/1134/6 "2025-03-07T08:47:05Z")

</div>

Oh, thank you, this probably explains it 🥳!

I was aware MIM instruments had some limitations compared to standalone ones, but I had not identified the delay being compensated or not as one.

Do we have the same issue for the phasemeter, then?  
This is really a crucial point for me, as I work in the field of oscillators: I typically use the FRA to sweep a resonator’s response close to resonance and determine the phase \phi\_0 at resonance. Then the phasemeter is used as a PLL to “close the loop” around the resonator, and setting a phase shift of -\phi\_0 between the phasemeter’s output and its input.

So, your explanation makes it very clear what to expect from the FRA in terms of phase error (and I thank you again for that). But I must also understand in which case(s) the ADC/DAC delay is compensated for when operating the phasemeter’s PLL, either in MIM or standalone mode.

Could you please clarify this last point?

Best regards,  
JJ

---

<div class="post-metadata">

**Author:** ![Dylan](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@Dylan](https://forum.liquidinstruments.com/u/Dylan)\
**Post date:** [March 7, 2025, 11:04pm UTC](https://forum.liquidinstruments.com/t/phase-response-of-moku-go/1134/7 "2025-03-07T23:04:15Z")

</div>

Hello,  
With the phasemeter you will not experience this delay. The phasemeter doesn’t interpret the delay as a change in phase since it is phase locked. The phasemeter will just phase lock onto the input signal and measure the phase, frequency, and amplitude from that signal. I hope this helps!

---

<div class="post-metadata">

**Author:** ![JeromeJuillard](https://avatars.discourse-cdn.com/v4/letter/j/8baadc/32.png) [@JeromeJuillard](https://forum.liquidinstruments.com/u/JeromeJuillard)\
**Post date:** [March 8, 2025, 11:11am UTC](https://forum.liquidinstruments.com/t/phase-response-of-moku-go/1134/8 "2025-03-08T11:11:22Z")

</div>

Hello,  
I think my previous request was not very clear. I will perform additional measurements and come back at you. Thank you for your time.  
Best regards,  
JJ

---

<div class="post-metadata">

**Author:** ![JeromeJuillard](https://avatars.discourse-cdn.com/v4/letter/j/8baadc/32.png) [@JeromeJuillard](https://forum.liquidinstruments.com/u/JeromeJuillard)\
**Post date:** [March 11, 2025, 10:16am UTC](https://forum.liquidinstruments.com/t/phase-response-of-moku-go/1134/9 "2025-03-11T10:16:41Z")

</div>

Hello,  
I have experimentally checked that the FRA behaves as you explained. The overall phase response is much flatter in standalone mode, with the phase-shift @68kHz dropping from (approx.) -30° in multi-instrument mode to -1° in standalone mode.  
I have also verified the delay issue can be observed with the phasemeter in MIM (this was expected) but also in standalone mode (unexpected).  
For the MIM case: in the example below, I have connected In1 to Out1 with a BNC, and also In2 to Out2. The scope generates a fixed 68kHz sine wave on Out1 and the phasemeter locks to it. I use the “lock to input signal” feature to generate on Out2 a signal with the same frequency as the input, and set the phase shift to 0°. Yet the two signals displayed on the Scope have a -28° phase shift, which corresponds to the In2/Out2 delay, in accordance with the FRA measurements and your explanations.  
However, I was expecting the ADC/DAC delay to be compensated in standalone mode, as in the FRA case. But clearly it is not: I set the Moku to work with the phasemeter in standalone mode, connected In 1 to a Tektronix AFG delivering 100mVpp @ 68kHz, Out1 to a Tektronix scope. As previously, I lock the phasemeter to In1, then set Out1 to have 0° phase-shift wrt to In1. Both the In1 and Out1 signals are visualized on the Scope in the picture below (respectively blue and yellow signals). You can see there is a -29° phase shift between the two, in spite of setting phase shift to 0° and operating in standalone mode.  
This is very counterintuitive… What’s more, the fact that the delay is compensated in some cases (FRA), and is uncompensated in other cases (phasemeter) is very confusing. I understand this is not an issue when working only in the digital domain (e.g. the tutorial [https://www.youtube.com/watch?v=u0XjQxB3t5c](https://www.youtube.com/watch?v=u0XjQxB3t5c), which avoids using the ADC/DACs to demonstrate the PLL’s operation), but it is a real pain when trying to interface the Moku with the outside world.  
Could you then provide some technical information about the ADC and DAC delays (none of which are mentioned in the Moku’s specifications)? And hopefully add some functionality to the Moku for choosing to compensate or not for delay, at least for the phasemeter operation ?  
Best regards  
JJ

---

<div class="post-metadata">

**Author:** ![JeromeJuillard](https://avatars.discourse-cdn.com/v4/letter/j/8baadc/32.png) [@JeromeJuillard](https://forum.liquidinstruments.com/u/JeromeJuillard)\
**Post date:** [March 11, 2025, 10:17am UTC](https://forum.liquidinstruments.com/t/phase-response-of-moku-go/1134/10 "2025-03-11T10:17:17Z")

</div>

![image](https://canada1.discourse-cdn.com/flex035/uploads/liquidinstruments/original/1X/8c6950d51678c163a16f82c165d99803eb203ff6.png)  
Standalone FRA response

---

<div class="post-metadata">

**Author:** ![JeromeJuillard](https://avatars.discourse-cdn.com/v4/letter/j/8baadc/32.png) [@JeromeJuillard](https://forum.liquidinstruments.com/u/JeromeJuillard)\
**Post date:** [March 11, 2025, 10:17am UTC](https://forum.liquidinstruments.com/t/phase-response-of-moku-go/1134/11 "2025-03-11T10:17:47Z")

</div>

![image](https://canada1.discourse-cdn.com/flex035/uploads/liquidinstruments/original/1X/b9c8de7939db477670351b7101a3b8b3c727a3e8.png)  
MIM phasemeter configuration

---

<div class="post-metadata">

**Author:** ![JeromeJuillard](https://avatars.discourse-cdn.com/v4/letter/j/8baadc/32.png) [@JeromeJuillard](https://forum.liquidinstruments.com/u/JeromeJuillard)\
**Post date:** [March 11, 2025, 10:18am UTC](https://forum.liquidinstruments.com/t/phase-response-of-moku-go/1134/12 "2025-03-11T10:18:41Z")

</div>

![image](https://canada1.discourse-cdn.com/flex035/uploads/liquidinstruments/original/1X/87ebc30903fd8fb6d584110805ae7b009f6d002c.png)  
Evidence of uncompensated phase shift in MIM mode

---

<div class="post-metadata">

**Author:** ![JeromeJuillard](https://avatars.discourse-cdn.com/v4/letter/j/8baadc/32.png) [@JeromeJuillard](https://forum.liquidinstruments.com/u/JeromeJuillard)\
**Post date:** [March 11, 2025, 10:19am UTC](https://forum.liquidinstruments.com/t/phase-response-of-moku-go/1134/13 "2025-03-11T10:19:37Z")

</div>

![MokuPhasemeter1](https://canada1.discourse-cdn.com/flex035/uploads/liquidinstruments/original/1X/26ad1f895c94d5627c3e3b5bc9471b91e785ddbf.jpeg)  
Evidence of uncompensated phase delay in standalone mode

---

<div class="post-metadata">

**Author:** ![Dylan](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@Dylan](https://forum.liquidinstruments.com/u/Dylan)\
**Post date:** [March 11, 2025, 8:56pm UTC](https://forum.liquidinstruments.com/t/phase-response-of-moku-go/1134/14 "2025-03-11T20:56:20Z")

</div>

Hello,  
For the PLL, there isn’t necessarily supposed to be 0 degrees of phase shift between the input and output, but rather the phase difference should remain constant (-29 degrees in your case). If you need your input and output to be in-phase, you can simply add a phase shift to the output and the PLL will keep this constant in-phase relationship and thus compromise for the ‘delay’. As far as the delay between the DACs and ADCs, I measured this to be about 1 microsecond. If you need anything else please let me know!
