Electronic detonator current-voltage detection method

By combining a dual-bus dual-resistor circuit and a multi-stage operational amplifier circuit, efficient and accurate detection of the current and voltage of electronic detonators is achieved, solving the problem of inaccurate detection under micro-current conditions and improving the safety of electronic detonators.

CN116047155BActive Publication Date: 2025-11-28SHENZHEN K FREE WIRELESS INFORMATION TECH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211481317.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-24
Publication Date
2025-11-28
Estimated Expiration
2042-11-24

AI Technical Summary

Technical Problem

Existing methods for detecting current and voltage in electronic detonators are not accurate enough under low current conditions, which affects the safety of electronic detonators.

Method used

A reliable and efficient current and voltage detection method was designed by using a two-bus dual-resistor circuit, combined with a resistor voltage divider circuit and a multi-stage operational amplifier circuit, and by sampling and calculating the voltage value on the bus through a microcontroller to obtain the voltage and current status on the A and B poles.

Benefits of technology

It improves the accuracy of current and voltage detection in electronic detonators, solves the safety issues in the use of electronic detonators, and can accurately sample within a wide range of 1uA-600mA.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116047155B_ABST
    Figure CN116047155B_ABST
Patent Text Reader

Abstract

The application discloses an electronic detonator current and voltage detection method, which comprises the following steps: after a single-chip microcomputer receives a control bus voltage instruction, an AB bus is in an energized state through a motor driver; voltage values on the two buses are sampled through the single-chip microcomputer in combination with a resistance voltage dividing circuit and a multi-stage operational amplifier amplification circuit, and a voltage difference is obtained through calculation to obtain the voltage on the AB bus; and when the current is detected, the voltage value on the low-level bus is detected, and the corresponding current condition is obtained through calculation. The application solves the safety problem of the electronic detonator, and improves the accuracy of the electronic detonator current and voltage detection.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of electronic detonator control, and particularly relates to an electronic detonator current and voltage detection method. BACKGROUND

[0002] At present, the electronic detonator is a new type of detonator using a digital control chip to accurately control the detonation process, and has the advantages of mature technology, better performance and easy management and control. The accurate multi-stage delay setting provides feasible conditions for large-scale accurate blasting. In the specific use process of the electronic detonator, it is necessary to use a detonation card to detect whether the detonator state is normal and to ensure the reliability and safety in the use process.

[0003] In the existing electronic detonator current and voltage detection method, the range of current detection is limited, and the detection accuracy under the condition of small current is poor. SUMMARY

[0004] The main purpose of the present application is to provide a reliable and efficient electronic detonator current and voltage detection method for a two-bus double-resistance circuit, to solve the safety problem of the electronic detonator, and to improve the accuracy of electronic detonator current and voltage detection.

[0005] To achieve the above purpose, the present application provides an electronic detonator current and voltage detection method applied to a current and voltage detection circuit, which comprises: a resistance voltage dividing circuit, a multi-stage operational amplifier amplification circuit connected in series, and a single-chip microcomputer connected with the series circuit, wherein the resistance voltage dividing circuit is connected with a sampling resistor, and the method comprises the following steps:

[0006] After the single-chip microcomputer receives a control bus voltage instruction, the motor driver is used to make the AB-pole bus in an energized state;

[0007] The voltage values on the two buses are sampled by the single-chip microcomputer in combination with the resistance voltage dividing circuit and the multi-stage operational amplifier amplification circuit, and the voltage difference is obtained by calculation to obtain the voltage on the AB-pole. When detecting the current, the voltage value on the low-level bus is detected, and the corresponding current condition is obtained by calculation.

[0008] The multi-stage operational amplifier amplification circuit comprises: a first-stage operational amplifier amplification circuit and a second-stage operational amplifier amplification circuit connected in series, and the first-stage operational amplifier amplification circuit is connected in series with the resistance voltage dividing circuit.

[0009] When the single-chip microcomputer receives the current acquisition instruction, the single-chip microcomputer determines the low-level bus according to the current power-on state and the level of the AB pole;

[0010] The sampling voltage of the second-stage operational amplifier amplification circuit on the low-level bus is acquired;

[0011] It is determined whether the sampling voltage of the second-stage operational amplifier amplification circuit reaches the full-scale condition;

[0012] If yes, the sampling voltage of the first-stage operational amplifier amplification circuit is acquired, and it is determined whether the sampling voltage of the first-stage operational amplifier amplification circuit reaches the full-scale condition;

[0013] If yes, the sampling voltage of the resistance voltage divider circuit is acquired;

[0014] The voltage parameter is calculated according to the sampling voltage of the resistance voltage divider circuit;

[0015] The current value is calculated according to the voltage parameter.

[0016] The voltage values on the two buses are sampled by the single-chip microcomputer in combination with the resistance voltage divider circuit and the multi-stage operational amplifier amplification circuit, the voltage difference is acquired by calculation, and the voltage on the AB pole is acquired.

[0017] When the single-chip microcomputer receives the voltage acquisition instruction, the sampling voltage of the resistance voltage divider circuit on the AB pole is acquired by the single-chip microcomputer, and the AB pole sampling voltage value is acquired;

[0018] The voltage difference value of the two is calculated by judging the size of the AB pole sampling voltage value, and the voltage on the AB pole is acquired in combination with the calculated voltage difference value.

[0019] Before the step of making the AB pole bus in the power-on state by the motor driver after the single-chip microcomputer receives the control bus voltage instruction, the method further includes:

[0020] The external serial port device of the detonation card is connected to the computer end, the serial port debugging tool is opened on the computer, the port number and the serial port baud rate are selected, and the communication is ensured to be normal.

[0021] The step of making the AB pole bus in the power-on state by the motor driver after the single-chip microcomputer receives the control bus voltage instruction includes:

[0022] After the single-chip microcomputer receives the control bus voltage instruction, the ENABLE pin of the motor driver is controlled to switch the OUT+ and OUT- output pins of the AB pole, so that the AB pole bus is in a power-on state; the PHASE pin of the motor driver is controlled to control the direction of the current through the motor driver H bridge, so that the AB pole high and low level switching is realized.

[0023] The method further comprises:

[0024] The returned data packet is viewed in the receiving frame on the serial port debugging tool, and the intercepted data content is converted into a real result through IEEE754 binary floating point number arithmetic standard.

[0025] The resistance dividing circuit comprises two dividing resistors, and the method further comprises:

[0026] The sampling voltage of the AB pole is adjusted in the sampling range by adjusting the resistance ratio of the two dividing resistors.

[0027] The first operational amplifier amplification circuit adopts a same-direction proportional amplification circuit, and the method further comprises:

[0028] The amplification multiple of the operational amplifier is obtained by adjusting the resistance ratio of the two operational amplifier resistors in the first operational amplifier amplification circuit, and the sampling voltage amplified from the microvolt to the millivolt level reaches the sampling range.

[0029] The AB pole bus is a bus for supplying power and communication for the detonation card electronic detonator, and the operational amplifier of the second operational amplifier amplification circuit and the first operational amplifier amplification circuit is set to different amplification multiples.

[0030] The resistance dividing multiple of the resistance dividing circuit is β1=12, the first amplification multiple of the first operational amplifier amplification circuit is β2=7.8, and the second amplification multiple of the second operational amplifier amplification circuit is β3=31.

[0031] Technical effects of the present application:

[0032] The scheme designs a reliable and efficient current and voltage detection method for the two-bus double-resistance circuit, the key technology is to use a layer of dividing circuit and multiple operational amplifier circuits to amplify voltage data in layers, the sampling voltage is collected by the ADC of the single-chip microcomputer and calculated to obtain the current and voltage data on the AB pole bus, the safety problem of the electronic detonator is solved, and the accuracy of the current and voltage detection of the electronic detonator is improved. BRIEF DESCRIPTION OF DRAWINGS

[0033] Figure 1 The figure is a flowchart of the electronic detonator current and voltage detection method of the present application;

[0034] Figure 2 It is a structural schematic diagram of the current voltage detection circuit of the present application;

[0035] Figure 3 It is a schematic diagram of the AB pole driving circuit involved in the present application scheme;

[0036] Figure 4 It is a schematic diagram of the current voltage detection circuit for A pole test of the present application;

[0037] Figure 5 It is a schematic diagram of the current voltage detection circuit for B pole test of the present application;

[0038] Figure 6 It is a current detection flowchart of the detonator card of the present application;

[0039] Figure 7 It is a voltage detection flowchart of the detonator card of the present application. DETAILED DESCRIPTION

[0040] It should be understood that the specific embodiments described herein are merely intended to explain the present application and are not intended to limit the present application.

[0041] Referring to Figure 1 , the present application proposes an electronic detonator current voltage detection method for sampling the current and voltage of the sampling resistance of the two bus AB poles, combining Figure 3 and Figure 4 shown, the electronic detonator current voltage detection method of the present application includes:

[0042] Step S10, after the single-chip microcomputer receives the control bus voltage instruction, the AB pole bus is in the energized state through the motor driver;

[0043] Step S20, the voltage values on the two buses are sampled through the single-chip microcomputer and in combination with the resistance voltage dividing circuit and the multi-stage operational amplifier amplification circuit, and the voltage difference is obtained by calculation to obtain the voltage on the AB pole. When detecting the current, the voltage value on the low-level bus is detected, and the corresponding current condition is obtained by calculation.

[0044] Combining Figures 2-7 shown, the method involves a current voltage detection circuit, which includes a resistance voltage dividing circuit, a multi-stage operational amplifier amplification circuit connected in series, and a single-chip microcomputer connected with the series circuit, wherein the resistance voltage dividing circuit is connected with the sampling resistance; wherein:

[0045] The two bus AB poles are the AB poles of the bus for power supply and communication of the electronic detonator card;

[0046] The resistance voltage dividing circuit is used for dividing the voltage flowing through the sampling resistance;

[0047] The multi-stage operational amplifier amplification circuit is used for grading amplification of the voltage of the sampling resistor.

[0048] The voltage of the sampling resistor is divided and amplified, so that the sampling voltage is within the sampling range of the single-chip microcomputer.

[0049] The single-chip microcomputer is used for sampling the voltage values on the two buses, and obtaining the voltage difference through calculation to obtain the voltage on the AB electrode. When detecting the current, the voltage value on the low-level bus is detected, and the corresponding current condition is obtained through calculation.

[0050] The multi-stage operational amplifier amplification circuit comprises a first-stage operational amplifier amplification circuit and a second-stage operational amplifier amplification circuit connected in series.

[0051] The second bus AB electrode is connected to a motor driver as a driving element, and the AB electrode driving circuit is as shown in Figure 2 .

[0052] The ENABLE pin of the motor driver is controlled to switch the OUT+ and OUT- output pins of the AB electrode; the PHASE pin of the motor driver is controlled to control the direction of the current through the motor driver H-bridge, thereby switching the high and low levels of the AB electrode.

[0053] The resistance dividing circuit comprises two dividing resistors, and the sampling voltage of the AB electrode is within the sampling range by adjusting the ratio of the resistance values of the two dividing resistors.

[0054] The first-stage operational amplifier amplification circuit adopts a same-direction proportional amplification circuit, which comprises an operational amplifier and two operational amplifier resistors. The output end of the operational amplifier is connected to the second-stage operational amplifier amplification circuit through one of the operational amplifier resistors. One of the operational pins of the input end of the operational amplifier is connected to one of the dividing resistors of the resistance dividing circuit, and the other operational pin of the input end of the operational amplifier is connected to the other operational amplifier resistor. The amplification multiple of the operational amplifier is obtained by adjusting the resistance ratio of the two operational amplifier resistors, and the sampling voltage amplified from the microvolt to the millivolt level reaches the sampling range.

[0055] The structure of the second-stage operational amplifier amplification circuit is the same as that of the first-stage operational amplifier amplification circuit. The voltage output by the first-stage operational amplifier amplification circuit is used as the input voltage of the second-stage operational amplifier amplification circuit, and the amplified sampling voltage is obtained through the amplification of the operational amplifier of the second-stage operational amplifier amplification circuit.

[0056] The operational amplifiers of the second-stage operational amplifier amplification circuit and the first-stage operational amplifier amplification circuit are set to different amplification multiples.

[0057] The resistance voltage division circuit resistance voltage division multiple: β1=12; the first level of the operational amplifier amplification circuit first level of amplification multiple: β2=7.8; the second level of the operational amplifier amplification circuit second level of amplification multiple: β3=31.

[0058] The multi-stage operational amplifier amplification circuit includes: a first level of the operational amplifier amplification circuit, a second level of the operational amplifier amplification circuit, which are connected in series, and the first level of the operational amplifier amplification circuit is connected in series with the resistance voltage division circuit.

[0059] When the single-chip microcomputer receives the current acquisition instruction, the single-chip microcomputer determines the high and low levels of the AB electrode according to the current power-on state, and determines the low-level bus.

[0060] Obtain the sampling voltage of the second level of the operational amplifier amplification circuit on the low-level bus.

[0061] Determine whether the sampling voltage of the second level of the operational amplifier amplification circuit reaches the full-scale condition.

[0062] If yes, obtain the sampling voltage of the first level of the operational amplifier amplification circuit, and determine whether the sampling voltage of the first level of the operational amplifier amplification circuit reaches the full-scale condition.

[0063] If yes, obtain the sampling voltage of the resistance voltage division circuit.

[0064] Calculate the voltage parameter according to the sampling voltage of the resistance voltage division circuit.

[0065] Calculate the current value according to the voltage parameter.

[0066] The step of sampling the voltage values on the two buses by the single-chip microcomputer in combination with the resistance voltage division circuit and the multi-stage operational amplifier amplification circuit, and calculating the voltage difference to obtain the voltage condition on the AB electrode also includes:

[0067] When the single-chip microcomputer receives the voltage acquisition instruction, the single-chip microcomputer obtains the sampling voltage of the resistance voltage division circuit on the AB electrode to obtain the AB sampling voltage value.

[0068] By judging the size of the AB sampling voltage value, the voltage difference value of the two is calculated, and the voltage condition on the AB electrode is obtained in combination with the calculated voltage difference value.

[0069] The step of making the AB bus in the energized state after the single-chip microcomputer receives the control bus voltage instruction further includes the following steps:

[0070] The external serial port device of the detonator card is connected to the computer, and the serial port debugging tool is opened on the computer, the port number and the serial port baud rate are selected, and the communication is ensured to be normal.

[0071] The step of making the AB bus in the energized state after the single-chip microcomputer receives the control bus voltage instruction further includes the following steps:

[0072] After the single-chip microcomputer receives the control bus voltage instruction, the ENABLE pin of the motor driver is controlled to switch the OUT+ and OUT- output pins of the AB pole, so that the AB bus is in the energized state; the PHASE pin of the motor driver is controlled to control the direction of the current through the motor driver H bridge, so as to realize the switching of the AB pole high and low level.

[0073] The method further includes the following steps:

[0074] The returned data packet is viewed in the receiving box on the serial port debugging tool, and the intercepted data content is converted into a real result through IEEE754 binary floating point number arithmetic standard.

[0075] The resistance dividing circuit includes two dividing resistors, and the method further includes the following steps:

[0076] The proportion of the resistance values of the two dividing resistors is adjusted, so that the sampling voltage of the AB pole is within the sampling range.

[0077] The first operational amplifier amplification circuit adopts a same-direction proportional amplification circuit, and the method further includes the following steps:

[0078] The resistance value proportion of the two operational amplifier resistors in the first operational amplifier amplification circuit is adjusted to obtain the amplification multiple of the operational amplifier, so that the sampling voltage after amplification of the microvolt to millivolt level voltage reaches the sampling range.

[0079] The following will be described in detail:

[0080] In order to solve the safety problem of electronic detonator, the application designs a reliable and efficient current and voltage detection circuit for two-bus double-resistance circuit, the key technology is to use a layer of voltage dividing circuit and two-stage operational amplifier circuit to amplify voltage data in layers, through the ADC of the single-chip microcomputer to collect the sampling voltage and through calculation, the data of the current and voltage on the AB bus are obtained.

[0081] Specifically, the current and voltage detection circuit mainly includes a hardware amplification part and a software sampling analysis part.

[0082] Hardware amplification part: using a layer of resistance voltage dividing circuit and two layers of operational amplifier amplification circuit in series, through the current and voltage of the sampling resistance on the AB terminal, the voltage is divided in the case of large voltage and amplified in the case of small voltage, so that the sampling voltage is within the sampling range of the single-chip microcomputer. In current detection, the current value in the range of 1uA-600mA can be accurately sampled.

[0083] Software sampling analysis part: after the current and voltage pass through the sampling resistance, they enter the sampling circuit. In voltage detection, the voltage values of the AB terminal are opposite at the same time. When the A terminal is high (the voltage supplied by the power supply), the B terminal is low (0V). The voltage values on the two buses are sampled by the single-chip microcomputer, and the voltage difference is calculated to obtain the voltage on the AB terminal. In current detection, the voltage value on the low-level bus is detected, and the corresponding current condition is obtained by calculation.

[0084] The multi-layer design of the amplification circuit is designed for the small current on the AB bus. Under normal circumstances, two-stage operational amplifier circuit is used. In the case of micro-voltage, the sampling voltage is obtained by operational amplifier amplification, and the voltage data is calculated by single-chip microcomputer ADC sampling to determine whether it is close to full scale. The next stage is a one-stage amplification circuit. When the sampling result of the two-stage amplification circuit is close to full scale, a one-stage amplification circuit is used. This layer of sampling circuit can amplify the millivolt-level voltage to the sampling range, and the ADC sampling can obtain more accurate results. The next stage is a resistance voltage dividing circuit. When the sampling voltage is large, the resistance voltage dividing circuit is used to divide the voltage, and the sampling voltage value after voltage dividing is sampled by the single-chip microcomputer ADC, and the sampling value is calculated to obtain the corresponding voltage value.

[0085] As shown in the principle block diagram of Figure 2 and Figure 3 , the main functions of each part are briefly described as follows:

[0086] AB terminal driving circuit:

[0087] 1) DRV8801PWPR motor driver (U2) is used as the driving element of the AB terminal;

[0088] 2) According to the ENABLE pin of U2 in the principle block Figure 2 , the pin is controlled to realize the switching control of OUT+ and OUT- output pins;

[0089] 3) By controlling the PHASE pin of the driver, the direction of the current through the H-bridge of the driver is controlled to realize the switching of the AB terminal high and low levels.

[0090] Two buses AB terminal and sampling resistance:

[0091] 1) Two bus AB pole for electronic detonator power supply and communication bus;

[0092] 2) Sampling resistance (R14, R15) for sampling point of bus voltage and current;

[0093] The specific calculation formula is as follows:

[0094] Voltage coefficient:

[0095] 3.3 (LDO voltage) / 4096 (ADC collection accuracy) * 12 (resistance division multiple);

[0096] Current coefficient:

[0097] 3.3 (LDO voltage) / 4096 (ADC collection accuracy) / 7.8 (amplification multiple of operational amplifier) / 10 (sampling resistance value) *1000000 (ampere to microampere);

[0098] AB pole test principle is as follows:

[0099] As shown in Figure 3 and Figure 5 , taking A pole test as an example (B pole test can refer to 4 and Figure 6 ).

[0100] 1) Three-layer sampling circuit in series, including resistance division circuit (R25, R31), first-stage operational amplifier amplification circuit (U3, R28, R32), and second-stage operational amplifier amplification circuit (U4, R30, R33);

[0101] 2) The resistance division circuit is composed of R25 and R31, A pole is input voltage, R25 divides the larger voltage, and the output voltage is the voltage of R31 in the series circuit, and the sampling voltage (TP14) is adjusted in the sampling range by adjusting the resistance value ratio of the two resistors;

[0102] 3) The first-stage operational amplifier amplification circuit adopts the same direction proportional amplification circuit, according to the characteristics of virtual short and virtual open of operational amplifier, the voltage on pins 3 and 4 of the operational amplifier is the same, and the voltage on pin 3 is the input voltage, and the current of R28 and R32 is the same, according to this characteristic, the resistance value ratio of R28 and R32 is adjusted to obtain the amplification multiple of the operational amplifier, and the sampling voltage (TP15) of micro-volt to millivolt level voltage after amplification can reach the sampling range;

[0103] 4) The principle of the second-stage operational amplifier amplification circuit is the same, the voltage output by the first-stage operational amplifier amplification circuit is taken as the input voltage of the second-stage operational amplifier amplification circuit, and the amplified sampling voltage (TP16) is obtained through the amplification of the operational amplifier;

[0104] 5) The two-stage amplifiers are set to different amplification multiples to ensure the range of the range;

[0105] Resistance voltage division multiple: beta1=(R25+R31) / R31=12;

[0106] First-stage amplification multiple: beta2=(R28+R32) / R32=7.8;

[0107] Second-stage amplification multiple: beta3=(R30+R33) / R33=31.

[0108] The implementation flow of the present application is briefly described as follows:

[0109] As shown in Figure 5 and Figure 6 , the current and voltage detection method of the detonation card comprises:

[0110] Step one: connect the external serial port device of the detonation card to the computer, open the serial port debugging tool on the computer, select the port number and serial port baud rate, and ensure normal communication;

[0111] Step two: send the "control bus voltage" instruction on the serial port debugging tool, the single-chip microcomputer receives the instruction, controls the ENABLE pin of U2 in the principle block Figure 1 , makes OUT+ and OUT- power on, and makes the AB bus in a power-on state;

[0112] Step three: send the "get current" instruction on the serial port debugging tool, the single-chip microcomputer obtains the sampling value (TP16) of the second-stage operational amplifier, and judges whether the result is full-scale; if it is close to full-scale, the sampling value (TP15) of the first-stage operational amplifier is obtained, and if it is still close to full-scale, the sampling value (TP14) at the resistance voltage division is obtained, and finally the current value is calculated in combination with the calculated voltage parameter;

[0113] Step four: send the "get voltage" instruction on the serial port debugging tool, the single-chip microcomputer respectively obtains the sampling value at the resistance voltage division (TP14) on the AB bus, calculates the difference value through judging the size of the AB bus sampling value, and calculates the voltage value in combination with the calculated voltage parameter;

[0114] Step five: view the returned data packet in the frame on the serial port debugging tool, intercept the data content, convert it through the IEEE754 binary floating-point number arithmetic standard to obtain the real result.

[0115] The technical effect of the present application: the scheme designs a reliable and efficient current and voltage detection circuit for the two-bus double-resistance circuit, the key technology is to use a layer of voltage division circuit and multiple-stage operational amplifier circuit to amplify the voltage data in layers, the single-chip microcomputer collects the sampling voltage through the ADC and obtains the current and voltage data on the AB bus through calculation, solves the safety problem of electronic detonators, and improves the accuracy of electronic detonator current and voltage detection.

[0116] The above merely provides the preferred embodiments of the present application, and is not intended to limit the patent scope of the present application. Any equivalent structure or equivalent flowchart transformation, or direct or indirect application in other related technical fields, which is made based on the contents of the present application specification and drawings, shall be included in the patent protection scope of the present application.

Claims

1. A method for detecting the current and voltage of an electronic detonator, characterized in that, The method is applied to a current and voltage detection circuit, which includes: a resistor voltage divider circuit, a multi-stage operational amplifier circuit, and a microcontroller connected in series. The resistor voltage divider circuit is connected to the sampling resistor. The method includes the following steps: After the microcontroller receives the control bus voltage command, it uses the motor driver to energize the AB pole bus. The microcontroller, combined with a resistor voltage divider circuit and a multi-stage operational amplifier circuit, samples the voltage values ​​on the two buses and calculates the voltage difference to obtain the voltage status on the A and B terminals. When detecting the current, the voltage value on the low-level bus is detected and the corresponding current status is calculated. The multi-stage operational amplifier circuit includes: a first-stage operational amplifier circuit and a second-stage operational amplifier circuit connected in series. The first-stage operational amplifier circuit is connected in series with the resistor voltage divider circuit. The step of sampling the voltage values ​​on the two buses using a microcontroller in conjunction with the resistor voltage divider circuit and the multi-stage operational amplifier circuit, and calculating the voltage difference to obtain the voltage status on terminals A and B, and detecting the current by detecting the voltage value on the low-level bus and calculating the corresponding current status includes: When the microcontroller receives the current acquisition command, it determines the high and low levels of the A and B poles based on the current power-on state to identify the low-level bus. Obtain the sampling voltage of the two-stage operational amplifier circuit on the low-level bus; Determine whether the sampling voltage of the second-stage operational amplifier circuit has reached the full-scale condition; If so, the sampling voltage of the first-stage operational amplifier circuit is obtained, and it is determined whether the sampling voltage of the first-stage operational amplifier circuit reaches the full-scale condition. If so, then obtain the sampling voltage of the resistor divider circuit; The voltage parameters are calculated based on the sampled voltage of the resistor voltage divider circuit. The current value is calculated based on the voltage parameters; The steps of sampling the voltage values ​​on the two buses using a microcontroller combined with a resistor divider circuit and a multi-stage operational amplifier circuit, and calculating the voltage difference to obtain the voltage status on terminals A and B, and detecting the current by detecting the voltage value on the low-level bus and calculating the corresponding current status, also include: When the microcontroller receives the voltage acquisition command, it acquires the sampling voltage of the resistor voltage divider circuit on poles A and B, and obtains the sampling voltage value of poles A and B. By judging the magnitude of the sampled voltage values ​​of poles A and B, the voltage difference between the two is calculated, and the voltage situation on poles A and B is obtained by combining the calculated voltage difference. Wherein, the voltage divider factor β1 of the resistor voltage divider circuit is 12; the first-stage amplification factor β2 of the first-stage operational amplifier circuit is 7.8; and the second-stage amplification factor β3 of the second-stage operational amplifier circuit is 31.

2. The current and voltage detection method according to claim 1, characterized in that, Before the step of energizing the AB pole bus via the motor driver after the microcontroller receives the control bus voltage command, the following steps are also included: Connect the detonator card to an external serial port device and then to the computer. Open a serial port debugging tool on the computer, select the port number and serial port baud rate, and ensure normal communication.

3. The current and voltage detection method according to claim 2, characterized in that, The step of energizing the AB pole bus via the motor driver after the microcontroller receives the control bus voltage command includes: After the microcontroller receives the control bus voltage command, it controls the switching of the OUT+ and OUT- output pins of the AB poles by controlling the ENABLE pin of the motor driver, so that the AB pole bus is in a powered state; by controlling the PHASE pin of the motor driver, it controls the direction of the current through the H-bridge of the motor driver, thereby realizing the switching of the high and low levels of the AB poles.

4. The current and voltage detection method according to claim 2, characterized in that, The method further includes: View the returned data packet in the receive box of the serial port debugging tool, and convert the captured data content using the IEEE 754 binary floating-point arithmetic standard to obtain the actual result.

5. The current and voltage detection method according to any one of claims 1-4, characterized in that, The resistor divider circuit includes two voltage divider resistors, and the method further includes: By adjusting the ratio of the two voltage divider resistors, the sampling voltage at terminals A and B can be kept within the sampling range.

6. The current and voltage detection method according to claim 5, characterized in that, The first-stage operational amplifier circuit uses a non-inverting proportional amplifier circuit, and the method further includes: By adjusting the resistance ratio of the two operational amplifier resistors in the first-stage operational amplifier circuit, the amplification factor of the operational amplifier is obtained, and the sampled voltage after amplification from the microvolt to millivolt level reaches the sampling range.

7. The current and voltage detection method according to claim 6, characterized in that, The AB bus is the bus for power supply and communication between the detonator and the electronic detonator. The operational amplifier circuit of the second stage has a different amplification factor than the operational amplifier circuit of the first stage.

8. The current and voltage detection method according to claim 7, characterized in that, The voltage divider factor of the resistor voltage divider circuit is β1 = 12; the first-stage amplification factor of the first-stage operational amplifier circuit is β2 = 7.8; and the second-stage amplification factor of the second-stage operational amplifier circuit is β3 = 31.

Citation Information

Patent Citations

  • Multrirange signal pickup assembly

    CN205232200U

  • Monitoring device for electronic detonator and electronic equipment

    CN216308789U

  • Current and voltage detection circuit

    CN219201759U