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

0 Members and 12 Guests are viewing this topic.

Offline elecdonia

  • Frequent Contributor
  • **
  • Posts: 418
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #8025 on: December 24, 2022, 03:16:51 pm »
None of the people who understand the meaning of electronics does not argue with this opinion, it's true, but as correctly observed by dear rsjsouza - the key purpose for this project is a QUICK TEST of a part, removed from the board or a new (unknown) part. For more detailed testing and analysis you will certainly need more serious equipment. :)
I agree 100%.

The transistor tester is intended to be the quickest, easiest, and lowest cost method to identify unknown components and provide reasonable measurements of their parameters. Often this is sufficient when diagnosing a malfunctioning circuit. Faulty components usually measure grossly out of spec. But a component which measures within +/- 20% of its expected value is likely to be functional.

Yes, "lab grade" test gear can be necessary for comprehensive design and debugging projects. However one doesn't always need expensive gear to quickly determine whether a component is good or bad. I own plenty of test gear, yet I nearly always make my "first tests" with small convenient easy-to-use tools like the transistor tester or a hand-held 3.5 digit multimeter. I also own a 6.5 digit multimeter ( HP 3456A ), but I don't use it every day.

Finally, for people with limited budgets and for folks who are just starting out with electronics, low-cost multi-function test gear like the transistor tester is essential.
« Last Edit: December 30, 2022, 06:05:58 pm by elecdonia »
I’m learning to be a leading-edge designer of trailing-edge technology.
 
The following users thanked this post: Twenty4Pack, indman, Obelix2007, Dumidan

Offline elecdonia

  • Frequent Contributor
  • **
  • Posts: 418
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #8026 on: December 24, 2022, 06:01:17 pm »
What is the excitation current adjustment range?

I cant see how any one meter will be able to measure all inductors, although it may still be useful.
For example, some buck converters will output 100ma while others 100 amps.  That means the filter inductor may be seeing either 100ma DC or 100 amps DC.  I've dealt with that entire range in my career so i can see how things can vary and how the inductance can vary.
Im not saying other meters cant help, but they will never be able to test the entire range of inductors available.  That's all.
I value your comments about L & C measurement and wish to continue this discussion in greater depth.
Therefore let’s move our discussion to the following topic which is focused on L/C measurement devices such as the LC100-A:

https://www.eevblog.com/forum/testgear/lc100-a-a-precise-lc-meter-for-3-75$/msg4596301/#msg4596301
« Last Edit: December 30, 2022, 06:06:27 pm by elecdonia »
I’m learning to be a leading-edge designer of trailing-edge technology.
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1378
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #8027 on: December 24, 2022, 07:20:17 pm »
One of the new clones of the Chinese industry and its inner world. The marking of the chips is smeared, but if we compare the location of 6 external measuring resistors, we can assume that the Chinese LGT8F328P controller or its equivalent is used. ;)
The photos are not mine.
 
The following users thanked this post: elecdonia

Offline elecdonia

  • Frequent Contributor
  • **
  • Posts: 418
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #8028 on: December 24, 2022, 11:50:30 pm »
I finally took the plunge and got a random version from eBay. From the outside this looks identical to the LCR-TC1 version but inside it has the same PCB as LCR-T7(FNIRSI) AFAICS complete with a (presumably fake) chip marked as MEGA328P. When you power it up in test mode it says FNIRSI-TC1, pauses at 38% but it does not report the firmware version at the end. I was hoping to reflash it, never mind.
I got a similar unit a couple of weeks ago. It works but... I wanted a unit with ATmega324 so I could change the MCU to ATmega644 and gain a lot more functionality in a self-contained battery-powered unit. This post describes the mod I want to do:
     $20-lcr-esr-transistor-checker-project/msg3578117
 
But... No luck!
Yesterday I ordered another unit which just might contain the ATmega324. These things are cheap enough that I'll keep at it until I get the one I want!

FYI these forum posts suggest the fake ATmega328 is actually a APT32F172K8T6 :
     $20-lcr-esr-transistor-checker-project/msg4291063
     $20-lcr-esr-transistor-checker-project/msg4370932
     $20-lcr-esr-transistor-checker-project/msg4383955 
     $20-lcr-esr-transistor-checker-project/msg4398580
     $20-lcr-esr-transistor-checker-project/msg4429093

Also take a look at the attached pinouts. They are totally different! In fact the VDD and VSS pins are on opposite sides of the package! The only thing they have in common is that both MCU chips are in a 32-pin TQFP package.
« Last Edit: December 30, 2022, 06:12:29 pm by elecdonia »
I’m learning to be a leading-edge designer of trailing-edge technology.
 

Offline Spongey

  • Contributor
  • Posts: 16
  • Country: gb
Re: $20 LCR ESR Transistor checker project
« Reply #8029 on: December 28, 2022, 05:32:14 am »
I found out two other things about the fake TC1.

It sends traffic down the serial port (which is connected to the USB port via a CH340N) at various points, such as pressing the button, making a measurement and decoding IR. Not readable text though.

Pressing the button 4 times rapidly puts in into a bootloader screen. Not managed to do anything else at that point. After 5 minutes (or disconnecting the battery) it resumes normal operation.
 
The following users thanked this post: elecdonia

Offline elecdonia

  • Frequent Contributor
  • **
  • Posts: 418
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #8030 on: December 28, 2022, 08:33:11 pm »
One of the new clones of the Chinese industry and its inner world. The marking of the chips is smeared, but if we compare the location of 6 external measuring resistors, we can assume that the Chinese LGT8F328P controller or its equivalent is used. ;)
The photos are not mine.
RE: This LGT8F328P clone of the Atmel ATmega328 MCU:
     Evidently this MCU has been ported into the Arduino IDE.
     It is also claimed that clone Arduino boards are available with this LGT8F328P MCU.
     I intend to get some for experimentation since they cost almost nothing.
     I'm intrigued by its (claimed) 32MHz clock option.

The following links may be useful:
     projects/anyone-here-interested-in-the-logic-green-avrs-lgt8f328p
     microcontrollers/lgt8f328p-clone-of-atmega328-with-lots-of-extras-anybody-use-them

Also a suggestion for searching for this MCU on EEVblog: Try both of these search terms: LGT8F328P and LG8F328 (without P at the end), and also search for "logic green" (manufacturer of the LGT8F328P)
« Last Edit: December 30, 2022, 06:32:53 pm by elecdonia »
I’m learning to be a leading-edge designer of trailing-edge technology.
 

Offline elecdonia

  • Frequent Contributor
  • **
  • Posts: 418
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #8031 on: December 29, 2022, 06:58:02 pm »
I found out two other things about the fake TC1. It sends traffic down the serial port (which is connected to the USB port via a CH340N) at various points, such as pressing the button, making a measurement and decoding IR. Not readable text though. Pressing the button 4 times rapidly puts in into a bootloader screen. Not managed to do anything else at that point. After 5 minutes (or disconnecting the battery) it resumes normal operation.
My LCR-TC1 FNIRSI responds to the "quickly press the button 4 times" command as seen in the attached photo. It displays FNIRSI-TC1 in the bootloader screen. It also displays FNIRSI-TC1 at the start of the selftest procedure. I haven't yet checked for any output from the USB port.

-E
« Last Edit: December 29, 2022, 06:59:57 pm by elecdonia »
I’m learning to be a leading-edge designer of trailing-edge technology.
 
The following users thanked this post: Spongey

Offline eti

  • Super Contributor
  • ***
  • !
  • Posts: 1801
  • Country: gb
  • MOD: a.k.a Unlokia, glossywhite, iamwhoiam etc
Re: $20 LCR ESR Transistor checker project
« Reply #8032 on: December 30, 2022, 11:29:33 am »
How does one know if this model uses genuine part? Photo shows 32 pin atmega…

ARCELI LCR-T4 ESR Meter Transistor Tester Diode Triode Capacitance SCR Inductance https://amzn.eu/d/g9qNQx6
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8849
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #8033 on: December 30, 2022, 12:25:13 pm »
It's a lottery. >:( Even when the images show a genuine ATmega it doesn't mean that you'll get one with your new tester. One of the replacement MCUs has a different pinout (check Vcc and Gnd). The other one often has fake markings with a specific batch number and production date code (was posted a while ago).
 

Offline vklimk

  • Contributor
  • Posts: 13
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #8034 on: December 30, 2022, 01:42:57 pm »
PCB in the photos has ISP header specific for atmega MCU. So, if your PCB is identical to the photo then most probably it will be atmega MCU.
 
The following users thanked this post: elecdonia

Offline elecdonia

  • Frequent Contributor
  • **
  • Posts: 418
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #8035 on: December 30, 2022, 02:47:01 pm »
How does one know if this model uses genuine part? Photo shows 32 pin atmega…
ARCELI LCR-T4 ESR Meter Transistor Tester Diode Triode Capacitance SCR Inductance https://amzn.eu/d/g9qNQx6
The unit in the Amazon photos has a genuine ATmega328 MCU. Because it’s coming from Amazon you can return it if it doesn’t look exactly like the photo.

One other thing: This unit does not have a protection circuit for the MCU. So be sure to discharge all capacitors before connecting them to the tester.
« Last Edit: December 30, 2022, 06:03:01 pm by elecdonia »
I’m learning to be a leading-edge designer of trailing-edge technology.
 

Offline elecdonia

  • Frequent Contributor
  • **
  • Posts: 418
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #8036 on: December 30, 2022, 03:05:34 pm »
It's a lottery. >:( Even when the images show a genuine ATmega it doesn't mean that you'll get one with your new tester.
The following post contains the most recent (16 Dec 2022) clone identification and comparison list. I think it is the best available reference to identify different versions of the transistor tester:

$20-lcr-esr-transistor-checker-project/msg4584517
« Last Edit: December 30, 2022, 06:28:57 pm by elecdonia »
I’m learning to be a leading-edge designer of trailing-edge technology.
 

Offline Spongey

  • Contributor
  • Posts: 16
  • Country: gb
Re: $20 LCR ESR Transistor checker project
« Reply #8037 on: December 30, 2022, 04:06:34 pm »
I haven't yet checked for any output from the USB port.

For that I just connected a terminal program to the virtual COM port the CH340N creates on a PC. I don't know what the serial port speed is though. A scope connected to the header near U1 could work that out.
 

Offline elecdonia

  • Frequent Contributor
  • **
  • Posts: 418
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #8038 on: December 30, 2022, 05:05:58 pm »
Feliciano,this measurement operation is true for the classical tester scheme. But in the clone version with a fake processor, the LM358 operational amplifier is present in the zener diode measurement circuit.What function does it perform in the scheme? A clear and understandable schematic diagram of the clone is needed to definitively determine the cause of this error. ;)
I have a recently manufactured LCR-TC1 clone containing two LM358 opamps. I will endeavor to post a schematic of my unit. This unit employs APT32F172K8T6 MCU. I have the MCU pinout so I can show which of its I/O pins are used for zener diode test when I draw the schematic.
I’m learning to be a leading-edge designer of trailing-edge technology.
 
The following users thanked this post: ledtester, Spongey

Offline elecdonia

  • Frequent Contributor
  • **
  • Posts: 418
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #8039 on: December 30, 2022, 05:42:41 pm »
I also ordered replacement U7 devices at the same time. I will be testing the revised circuit you recommend as soon as these arrive.
For me, your efforts to restore this clone from FNIRSI look ridiculous - it's like trying to make a chocolate candy out of shit!? FNIRSI has released a crude, low-quality product to the market, which does not correspond to the level of this project in any way. It is desirable to return such products to the seller, to demand a refund of the money spent for wasting time. ;)
If it was from Amazon I would have returned it. But this was eBay purchase shipped direct from China. I have bought from same large Chinese eBay vendor many times with no problem. So I think I will keep it and use it for experimentation.

