Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 21, 2024, 03:59:41 15:59


Login with username, password and session length


Pages: 1 [2] 3  All
Print
Author Topic: finding short on motherboards using a shorty with display  (Read 13043 times)
0 Members and 1 Guest are viewing this topic.
optikon
Cracking Team
Hero Member
****
Offline Offline

Posts: 853

Thank You
-Given: 1109
-Receive: 2007


« Reply #25 on: June 24, 2021, 12:49:27 00:49 »

Hi there,
I've got the pcb and tested them.
but I have some spurious oscillation at the output of the opamp
and I'm struggling to find the reason for some times now...
as I have changed some parts of the design, it may come from that, but I have to investigate.
more to come soon, thanks for your patience.

Did you want some help troubleshooting this issue? Post a pic of the spurious oscillations and more details..
Logged

I can explain this to you. I can't comprehend it for you.
kripton2035
Junior Member
**
Offline Offline

Posts: 58

Thank You
-Given: 23
-Receive: 130


« Reply #26 on: June 24, 2021, 07:52:35 07:52 »

the schematic looka actually like this, with a more stable current source.
I have oscillations at the output of the aop, around 10-20Hz that forbid the precise measure
I've put decoupling capacitors 1-10µF on each IC with no luck.
Logged
Catcatcat
Senior Member
****
Offline Offline

Posts: 433

Thank You
-Given: 284
-Receive: 1672



WWW
« Reply #27 on: June 24, 2021, 08:31:17 08:31 »

If initially there was no such problem, then most likely this is due to the layout of the components on the printed circuit board.
Logged
Old_but_Alive
Senior Member
****
Offline Offline

Posts: 331

Thank You
-Given: 749
-Receive: 120


« Reply #28 on: June 24, 2021, 12:44:37 12:44 »

is there a LC or RC filter into the opamp  +ve supply line ?

it will need decoupling from the rest of the circuit.

suggest something like a ferrite bead or a 10R resistor, and 1UF or 10uF capacitor,
« Last Edit: June 24, 2021, 03:37:16 15:37 by Old_but_Alive » Logged

I fought Ohm's Law ...  and the law won
I only use Mosfets because I have a Bipolar mental disorder :-)
kreutz
Active Member
***
Offline Offline

Posts: 183

Thank You
-Given: 995
-Receive: 125


« Reply #29 on: June 24, 2021, 04:17:04 16:17 »

It will probably benefit if you use some kind of EMI filtering at the input of the opamp. See http://ww1.microchip.com/downloads/en/appnotes/00001767a.pdf (Solutions for Radio Frequency Electromagnetic Interference in Amplifier Circuits by Microchip) for ideas. Or better yet [url]https://www.analog.com/media/en/training-seminars/tutorials/MT-070.pdf/url] by Analog Devices.
« Last Edit: June 24, 2021, 04:32:04 16:32 by kreutz » Logged
kripton2035
Junior Member
**
Offline Offline

Posts: 58

Thank You
-Given: 23
-Receive: 130


« Reply #30 on: June 24, 2021, 06:11:47 18:11 »

there is no LC or RC or ferrite bead on the +V line, but as the power supply is a 9v battery is it really necessary ?

no the initial schematic was a little different, there was no zener look at the preivious page of this thread, or the schematic on my web page for the project
the new current source is less dependant of the supply voltage, so it should have a better reproductibility of the measures.
« Last Edit: June 24, 2021, 06:29:24 18:29 by kripton2035 » Logged
Catcatcat
Senior Member
****
Offline Offline

Posts: 433

Thank You
-Given: 284
-Receive: 1672



WWW
« Reply #31 on: June 24, 2021, 07:54:23 19:54 »

Zener diodes tend to produce white noise, it may be worth analyzing in this direction.
Logged
PM3295
Senior Member
****
Offline Offline

Posts: 312

Thank You
-Given: 360
-Receive: 155


« Reply #32 on: June 25, 2021, 12:17:56 00:17 »

Did it ever work correctly with the new current source?
What is the amplitude of the oscillations?
Can you show the scope display capture?
« Last Edit: June 25, 2021, 01:41:49 01:41 by PM3295 » Logged
optikon
Cracking Team
Hero Member
****
Offline Offline

Posts: 853

Thank You
-Given: 1109
-Receive: 2007


« Reply #33 on: June 25, 2021, 02:04:23 02:04 »

Use an oscilloscope to measure your oscillations and post the pic.
Logged

I can explain this to you. I can't comprehend it for you.
sadman
Hero Member
*****
Offline Offline

Posts: 710

Thank You
-Given: 1839
-Receive: 2907


Sow The Seeds of Love


« Reply #34 on: June 25, 2021, 05:25:56 05:25 »

Zener diodes tend to produce white noise, it may be worth analyzing in this direction.

or better he used temperature compensated voltage reference like LM336DZ 3.6 volt   
Logged
Old_but_Alive
Senior Member
****
Offline Offline

Posts: 331

Thank You
-Given: 749
-Receive: 120


« Reply #35 on: June 25, 2021, 07:24:19 07:24 »

kripton2035  wrote

there is no LC or RC or ferrite bead on the +V line, but as the power supply is a 9v battery is it really necessary ?

no the initial schematic was a little different, there was no zener look at the preivious page of this thread, or the schematic on my web page for the project
the new current source is less dependant of the supply voltage, so it should have a better reproductibility of the measures.



I suggest you carefully lift the AD +ve supply pin, and add the RC

Then you can see if it fixes the problem
Logged

I fought Ohm's Law ...  and the law won
I only use Mosfets because I have a Bipolar mental disorder :-)
optikon
Cracking Team
Hero Member
****
Offline Offline

Posts: 853

Thank You
-Given: 1109
-Receive: 2007


« Reply #36 on: June 25, 2021, 12:35:20 12:35 »

10 - 20Hz is a strange frequency. Too low to be a loop oscillation directly or mains. But it might be an alias of a much higher frequency aliasing with your scope or whatever it is you are using to measure with.

If you have supply oscillations, you should be able to see them

1) measure your power supply pins. Do they also oscillate?

Do you have a common mode oscillation because the whole thing is floating, sitting on your desk or ESD mat ?

2) Measure your ground, is it also oscillating?

Logged

I can explain this to you. I can't comprehend it for you.
Checksum8
Active Member
***
Offline Offline

Posts: 132

Thank You
-Given: 124
-Receive: 102


« Reply #37 on: June 25, 2021, 03:59:53 15:59 »

I used a LM317 as an adjustable current source. After tweaking the correction factor in code and current adjust, I get repeatable readings.



****corrected schematic attached
« Last Edit: June 26, 2021, 04:25:44 16:25 by Checksum8 » Logged
mars01
V.I.P
Hero Member
*****
Offline Offline

Posts: 537

Thank You
-Given: 698
-Receive: 1774



« Reply #38 on: June 25, 2021, 04:01:37 16:01 »

Looking at the used Opamp DS, the slew rate is rather low (the AD8628 https://www.analog.com/media/en/technical-documentation/data-sheets/AD8628_8629_8630.pdf opamp being an instrumentation opamp that's not surprising) which should make it rather insensitive, but it might help if you add some small capacitors in parallel with the negative reaction resistor (33k by value): a 10pF to 30pF might help but you can try with a higher value, into the nF range. Like @optikon said, the oscillation you see might be just an envelope of a higher frequency oscillation.
Other than that, given that you have placed the decoupling 0.1uF capacitor between VCC/VSS, the only thing that may be the cause is to have some capacitance connected where is not supposed to Smiley

If I were in your place I would disconnect the 1k resistor found on the negative input of the opamp and check if there are still oscillations. This way you can determine where the oscillations are caused. You can also remove the current source transistor (or whatever you have in the new schematic). Bottom line is that you have to isolate the exact location where those oscillations are generated. After that it is much easier to fix the problem by adding some capacitors.
« Last Edit: June 25, 2021, 04:06:58 16:06 by mars01 » Logged
PM3295
Senior Member
****
Offline Offline

Posts: 312

Thank You
-Given: 360
-Receive: 155


« Reply #39 on: June 26, 2021, 01:02:25 01:02 »

Here is a cheap modification for the current source that is worth a try maybe.

Replacing the zener with a classic TL431 may provide improved regulation with consuming about 50% of the current required for the existing regulator.

Below shows, the diagram and the result of imposing a 2 Vpp ripple on the  5 VDC for testing purposes. The new current source (AM1) shows a variation of only 0.02 mA while the old one (AM3) varies by a few mA's. The variation of the old source shows some non-linearity while the new one appears more symmetric.

These are just simulation results. I have not tested it in hardware.  
« Last Edit: June 26, 2021, 01:41:12 01:41 by PM3295 » Logged
optikon
Cracking Team
Hero Member
****
Offline Offline

Posts: 853

Thank You
-Given: 1109
-Receive: 2007


« Reply #40 on: June 26, 2021, 03:20:33 03:20 »

would be good to understand why the osc is occurring. If you want to change the current source, just do it with an opamp and transistor. You can crush supply LF supply noise by nearly 120 dB. it will have superior performance in all regards. That is, if it was the problem to begin with-- which hasn't been established yet.
« Last Edit: June 26, 2021, 03:22:40 03:22 by optikon » Logged

I can explain this to you. I can't comprehend it for you.
PM3295
Senior Member
****
Offline Offline

Posts: 312

Thank You
-Given: 360
-Receive: 155


« Reply #41 on: June 26, 2021, 04:11:52 04:11 »

would be good to understand why the osc is occurring. If you want to change the current source, just do it with an opamp and transistor.

I totally agree that using an opamp based CS will be superior. However, that needs a complete pcb modification. I was thinking along the lines of minimal modification if there are already pcb's produced. The TL431 can be implemented without much trouble in place of the zener.

It will be useful to see some waveforms and to establish if the design performed correctly after the current source was modified the first time round.
« Last Edit: June 26, 2021, 04:24:50 04:24 by PM3295 » Logged
kripton2035
Junior Member
**
Offline Offline

Posts: 58

Thank You
-Given: 23
-Receive: 130


« Reply #42 on: June 26, 2021, 07:55:14 07:55 »

thanks guys for all these inspiring ideas.
will try them
but I have a work project that has to be closed in the next weeks and I won't have much time for the shorty project now.
Hope to have more time for this in july. stay tuned.
Logged
sadman
Hero Member
*****
Offline Offline

Posts: 710

Thank You
-Given: 1839
-Receive: 2907


Sow The Seeds of Love


« Reply #43 on: June 26, 2021, 11:40:38 11:40 »

why not use a linear adjustable regulator as current source which will also safe some space in circuit see attach milliohm metter, in Elektor electronic a nice design was published with op-amp based current source I will search it and share
Logged
koky
Active Member
***
Offline Offline

Posts: 181

Thank You
-Given: 154
-Receive: 157


WWW
« Reply #44 on: June 26, 2021, 05:59:51 17:59 »

i have found this
http://cappels.org/dproj/dlmom/dlmom.html
lock-in amplifier  can be a good solution
Logged
kripton2035
Junior Member
**
Offline Offline

Posts: 58

Thank You
-Given: 23
-Receive: 130


« Reply #45 on: June 26, 2021, 08:17:31 20:17 »

no, because it tests AC ohms, I want to test DC ohms.
as there are capacitors on supply rails, if you use such an ac ohm meter, it will always tells you there is zero ohms, the capacitor impedence.
using dc ohms meter, you can find shorted capacitors.
Logged
optikon
Cracking Team
Hero Member
****
Offline Offline

Posts: 853

Thank You
-Given: 1109
-Receive: 2007


« Reply #46 on: June 27, 2021, 02:28:49 02:28 »

I totally agree that using an opamp based CS will be superior. However, that needs a complete pcb modification. I was thinking along the lines of minimal modification if there are already pcb's produced. The TL431 can be implemented without much trouble in place of the zener.

It will be useful to see some waveforms and to establish if the design performed correctly after the current source was modified the first time round.

Ahhh Yes you have a good point about making it fairly easy to modify an existing PCB. The various flavors of 431 are one of my favorite parts.. You can get a lot of performance from them for very little cost. Nice little parts they are.

Yes we're still waiting for OP to post some waveforms. 10-20Hz has piqued my curiosity because its quite odd to me. Guess Kripton is busy.. I guess there is no hurry.

« Last Edit: June 27, 2021, 02:35:17 02:35 by optikon » Logged

I can explain this to you. I can't comprehend it for you.
PM3295
Senior Member
****
Offline Offline

Posts: 312

Thank You
-Given: 360
-Receive: 155


« Reply #47 on: June 27, 2021, 02:36:21 02:36 »

Quote
establish if the design performed correctly after the current source was modified the first time round.

Simple yes or no will do.
Logged
kripton2035
Junior Member
**
Offline Offline

Posts: 58

Thank You
-Given: 23
-Receive: 130


« Reply #48 on: June 27, 2021, 09:06:32 09:06 »

I made the prototype on a perfboard, with the original "current source" (in fact it is not one...)
I made a pcb and during that time I thought I would make this new true current source (at least better)
I modify the pcb to be able to have both current sources on the same pcb if anything went wrong I could still use the original one.
I received the pcb, tried the new current source and it never worked dur to these oscillations.
Logged
sadman
Hero Member
*****
Offline Offline

Posts: 710

Thank You
-Given: 1839
-Receive: 2907


Sow The Seeds of Love


« Reply #49 on: June 27, 2021, 11:23:45 11:23 »

So Finally Found it Elektor Milliohm used two topology PWM pulses and constant current share for reference and an idea

sadman
« Last Edit: June 27, 2021, 03:03:36 15:03 by sadman » Logged
Pages: 1 [2] 3  All
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC