• 0
Sign in to follow this  
m72

Logic Detector as trigger in Scope. Is it possible?

Question

Hello!

Can be "Logic Detector" added to trigger menu in "Scope" instrument?
I use this workaround in WaveForms V3.11.7 (beta, Windows, 64 bit):
1. In AD2 settings set "Trigger 1" to "Logic Detector"
2. In "Scope" use "Trigger 1" as trigger.

With best regards, Mikhail.

1.png

2.png

3.png

Share this post


Link to post
Share on other sites

Recommended Posts

  • 0

Hello!

Oscilloscope problem. When I shift second channel down - some glitches on the screen occurs. It happens on "two lines down from center" and does not affected by the shift level.

With best regards, Mikhail.

 

default.dwf3work

Edited by m72

Share this post


Link to post
Share on other sites
  • 0

Hi @m72

This may look like a digital issue, from ADC to FPGA... but i don't it is since we should see similar glitch on the upper side too.

Could you provide detail about the experiment?
I see you have set 10x probe... Are you using (single ended) BNC probe at 10x ?

In case you are using differential input with high common mode voltage, the signal might enter in limitation or clamping starts to act, which also depends on the offset:
https://reference.digilentinc.com/reference/instrumentation/analog-discovery-2/reference-manual?redirect=1#scope_driver
https://reference.digilentinc.com/reference/instrumentation/analog-discovery-2/reference-manual?redirect=1#scope_signal_scaling

The highlighted "noise band" indicates high frequency signals (noise, glitch), above current sampling rate, which indicates some analog issue:

image.thumb.png.d0e9c276f6fa3ce717918177555188e3.png

 

Share this post


Link to post
Share on other sites
  • 0

Hello!

Very very strange. It occurs without any scheme and on different PCs. Only shift level on the screen changes.

Conditions:
Attenuation 9X...100X & offset -16V ...-24V
May be this is an calibration effect?
Or it is damaged by high voltage impulse... At zero state second channel on this AD2 is more noisy than first.

With best regards, Mikhail.
P.S.
I often find bugs. Even in such things as TV set, PLC (in Siemens LOGO! One is definitely there), Atmega, etc.

 

210321ABEEA0.dwf3calib

Edited by m72

Share this post


Link to post
Share on other sites
  • 0

Hi @m72

You have in private message a software version which changes a bit the digital timings.
Please install this, reconnect the device to make sure it will get reconfigured and start the application. Let me know if this solves the issue.

The scope inputs are rated for up to +/-50V, but it should survive higher voltages due the 820k series resistor before the 7.5-20mA protection.
High voltages (with energy) usually damage the gain selector analog switch, which leads to DC reading.
https://reference.digilentinc.com/reference/instrumentation/analog-discovery-2/reference-manual#scope_input_divider_and_gain_selection

The attenuation option is intended to scale the scope readings, it is not a device feature. For instance when you use a 10x scope probe (9M series), the scope input will actually get 1/10 of voltage. Specifying 10x attenuation the software will multiply the readings by 10, to compensate this. You can also use this to reflect external voltage dividers, amplifiers...

Edit:
The calibration adjust the amplitude and offset.

Edited by attila

Share this post


Link to post
Share on other sites
  • 0

Hello!

Just tested it with simplest settings (attenuation 1X, 50 ns/div, zero signal). Only offset on the screen is changed.
Scope1 ... Scope3.
1. It happens only with second channel.
2. When offset is [-2.34V ... -1.76V].
3. At the borders noise is like a rare peaks. At the center like as an ADC input is overloaded.
4. Peaks values are -7.6V & +7.6V.

Scope4.
1. Offset -4V
2. But signal is not zero, it is +2V. So it became to the same "- div from the center". Peaks are -5.6V & + 9.6V -> shifted +2.0V.

1V/div, 2V/div, 5V/div - the same situation.

Why I am so cycled about calibration.
Scope1 LG offset is -0.325 V
Scope1 HG offset is -0.0296 V.
Scope2 LG offset is -0.300 V
Scope2 HG offset is -0.0274 V.
So signal -2V can be on the edge between "Low Gain" & "High Gain". But because offset is quite big (15% of ADC input, may be damaged?), algorithm can not choose the right gain and generates peaks on switching.
By this theory lowest border of the noise is -2.35 V - 0.3 V = - 2.65 V. If signal lower then this it works fine with "Low Gain". A bit upper there is "gray, turbulent zone". And greater than -1.76V the stable zone of "High Gain". 

With best regards, Mikhail.

45.png

 

peaks.dwf3work

Edited by m72

Share this post


Link to post
Share on other sites
  • 0

Hello!

Digital Discovery, WaveForms from 3.11.18, Windows 7 x64.

When allow "Logic Analyzer" from "Protocol" by default it change DIO24 -> DIN0 (mode 800 MHZ, DIO0..7).
If start "Logic Analyzer" at "200 MHz, DIN0...DIN23, DIO24...DIO31" it change sample rate "100...400MHz" -> "800 MHz" and change DIO24 -> DIN0. 
If start "Logic Analyzer" at "400 MHz, DIO24...DIO39" it change sample rate "100...400MHz" -> "800 MHz" and make DIO >= 32 "not available". 
And after that "800 MHz" -> "400 MHz" moves DIO32 -> DIO24 and DIO33 also to DIO24.

With best regards, Mikhail.

34.png

35.png

36.png

Edited by m72

Share this post


Link to post
Share on other sites
  • 0

Hi @m72

This looks like a digital issue in the ADC.
Have you used for this tests the WF v3.11.23 I sent you in private message?

On 9/13/2019 at 7:07 PM, m72 said:

Hello!

Just tested it with simplest settings (attenuation 1X, 50 ns/div, zero signal). Only offset on the screen is changed.
Scope1 ... Scope3.
1. It happens only with second channel.
2. When offset is [-2.34V ... -1.76V].
3. At the borders noise is like a rare peaks. At the center like as an ADC input is overloaded.
4. Peaks values are -7.6V & +7.6V.

 

Share this post


Link to post
Share on other sites
  • 0

Hi @m72

After adding the Order option in Logic Analyzer (splitting the Input selection in two) I have forgotten to update the Protocol/Logic Analyzer to set the Order option automatically.

Thank you for the observation, it is fixed for the next release.

On 9/13/2019 at 7:46 PM, m72 said:

Digital Discovery, WaveForms from 3.11.18, Windows 7 x64.

When allow "Logic Analyzer" from "Protocol" by default it change DIO24 -> DIN0 (mode 800 MHZ, DIO0..7).
If start "Logic Analyzer" at "200 MHz, DIN0...DIN23, DIO24...DIO31" it change sample rate "100...400MHz" -> "800 MHz" and change DIO24 -> DIN0. 
If start "Logic Analyzer" at "400 MHz, DIO24...DIO39" it change sample rate "100...400MHz" -> "800 MHz" and make DIO >= 32 "not available". 
And after that "800 MHz" -> "400 MHz" moves DIO32 -> DIO24 and DIO33 also to DIO24.

 

Share this post


Link to post
Share on other sites
  • 0

Hello!
 

9 hours ago, attila said:

Have you used for this tests the WF v3.11.23 I sent you in private message?

Yes of course. I have used it.

With best regards, Mikhail.
 

Share this post


Link to post
Share on other sites
  • 0

Hello!

WF 3.11.24, AD2, Windows 7, x64

On save/load or when I clone the scope relative cursors go wrong.
It happens if reference cursor number is greater than current.

With best regards, Mikhail.
48.png

scope_clone.dwf3work

Edited by m72

Share this post


Link to post
Share on other sites
  • 0

Hi @m72

Thank you for the observation. I managed to reproduce the issue.

Until this gets solved, please use lower cursor numbers as reference.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this