Accurate measuring circuit for ignition resistance of electronic detonator

By designing the circuits of the control software module, charging self-test module and ignition resistance detection module, the problem of complex electronic detonator ignition resistance measurement process and excessive current is solved, achieving high-precision and safe ignition resistance measurement, which is suitable for embedded software integration. .

CN118623719APending Publication Date: 2024-09-10SHENZHEN K FREE WIRELESS INFORMATION TECH

Patent Information

Application Number
CN202410053092.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-15
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The measurement process of the electronic detonator ignition resistor in the existing technology is complicated and not conducive to embedded software integration. Moreover, the current flowing through the ignition resistor in the measurement circuit is too large and cannot meet the safety requirements of industry standards.

Method used

An accurate measurement circuit including a control software module, charging self-test module and ignition resistance detection module is designed. Through the GPIO port, DAC signal output port and ADC detection port, the charging and measurement circuit is controlled to accurately calculate the resistance of the ignition resistor. Make sure the current is within a safe range.

Benefits of technology

It achieves low-cost, high-precision ignition resistance measurement, simplifies circuit design, and is built into the electronic detonator module, avoiding the use of external instruments, ensuring measurement accuracy and safety, and is suitable for embedded software integration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118623719A
    Figure CN118623719A
Patent Text Reader

Abstract

The invention provides an accurate measurement circuit for ignition resistance of an electronic detonator. The measurement circuit comprises a control software module, a charging self-checking module and an ignition resistance detection module, a control software module is connected with a charging self-checking module and an ignition resistance detection module, the control software module obtains actual charging voltage by controlling a switch of the charging self-checking module, and the voltage at the interface of the charging self-checking module and the ignition resistance detection module is calculated according to the actual charging voltage; measurement voltage and measurement current are obtained by controlling an ignition resistor detection module switch, the resistance value of the ignition resistor is calculated, and the problems that in the prior art, the measurement process is complex, and the measurement control mode is not beneficial to embedded software integration are solved. The beneficial effect of the invention is that the single-chip microcomputer which is low in cost and is provided with a precision measurement port is selected to form a high-precision measurement circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of electronic detonators, and in particular to a precise measurement circuit for the ignition resistance of an electronic detonator. Background Art

[0002] The ignition resistor is a precision resistor in the electronic detonator that is powered on to generate heat and excite the medicine head. Common ignition resistors are mainly divided into two forms: one is a bridge wire resistor, where the excitation medicine is dipped on the bridge wire to form a medicine head; the other is an ignition resistor that is directly mounted on the PCB board, where the excitation medicine covers the surface of the resistor to form a medicine head. However, no matter what form of ignition resistor, its essence is a precision resistor with a resistance of several ohms, such as 2 ohms, 4 ohms, 6 ohms, 8 ohms, etc. Because the resistance of the ignition resistor itself is very small, the accuracy is very high, and the resistance difference between various types of ignition resistors is very small, so the measurement is difficult. In addition, since the ignition resistor is dipped with an excitation medicine head, the current allowed to pass through the ignition resistor in the measurement circuit is strictly limited (the industry standard stipulates that it cannot exceed 3mA). Excessive current will cause the ignition resistor to heat up and then accidentally detonate the detonator, causing an accident. However, weak currents within 3mA are difficult to measure accurately without adding expensive devices such as amplifiers. Therefore, how to use a cost-effective measurement circuit to accurately measure the resistance of the ignition resistor in the electronic detonator module has always been a difficult problem in the electronic detonator industry. Currently, there are many measurement solutions on the market. Some are measured through external customized instruments, but the cost of the instruments is high and not easy to carry; some use the IO port of the internal control chip of the electronic detonator to simulate the ADC measurement, but the control chip has a single function, which will lead to low measurement accuracy; some manufacturers only measure the resistance of the ignition resistor, and no longer measure it after the detonator is made, which makes the finished detonator have great quality risks.

[0003] The defects of the existing ignition resistance measurement circuit include: an additional measuring instrument must be used, the production and testing process is cumbersome and expensive; the control chip inside the detonator module does not have a precision measurement port, and the accuracy of the measurement cannot be guaranteed; the current flowing through the ignition resistor in the measurement circuit is too large, and the safety cannot meet industry standards; the measurement process is complicated, and its measurement control method is not conducive to embedded software integration. Therefore, a better measurement circuit is urgently needed. Summary of the invention

[0004] The invention provides an accurate measurement circuit for the ignition resistance of an electronic detonator, which is used to solve the defects in the prior art that the measurement process is complicated and the measurement method is not conducive to the integration of embedded software.