The build quality of its PC board is actually better than some of my older transistor tester units. The LCD display is sharp & bright. The plastic case is well designed and it looks great. Aside from failure of U7 in the 30V step-up circuit for zener diode test, this LCR-TC1 is reasonably functional. So far I observed it gives accurate results for resistors and for the uF of capacitors. I still need to make detailed tests for all other items which are identified and measured accurately by a traditional transistor tester.

RE: Zener test feature, I temporarily inserted a 10K series resistor at the output from the 30V step-up converter. This works OK while waiting for arrival of replacement U7 chips. Note: This 10K series resistor was in the very first schematics published for implementing zener diode test feature.

I think these are the main faults of transistor testers containing non-Atmel MCU:
   1) Firmware cannot be changed or upgraded
   2) Several features of the traditional transistor tester aren’t implemented
   3) 30V power source for zener testing does not have functional current limiting
« Last Edit: January 02, 2023, 12:43:01 am by elecdonia »
I’m learning to be a leading-edge designer of trailing-edge technology.
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1378
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #8040 on: December 30, 2022, 07:47:05 pm »
I have said before that we will get more unpleasant surprises if we test the clones now on the new CPUs in all modes.
I carefully study the customer reviews of clone models with APT32F172K8T6 and LGT8F328 chips and can add a few more differences that are characteristic of a tester based on these chips:
1.Incorrect measurement of ESR capacitors.For most serviceable electrolytic capacitors, the ESR is not defined at all or is designated as 0.00. For some types of ceramic SMD capacitors, the ESR, on the contrary, is overestimated by 10-100 times.
2.Some faulty capacitors are detected by the tester as 2 counter diodes.
3.Some BJT transistors (for example,2N5089,MPSA12,MPSA13, etc.) are defined as thyristors or resistors.
4.Some JFET transistors (e.g. J112,J113,2N5457, etc.) are not defined at all or are defined as BJT.
5. Diode assemblies with a common cathode are incorrectly determined.
I think that this is not a complete list of differences from the original project and it will be supplemented over time. ;)
« Last Edit: January 04, 2023, 02:17:16 pm by indman »
 
The following users thanked this post: elecdonia, wandows

Offline elecdonia

  • Frequent Contributor
  • **
  • Posts: 418
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #8041 on: December 31, 2022, 12:30:25 am »
These new MCU chips APT32F172K8T6 and LGT8F328 are likely to have totally different characteristics for their I/O pins.

As I understand it (please correct me if I’m wrong) measurements of very small resistance require direct connection of the tested component between one MCU I/O pin outputting 5V and another MCU I/O pin outputting 0V. The residual internal output resistance of these I/O pins are the reference resistors for this measurement. Not the 680R or 470k probe resistors. Evidently all flavors of Atmel AVR MCU have similar and relatively stable internal output resistance for their I/O pins. This provides capability to share similar software among all Atmel AVR MCU varieties.

I discovered a very old post which states the output resistance of an Atmel AVR I/O pin is about 20R:
     $20-lcr-esr-transistor-checker-project/msg889515

However, other MCU are likely to have considerably different internal resistance for I/O pins set in output mode. For example some of these new MCU are said to have 80mA source or sink capability on their output pins. Their residual output resistance would be much lower than Atmel AVR.

One thing I find of interest is that both the APT32F172K8T6 and the LGT8F328 can operate with 5V power supply. Because of this their I/O pins can directly generate 5V output levels for “logic high.” Compare this to nearly every other modern MCU: Their I/O in output mode can produce only 3V3 maximum for the logic high output state. This could explain why there aren’t any transistor testers using STM32 or other similar MCU families. The capability to directly generate a 5V output from an I/O pin is essential to the traditional transistor tester architecture. Otherwise an additional driver circuit separate from the MCU itself is necessary.

I’m beginning to think about “output driver” circuits which are independent from the MCU itself. Would it be possible to design such a circuit to be both simple and precise?
« Last Edit: December 31, 2022, 12:50:20 am by elecdonia »
I’m learning to be a leading-edge designer of trailing-edge technology.
 

Offline Feliciano

  • Frequent Contributor
  • **
  • Posts: 273
  • Country: ve
Re: $20 LCR ESR Transistor checker project
« Reply #8042 on: December 31, 2022, 10:04:29 am »
As you say, the output current of these MCUs is limited, but also keep in mind we are often using small-battery-powered units, and most of the times we are talking about "chinese" regulators (and other components), so asking for pulses of 50mA or so can generate different kinds of troubles/errors (and quickly exhaust the battery).

Fortunately, the developers took that into consideration, and that's why the calibration procedure was introduced, which allows us to obtain a reasonable accuracy on the measurements, if we remember to calibrate the instrument every now and then, specially if you are alternating leads and ZIF measurements (for which the m-firmware offer the option to have different profiles).
« Last Edit: December 31, 2022, 10:29:40 am by Feliciano »
 
The following users thanked this post: elecdonia

Offline elecdonia

  • Frequent Contributor
  • **
  • Posts: 418
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #8043 on: December 31, 2022, 02:58:37 pm »
As you say, the output current of these MCUs is limited, but also keep in mind we are often using small-battery-powered units.
The Atmel AVR MCU chips (ATmega328, ATmega324, ATmega644) share similar output current ratings from their digital I/O pins. But we know very little about the characteristics of these alternate MCU chips from the Chinese manufacturers. Some are said to offer 80mA output current. These new Chinese MCU chips are targeted at low-cost applications where BOM cost and PC board real estate is saved when the output pins can drive loads directly without needing additional components.
Quote
…and most of the times we are talking about "chinese" regulators (and other components), so asking for pulses of 50mA or so can generate different kinds of troubles/errors (and quickly exhaust the battery).
Yes, the stability of the 5.0V power supply rail is critically important for the transistor tester. This is why it is often recommended to install a higher grade LDO voltage regulator IC in place of the commonly used 78L05. Larger input and output capacitors near the voltage regulator are also recommended. I intend to make detailed measurements of the 5V rail with my oscilloscope to learn how large the variation is when the transistor tester is measuring small resistance, such as while testing capacitor ESR, and also during self-calibration.
Quote
Fortunately, the developers took that into consideration, and that's why the calibration procedure was introduced, which allows us to obtain a reasonable accuracy on the measurements, if we remember to calibrate the instrument every now and then, specially if you are alternating leads and ZIF measurements (for which the m-firmware offer the option to have different profiles).
Unfortunately the Chinese engineers who ported the traditional transistor tester software to these other (non-Atmel) MCU chips were not fully aware of these issues. They were on a tight budget for expense and development time. Therefore they released firmware which was only partially functional.

At this time my experience with non-ATmega328 transistor testers extends only to one LCR-TC1 unit containing the APT32F172K8T6 MCU. So far the only improved feature I’ve observed is that measurements finish much faster in comparison to traditional transistor testers with ATmega328 clocked at 8MHz. I estimate the speed of the LCR-TC1 to be 4 or 5 times faster.
I’m learning to be a leading-edge designer of trailing-edge technology.
 

Offline vklimk

  • Contributor
  • Posts: 13
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #8044 on: December 31, 2022, 04:14:28 pm »
Small resistors measurement needs not more than 5v/720R=6,9mA additional current. If you want to load TTto investigate power supply stability then you should measure inductance - it takes up to 5v/38R=130mA additional current (for a short period of time of course). lgt8f328p takes even more since it has lower internal resistance of io-ports than atmega MCU has. And I know nothing about APT32F172K8T6, but inductance measurement will load it hard as well I believe.
« Last Edit: December 31, 2022, 04:16:55 pm by vklimk »
 

Offline elecdonia

  • Frequent Contributor
  • **
  • Posts: 418
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #8045 on: December 31, 2022, 05:44:16 pm »
Small resistors measurement needs not more than 5v/720R=6,9mA additional current.
If I understand this correctly: Small resistor measurement includes one 680R probe resistor in series with internal resistance of two MCU output ports (one I/O port at 5V, other I/O port at 0V). Total resistance of 720R is 680R + (2 * 20R).
Quote
If you want to load TT to investigate power supply stability then you should measure inductance - it takes up to 5v/38R=130mA additional current (for a short period of time of course).
For this case there is only the internal resistance of two MCU output ports in series. Again, one I/O port is at 5V and other at 0V. The unknown inductor is connected between these 2 I/O ports.
Quote
lgt8f328p takes even more since it has lower internal resistance of io-ports than atmega MCU has. And I know nothing about APT32F172K8T6, but inductance measurement will load it hard as well I believe.
At this time I will re-read all of the TT manuals and documentation. Then I will measure the parameters of the output ports of the APT32F172K8T6 in my LCR-TC1.
I’m learning to be a leading-edge designer of trailing-edge technology.
 

Offline vklimk

  • Contributor
  • Posts: 13
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #8046 on: December 31, 2022, 06:12:46 pm »
I would suggest you to have a look into source code of TT, it contains very nice comments where measuring methods are described. And there is a document from Karl where he describes the methods as well.
And I am not sure how can you find internal resistance of mcu's ports if you do not have developer toolchain for APT32F172K8T6 to compile and run simple tests on it (you need pull io-port up or down, connect current source to the port, measure voltage drop on the port and calculate the resistance). We do not even know how that fnirsi bootloader works...
« Last Edit: December 31, 2022, 06:14:42 pm by vklimk »
 
The following users thanked this post: elecdonia

Offline indman

  • Super Contributor
  • ***
  • Posts: 1378
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #8047 on: December 31, 2022, 06:38:04 pm »
If I understand this correctly: Small resistor measurement includes one 680R probe resistor in series with internal resistance of two MCU output ports (one I/O port at 5V, other I/O port at 0V). Total resistance of 720R is 680R + (2 * 20R).

Here you will find a very brief and practical explanation of how the tester works.
http://www.pa3fwm.nl/technotes/tn11b.html
All very clear and accessible.Very much I advise to acquaint all. This certainly does not replace the grand work done by the authors of the firmware to create detailed documentation. :)
« Last Edit: December 31, 2022, 06:57:23 pm by indman »
 
The following users thanked this post: elecdonia, eti

Offline eti

  • Super Contributor
  • ***
  • !
  • Posts: 1801
  • Country: gb
  • MOD: a.k.a Unlokia, glossywhite, iamwhoiam etc
Re: $20 LCR ESR Transistor checker project
« Reply #8048 on: December 31, 2022, 06:46:17 pm »
If I understand this correctly: Small resistor measurement includes one 680R probe resistor in series with internal resistance of two MCU output ports (one I/O port at 5V, other I/O port at 0V). Total resistance of 720R is 680R + (2 * 20R).

Here you will find a very brief and practical explanation of how the tester works.
http://www.pa3fwm.nl/technotes/tn11b.html
All very clear and accessible.Very much I advise to acquaint all. This certainly does not replace the grand work done by the authors of the project to create detailed documentation. :)

Also here, for those who prefer visual learning:

 
The following users thanked this post: elecdonia

Offline indman

  • Super Contributor
  • ***
  • Posts: 1378
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #8049 on: December 31, 2022, 06:51:55 pm »
Also here, for those who prefer visual learning:
Yes, this video is also very useful for those who want to understand in detail the principle of the tester!  :)
 
The following users thanked this post: elecdonia, eti


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf