Electrode grounding loop impedance measuring device and measuring method
By designing an electrode ground loop impedance measurement device and automatically switching standard square wave signals of different frequencies, the problem of large measurement errors in electrode ground loop resistance and inductance in traditional electrical exploration has been solved, and fast and accurate electrode ground loop parameter measurement has been achieved. , suitable for a variety of industrial applications.
Patent Information
- Application Number
- CN201910387905.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-05-10
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2039-05-10
AI Technical Summary
The resistance and inductance measurement methods of the electrode ground loop in traditional electrical exploration cannot effectively eliminate the influence of polarization voltage, resulting in large measurement errors and slow process, and the inability to accurately measure the nonlinear influencing factors of the electrode ground loop.
An electrode ground loop impedance measurement device is designed, including the measured electrode ground loop, preamplifier circuit, frequency selection circuit, detection circuit, analog-to-digital conversion circuit, single chip microcomputer, LCD display, keyboard, communication interface and standard square wave signal generation The device automatically switches standard square wave signals of different frequencies for measurement, and uses the gear switching circuit and frequency selection circuit to quickly obtain the resistance and inductance values of the electrode ground loop.
It achieves fast and accurate measurement of electrode ground loops, reduces measurement errors, improves data quality, and is suitable for measuring electrode ground loop parameters of electric power, telecommunications, oil fields and industrial electrical equipment.
Smart Images

Figure CN110208604B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of electrical prospecting, and in particular to a device and method for measuring electrode grounding loop impedance. Background Art
[0002] In electrical exploration, there is a common problem of electrode grounding. The electrode grounding impedance directly affects the transmission power of the exploration instrument and the quality of the data collected by the receiver. Therefore, it is necessary to measure the resistance and inductance of the electrode grounding loop in the field of electrical exploration. The common pole spacing of the traditional electrical exploration electrode input loop is between 20m and 2000m, and the inductance of the electrode grounding loop is roughly in the range of more than ten uH to 20mH. When the working frequency of electrical exploration is 10Hz or above, the induced polarization effect of the earth is very weak, and the earth response is resistive.
[0003] At present, the traditional ground resistance measuring instrument does not take into account the specific situation of the grounding of paired electrodes in electrical exploration. The compensation method or potential drop method or multimeter resistance range is often used to measure the DC resistance. The simple test of ground resistance and the measurement of the resistance value of the low-resistance conductor cannot eliminate the influence of the polarization voltage between the metal electrode and the earth in electrical exploration. On the one hand, the DC resistance measurement method is affected by the polarization process of the metal electrode. It takes several minutes for the reading to stabilize, and the measurement process is slow; on the other hand, the polarization voltage is connected in series to the electrode grounding loop (the common metal electrode polarization voltage is more than hundreds of mV), resulting in a large measurement error, and the measurement result is difficult to apply; in addition, the inductance value of the electrode grounding loop is an important nonlinear influencing factor when sending currents of different frequencies, especially when sending higher frequency currents with large pole spacing, the electrode grounding loop inductance becomes the main factor affecting the frequency characteristics of the sending current. Measuring the sending loop inductance value can not only know the influence of the output loop inductance on the currents of different frequencies during sending, but also compensate it from the measurement signal, so as to obtain more realistic earth response data. Summary of the invention
[0004] In order to solve the above technical problems, the present invention provides an electrode grounding loop impedance measuring device with simple structure and convenient operation, and provides an electrode grounding loop impedance measuring method.
[0005] The technical solution of the present invention to solve the above-mentioned problem is: an electrode grounding loop impedance measuring device, comprising a grounding loop of a measured electrode, a preamplifier circuit, a frequency selection circuit, a detection circuit, an analog-to-digital conversion circuit, a single-chip microcomputer, a liquid crystal display, a keyboard, a communication interface, a standard square wave signal generator, and a gear switching circuit. The grounding loop of the measured electrode is connected to the single-chip microcomputer after being sequentially connected to the preamplifier circuit, the frequency selection circuit, the detection circuit, and the analog-to-digital conversion circuit. The input end of the standard square wave signal generator is connected to the single-chip microcomputer, the output end of the standard square wave signal generator is connected to the input end of the gear switching circuit, the output end of the gear switching circuit is connected to the grounding loop of the measured electrode, and the liquid crystal display, the keyboard, and the communication interface are all connected to the single-chip microcomputer.
[0006] The electrode grounding loop impedance measuring device described above, the model of the single chip microcomputer is STM32F103RB.
[0007] The above-mentioned electrode grounding loop impedance measuring device, the standard square wave signal generator includes a twenty-fifth resistor, a thirty-first resistor, a fifth diode, a sixth diode, a second field effect transistor, and a fourth field effect transistor. One end of the twenty-fifth resistor, the positive electrode of the fifth diode, one end of the thirty-first resistor, and the negative electrode of the sixth diode are connected together as the input end of the standard square wave signal generator and connected to the PB1 pin of the single-chip microcomputer. The other end of the twenty-fifth resistor and the negative electrode of the fifth diode are connected together and connected to the gate of the second field effect transistor. The source of the second field effect transistor is connected to a 3.3V power supply. The other end of the thirty-first resistor and the positive electrode of the sixth diode are connected together and connected to the gate of the fourth field effect transistor. The source of the fourth field effect transistor is grounded. The drain of the second field effect transistor and the drain of the fourth field effect transistor are connected together as the output end of the standard square wave signal generator.
[0008] The above-mentioned electrode ground loop impedance measuring device, the gear switching circuit includes the first to sixth single-pole double-throw analog switches, the first to sixth single-pole double-throw analog switches all use ADG849 chips, the IN pins of the first to sixth single-pole double-throw analog switches are respectively connected to the PA9, PA8, PC9, PC8, PC7, PC6 pins of the single-chip microcomputer, the VDD pins of the first to sixth single-pole double-throw analog switches are all connected to the 3.3V power supply, the GND pins of the first to sixth single-pole double-throw analog switches are all grounded, and the twenty-ninth capacitor, The 30th capacitor, the 31st capacitor, the 33rd capacitor, the 34th capacitor, and the 35th capacitor, and the S1 pins of the first to sixth single-pole double-throw analog switches are all suspended, the S2 pins of the first to sixth single-pole double-throw analog switches are connected together as the input end of the gear switching circuit and connected to the output end of the standard square wave signal generator, and the D pins of the first to sixth single-pole double-throw analog switches are connected together as the output end of the gear switching circuit after passing through the 20th resistor, the 23rd resistor, the 24th resistor, the 32nd resistor, the 34th resistor, and the 44th resistor respectively, and are connected to the ground loop of the electrode under test and the preamplifier circuit.
[0009] The above-mentioned electrode grounding loop impedance measuring device, the preamplifier circuit includes a fourteenth operational amplifier, the in-phase input terminal of the fourteenth operational amplifier serves as the input terminal of the preamplifier circuit and is connected to the output terminal of the gear switching circuit, and the inverting input terminal and the output terminal of the fourteenth operational amplifier are connected together and serve as the output terminal of the preamplifier circuit.
[0010] The above-mentioned electrode grounding loop impedance measuring device, the frequency selection circuit includes a sixth resistor, a ninth resistor, twelfth to fifteenth resistors, a seventeenth resistor, a twenty-first resistor, a twentieth capacitor, a twenty-first capacitor, a thirty-sixth capacitor, a thirty-seventh capacitor, a ninth operational amplifier, a twenty-first operational amplifier, and a frequency selection chip, the frequency selection chip adopts MAX308, one end of the twelfth resistor and one end of the fifteenth resistor are connected together and serve as the input end of the frequency selection circuit, the other end of the twelfth resistor is connected to one end of the twentieth capacitor, one end of the twenty-first capacitor, and one end of the fourteenth resistor, the other end of the fourteenth resistor is connected to one end of the thirteenth resistor and is grounded, the other end of the thirteenth resistor is connected to the non-inverting input end of the ninth operational amplifier, the other end of the twenty-first capacitor is connected to one end of the sixth resistor and the inverting input end of the ninth operational amplifier, the other end of the twentieth capacitor and the other end of the sixth resistor are connected together and connected to the output end of the ninth operational amplifier, and the output end of the ninth operational amplifier is connected to NO1 of the frequency selection chip. pin; the other end of the fifteenth resistor is connected to one end of the thirty-sixth capacitor, one end of the thirty-seventh capacitor, and one end of the twenty-first resistor, the other end of the twenty-first resistor is connected to one end of the seventeenth resistor and is grounded, the other end of the seventeenth resistor is connected to the non-inverting input terminal of the twenty-first operational amplifier, the other end of the thirty-seventh capacitor is connected to one end of the ninth resistor and the inverting input terminal of the twenty-first operational amplifier, the other end of the thirty-sixth capacitor and the other end of the ninth resistor are connected together and connected to the output terminal of the twenty-first operational amplifier, the output terminal of the twenty-first operational amplifier is connected to the NO2 pin of the frequency selection chip; the NO3 to NO8 pins of the frequency selection chip are suspended, the VEE pin of the frequency selection chip is connected to a -8V power supply, the GND pin, A2 pin, and A1 pin of the frequency selection chip are all grounded, the A0 pin of the frequency selection chip is connected to the PC1 pin of the microcontroller, the VDD pin of the frequency selection chip is connected to the EN pin and is connected to an 8V power supply, and the COM pin of the frequency selection chip serves as the output terminal of the frequency selection circuit and is connected to the input terminal of the detection circuit.
[0011] The above-mentioned electrode grounding loop impedance measuring device, the detection circuit includes first to fourth diodes, a fourth resistor, a seventh resistor, an eighth resistor, a tenth resistor, an eleventh resistor, a sixteenth resistor, an eighteenth resistor, a seventh operational amplifier, a twelfth operational amplifier, an eighth operational amplifier, a nineteenth capacitor, and a twenty-third capacitor. One end of the seventh resistor and one end of the eighteenth resistor are connected together and serve as the input end of the detection circuit. The other end of the seventh resistor is connected to the inverting input end of the seventh operational amplifier, the anode of the first diode, and one end of the fourth resistor. The other end of the fourth resistor is connected to the cathode of the second diode. The cathode of the first diode is respectively connected to the output end of the seventh operational amplifier and the anode of the diode. One end of the eighth resistor is grounded, the other end of the eighth resistor is connected to the non-inverting input end of the seventh operational amplifier, and the eighteenth resistor is connected to the inverting input end of the seventh operational amplifier. The other end of the resistor is connected to the non-inverting input terminal of the twelfth operational amplifier, the inverting input terminal of the twelfth operational amplifier is connected to the anode of the third diode and one end of the sixteenth resistor, the other end of the sixteenth resistor is connected to the cathode of the fourth diode, the cathode of the third diode is connected to the output terminal of the twelfth operational amplifier and the anode of the fourth diode, the cathode of the second diode and the cathode of the fourth diode are connected together and connected to one end of the tenth resistor, the other end of the tenth resistor is connected to one end of the eleventh resistor and one end of the nineteenth capacitor, the other end of the eleventh resistor is connected to the non-inverting input terminal of the eighth operational amplifier and one end of the twenty-third capacitor, the other end of the twenty-third capacitor is grounded, and the other end of the nineteenth capacitor, the output terminal of the eighth operational amplifier, and the inverting input terminal of the eighth operational amplifier are connected together as the output terminal of the detection circuit.
[0012] The electrode ground loop impedance measuring device, the analog-to-digital conversion circuit includes a twenty-sixth capacitor, a nineteenth resistor, and an analog-to-digital conversion chip, the analog-to-digital conversion chip is ADS8341, the VCC+ pin of the analog-to-digital conversion chip is connected to a 3.3V power supply, one end of the twenty-sixth capacitor and one end of the nineteenth resistor are connected together and connected to the 3.3V power supply, the other end of the twenty-sixth capacitor is grounded, the other end of the nineteenth resistor is connected to the SHDN pin of the analog-to-digital conversion chip, the CH0 pin of the analog-to-digital conversion chip is connected to the output end of the detection circuit as the input end of the analog-to-digital conversion circuit, and the CH1 to C pin of the analog-to-digital conversion chip are connected to the output end of the detection circuit. The H3 pins are all floating, the COM pin of the analog-to-digital conversion chip is grounded, the Vref pin of the analog-to-digital conversion chip is connected to the VOUT pin of the 2.5V reference voltage chip, the DCLK pin of the analog-to-digital conversion chip is connected to the PB13 pin of the microcontroller, the CS pin of the analog-to-digital conversion chip is connected to the PB12 pin of the microcontroller, the BIN pin of the analog-to-digital conversion chip is connected to the PB15 pin of the microcontroller, the BUSY pin of the analog-to-digital conversion chip is floating, the DOUT pin of the analog-to-digital conversion chip serves as the output end of the analog-to-digital conversion circuit and is connected to the PB14 pin of the microcontroller, and the GND pin of the analog-to-digital conversion chip is grounded.
[0013] A method for measuring electrode ground loop impedance comprises the following steps:
[0014] 1) A 10Hz standard square wave signal is used for measurement. The gear switching circuit automatically switches to a resistance of a suitable range. The standard square wave signal is divided in series by the resistance in the gear switching circuit and the impedance of the grounding loop of the electrode to be measured. The signal obtained by the voltage division of the measured loop is amplified by the preamplifier circuit, selected by the frequency selection circuit, detected by the detection circuit, and converted by the analog-to-digital conversion circuit. It is then processed by the single-chip microcomputer to obtain the impedance value of the grounding loop of the electrode to be measured. At this time, the induced polarization effect at the measurement frequency of 10Hz is weak, and the influence of the induced polarization effect on the resistance measurement can be ignored. In addition, the length of the electrode grounding loop wire commonly used in electrical exploration is between 20 meters and 2000 meters, and the inductive reactance of the corresponding loop is roughly within 1mΩ~0.13Ω. Therefore, at this time, the influence of the inductive reactance of the electrode grounding loop on the measurement result is ignored, and the measured impedance value is the electrode grounding loop resistance value R x , assuming that the fundamental voltage in the 10Hz standard square wave is u0, and the voltage division of the grounding circuit of the electrode under test is u1, then:
[0015]
[0016] Among them, R0 is the standard resistance value of the measurement position;
[0017] 2) Automatically switch to 10kHz standard square wave signal for measurement. The amplitude of 10kHz standard square wave signal is the same as that of 10Hz standard square wave signal. The gear switching circuit automatically switches to the standard resistance of the appropriate range. At this time, the standard resistance R'0 after automatic gear shifting is connected in series with the grounding loop of the electrode under test. The signal obtained by the voltage division of the impedance Z2 of the grounding loop of the electrode under test is amplified by the preamplifier circuit, selected by the frequency selection circuit, detected by the detection circuit, and converted by the analog-to-digital conversion circuit. It is then calculated and processed by the single-chip microcomputer to obtain the impedance value of the grounding loop of the electrode under test, and further calculated to obtain the inductance value of the grounding loop of the electrode under test, thereby measuring the resistance and inductance values of the grounding loop of the electrode under test:
[0018]
[0019]
[0020] Among them, u0′ is the fundamental voltage in the 10kHz standard square wave signal, and the amplitude of u0′ is equal to the fundamental amplitude u0 of the 10Hz standard square wave signal in step 1; u2 is the voltage division signal generated on the grounding loop of the electrode under test after the fundamental voltage u0′ in the 10kHz standard square wave signal is connected in series with the grounding loop of the electrode under test by the standard resistor R'0 of this gear; L is the inductance of the grounding loop of the electrode under test, and the frequency of f2 is 10kHz.
[0021] In the above-mentioned electrode grounding loop impedance measurement method, the steps of the gear switching circuit automatically switching to the resistance of the appropriate range are: first set it to the 1kΩ gear for measurement to increase the gear shifting speed, the range is 0.3kΩ~4kΩ, when the measurement result is greater than the impedance range of 4kΩ in this gear, automatically switch to increase the range step by step to the appropriate gear, the range of the 10kΩ gear is 3kΩ~40kΩ, the range of the 100kΩ gear is 30kΩ~400kΩ, the range of the 1MΩ gear is 300kΩ~4MΩ, the range of the 10MΩ gear is 3MΩ~10MΩ, and the measurement value is obtained by measurement. When the measurement value exceeds 10MΩ, it indicates that the input circuit is open and a warning signal is output; when the measurement value of the 1kΩ gear is less than 0.3k ohms, reduce the gear to the 100 ohm gear for measurement.
[0022] The beneficial effects of the present invention are:
[0023] 1. The electrode grounding loop impedance measuring device of the present invention has a simple circuit, fast measurement, and low cost. Since it can be self-contained, it can also be used as a functional module and embedded in the electrical prospecting transmitter to measure the output loop grounding resistance and inductance before the output current to ensure the safety and reliability of the transmitter, or embedded in the receiver to measure the receiver input loop resistance and inductance parameters to ensure the quality of the receiver data collection, and the operation is safe and reliable. In addition, the present invention is also applicable to the measurement of electrode grounding loop impedance parameters of power, telecommunications, oil fields, construction and industrial electrical equipment, does not require auxiliary electrodes, and is easy to use, safe and fast.
[0024] 2. In the measurement method of the present invention, according to the characteristics of the electrode grounding loop commonly used in electrical exploration, two standard square wave signals with different frequencies are used for automatic measurement to quickly obtain the resistance and inductance values of the electrode grounding loop, which not only reasonably avoids the frequency band with strong earth induced polarization response, but also avoids the frequency band with strong power frequency interference, which is beneficial to improving the anti-interference ability of the measuring device and reducing the complexity and cost of the measuring device circuit.
[0025] 3. The measurement method of the present invention can be used to analyze the influence of the grounding loop inductance of the transmitting electrode on the current of sending different frequencies when sending different frequencies. It can be used as a basis for correcting and compensating different frequency signals in the received signal, thereby improving the quality of the receiver measurement data. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a structural block diagram of the measuring device of the present invention.
[0027] Figure 2 for Figure 1 The chip circuit diagram of the microcontroller in.
[0028] Figure 3 for Figure 1Circuit diagram of the standard square wave signal generator, gear switching circuit, and preamplifier circuit.
[0029] Figure 4 for Figure 1 Circuit diagram of the frequency selection circuit and detection circuit.
[0030] Figure 5 for Figure 1 Circuit diagram of the analog-to-digital conversion circuit in.
[0031] Figure 6 for Figure 1 Circuit diagram of the LCD display, keyboard and communication interface.
[0032] Figure 7 for Figure 1 The power supply circuit diagram in.
[0033] Figure 8 It is the working flow chart of the measuring method of the present invention.
[0034] Fig. 9 This is the automatic gear shifting flow chart. DETAILED DESCRIPTION
[0035] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0036] like Figure 1 As shown, an electrode grounding loop impedance measuring device includes a grounding loop of a measured electrode, a preamplifier circuit, a frequency selection circuit, a detection circuit, an analog-to-digital conversion circuit, a single-chip microcomputer, a liquid crystal display, a keyboard, a communication interface, a standard square wave signal generator, and a gear switching circuit. The grounding loop of the measured electrode is connected to the single-chip microcomputer after passing through the preamplifier circuit, the frequency selection circuit, the detection circuit, and the analog-to-digital conversion circuit in sequence. The input end of the standard square wave signal generator is connected to the single-chip microcomputer, the output end of the standard square wave signal generator is connected to the input end of the gear switching circuit, the output end of the gear switching circuit is connected to the grounding loop of the measured electrode, and the liquid crystal display, the keyboard, and the communication interface are all connected to the single-chip microcomputer.
[0037] like Figure 2 As shown, the model of the single chip microcomputer is STM32F103RB.
[0038] like Figure 3As shown, the standard square wave signal generator includes a twenty-fifth resistor R25, a thirty-first resistor R31, a fifth diode D5, a sixth diode D6, a second field effect transistor Q2, and a fourth field effect transistor Q4. One end of the twenty-fifth resistor R25, the positive electrode of the fifth diode D5, one end of the thirty-first resistor R31, and the negative electrode of the sixth diode D6 are connected together as the input end of the standard square wave signal generator and connected to the PB1 pin of the single-chip microcomputer. The other end of the twenty-fifth resistor R25 and the negative electrode of the fifth diode D5 are connected together and connected to the gate of the second field effect transistor Q2. The source of the second field effect transistor Q2 is connected to a 3.3V power supply. The other end of the thirty-first resistor R31 and the positive electrode of the sixth diode D6 are connected together and connected to the gate of the fourth field effect transistor Q4. The source of the fourth field effect transistor Q4 is grounded. The drain of the second field effect transistor Q2 and the drain of the fourth field effect transistor Q4 are connected together as the output end of the standard square wave signal generator.
[0039] like Figure 3As shown, the gear switching circuit includes a first single-pole double-throw analog switch U13, a second single-pole double-throw analog switch U15, a third single-pole double-throw analog switch U16, a fourth single-pole double-throw analog switch U17, a fifth single-pole double-throw analog switch U18, and a sixth single-pole double-throw analog switch U19. The first single-pole double-throw analog switch U13, the second single-pole double-throw analog switch U15, the third single-pole double-throw analog switch U16, the fourth single-pole double-throw analog switch U17, the fifth single-pole double-throw analog switch U18, and the sixth single-pole double-throw analog switch U19 all adopt the ADG849 chip. The first single-pole double-throw analog switch U13, the second single-pole double-throw analog switch U15, the third single-pole double-throw analog switch U16, the fourth single-pole double-throw analog switch U17, the fifth single-pole double-throw analog switch U18, and the sixth single-pole double-throw analog switch U19 all adopt the ADG849 chip. The IN pins of the fifth single-pole double-throw analog switch U18 and the sixth single-pole double-throw analog switch U19 are respectively connected to the PA9, PA8, PC9, PC8, PC7, and PC6 pins of the single-chip microcomputer, the VDD pins of the first single-pole double-throw analog switch U13, the second single-pole double-throw analog switch U15, the third single-pole double-throw analog switch U16, the fourth single-pole double-throw analog switch U17, the fifth single-pole double-throw analog switch U18, and the sixth single-pole double-throw analog switch U19 are all connected to the 3.3V power supply, the GND pins of the first to sixth single-pole double-throw analog switches U19 are all grounded, the first single-pole double-throw analog switch U13, the second single-pole double-throw analog switch U15, the third single-pole double-throw analog switch U16, the fourth single-pole double-throw analog switch U17, the fifth single-pole double-throw analog switch U18, and the sixth single-pole double-throw analog switch U19 are all connected to the 3.3V power supply. The twenty-ninth capacitor C29, the thirtieth capacitor C30, the thirty-first capacitor C31, the thirty-third capacitor C33, the thirty-fourth capacitor C34, and the thirty-fifth capacitor C35 are respectively connected between the VDD pin and the GND pin of the double-throw analog switch U18 and the sixth single-pole double-throw analog switch U19, and the S1 pins of the first single-pole double-throw analog switch U13, the second single-pole double-throw analog switch U15, the third single-pole double-throw analog switch U16, the fourth single-pole double-throw analog switch U17, the fifth single-pole double-throw analog switch U18, and the sixth single-pole double-throw analog switch U19 are all suspended, and the first single-pole double-throw analog switch U13, the second single-pole double-throw analog switch U15, the third single-pole double-throw analog switch U16, the fourth single-pole double-throw analog switch U17, the fifth single-pole double-throw analog switch U18, and the sixth single-pole double-throw analog switch U19 are all suspended. The S2 pins of the fifth single-pole double-throw analog switch U18 and the sixth single-pole double-throw analog switch U19 are connected together as the input end of the gear switching circuit and connected to the output end of the standard square wave signal generator, and the D pins of the first single-pole double-throw analog switch U13, the second single-pole double-throw analog switch U15, the third single-pole double-throw analog switch U16, the fourth single-pole double-throw analog switch U17, the fifth single-pole double-throw analog switch U18 and the sixth single-pole double-throw analog switch U19 are connected together as the output end of the gear switching circuit after passing through the twentieth resistor R20, the twenty-third resistor R23, the twenty-fourth resistor R24, the thirty-second resistor R32, the thirty-fourth resistor R34 and the forty-fourth resistor R44 respectively. , And connected to the ground loop of the electrode under test and the preamplifier circuit.
[0040] like Figure 3 As shown, the preamplifier circuit includes a fourteenth operational amplifier U14, the in-phase input terminal of the fourteenth operational amplifier U14 serves as the input terminal of the preamplifier circuit and is connected to the output terminal of the gear switching circuit, and the inverting input terminal and the output terminal of the fourteenth operational amplifier U14 are connected together and serve as the output terminal of the preamplifier circuit.
[0041] See also Figure 3 The single chip generates a square wave signal of a given frequency, which is driven by Q2 and Q4 to obtain a low frequency (10Hz) or high frequency (10kHz) square wave signal output with a constant voltage amplitude. 13 , U 15 ~U 19 One of the six electronic switches is selected to connect the resistor connected to it. The resistor and the electrode grounding circuit divide the standard square wave signal. The divided signal is transmitted through U 14 After preamplification and buffering, the output is sent to the frequency selection circuit.
[0042] like Figure 4As shown, the frequency selection circuit includes a sixth resistor R6, a ninth resistor R9, a twelfth resistor R12, a thirteenth resistor R13, a fourteenth resistor R14, a fifteenth resistor R15, a seventeenth resistor R17, a twenty-first resistor R21, a twentieth capacitor C20, a twenty-first capacitor C21, a thirty-sixth capacitor C36, a thirty-seventh capacitor C37, a ninth operational amplifier U9, a twenty-first operational amplifier U21, and a frequency selection chip U20. The frequency selection chip U20 adopts MAX308. One end of the twelfth resistor R12 and one end of the fifteenth resistor R15 are connected together and serve as the input end of the frequency selection circuit. The other end of the twelfth resistor R12 is connected to one end of the twentieth capacitor C20, one end of the twenty-first capacitor C21, and one end of the fourteenth resistor R14. The other end of the fourteenth resistor R14 is connected to one end of the thirteenth resistor R13 and is grounded. The other end of the thirteenth resistor R13 is connected to the non-inverting input terminal of the ninth operational amplifier U9. The other end of the twenty-first capacitor C21 is connected to one end of the sixth resistor R6 and the inverting input terminal of the ninth operational amplifier U9. The other end of the twentieth capacitor C20 and the other end of the sixth resistor R6 are connected together and connected to the output terminal of the ninth operational amplifier U9. The output terminal of the ninth operational amplifier U9 is connected to the output terminal of the ninth operational amplifier U9. The output end is connected to the NO1 pin of the frequency selection chip U20; the other end of the fifteenth resistor R15 is connected to one end of the thirty-sixth capacitor C36, one end of the thirty-seventh capacitor C37, and one end of the twenty-first resistor R21, the other end of the twenty-first resistor R21 is connected to one end of the seventeenth resistor R17 and grounded, the other end of the seventeenth resistor R17 is connected to the non-inverting input end of the twenty-first operational amplifier U21, the other end of the thirty-seventh capacitor C37 is connected to one end of the ninth resistor R9 and the inverting input end of the twenty-first operational amplifier U21, the other end of the thirty-sixth capacitor C36 and the other end of the ninth resistor R9 are connected Together and connected to the output end of the twenty-first operational amplifier U21, the output end of the twenty-first operational amplifier U21 is connected to the NO2 pin of the frequency selection chip U20; the NO3 to NO8 pins of the frequency selection chip U20 are suspended, the VEE pin of the frequency selection chip U20 is connected to a -8V power supply, the GND pin, A2 pin, and A1 pin of the frequency selection chip U20 are all grounded, the A0 pin of the frequency selection chip U20 is connected to the PC1 pin of the microcontroller, the VDD pin and EN pin of the frequency selection chip U20 are connected together and connected to an 8V power supply, and the COM pin of the frequency selection chip U20 serves as the output end of the frequency selection circuit and is connected to the input end of the detection circuit.
[0043] like Figure 4As shown, the detection circuit includes a first diode D1, a second diode D2, a third diode D3, a fourth diode D4, a fourth resistor R4, a seventh resistor R7, an eighth resistor R8, a tenth resistor R10, an eleventh resistor R11, a sixteenth resistor R16, an eighteenth resistor R18, a seventh operational amplifier U7, a twelfth operational amplifier U12, an eighth operational amplifier U8, a nineteenth capacitor C19, and a twenty-third capacitor C23. One end of the seventh resistor R7 and one end of the eighteenth resistor R18 are connected together and serve as an input end of the detection circuit. The other end of the seventh resistor R7 is connected to the inverting input end of the seventh operational amplifier U7, the anode of the first diode D1, and one end of the fourth resistor R4. The other end of the fourth resistor R4 is connected to the cathode of the second diode D2. The cathode of the first diode D1 is respectively connected to the output end of the seventh operational amplifier U7 and the anode of the diode. One end of the eighth resistor R8 is grounded, and the other end of the eighth resistor R8 is connected to the non-inverting input end of the seventh operational amplifier U7. The other end of the eighteenth resistor R18 is connected to the non-inverting input terminal of the twelfth operational amplifier U12, the inverting input terminal of the twelfth operational amplifier U12 is connected to the anode of the third diode D3 and one end of the sixteenth resistor R16, the other end of the sixteenth resistor R16 is connected to the cathode of the fourth diode D4, the cathode of the third diode D3 is connected to the output terminal of the twelfth operational amplifier U12 and the anode of the fourth diode D4, the cathode of the second diode D2 and the cathode of the fourth diode D4 are connected together and connected to one end of the tenth resistor R10, the other end of the tenth resistor R10 is connected to one end of the eleventh resistor R11 and one end of the nineteenth capacitor C19, the other end of the eleventh resistor R11 is connected to the non-inverting input terminal of the eighth operational amplifier U8 and one end of the twenty-third capacitor C23, the other end of the twenty-third capacitor C23 is grounded, the other end of the nineteenth capacitor C19, the output terminal of the eighth operational amplifier U8, and the inverting input terminal of the eighth operational amplifier U8 are connected together as the output terminal of the detection circuit.
[0044] See also Figure 4 The frequency selection circuit and detection circuit of the present invention, the pre-stage U 14 Output signal, through U9, U 21 Bandpass filtering, by U 20 Switch to select the low-frequency fundamental wave or high-frequency fundamental wave signal with the frequency corresponding to the standard square wave signal, and pass it through U7, U 12 The absolute value detection circuit is used for detection, and then the signal is low-pass filtered by U8 and sent to the analog-to-digital conversion circuit.
[0045] like Figure 5As shown, the analog-to-digital conversion circuit includes a twenty-sixth capacitor C26, a nineteenth resistor R19, and an analog-to-digital conversion chip U11. The analog-to-digital conversion chip U11 is ADS8341. The VCC+ pin of the analog-to-digital conversion chip U11 is connected to a 3.3V power supply. One end of the twenty-sixth capacitor C26 and one end of the nineteenth resistor R19 are connected together and connected to the 3.3V power supply. The other end of the twenty-sixth capacitor C26 is grounded. The other end of the nineteenth resistor R19 is connected to the SHDN pin of the analog-to-digital conversion chip U11. The CH0 pin of the analog-to-digital conversion chip U11 is connected to the output end of the detection circuit as the input end of the analog-to-digital conversion circuit. The CH1 to C The H3 pins are all floating, the COM pin of the analog-to-digital conversion chip U11 is grounded, the Vref pin of the analog-to-digital conversion chip U11 is connected to the VOUT pin of the 2.5V reference voltage chip U5, the DCLK pin of the analog-to-digital conversion chip U11 is connected to the PB13 pin of the microcontroller, the CS pin of the analog-to-digital conversion chip U11 is connected to the PB12 pin of the microcontroller, the BIN pin of the analog-to-digital conversion chip U11 is connected to the PB15 pin of the microcontroller, the BUSY pin of the analog-to-digital conversion chip U11 is floating, the DOUT pin of the analog-to-digital conversion chip U11 serves as the output end of the analog-to-digital conversion circuit and is connected to the PB14 pin of the microcontroller, and the GND pin of the analog-to-digital conversion chip U11 is grounded.
[0046] See also Figure 5 , in the analog-to-digital conversion circuit, U 11 After analog-to-digital conversion, the data is sent to the microcontroller for calculation and processing. The measured electrode grounding loop resistance and inductance values are displayed on the LCD and can be uploaded to the host computer.
[0047] The DCLK pin of the analog-to-digital conversion chip is connected to the PB13 pin of the microcontroller, the CS pin of the analog-to-digital conversion chip is connected to the PB12 pin of the microcontroller, the BIN pin of the analog-to-digital conversion chip is connected to the PB15 pin of the microcontroller, the BUSY pin of the analog-to-digital conversion chip is left floating, the DOUT pin of the analog-to-digital conversion chip serves as the output end of the analog-to-digital conversion circuit and is connected to the PB14 pin of the microcontroller, and the GND pin of the analog-to-digital conversion chip is grounded.
[0048] A method for measuring electrode ground loop impedance comprises the following steps:
[0049] 1) A 10Hz standard square wave signal is used for measurement. The gear switching circuit automatically switches to a resistance of a suitable range. The standard square wave signal is divided in series by the resistance in the gear switching circuit and the impedance of the grounding loop of the electrode to be measured. The signal obtained by the voltage division of the measured loop is amplified by the preamplifier circuit, selected by the frequency selection circuit, detected by the detection circuit, and converted by the analog-to-digital conversion circuit. It is then processed by the single-chip microcomputer to obtain the impedance value of the grounding loop of the electrode to be measured. At this time, the induced polarization effect is negligible. The length of the electrode grounding loop wire commonly used in electrical exploration is between 20 meters and 2000 meters, and the inductive reactance of the corresponding loop is within 1mΩ~0.13Ω. Therefore, the influence of the inductive reactance of the electrode grounding loop on the measurement result is ignored at this time. The impedance value obtained by measurement is the resistance value R of the electrode grounding loop. x , assuming that the fundamental voltage in the 10Hz standard square wave is u0, and the voltage division of the grounding circuit of the electrode under test is u1, then:
[0050]
[0051] Among them, R0 is the standard resistance value of the measurement position;
[0052] 2) Automatically switch to 10kHz standard square wave signal for measurement. The amplitude of 10kHz standard square wave signal is the same as that of 10Hz standard square wave signal. The gear switching circuit automatically switches to the resistance of the appropriate range. At this time, the standard resistance R'0 after automatic gear shifting is connected in series with the grounding loop of the electrode under test. The signal obtained by the voltage division of the impedance Z2 of the grounding loop of the electrode under test is amplified by the preamplifier circuit, selected by the frequency selection circuit, detected by the detection circuit, and converted by the analog-to-digital conversion circuit. It is then calculated and processed by the single-chip microcomputer to obtain the impedance value of the grounding loop of the electrode under test, and further calculated to obtain the inductance value of the grounding loop of the electrode under test, thereby measuring the resistance and inductance values of the grounding loop of the electrode under test:
[0053]
[0054]
[0055] Among them, u0′ is the fundamental voltage in the 10kHz standard square wave signal, the amplitude of u0′ is equal to the fundamental amplitude u0 of the 10Hz standard square wave signal in step 1, u2 is the voltage division signal generated on the grounding loop of the electrode under test after the fundamental voltage u0′ in the 10kHz standard square wave signal is connected in series with the grounding loop of the electrode under test through a standard resistor; L is the inductance of the grounding loop of the electrode under test, and f2 is 10kHz.
[0056] Figure 6The circuit diagram of the liquid crystal display, keyboard and communication interface. The liquid crystal display of the present invention selects an LCD1602 liquid crystal display with a font library, which is used to display the measured value and the gear status information. Among them, D0~D7 are 8-bit parallel data lines, which are respectively connected to the PA0~PA7 ports of the single-chip microcomputer, and EN, W / R, and RS are control lines respectively connected to the PB0, PC5, and PC4 ports of the single-chip microcomputer. Potentiometer R3 is used to adjust the contrast of the LCD, Q1 is used for backlight control, and its base is connected to PB2 of the single-chip microcomputer. After entering the sleep mode, the backlight can be controlled to turn off, and the backlight can be turned on in the normal mode. The keyboard circuit is used for function switching, and the machine is turned on to enter the automatic shift measurement mode. After entering the sleep mode, press S2 to exit the sleep mode for automatic measurement. The communication interface circuit is a USB interface. The present invention uses the USB interface module and JTAG simulation debugging module inside the STM32103RB single-chip microcomputer, which are respectively used for communication between the single-chip microcomputer and the host computer and simulation debugging of the single-chip microcomputer.
[0057] like Figure 7As shown, the power supply circuit includes a battery BT1, a power switch SW, a 5V power supply voltage regulator chip U2, a 3.3V power supply voltage regulator chip U3, a 2.5V reference voltage chip U5, a polarity reversal power conversion chip U4, a first capacitor C1, a second capacitor C2, a third capacitor C3, a fourth capacitor C4, a fifth capacitor C5, a sixth capacitor C6, a seventh capacitor C7, an eighth capacitor C8, a first resistor R1, and a first light-emitting diode DS1. The selected polarity reversal power conversion chip U4 adopts ICL7660S. The positive electrode of the battery BT1 is connected to one end of the power switch SW, and the other end of the power switch SW is connected to the first The second capacitor C2 is connected to the VIN pin of the 5V power supply voltage regulator chip U2, the other end of C2 and the GND pin of the chip U2 are connected to the power ground, the output end VOUT pin of the voltage regulator chip U2 is connected to one end of C1, one end of C3, the VIN end of the 3.3V voltage regulator chip U3, and the V+ pin of the polarity reversal power conversion chip U4, the other end of the first capacitor C1 and the other end of the third capacitor C3 are connected to the power ground, the CAP+ pin of the polarity reversal power conversion chip U4 is connected to one end of the seventh capacitor C7, the other end of the capacitor C7 is connected to the CAP- of the chip U4, and the VOUT pin of U4 is connected to the eighth One end of capacitor C8 is connected, and the other end of C8 and the GND pin of U4 are all connected to the power ground. The BOOST pin, OSC pin, and LV pin of the polarity reversal power conversion chip U4 are left floating. U4 converts the +5V power input from the V+ pin into a -5V power supply and outputs -5V from the VOUT pin to provide a -5V negative power supply for the operational amplifier. The VOUT pin of the 3.3V power regulator chip U3 is respectively connected to one end of C4, one end of R1, one end of C5, and the VIN end of U5. The other end of C4, the other end of C5, and the GND pin of U3 are connected to the power ground. The 3.3V power regulator chip U3 A high-precision 3.3V power supply is provided for the single-chip microcomputer and its affiliated digital circuits, and the standard square wave signal generating circuit. The other end of R1 is connected to the positive electrode of the light-emitting diode DS1, and the negative electrode of DS1 is connected to the power ground. When the power voltage regulator chip U3 outputs 3.3V normally, the light-emitting diode DS1 emits light, the GND pin of the 2.5V reference voltage chip U5 is grounded, the VOUT pin of U5 is connected to the Vref pin of the analog-to-digital conversion chip U11 and one end of the sixth capacitor C6, and the other end of the sixth capacitor is connected to the power ground. The reference voltage chip U5 outputs a stable 2.5V to provide a 2.5V reference voltage for the analog-to-digital conversion chip.
[0058] Figure 8The flowchart of the measurement method is shown in Figure 1. After the system is turned on, the single-chip computer first determines whether the sleep condition is met (the system will make the sleep mode effective every 10 minutes in the measurement mode, or press the sleep button to enter the sleep mode, and press the sleep button again to exit the sleep mode). If the sleep condition is met, it will enter the low power consumption state of the sleep mode, otherwise it will enter the measurement mode. In the measurement mode, the standard square wave signal generation circuit first outputs a set of 10Hz standard square wave signals. At this time, after automatic range switching and measurement data processing, the resistance value of the electrode grounding loop to be measured is obtained; then the standard square wave signal generation circuit outputs a set of 10kHz standard square wave signals, and then after automatic range switching and measurement data processing, the inductance value of the electrode grounding loop to be measured is further obtained; the LCD displays the measured ground electrode input loop resistance and inductance values, and the measurement results can be uploaded to the host computer through the communication interface, and then the measurement of the next measurement cycle is repeated.
[0059] Fig. 9 The automatic gear switching flow chart of the present invention is as follows. In electrical prospecting, according to different grounding conditions, the electrode grounding loop impedance is usually between n×1Ω and n×100kΩ. The electrode grounding loop impedance measurement range of the present invention is set to 0-10MΩ. When the automatic gear is switched, the 1kΩ gear is first set for measurement (the range is 0.3kΩ-4kΩ) to increase the gear shifting speed. When the measurement result is greater than the impedance range of 4kΩ, the range is automatically switched to increase step by step. The measurement value is obtained by measuring at the appropriate gear (the range of the 10kΩ gear is 3kΩ~40kΩ, the range of the 100kΩ gear is 30kΩ~400kΩ, the range of the 1MΩ gear is 300kΩ~4MΩ, and the range of the 10MΩ gear is 3MΩ~10MΩ). If the measured value exceeds 10MΩ, it means that the input circuit is open and a warning signal is output; when the measured value of the 1kΩ gear is less than 0.3k ohms, the gear is reduced to the 100 ohm gear for measurement. The electrode grounding loop resistance value obtained by automatic shifting measurement using a 10Hz low-frequency standard square wave signal and the electrode grounding loop impedance value obtained by automatic shifting measurement using a 10kHz high-frequency standard square wave signal are jointly calculated and processed to obtain the electrode grounding loop resistance and inductance values.
Claims
1. A method for measuring the impedance of an electrode grounding loop is implemented based on an electrode grounding loop impedance measuring device, wherein the electrode grounding loop impedance measuring device comprises a grounding loop of an electrode to be measured, a preamplifier circuit, a frequency selection circuit, a detection circuit, an analog-to-digital conversion circuit, a single-chip microcomputer, a liquid crystal display, a keyboard, a communication interface, a standard square wave signal generator, and a gear switching circuit. The grounding loop of the electrode to be measured is connected to the single-chip microcomputer after being sequentially connected to the preamplifier circuit, the frequency selection circuit, the detection circuit, and the analog-to-digital conversion circuit. The input end of the standard square wave signal generator is connected to the single-chip microcomputer, the output end of the standard square wave signal generator is connected to the input end of the gear switching circuit, the output end of the gear switching circuit is connected to the grounding loop of the electrode to be measured, and the liquid crystal display, the keyboard, and the communication interface are all connected to the single-chip microcomputer; the model of the single-chip microcomputer is STM32F103RB; The frequency selection circuit includes a sixth resistor, a ninth resistor, twelfth to fifteenth resistors, a seventeenth resistor, a twenty-first resistor, a twentieth capacitor, a twenty-first capacitor, a thirty-sixth capacitor, a thirty-seventh capacitor, a ninth operational amplifier, a twenty-first operational amplifier, and a frequency selection chip. The frequency selection chip adopts MAX308. One end of the twelfth resistor and one end of the fifteenth resistor are connected together and serve as the input end of the frequency selection circuit. The other end of the twelfth resistor is connected to one end of the twentieth capacitor, one end of the twenty-first capacitor, and one end of the fourteenth resistor. The other end of the fourteenth resistor is connected to one end of the thirteenth resistor and is grounded. The other end of the thirteenth resistor is connected to the in-phase input end of the ninth operational amplifier. The other end of the twenty-first capacitor is connected to one end of the sixth resistor and the inverting input end of the ninth operational amplifier. The other end of the twentieth capacitor and the other end of the sixth resistor are connected together and connected to the output end of the ninth operational amplifier. The output end of the ninth operational amplifier is connected to the NO1 pin of the frequency selection chip. The other end of the resistor is connected to one end of the thirty-sixth capacitor, one end of the thirty-seventh capacitor, and one end of the twenty-first resistor, the other end of the twenty-first resistor is connected to one end of the seventeenth resistor and is grounded, the other end of the seventeenth resistor is connected to the non-inverting input end of the twenty-first operational amplifier, the other end of the thirty-seventh capacitor is connected to one end of the ninth resistor and the inverting input end of the twenty-first operational amplifier, the other end of the thirty-sixth capacitor and the other end of the ninth resistor are connected together and connected to the output end of the twenty-first operational amplifier, the output end of the twenty-first operational amplifier is connected to the NO2 pin of the frequency selection chip; the NO3 to NO8 pins of the frequency selection chip are left floating, the VEE pin of the frequency selection chip is connected to a -8V power supply, the GND pin, A2 pin, and A1 pin of the frequency selection chip are all grounded, the A0 pin of the frequency selection chip is connected to the PC1 pin of the single-chip computer, the VDD pin of the frequency selection chip is connected to the EN pin and is connected to an 8V power supply, and the COM pin of the frequency selection chip serves as the output end of the frequency selection circuit and is connected to the input end of the detection circuit; The measurement method includes the following steps: 1) A 10Hz standard square wave signal is used for measurement. The gear switching circuit automatically switches to a resistance of a suitable range. The standard square wave signal is divided in series by the resistance in the gear switching circuit and the impedance of the grounding loop of the electrode to be measured. The signal obtained by the voltage division of the measured loop is amplified by the preamplifier circuit, selected by the frequency selection circuit, detected by the detection circuit, and converted by the analog-to-digital conversion circuit. It is then processed by the single-chip microcomputer to obtain the impedance value of the grounding loop of the electrode to be measured. At this time, the induced polarization effect is negligible. The length of the electrode grounding loop wire commonly used in electrical exploration is between 20 meters and 2000 meters, and the corresponding electrode grounding loop inductive reactance is within 1mΩ~0.13Ω. Therefore, the influence of the electrode grounding loop inductive reactance on the measurement result is ignored at this time. The measured impedance value is the electrode grounding loop resistance value R x , assuming that the fundamental voltage in the 10Hz standard square wave is u0, and the voltage division of the grounding circuit of the electrode under test is u1, then: Among them, R0 is the standard resistance value of the measurement position; 2) Automatically switch to 10kHz standard square wave signal for measurement. The 10kHz standard square wave signal has the same amplitude as the 10Hz standard square wave signal and the fundamental wave amplitude is also the same. The gear switching circuit automatically switches to the resistance of the appropriate range. At this time, the standard resistance R'0 after automatic gear shifting is connected in series with the grounding loop of the electrode under test. The signal obtained by the voltage division of the impedance Z2 of the grounding loop of the electrode under test is amplified by the preamplifier circuit, selected by the frequency selection circuit, detected by the detection circuit, and converted by the analog-to-digital conversion circuit. It is then calculated and processed by the single-chip microcomputer to obtain the impedance value of the grounding loop of the electrode under test, and the inductance value of the grounding loop of the electrode under test is further calculated, thereby measuring the resistance and inductance values of the grounding loop of the electrode under test: Among them, R x is the electrode grounding loop resistance value measured in step 1, u0′ is the fundamental voltage in the 10kHz standard square wave signal, the amplitude of u0′ is equal to the fundamental amplitude u0 of the 10Hz standard square wave signal in step 1, u2 is the voltage division signal generated on the grounding loop of the electrode under test after the fundamental voltage u0′ in the 10kHz standard square wave signal is divided in series with the grounding loop of the electrode under test by the standard resistor; L is the inductance of the grounding loop of the electrode under test, and the frequency of f2 is 10kHz.
2. The electrode grounding loop impedance measurement method according to claim 1, characterized in that: The steps of the gear switching circuit automatically switching to the resistance of the appropriate range are: first set it to the 1kΩ gear for measurement to increase the gear shifting speed, the range is 0.3kΩ~4kΩ, when the measurement result is greater than the impedance range of 4kΩ of this gear, automatically switch to increase the range step by step to the appropriate gear, the range of 10kΩ gear is 3kΩ~40kΩ, the range of 100kΩ gear is 30kΩ~400kΩ, the range of 1MΩ gear is 300kΩ~4MΩ, the range of 10MΩ gear is 3MΩ~10MΩ, measure to obtain the measured value, the measured value exceeds the result by more than 10MΩ, it means that the input circuit is open, and a warning signal is output; when the measured value of the 1kΩ gear is less than 0.3k ohm, reduce the gear to the 100 ohm gear for measurement.
3. The electrode grounding loop impedance measurement method according to claim 1, characterized in that: The standard square wave signal generator includes a twenty-fifth resistor, a thirty-first resistor, a fifth diode, a sixth diode, a second field effect transistor, and a fourth field effect transistor. One end of the twenty-fifth resistor, the positive electrode of the fifth diode, one end of the thirty-first resistor, and the negative electrode of the sixth diode are connected together as the input end of the standard square wave signal generator and connected to the PB1 pin of the single-chip microcomputer. The other end of the twenty-fifth resistor and the negative electrode of the fifth diode are connected together and connected to the gate of the second field effect transistor. The source of the second field effect transistor is connected to a 3.3V power supply. The other end of the thirty-first resistor and the positive electrode of the sixth diode are connected together and connected to the gate of the fourth field effect transistor. The source of the fourth field effect transistor is grounded. The drain of the second field effect transistor and the drain of the fourth field effect transistor are connected together as the output end of the standard square wave signal generator.
4. The electrode grounding loop impedance measurement method according to claim 3, characterized in that: The gear switching circuit includes the first to the sixth single-pole double-throw analog switches, the first to the sixth single-pole double-throw analog switches all use ADG849 chips, the IN pins of the first to the sixth single-pole double-throw analog switches are respectively connected to the PA9, PA8, PC9, PC8, PC7, PC6 pins of the single-chip microcomputer, the VDD pins of the first to the sixth single-pole double-throw analog switches are all connected to a 3.3V power supply, the GND pins of the first to the sixth single-pole double-throw analog switches are all grounded, and the twenty-ninth capacitor, the thirtieth capacitor, the first to the sixth single-pole double-throw analog switches are respectively connected between the VDD pins and the GND pins. The thirty-first capacitor, the thirty-third capacitor, the thirty-fourth capacitor, the thirty-fifth capacitor, and the S1 pins of the first to sixth single-pole double-throw analog switches are all suspended, the S2 pins of the first to sixth single-pole double-throw analog switches are connected together as the input end of the gear switching circuit and connected to the output end of the standard square wave signal generator, and the D pins of the first to sixth single-pole double-throw analog switches are connected together as the output end of the gear switching circuit after passing through the twentieth resistor, the twenty-third resistor, the twenty-fourth resistor, the thirty-second resistor, the thirty-fourth resistor, and the forty-fourth resistor respectively, and are connected to the ground loop of the electrode under test and the preamplifier circuit.
5. The electrode grounding loop impedance measurement method according to claim 4, characterized in that: The preamplifier circuit includes a fourteenth operational amplifier, the in-phase input terminal of the fourteenth operational amplifier serves as the input terminal of the preamplifier circuit and is connected to the output terminal of the gear switching circuit, and the inverting input terminal and the output terminal of the fourteenth operational amplifier are connected together and serve as the output terminal of the preamplifier circuit.
6. The electrode grounding loop impedance measurement method according to claim 5, characterized in that: The detection circuit includes first to fourth diodes, a fourth resistor, a seventh resistor, an eighth resistor, a tenth resistor, an eleventh resistor, a sixteenth resistor, an eighteenth resistor, a seventh operational amplifier, a twelfth operational amplifier, an eighth operational amplifier, a nineteenth capacitor, and a twenty-third capacitor. One end of the seventh resistor and one end of the eighteenth resistor are connected together and serve as the input end of the detection circuit. The other end of the seventh resistor is connected to the inverting input end of the seventh operational amplifier, the positive electrode of the first diode, and one end of the fourth resistor. The other end of the fourth resistor is connected to the cathode of the second diode. The cathode of the first diode is respectively connected to the output end of the seventh operational amplifier and the positive electrode of the diode. One end of the eighth resistor is grounded. The other end of the eighth resistor is connected to the non-inverting input end of the seventh operational amplifier. The other end of the eighteenth resistor is connected to the The non-inverting input terminal of the twelfth operational amplifier is connected to the anode of the third diode and one end of the sixteenth resistor, the other end of the sixteenth resistor is connected to the cathode of the fourth diode, the cathode of the third diode is connected to the output terminal of the twelfth operational amplifier and the anode of the fourth diode, the cathode of the second diode and the cathode of the fourth diode are connected together and connected to one end of the tenth resistor, the other end of the tenth resistor is connected to one end of the eleventh resistor and one end of the nineteenth capacitor, the other end of the eleventh resistor is connected to the non-inverting input terminal of the eighth operational amplifier and one end of the twenty-third capacitor, the other end of the twenty-third capacitor is grounded, and the other end of the nineteenth capacitor, the output terminal of the eighth operational amplifier, and the inverting input terminal of the eighth operational amplifier are connected together as the output terminal of the detection circuit.
7. The electrode grounding loop impedance measurement method according to claim 6, characterized in that: The analog-to-digital conversion circuit includes a twenty-sixth capacitor, a nineteenth resistor, and an analog-to-digital conversion chip, the analog-to-digital conversion chip is ADS8341, a VCC+ pin of the analog-to-digital conversion chip is connected to a 3.3V power supply, one end of the twenty-sixth capacitor and one end of the nineteenth resistor are connected together and connected to the 3.3V power supply, the other end of the twenty-sixth capacitor is grounded, the other end of the nineteenth resistor is connected to the SHDN pin of the analog-to-digital conversion chip, the CH0 pin of the analog-to-digital conversion chip is connected to the output end of the detection circuit as the input end of the analog-to-digital conversion circuit, and the CH1 to CH3 pins of the analog-to-digital conversion chip are all left floating , the COM pin of the analog-to-digital conversion chip is grounded, the Vref pin of the analog-to-digital conversion chip is connected to the VOUT pin of the 2.5V reference voltage chip, the DCLK pin of the analog-to-digital conversion chip is connected to the PB13 pin of the microcontroller, the CS pin of the analog-to-digital conversion chip is connected to the PB12 pin of the microcontroller, the BIN pin of the analog-to-digital conversion chip is connected to the PB15 pin of the microcontroller, the BUSY pin of the analog-to-digital conversion chip is floating, the DOUT pin of the analog-to-digital conversion chip is used as the output end of the analog-to-digital conversion circuit and is connected to the PB14 pin of the microcontroller, and the GND pin of the analog-to-digital conversion chip is grounded.