[0005] In one aspect, the present invention provides a precise measurement circuit for the ignition resistance of an electronic detonator, comprising: a control software module, a charging self-checking module and an ignition resistance detection module;

[0006] The control software module is connected to the charging self-test module and the ignition resistor detection module respectively. The control software module obtains the actual charging voltage by controlling the switch of the charging self-test module, calculates the voltage at the interface between the charging self-test module and the ignition resistor detection module according to the actual charging voltage, obtains the measured voltage and measured current by controlling the switch of the ignition resistor detection module, and calculates the resistance value of the ignition resistor.

[0007] According to the accurate measurement circuit of the ignition resistance of an electronic detonator provided by the present invention, the control software module includes: a plurality of GPIO ports, a DAC signal output port, and two ADC detection ports;

[0008] The GPIO port is connected to the charging self-test module and the ignition resistance detection module, and is used to control the switch of the charging self-test module and the ignition resistance detection module;

[0009] The DAC port is used to output the voltage of the ignition resistance detection module;

[0010] The ADC port is used to detect the voltage value of the charging self-test module and the voltage value of the ignition resistance detection module.

[0011] According to a precise measurement circuit of the ignition resistance of an electronic detonator provided by the present invention, the charging self-test module comprises:

[0012] A charge-enable PMOS tube, a charge-enable NPN transistor, a pull-up resistor, an ignition capacitor, and a charge voltage-dividing resistor are connected in sequence, the charge voltage-dividing resistor is connected to the ADC port, and the charge-enable PMOS tube is connected to the GPIO port;

[0013] The charging enable PMOS tube, the charging enable NPN transistor and the pull-up resistor form an electronic switch. If the GPIO port is set to a high level, the charging function of the ignition capacitor is turned on, and if it is set to a low level, the charging function is turned off.

[0014] According to a precise measurement circuit of the ignition resistance of an electronic detonator provided by the present invention, the ignition resistance detection module comprises:

[0015] A measuring voltage-dividing resistor, a protection diode, an ignition resistor, and an ignition NMOS tube are connected in sequence, the measuring voltage-dividing resistor is connected to the DAC port, and the protection diode is connected to the ADC port;

[0016] The ignition NMOS tube is connected to the GPIO port. The GPIO port is set to a high level to turn on the ignition circuit, and is set to a low level to turn off the ignition circuit.

[0017] According to the accurate measurement circuit of the ignition resistance of an electronic detonator provided by the present invention, the control software module further includes:

[0018] Control the GPIO port to turn on the electronic switch of the charging self-test module. After charging is completed, the GPIO port turns off the ignition circuit of the ignition resistor detection module. The ADC port obtains the actual charging voltage of the charging voltage divider resistor. The voltage at the interface between the charging self-test module and the ignition resistor detection module is calculated according to the actual charging voltage of the charging voltage divider resistor. It is determined whether the voltage at the interface is equal to the set voltage value. If the actual charging voltage is equal to the set voltage value, it indicates that the charging circuit is normal.

[0019] If the circuit is normal, the GPIO port is set to a low level, the charging enable PMOS tube and the NPN transistor are turned off, the DAC port outputs a first voltage value, and then the GPIO port is set to a high level, the ignition circuit is turned on, the ADC port reads the second voltage value, and the ignition resistor value R is calculated. s =(U1-V d ) / IR n , where V d is the voltage drop of the diode, R n is the resistance of the ignition NMOS tube in the on state, U1 is the second voltage value, I is the measurement branch current, I=(U0-U1) / R1, U0 is the first voltage value, and R1 is the measurement voltage dividing resistance.

[0020] On the other hand, the present invention also provides a method for accurately measuring the circuit of the ignition resistance of an electronic detonator, comprising:

[0021] The charging self-test circuit is composed of a charging enable PMOS tube, a charging enable NPN transistor, a pull-up resistor, an ignition capacitor, and a charging voltage divider resistor to detect whether the charging function of the ignition capacitor is normal;

[0022] An ignition resistor resistance value measurement circuit is formed by measuring a voltage divider resistor, a protection diode, an ignition resistor, and an ignition NMOS tube to measure the resistance value of the ignition resistor.

[0023] According to the present invention, a precise measurement circuit method for the ignition resistance of an electronic detonator is provided. The charging self-test circuit is formed by a charging-enabled PMOS tube, a charging-enabled NPN transistor, a pull-up resistor, an ignition capacitor, and a charging voltage-dividing resistor to detect whether the charging function of the ignition capacitor is normal, including:

[0024] Step 1: Connect the software to the power circuit and power it up through the power pin, start the charging DC-DC converter, and control the detonator voltage to rise to 20V;

[0025] Step 2: By controlling the GPIO port to a high level through software, the charging enable NPN transistor is turned on, and the gate of the charging enable PMOS tube is pulled down to turn it on. At this time, the 20V voltage charges the ignition capacitor;

[0026] Step 3: Set the GPIO port to a low level through software control to turn off the charging function of the charging-enabled NPN transistor and the charging-enabled PMOS tube;

[0027] Step 4: Keep the voltage of 20V on the ignition capacitor, and the software immediately opens the ADC port to read the voltage of the charging voltage divider resistor;

[0028] Step 5: Calculate the voltage at the interface between the charging self-test module and the ignition resistor detection module according to the voltage of the charging voltage-dividing resistor: U2=U3*(R2+R3) / R3, where U3 is the voltage of the charging voltage-dividing resistor, R2 is the resistance value of the charging voltage-dividing resistor 1, and R3 is the resistance value of the charging voltage-dividing resistor 2;

[0029] Step 6: Determine whether the voltage at the interface between the charging self-test module and the ignition resistance detection module is equal to the predetermined charging voltage value. If the measurement error does not exceed the set threshold, the charging is determined to be normal. If the measurement error exceeds the set threshold, the charging is determined to be abnormal.

[0030] According to the present invention, an accurate measurement circuit for measuring the ignition resistance of an electronic detonator is provided. The measurement method of the circuit is as follows: the ignition resistance value measurement circuit is formed by measuring the voltage divider resistor, the protection diode, the ignition resistor, and the ignition NMOS tube, and the resistance value of the ignition resistor is measured, including:

[0031] Step 1: The software starts the ignition capacitor discharge circuit;

[0032] Step 2: software controls the DAC port to output a first voltage value;

[0033] Step 3: The software controls the GPIO port to be set at a high level, turns on the ignition NMOS tube, and makes the ignition resistance measurement path conductive;

[0034] Step 4: software controls the ADC port to read the second voltage value;

[0035] Step 4: Calculate the branch current I = (U0-U1) / R1, where U0 is the first voltage value, R1 is the measuring voltage dividing resistor, and U1 is the second voltage value;

[0036] Step 5: Fire resistor value R s =(U1-V d ) / IR n , where V d is the voltage drop of the diode, R n The resistance of the ignition NMOS tube in the on state.

[0037] According to a method for accurately measuring the circuit of the ignition resistance of an electronic detonator provided by the present invention, before step 1, the method further includes:

[0038] Before measuring the ignition resistance, the GPIO port is set to a low level, and the charge enabling PMOS tube and the NPN transistor are turned off, so that there is no voltage on the ignition capacitor.

[0039] According to the accurate measurement circuit measurement method of the electronic detonator ignition resistance provided by the present invention, the step five further includes:

[0040] The software sets different U0 values ​​and measures n groups of R s , and then take the average value to calculate the final ignition resistance value:

[0041] It can be seen from the above technical solution that, compared with the prior art, the beneficial effects of the present invention are:

[0042] 1) Use low-cost, high-precision detection circuits to solve the industry problem of accurately measuring the resistance of electronic detonator ignition resistors;

[0043] 2) Simplify the circuit design so that it is built into the PCB board of the electronic detonator module and can be measured without the help of external instruments;

[0044] 3) The circuit can accurately control the current flowing through the ignition resistor, meet industry standards, and will not cause safety accidents;

[0045] 4) The circuit control logic is simple and clear, which is conducive to the integration of embedded software into the microcontroller chip.

[0046] The present invention provides a precise measurement circuit for the ignition resistance of an electronic detonator. The measurement circuit comprises: a control software module, a charging self-checking module and an ignition resistance detection module. The control software module is respectively connected to the charging self-checking module and the ignition resistance detection module through the control software module. The control software module obtains the actual charging voltage by controlling the switch of the charging self-checking module, calculates the voltage at the interface between the charging self-checking module and the ignition resistance detection module according to the actual charging voltage, obtains the measurement voltage and the measurement current by controlling the switch of the ignition resistance detection module, and calculates the resistance value of the ignition resistance. The problem that the measurement process in the prior art is complicated and its measurement control method is not conducive to embedded software integration is solved. A high-precision measurement circuit is formed by selecting a low-cost single-chip microcomputer with a precise measurement port, and a set of embedded software control processes are designed so that it can be conveniently integrated into the single-chip microcomputer software. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0048] Figure 1 It is a structural schematic diagram of a precise measurement circuit of an electronic detonator ignition resistance provided by an embodiment of the present invention;

[0049] Figure 2 It is a flow chart of a method for accurately measuring the ignition resistance of an electronic detonator provided by an embodiment of the present invention;

[0050] Figure 3 It is a schematic diagram of a charging self-test signal flow of a precise measurement circuit of an electronic detonator ignition resistance provided by an embodiment of the present invention;

[0051] Figure 4 The present invention is a schematic diagram of a signal flow of an ignition resistance measurement circuit of an accurate measurement circuit for an electronic detonator ignition resistance provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0053] Combine the following Figure 1-Figure 4 , the present invention is further described in detail.

[0054] Figure 1 The invention is a schematic diagram of the structure of a precise measurement circuit for the ignition resistance of an electronic detonator provided in an embodiment of the present invention.

[0055] like Figure 1 As shown, a schematic diagram of the structure of a precise measurement circuit for the ignition resistance of an electronic detonator provided by an embodiment of the present invention, the measurement circuit comprises: a control software module, a charging self-check module and an ignition resistance detection module;

[0056] The control software module is connected to the charging self-test module and the ignition resistor detection module respectively. The control software module obtains the actual charging voltage by controlling the switch of the charging self-test module, calculates the voltage at the interface between the charging self-test module and the ignition resistor detection module according to the actual charging voltage, obtains the measured voltage and measured current by controlling the switch of the ignition resistor detection module, and calculates the resistance value of the ignition resistor.

[0057] It should be noted that the control software module includes: several GPIO ports, a DAC signal output port, and two ADC detection ports;

[0058] The GPIO port is connected to the charging self-test module and the ignition resistance detection module, and is used to control the switch of the charging self-test module and the ignition resistance detection module;

[0059] The DAC port is used to output the voltage of the ignition resistance detection module;

[0060] The ADC port is used to detect the voltage value of the charging self-test module and the voltage value of the ignition resistance detection module.

[0061] This single-chip microcomputer can be used as an electronic detonator control chip and can also provide a precision measurement port for the ignition resistance measurement circuit. It only needs to have several general GPIO ports, a DAC signal output port, and two ADC detection ports, so the cost of this single-chip microcomputer is relatively low.

[0062] It should be noted that the charging self-test module includes:

[0063] A charge-enable PMOS tube, a charge-enable NPN transistor, a pull-up resistor, an ignition capacitor, and a charge voltage-dividing resistor are connected in sequence, the charge voltage-dividing resistor is connected to the ADC port, and the charge-enable PMOS tube is connected to the GPIO port;

[0064] The charging enable PMOS tube, the charging enable NPN transistor and the pull-up resistor form an electronic switch. If the GPIO port is set to a high level, the charging function of the ignition capacitor is turned on, and if it is set to a low level, the charging function is turned off.

[0065] The charging self-test module is mainly composed of Q2 (charging enable PMOS tube), Q3 (charging enable NPN transistor), R4 (pull-up resistor), C1 (ignition capacitor), R2+R3 (voltage divider resistor), and its main functions are:

[0066] 1) Q2+Q3+R4 constitute an electronic switch, which is controlled by MCU_IO2. When MCU_IO2 is set to a high level, the ignition capacitor is charged; when it is set to a low level, the charging function is turned off.

[0067] 2) C1 is the energy storage element in the electronic detonator: the ignition capacitor, generally a 33uF to 66uF tantalum capacitor is selected. After charging, it discharges to the resistance wire of the ignition resistor when the electronic detonator is detonated;

[0068] 3) R2+R3 form a voltage divider circuit, so that the detection port MCU_ADC2 of the microcontroller can measure the charging voltage of about 20V.

[0069] It should be noted that the ignition resistance detection module includes:

[0070] A measuring voltage-dividing resistor, a protection diode, an ignition resistor, and an ignition NMOS tube are connected in sequence, the measuring voltage-dividing resistor is connected to the DAC port, and the protection diode is connected to the ADC port;

[0071] The ignition NMOS tube is connected to the GPIO port. The GPIO port is set to a high level to turn on the ignition circuit, and is set to a low level to turn off the ignition circuit.

[0072] The ignition resistance detection circuit is mainly composed of R1 (measurement voltage divider resistor), D1 (protection diode), U4 (ignition resistor), Q1 (ignition NMOS), and its main functions are:

[0073] 1) R1: measurement voltage divider resistor, which is used to form a small current voltage divider circuit with the ignition resistor U4. On the one hand, it avoids the current value passing through the ignition resistor being too large during measurement and causing safety accidents, and on the other hand, it bears part of the voltage drop, making the voltage value measured by MCU_ADC1 more accurate. R1 generally uses a standard precision resistor with a value close to the ignition resistor.

[0074] 2) D1: Protective diode, its function is to protect the IO port of the microcontroller when the ignition capacitor is charged with high voltage. When measuring the ignition resistor, the forward conduction and the voltage drop are stable. Generally, a Schottky diode with a reverse withstand voltage greater than 20V and a small current conduction voltage drop of about 200 mV is selected;

[0075] 3) U4: Ignition resistor, which is the component for exciting the charge head in the electronic detonator and the main object to be measured in the patented circuit of the present invention;

[0076] 4) Q1: Ignition NMOS, controlled by MCU_IO1, set high level to turn on the ignition circuit to make it conductive, set low level to turn off the ignition circuit. When measuring the ignition resistor value, set high level to turn it on, and set low level to turn it off after the measurement is completed. Since the ignition NMOS needs to bear a large current when the capacitor is discharged, an NMOS tube with an overcurrent value of not less than 3A and a small on-resistance is generally selected.

[0077] It should be noted that the control software module also includes:

[0078] Control the GPIO port to turn on the electronic switch of the charging self-test module. After charging is completed, the GPIO port turns off the ignition circuit of the ignition resistor detection module. The ADC port obtains the actual charging voltage of the charging voltage divider resistor. The voltage at the interface between the charging self-test module and the ignition resistor detection module is calculated according to the actual charging voltage of the charging voltage divider resistor. It is determined whether the voltage at the interface is equal to the set voltage value. If the actual charging voltage is equal to the set voltage value, it indicates that the charging circuit is normal.

[0079] If the circuit is normal, the GPIO port is set to a low level, the charging enable PMOS tube and the NPN transistor are turned off, the DAC port outputs a first voltage value, and then the GPIO port is set to a high level, the ignition circuit is turned on, the ADC port reads the second voltage value, and the ignition resistor value R is calculated. s =(U1-V d ) / IR n , where V d is the voltage drop of the diode, R n is the resistance of the ignition NMOS tube in the on state, U1 is the second voltage value, I is the measurement branch current, I=(U0-U1) / R1, U0 is the first voltage value, and R1 is the measurement voltage dividing resistance.

[0080] The present invention patent uses a low-cost single-chip microcomputer with a precision measurement port to design a streamlined ignition resistance measurement circuit that can be built into the detonator module PCB. The charging enable PMOS tube, the charging enable NPN transistor and the two charging voltage-dividing resistors in the present invention constitute the first-level charging self-test circuit. The main function of this circuit is to detect whether the charging function of the ignition capacitor is normal. The MCU_IO2 of the single-chip microcomputer is set to a high level to turn on the electronic switch composed of NPN+PMOS, so that the 20V voltage can charge the ignition capacitor. At this time, MCU_IO1 is set to a low level to turn off the ignition NMOS tube, so that MCU_ADC2 can measure the actual charging voltage U2 through two voltage-dividing resistors. If the result is close to 20V, the charging circuit is normal. The measuring voltage-dividing resistor, protection diode, ignition resistor, and ignition NMOS tube in this design constitute the second-level ignition resistor resistance measurement circuit. The main function of this circuit is to accurately measure the resistance value of the ignition resistor. When measuring, the MCU_IO2 of the microcontroller is set to a low level to turn off the charging enable PMOS tube and NPN transistor, and MCU_DAC1 outputs a constant voltage value U0 at the millivolt level. Then MCU_IO1 is set to a high level to turn on the ignition NMOS to turn on the measurement circuit, and then use MCU_ADC1 to read the voltage value U1. The measured branch current I = (U0-U1) / R1, the ignition resistance value: R s =(U1-V d ) / IR n , where Vd is the voltage drop of the diode, R n The resistance of the ignition NMOS tube in the on state.

[0081] Based on the same general inventive concept, the present invention also protects a method for accurately measuring the ignition resistance of an electronic detonator. The method for accurately measuring the ignition resistance of an electronic detonator provided by the present invention is described below. The method for accurately measuring the ignition resistance of an electronic detonator described below and the accurate measurement circuit for accurately measuring the ignition resistance of an electronic detonator described above can be referred to each other. Figure 2 The present invention is a flowchart of a method for accurately measuring the ignition resistance of an electronic detonator provided by an embodiment of the present invention.

[0082] like Figure 2 As shown, the accurate measurement circuit measurement method of the electronic detonator ignition resistance provided by the embodiment of the present invention mainly includes the following steps:

[0083] 201. A charging self-test circuit is formed by a charging enable PMOS tube, a charging enable NPN transistor, a pull-up resistor, an ignition capacitor, and a charging voltage divider resistor to detect whether the charging function of the ignition capacitor is normal;

[0084] Figure 3 FIG. 1 is a schematic diagram of a charging self-test signal flow chart of an accurate measurement circuit for an electronic detonator ignition resistance provided by an embodiment of the present invention. Figure 3 As shown, the specific steps for detecting whether the ignition capacitor charging function is normal include:

[0085] Step 1: Connect the software MCU to the power circuit and power it up through the power pin, start the charging DC-DC converter, and control the detonator voltage to rise to 20V;

[0086] Step 2: By controlling MCU_IO2 to a high level through software, the charging enable NPN transistor (Q3) is turned on, and the gate of the charging enable PMOS tube (Q2) is pulled down to turn it on. At this time, the 20V voltage charges the ignition capacitor (C1);

[0087] Step 3: Set MCU_IO2 to a low level through software control to turn off the charging function of the charging enable NPN transistor (Q3) and the charging enable PMOS tube (Q2);

[0088] Step 4: Keep the voltage of 20V on the ignition capacitor (C1), and the software immediately turns on MCU_ADC2 to read the voltage of the charging voltage divider resistor;

[0089] Step 5: Calculate the voltage at the interface between the charging self-test module and the ignition resistor detection module according to the voltage of the charging voltage-dividing resistor: U2=U3*(R2+R3) / R3, where U3 is the voltage of the charging voltage-dividing resistor, R2 is the resistance value of the charging voltage-dividing resistor 1, and R3 is the resistance value of the charging voltage-dividing resistor 2;

[0090] Step 6: Determine whether the voltage at the interface between the charging self-test module and the ignition resistance detection module is equal to the preset charging voltage value. If the measurement error does not exceed 5%, the charging current is determined to be normal; if the measurement error exceeds the set threshold of 5%, it indicates that the charging is abnormal.

[0091] 202. The resistance value of the ignition resistor is measured by measuring the voltage divider resistor, the protection diode, the ignition resistor, and the ignition NMOS tube to form an ignition resistor resistance measurement circuit.

[0092] Figure 4 FIG. 1 is a schematic diagram of a signal flow of a measuring ignition resistance circuit of an accurate measurement circuit of an electronic detonator ignition resistance provided by an embodiment of the present invention, such as Figure 4 As shown, the specific steps of measuring the resistance value of the ignition resistor include:

[0093] Step 1: The MCU software starts the ignition capacitor discharge circuit; before measuring the ignition resistance, the GPIO port is set to a low level, and the charging enable PMOS tube and NPN transistor are turned off to ensure that there is no voltage on the ignition capacitor;

[0094] Step 2: Software controls MCU_DAC1 to output a first voltage value U0 at the millivolt level;

[0095] Step 3: The software controls MCU_IO1 to be set at a high level, turns on the ignition NMOS tube, and makes the ignition resistance measurement path conductive;

[0096] Step 4: Software controls MCU_ADC1 to read the second voltage value U1;

[0097] Step 4: Calculate the branch current I = (U0-U1) / R1, where U0 is the first voltage value, R1 is the measuring voltage dividing resistor, and U1 is the second voltage value;

[0098] Step 5: Fire resistor value R s =(U1-V d ) / IR n , where V d is the voltage drop of the diode, R n The resistance of the ignition NMOS tube in the on state.

[0099] To reduce the measurement error, the software can set different U0 values ​​to measure n groups of R s , and then take the average value to calculate the final ignition resistance value:

[0100] Among them, U0 is the software setting value (known number). After the circuit parameters are determined, R1, V d , R n All are constants.

[0101] The invention provides a precise measurement circuit measurement method for the ignition resistance of an electronic detonator. The measurement method comprises: forming a charging self-check circuit through a charging enable PMOS tube, a charging enable NPN transistor, a pull-up resistor, an ignition capacitor, and a charging voltage-dividing resistor to detect whether the charging function of the ignition capacitor is normal; forming an ignition resistance value measurement circuit through measuring the voltage-dividing resistor, a protection diode, an ignition resistor, and an ignition NMOS tube to measure the resistance value of the ignition resistor, thereby solving the problem that the measurement process in the prior art is complicated and the measurement control mode is not conducive to embedded software integration, and achieving the beneficial effect of selecting a low-cost single-chip microcomputer with a precise measurement port to form a high-precision measurement circuit, and designing a set of embedded software control processes so that it can be conveniently integrated into the single-chip microcomputer software.

[0102] The present invention is based on a low-cost, high-performance single-chip microcomputer chip to design a high-precision and safer measurement circuit to meet the measurement requirements of industrial electronic detonators for ignition resistance. The main advantages of the measurement circuit of the present invention are: first, the device is small and the cost is low. The circuit is built into the PCB of the electronic detonator module, so that it can automatically detect the resistance value of the ignition resistor without the help of external equipment; second, the measurement accuracy is high, and the single-chip microcomputer has a 12-bit ADC detection port, which can accurately read small voltage values; third, the measurement safety is high, and the DAC port inside the chip can output a stable small voltage signal at the millivolt level to ensure that the current on the ignition resistance measurement path does not exceed the industry standard value; in addition, the control process of this measurement circuit is very simple, which is convenient for the software implementation of the single-chip microcomputer.

[0103] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0104] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0105] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. An accurate measurement circuit for the ignition resistance of an electronic detonator, characterized in that: The measuring circuit comprises: a control software module, a charging self-checking module and an ignition resistance detection module; The control software module is connected to the charging self-test module and the ignition resistor detection module respectively. The control software module obtains the actual charging voltage by controlling the switch of the charging self-test module, calculates the voltage at the interface between the charging self-test module and the ignition resistor detection module according to the actual charging voltage, obtains the measured voltage and measured current by controlling the switch of the ignition resistor detection module, and calculates the resistance value of the ignition resistor.

2. The accurate measurement circuit of the electronic detonator ignition resistance according to claim 1 is characterized in that: The control software module includes: several GPIO ports, a DAC signal output port, and two ADC detection ports; The GPIO port is connected to the charging self-test module and the ignition resistance detection module, and is used to control the switch of the charging self-test module and the ignition resistance detection module; The DAC port is used to output the voltage of the ignition resistance detection module; The ADC port is used to detect the voltage value of the charging self-test module and the voltage value of the ignition resistance detection module.

3. The accurate measurement circuit of the electronic detonator ignition resistance according to claim 2 is characterized in that: The charging self-test module comprises: A charge-enable PMOS tube, a charge-enable NPN transistor, a pull-up resistor, an ignition capacitor, and a charge voltage-dividing resistor are connected in sequence, the charge voltage-dividing resistor is connected to the ADC port, and the charge-enable PMOS tube is connected to the GPIO port; The charging enable PMOS tube, the charging enable NPN transistor and the pull-up resistor form an electronic switch. If the GPIO port is set to a high level, the charging function of the ignition capacitor is turned on, and if it is set to a low level, the charging function is turned off.

4. The accurate measurement circuit of the electronic detonator ignition resistance according to claim 2 is characterized in that: The ignition resistance detection module comprises: A measuring voltage-dividing resistor, a protection diode, an ignition resistor, and an ignition NMOS tube are connected in sequence, the measuring voltage-dividing resistor is connected to the DAC port, and the protection diode is connected to the ADC port; The ignition NMOS tube is connected to the GPIO port. The GPIO port is set to a high level to turn on the ignition circuit, and is set to a low level to turn off the ignition circuit.

5. The accurate measurement circuit of the electronic detonator ignition resistance according to claim 4 is characterized in that: The control software module further includes: Control the GPIO port to turn on the electronic switch of the charging self-test module. After charging is completed, the GPIO port turns off the ignition circuit of the ignition resistor detection module. The ADC port obtains the actual charging voltage of the charging voltage divider resistor. The voltage at the interface between the charging self-test module and the ignition resistor detection module is calculated according to the actual charging voltage of the charging voltage divider resistor. It is determined whether the voltage at the interface is equal to the set voltage value. If the actual charging voltage is equal to the set voltage value, it indicates that the charging circuit is normal. If the circuit is normal, the GPIO port is set to a low level, the charging enable PMOS tube and the NPN transistor are turned off, the DAC port outputs a first voltage value, and then the GPIO port is set to a high level, the ignition circuit is turned on, the ADC port reads the second voltage value, and the ignition resistor value R is calculated. s =(U1-V d ) / IR n , where V d is the voltage drop of the diode, R n is the resistance of the on state of the ignition NMOS tube, U1 is the second voltage value, I is the measurement branch current, I=(U0-U1) / R1, U0 is the first voltage value, and R1 is the measurement voltage dividing resistance.

6. The accurate measurement circuit of the electronic detonator ignition resistance according to claim 1 is characterized in that: The measurement method of this circuit includes the following steps: The charging self-test circuit is composed of a charging enable PMOS tube, a charging enable NPN transistor, a pull-up resistor, an ignition capacitor, and a charging voltage divider resistor to detect whether the charging function of the ignition capacitor is normal; An ignition resistor resistance value measurement circuit is formed by measuring a voltage divider resistor, a protection diode, an ignition resistor, and an ignition NMOS tube to measure the resistance value of the ignition resistor.

7. The accurate measurement circuit of the electronic detonator ignition resistance according to claim 6, characterized in that: The charging self-check circuit is formed by the charging enabling PMOS tube, the charging enabling NPN transistor, the pull-up resistor, the ignition capacitor, and the charging voltage divider resistor to detect whether the charging function of the ignition capacitor is normal, including: Step 1: Connect the software to the power circuit and power it up through the power pin, start the charging DC-DC converter, and control the detonator voltage to rise to 20V; Step 2: By controlling the GPIO port to a high level through software, the charging enable NPN transistor is turned on, and the gate of the charging enable PMOS tube is pulled down to turn it on. At this time, the 20V voltage charges the ignition capacitor; Step 3: Set the GPIO port to a low level through software control to turn off the charging function of the charging-enabled NPN transistor and the charging-enabled PMOS tube; Step 4: Keep the voltage of 20V on the ignition capacitor, and the software immediately opens the ADC port to read the voltage of the charging voltage divider resistor; Step 5: Calculate the voltage at the interface between the charging self-test module and the ignition resistor detection module according to the voltage of the charging voltage-dividing resistor: U2=U3*(R2+R3) / R3, where U3 is the voltage of the charging voltage-dividing resistor, R2 is the resistance value of the charging voltage-dividing resistor 1, and R3 is the resistance value of the charging voltage-dividing resistor 2; Step 6: Determine whether the voltage at the interface between the charging self-test module and the ignition resistance detection module is equal to the predetermined charging voltage value. If the measurement error does not exceed the set threshold, the charging is determined to be normal. If the measurement error exceeds the set threshold, the charging is determined to be abnormal.

8. The accurate measurement circuit of the electronic detonator ignition resistance according to claim 6, characterized in that: The method comprises: forming an ignition resistor resistance value measurement circuit by measuring a voltage divider resistor, a protection diode, an ignition resistor, and an ignition NMOS tube to measure the resistance value of the ignition resistor, including: Step 1: The software starts the ignition capacitor discharge circuit; Step 2: software controls the DAC port to output a first voltage value; Step 3: The software controls the GPIO port to be set at a high level, turns on the ignition NMOS tube, and makes the ignition resistance measurement path conductive; Step 4: software controls the ADC port to read the second voltage value; Step 4: Calculate the branch current I = (U0-U1) / R1, where U0 is the first voltage value, R1 is the measuring voltage dividing resistor, and U1 is the second voltage value; Step 5: Fire resistor value R s =(U1-V d ) / IR n , where V d is the voltage drop of the diode, R n The resistance of the ignition NMOS tube in the on state.

9. The accurate measurement circuit of the electronic detonator ignition resistance according to claim 8, characterized in that: The step 1 also includes: Before measuring the ignition resistance, the GPIO port is set to a low level, and the charge enabling PMOS tube and the NPN transistor are turned off, so that there is no voltage on the ignition capacitor.

10. The accurate measurement circuit measurement method of the electronic detonator ignition resistance according to claim 8, characterized in that: The step five further includes: The software sets different U0 values ​​and measures n groups of R s , and then take the average value to calculate the final ignition resistance value:

Citation Information

Patent Citations

  • Charging circuit for electronic detonator and charging calibration method

    CN114884163A

  • Initiating explosive device ignition control and real-time self-checking circuit and method

    CN114942382A

  • Detection circuit, method and device for ignition resistance of electronic detonator

    CN114963902A

  • Programmable high-precision impact-resistant bridge wire adaptive time delay circuit for electronic detonator

    CN117006900A

  • A measurement system for the ignition resistance of an electronic detonator

    CN218821958U

Cited By

  • Implementation method for measuring ignition resistance of industrial electronic detonator

    CN120609243A

  • A method for measuring the ignition resistance of an industrial electronic detonator

    CN120609243B