Author Topic: Increasing logic analyzer input impedance  (Read 6137 times)

0 Members and 1 Guest are viewing this topic.

Offline michaelivTopic starter

  • Frequent Contributor
  • **
  • Posts: 260
Increasing logic analyzer input impedance
« on: April 12, 2016, 07:37:53 pm »
Hello,

I have a cheapo China Logic analyzer : http://www.aliexpress.com/item/-/2020974930.html
The input impedance is ~100kOhm.
I want to increase this to at least around 10MOhm.
The goal is to have it record pulses as accurately as it does natively.
I was thinking of either putting a high impedance op-amp configured as a buffer on each input, however I think to be able to keep the full 24MHz bandwidth , I would need op-amps with around 1000V/uS slew rate, which are quite expensive.
Would a N-MOSFET(BSS138) + work ? I'm thinking of using it in this configuration: https://upload.wikimedia.org/wikipedia/commons/thumb/4/4f/N-channel_JFET_common_source.svg/2000px-N-channel_JFET_common_source.svg.png
Any problems / timing issues you can predict? Any better solutions you can suggest  ?

Thanks!

Later Edit: There are 100k pull-ups on each pin, this causes the logic analyzer to output ground + power, acting like a power supply. I opened up the logic analyzer and converted the pull-ups to pull-downs. No major mods were required, only moving 1 resistor, 4 cut tracks, 2 bodge wires & solder bridge. Now all is OK, the logic analyzer only outputs ground, not ground + power, as the case was by default.
« Last Edit: April 21, 2016, 04:19:31 pm by michaeliv »
 

Online Gyro

  • Super Contributor
  • ***
  • Posts: 9485
  • Country: gb
Re: Increasing logic analyzer input impedance
« Reply #1 on: April 12, 2016, 09:05:17 pm »
Why do you want to increase the input RESISTANCE above 100k? It's a logic analyser and any logic is quite capable of driving 100k without problem.

The biggest obstacle to monitoring high speed logic signals is the CAPACITANCE of the input leads. The impedance caused by the lead capacitance of a cheap logic analyser is well below 100k. A mere 10pF of lead capacitance has an impedance of 1.5k at 10MHz - and that's for a sinewave. Your leads will be rather higher than 10pF!

Unless you have a way of lowering probe and lead capacitance there is absolutely no point in trying what you are proposing. Professional logic analysers have probe capacitance around 2pF but input resistance is still normally 100k.
Best Regards, Chris
 

Offline michaelivTopic starter

  • Frequent Contributor
  • **
  • Posts: 260
Re: Increasing logic analyzer input impedance
« Reply #2 on: April 12, 2016, 09:46:02 pm »
Yes, Indeed I meant resistance.
The reason is that If I want to power cycle my DUT than I also have to power cycle the logic analyzer.
What happens is that my logic analyzer is outputting voltage on the pins ( to detect a ground connection I suppose ) and keeping some parts of my DUT powered up so that they don't completely loose state when disconnected from power.
 

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 19469
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Increasing logic analyzer input impedance
« Reply #3 on: April 13, 2016, 09:55:17 am »
The biggest obstacle to monitoring high speed logic signals is the CAPACITANCE of the input leads. The impedance caused by the lead capacitance of a cheap logic analyser is well below 100k. A mere 10pF of lead capacitance has an impedance of 1.5k at 10MHz - and that's for a sinewave. Your leads will be rather higher than 10pF!

Oh, don't forget the inductance! Rule of thumb is that 1mm->1nH. Calculate the resonant frequency of the relevant lead lengths and input capacitance; not pretty and easily visible. Also calculate the voltage over/undershoot during transitions.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Online Gyro

  • Super Contributor
  • ***
  • Posts: 9485
  • Country: gb
Re: Increasing logic analyzer input impedance
« Reply #4 on: April 13, 2016, 09:56:30 am »
The input circuit of those logic analysers is very simple:

- There's a 100k pulldown resistor to ground, to define the logic state of an unconnected input. That's where your 100k input resistance is coming from. This could be increased or removed, but then the display trace for any unconnected probe would 'flap in the breeze'.

- Following the pulldown resistor there's a series resistor of lower value, probably around 1k to provide some degree of overload protection to the input logic.

- Finally there's the input logic, typically a 74HC245 (strapped as input only).

The logic analyzer isn't outputting any voltage on the pins - what happens is that when you power it down, is that the input protection diodes in the 74HC245 are pulling your signals down via the series resistors. With 1k series resistors and 0.7V protection diode drop that's about 4.3mA load on a 5V signal (less at 3v3 obviously).

You could try increasing the value of the internal series resistors to, say, 10k (they will be small smd resistor arrays), however the higher the value, the lower the frequency of the RC low-pass filter that you create with the HC245 input capacitance (approx 5pF).

Your easiest solution is probably to include an octal logic buffer on your circuit (another 245?) powered by the target that won't mind its outputs being loaded a bit, and use its inputs as the probes instead.

General practice though is to power down the target, or remove probes, before powering off test equipment.
Best Regards, Chris
 

Online Gyro

  • Super Contributor
  • ***
  • Posts: 9485
  • Country: gb
Re: Increasing logic analyzer input impedance
« Reply #5 on: April 13, 2016, 10:25:01 am »
The biggest obstacle to monitoring high speed logic signals is the CAPACITANCE of the input leads. The impedance caused by the lead capacitance of a cheap logic analyser is well below 100k. A mere 10pF of lead capacitance has an impedance of 1.5k at 10MHz - and that's for a sinewave. Your leads will be rather higher than 10pF!

Oh, don't forget the inductance! Rule of thumb is that 1mm->1nH. Calculate the resonant frequency of the relevant lead lengths and input capacitance; not pretty and easily visible. Also calculate the voltage over/undershoot during transitions.

Thats why I keep my old Agilent E9340A Logicwave PC hosted analyzer around. It may only have been designed for Win98 (XP with DLL patch), it may only have 128k samples, and they may never have got around to implementing the USB port  >:( but at least is uses the same 1.5pF passive probe technology as their mainframes and can do 'honest' sampling up to 250MHz.

These modern cheap analyzers and MSOs claiming 100MHz+ while using 'bits of wire' probes are a bit of a joke in that respect, useful as protocol analyzers and for low speed stuff at best.   Oops, controversial.  :scared:
Best Regards, Chris
 

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 19469
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Increasing logic analyzer input impedance
« Reply #6 on: April 13, 2016, 11:17:01 am »
These modern cheap analyzers and MSOs claiming 100MHz+ while using 'bits of wire' probes are a bit of a joke in that respect, useful as protocol analyzers and for low speed stuff at best.   Oops, controversial.  :scared:

Not to those With A Clue :)
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline michaelivTopic starter

  • Frequent Contributor
  • **
  • Posts: 260
Re: Increasing logic analyzer input impedance
« Reply #7 on: April 13, 2016, 03:22:42 pm »
The logic analyzer isn't outputting any voltage on the pins - what happens is that when you power it down, is that the input protection diodes in the 74HC245 are pulling your signals down via the series resistors.
Measuring it when idle - it outputs 3.3v and is able to deliver 35uA per channel. It seems to have 100k pull-up resistors on the output.
Will look into the 74HC245 solution and maybe MOSFET with pull-down as an option and see what works best.
 

Online Gyro

  • Super Contributor
  • ***
  • Posts: 9485
  • Country: gb
Re: Increasing logic analyzer input impedance
« Reply #8 on: April 13, 2016, 03:59:23 pm »
Ah, ok. Yours has pull-ups, not pull-downs. Same function though, to define the idle state of unconnected probes. Note that they will turn into pull-downs once the logic analyser is powered off - they will be 'attempting' to power the internal 3V3 supply (logic and micro).
Best Regards, Chris
 

Offline michaelivTopic starter

  • Frequent Contributor
  • **
  • Posts: 260
Re: Increasing logic analyzer input impedance
« Reply #9 on: April 21, 2016, 04:17:45 pm »
Follow-Up for anyone facing the same situation, I opened up the logic analyzer and converted the pull-ups to pull-downs. No major mods were required, only moving 1 resistor, 4 cut tracks, 2 bodge wires & solder bridge. Now all is OK, the logic analyzer only outputs ground, not ground + power, as the case was by default.
 

Online Gyro

  • Super Contributor
  • ***
  • Posts: 9485
  • Country: gb
Re: Increasing logic analyzer input impedance
« Reply #10 on: April 21, 2016, 06:59:05 pm »
Glad you got it sorted the way you want. It's always nice when it comes out as the cheapest option too!
Best Regards, Chris
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2185
Re: Increasing logic analyzer input impedance
« Reply #11 on: April 21, 2016, 08:50:12 pm »
I read that the buffer used on these cheap clones is not 5V compliant.  Connecting it to a 5V source will allow 7mA to flow!  The solution (if you use 5V) was to replace the buffer with something like a MC74LCX245DTR2G.
 

Online Gyro

  • Super Contributor
  • ***
  • Posts: 9485
  • Country: gb
Re: Increasing logic analyzer input impedance
« Reply #12 on: March 25, 2024, 11:16:32 am »
Thats why I keep my old Agilent E9340A Logicwave PC hosted analyzer around. It may only have been designed for Win98 (XP with DLL patch), it may only have 128k samples, and they may never have got around to implementing the USB port  >:( but at least is uses the same 1.5pF passive probe technology as their mainframes and can do 'honest' sampling up to 250MHz.

These modern cheap analyzers and MSOs claiming 100MHz+ while using 'bits of wire' probes are a bit of a joke in that respect, useful as protocol analyzers and for low speed stuff at best.   Oops, controversial.  :scared:

EDIT: Necropost warning.

At the request of member jester42 via PM, I have attached the relevant DLL to allow the Agilent E9340A Logicwave to be used on Windows XP SP2. The zip contains the replacement DLL for an existing system one, together with a readme file.

Use at your own risk, virus check it, but it is a pretty old file now.
« Last Edit: March 25, 2024, 11:38:36 am by Gyro »
Best Regards, Chris
 

Offline jester42

  • Newbie
  • Posts: 1
  • Country: us
Re: Increasing logic analyzer input impedance
« Reply #13 on: March 25, 2024, 01:20:36 pm »
Thank you Gyro!! The driver worked! I now can use the E9340A again. I am forever in you debt. Jester
 

Online Gyro

  • Super Contributor
  • ***
  • Posts: 9485
  • Country: gb
Re: Increasing logic analyzer input impedance
« Reply #14 on: March 25, 2024, 01:48:34 pm »
You're welcome, glad it worked.
Best Regards, Chris
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf