Author Topic: $20 LCR ESR Transistor checker project  (Read 3452130 times)

carrascoso and 14 Guests are viewing this topic.

Offline madires

  • Super Contributor
  • ***
  • Posts: 7769
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #7800 on: July 25, 2022, 06:35:28 pm »
Sorry! I've updated the link.
 

Offline Per Hansson

  • Supporter
  • ****
  • Posts: 428
  • Country: se
Re: $20 LCR ESR Transistor checker project
« Reply #7801 on: July 25, 2022, 07:39:36 pm »
I would be very grateful if you could give some idea where you think the issue is with the K-firmware that I see.
Am I on the right path with trying to adjust "FAKTOR_ESR" or was there some other much more imprtant thing you had to change?
"FAKTOR_ESR" Only works for 20nF - 200nF capacitors. For electrolytic capacitors, I changed a few places. But I consider myself understanding enough in Assembler to lecture Karl-Heinz. Who does not fit my firmware, do not use. I can't help anymore.
I can understand that you are tired of me Yuriy_K but I really like your dedication! :)
I used the latest GIT version with only this code replacing line 832:
Code: [Select]
#if (PROCESSOR_TYP == 644) || (PROCESSOR_TYP == 1280)
        #define FULL_PULSE_LENGTH_TICS ((HALF_PULSE_LENGTH_TICS*2) - 1)
#else
#define FULL_PULSE_LENGTH_TICS ((HALF_PULSE_LENGTH_TICS*2)+(MHZ_CPU/14))
#endif
With this change I have the following result:
Code: [Select]
GM328R 20MHz: Hiland644-1*: Hiland644-2*: Hiland644-3*: Hiland644-4*
20mΩ resistor: 0.01Ω 0.00Ω 0.15Ω 0.01Ω 0.03Ω
50mΩ resistor: 0.04Ω 0.03Ω 0.19Ω 0.05Ω 0.06Ω
47nF film cap: 46nF 0.50Ω 46.0nF 0.00Ω 46.1nF 1.10Ω 46.1nF 0.23Ω 47.1nF 12.0Ω
330nF film cap: 319.2nF 0.10Ω 316.7nF 0.00Ω 317.4nF 0.23Ω 316.3nF 0.12Ω 324.7nF 1.74Ω
2200µF lytic (KMG): 2326µF 0.10Ω 2327µF 0.07Ω 2229µF 0.28Ω 2470µF 0.08Ω 2294 0.11Ω
1000µF polymer (PSG): 980µF 0.02Ω 980µF 0.04Ω 942µF 0.13Ω 1044µF 0.05Ω 960µF 0.01Ω
Hiland644-1*= Latest GIT release, no changes (unable to read ESR of small caps).
Hiland644-2*= Latest GIT release, changed GetESR.S according to code above. (reads small caps but with a bit high ESR, same for resistors)
Hiland644-3*= Latest GIT release, same as Hiland644-2 but also changed FAKTOR_ESR on line 578 to: 550000 (reads pretty good!).
Hiland644-4*= M-firmware 1.48m-beta (added by edit later for comparison).

But I don't understand the purpose of the original code:
Code: [Select]
#define FULL_PULSE_LENGTH_TICS ((HALF_PULSE_LENGTH_TICS*2)+(MHZ_CPU/14))I checked the source and "MHZ_CPU" is defined as the frequency in Hz divided by a million, so it is for example "8" with 8MHz CPU.
"HALF_PULSE_LENGTH_TICS" is defined a very similar way.
What I don't get is why it is then divided by the frequency of the CPU by the number 14?
And in your changed version in my example code above this is instead "-1" if the CPU is Atmega644, but why?
« Last Edit: July 26, 2022, 06:56:36 am by Per Hansson »
 

Offline edgard22

  • Newbie
  • Posts: 6
  • Country: uy
Re: $20 LCR ESR Transistor checker project
« Reply #7802 on: July 25, 2022, 09:21:10 pm »
Yes, it is the same to connect only 2 terminals to see the junction capacitance, but sometimes it is inconvenient when there are many transistors. Anyway I copied a few lines of code in the BJT sector and I achieved the task.
In the photos you can see measurements of several 2SC5200 of different qualities. The one that shows Cbe460pF is very bad, measured with another instrument it has a Vbr of 130V (The originals generally measured Vbr above 320V)
« Last Edit: July 25, 2022, 09:24:37 pm by edgard22 »
 
The following users thanked this post: elecdonia

Offline Yuriy_K

  • Regular Contributor
  • *
  • Posts: 140
  • Country: ru
Re: $20 LCR ESR Transistor checker project
« Reply #7803 on: July 26, 2022, 06:00:14 am »
Yes, it is the same to connect only 2 terminals to see the junction capacitance, but sometimes it is inconvenient when there are many transistors. Anyway I copied a few lines of code in the BJT sector and I achieved the task.
Incorrect measurement examples, you cannot compare I_E = 6.25mA readings with I_C = 0.935mA readings. The tester incorrectly detects the emitter and collector pins. From this, the capacity of the transition "eb" is incorrectly determined. Measure on individual wires and see if I'm right.
« Last Edit: July 26, 2022, 06:07:03 am by Yuriy_K »
 

Offline Yuriy_K

  • Regular Contributor
  • *
  • Posts: 140
  • Country: ru
Re: $20 LCR ESR Transistor checker project
« Reply #7804 on: July 26, 2022, 06:20:21 am »
I can understand that you are tired of me Yuriy_K but I really like your dedication!
I showed my settings, measurements and firmware with corrections on page 311. I have nothing more to say.
 

Offline boneDragon

  • Contributor
  • Posts: 24
Re: $20 LCR ESR Transistor checker project
« Reply #7805 on: July 26, 2022, 09:57:40 am »
on 1.45m firmware, on 16M MCU crystal single measurement takes 10..30sec, is it possible to make it faster ?
or leave only R/C/L mode, disable all others to make faster detection
« Last Edit: July 26, 2022, 10:32:21 am by boneDragon »
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1012
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #7806 on: July 26, 2022, 10:00:52 am »
on 1.45m firmware, 16M crystal single measurement takes 10..30sec, is it possible to make it faster ?
M-firmware tests crystals only if there is an extended version of the frequency meter! Which version of the clone (device)are you using?
 

Offline boneDragon

  • Contributor
  • Posts: 24
Re: $20 LCR ESR Transistor checker project
« Reply #7807 on: July 26, 2022, 10:02:03 am »
thats MCU crystal, I measure only R/C/L elements
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1012
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #7808 on: July 26, 2022, 10:04:48 am »
Check if you have programmed the MCU fuses correctly?
H:D9 L:F7 E:FD(FC)
« Last Edit: July 26, 2022, 10:06:57 am by indman »
 

Offline boneDragon

  • Contributor
  • Posts: 24
Re: $20 LCR ESR Transistor checker project
« Reply #7809 on: July 26, 2022, 10:30:27 am »
tried - nothing changed. Measured with frequency counter - 16M generation on crystal is ok

is it possible to disable TP2 probing ?
test clips connected to TP1/TP3, but sometimes it detects component on TP1/TP2
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1012
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #7810 on: July 26, 2022, 11:31:45 am »
is it possible to disable TP2 probing ?
There's no need for that.Read the section in the manual for the tester where it is indicated how to start the self-testing procedure and show us these results.
 

Offline Yuriy_K

  • Regular Contributor
  • *
  • Posts: 140
  • Country: ru
Re: $20 LCR ESR Transistor checker project
« Reply #7811 on: July 26, 2022, 01:15:58 pm »
Sorry! I've updated the link.
I looked, I re-quote the transistor measurements from the previous page. The unconnected lead lies on top of the case. For the bottom row I will explain by numbers:
1. base and collector are connected together,
2. The сollector lead not connected,
3. The emitter is not connected,
4. The emitter is connected to the collector,
5. The base is not connected.

The examples shown show that not connecting free terminals has little effect on the readings of the capacitances of the junctions.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7769
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #7812 on: July 26, 2022, 01:19:41 pm »
on 1.45m firmware, on 16M MCU crystal single measurement takes 10..30sec, is it possible to make it faster ?
or leave only R/C/L mode, disable all others to make faster detection

Are you talking about measuring large capacitors?
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7769
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #7813 on: July 26, 2022, 01:43:02 pm »
The examples shown show that not connecting free terminals has little effect on the readings of the capacitances of the junctions.

Thanks for checking! The capacitance between the  terminals is a bit more complex because there a several capacitances adding up. The capacitance of the leads, junction capacitance and diffusion capacitance. The latter two change with bias, frequency, temperature and so on. Anyway, if 'third terminal open' provides a usable value then we can use this method.
 

Offline boneDragon

  • Contributor
  • Posts: 24
Re: $20 LCR ESR Transistor checker project
« Reply #7814 on: July 26, 2022, 02:50:10 pm »
Quote
Are you talking about measuring large capacitors?
yes

simply shorted pins PC1,PB2,PB3 (TP2) - now measures much faster and no false detections...
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1012
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #7815 on: July 26, 2022, 03:07:26 pm »
simply shorted pins PC1,PB2,PB3 (TP2) - now measures much faster and no false detections...
Nothing is clear from your explanation because you don't state your problem correctly from the start and no name your clone model. There are no psychics here to guess at your measurement difficulties. |O
« Last Edit: July 26, 2022, 03:16:12 pm by indman »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7769
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #7816 on: July 26, 2022, 05:05:53 pm »
Quote
Are you talking about measuring large capacitors?
yes

As larger the capacitance as longer it takes. This is normal for the measurement method used.
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1012
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #7817 on: July 26, 2022, 05:15:25 pm »
As larger the capacitance as longer it takes. This is normal for the measurement method used.
Madires,that's right,but not 30 seconds,even if he is it measures 100mF capacitance! :D
Capacity of 10mF is measured by m-firmware with quartz 16MHz for 5-6 seconds, the capacity of 100mF -15 seconds! ;)
« Last Edit: July 26, 2022, 05:34:52 pm by indman »
 
The following users thanked this post: madires

Offline boneDragon

  • Contributor
  • Posts: 24
Re: $20 LCR ESR Transistor checker project
« Reply #7818 on: July 26, 2022, 05:31:37 pm »
found crack on PC1 trace, so maybe it was catching noise from near tracks.
now all works fast
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7769
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #7819 on: July 26, 2022, 07:32:46 pm »
Glad you found the cause. I can't remember that I ever heard of that issue, i.e. a broken trace causing a delayed probing cycle.
 
The following users thanked this post: boneDragon

Offline edgard22

  • Newbie
  • Posts: 6
  • Country: uy
Re: $20 LCR ESR Transistor checker project
« Reply #7820 on: July 26, 2022, 08:50:49 pm »
Yes, it is the same to connect only 2 terminals to see the junction capacitance, but sometimes it is inconvenient when there are many transistors. Anyway I copied a few lines of code in the BJT sector and I achieved the task.
Incorrect measurement examples, you cannot compare I_E = 6.25mA readings with I_C = 0.935mA readings. The tester incorrectly detects the emitter and collector pins. From this, the capacity of the transition "eb" is incorrectly determined. Measure on individual wires and see if I'm right.
You are right, but the values ​​read with the multimeter, although they differ a little from the AY-AT, maintain a relationship. I believe that an exact value is not necessary since it is used as a reference and it is possible to clearly differentiate them in a primary classification.
 

Offline boneDragon

  • Contributor
  • Posts: 24
Re: $20 LCR ESR Transistor checker project
« Reply #7821 on: July 27, 2022, 07:49:07 am »
Glad you found the cause. I can't remember that I ever heard of that issue, i.e. a broken trace causing a delayed probing cycle.
is it possible to increase parameters indication time, before next measurement ?

small 128x32 0.91" OLEDs are supported, or only 128x64 ?
« Last Edit: July 27, 2022, 11:56:19 am by boneDragon »
 

Offline Per Hansson

  • Supporter
  • ****
  • Posts: 428
  • Country: se
Re: $20 LCR ESR Transistor checker project
« Reply #7822 on: July 27, 2022, 08:34:06 am »
is it possible to increase parameters indication time, before next measurement ?

You can change it here in config.h:
Code: [Select]
/*
 *  Maximum time to wait after probing (in ms).
 *  - applies to continuous mode only
 *  - Time between printing the result and starting a new probing cycle.
 */

#define CYCLE_DELAY      5000

But you can also instead enable this and the tester will wait for button or encoder input to measure again:
Code: [Select]
/*
 *  Set the default operation mode to auto-hold.
 *  - instead of continous mode
 *  - uncomment to enable
 */

#define UI_AUTOHOLD
 
The following users thanked this post: boneDragon

Offline madires

  • Super Contributor
  • ***
  • Posts: 7769
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #7823 on: July 27, 2022, 08:48:31 am »
... or you can start the tester with a long button press (>300ms) to enter the auto-hold mode.
 
The following users thanked this post: boneDragon, Per Hansson

Offline Yuriy_K

  • Regular Contributor
  • *
  • Posts: 140
  • Country: ru
Re: $20 LCR ESR Transistor checker project
« Reply #7824 on: July 28, 2022, 05:23:19 pm »
madires
I will try to explain the identified problem in main.c. When checking on the "m" firmware of the specified transistor, in my opinion, a very important parameter Vbe was missing. The given corrections allow to show this value. I understand that my solution looks primitive. I hope you find a better solution...
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf