Multi-channel resistance measurement module with low-voltage long-distance measurement of high resistance
By designing a resistance measurement module that includes an MCU main control and a high-precision filter sampling circuit, the problem of multi-channel, long-distance low-voltage measurement of high resistance is solved, and low-cost, high-stability and safe high-resistance measurement is achieved, which is suitable for industrial control. Configuration of the terminal.
Patent Information
- Application Number
- CN202411082135.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2024-10-01
AI Technical Summary
Existing technology cannot achieve multi-channel, long-distance low-voltage measurement of high resistance, and high-resistance measuring instruments are expensive and cannot be perfectly configured with PLCs and industrial control terminals.
A resistance measurement module including a power supply circuit, MCU main control circuit, multi-channel cycle detection input circuit, filter sampling circuit and communication output circuit is designed. It uses a 32-bit ARM series microcontroller and uses a multi-channel surge protection circuit and high-precision filtering. Segmented ratio sampling circuit realizes low-voltage long-distance high-resistance measurement, and interacts with the host computer through RS485, Ethernet or CAN communication output circuit.
It realizes multi-channel, low-cost, low-voltage safe measurement of high resistance, can stably measure 40 megohm high resistance with 8 leads up to 5 meters, has safe electrical isolation of more than 1500V, is suitable for industrial occasions, and supports fast and cost-effective networking groups. state.
Smart Images

Figure CN118731499A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a resistance measuring module, in particular to a multi-channel resistance measuring module capable of measuring high resistance at a low voltage and a long distance. Background Art
[0002] At present, the market mostly uses multimeters, bridges, and high resistance meters to test resistance, which cannot achieve multi-channel and long-distance measurement, especially high resistance measurement mostly uses high voltage measurement. Such instruments are expensive and cannot be perfectly configured with PLCs, industrial control terminals, etc. Summary of the invention
[0003] In view of the deficiencies in the prior art, the technical problem to be solved by the present invention is to provide a multi-channel resistance measurement module capable of measuring high resistance at a low voltage and over a long distance.
[0004] In order to solve the above technical problems, the present invention is implemented by the following scheme: a multi-channel resistance measurement module with low voltage and long-distance high resistance measurement of the present invention includes a power supply circuit, an MCU main control circuit, and also includes a multi-channel cycle detection input circuit and a filter sampling circuit electrically connected to the MCU main control circuit respectively, and the multi-channel cycle detection input circuit is also electrically connected to the filter sampling circuit;
[0005] The multi-channel cycle detection input circuit is electrically connected to a multi-channel surge protection circuit, and the multi-channel surge protection circuit is electrically connected to the multi-channel resistance input circuit one-to-one;
[0006] The MCU main control circuit controls the multi-channel cyclic detection input circuit to cyclically switch each channel to collect the current of each channel circuit, and performs segmented precision measurement through the high anti-interference resistance of the filter sampling circuit. The MCU main control circuit reads the filter sampling circuit to obtain the resistance value, and the resistance value data is uploaded to the host computer through the communication output circuit;
[0007] The power supply circuit is provided with a protection circuit, the output end of which is electrically connected to a DC-DC step-down circuit, and the DC-DC step-down circuit supplies power to the MCU main control circuit, the filter sampling circuit, the multi-channel cycle detection input circuit and the multi-channel surge protection circuit respectively through a transformer.
[0008] Furthermore, the output end of the DC-DC step-down circuit is also connected to the communication output circuit.
[0009] Furthermore, the communication output circuit includes one or more combinations of RS485 communication circuit, Ethernet communication circuit and CAN communication circuit.
[0010] Furthermore, the MCU in the MCU main control circuit adopts a 32-bit ARM series single-chip microcomputer.
[0011] Furthermore, the multi-channel cyclic detection input circuit includes an 8-channel detection circuit for positive end excitation input switching, an 8-channel detection circuit for negative end switching corresponding to the 8-channel detection circuit for positive end excitation input switching, an 8-channel reference resistance switching circuit, and an 8-channel switching reference resistance acquisition circuit;
[0012] The fixed pin of the 8-channel detection circuit switched by the positive end excitation input is connected to the positive end of the excitation;
[0013] Any corresponding group of positive end excitation input switching channel detection circuits and negative end switching channel detection circuits include a first measured resistor, a voltage regulator diode D1, a first resettable fuse, a switching diode D3, a switching diode D2, a second resettable fuse, a second measured resistor, a third measured resistor, a fourth measured resistor, a fifth measured resistor, a sixth measured resistor, a seventh measured resistor, an eighth measured resistor, and a ninth measured resistor;
[0014] The first end of the first measured resistor is connected to a positive channel detection circuit, the second end of the first measured resistor is connected to the first end of the first resettable fuse, and the second end of the first resettable fuse is connected to a negative channel detection circuit;
[0015] The cathode terminal of the voltage stabilizing diode D1 is connected to the first end of the first measured resistor, and the anode terminal thereof is grounded;
[0016] The positive terminal of the switching diode D3 is grounded, and the negative terminal thereof is connected to the negative terminal of the voltage-stabilizing diode D1, and the circuit node between the switching diodes D3 is connected to the second end of the first self-recovery fuse;
[0017] The cathode terminal of the switch diode D2 is connected to the first end of the first measured resistor, and the anode terminal thereof is grounded. The circuit node between the switch diodes D2 is connected to the first end of the second resettable fuse, and the second end of the second resettable fuse is connected to the second end of the first measured resistor.
[0018] The negative terminal of the switching diode D2 is also connected to a channel circuit in the positive end acquisition signal amplification circuit of the 8-channel switch;
[0019] The circuit node between the switching diodes D2 is also connected to a channel circuit in the negative end acquisition signal amplification circuit of the 8-channel switch;
[0020] The fixed pin of the 8-channel detection circuit of the negative terminal switching is connected to the fixed pin of the 8-channel reference resistor switching circuit, and the three pins of the 8-channel reference resistor switching circuit are interconnected to form an interconnected pin;
[0021] The first ends of the ninth measured resistor, the second measured resistor, the third measured resistor, the fourth measured resistor, the fifth measured resistor, and the sixth measured resistor are connected to each other and to the negative end of the excitation and the negative end of the reference signal amplification circuit;
[0022] The second end of the sixth measured resistor is connected to the first end of the seventh measured resistor, the second end of the seventh measured resistor is connected to the first end of the eighth measured resistor, and the second end of the eighth measured resistor is connected to the interconnect pin and the 7th channel switching pin of the 8-channel switching reference resistor acquisition circuit;
[0023] Two ends of the seventh measured resistor are respectively connected to the 5th channel switching pin of the 8-channel switching reference resistor acquisition circuit and the 6th switching pin of the 8-channel switching reference resistor acquisition circuit;
[0024] The second end of the fifth measured resistor is respectively connected to the 8th switching pin of the 8-channel switching reference resistor acquisition circuit and the 8th switching pin of the 8-channel reference resistor switching circuit;
[0025] The second end of the fourth measured resistor is respectively connected to the 4th switching pin of the 8-channel switching reference resistor acquisition circuit and the 4th switching pin of the 8-channel reference resistor switching circuit;
[0026] The second end of the third measured resistor is respectively connected to the third switching pin of the 8-channel switching reference resistor acquisition circuit and the third switching pin of the 8-channel reference resistor switching circuit;
[0027] The second end of the second measured resistor is respectively connected to the second switching pin of the 8-channel switching reference resistor acquisition circuit and the second switching pin of the 8-channel reference resistor switching circuit;
[0028] The second end of the ninth measured resistor is respectively connected to the first switching pin of the 8-channel switching reference resistor acquisition circuit and the first switching pin of the 8-channel reference resistor switching circuit;
[0029] The fixed pin of the 8-channel switched reference resistor acquisition circuit is connected to the positive end of the reference signal amplification circuit.
[0030] Furthermore, the filtering sampling circuit adopts a filtering segmented ratio sampling circuit, which includes:
[0031] An operational amplifier filtering and amplifying circuit electrically connected to the multi-channel cycle detection input circuit, the operational amplifier filtering and amplifying circuit performs filtering and amplification to filter out power supply and excitation circuit fluctuations;
[0032] An ADC chip acquisition circuit, whose input end is electrically connected to the output end of the operational amplifier filtering and amplification circuit, and the ADC chip acquisition circuit converts an AD value and outputs it to the MCU main control circuit;
[0033] The segmented reference switching circuit is bidirectionally electrically connected to the ADC chip acquisition circuit. After the MCU main control circuit reads the AD value, it calculates the resistance value by comparing it with the segmented reference resistance. For a resistance value exceeding the ratio reference resistance value, the MCU main control circuit will switch to a larger ratio reference resistance and collect again until an accurate resistance value is obtained.
[0034] Furthermore, the protection circuit includes a lightning and surge protection circuit and a reverse connection protection circuit;
[0035] The lightning protection and surge protection circuit is a PPTC+TVS circuit composed of a resistor R71 and a bidirectional diode D40, wherein the first end of the resistor R71 is connected to the P+ end of the power supply, the second end of the resistor R71 is connected to the first end of the bidirectional diode D40, and the second end of the bidirectional diode D40 is connected to the P- end of the power supply;
[0036] The power supply circuit is provided with a DC-DC power supply chip U11, and the pin 1 VIN of the DC-DC power supply chip U11 is respectively connected to the cathode of the diode D38, the first end of the capacitor C28, and the anode of the polar capacitor C34, the second end of the capacitor C28 is connected to the P-terminal of the power supply, and the cathode of the polar capacitor C34 is connected to the P-terminal of the power supply;
[0037] The power supply P-end is also connected to the 4-pin ON / OFF of the DC-DC power chip U11, the positive electrode of the diode D41, the first end of the resistor R35, the negative electrode of the polarized capacitor C32, and the negative electrode of the polarized capacitor C29. The negative electrode of the diode D41 is connected to the 2-pin OUT of the DC-DC power chip U11 and the first end of the inductor L2. The second end of the resistor R35 is respectively connected to the 3-pin FB of the DC-DC power chip U11 and the first end of the resistor R28. The second end of the resistor R28 is connected to the second end of the inductor L2. The resistor R28 is connected in parallel with the capacitor C31. The second end of the inductor L2 is also connected to the positive electrode of the polarized capacitor C32 and the positive electrode of the polarized capacitor C29.
[0038] The second end of the resistor R71 is also connected to the positive electrode of the light-emitting end of the optocoupler EL357, the negative electrode of the light-emitting end of the optocoupler EL357 is connected to the first end of the resistor R27, the second end of the resistor R27 is connected to the first end of the resistor R72, the second end of the resistor R72 is connected to pin 3 of an interface J11, the collector of the light-receiving end of the optocoupler EL357 is connected to the SWCLK port of the MCU, and the emitter of the light-receiving end of the optocoupler EL357 is grounded.
[0039] Furthermore, the power supply circuit also includes an isolated power supply module V3 for supplying power to the filter sampling circuit, and an optional isolated power supply module V1 and an optional isolated power supply module V2. The isolated power supply module V1 and the isolated power supply module V2 can switchably supply power to the communication output circuit.
[0040] Compared with the prior art, the beneficial effects of the present invention are: the module of the present invention solves the problems of multi-channel, long-distance low-voltage safe high resistance measurement, low-cost resistance measurement, etc., and can achieve fast and cost-effective networking configuration with PLC, industrial control terminals, etc. through secondary development.
[0041] The surge protection circuit of the present invention realizes surge, overvoltage and electrostatic protection at the measuring end without affecting the high resistance measurement accuracy, so that the port can be directly connected to 60V high voltage without damage. The multi-channel loop detection input adopts a unique chip selection circuit to realize low-cost and stable 8-channel long-line high resistance measurement. By outputting an excitation voltage less than 2.6V, 40 megohm high resistance of 8 leads up to 5 meters can be stably measured at the same time. The high-precision filtering segmented ratio sampling circuit combines high-precision operational amplifiers, analog switches, and high-precision ADC chips to realize high-anti-interference resistance segmented precision measurement. The ratio sampling method is adopted to filter out the interference of power supply and excitation circuit fluctuations on sampling, realize long-term stable sampling, and the accuracy will not decrease with the aging of the device. The MCU main chip is the core of the entire circuit. By controlling the multi-channel loop detection circuit, the 8 channel acquisition circuits are cyclically switched, and the resistance value is obtained by reading the ADC chip. Then the communication circuit communicates with the host computer to transmit the collected data. The communication output circuit uploads the data collected by the MCU to the host computer through RS485, Ethernet or CAN to realize on-site interaction. By using magnetic isolation chips and isolated power modules, safe electrical isolation of more than 1500V is achieved, making the product more stable and suitable for industrial occasions. The power circuit adopts anti-reverse connection and wide voltage input design. It can achieve reverse connection protection, 9-30V wide voltage input, and 1500V safe isolation protection. It can provide safe and stable voltage and current for each component. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 This is a schematic diagram of the multi-channel resistance measurement module of the present invention.
[0043] Figure 2-Figure 3 After connection, the overall diagram of the 8-channel switching circuit of the resistance measurement module of the present invention is formed.
[0044] Figure 4 This is one of the eight surge and overvoltage protection circuit diagrams of the present invention.
[0045] Figure 5 This is a filter circuit diagram of the present invention.
[0046] Figure 6-Figure 11 After the diagrams are assembled, the overall diagram of the multi-channel cycle detection input circuit and the filter sampling circuit of the present invention is formed.
[0047] Figure 12-16 After the diagrams are assembled, the power supply circuit diagram of the present invention is formed.
[0048] Figure 17-Figure 23 After the diagrams are assembled, the overall diagram of the isolated power supply of the present invention is formed. DETAILED DESCRIPTION
[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention, so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more explicit definition of the protection scope of the present invention. Obviously, the embodiments described in the present invention are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0050] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0051] Embodiment 1: The specific structure of the present invention is as follows:
[0052] Please refer to the attached Figure 1-23 A multi-channel resistance measurement module with low-voltage long-distance high-resistance measurement of the present invention comprises a power supply circuit, an MCU main control circuit, and also comprises a multi-channel cycle detection input circuit and a filter sampling circuit electrically connected to the MCU main control circuit respectively, wherein the multi-channel cycle detection input circuit is also electrically connected to the filter sampling circuit;
[0053] The multi-channel cycle detection input circuit is electrically connected to a multi-channel surge protection circuit, and the multi-channel surge protection circuit is electrically connected to the multi-channel resistance input circuit one-to-one;
[0054] The MCU main control circuit controls the multi-channel cyclic detection input circuit to cyclically switch each channel to collect the current of each channel circuit, and performs segmented precision measurement through the high anti-interference resistance of the filter sampling circuit. The MCU main control circuit reads the filter sampling circuit to obtain the resistance value, and the resistance value data is uploaded to the host computer through the communication output circuit;
[0055] The power supply circuit is provided with a protection circuit 2, the output end of which is electrically connected to a DC-DC buck circuit 1. The DC-DC buck circuit 1 supplies power to the MCU main control circuit, the filter sampling circuit, the multi-channel cycle detection input circuit and the multi-channel surge protection circuit respectively through a transformer.
[0056] The working process of the multi-channel resistance measurement module of the present invention is as follows:
[0057] Step 1: Control the multi-channel cycle detection input circuit to switch the acquisition input of each channel through the MCU main control circuit.
[0058] Step 2: The input channel first passes through the surge protection circuit, then enters the multi-channel input circuit, and then enters the operational amplifier filtering and amplification circuit, and is converted into an AD value through the ADC chip.
[0059] Step 3: After the MCU main control circuit reads the AD value, it calculates the resistance value by comparing it with the segmented reference resistance. If the resistance exceeds the ratio reference resistance value, the MCU main control circuit will switch to a larger ratio reference resistance and collect again until the accurate resistance value is obtained.
[0060] Step 4: After the MCU main control circuit calculates the resistance value, it uploads the data to the host computer via RS485, Ethernet or CAN communication.
[0061] A preferred technical solution of the present invention: the output end of the DC-DC buck circuit 1 is also connected to the communication output circuit.
[0062] A preferred technical solution of the present invention: the communication output circuit includes one or more combinations of RS485 communication circuit, Ethernet communication circuit and CAN communication circuit. Figure 1 As shown, the first communication output circuit 3 is an Ethernet communication circuit, and the second communication output circuit 4 is an RS485 communication circuit or a CAN communication circuit or a combination of an RS485 communication circuit and a CAN communication circuit.
[0063] A preferred technical solution of the present invention: the MCU in the MCU main control circuit adopts a 32-bit ARM series single-chip microcomputer. Preferably, when a CAN interface is required, an MCU with CAN such as STM32F103 is selected, and when a CAN interface is not required, a low-cost MCU such as 32F030 is selected.
[0064] For example, the MCU with CAN should use the STM32F103C8 model MCU, and the MCU without CAN should use the STM32F030C8 model MCU.
[0065] like Figure 2-3 As shown, a preferred technical solution of the present invention: the multi-channel cyclic detection input circuit includes an 8-channel detection circuit 9 for positive end excitation input switching, an 8-channel detection circuit 10 for negative end switching corresponding to the 8-channel detection circuit for positive end excitation input switching, an 8-channel reference resistance switching circuit 16, and an 8-channel switching reference resistance acquisition circuit 21;
[0066] The fixed pin of the 8-channel detection circuit 9 of the positive end excitation input switching is connected to the excitation positive terminal 8;
[0067] Any corresponding group of positive end excitation input switching channel detection circuits and negative end switching channel detection circuits include a first measured resistor 13, a voltage regulator diode D1, a first resettable fuse 14, a switching diode D3, a switching diode D2, a second resettable fuse 15, a second measured resistor 172, a third measured resistor 173, a fourth measured resistor 174, a fifth measured resistor 175, a sixth measured resistor 176, a seventh measured resistor 177, an eighth measured resistor 178, and a ninth measured resistor 171;
[0068] The first end of the first measured resistor 13 is connected to a positive channel detection circuit, the second end of the first measured resistor 13 is connected to the first end of the first resettable fuse 14, and the second end of the first resettable fuse 14 is connected to a negative channel detection circuit;
[0069] The cathode terminal of the voltage stabilizing diode D1 is connected to the first end of the first measured resistor 13, and the anode terminal thereof is grounded;
[0070] The positive terminal of the switching diode D3 is grounded, and the negative terminal thereof is connected to the negative terminal of the voltage-stabilizing diode D1, and the circuit node between the switching diodes D3 is connected to the second terminal of the first resettable fuse 14;
[0071] The cathode terminal of the switch diode D2 is connected to the first end of the first measured resistor 13, and the anode terminal thereof is grounded. The circuit node between the switch diodes D2 is connected to the first end of the second resettable fuse 15, and the second end of the second resettable fuse 15 is connected to the second end of the first measured resistor 13.
[0072] The negative terminal of the switching diode D2 is also connected to a channel circuit in the positive end acquisition signal amplifier circuit 11 of the 8-channel switch;
[0073] The circuit node between the switching diodes D2 is also connected to a channel circuit in the negative end acquisition signal amplifier circuit 12 of the 8-channel switch;
[0074] The fixed pin of the negative-end switching 8-channel detection circuit 10 is connected to the fixed pin of the 8-channel reference resistor switching circuit 16, and the three pins of the 8-channel reference resistor switching circuit 16 are interconnected to form an interconnected pin;
[0075] The first ends of the ninth measured resistor 171, the second measured resistor 172, the third measured resistor 173, the fourth measured resistor 174, the fifth measured resistor 175, and the sixth measured resistor 176 are connected to each other and to the negative excitation terminal 18 and the negative reference signal amplifier circuit terminal 19;
[0076] The second end of the sixth measured resistor 176 is connected to the first end of the seventh measured resistor 177, the second end of the seventh measured resistor 177 is connected to the first end of the eighth measured resistor 178, and the second end of the eighth measured resistor 178 is connected to the interconnect pin and the 7th channel switching pin of the 8-channel switching reference resistor acquisition circuit 21;
[0077] The two ends of the seventh measured resistor 177 are respectively connected to the 5th channel switching pin of the 8-channel switching reference resistor acquisition circuit 21 and the 6th switching pin of the 8-channel switching reference resistor acquisition circuit 21;
[0078] The second end of the fifth measured resistor 175 is respectively connected to the 8th switching pin of the 8-channel switching reference resistor acquisition circuit 21 and the 8th switching pin of the 8-channel reference resistor switching circuit 16;
[0079] The second end of the fourth measured resistor 174 is respectively connected to the 4th switching pin of the 8-channel switching reference resistor acquisition circuit 21 and the 4th switching pin of the 8-channel reference resistor switching circuit 16;
[0080] The second end of the third measured resistor 173 is respectively connected to the third switching pin of the 8-channel switching reference resistor acquisition circuit 21 and the third switching pin of the 8-channel reference resistor switching circuit 16;
[0081] The second end of the second measured resistor 172 is respectively connected to the second switching pin of the 8-channel switching reference resistor acquisition circuit 21 and the second switching pin of the 8-channel reference resistor switching circuit 16;
[0082] The second end of the ninth measured resistor 171 is respectively connected to the first switching pin of the 8-channel switching reference resistor acquisition circuit 21 and the first switching pin of the 8-channel reference resistor switching circuit 16;
[0083] The fixed pin of the 8-channel switching reference resistance acquisition circuit 21 is connected to the positive terminal 20 of the reference signal amplifying circuit.
[0084] The entire protection circuit consists of two resettable fuses 60 / 10, one TVS tube BSD5A051V and two double diodes BAV199, which are the key points of the entire protection circuit. The TVS tube is connected to the positive end of the measured resistor excitation, which ensures that the leakage current of the TVS tube will not flow through the sampling circuit, which is the key to ensure accurate sampling. When the overvoltage is input from the positive end of the measured resistor, the current will pass through the TVS, D3 or D2, and the resettable fuse to the negative pole of the measured resistor, thereby protecting the circuit from damage. When the overvoltage is input from the negative end of the measured resistor, the current will pass through the resettable fuse, D3 or D2, and the positive pole of the measured resistor, thereby protecting the circuit.
[0085] A preferred technical solution of the present invention: the filtering sampling circuit adopts a filtering segmented ratio sampling circuit, which includes:
[0086] An operational amplifier filtering and amplifying circuit 5 electrically connected to the multi-channel cycle detection input circuit, the operational amplifier filtering and amplifying circuit 5 performs filtering and amplification to filter out power supply and excitation circuit fluctuations;
[0087] An ADC chip acquisition circuit 6, whose input end is electrically connected to the output end of the operational amplifier filtering and amplification circuit 5, and the ADC chip acquisition circuit 6 converts an AD value and outputs it to the MCU main control circuit;
[0088] The segmented reference switching circuit 7 is bidirectionally electrically connected to the ADC chip acquisition circuit 6. After the MCU main control circuit reads the AD value, it calculates the resistance value by comparing it with the segmented reference resistance. When the MCU main control circuit exceeds the ratio reference resistance value, the MCU main control circuit will switch to a larger ratio reference resistance and collect again until an accurate resistance value is obtained.
[0089] Explanation on segmented collection:
[0090] Because the amplifier circuit uses a high-resistance operational amplifier, its input current is very low, so i3, i4, and i5 can be ignored. At the same time, D3 and D2 use diodes with extremely low leakage current, and their leakage current can also be ignored. So i1 = i2, assuming that the voltage on the measured resistor is Vt, and the resistance on the reference resistor is Vr, then:
[0091]
[0092] If the signal amplifier circuit is calibrated, the measured resistance is proportional to the reference resistance. Their relationship is not affected by the fluctuation of the excitation source, but only by the temperature drift of the reference resistance and the amplifier circuit. If low temperature drift components are selected, the measured resistance can be measured very accurately, and this accuracy can be kept stable for a long time. Through MCU calculation and analog switch switching, the resistance can be measured in sections, so that extremely high accuracy can be achieved within the entire range.
[0093] Figure 6-Figure 11 After the diagrams are assembled, the general diagram of the multi-channel cyclic detection input circuit and the filter sampling circuit of the present invention is formed. The input of each channel is switched through four CD4052 chips U1, U2, U3, and U4, and the reference resistor is switched through two CD4051 chips U5 and U6. Chips U1, U2, U3, U4, U5, and U6 are all connected to the circuit of the MCU and controlled by the MCU circuit.
[0094] The signal input from the sampling port (the resistor being measured) passes through CD4052, and then is input to the OPIN+ and OPIN- ends of the chip U7 op amp for amplification, and then is input to the differential input end of the CS5529 through the two 3157 analog switches of chip U14 and chip U15; at the same time, the signal from the reference resistor passes through CD4051, and is input to the input ends of the other two op amps in chip U7, and then is input to the reference signal source input end of the CS5529 through chip U16 and chip U17; because the AD value sampled by the CS5529 is the ratio of the reference signal, this AD value is also the ratio of the signal input from the sampling port (the resistor being measured) to the signal input from the reference resistor.
[0095] Figure 12-16 After the diagrams are assembled, the power supply circuit diagram of the present invention is formed. A preferred technical solution of the present invention: the protection circuit 2 includes a lightning protection and surge protection circuit and a reverse connection protection circuit;
[0096] The lightning protection and surge protection circuit is a PPTC+TVS circuit composed of a resistor R71 and a bidirectional diode D40, wherein the first end of the resistor R71 is connected to the P+ end of the power supply, the second end of the resistor R71 is connected to the first end of the bidirectional diode D40, and the second end of the bidirectional diode D40 is connected to the P- end of the power supply;
[0097] The power supply circuit is provided with a DC-DC power supply chip U11, and the pin 1 VIN of the DC-DC power supply chip U11 is respectively connected to the cathode of the diode D38, the first end of the capacitor C28, and the anode of the polar capacitor C34, the second end of the capacitor C28 is connected to the P-terminal of the power supply, and the cathode of the polar capacitor C34 is connected to the P-terminal of the power supply;
[0098] The P-end of the power supply is also connected to the 4-pin ON / OFF of the DC-DC power chip U11, the positive electrode of the diode D41, the first end of the resistor R35, the negative electrode of the polarized capacitor C32, and the negative electrode of the polarized capacitor C29. The negative electrode of the diode D41 is connected to the 2-pin OUT of the DC-DC power chip U11 and the first end of the inductor L2. The second end of the resistor R35 is respectively connected to the 3-pin FB of the DC-DC power chip U11 and the first end of the resistor R28. The second end of the resistor R28 is connected to the second end of the inductor L2. The resistor R28 is connected in parallel with the capacitor C31. The second end of the inductor L2 is also connected to the positive electrode of the polarized capacitor C32 and the positive electrode of the polarized capacitor C29. The DC-DC power chip U11 is responsible for converting the 9-30V input voltage into the 5V voltage required by the system.
[0099] The second end of the resistor R71 is also connected to the positive electrode of the light-emitting end of the optocoupler EL357, the negative electrode of the light-emitting end of the optocoupler EL357 is connected to the first end of the resistor R27, the second end of the resistor R27 is connected to the first end of the resistor R72, the second end of the resistor R72 is connected to pin 3 of an interface J11, the collector of the light-receiving end of the optocoupler EL357 is connected to the SWCLK port of the MCU, and the emitter of the light-receiving end of the optocoupler EL357 is grounded.
[0100] Figure 17-Figure 23 After the diagrams are assembled, the general diagram of the isolated power supply of the present invention is formed. A preferred technical solution of the present invention: the power supply circuit also includes an isolated power supply module V3 for supplying power to the filter sampling circuit, as well as an optional isolated power supply module V1 and an optional isolated power supply module V2, and the isolated power supply module V1 and the isolated power supply module V2 can switch to supply power to the communication output circuit.
[0101] Specifically, the isolated power module V1 is a 1500VDC isolated power module. When 3000VDC isolation is required, the isolated power module V1 can be removed and replaced with the isolated power module V2 for power supply; the isolated power module V3 is a 1500VDC isolated power module, which supplies power to the acquisition circuit.
[0102] Chip UL1 and chip EL2 form RS485 isolated signal transmission; chip UL2 is Ethernet isolated signal transmission; chip UL4 is CAN isolated signal transmission.
[0103] In summary, the purpose of the present invention is to provide a multi-channel resistance acquisition module that can achieve high precision, high stability, long distance and low cost. The surge protection circuit realizes surge, overvoltage and electrostatic protection at the measuring end without affecting the high resistance measurement accuracy, so that the port can be directly connected to 60V high voltage without damage. The multi-channel loop detection input adopts a unique chip selection circuit to achieve low-cost and stable 8-channel long-line high resistance measurement. By outputting an excitation voltage less than 2.6V, 40 megohm high resistance of 8 leads up to 5 meters can be stably measured at the same time. The high-precision filtering segmented ratio sampling circuit combines high-precision operational amplifiers, analog switches, and high-precision ADC chips to achieve high-anti-interference resistance segmented precision measurement. The ratio sampling method is adopted to filter out the interference of power supply and excitation circuit fluctuations on sampling, realize long-term stable sampling, and the accuracy will not decrease with the aging of the device. The MCU main chip is the core of the entire circuit. By controlling the multi-channel loop detection circuit, the 8 channel acquisition circuits are cyclically switched, and the resistance value is obtained by reading the ADC chip. Then communicate with the host computer through the communication circuit to transmit the collected data. The communication output circuit uploads the data collected by the MCU to the host computer through RS485, Ethernet or CAN to achieve on-site interaction. By adopting magnetic and electric isolation chips and isolated power modules, safe electrical isolation of more than 1500V is achieved, making the product more stable and suitable for industrial occasions. The power circuit adopts anti-reverse connection and wide voltage input design. It can achieve reverse connection protection, 9-30V wide voltage input, and 1500V safe isolation protection. It can provide safe and stable voltage and current for each component.
[0104] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A multi-channel resistance measurement module with low voltage and long distance high resistance measurement, including a power supply circuit and an MCU main control circuit, characterized in that: It also includes a multi-channel cycle detection input circuit and a filter sampling circuit electrically connected to the MCU main control circuit respectively, and the multi-channel cycle detection input circuit is also electrically connected to the filter sampling circuit; The multi-channel cycle detection input circuit is electrically connected to a multi-channel surge protection circuit, and the multi-channel surge protection circuit is electrically connected to the multi-channel resistance input circuit one-to-one; The MCU main control circuit controls the multi-channel cyclic detection input circuit to cyclically switch each channel to collect the current of each channel circuit, and performs segmented precision measurement through the high anti-interference resistance of the filter sampling circuit. The MCU main control circuit reads the filter sampling circuit to obtain the resistance value, and the resistance value data is uploaded to the host computer through the communication output circuit; The power supply circuit is provided with a protection circuit (2), the output end of the protection circuit (2) is electrically connected to a DC-DC step-down circuit (1), and the DC-DC step-down circuit (1) supplies power to the MCU main control circuit, the filter sampling circuit, the multi-channel cycle detection input circuit and the multi-channel surge protection circuit respectively through a transformer.
2. The multi-channel resistance measurement module with low voltage and long distance high resistance measurement according to claim 1, characterized in that: The output end of the DC-DC step-down circuit (1) is also connected to the communication output circuit.
3. The multi-channel resistance measurement module with low voltage and long distance high resistance measurement according to claim 1 or 2, characterized in that: The communication output circuit includes one or more combinations of RS485 communication circuit, Ethernet communication circuit and CAN communication circuit.
4. The multi-channel resistance measurement module with low voltage and long distance high resistance measurement according to claim 1, characterized in that: The MCU in the MCU main control circuit adopts a 32-bit ARM series single-chip microcomputer.
5. The multi-channel resistance measurement module with low voltage and long distance high resistance measurement according to claim 4, characterized in that: The multi-channel cyclic detection input circuit comprises an 8-channel detection circuit (9) for positive end excitation input switching, an 8-channel detection circuit (10) for negative end switching corresponding to the 8-channel detection circuit for positive end excitation input switching one-to-one, an 8-channel reference resistance switching circuit (16), and an 8-channel switching reference resistance acquisition circuit (21); The fixed pin of the 8-channel detection circuit (9) for switching the positive end excitation input is connected to the excitation positive end (8); Any corresponding set of positive end excitation input switching channel detection circuits and negative end switching channel detection circuits include a first measured resistor (13), a voltage regulator diode D1, a first resettable fuse (14), a switch diode D3, a switch diode D2, a second resettable fuse (15), a second measured resistor (172), a third measured resistor (173), a fourth measured resistor (174), a fifth measured resistor (175), a sixth measured resistor (176), a seventh measured resistor (177), an eighth measured resistor (178), and a ninth measured resistor (171); The first end of the first measured resistor (13) is connected to a positive channel detection circuit, the second end of the first measured resistor (13) is connected to the first end of the first resettable fuse (14), and the second end of the first resettable fuse (14) is connected to a negative channel detection circuit; The cathode terminal of the voltage stabilizing diode D1 is connected to the first end of the first resistor (13) to be measured, and the anode terminal thereof is grounded; The positive terminal of the switching diode D3 is grounded, and the negative terminal thereof is connected to the negative terminal of the voltage-stabilizing diode D1, and the circuit node between the switching diodes D3 is connected to the second end of the first self-resetting fuse (14); The cathode terminal of the switch diode D2 is connected to the first end of the first measured resistor (13), and the anode terminal thereof is grounded; the circuit node between the switch diodes D2 is connected to the first end of the second resettable fuse (15); and the second end of the second resettable fuse (15) is connected to the second end of the first measured resistor (13); The negative terminal of the switching diode D2 is also connected to a channel circuit in the positive end acquisition signal amplification circuit (11) of the 8-channel switching; The circuit node between the switching diodes D2 is also connected to a channel circuit in the negative end acquisition signal amplification circuit (12) of the 8-channel switching; The fixed pin of the negative-end switching 8-channel detection circuit (10) is connected to the fixed pin of the 8-channel reference resistor switching circuit (16), and three pins of the 8-channel reference resistor switching circuit (16) are interconnected to form an interconnected pin; The first ends of the ninth measured resistor (171), the second measured resistor (172), the third measured resistor (173), the fourth measured resistor (174), the fifth measured resistor (175), and the sixth measured resistor (176) are connected to each other and to the negative excitation terminal (18) and the negative terminal (19) of the reference signal amplification circuit; The second end of the sixth measured resistor (176) is connected to the first end of the seventh measured resistor (177), the second end of the seventh measured resistor (177) is connected to the first end of the eighth measured resistor (178), and the second end of the eighth measured resistor (178) is connected to the interconnect pin and the seventh channel switching pin of the 8-channel switching reference resistor acquisition circuit (21); The two ends of the seventh measured resistor (177) are respectively connected to the fifth channel switching pin of the 8-channel switching reference resistor acquisition circuit (21) and the sixth switching pin of the 8-channel switching reference resistor acquisition circuit (21); The second end of the fifth measured resistor (175) is respectively connected to the 8th switching pin of the 8-channel switching reference resistor acquisition circuit (21) and the 8th switching pin of the 8-channel reference resistor switching circuit (16); The second end of the fourth measured resistor (174) is respectively connected to the fourth switching pin of the 8-channel switching reference resistor acquisition circuit (21) and the fourth switching pin of the 8-channel reference resistor switching circuit (16); The second end of the third measured resistor (173) is respectively connected to the third switching pin of the 8-channel switching reference resistor acquisition circuit (21) and the third switching pin of the 8-channel reference resistor switching circuit (16); The second end of the second measured resistor (172) is respectively connected to the second switching pin of the 8-channel switching reference resistor acquisition circuit (21) and the second switching pin of the 8-channel reference resistor switching circuit (16); The second end of the ninth measured resistor (171) is respectively connected to the first switching pin of the 8-channel switching reference resistor acquisition circuit (21) and the first switching pin of the 8-channel reference resistor switching circuit (16); The fixed pin of the 8-channel switching reference resistance acquisition circuit (21) is connected to the positive terminal (20) of the reference signal amplification circuit.
6. The multi-channel resistance measurement module with low voltage and long distance high resistance measurement according to claim 4, characterized in that: The filtering sampling circuit adopts a filtering segmented ratio sampling circuit, which includes: An operational amplifier filtering and amplifying circuit (5) electrically connected to the multi-channel cycle detection input circuit, the operational amplifier filtering and amplifying circuit (5) performs filtering and amplification to filter out power supply and excitation circuit fluctuations; An ADC chip acquisition circuit (6), the input end of which is electrically connected to the output end of the operational amplifier filtering and amplification circuit (5), and the ADC chip acquisition circuit (6) converts an AD value and outputs it to the MCU main control circuit; The segmented reference switching circuit (7) is bidirectionally electrically connected to the ADC chip acquisition circuit (6). After the MCU main control circuit reads the AD value, it calculates the resistance value by comparing it with the segmented reference resistance. If the resistance value exceeds the ratio reference resistance value, the MCU main control circuit will switch to a larger ratio reference resistance and collect again until an accurate resistance value is obtained.
7. The multi-channel resistance measurement module with low voltage and long distance high resistance measurement according to claim 4, characterized in that: The protection circuit (2) comprises a lightning protection and surge protection circuit and a reverse connection protection circuit; The lightning protection and surge protection circuit is a PPTC+TVS circuit composed of a resistor R71 and a bidirectional diode D40, wherein the first end of the resistor R71 is connected to the P+ end of the power supply, the second end of the resistor R71 is connected to the first end of the bidirectional diode D40, and the second end of the bidirectional diode D40 is connected to the P- end of the power supply; The power supply circuit is provided with a DC-DC power supply chip U11, and the pin 1 VIN of the DC-DC power supply chip U11 is respectively connected to the cathode of the diode D38, the first end of the capacitor C28, and the anode of the polar capacitor C34, the second end of the capacitor C28 is connected to the P-terminal of the power supply, and the cathode of the polar capacitor C34 is connected to the P-terminal of the power supply; The power supply P-end is also connected to the 4-pin ON / OFF of the DC-DC power chip U11, the positive electrode of the diode D41, the first end of the resistor R35, the negative electrode of the polarized capacitor C32, and the negative electrode of the polarized capacitor C29. The negative electrode of the diode D41 is connected to the 2-pin OUT of the DC-DC power chip U11 and the first end of the inductor L2. The second end of the resistor R35 is respectively connected to the 3-pin FB of the DC-DC power chip U11 and the first end of the resistor R28. The second end of the resistor R28 is connected to the second end of the inductor L2. The resistor R28 is connected in parallel with the capacitor C31. The second end of the inductor L2 is also connected to the positive electrode of the polarized capacitor C32 and the positive electrode of the polarized capacitor C29. The second end of the resistor R71 is also connected to the positive electrode of the light-emitting end of the optocoupler EL357, the negative electrode of the light-emitting end of the optocoupler EL357 is connected to the first end of the resistor R27, the second end of the resistor R27 is connected to the first end of the resistor R72, the second end of the resistor R72 is connected to pin 3 of an interface J11, the collector of the light-receiving end of the optocoupler EL357 is connected to the SWCLK port of the MCU, and the emitter of the light-receiving end of the optocoupler EL357 is grounded.
8. The multi-channel resistance measurement module capable of measuring high resistance at a low voltage and a long distance according to claim 7, characterized in that: The power supply circuit also includes an isolated power supply module V3 for supplying power to the filter sampling circuit, as well as an optional isolated power supply module V1 and an optional isolated power supply module V2. The isolated power supply module V1 and the isolated power supply module V2 can switchably supply power to the communication output circuit.
