CN214011432U - High voltage generator XPSI board fault diagnosis device - Google Patents

High voltage generator XPSI board fault diagnosis device Download PDF

Info

Publication number
CN214011432U
CN214011432U CN202023258795.6U CN202023258795U CN214011432U CN 214011432 U CN214011432 U CN 214011432U CN 202023258795 U CN202023258795 U CN 202023258795U CN 214011432 U CN214011432 U CN 214011432U
Authority
CN
China
Prior art keywords
chip
pin
detection circuit
voltage
hcpl
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
CN202023258795.6U
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.)
Yantai University
Original Assignee
Yantai 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 Yantai University filed Critical Yantai University
Priority to CN202023258795.6U priority Critical patent/CN214011432U/en
Application granted granted Critical
Publication of CN214011432U publication Critical patent/CN214011432U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing Of Individual Semiconductor Devices (AREA)

Abstract

The XPSI board fault diagnosis device of the high-voltage generator comprises an STM32 main control chip, a power supply, an ACPL-312T detection circuit, an HCPL-7800 detection circuit, an LM393N detection circuit, an OP484 detection circuit and an ADC0838 detection circuit; two DAC modules of the STM32 main control chip are respectively used for providing input voltage for an ACPL-312T chip and an LM393N chip; the ADC module is used for collecting a voltage value of an ACPL-312T chip output end, a voltage value of an HCPL-7800 chip output end, voltage values of four output ends of an OP484 chip, voltage values of two output ends of an LM393N chip and an ADC0838 chip channel conversion output voltage value; and comparing the voltage value acquired by the STM32 main control chip with a rated output voltage value, and performing fault diagnosis on whether the ACPL-312T chip, the HCPL-7800 chip, the LM393N chip and the OP484 chip on the XPSI board of the high-voltage generator are damaged or not. The utility model discloses can fix a position XPSI board fault reason high-efficiently accurately, obtain reliable application in actual engineering detects.

Description

High voltage generator XPSI board fault diagnosis device
Technical Field
The utility model belongs to the technical field of electronic equipment, a power strip chip detection circuitry's institutional advancement specifically is a high voltage generator XPSI board fault diagnosis device.
Background
An X-ray Power Supply Input Board, XPSI for short, is a Power Input Board of an X-ray fluorescence spectrometer manufactured by Saimer Feishell scientific and technological company in the United states and is used for converting 220V alternating current Power Supply into 400V direct current Power Supply. An X-ray fluorescence spectrometer (hereinafter referred to as a spectrometer) is widely applied in the fields of life science, environmental science and the like, but faults of the spectrometer are frequent in use due to long production time.
The initial fault diagnosis shows that the fault of the X-ray fluorescence spectrometer is mainly caused by the XPSI board of the power supply board, so the fault treatment of the XPSI board is particularly important.
Spectrometers are expensive imported instruments, and therefore fault handling of spectrometers is in wide demand in actual maintenance. The traditional fault processing method of the spectrometer is to directly replace a new XPSI plate, the method has high maintenance cost and serious resource waste, and the fault reason of the XPSI plate cannot be found fundamentally.
SUMMERY OF THE UTILITY MODEL
The utility model aims at providing a high pressure generator XPSI board failure diagnosis device for solve the problem that exists among the prior art, fix a position out of order the reason through the main chip that detects on the XPSI board, improved XPSI board failure diagnosis's accuracy, increased XPSI board's availability.
In order to realize the utility model discloses an aim at, adopt following technical scheme:
the XPSI board fault diagnosis device of the high-voltage generator comprises an STM32 main control chip, a power supply, an ACPL-312T detection circuit, an HCPL-7800 detection circuit, an LM393 39 393N detection circuit, an OP484 detection circuit and an ADC0838 detection circuit, wherein the ACPL-312T detection circuit, the HCPL-7800 detection circuit, the LM393N detection circuit, the OP484 detection circuit and the ADC0838 detection circuit are respectively matched with an ACPL-312T chip, an HCPL-7800 chip, an LM393N chip, an OP484 chip and an ADC0838 chip to be detected;
the two DAC modules of the STM32 main control chip are respectively used for providing input voltage for an ANODE pin of an ACPL-312T chip and an IN + pin of an LM393N chip; the ADC module of the STM32 main control chip is used for collecting a voltage value of an ACPL-312T chip output end, a voltage value of an HCPL-7800 chip output end, voltage values of four output ends of an OP484 chip, voltage values of two output ends of an LM393N chip and an ADC0838 chip channel conversion output voltage value; the I/O port of the STM32 main control chip is used for communicating with the ADC0838 chip;
and comparing the voltage value acquired by the STM32 main control chip with a rated output voltage value, and performing fault diagnosis on whether the ACPL-312T chip, the HCPL-7800 chip, the LM393N chip and the OP484 chip on the XPSI board of the high-voltage generator are damaged or not.
In order to further realize the purpose of the utility model, the following technical scheme can also be adopted:
according to the fault diagnosis device for the XPSI board of the high-voltage generator, the STM32 main control chip and the upper computer are in RS-232 serial communication and used for transmitting and displaying the voltage value acquired by the ADC module to the upper computer.
The high voltage generator XPSI board fault diagnosis device comprises an HCPL-7800 detection circuit and a high voltage generator XPSI board fault diagnosis circuit, wherein the HCPL-7800 detection circuit comprises an OP484 chip, one path of + IN pin and one path of-IN pin of the OP484 chip are electrically connected with VOUT + pin and VOUT-pin of the HCPL-7800 chip through resistors R6 and R10 respectively, the corresponding OUT pin of the OP484 chip is used as a collection output end, VIN + pin of the HCPL-7800 chip is electrically connected with a middle pin of a variable resistor R9, two ends of the variable resistor R9 are grounded respectively, a 5V power supply is connected behind a series resistor R5, VIN-, GDN1 and GDN2 pins of the HCPL-7800 chip and a V-pin of the OP484 chip are grounded respectively, and VDD1 and VDD2 pins of the HCPL-7800 chip and a V + pin of the OP484 chip are connected with the 5V power supply.
According to the fault diagnosis device for the XPSI board of the high-voltage generator, the ACPL-312T detection circuit comprises resistors R1, R2, R3, R4, light-emitting diodes DS1, DS2 and an HCPL-7800 chip; two ends of the resistor R1 are respectively and electrically connected with a DAC module of one path of the STM32 main control chip and an ANODE pin of the ACPL-312T chip, a Vo pin of the ACPL-312T chip is connected with a resistor R2 in series and then is electrically connected with an ANODE of the light emitting diode DS1 and a CATHODE of the light emitting diode DS2, a CATHODE of the light emitting diode DS1 and an ANODE of the light emitting diode DS2 are electrically connected with one ends of resistors R3 and R4, the other ends of the resistors R3 and R4 and a CATHODE pin of the ACPL-312T chip are grounded, Vcc pins and Vee pins of the ACPL-312T chip are respectively connected with a positive 15V power supply and a negative 15V power supply, and a capacitor C1 is connected in series between the positive 15V power supply and the negative 15V power supply; the cathode of the light emitting diode DS1 and the anode of the DS2 are respectively electrically connected with VIN + and VIN-pins of the HCPL-7800 chip.
In the device for diagnosing faults of the XPSI board of the high-voltage generator, the LM393N detection circuit comprises resistors R11, R12, R13, R14, R15, R16, R17, R18 and light-emitting diodes DS3 and DS 4; the voltage of the IN1+ and IN2+ pins of the LM393N chip is provided by a DAC module of an STM32 main control chip, the IN 1-pin of the chip is connected with a parallel circuit formed by resistors R12 and R13, the IN 2-pin of the chip is connected with a parallel circuit formed by resistors R16 and R17, the other ends of the resistors R12 and R16 are connected with a 5V power supply, the other ends of the resistors R13 and R17 are grounded, the OUTPUT1 pin of the chip is electrically connected with one end of a resistor R14 and the anode of a light emitting diode DS4, the OUTPUT2 pin is electrically connected with one end of a resistor R15 and the anode of a light emitting diode DS3, the cathodes of the light emitting diodes DS3 and DS4 are respectively connected with resistors R11 and R18 IN series and then grounded, and the other ends of the resistors R14 and R15 and the pin of the LM393N chip are connected with the 5V power supply.
IN the XPSI board fault diagnosis device for the high voltage generator, a voltage follower is connected IN series between the IN1+ and IN2+ pins of the LM393N chip and one DAC module of the STM32 main control chip.
In the above XPSI board fault diagnosis device for the high voltage generator, the OP484 detection circuit includes four diagnostic circuits, and the four diagnostic circuits are respectively matched with four operational amplifier circuits of the OP484 chip; the diagnosis circuit comprises resistors R19, R20, R21 and R22, one path of + IN pin of an OP484 chip is electrically connected with a parallel circuit of the resistors R19 and R20, the-IN pin is electrically connected with a parallel circuit of the resistors R21 and R22, the other end of the resistor R19 is connected with a 5V power supply, the other ends of the resistors R20 and R21 are grounded, and the other end of the resistor R21 is electrically connected with a corresponding path of OUT pin of the OP484 chip.
The device for diagnosing faults of the XPSI board of the high-voltage generator comprises an ADC0838 detection circuit and a power supply converter, wherein pins A1, A2, A3 and A4 of a first power supply converter are respectively connected with 4 paths of I/O ports of an STM32 main control chip, pins B1, B2, B3 and B4 of the first power supply converter are respectively connected with CS, CLK, SE and DI pins of the ADC0838 chip, pins A1 and A2 of a second power supply converter are respectively connected with 2 paths of I/O ports of the STM32 main control chip, pins B1 and B2 of the second power supply converter are respectively connected with DO and SARS pins of the ADC0838 chip, channels CH0-CH8 of the ADC0838 chip are respectively electrically connected with a middle pin of a variable resistor R23, and pins at two ends of the variable resistor R9 are respectively grounded and power supply at 5V.
According to the fault diagnosis device for the XPSI board of the high-voltage generator, the VCCA pins of the two pieces of power converters are connected with a 3.3V power supply, the VCCB pins are connected with a 5V power supply, the DIR pin of the first piece of power converter is connected with a 3.3V power supply, and the DIR pin of the second power converter is grounded.
According to the XPSI board fault diagnosis device for the high-voltage generator, the voltage provided by the DAC module of the STM32 main control chip for the ACPL-312T detection circuit is 0 or 3.3V, and when the HCPL-7800 chip to be detected in the HCPL-7800 detection circuit works normally, the voltage of the OUT pin of the OP484 chip is 16 times of the difference value of the input voltages of the VIN + pin and the VIN-pin of the HCPL-7800 chip; when an OP484 chip to be detected in the OP484 detection circuit works normally, the voltage of the output end of the OP484 chip is 2 times of the voltage of the input end of the OP484 chip; when an ADC0838 chip to be detected in the ADC0838 detection circuit works normally, the CH0-CH8 channel input voltage of the ADC0838 chip is the same as the conversion output voltage value acquired by the DAC module of the STM32 main control chip.
Compared with the prior art, the utility model has the advantages of:
the utility model can locate the fault reason of the XPSI board by detecting five main chips on the XPSI board, thereby making targeted fault processing work, and meanwhile, the fault diagnosis work efficiency and reliability are high; the maintenance cost is reduced, the maintenance efficiency is improved, and the resource waste is saved.
The fault diagnosis device mainly comprises an LM393N detection circuit, an OP484 detection circuit, an HCPL-7800 detection circuit, an ACPL-312T detection circuit, an ADC0838 detection circuit, an STM32 main control chip, an upper computer, a power supply and the like. Meanwhile, the fault diagnosis device can detect five types of chips simultaneously and can also detect one type of chip independently, and each detection circuit works independently and does not interfere with each other. When in use, the five types of chips to be detected are detached from the XPSI board and are installed on the corresponding detection circuit, then the system circuit is electrified, the voltage values of all the detection circuits are sequentially collected under the control of the STM32 main control chip, the collected voltage values are transmitted to an upper computer through an RS-232 serial port, detection information is sequentially displayed in a serial port debugging assistant, the collected actual voltage values are compared with theoretical values, whether the detected chips are damaged or not can be judged, and the fault reason of the XPSI board is positioned.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
FIG. 1 is a schematic block diagram of the present invention;
FIG. 2 is a schematic diagram of the ACPL-312T detection circuit of FIG. 1;
FIG. 3 is a schematic diagram of the HCPL-7800 detection circuit of FIG. 1;
FIG. 4 is a schematic diagram of the LM393N detection circuit of FIG. 1;
FIG. 5 is a schematic diagram of the OP484 detection circuit of FIG. 1;
fig. 6 is a schematic diagram of the ADC0838 detection circuit in fig. 1.
Reference numerals: the detection circuit comprises a 1-ACPL-312T detection circuit, an 11-ACPL-312T chip, a 2-HCPL-7800 detection circuit, a 21-HCPL-7800 chip, a 3-LM393N detection circuit, a 31-LM393N chip, a 4-OP484 detection circuit, a 41-OP484 chip, a 5-ADC0838 detection circuit, a 51-ADC0838 chip, a 6-STM32 main control chip, a 7-upper computer, an 8-power supply, a 9-first power converter and a 10-second power converter.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention.
As shown in fig. 1 to 6, the device for diagnosing XPSI board fault of high voltage generator disclosed in this embodiment is mainly composed of ACPL-312T detection circuit 1, HCPL-7800 detection circuit 2, OP484 detection circuit 4, LM393N detection circuit 3, ADC0838 detection circuit 5, STM32 main control chip 6, and power supply 8.
The detection circuits are respectively provided with mounting positions matched with an ACPL-312T chip 11, an HCPL-7800 chip 21, an OP484 chip 41, an LM393N chip 31 and an ADC0838 chip 51 to be detected on an XPSI board.
The model of the STM32 main control chip 6 is STM32F103RE, the working voltage is 3.3V, and the power supply 8 is STM32 main control chip 6 and supplies power for each detection circuit through the power conversion circuit. The STM32 main control chip 6 has 1 12-bit ADC module, 2 12-bit DAC modules and 6 general I/O ports. The ADC module is used for collecting a voltage value of an output end of an ACPL-312T chip 11, a voltage value of an output end of an HCPL-7800 chip 21, voltage values of four output ends of an OP484 chip 41 and voltage values of two output ends of an LM393N chip 31; the DAC module is used for providing an input voltage of an anode end for the ACPL-312T chip 11 and providing an input voltage of an IN + pin for the LM393N chip 31; the general I/O port is used for outputting the control timing of the ADC0838 chip 51 and inputting the conversion voltage of the ADC0838 chip 51.
Meanwhile, in order to store and process voltage value data information of the output ends of the chips, the upper computer 7 is arranged in the embodiment, the upper computer 7 and the STM32 main control chip 6 are communicated through an RS-232 interface, and the upper computer 7 can be an intelligent terminal such as a desktop computer, a notebook computer and a cloud computer.
When fault diagnosis is carried out, five chips to be detected are detached from an XPSI board and then are sequentially installed to chip installation positions corresponding to the fault diagnosis device; after the circuit of the fault diagnosis device is powered on, the STM32 main control chip 6 collects the voltage values of all detection circuits in sequence according to built-in logic steps, the collected voltage values are transmitted to the upper computer 7 through the RS-232 serial port, detection information is displayed in sequence in a serial port debugging assistant, the collected actual voltage values are compared with rated output voltage values, the rated output voltage values also correspond to output voltages which can be obtained when the chips normally work according to input voltages, whether the chips to be detected are damaged is judged, and therefore fault reasons of an XPSI board are located.
The fault diagnosis device can detect five kinds of chips simultaneously, also can detect one kind of chip independently, and each detection circuit works independently and does not interfere with each other.
As shown in fig. 2 and 3, the ACPL-312T detection circuit 1 of the present embodiment includes resistors R1, R2, R3, R4, light emitting diodes DS1, DS2, and HCPL-7800 chips 21 and OP484 chip 41; two ends of a resistor R1 are respectively electrically connected with a DAC module of one path of the STM32 main control chip 6 and an ANODE pin of the ACPL-312T chip 11, a Vo pin of the ACPL-312T chip 11 is electrically connected with an ANODE of a light-emitting diode DS1 and a CATHODE of a light-emitting diode DS2 after being connected with a resistor R2 in series, a CATHODE of a light-emitting diode DS1 and an ANODE of a light-emitting diode DS2 are electrically connected with one ends of resistors R3 and R4, the other ends of the resistors R3 and R4 and a CATHODE pin of the ACPL-312T chip 11 are grounded, Vcc and Vee pins of the ACPL-312T chip 11 are respectively connected with a positive power supply and a negative power supply of 15V, and a capacitor C1 is connected between the positive power supply and the negative power supply of 15V in series; the cathode of the light-emitting diode DS1 and the anode of the DS2 are respectively and electrically connected with VIN + and VIN-pins of the HCPL-7800 chip 21; one path of + IN pin and-IN pin of the OP484 chip 41 are electrically connected with VOUT + pin and VOUT-pin of the HCPL-7800 chip 21 through resistors R6 and R10 respectively, a corresponding OUT pin of the OP484 chip 41 is used as an acquisition output terminal, VIN + pin of the HCPL-7800 chip 21 is electrically connected with a middle pin of a variable resistor R9, pins at two ends of the variable resistor R9 are grounded respectively, a 5V power supply is connected behind a series resistor R5, VIN-, GDN1, GDN pins of the HCPL-7800 chip 21 and V-pins of the OP484 chip 41 are grounded respectively, and VDD1 and VDD2 pins of the HCPL-7800 chip 21 and V + pin of the OP484 chip 41 are connected with the 5V power supply respectively.
As shown in FIG. 3, the ACPL-312T detection circuit 1 of the present embodiment is provided with a normally operating HCPL-7800 chip 21 and an OP484 chip 41, and an ACPL-312T chip 11 to be detected is mounted on the detection circuit.
The ACPL-312T chip 11 is a photocoupler, and an ANODE pin thereof is connected to one of the DAC module ports of the STM32 main control chip 6, and controls the DAC module of the STM32 main control chip 6 to output voltages of 0V and 3.3V.
When the input voltage is 3.3V, the output voltage of the pin of the ACPL-312T chip 11Vo is about +14.74V, and the light emitting diode DS1 is on; when the input voltage is 0V, the output voltage of the pin of ACPL-312T chip 11Vo is about-12.66V, and the light emitting diode DS2 is on.
The output voltage of the ACPL-312T chip 11 is divided by resistors R3, R4 and R2, the voltages at two ends of the resistors R3 and R4 are used as differential inputs of the HCPL-7800 chip 21, namely VIN +, VIN-pins of the HCPL-7800 chip 21 or points V1 and V2 marked in figure 3 are respectively connected to two ends of R3 and R4, the voltages at two ends of R3 and R4 are amplified by 16 times by an amplifying circuit of the OP484 chip 41, then the voltage at the output end of the OP484 chip 41 is collected by an ADC module of the main control chip 6 of the OP 32, and the collected voltage value is transmitted to the upper computer 7 by the main control chip 6 of the STM32, and the data information of the voltage value can be intuitively displayed in a debugging assistant. By collecting the voltage at the two ends of the R3, the negative voltage output by the Vo end can be converted into positive voltage, and the display and the use are convenient.
When the DAC module outputs 0V to the ANODE pin of the ACPL-312T chip 11, the ACPL-312T chip 11 outputs negative voltage, and after the negative voltage is processed by the voltage division circuit and the amplifying circuit, the voltage value acquired by the ADC module of the STM32 main control chip 6 is about 2.0V; when the DAC module outputs 3.3V to the ANODE pin of the ACPL-312T chip 11, the ACPL-312T chip 11 outputs positive voltage, and after the positive voltage is processed by the voltage division circuit and the amplifying circuit, the voltage value collected by the ADC module is about 2.335V. And judging whether the ACPL-312T chip 11 is damaged or not by reading the voltage value displayed by the upper computer 7. Namely, when the DAC module outputs 0V, the acquired voltage value is about 2.0V; or when the DAC module outputs 3.3V, the acquired voltage value is about 2.335V, and the ACPL-312T chip 11 is normal, otherwise, the ACPL-312T chip 11 is damaged.
As shown in FIG. 3, the HCPL-7800 detection circuit 2 of the present embodiment is provided with an OP484 chip which can normally operate, the HCPL-7800 chip 21 to be detected is installed in the detection circuit, the HCPL-7800 chip 21 is an isolation amplifier, and the structure of the HCPL-7800 detection circuit 2 is described in the above-mentioned description of the ACPL-312T detection circuit 1, and will not be described again.
When current flows through an external variable resistor R9 in the HCPL-7800 detection circuit 2, the input end of the HCPL-7800 chip 21 senses the simulation generated therebyThe voltage drop, on the other side of the photo-isolation gate of the HCPL-7800 chip 21, produces a differential output voltage that can be converted to a single-ended voltage signal by the OP484 chip 41. Since the voltage gain of the HCPL-7800 is 8, the amplification factor of the differential amplifier circuit composed of the OP484 and the external resistor is 2, and the total amplification factor of the circuit is 16, V is indicated in fig. 33、V1、V2Has a voltage of V3/(V1-V2)=16。
Collecting voltage values at test points V1, V2 and V3 by using an ADC module of an STM32 main control chip 6, and calculating amplification factor V3/(V1-V2) A value of =16, and is transmitted to the upper computer 7 through an RS-232 serial port for display.
In addition, the input voltage of the HCPL-7800 chip 21 can be changed by adjusting the rheostat R9, so that multiple groups of measurement data can be obtained, and the detection accuracy can be improved. After multiple measurements, if the voltage relationship of each point or the voltage gain displayed on the upper computer 7 is about 16, the HCPL-7800 chip 21 is judged to be normal, otherwise, the chip is judged to be damaged.
As shown in fig. 4, the LM393N detection circuit 3 of the present embodiment includes resistors R11, R12, R13, R14, R15, R16, R17, R18, and light emitting diodes DS3, DS 4; the voltage of the IN1+ and IN2+ pins of the LM393N chip 31 is provided by a DAC module of the STM32 main control chip 6, the IN 1-pin is connected with a parallel circuit of resistors R12 and R13, the IN 2-pin is connected with a parallel circuit of resistors R16 and R17, the other ends of the resistors R12 and R16 are connected with a 5V power supply, the other ends of the resistors R13 and R17 are grounded, the OUTPUT1 pin is electrically connected with one end of a resistor R14 and the anode of a light emitting diode DS4, the OUTPUT2 pin is electrically connected with one end of a resistor R15 and the anode of a light emitting diode DS3, the cathodes of the light emitting diodes DS3 and DS4 are respectively connected with resistors R11 and R18 IN series and then grounded, and the other ends of the resistors R14 and R15 and the Vcc pin of the LM393N chip 31 are connected with the 5V power supply.
LM393N is a two-way differential comparator, mounting the LM393N chip 31 to be tested to the detection circuit. The LM393N detection circuit 3 is connected IN series with a voltage follower between the IN1+ and IN2+ pins of the LM393N chip 31 and one DAC module of the STM32 main control chip 6.
ComparisonInput voltage VIN+And VIN-When the size of (V)IN+>VIN-When the voltage is high, the output voltage is 3.4V due to the voltage division of R11, R14 and the light emitting diode DS 4; vIN+<VIN-At this time, the output voltage is at a low level. The voltage of the IN-pin is fixed at 2.5V, the voltage of the IN + pin is given by a DAC module of the STM32 main control chip, and a voltage follower is added, so that the influence of front and rear stage circuits can be isolated. By adjusting the output voltage of the DAC module of the STM32 main control chip, the input voltage value of the IN + pin is changed, and then V is changedIN+And VIN-Obtaining different output voltage values according to the magnitude relation of the voltage values. The output voltage of LM393N chip is gathered with the ADC module of STM32 main control chip to the voltage value that will gather transmits upper computer 7 through STM32 main control chip, shows the voltage value in serial ports debugging assistant. If it is
Figure DEST_PATH_IMAGE002
Then, the collected output voltage is 3.4V; and V isIN+<VIN-And if the collected output voltage is 0V, the LM393N chip is judged to work normally, and if not, the chip is damaged.
As shown in fig. 5, the OP484 detection circuit 4 of the present embodiment includes four diagnostic circuits, which are respectively matched with four operational amplifier circuits of the OP484 chip 41; the diagnosis circuit comprises resistors R19, R20, R21 and R22, one path of + IN pin of the OP484 chip 41 is electrically connected with a parallel circuit of the resistors R19 and R20, the-IN pin is electrically connected with a parallel circuit of the resistors R21 and R22, the other end of the resistor R19 is connected with a 5V power supply, the other ends of the resistors R20 and R21 are grounded, and the other end of the resistor R21 is electrically connected with a corresponding path of OUT pin of the OP484 chip 41.
The OP484 chip 41 is a single power supply, four-way operational amplifier, and the OP484 chip 41 to be tested is mounted on a detection circuit. In the present embodiment, the OP484 detection circuit 4 takes the a path as an example, where R21= R22=10K Ω is taken, and the amplification factor of the in-phase amplification circuit composed of the operational amplifier is 2. Taking R19=3K Ω and R20=2K Ω, the voltage of the non-inverting input terminal of the operational amplifier is 2V, and the voltage of the output terminal is 4V.
The remaining B, C, D operational amplifiers of the OP484 chip 41 operate on the same principle as the a path. And (3) collecting OUTA, OUTB, OUTC and OUTD pins of the OP484 by using an ADC module of the STM32 main control chip, if the collected voltage value is about 4V, judging that the OP484 works normally, and if not, judging that the OP484 works normally.
As shown in fig. 6, the ADC0838 detection circuit 5 of this embodiment includes two power converters (9, 10), pins a1, a2, A3, and a4 of the first power converter 9 are connected to 4I/O ports of the STM32 main control chip 6, pins B1, B2, B3, and B4 of the first power converter 9 are connected to CS, CLK, SE, and DI pins of the ADC0838 chip 51, pins a1 and a2 of the second power converter 10 are connected to 2I/O ports of the STM32 main control chip 6, pins B1 and B2 of the second power converter 10 are connected to DO and SARS pins of the ADC0838 chip 51, channels CH0-CH8 of the ADC0838 chip 51 are all electrically connected to a middle pin of the variable resistor R23, and two ends of the variable resistor R23 are grounded, and a power supply pin of 5V.
The ADC0838 chip 51 is an eight channel a/D converter. The ADC0838 chip 51 to be detected is mounted onto the detection circuit. The input voltages of the eight channels are the same, under the control of CS, CLK, SE and DI time sequences, the ADC0838 chip converts the input voltages of the eight channels in sequence, transmits the converted digital voltage signals to the STM32 main control chip, transmits the digital voltage signals to the upper computer 7 through an RS-232 serial port, and displays the voltage values in the serial port debugging assistant.
Since the working voltage of the ADC0838 chip is 5V, and the working voltage of the STM32 main control chip is 3.3V, the power converter 9 is required. The power converters (9, 10) of this embodiment both use 74LVC8T245 chips, are 8-bit dual power conversion transceivers, have a bidirectional level conversion function, and have two data input and output ports, i.e., pins An and Bn; a direction control input DIR pin and dual power supply pins VCCA and VCCB. Where pins An and DIR are referenced to VCCA levels and pin Bn is referenced to VCCB levels.
When DIR inputs a low level, a pin Bn is used as An input end, An is used as An output end, and An = Bn; when DIR inputs a high level, pin An is used as An input terminal, Bn is An output terminal, Bn = An. In the first chip 74LVC8T245, DIR is connected to a high level, and the control timing CS, CLK, SE, DI of 3.3V output by the STM32 main control chip is converted into a control timing of 5V, and input to the corresponding pin of the ADC0838 chip. In the second chip 74LVC8T245, DIR is turned low, and the digital value conversion result DO with 5V high level output by the ADC0838 chip and the status bit SARS are converted into 3.3V level and transmitted to the corresponding pin of STM32, so that the level conversion between STM32 and ADC0838 chip 51 is completed.
The input voltage of eight channels of ADC0838 chip is compared with the voltage value of collecting or transmitting host computer 7 through STM32 main control chip after the conversion, and through adjusting the resistance of variable resistance R23, and then change ADC0838 chip 51's input voltage size, obtain multiunit measured data, improve the accuracy of detecting. If the voltage values are the same, the ADC0838 chip 51 is judged to work normally; if the deviation of the voltage value is too large, the ADC0838 chip 51 is damaged.
The utility model discloses use the STM32 chip to carry out fault diagnosis to each chip as master control chip. When the XPSI board of high voltage generator breaks down, utilize this fault diagnosis device to gather the output voltage parameter of each chip among above-mentioned each detection circuitry or according to the testing result that shows on host computer 7, judge whether the chip damages to the fault reason of XPSI board is fixed a position.
And after the fault chip is diagnosed, replacing the damaged chip with the chip which normally works, and finishing the fault processing work of the XPSI board. And installing the processed XPSI board on an X-ray fluorescence spectrometer, electrifying to detect whether the spectrometer normally works, and detecting whether the fault diagnosis work of the XPSI board is successful. The utility model provides a XPSI board unable location trouble reason's a difficult problem, and can high-efficiently accurately find the trouble reason, obtained reliable application in actual engineering.
The technical contents not described in detail in the present invention are all known techniques.

Claims (10)

1. The XPSI board fault diagnosis device of the high voltage generator is characterized by comprising an STM32 main control chip, a power supply, an ACPL-312T detection circuit, an HCPL-7800 detection circuit, an LM393 39 393N chip, an OP484 chip and an ADC0838 chip which are matched with the ACPL-312T chip, the HCPL-7800 detection circuit, the LM393N detection circuit, the OP484 detection circuit and the ADC0838 detection circuit to be detected respectively;
the two DAC modules of the STM32 main control chip are respectively used for providing input voltage for an ANODE pin of an ACPL-312T chip and an IN + pin of an LM393N chip; the ADC module of the STM32 main control chip is used for collecting a voltage value of an ACPL-312T chip output end, a voltage value of an HCPL-7800 chip output end, voltage values of four output ends of an OP484 chip, voltage values of two output ends of an LM393N chip and an ADC0838 chip channel conversion output voltage value; the I/O port of the STM32 main control chip is used for communicating with the ADC0838 chip;
and comparing the voltage value acquired by the STM32 main control chip with a rated output voltage value, and performing fault diagnosis on whether the ACPL-312T chip, the HCPL-7800 chip, the LM393N chip and the OP484 chip on the XPSI board of the high-voltage generator are damaged or not.
2. The device for diagnosing the faults of the XPSI board of the high-voltage generator according to claim 1, wherein the STM32 main control chip is in serial communication with an upper computer by RS-232 and is used for transmitting and displaying the voltage values acquired by the ADC module to the upper computer.
3. The apparatus of claim 1, wherein the HCPL-7800 detection circuit comprises an OP484 chip, one + IN pin, -IN pin of the OP484 chip is electrically connected to a VOUT + pin and a VOUT-pin of the HCPL-7800 chip through resistors R6 and R10, respectively, a corresponding OUT pin of the OP484 chip is used as an acquisition output terminal, a VIN + pin of the HCPL-7800 chip is electrically connected to a middle pin of a variable resistor R9, two terminals of the variable resistor R9 are grounded, a series resistor R5 is connected to a 5V power supply, VIN-, GDN1, GDN2, and a V-pin of the 484 OP chip are grounded, and a VDD1, a VDD2 pin of the HCPL-7800 chip and a V + pin of the OP chip are connected to the 5V power supply.
4. The device for diagnosing the fault of the XPSI board of claim 3, wherein the ACPL-312T detection circuit comprises resistors R1, R2, R3, R4, light emitting diodes DS1, DS2 and HCPL-7800 chips; two ends of the resistor R1 are respectively and electrically connected with a DAC module of one path of the STM32 main control chip and an ANODE pin of the ACPL-312T chip, a Vo pin of the ACPL-312T chip is connected with a resistor R2 in series and then is electrically connected with an ANODE of the light emitting diode DS1 and a CATHODE of the light emitting diode DS2, a CATHODE of the light emitting diode DS1 and an ANODE of the light emitting diode DS2 are electrically connected with one ends of resistors R3 and R4, the other ends of the resistors R3 and R4 and a CATHODE pin of the ACPL-312T chip are grounded, Vcc pins and Vee pins of the ACPL-312T chip are respectively connected with a positive 15V power supply and a negative 15V power supply, and a capacitor C1 is connected in series between the positive 15V power supply and the negative 15V power supply; the cathode of the light emitting diode DS1 and the anode of the DS2 are respectively electrically connected with VIN + and VIN-pins of the HCPL-7800 chip.
5. The XPSI board fault diagnosis device of claim 1, in which the LM393N detection circuit comprises resistors R11, R12, R13, R14, R15, R16, R17, R18 and light emitting diodes DS3, DS 4; the voltage of the IN1+ and IN2+ pins of the LM393N chip is provided by a DAC module of an STM32 main control chip, the IN 1-pin of the chip is connected with a parallel circuit formed by resistors R12 and R13, the IN 2-pin of the chip is connected with a parallel circuit formed by resistors R16 and R17, the other ends of the resistors R12 and R16 are connected with a 5V power supply, the other ends of the resistors R13 and R17 are grounded, the OUTPUT1 pin of the chip is electrically connected with one end of a resistor R14 and the anode of a light emitting diode DS4, the OUTPUT2 pin is electrically connected with one end of a resistor R15 and the anode of a light emitting diode DS3, the cathodes of the light emitting diodes DS3 and DS4 are respectively connected with resistors R11 and R18 IN series and then grounded, and the other ends of the resistors R14 and R15 and the Vcc pin of the LM393N chip are connected with the 5V power supply.
6. The XPSI board fault diagnosis device of claim 5, wherein a voltage follower is connected IN series between the IN1+, IN2+ pins of the LM393N chip and one DAC module of the STM32 main control chip.
7. The apparatus of claim 1, wherein the OP484 detection circuit includes four diagnostic circuits, which cooperate with four operational amplifier circuits of the OP484 chip, respectively; the diagnosis circuit comprises resistors R19, R20, R21 and R22, one path of + IN pin of an OP484 chip is electrically connected with a parallel circuit of the resistors R19 and R20, the-IN pin is electrically connected with a parallel circuit of the resistors R21 and R22, the other end of the resistor R19 is connected with a 5V power supply, the other ends of the resistors R20 and R21 are grounded, and the other end of the resistor R21 is electrically connected with a corresponding path of OUT pin of the OP484 chip.
8. The XPSI board fault diagnosis device of the high voltage generator of claim 1, wherein the ADC0838 detection circuit comprises two power converters, pins A1, A2, A3 and A4 of the first power converter are respectively connected with 4 paths of I/O ports of an STM32 main control chip, pins B1, B2, B3 and B4 of the first power converter are respectively connected with CS, CLK, SE and DI pins of the ADC0838 chip, pins A1 and A2 of the second power converter are respectively connected with 2 paths of I/O ports of the STM32 main control chip, pins B1 and B2 of the second power converter are respectively connected with DO and SARS pins of the ADC0838 chip, channels CH0-CH8 of the ADC0838 chip are respectively electrically connected with a middle pin of a variable resistor R23, and two end pins of the variable resistor R23 are respectively grounded and 5V power.
9. The device of claim 8, wherein the VCCA pins of the two slice power converters are connected to a 3.3V power supply, the VCCB pins are connected to a 5V power supply, the DIR pin of the first slice power converter is connected to a 3.3V power supply, and the DIR pin of the second slice power converter is grounded.
10. The device for diagnosing the XPSI board fault of the high-voltage generator according to claim 1, wherein the voltage provided by the DAC module of the STM32 main control chip for the ACPL-312T detection circuit is 0 or 3.3V, and when the HCPL-7800 chip to be detected in the HCPL-7800 detection circuit works normally, the voltage of the OUT pin of the OP484 chip is 16 times of the difference value of the input voltages of the VIN + pin and the VIN-pin of the HCPL-7800 chip; when an OP484 chip to be detected in the OP484 detection circuit works normally, the voltage of the output end of the OP484 chip is 2 times of the voltage of the input end of the OP484 chip; when an ADC0838 chip to be detected in the ADC0838 detection circuit works normally, the CH0-CH8 channel input voltage of the ADC0838 chip is the same as the conversion output voltage value acquired by the DAC module of the STM32 main control chip.
CN202023258795.6U 2020-12-29 2020-12-29 High voltage generator XPSI board fault diagnosis device Expired - Fee Related CN214011432U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202023258795.6U CN214011432U (en) 2020-12-29 2020-12-29 High voltage generator XPSI board fault diagnosis device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202023258795.6U CN214011432U (en) 2020-12-29 2020-12-29 High voltage generator XPSI board fault diagnosis device

Publications (1)

Publication Number Publication Date
CN214011432U true CN214011432U (en) 2021-08-20

Family

ID=77295125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202023258795.6U Expired - Fee Related CN214011432U (en) 2020-12-29 2020-12-29 High voltage generator XPSI board fault diagnosis device

Country Status (1)

Country Link
CN (1) CN214011432U (en)

Similar Documents

Publication Publication Date Title
CN101930025B (en) Power dissipation testing device
CN1321315C (en) Flexible strain signal spot colletion system
CN108510923A (en) A kind of detection liquid crystal module ID pins open the device of short circuit
CN114062900A (en) Operational amplifier circuit offset voltage testing method
CN112611959A (en) High voltage generator XPSI board fault diagnosis device
CN112748353A (en) XPSI board fault diagnosis method for high-voltage generator
CN108132452A (en) It is a kind of for the detection calibration plate of signal acquiring board and its calibration and test method
CN214011432U (en) High voltage generator XPSI board fault diagnosis device
CN105044536A (en) Novel packaging defect detection method and novel packaging defect detection system
CN212258965U (en) Automatic test system of radio frequency module
CN206573515U (en) A kind of cable automatic identification equipment changed based on A/D
CN108594140A (en) Electronic circuit measurement of power loss device
CN110703117A (en) Portable storage battery performance testing device
CN103123373A (en) Electrical parameter testing device
CN211505818U (en) Battery voltage differential sampling device and battery protection, equalization and formation device
CN216718596U (en) Fault diagnosis device of mass spectrometer detector plate
CN210835059U (en) nA-level current measuring system for test equipment
CN211318564U (en) System for multi-path detection of electrical parameter values by universal meter
CN220252068U (en) Measuring system of connector
CN112379157A (en) High-precision wide-range current tester and testing method
CN113514690A (en) High-precision wide-range current measuring system
CN113328121A (en) Voltage inspection device for fuel cell
CN219957821U (en) Measuring device for contact impedance of battery probe
CN206920575U (en) A kind of practical power parameter detection means
CN112187050A (en) Precise low-cost programmable power supply module for test equipment

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210820

Termination date: 20211229