Detonation control method for electronic detonator detonation circuit
Technical Field
The invention relates to the technical field of initiating explosive devices, in particular to a synchronous detonation control method for a detonation network of an electronic detonator.
Background
In the 20 th century and 80 th era, developed countries such as japan, australia, and europe began to study electronic detonator technology. With the rapid development of electronic technology, microelectronic technology and information technology, the electronic detonator technology makes great progress. At the end of the 90 s of the 20 th century, electronic detonators began to be put into practical testing and market promotion.
As a core component of the electronic detonator, the performance of the electronic detonator control chip directly influences the performance of the electronic detonator. The electronic detonator control chip provided in patent application document 200820111269.7 or 200820111270.X and patent ZL03156912.9 realizes basic functions of double-wire non-polar connection of the electronic detonator, bidirectional communication between the electronic detonator and the detonating equipment, built-in detonator identity codes, controllable detonating process, electronic delay and the like, and has a qualitative leap compared with the traditional detonator. One solution for an electronic detonator initiation device is given in patent application 200810135028.0. The technical scheme constructs a basic framework of the electronic detonator initiation device and realizes the basic functions of the initiation devices such as bidirectional communication with the electronic detonator and initiation of the electronic detonator.
In the prior art, generally, the detonation control of the electronic detonator is realized by adopting a scheme that a global detonation instruction is output by a detonation device, but the implementation scheme has the following problems:
(1) the initiation device sends a global instruction to all electronic detonators in the network, and the interaction with the detonators is lacked, so that the possibility that the detonators cannot reliably identify the initiation instruction exists, and a large uncertainty factor is introduced into the whole blasting network.
(2) The clock circuit in the electronic detonator control chip is usually formed by an RC oscillator with impact resistance. Because the clock frequency of the RC oscillator has large discreteness, and the time required for each detonator to identify and process the instructions depends on the clock frequency of the RC oscillator inside each detonator, the initiation control scheme of directly sending the global initiation instructions to each detonator will result in poor start synchronization of the delay modules in the electronic detonators, thereby affecting the control precision of the initiation interval of the whole blasting network.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a detonation control method of an electronic detonator detonation circuit, which comprises a detonation control flow of a detonation device and a detonation control flow of an electronic detonator. The invention realizes the control of the synchronism of the initiation process of the initiation network of the electronic detonator, thereby improving the control precision of the initiation network to the initiation interval.
The electronic detonator priming circuit comprises an electronic detonator priming device, one or more electronic detonators and a signal bus for connecting the priming device and the electronic detonators. Wherein, the electronic detonators are connected in parallel between two signal buses led out by the detonating device.
As one aspect of the technical solution of the present invention, the initiation control process of the initiation device for the electronic detonator is performed according to the following steps:
firstly, executing a pre-ignition control process on the electronic detonator.
And secondly, judging whether an unresponsive detonator exists by a control module in the initiation device: if the detonator does not respond, executing a third step; and if no detonator is not responded, executing the seventh step.
And thirdly, sending the unresponsive detonator information list to a man-machine interaction module in the detonating device for display.
Fourthly, the control module waits for confirmation information input by the man-machine interaction module from the outside: if the received confirmation information indicates that the detonation is cancelled, entering a detonation cancelling state, and executing a fifth step; and if the received confirmation information indicates that the detonation is continued, entering a continuous detonation state and executing the seventh step.
And fifthly, sending a safe discharging instruction to the electronic detonator.
Sixthly, setting the state mark of the electronic detonator stored in the detonating device as a non-pre-ignition success mark by the control module; and then the eighth step is executed.
And seventhly, executing a detonation instruction sending process on the electronic detonator.
And step eight, ending the detonation control flow of the detonation device.
As another aspect of the technical solution of the present invention, the initiation control process of the electronic detonator is performed according to the following steps:
firstly, a control chip in the electronic detonator is initialized, namely a logic control circuit in the control chip sets a state mark of the chip to be in a non-pre-ignition state, and the logic control circuit sends a control signal to an ignition control circuit in the chip to enable the ignition control circuit to be in the non-ignition state.
And step two, the logic control circuit reads the identity code of the detonator stored in the nonvolatile memory in the chip.
Step three, the logic control circuit judges whether the detonator enters a pre-ignition state: if the pre-ignition state is the pre-ignition state, executing a step eleven; if the state is not the pre-ignition state, executing a step four.
Step four, the logic control circuit waits for receiving an instruction sent by the electronic detonator priming device: if a pre-ignition instruction is received, entering a pre-ignition process, and executing a fifth step; and if the safe discharging instruction is received, entering a safe discharging process and executing the step nine.
Step five, the logic control circuit judges whether the instruction is an instruction aiming at the detonator according to the detonator identity code in the pre-ignition instruction: if the instruction is directed to the detonator, continuously executing the step six; and if the instruction is not the instruction for the detonator, returning to the step three.
Step six, judging whether the detonation condition of the detonator has the following conditions: if yes, executing step seven; if not, returning to the third step.
And step seven, returning the pre-ignition response information to the detonating device so as to continuously execute the pre-ignition control process.
Eighthly, placing the detonator in a pre-ignition state; and then returning to the third step.
And step nine, the logic control circuit respectively sends control signals to a charging control circuit and a safety discharging circuit in the chip, so that the charging control circuit is in a non-charging state, and the safety discharging circuit is in a safety discharging state.
Step ten, putting the detonator into a non-pre-ignition state; and then returning to the step four.
Step eleven, the logic control circuit executes a detonation instruction receiving process: if the detonation instruction is received correctly, executing a step twelve; if the receiving is not correct, the step four is returned.
Step twelve, executing an ignition process; and finishing the detonation control flow of the electronic detonator.
The mutual cooperation of the detonation control flow of the detonation device and the detonation control flow of the electronic detonator realizes the synchronous detonation control of the detonation network. Firstly, the initiation device executes a pre-ignition control process to enable all electronic detonators in accurate states to enter a pre-ignition state, and obtains information of detonators without initiation conditions in a network for an initiation device operator to make decisions according to the information. Then, the operator of the detonating device selects to enter a detonation cancelling state or a detonation continuing state: if the detonation is selected to enter a detonation cancelling state, the detonation device sends a safe discharge instruction to all electronic detonators in the network, so that the electronic detonators enter a safe discharge process, the pre-ignition state of the network is relieved, and meanwhile, the detonators enter a safe state in which the detonation capacitors of the detonators are not charged; if the electronic detonator is selected to enter a continuous detonation state, the detonation device executes a detonation instruction sending process, namely, a global detonation instruction consisting of simple edge signals is sent to all detonators in the network, the last edge signal in the instruction is utilized to realize the control of the synchronism of the detonation process, and after the electronic detonator executes a detonation instruction receiving process and correctly receives the detonation instruction, an ignition process is executed to finish ignition.
In the detonation control flow of the electronic detonator, the judgment of whether the detonation conditions of the detonator in the sixth step are met or not can be embodied as the judgment of one or more of the following contents:
1. and judging whether the charging control circuit is in a charging state or not. By judging the state, the detonator can be confirmed to be in a charging state, so that the detonation energy is stored in the detonation capacitor, and the reliability of detonator detonation is ensured.
2. And judging whether the safety discharge circuit is in a non-discharge state or not. By judging the state, the detonator can be confirmed to be in a safe discharge state, so that the safety of the electronic detonator is improved.
3. And judging whether the state mark of the detonator shows that the delay time is successfully set. By judging the state, the delay time of the detonator can be confirmed to be successfully set, so that the detonator is ensured to detonate within the preset delay time, and the reliability of the detonating sequence of the electronic detonator detonating network is improved.
4. And judging whether the state mark of the detonator indicates that the charging circuit is detected normally. Through the judgment of the detection result, the connection of the energy storage device connected with the outside of the control chip can be ensured to be reliable, and the detonation reliability of the electronic detonator is further ensured.
5. And judging whether the state mark of the detonator indicates that the ignition circuit is detected normally. By judging the detection result, the connection of the ignition device connected with the outside of the electronic detonator control chip can be ensured to be reliable, and the ignition reliability of the electronic detonator is further ensured.
And if the detonator judges that one or more items are 'yes', judging that the detonation condition is met.
Before the electronic detonator enters the pre-ignition state, one or more conditions are judged, so that the electronic detonator entering the pre-ignition state is ensured to be the normally detonated electronic detonator, and the detonation reliability of the electronic detonator detonation network is improved.
In the detonation control flow of the electronic detonator initiation device, the pre-ignition control process of the first step is carried out according to the following steps:
and step A1, initializing the electronic detonator initiation device, namely, taking the value of the registered electronic detonator number as the initial value of the variable N and calling the initial value into the cache of the control module for standby.
Step A2, an identity code and a status mark of an electronic detonator stored in the initiating device are taken.
Step A3, judging whether the state is accurate according to the state mark of the electronic detonator: if so, go to step A4; if not, step A6 is performed.
And step A4, sending a pre-ignition instruction to the electronic detonator.
Step a5, the control module executes a signal receiving process: if receiving the pre-ignition response information returned by the detonator, setting the state mark of the electronic detonator as a pre-ignition success mark in the detonating device; and if the detonator information is not received, adding the information of the detonator into an unresponsive detonator information list.
In step a6, the value of variable N is decremented by 1 to obtain a new value of N, i.e., N — 1.
Step a7, determining whether the value of variable N is zero: if not, returning to the step A2; if the value is zero, the pre-ignition control process is ended.
The electronic detonator priming device executes the pre-ignition control process, and sends pre-ignition instructions to all electronic detonators in the network one by one, so that the electronic detonators enter a pre-ignition state, namely a state of preferentially receiving the priming instructions, and a foundation is laid for realizing the control of the synchronism of the priming process. Meanwhile, the initiation device also acquires information of each electronic detonator which does not have initiation conditions in the network, and displays and outputs the information to an operator of the initiation device for decision making through the man-machine interaction module.
In the pre-ignition control process, the step a3 of determining whether the state of a certain detonator in the detonating circuit is accurate is implemented as determining one or more of the following:
1. and judging whether the state mark of the detonator in the detonating device indicates that the charging is successful. By confirming the state mark, the detonation energy stored in the detonator can be ensured, so that the detonation reliability of the detonator is ensured.
2. And judging whether the state mark of the detonator in the detonating device indicates that the roll call is successful. By confirming the state mark, the detonator can be ensured to be accurately connected to the detonator priming circuit, thereby ensuring the priming reliability of the detonator priming circuit.
3. And judging whether the state mark of the detonator in the detonating device indicates that the clock calibration is successful. By confirming the state mark, the accuracy of the delay time of the detonator in the current use environment can be guaranteed, so that the error of a blasting sequence cannot be generated in the differential blasting process, and the reliability of a detonator blasting circuit is improved.
4. And judging whether the state mark of the detonator in the detonating device indicates that the written delay time is successful. By confirming the status flag bit, the consistency of the actual detonation sequence and the preset detonation sequence of the detonator can be ensured, so that the influence on the detonation effect caused by the error delay time of the detonator is avoided.
And if the detonating device judges that one or more items are 'yes', judging that the state of the detonator is accurate.
Before the initiation device sends a pre-ignition instruction to the electronic detonator, one or more of the conditions are judged, so that initiation network information which is as complete and complete as possible is provided for an operator of the initiation device for decision making, and further the smooth blasting is ensured.
In the detonation control flow of the electronic detonator initiation device, the detonation instruction sending process of the seventh step is carried out according to the following steps:
and step B1, the control module sends a control signal to a signal sending modulation module in the detonating device to enable the control module to output a falling edge signal.
Step B2, the control module monitors whether the complex number n times of the preset delay time T is reached: if the time nT is reached, go to step B3; if not, continuing to monitor and wait for arrival.
And step B3, the control module sends a control signal to the signal sending modulation module to enable the signal sending modulation module to output a rising edge signal.
Step B4, the control module monitors whether the preset delay time T is reached: if T is reached, go to step B5; if not, continuing to monitor and wait for arrival.
And step B5, the control module sends a control signal to the signal sending modulation module to enable the signal sending modulation module to output a falling edge signal.
Step B6, the control module monitors whether the complex number m times of the preset delay time T is reached: if the time mT is reached, go to step B7; if not, continuing to monitor and wait for arrival.
Step B7, the control module sends a control signal to the signal sending modulation module to make it output a rising edge signal; and then the detonation instruction sending process is ended.
And the electronic detonator initiation device sends simple edge signals with preset time intervals to all detonators in the network through the initiation instruction sending process. The detonator executes the detonation instruction receiving process in the pre-ignition state to receive the edge signals, and the count values of the positive pulse signals and the negative pulse signals are simply compared with the preset value to judge whether the instructions are received correctly or incorrectly, so that the related operations such as instruction decoding and the like when receiving conventional instructions are avoided. And each detonator receives the edge signal sent by the detonating device to realize synchronous start of the delay module in each electronic detonator. When a detonation instruction is sent, the linear proportional relation of high and low levels is set for the instruction, and complex operation in the detonator can be avoided, so that the response speed of the detonator to the detonation instruction is improved, and the synchronous starting of delay modules in each detonator is further ensured.
In the detonation control flow of the electronic detonator, the detonation instruction receiving process of the step eleven is carried out according to the following steps:
step C1, the logic control circuit monitors whether a falling edge signal sent by the detonating device is received: if yes, go on to step C2; if not, continuing to monitor and wait for reception.
And step C2, the logic control circuit sends a control signal to the counter in the control chip to start the counter.
Step C3, the counter counts the negative pulses sent by the priming device: if the current count value is greater than the preset maximum negative pulse width value, executing step C17; if not, go to step C4.
Step C4, the logic control circuit monitors whether a rising edge signal sent by the detonating device is received: if yes, go on to step C5; if not, return to step C3.
Step C5, reading the current count value and calculating a negative pulse width meter value I; the counter counts the positive pulses sent by the priming device.
Step C6, the logic control circuit determines whether the negative pulse width counter value is greater than a preset negative pulse width minimum value: if the negative pulse width is larger than the preset minimum negative pulse width, continuing to execute the step C7; otherwise, step C17 is performed.
Step C7, the counter continues to count positive pulses: if the current count value is greater than the preset maximum positive pulse width value, executing step C17; otherwise, execution continues with step C8.
Step C8, the logic control circuit monitors whether a falling edge signal sent by the detonating device is received: if yes, go on to step C9; if not, return to step C7.
Step C9, reading the current count value and calculating the positive pulse width count value; the counter counts the negative pulses sent by the priming device.
In step C10, the logic control circuit calculates the ratio k of the negative pulse width count value one to the positive pulse width count value: if the difference between the ratio k and the complex number n is zero within the precision range, continuing to execute step C11; if not, go to step C17.
Step C11, the counter continues to count the negative pulses; if the current count value is greater than the preset maximum negative pulse width value, executing step C17; otherwise, execution continues with step C12.
Step C12, the logic control circuit monitors whether a rising edge signal sent by the detonating device is received: if yes, go on to step C13; if not, return to step C11.
Step C13, read the current count value and calculate the negative pulse width count value of two.
In step C14, the logic control circuit sends a control signal to the counter to stop the counter.
Step C15, the logic control circuit judges whether the value of the negative pulse width meter is a complex number m times of the preset delay time T: if mT, go on to step C16; otherwise, step C17 is performed.
Step C16, the logic control circuit sets the state mark of the detonator as a correct receiving mark of the detonation instruction; step C18 is then performed.
Step C17, the logic control circuit sets the state mark of the detonator as a detonation instruction receiving error mark; step C18 is then performed.
And step C18, ending the detonation instruction receiving process.
And the electronic detonator executes the detonation instruction receiving process. Firstly, judging whether a currently received signal is a detonation instruction or not according to the range of a received first negative pulse width count value: if the value of the negative pulse width meter is larger than the preset negative pulse width minimum value and is simultaneously smaller than the preset negative pulse width maximum value, continuing to execute the detonation instruction receiving process for receiving; otherwise, the detonation instruction receiving process is quitted, and the received signals are used as other instructions for processing. Then, according to the received positive pulse width count value, sequentially judging the proportional relation between the positive pulse width count value and the negative pulse width count value, and judging whether the currently received signal is a detonation instruction: if the value of the positive pulse width meter is larger than the preset minimum value of the positive pulse width and the proportional relationship respectively accords with the preset value, continuing to execute the receiving process of the detonation instruction to receive; otherwise, the detonation instruction receiving process is quitted, and the received signals are used as other instructions for processing. And finally, after the rising edge which meets the proportional relation is received, namely the detonation instruction is correctly received, the electronic detonator executes an ignition process, and a delay module is started to start countdown ignition.
The benefits of the above technical scheme are: on one hand, the factor which possibly interferes the start of the detonator delay module in the detonating network is eliminated by utilizing the proportional relation of high and low level signals, so that the reliability of the detonating process is improved; on the other hand, the delay module of the electronic detonator is directly started by utilizing the finally sent qualified edge signal which accords with the preset proportional relation, so that links such as instruction decoding and the like in the detonator when a conventional instruction is received are avoided, the response speed of the detonator to the initiation instruction is improved, the synchronous starting of the delay module in each detonator is further ensured, and the initiation synchronization control precision of the initiation network of the electronic detonator is finally improved.
And the detonating device sends a detonating instruction to the electronic detonator, wherein the length of the preset delay time T is greater than the maximum time length of all other instructions sent by the detonating device except the detonating instruction. The widths of high and low levels of the detonation instruction are increased, the sending frequency of the detonation instruction is greatly reduced, and the reliability of receiving the detonation instruction by the electronic detonator is also improved.
And the initiation device sends an initiation instruction to the electronic detonator, wherein the plurality m is not less than the plurality n. Therefore, the judgment process of the electronic detonator on the detonation instruction is simplified: before the electronic detonator receives the rising edge finally sent in the detonation instruction and counts the time length of the second low level, only need to simply judge whether the time length of the low level is greater than the time length of the first low level in the detonation instruction, and if so, immediately enter a to-be-triggered state waiting for the arrival of the rising edge. This avoids any deviation in the calculated results that might be caused by the different RC oscillator clock frequencies of the detonators.
And the safety discharge instruction sent to the electronic detonator by the detonating device in the fifth step is a global instruction for all the electronic detonators in the detonating network, and consists of a preset number s of synchronous learning heads and safety discharge command words in sequence.
The pre-ignition instruction sent by the initiation device to the electronic detonator in the step a4 is a single instruction for a certain electronic detonator, and is formed by sequentially presetting a number s of synchronous learning heads, a pre-ignition command word and an identity code of the electronic detonator.
The synchronous learning head is added in front of each instruction command word, so that for an electronic detonator control chip adopting an RC oscillator to form a clock circuit, the synchronous learning head can be utilized to adjust the data receiving opportunity and the counting interval of the detonator, and the accuracy of receiving the instruction command words is ensured. The instruction formed by the mode can be suitable for a priming circuit formed by an electronic detonator adopting an RC oscillator as a clock circuit, so that the detonator query method can be more flexibly applied to different electronic detonator priming circuits.
The safe discharge instruction adopts a global instruction which is applicable to all detonators and does not contain a detonator identity code, so that the time for the detonators to enter a safe state can be shortened as much as possible under the condition that the detonators do not have a detonation condition, particularly under the condition that a safety accident state exists in a detonation site, and the harm of safety risks is reduced. The pre-ignition instruction adopts a non-global instruction containing a detonator identity code, the accuracy of the detonator information obtained by the detonating device can be ensured through interaction, and a decision basis which is as detailed and reliable as possible is provided for detonating personnel.
Drawings
FIG. 1 is a block diagram showing the structure of the initiation circuit of the electronic detonator of the present invention;
FIG. 2 is a diagram showing a structure of a pre-ignition command in the present invention;
FIG. 3 is a view showing a configuration of a safety discharge command in the present invention;
FIG. 4 is a flow chart of a detonation control method of the electronic detonator priming circuit including the priming device and the electronic detonator of the present invention;
FIG. 5 is a flow chart of a pre-ignition control process of the present invention;
FIG. 6 is a flowchart of a detonation instruction sending process in the present invention;
FIG. 7 is a flowchart of a detonation instruction receiving process in the present invention;
fig. 8 is a diagram showing the structure of the detonation command in the present invention.
Detailed Description
The technical solution of the present invention will be further described in detail with reference to the accompanying drawings and the detailed description.
The electronic detonator priming circuit consists of an electronic detonator priming device 100, one or more electronic detonators 200 and a signal bus 300 connecting the priming device 100 and the electronic detonators 200, wherein the electronic detonators 200 are connected in parallel between the two signal buses 300 led out from the priming device 100, as shown in figure 1.
As an aspect of the technical solution of the present invention, the initiation control flow of the initiation device for the electronic detonator is performed according to the following steps, as shown in the initiation control flow part of the initiation device in fig. 4:
in the first step, a pre-ignition control process is performed on the electronic detonator 200 to make the electronic detonator enter a pre-ignition state, and a detonation instruction is preferentially received.
Secondly, the control module in the priming device 100 judges whether an unresponsive detonator exists according to the execution result of the pre-ignition control process: if the non-response detonator exists, namely the detonator which cannot be normally detonated exists in the network, executing a third step; if there are no non-responding detonators, indicating that all detonators in the network have entered the pre-firing state, then the seventh step is performed directly.
Thirdly, the control module sends the list of the non-response detonator information (i.e. the detonator information which does not enter the pre-ignition state) to a man-machine interaction module inside the initiation device 100 for display, so that an operator of the initiation device can make a decision according to the network condition.
Fourthly, the control module waits for confirmation information input by the man-machine interaction module from the outside: if the received confirmation information indicates that the detonation is cancelled, entering a detonation cancelling state, and executing a fifth step; and if the received confirmation information indicates that the detonation is continued, entering a continuous detonation state and executing the seventh step.
And fifthly, sending a safe discharge instruction to the electronic detonator 200 to enable the electronic detonator to enter a safe discharge process, and enabling the detonator to return to an initial state without energy storage in a detonation capacitor of the detonator, so as to ensure the safety of an operator in checking the network. The safety discharge command is a global command for all electronic detonators 200 in the detonating network, and is composed of a preset number s of synchronous learning heads and safety discharge command words in sequence, as shown in fig. 3.
Sixthly, the control module sets the state marks of the electronic detonators 200 stored in the detonating device 100 as non-pre-ignition success marks; and then the eighth step is executed.
And seventhly, executing a detonation instruction sending process on the electronic detonator 200 to enable the electronic detonator 200 to execute a detonation instruction receiving process.
And step eight, ending the detonation control flow of the detonation device.
As another aspect of the technical solution of the present invention, the initiation control flow of the electronic detonator is performed according to the following steps, as shown in the initiation control flow part of the electronic detonator in fig. 4:
firstly, a control chip in the electronic detonator 200 is initialized, namely a logic control circuit in the control chip sets a state mark of the chip to be in a non-pre-ignition state, and the logic control circuit sends a control signal to an ignition control circuit in the chip to enable the ignition control circuit to be in the non-ignition state.
And step two, the logic control circuit reads the identity code of the detonator stored in the nonvolatile memory in the chip.
Step three, the logic control circuit judges whether the detonator enters a pre-ignition state: if the pre-ignition state is the pre-ignition state, executing a step eleven; if the state is not the pre-ignition state, executing a step four.
Step four, the logic control circuit waits for receiving an instruction sent by the electronic detonator initiation device 100: if a pre-ignition instruction is received, entering a pre-ignition process, and executing a fifth step; and if the safe discharging instruction is received, entering a safe discharging process and executing the step nine.
Step five, the logic control circuit judges whether the instruction is an instruction aiming at the detonator according to the detonator identity code in the pre-ignition instruction: if the instruction is directed to the detonator, continuously executing the step six; and if the instruction is not the instruction for the detonator, returning to the step three.
Step six, judging whether the detonation condition of the detonator has the following conditions: if yes, executing step seven; if not, returning to the third step.
And step seven, sending back pre-ignition response information to the detonating device 100 so as to continuously execute the pre-ignition control process.
Eighthly, placing the detonator in a pre-ignition state; and then returning to the third step.
And step nine, the logic control circuit respectively sends control signals to a charging control circuit and a safety discharging circuit in the chip, so that the charging control circuit is in a non-charging state, and the safety discharging circuit is in a safety discharging state.
Step ten, putting the detonator into a non-pre-ignition state; and then returning to the step four.
Step eleven, the logic control circuit executes a detonation instruction receiving process: if the detonation instruction is received correctly, executing a step twelve; if the receiving is not correct, the step four is returned.
Step twelve, executing an ignition process; and finishing the detonation control flow of the electronic detonator.
The mutual cooperation of the detonation control flow of the detonation device and the detonation control flow of the electronic detonator realizes the synchronous detonation control of the detonation network.
In the detonation control flow of the electronic detonator, the judgment of whether the detonation conditions of the detonator in the sixth step are met or not can be embodied as the judgment of one or more of the following contents:
(1) and judging whether the charging control circuit is in a charging state or not. The energy storage condition of the detonation capacitor in the electronic detonator can be directly judged by judging the on-off state of the charging control circuit: if the charging control circuit is in a charging state, the required conditions for detonation are met; if the ignition capacitor is in a non-charged state, the ignition may be affected due to insufficient electric energy of the ignition capacitor. Therefore, the judgment of whether the charge control circuit is in the charged state can be one aspect of the judgment of whether the detonator initiation condition is satisfied.
(2) And judging whether the safety discharge circuit is in a non-discharge state or not. The energy storage condition of the detonation capacitor can also be indirectly judged by judging the on-off state of the safety discharge circuit: if the safety discharge circuit is in a discharge state, a discharge path of detonation energy is formed inside the detonator, and when a power supply line is damaged and cannot continuously supply power in the detonation process of the detonator, the detonation is possibly influenced due to insufficient electric quantity of a detonation capacitor; if the ignition device is in a non-discharge state, the required conditions for detonation are met. Therefore, the judgment of whether the safety discharge circuit is in the non-discharge state can be one aspect of the judgment of whether the conditions for detonating the detonator are met.
(3) And judging whether the state mark of the detonator shows that the delay time is successfully set. If the delay time is not set successfully, the detonation time of the detonator is possibly uncertain, and the blasting effect is finally influenced. Therefore, whether the delay time is set successfully or not can be used as one aspect of judgment on whether the conditions for detonating the detonator are met or not. The judgment of the content is not needed for the electronic detonator priming circuit which instantaneously detonates at the same time.
(4) And judging whether the state mark of the detonator indicates that the charging circuit is detected normally. If the charging loop is detected abnormally, it indicates that the detonation capacitor cannot be charged normally due to unreliable connection of the charging control circuit, the safe discharging circuit or an energy storage device outside the chip. This may affect the detonation due to insufficient capacitance. Therefore, whether the charging circuit is detected to be normal or not can be used as one aspect of judgment whether the detonator detonation condition is met or not.
(5) And judging whether the state mark of the detonator indicates that the ignition circuit is detected normally. If the ignition loop is detected abnormally, the situation that the detonator cannot normally ignite due to the fact that the ignition control circuit, the energy storage device or the ignition device outside the chip are connected unreliable is indicated. Therefore, whether the ignition circuit is detected to be normal or not can be used as one aspect of judging whether the conditions for detonating the detonator are met or not.
Before the electronic detonator enters the pre-ignition state, one or more conditions are judged, so that the electronic detonator entering the pre-ignition state is ensured to be the normally detonated electronic detonator, and the detonation reliability of the electronic detonator detonation network is improved. And selectively judging one or more contents according to specific conditions, and improving the operation efficiency of the detonation control flow of the electronic detonator.
In the detonation control flow of the electronic detonator initiation device shown in fig. 4, the pre-ignition control process of the first step is performed according to the following steps, as shown in fig. 5:
step a1, initializing the electronic detonator initiation device 100, that is, calling the value of the registered electronic detonator number as the initial value of the variable N into the cache of the control module for standby.
Step a2, the identity code of an electronic detonator 200 and its status flag stored in the initiating device 100 are fetched.
Step a3, judging whether the state is accurate according to the state mark of the electronic detonator 200: if so, go to step A4; if not, step A6 is performed.
Step a4, a pre-ignition command is sent to the electronic detonator 200 to enter into a pre-ignition process.
Step a5, the control module executes a signal receiving process: if the pre-ignition response information is received, setting the state mark of the electronic detonator 200 as a pre-ignition success mark in the detonating device 100; if not, the detonator 200 information is added to the list of unresponsive detonator information.
In step a6, the value of variable N is decremented by 1 to obtain a new value of N, i.e., N — 1.
Step a7, determining whether the value of variable N is zero: if not, returning to the step A2; if the value is zero, the pre-ignition control process is ended.
In the pre-ignition control process, the determination of whether the state of a certain detonator in the detonating circuit is accurate in step a3 may be embodied as determination of one or more of the following:
(1) and judging whether the state mark of the detonator in the detonating device indicates that the charging is successful. If the detonator is not charged successfully, the detonation may be affected due to insufficient electric quantity of the detonation capacitor. Therefore, the successful judgment of whether the charging is successful can be used as one aspect of the judgment of whether the state of the detonator is accurate.
(2) And judging whether the state mark of the detonator in the detonating device indicates that the roll call is successful. If the detonator is not successfully called, the detonation may be affected due to unreliable connection between the detonator and the bus. Therefore, the judgment of whether the roll call is successful can be used as one aspect of the judgment of whether the state of the detonator is accurate.
(3) And judging whether the state mark of the detonator in the detonating device indicates that the clock calibration is successful. If the detonator is not successfully calibrated, the blasting delay precision can be influenced due to the drift of the detonator clock frequency, so that the blasting effect is influenced. Therefore, the determination of whether the clock calibration has been successfully performed can be used as an aspect of the determination of whether the detonator state is accurate. For an electronic detonator which adopts a crystal oscillator as a clock circuit and does not need to carry out clock calibration, the judgment is not needed.
(4) And judging whether the state mark of the detonator in the detonating device indicates that the written delay time is successful. If the delay time is not successfully written into the detonator, the detonation time of the detonator is possibly uncertain, so that the blasting effect is influenced, and the blasting can completely fail in severe cases. Therefore, the successful judgment of whether the delay time is written can be used as one aspect of the accurate judgment of the state of the detonator.
Before the initiation device sends a pre-ignition instruction to the electronic detonator, one or more of the conditions are judged, so that initiation network information which is as complete and complete as possible is provided for an operator of the initiation device for decision making, and further the smooth blasting is ensured. The selective determination of one or more of the above-mentioned items according to the specific situation also improves the efficiency of the pre-ignition control process.
The pre-ignition command is a single command for a certain electronic detonator 200, and is composed of a preset number s of synchronous learning heads, a pre-ignition command word and an identity code of the electronic detonator in sequence, as shown in fig. 2.
In the detonation control flow of the electronic detonator initiation device shown in fig. 4, the detonation instruction sending process of the seventh step is performed according to the following steps, as shown in fig. 6:
in step B1, the control module sends a control signal to the signaling modulation module inside the initiation device 100, so that the control module outputs a falling edge signal 1, see fig. 8.
Step B2, the control module monitors whether the complex number n times of the preset delay time T is reached: if the time nT is reached, go to step B3; if not, continuing to monitor and wait for arrival.
In step B3, the control module sends a control signal to the signaling modulation module, so that the control module outputs a rising edge signal 2.
Step B4, the control module monitors whether the preset delay time T is reached: if T is reached, go to step B5; if not, continuing to monitor and wait for arrival.
In step B5, the control module sends a control signal to the signaling modulation module, so that the control module outputs a falling edge signal 3.
Step B6, the control module monitors whether the complex number m times of the preset delay time T is reached: if the time mT is reached, go to step B7; if not, continuing to monitor and wait for arrival.
Step B7, the control module sends a control signal to the signal sending modulation module to make it output a rising edge signal 4; and then the detonation instruction sending process is ended.
In the detonation control flow of the electronic detonator shown in fig. 4, the detonation instruction receiving process of the step eleven is performed according to the following steps, as shown in fig. 7:
step C1, the logic control circuit monitors whether the falling edge signal 1 sent by the initiating device 100 is received: if yes, go on to step C2; if not, continuing to monitor and wait for reception.
And step C2, the logic control circuit sends a control signal to the counter in the control chip to start the counter.
Step C3, the counter counts the negative pulses sent by the priming device 100: if the current count value is greater than the preset maximum negative pulse width value, executing step C17; if not, go to step C4.
Step C4, the logic control circuit monitors whether the rising edge signal 2 sent by the initiating device 100 is received: if yes, go on to step C5; if not, return to step C3.
Step C5, reading the current count value and calculating a negative pulse width meter value I; while the counter starts counting the positive pulses sent by the priming device 100.
Step C6, the logic control circuit determines whether the negative pulse width counter value is greater than a preset negative pulse width minimum value: if the negative pulse width is larger than the preset minimum negative pulse width, continuing to execute the step C7; otherwise, step C17 is performed.
Step C7, the counter continues to count positive pulses: if the current count value is greater than the preset maximum positive pulse width value, executing step C17; otherwise, execution continues with step C8.
Step C8, the logic control circuit monitors whether the falling edge signal 3 sent by the initiating device 100 is received: if yes, go on to step C9; if not, return to step C7.
Step C9, reading the current count value and calculating the positive pulse width count value; the counter counts the negative pulses sent by the priming device 100.
In step C10, the logic control circuit calculates the ratio k of the negative pulse width count value one to the positive pulse width count value: if the difference between the ratio k and the complex number n is zero within the precision range, continuing to execute step C11; if not, go to step C17.
Step C11, the counter continues to count the negative pulses; if the current count value is greater than the preset maximum negative pulse width value, executing step C17; otherwise, execution continues with step C12.
Step C12, the logic control circuit monitors whether the rising edge signal 4 sent by the initiating device 100 is received: if yes, go on to step C13; if not, return to step C11.
Step C13, read the current count value and calculate the negative pulse width count value of two.
In step C14, the logic control circuit sends a control signal to the counter to stop the counter.
Step C15, the logic control circuit judges whether the value of the negative pulse width meter is a complex number m times of the preset delay time T: if mT, go on to step C16; otherwise, step C17 is performed.
Step C16, the logic control circuit sets the state mark of the detonator as a correct receiving mark of the detonation instruction, so that the electronic detonator 200 can continue to execute the ignition process; step C18 is then performed.
Step C17, the logic control circuit sets the state mark of the detonator as a detonation instruction receiving error mark; step C18 is then performed.
And step C18, ending the detonation instruction receiving process.
The electronic detonator initiation device executes a initiation command sending process to send simple edge signals of a preset time interval to all detonators in the network, as shown in fig. 8. And the detonator executes the detonation instruction receiving process in the pre-ignition state to receive the edge signals, and simply compares or linearly calculates the count values of the positive pulse signal and the negative pulse signal with a preset value to judge the error of instruction receiving. The specific working process is as follows:
(1) firstly, the electronic detonator judges whether the currently received signal is a detonation instruction according to the range of the received first negative pulse width count value: if the value of the negative pulse width meter is larger than the preset negative pulse width minimum value and is simultaneously smaller than the preset negative pulse width maximum value, continuing to execute the detonation instruction receiving process for receiving; otherwise, the detonation instruction receiving process is quitted, and the received signals are used as other instructions for processing.
(2) Then, according to the received positive pulse width count value, sequentially judging the proportional relation between the positive pulse width count value and the negative pulse width count value, and judging whether the currently received signal is a detonation instruction: if the value of the positive pulse width meter is larger than the preset minimum value of the positive pulse width and the proportional relationship respectively accords with the preset value, continuing to execute the receiving process of the detonation instruction to receive; otherwise, the detonation instruction receiving process is quitted, and the received signals are used as other instructions for processing.
(3) And finally, after the last rising edge signal 4 which accords with the proportional relation is received, namely the detonation instruction is correctly received, the electronic detonator executes an ignition process, and a delay module is started to start countdown ignition.
In addition, in the whole time span of the detonation instruction sent by the detonation device to the electronic detonator, the length of the preset delay time T is taken as being larger than the maximum time length of all other instructions except the detonation instruction sent by the detonation device. Therefore, the widths of the high level and the low level of the detonation instruction are increased, the sending frequency of the detonation instruction is greatly reduced, and the reliability of receiving the detonation instruction by the electronic detonator is improved.
The complex number m is taken to be not less than the complex number n. Therefore, the judgment process of the electronic detonator on the detonation instruction is simplified: before the electronic detonator receives the rising edge 4 finally sent in the detonation instruction, when counting the time length of the second low level, only need to simply judge whether the time length of the low level is larger than the time length of the first low level in the detonation instruction, if so, the electronic detonator immediately enters a to-be-triggered state waiting for the rising edge 4 to arrive. This avoids any deviation in the calculated results that might be caused by the different RC oscillator clock frequencies of the detonators.
The working process of the detonation control method of the invention can be described as follows:
(1) the priming device executes a pre-ignition control process on the electronic detonator.
Firstly, an identity code and a state mark of a detonator are taken, and whether the state of the detonator is accurate or not is judged through the state mark, namely whether the detonator successfully completes one or more tasks of charging, roll calling, clock calibration or writing delay time and the like is judged through the state mark. The judgment of whether the state of the detonator is accurate is not limited to the content listed in the invention, and the more comprehensive the judgment content is, the more the state accuracy of the detonator entering the pre-ignition state can be ensured, thereby improving the reliability of the priming circuit. However, if too many unnecessary judgment contents are set, the judgment time of the control module is increased, and the operation efficiency of the detonation control flow is reduced.
And then, sending a pre-ignition instruction to the electronic detonator with accurate state, and waiting for receiving pre-ignition response information returned by the electronic detonator. And after the electronic detonator receives the pre-ignition instruction for the detonator, immediately judging whether the detonation condition of the detonator is met, wherein the judgment comprises one or more of the contents of judging whether the charging control circuit is in a charging state, whether the safety discharge circuit is in a non-discharging state, whether the state mark of the detonator shows that the delay time is successfully set, detecting the charging circuit normally, detecting the safety discharge circuit normally, detecting the ignition circuit normally and the like. If the detonation condition of the detonator is met, the electronic detonator sends the pre-ignition response information back to the detonation device, the detonator is arranged in a pre-ignition state, and the detonation instruction receiving process is executed to preferentially receive the detonation instruction, namely: and (3) receiving the signals sent by the detonating device as a detonating instruction by default, and if the received signals do not conform to the preset format of the detonating instruction, processing the received signals as a conventional instruction.
Finally, if the priming device receives the pre-ignition response information returned by the detonator, the state mark of the detonator is set as a pre-ignition success mark in the priming device, and then the next detonator is operated; otherwise, the detonator information is added to the list of unresponsive detonator information.
(2) And the detonating device outputs the unresponsive detonator information list to a man-machine interaction module to be displayed to an operator of the detonating device for the operator to make a decision. The operator selects to enter a detonation cancellation state or a detonation continuation state.
(3) If the detonation state is selected to be cancelled, the detonation device sends a safe discharge instruction to all electronic detonators in the network, and the state marks of all detonators stored in the detonation device are set as non-pre-ignition success marks. After the electronic detonator receives the safe discharge instruction, the logic control circuit in the detonator chip respectively sends control signals to the charging control circuit and the safe discharge circuit, so that the detonator enters a safe state without charging the detonation capacitor, and the detonator is in a non-pre-ignition state.
And if the electronic detonator is selected to enter the continuous detonation state, the detonation device executes a detonation instruction sending process to send a detonation instruction, and the electronic detonator executes a detonation instruction receiving process to receive the detonation instruction. After the detonation instruction is correctly received, the electronic detonator enters an ignition process, namely: firstly, a central processing unit in the logic control circuit sends a control signal to the delay module to start the delay module. Then, waiting for the arrival of the deferral time: if the delay time is reached, continuing to perform; if not, continuing to wait. And finally, the delay module outputs a signal to the ignition control circuit, so that the ignition control circuit is closed and is in an ignition state. So as to complete the ignition of the electronic detonator and the detonation of the network.