CN210323882U - A kind of RLC detector based on single chip microcomputer - Google Patents

A kind of RLC detector based on single chip microcomputer Download PDF

Info

Publication number
CN210323882U
CN210323882U CN201921845274.5U CN201921845274U CN210323882U CN 210323882 U CN210323882 U CN 210323882U CN 201921845274 U CN201921845274 U CN 201921845274U CN 210323882 U CN210323882 U CN 210323882U
Authority
CN
China
Prior art keywords
pin
resistor
circuit
chip
capacitor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201921845274.5U
Other languages
Chinese (zh)
Inventor
徐磊
黄雷
吴立昂
谢宇宁
汪向华
邱树清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Intrinsic Instruments Co ltd
Original Assignee
Nanjing Forestry University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Forestry University filed Critical Nanjing Forestry University
Priority to CN201921845274.5U priority Critical patent/CN210323882U/en
Application granted granted Critical
Publication of CN210323882U publication Critical patent/CN210323882U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)

Abstract

The utility model discloses a RLC detector based on singlechip, including the minimum system circuit of singlechip, AD9833 signal generator circuit, TDA2030 power amplifier circuit, voltage acquisition circuit, the electric current acquisition circuit, CS5464 measuring circuit, voltage zero crossing comparison circuit, electric current zero crossing comparison circuit and liquid crystal display circuit, AD9833 signal generator circuit connection TDA2030 power amplifier circuit, TDA2030 power amplifier circuit is connected with voltage acquisition circuit and electric current acquisition circuit, CS5464 measuring circuit is all connected to voltage acquisition circuit and electric current acquisition circuit. The utility model discloses can measure and the phase comparison load circuit's voltage electric current, judge the type and the size of load and the topological structure of load to through LED liquid crystal display. The circuit works reliably, the measured data is accurate, and the circuit can be applied to the detection of various components such as resistors, capacitors and inductors.

Description

RLC detector based on singlechip
Technical Field
The utility model discloses can use in the measurement of the detection and the size of resistance, electric capacity, inductance components and parts type, especially involve the circuit of multiple components and parts combination, specifically be an RLC detector based on singlechip.
Background
Various measurement instruments today, such as: the most common multimeter can only measure the resistance, but cannot measure the capacitance and the inductance, and when the inductance and the capacitance need to be measured, related professional instruments are needed for measurement, and the professional instruments are usually very expensive, large in size and not easy to carry; many colleges and universities often have difficulty in distinguishing the size of the device from the model after the experiment, so that much inconvenience and cost are caused, and how to design an instrument integrating resistance, capacitance and inductance measurement becomes an important problem.
In the face of the problems, the RLC detector is developed, can accurately detect the sizes of the resistor, the capacitor and the inductor, displays the sizes on a liquid crystal screen, is low in cost and convenient to carry, and has high application value for device measurement in electronic experiments in colleges and universities.
Disclosure of Invention
The utility model aims to solve the technical problem that not enough to above-mentioned prior art provides a RLC detector based on singlechip, and this RLC detector based on singlechip can measure and the phase comparison load circuit's voltage and current, judges the type and the size of load and the topological structure of load to through LED liquid crystal display. The circuit works reliably, the measured data is accurate, and the circuit can be applied to the detection of various components such as resistors, capacitors and inductors.
In order to realize the technical purpose, the utility model discloses the technical scheme who takes does:
an RLC detector based on a singlechip comprises a singlechip minimum system circuit, an AD9833 signal generator circuit, a TDA2030 power amplification circuit, a voltage acquisition circuit, a current acquisition circuit, a CS5464 measurement circuit, a voltage zero-crossing comparison circuit, a current zero-crossing comparison circuit and a liquid crystal display circuit, the AD9833 signal generator circuit is connected with the TDA2030 power amplification circuit, the TDA2030 power amplification circuit is simultaneously connected with the voltage acquisition circuit and the current acquisition circuit, the voltage acquisition circuit and the current acquisition circuit are both connected with the CS5464 measurement circuit, the voltage acquisition circuit is connected with the voltage zero-crossing comparison circuit, the current acquisition circuit is connected with the current zero-crossing comparison circuit, the AD9833 signal generator circuit, the CS5464 measurement circuit, the voltage zero-crossing comparison circuit and the current zero-crossing comparison circuit are all connected with the single chip microcomputer minimum system circuit, and the single chip microcomputer minimum system circuit is connected with the liquid crystal display circuit.
As a further improved technical solution of the present invention, the minimum system circuit of the single chip microcomputer includes an STC12C5a60S2 single chip microcomputer U3, a reset circuit and a clock circuit, the reset circuit includes a capacitor C1 and a resistor R4, the clock circuit includes a capacitor C3, a capacitor C6 and a crystal oscillator Y2, a pin 9 of the STC12C5a60S2 single chip microcomputer U3 is simultaneously connected with the resistor R4 and the capacitor C1, the other end of the resistor R4 is connected with a ground wire, the other end of the capacitor C1 is connected with a power VCC, a pin 18 of the STC12C5a60S2 single chip microcomputer U3 is simultaneously connected with one end of the crystal oscillator Y2 and the capacitor C3, a pin 19 of the STC12C5a60S2 single chip microcomputer U3 is simultaneously connected with the other end of the crystal oscillator Y2 and the capacitor C6, and the other ends of the capacitor C3 and the capacitor C; and a pin 40 of the STC12C5A60S2 singlechip U3 is connected with a power supply VCC, and a pin 20 is connected with a ground wire.
The technical solution of the present invention is further improved in that the AD9833 signal generator circuit includes an AD9833 signal generator U5, pin 1 of the AD9833 signal generator U5 is connected to the VCC power supply, pin 2 is connected to the TDA2030 power amplifier circuit, pin 3 of the AD9833 signal generator U5 is connected to the ground, pin 5 of the AD9833 signal generator U5 is connected to pin 8 of the STC12C5a60S2 single chip microcomputer U3, pin 6 of the AD9833 signal generator U5 is connected to pin 7 of the STC12C5a60S2 single chip microcomputer U3, pin 7 of the AD9833 signal generator U5 is connected to pin 6 of the STC12C5a60S2 single chip microcomputer U3, and pin 8 of the AD9833 signal generator U5 is connected to pin 5 of the STC12C5a60S 2U 3 single chip microcomputer.
As the utility model discloses further modified technical scheme TDA2030 power amplifier circuit includes TDA2030 amplifier J2, and TDA2030 amplifier J2's pin 1 is connected with AD9833 signal generator U5's pin 2, and TDA2030 amplifier J2's pin 2 and pin 4 all connect the ground wire, and TDA2030 amplifier J2's pin 3 is used for being connected with by the test element, is connected with voltage acquisition circuit and current acquisition circuit respectively by the test element.
As a further improved technical scheme of the utility model the current acquisition circuit includes resistance RC1, resistance RC2, resistance R10, resistance R11 and resistance R15, resistance RC1 one end is used for being connected with the measured component, and the other end is connected with resistance RC2, resistance R10, resistance R11 and current zero-crossing comparison circuit respectively, the ground wire is all connected to the resistance RC2 other end, the resistance R11 other end and resistance R15's one end, and the resistance R10 other end and the resistance R15 other end all measure circuit connection with CS 5464.
The current zero-crossing comparison circuit as a further improved technical solution of the present invention comprises a resistor R16, a resistor R17, a resistor R18, a resistor R19, a sliding rheostat RP1, a diode D3, an LM324 chip U6 and an LM324 chip U7, one end of the resistor R16 is connected with one end of a resistor RC1 of the current collection circuit, the other end of the resistor R16 is connected with a pin 5 of the LM324 chip U6, a pin 6 of the LM324 chip U6 is connected with one end of a resistor R19 and a sliding rheostat RP1 respectively, the other end of the resistor R19 is connected with a ground wire, the other end and the sliding end of the sliding rheostat RP1 are connected with a pin 7 of the LM324 chip U6, a pin 7 of the LM324 chip U6 is connected with the resistor R6, the other end of the resistor R6 is connected with a pin 10 of the LM324 chip U6, a pin 9 of the LM324 chip U6 is connected with a ground wire, a pin 8 of the chip U6 is connected with a cathode of the diode D6 and, the other end of the resistor R18 is connected with a pin 13 of the U3 of the STC12C5A60S2 singlechip.
The utility model discloses a further improved technical scheme voltage acquisition circuit includes resistance R7, resistance R13, resistance R9, resistance R14, electric capacity C7, electric capacity C8 and electric capacity C9, resistance R7's one end respectively with TDA2030 amplifier J2's pin 3, by test element and voltage zero crossing comparison circuit connection, resistance R7 other end respectively with resistance R9 one end, resistance R13 one end, electric capacity C7 one end, electric capacity C8 one end and CS5464 measuring circuit connection, resistance R9 other end respectively with resistance R14 one end, ground wire, electric capacity C7 other end and electric capacity C9 one end connection, the resistance R13 other end, the resistance R14 other end, the electric capacity C9 other end and the electric capacity C8 other end all are connected with the ground wire.
As the utility model discloses further modified technical scheme voltage zero cross comparison circuit includes resistance R1, resistance R2, resistance R3, diode D1 and LM324 chip U2, resistance R1 one end is connected with voltage acquisition circuit, the resistance R1 other end is connected with resistance R3 one end and LM324 chip U2 'S pin 3 respectively, the ground wire is all connected to the resistance R3 other end and LM324 chip U2' S pin 2, LM324 chip U2 'S pin 1 is connected with diode D1' S negative pole and resistance R2 one end respectively, diode D1 'S positive pole is connected the ground wire, the resistance R2 other end is connected with STC12C5A60S2 singlechip U3' S pin 12.
As a further improved technical scheme of the utility model, the CS5464 measuring circuit comprises a CS5464 chip U4, pin 1 of the CS5464 chip U4 is respectively connected with one end of a crystal oscillator Y1 and one end of a capacitor C2, pin 28 of the CS5464 chip U4 is respectively connected with the other end of the crystal oscillator Y1 and one end of the capacitor C4, the other ends of the capacitor C2 and the capacitor C4 are both connected with a ground wire, pin 3 of the CS5464 chip U4 is respectively connected with a power supply VCC and one end of the capacitor C5, the other end of the capacitor C5 is connected with a ground wire, pin 4, pin 7, pin 8, pin 10, pin 13, pin 14 and pin 17 of the CS5464 chip U4 are all connected with a ground wire, pin 9 of the CS5464 chip U4 is connected with a resistor R7 of a voltage acquisition circuit, pin 11 and pin 12 of the CS5464 chip U4 are both connected with a capacitor C10, the other end of the capacitor C10 is connected with a ground wire, pin 18 of the CS 5464U 4 is respectively connected with a power supply VCC and one end of the capacitor C5424, and one end of the resistor R599, pin 20 of a CS5464 chip U4 is connected with one end of a resistor R10 of the current acquisition circuit, pin 21 of the CS5464 chip U4 is connected with one ends of a resistor R6 and a resistor R8 respectively, the other end of the resistor R6 is connected with a power VCC, the other end of the resistor R8 is connected with a ground wire, pin 23 of a CS5464 chip U4 is connected with pin 25 of an STC12C5a60S2 singlechip U3, pin 27 of a CS5464 chip U4 is connected with pin 26 of an STC12C5a60S2 singlechip U3, pin 6 of a CS5464 chip U4 is connected with pin 27 of an STC12C5a60S 2U 3, and pin 5 of a CS5464 chip U4 is connected with pin 28 of an STC12C5a60S2 singlechip U3.
As the utility model discloses further modified technical scheme the liquid crystal display circuit includes LCD12864 display screen U1 and exclusion B1, STC12C5A60S2 singlechip U3 'S pin 32 all is connected with exclusion B1 and LCD12864 display screen U1 to pin 39, and exclusion B1 connects the power VCC, STC12C5A60S2 singlechip U3' S pin 21 all is connected with LCD12864 display screen U1 to pin 24, and LCD12864 display screen U1 'S pin 1 and pin 20 all connect the ground wire, and LCD12864 display screen U1' S pin 2 and pin 19 all connect the power VCC.
The utility model has the advantages that: the utility model discloses mainly calculate the type (such as resistance, electric capacity or inductance), size and topological structure of load through measuring load voltage, electric current, power factor and voltage electric current's phase relation. The minimum system circuit of the single chip microcomputer adopts an STC12C5A60S2 single chip microcomputer as a main controller to finish the acquisition and processing of signals. The voltage acquisition circuit acquires the voltage across the load (i.e., the device under test). The current acquisition circuit acquires currents at two ends of the load. The CS5464 measuring circuit is mainly used for collecting related power parameters such as voltage, current, power factor and the like. The AD9833 signal generator circuit can accurately generate alternating current sinusoidal voltage signals with amplitude of +5V and adjustable frequency. The TDA2030 power amplification circuit performs power amplification on the generated +5V signal through the TDA2030 module. The LCD liquid crystal display circuit mainly completes the display of necessary information. The voltage zero-crossing comparison circuit and the current zero-crossing comparison circuit utilize an operational amplifier to form a phase comparison circuit so as to judge the phase relation of voltage and current and calculate the power factor angle. The utility model has good anti-interference performance, stable work, rapid detection, accurate measurement and accurate judgment of topological structure; the reading is convenient, and the method can be applied to the detection of various components such as resistors, capacitors and inductors.
Drawings
Fig. 1 is a schematic block diagram of the circuit of the present invention.
Fig. 2 is a schematic diagram of the circuit principle of the present invention.
Detailed Description
The following further description of embodiments of the present invention is made with reference to fig. 1 to 2:
as shown in figure 1, the RLC detector based on the single chip microcomputer comprises a minimum system circuit of the single chip microcomputer, an AD9833 signal generator circuit, a TDA2030 power amplification circuit, a voltage acquisition circuit, a current acquisition circuit, a CS5464 measurement circuit, a voltage zero-crossing comparison circuit, a current zero-crossing comparison circuit and a liquid crystal display circuit, the AD9833 signal generator circuit is connected with the TDA2030 power amplification circuit, the TDA2030 power amplification circuit is simultaneously connected with the voltage acquisition circuit and the current acquisition circuit, the voltage acquisition circuit and the current acquisition circuit are both connected with the CS5464 measurement circuit, the voltage acquisition circuit is connected with the voltage zero-crossing comparison circuit, the current acquisition circuit is connected with the current zero-crossing comparison circuit, the AD9833 signal generator circuit, the CS5464 measurement circuit, the voltage zero-crossing comparison circuit and the current zero-crossing comparison circuit are all connected with the single chip microcomputer minimum system circuit, and the single chip microcomputer minimum system circuit is connected with the liquid crystal display circuit.
The AD9833 signal generator circuit of this embodiment is used as a signal source, and is amplified by the TDA2030 power amplifying circuit to drive a load, and a CS5464 measuring circuit, a liquid crystal display circuit, a voltage zero-crossing comparison circuit, a current zero-crossing comparison circuit, and the like are designed, and through these circuits, voltage and current of the load circuit can be measured and compared in phase to determine the type and size of the load and the topological structure of the load, and are displayed by the LED liquid crystal.
As shown in fig. 2, the minimum system circuit of the single chip microcomputer includes an STC12C5a60S2 single chip microcomputer U3, a reset circuit and a clock circuit, the reset circuit includes a capacitor C1 and a resistor R4, the clock circuit includes a capacitor C3, a capacitor C6 and a crystal oscillator Y2, a pin 9 of the STC12C5a60S2 single chip microcomputer U3 is simultaneously connected with the resistor R4 and the capacitor C1, the other end of the resistor R4 is connected with a ground, the other end of the capacitor C1 is connected with a power source VCC, a pin 18 of the STC12C5a60S2 single chip microcomputer U3 is simultaneously connected with one end of the crystal oscillator Y2 and the capacitor C3, a pin 19 of the STC12C5a60S2 single chip microcomputer U3 is simultaneously connected with the other end of the crystal oscillator Y2 and the capacitor C6, and the other ends of the capacitor C3 and the capacitor; and a pin 40 of the STC12C5A60S2 singlechip U3 is connected with a power supply VCC, and a pin 20 is connected with a ground wire. Wherein J1 is a burning port. The power VCC in the power indicating circuit is connected with the resistor R5, the resistor R5 is connected with the ground wire through the light emitting diode D2, and the light emitting diode D2 is a power indicator lamp.
In the minimum system circuit of the single chip microcomputer, STC12C5A60S2 is used as a CPU of the whole system to complete calculation, processing and transmission of data. The power-on reset function is realized through a 10uF capacitor C1 and a 10K resistor R4. A clock circuit is provided for the single chip microcomputer through crystal oscillators Y2 of capacitors C3, C6 and 12M.
As shown in fig. 2, the AD9833 signal generator circuit includes an AD9833 signal generator U5, pin 1 of the AD9833 signal generator U5 is connected to a power VCC, pin 2 is connected to a TDA2030 power amplification circuit, pin 3 of the AD9833 signal generator U5 is connected to a ground, pin 5 of the AD9833 signal generator U5 is connected to pin 8 of an STC12C5a60S2 singlechip U3, pin 6 of the AD9833 signal generator U5 is connected to pin 357 of an STC12C5a60S2 singlechip U3, pin 7 of the AD9833 signal generator U5 is connected to pin 6 of an STC12C5a60S2 singlechip U3, and pin 8 of the AD9833 signal generator U5 is connected to pin 5 of an STC12C5a60S2 singlechip U3.
In the AD9833 signal generation module circuit, the module is connected with the ports P1.4, P1.5, P1.6 and P1.7 of the singlechip, the signal generation module is controlled by the singlechip to generate a standard sine wave with the amplitude of 5V and the frequency of 1KHZ, and then the standard sine wave is sent to the TDA2030 for power amplification.
As shown in FIG. 2, the TDA2030 power amplifying circuit comprises a TDA2030 amplifier J2, wherein pin 1 of the TDA2030 amplifier J2 is connected with pin 2 of an AD9833 signal generator U5, pin 2 and pin 4 of the TDA2030 amplifier J2 are both connected with a ground line, pin 3 of the TDA2030 amplifier J2 is used for being connected with a tested element, and the tested element is respectively connected with a voltage collecting circuit and a current collecting circuit.
In the TDA2030 power amplification circuit, a signal input port is connected with an output signal of the AD9833, and the output signal is power-amplified to output a standard sine wave with an amplitude of +5V and a frequency of 1KHZ, which is responsible for supplying power to a load circuit (i.e., a tested impedance in the figure) and detecting a voltage acquisition circuit. The tested element in the load circuit of this embodiment may be one of three components, namely, a resistor, a capacitor and an inductor, or a combination of two of the three components, namely, the resistor, the capacitor and the inductor, or a combination of three components, namely, a resistor R12, a capacitor Xc1 and an inductor XL1 in fig. 2.
As shown in fig. 2, the current collection circuit includes a resistor RC1, a resistor RC2, a resistor R10, a resistor R11, and a resistor R15, one end of the resistor RC1 is used for being connected to a tested element, the other end of the resistor RC1 is respectively connected to a resistor RC2, a resistor R10, a resistor R11, and a current zero-crossing comparison circuit, the other end of the resistor RC2, the other end of the resistor R11, and one end of the resistor R15 are all connected to a ground, and the other end of the resistor R10 and the other end of the resistor R15 are all connected to a CS5464 measurement.
In the current acquisition circuit, a current signal is converted into a voltage signal through a resistor RC1, a resistor RC2, a resistor R10, a resistor R11 and a resistor R15, and then the voltage signal is sent to the CS5464 for processing.
As shown in fig. 2, the voltage acquisition circuit includes a resistor R7, a resistor R13, a resistor R9, a resistor R14, a capacitor C7, a capacitor C8, and a capacitor C9, one end of the resistor R7 is connected to the pin 3 of the TDA2030 amplifier J2, the device under test, and the zero-crossing voltage comparison circuit, the other end of the resistor R7 is connected to one end of the resistor R9, one end of the resistor R13, one end of the capacitor C7, one end of the capacitor C8, and the CS5464 measurement circuit, the other end of the resistor R9 is connected to one end of the resistor R14, the ground line, the other end of the capacitor C7, and one end of the capacitor C9, and the other end of the resistor R13, the other end of the resistor R14, the other end of the.
In the voltage acquisition circuit, the voltage is firstly divided by resistors R7 and R13, acquired voltage signals are conditioned by resistors R9 and R14 and capacitors C7, C8 and C9, and then the conditioned voltage signals are sent to CS5464 for processing.
As shown in fig. 2, the current zero-crossing comparison circuit includes a resistor R16, a resistor R17, a resistor R18, a resistor R19, a sliding resistor RP1, a diode D3, an LM324 chip U6 and an LM324 chip U7, one end of the resistor R16 is connected with one end of a resistor RC1 of the current acquisition circuit, the other end of the resistor R16 is connected with a pin 5 of an LM324 chip U6, a pin 6 of the LM324 chip U6 is connected with one end of a resistor R19 and one end of a slide rheostat RP1 respectively, the other end of the resistor R19 is connected with the ground wire, the other end and the sliding end of the slide rheostat RP1 are connected with a pin 7 of the LM324 chip U6, a pin 7 of the LM324 chip U6 is connected with a resistor R17, the other end of the resistor R17 is connected with a pin 10 of the LM324 chip U7, a pin 9 of the LM324 chip U7 is connected with the ground wire, a pin 8 of the LM324 chip U7 is connected with the cathode of a diode D3 and one end of a resistor R18 respectively, the anode of the diode D3 is connected with the ground wire, and the other end of.
As shown in fig. 2, the voltage zero-crossing comparison circuit includes a resistor R1, a resistor R2, a resistor R3, a diode D1, and an LM324 chip U2, one end of the resistor R1 is connected to the voltage acquisition circuit, the other end of the resistor R1 is connected to one end of the resistor R3 and a pin 3 of the LM324 chip U2, the other end of the resistor R3 and a pin 2 of the LM324 chip U2 are both connected to a ground, a pin 1 of the LM324 chip U2 is connected to a negative electrode of the diode D1 and one end of the resistor R2, a positive electrode of the diode D1 is connected to the ground, and the other end of the resistor R2 is connected to a pin 12 of the STC12C5a60S 2U 3.
In the current zero-crossing comparison circuit, a current signal is amplified by 25 times through an LM324 operational amplifier U6, a slide rheostat RP1 and a resistor R19, the current signal zero-crossing comparison is realized through the LM324 operational amplifier U7, the resistor R18 and a diode D3, and the output end of the current zero-crossing comparison circuit is connected to an interrupt port P3.3 of the single chip microcomputer. In the voltage zero-crossing comparison circuit, a voltage signal is firstly divided by resistors R1 and R3, then zero-crossing comparison is carried out by an LM324 operational amplifier U2 and a diode D1, and the output end of the voltage signal is connected to an interrupt port P3.2 of the single chip microcomputer. By judging the zero-crossing time interval of the voltage and current signals, the phase relation and the power factor angle of the voltage and the current can be calculated.
As shown in fig. 2, the CS5464 measurement circuit includes a CS5464 chip U4, pin 1 of the CS5464 chip U4 is connected to one end of a crystal oscillator Y1 and one end of a capacitor C2, pin 28 of the CS5464 chip U4 is connected to the other end of a crystal oscillator Y1 and one end of a capacitor C4, the other ends of the capacitor C2 and the capacitor C4 are connected to a ground, pin 3 of the CS5464 chip U4 is connected to a power supply VCC and one end of a capacitor C5, the other end of the capacitor C5 is connected to a ground, pin 4, pin 7, pin 8, pin 10, pin 13, pin 14, and pin 17 of the CS5464 chip U4 are connected to a ground, pin 9 of the CS5464 chip U4 is connected to a resistor R7 of a voltage acquisition circuit, pin 11 and pin 12 of the CS5464 chip U4 are connected to a capacitor C10, the other end of the capacitor C10 is connected to a ground, pin 18 of the CS5464 chip U4 is connected to a power supply VCC and one end of a capacitor C11, the other end of the capacitor C599 of the chip U599 is connected, pin 20 of a CS5464 chip U4 is connected with one end of a resistor R10 of the current acquisition circuit, pin 21 of the CS5464 chip U4 is connected with one ends of a resistor R6 and a resistor R8 respectively, the other end of the resistor R6 is connected with a power VCC, the other end of the resistor R8 is connected with a ground wire, pin 23 of a CS5464 chip U4 is connected with pin 25 of an STC12C5a60S2 singlechip U3, pin 27 of a CS5464 chip U4 is connected with pin 26 of an STC12C5a60S2 singlechip U3, pin 6 of a CS5464 chip U4 is connected with pin 27 of an STC12C5a60S 2U 3, and pin 5 of a CS5464 chip U4 is connected with pin 28 of an STC12C5a60S2 singlechip U3.
In the CS5464 measuring circuit, signal processing is mainly carried out through a power chip CS5464, in a peripheral circuit of the CS5464, clock reference is provided for the chip through capacitors C2, C4 and a crystal oscillator Y1, and the capacitors C5, C10 and C11 play a role in filtering and are connected with ports P2.4, P2.5, P2.6 and P2.7 of the single chip microcomputer for data transmission.
As shown in fig. 2, the liquid crystal display circuit includes an LCD12864 display screen U1 and an exclusion B1, pins 32 to 39 of an STC12C5a60S2 single chip microcomputer U3 are connected to an exclusion B1 and an LCD12864 display screen U1, the exclusion B1 is connected to a power VCC, pins 21 to 24 of the STC12C5a60S2 single chip microcomputer U3 are connected to an LCD12864 display screen U1, pin 1 and pin 20 of the LCD12864 display screen U1 are connected to a ground, and pin 2 and pin 19 of the LCD12864 display screen U1 are connected to the power VCC.
In the liquid crystal display circuit, information is mainly displayed through an LCD12864, and a 5.1K exclusion B1 is added to a data port, so that the reliability of data transmission is improved.
As shown in fig. 2, the 4-pin socket J3 is used to connect to a power source and provide power to the rest of the circuitry through switch S1.
The present embodiment calculates the type (such as resistance, capacitance or inductance), size and topology of the load by measuring the load voltage, current, power factor and the phase relationship of the voltage and the current. The minimum system circuit of the single chip microcomputer adopts an STC12C5A60S2 single chip microcomputer as a main controller to finish the acquisition and processing of signals. The voltage acquisition circuit acquires voltages at two ends of the load. The current acquisition circuit acquires currents at two ends of the load. The CS5464 measuring circuit is mainly used for collecting related power parameters such as voltage, current, power factor and the like. The AD9833 signal generator circuit can accurately generate alternating current sinusoidal voltage signals with amplitude of +5V and adjustable frequency. The TDA2030 power amplification circuit performs power amplification on the generated +5V signal through the TDA2030 module. The LCD liquid crystal display circuit mainly completes the display of necessary information. The voltage zero-crossing comparison circuit and the current zero-crossing comparison circuit utilize an operational amplifier to form a phase comparison circuit so as to judge the phase relation of voltage and current and calculate the power factor angle.
Through testing, the detector has the advantages of good anti-interference performance, stable work, rapid detection, accurate measurement and accurate judgment of the topological structure.
Experiments prove that: the system can transmit the experimental result to an LED12864 screen for display in real time, and firstly judges which running state the circuit is in by acquiring voltage, current and power factor: open circuit, short circuit, load, the system can judge the type and size of the tested component rapidly when load. After the three components are measured, the three components can be combined randomly, and the system can rapidly judge the topological structure of the load. The circuit has the advantages of reliable work, accurate measured data, accurate judgment of the topological structure, rapid data measurement and convenient reading, and can be applied to the detection of various components of the resistance capacitance inductor.
The protection scope of the present invention includes but is not limited to the above embodiments, the protection scope of the present invention is subject to the claims, and any replacement, deformation, and improvement that can be easily conceived by those skilled in the art made by the present technology all fall into the protection scope of the present invention.

Claims (10)

1. The utility model provides a RLC detector based on singlechip which characterized in that: the AD9833 signal generator circuit is connected with the TDA2030 power amplifying circuit, the TDA2030 power amplifying circuit is simultaneously connected with the voltage collecting circuit and the current collecting circuit, the voltage collecting circuit and the current collecting circuit are both connected with the CS5464 measuring circuit, the voltage collecting circuit is connected with the voltage zero-crossing comparing circuit, the current collecting circuit is connected with the current zero-crossing comparing circuit, the AD9833 signal generator circuit, the CS5464 measuring circuit, the voltage zero-crossing comparing circuit and the current zero-crossing comparing circuit are all connected with the singlechip minimum system circuit, and the singlechip minimum system circuit is connected with the liquid crystal display circuit.
2. The RLC detector based on the single chip microcomputer of claim 1, wherein: the minimum system circuit of the single-chip microcomputer comprises an STC12C5A60S2 single-chip microcomputer U3, a reset circuit and a clock circuit, wherein the reset circuit comprises a capacitor C1 and a resistor R4, the clock circuit comprises a capacitor C3, a capacitor C6 and a crystal oscillator Y2, a pin 9 of the STC12C5A60S2 single-chip microcomputer U3 is simultaneously connected with a resistor R4 and a capacitor C1, the other end of the resistor R4 is connected with a ground wire, the other end of the capacitor C1 is connected with a power supply VCC, a pin 18 of the STC12C5A60S2 single-chip microcomputer U3 is simultaneously connected with one end of a crystal oscillator Y2 and a capacitor C3, a pin 19 of the STC12C5A60S2 single-chip microcomputer U3 is simultaneously connected with the other end of the crystal oscillator Y2 and the capacitor C6, and the other ends; and a pin 40 of the STC12C5A60S2 singlechip U3 is connected with a power supply VCC, and a pin 20 is connected with a ground wire.
3. The RLC detector based on the single chip microcomputer of claim 2, wherein: the AD9833 signal generator circuit comprises an AD9833 signal generator U5, wherein a pin 1 of an AD9833 signal generator U5 is connected with a power supply VCC, a pin 2 is connected with a TDA2030 power amplification circuit, a pin 3 of an AD9833 signal generator U5 is connected with a ground wire, a pin 5 of an AD9833 signal generator U5 is connected with a pin 8 of an STC12C5A60S2 singlechip U3, a pin 6 of an AD9833 signal generator U5 is connected with a pin 7 of the STC12C5A60S2 singlechip U3, a pin 7 of an AD9833 signal generator U5 is connected with a pin 6 of an STC12C5A60S2 singlechip U3, and a pin 8 of the AD9833 signal generator U5 is connected with a pin 5 of the STC12C5A60S 2U 3.
4. The RLC detector based on the single chip microcomputer of claim 3, wherein: the TDA2030 power amplifying circuit comprises a TDA2030 amplifier J2, wherein a pin 1 of a TDA2030 amplifier J2 is connected with a pin 2 of an AD9833 signal generator U5, a pin 2 and a pin 4 of a TDA2030 amplifier J2 are both connected with a ground wire, a pin 3 of the TDA2030 amplifier J2 is used for being connected with a tested element, and the tested element is respectively connected with a voltage collecting circuit and a current collecting circuit.
5. The RLC detector based on the single chip microcomputer of claim 4, wherein: the current acquisition circuit comprises a resistor RC1, a resistor RC2, a resistor R10, a resistor R11 and a resistor R15, one end of the resistor RC1 is used for being connected with a tested element, the other end of the resistor RC1 is respectively connected with a resistor RC2, a resistor R10, a resistor R11 and a current zero-crossing comparison circuit, the other end of the resistor RC2, the other end of the resistor R11 and one end of the resistor R15 are all connected with the ground wire, and the other end of the resistor R10 and the other end of the resistor R15 are all connected with a CS5464 measurement circuit.
6. The RLC detector based on the single chip microcomputer of claim 5, wherein: the current zero-crossing comparison circuit comprises a resistor R16, a resistor R17, a resistor R18, a resistor R19, a slide rheostat RP1, a diode D3, an LM324 chip U6 and an LM324 chip U7, one end of the resistor R16 is connected with one end of a resistor RC1 of the current acquisition circuit, the other end of the resistor R16 is connected with a pin 5 of an LM324 chip U6, a pin 6 of the LM324 chip U6 is connected with one end of a resistor R19 and one end of a slide rheostat RP1 respectively, the other end of the resistor R19 is connected with the ground wire, the other end and the sliding end of the slide rheostat RP1 are connected with a pin 7 of the LM324 chip U6, a pin 7 of the LM324 chip U6 is connected with a resistor R17, the other end of the resistor R17 is connected with a pin 10 of the LM324 chip U7, a pin 9 of the LM324 chip U7 is connected with the ground wire, a pin 8 of the LM324 chip U7 is connected with the cathode of a diode D3 and one end of a resistor R18 respectively, the anode of the diode D3 is connected with the ground wire, and the other end of.
7. The RLC detector based on the single chip microcomputer of claim 4, wherein: the voltage acquisition circuit comprises a resistor R7, a resistor R13, a resistor R9, a resistor R14, a capacitor C7, a capacitor C8 and a capacitor C9, one end of the resistor R7 is connected with a pin 3 of a TDA2030 amplifier J2, a tested element and a voltage zero-crossing comparison circuit respectively, the other end of the resistor R7 is connected with one end of a resistor R9, one end of a resistor R13, one end of a capacitor C7, one end of a capacitor C8 and a CS5464 measurement circuit respectively, the other end of the resistor R9 is connected with one end of a resistor R14, the ground wire, the other end of a capacitor C7 and one end of a capacitor C9 respectively, and the other end of the resistor R13, the other end of a resistor R14, the other end of the capacitor C9.
8. The RLC detector based on the single chip microcomputer of claim 7, wherein: the voltage zero-crossing comparison circuit comprises a resistor R1, a resistor R2, a resistor R3, a diode D1 and an LM324 chip U2, one end of the resistor R1 is connected with a voltage acquisition circuit, the other end of the resistor R1 is respectively connected with one end of a resistor R3 and a pin 3 of the LM324 chip U2, the other end of the resistor R3 and a pin 2 of the LM324 chip U2 are both connected with a ground wire, a pin 1 of the LM324 chip U2 is respectively connected with the cathode of the diode D1 and one end of a resistor R2, the anode of the diode D1 is connected with the ground wire, and the other end of the resistor R2 is connected with a pin 12 of the STC12C5A60S2 singlechip U596.
9. The single chip microcomputer-based RLC detector of claim 8, wherein: the CS5464 measuring circuit comprises a CS5464 chip U4, wherein a pin 1 of a CS5464 chip U4 is respectively connected with one end of a crystal oscillator Y1 and one end of a capacitor C2, a pin 28 of a CS5464 chip U4 is respectively connected with the other end of a crystal oscillator Y1 and one end of a capacitor C4, the other ends of a capacitor C2 and a capacitor C4 are both connected with a ground wire, a pin 3 of a CS5464 chip U4 is respectively connected with a power supply VCC and one end of a capacitor C5, the other end of a capacitor C5 is connected with a ground wire, a pin 4, a pin 7, a pin 8, a pin 10, a pin 13, a pin 14 and a pin 17 of a CS5464 chip U4 are all connected with a ground wire, a pin 9 of the CS5464 chip U4 is connected with a resistor R7 of a voltage acquisition circuit, a pin 11 and a pin 12 of the CS5464 chip U4 are all connected with a capacitor C10, the other end of a capacitor C10 is connected with a ground wire, a pin 18 of a CS 5464U 4 is respectively connected with one end of a power supply and one end, pin 20 of a CS5464 chip U4 is connected with one end of a resistor R10 of the current acquisition circuit, pin 21 of the CS5464 chip U4 is connected with one ends of a resistor R6 and a resistor R8 respectively, the other end of the resistor R6 is connected with a power VCC, the other end of the resistor R8 is connected with a ground wire, pin 23 of a CS5464 chip U4 is connected with pin 25 of an STC12C5a60S2 singlechip U3, pin 27 of a CS5464 chip U4 is connected with pin 26 of an STC12C5a60S2 singlechip U3, pin 6 of a CS5464 chip U4 is connected with pin 27 of an STC12C5a60S 2U 3, and pin 5 of a CS5464 chip U4 is connected with pin 28 of an STC12C5a60S2 singlechip U3.
10. The RLC detector based on the single chip microcomputer of claim 2, wherein: the liquid crystal display circuit comprises an LCD12864 display screen U1 and an exclusion B1, pins 32 to 39 of an STC12C5A60S2 singlechip U3 are connected with exclusion B1 and an LCD12864 display screen U1, exclusion B1 is connected with a power supply VCC, pins 21 to 24 of the STC12C5A60S2 singlechip U3 are connected with an LCD12864 display screen U1, pin 1 and pin 20 of the LCD12864 display screen U1 are connected with a ground wire, and pin 2 and pin 19 of the LCD12864 display screen U1 are connected with the power supply VCC.
CN201921845274.5U 2019-10-30 2019-10-30 A kind of RLC detector based on single chip microcomputer Expired - Fee Related CN210323882U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201921845274.5U CN210323882U (en) 2019-10-30 2019-10-30 A kind of RLC detector based on single chip microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201921845274.5U CN210323882U (en) 2019-10-30 2019-10-30 A kind of RLC detector based on single chip microcomputer

Publications (1)

Publication Number Publication Date
CN210323882U true CN210323882U (en) 2020-04-14

Family

ID=70134622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201921845274.5U Expired - Fee Related CN210323882U (en) 2019-10-30 2019-10-30 A kind of RLC detector based on single chip microcomputer

Country Status (1)

Country Link
CN (1) CN210323882U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111487448A (en) * 2020-04-15 2020-08-04 深圳市明信测试设备有限公司 Circuit module for testing L CR by using alternating current signal and testing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111487448A (en) * 2020-04-15 2020-08-04 深圳市明信测试设备有限公司 Circuit module for testing L CR by using alternating current signal and testing method

Similar Documents

Publication Publication Date Title
CN104849649B (en) A method for detecting the state of the secondary circuit of a current transformer for metering
CN102262184B (en) Online storage battery internal resistance detector and internal resistance detection method
CN106875619B (en) Combined type electric fire monitoring detector
CN207249037U (en) It is a kind of to be used to detect the detection device whether device connection status comes off
CN110554242A (en) Grid-connected inverter impedance measurement device
CN202339390U (en) Bad contact detection device for instrument test line
CN210323882U (en) A kind of RLC detector based on single chip microcomputer
CN204374273U (en) A kind of handheld digital secondary pressure plate measuring instrument
CN207946465U (en) An electronic signal detection device
CN107167758B (en) Transformer ratio and polarity tester with waveform display function
CN203643589U (en) Three-dimensional magnetic field detection system of power transmission line
CN202547684U (en) Freescale microprocessor-based general automobile meter detection device
CN103399189B (en) A kind of Multifunction AC circuit parameter testing and characteristic demonstration device
CN206710527U (en) A kind of PCB layout short circuit tester
CN104950280B (en) A kind of current transformer loop unusual service condition detecting system
CN108693393A (en) A kind of Multifunctional digital universal meter
CN103499749B (en) A kind of electrostatic testing apparatus
CN215678686U (en) Battery internal resistance measuring device
CN209690403U (en) Based on data acquisition can automatic identification alternating current-direct current signal electric power measurement device
CN105116217A (en) Single-chip microcomputer-based weak signal frequency and phase automatic detection system and detection method thereof
CN203811781U (en) A storage battery online detection system
CN208520919U (en) Crystal oscillator detection circuit
CN207249019U (en) Simple crystal oscillator tester
CN101776721B (en) Capacitance tolerance fault detection instrument
CN210181038U (en) Simple engine oil quality detection device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Assignee: Nanjing Meili Decoration Engineering Co.,Ltd.

Assignor: NANJING FORESTRY University

Contract record no.: X2020320000326

Denomination of utility model: A RLC detector based on MCU

Granted publication date: 20200414

License type: Common License

Record date: 20201210

Assignee: Nanjing pengge automation equipment Co.,Ltd.

Assignor: NANJING FORESTRY University

Contract record no.: X2020320000325

Denomination of utility model: A RLC detector based on MCU

Granted publication date: 20200414

License type: Common License

Record date: 20201210

EE01 Entry into force of recordation of patent licensing contract
TR01 Transfer of patent right

Effective date of registration: 20211117

Address after: No. 159, dragon pan Road, Xuanwu District, Nanjing, Jiangsu

Patentee after: Nanjing Intrinsic Instruments Co.,Ltd.

Address before: Nanjing City, Jiangsu province 210037 Longpan Road No. 159

Patentee before: NANJING FORESTRY University

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200414

CF01 Termination of patent right due to non-payment of annual fee