The charge control method of electronic detonator priming circuit
Technical field
The present invention relates to the priming system applied technical field, relate in particular to a kind of charge control method of electronic detonator priming circuit.
Background technology
The eighties in 20th century, developed countries such as Japan, Australia, the Europe electric detonator technology that begins one's study.Along with electronic technology, microelectric technique, fast development of information technology, the electric detonator technology has obtained great progress.Late 1990s, electric detonator begins to be dropped into application test and marketing.
The electric detonator that patent ZL200420034635.5, ZL98210324.7 and ZL200620094002.2 provide adopts an electric capacity to constitute energy storage device.In a single day detonator inserts blasting circuit, and priming device just will begin this electric capacity is charged, and this is automatic charging modes.
Provided a kind of technical scheme of electric detonator priming device in the patent application document 200810135028.0.This technical scheme has made up the basic framework of electric detonator priming device, has realized the basic function with electric detonator two-way communication, the priming devices such as electric detonator that detonate.Patent ZL03156912.9 has provided the basic implementation of electronic detonator control chip, has further provided the implementation of external pair of electric capacity (be respectively digital capacitance and detonate electric capacity) as the electronic detonator control chip of energy storage device in the patent application document 200820111269.7.
As improvement to automatic charging modes, in above-mentioned electric detonator system, adopt external pair of electric capacity to constitute the mode of energy storage device, with electric detonator controller self work institute energy requirement with detonate institute's energy requirement separate storage, the security when using to improve.The digital capacitance of stored electrons detonator controller self work institute energy requirement begins charging to it immediately after connecting into blasting circuit.And the electric capacity that detonates that energy is detonated in storage then after SBR is detonated in entering, adopts the mode of all detonators in the networking being carried out synchronous charging, accomplishes the charging to the electric capacity that detonates in each detonator.This charging modes makes that the electric capacity that detonates of all detonators charges simultaneously in the networking.Detonator quantity in the networking more for a long time, the synchronous charging mode can cause the pressure drop on the bus of detonator networking greatly to increase, and might cause the electric detonator controller to reset when serious, this has just reduced the reliability of blasting circuit work.
Summary of the invention
The objective of the invention is on the basis of above-mentioned prior art, further improve, a kind of charge control method of electronic detonator priming circuit is provided, comprise priming device charging control flow and electric detonator charging control flow two parts.The present invention has realized the control to the electric capacity charging process of detonating in the electric detonator control circuit assembly.Adopt the mode of time-sharing charging, reduce the transient current on the signal bus in the blasting circuit, the networking power supply noise of avoiding synchronous charging to bring, and then improve the reliability of electronic detonator priming circuit work.
Electronic detonator priming circuit among the present invention is made up of the signal bus of electric detonator priming device, one or more electric detonator and connection priming device and electric detonator.Wherein, all electric detonators are connected in parallel between two signal bus of being drawn by priming device.
As the one side of technical scheme of the present invention, the charging control flow of above-mentioned electric detonator priming device carries out according to following steps:
The first step, the electric detonator priming device carries out initialization, that is, the value of registered electric detonator number is called in the buffer memory of control module for usely as the initial value of variable N, and the initial value of preset charged defer time T is deposited in the buffer memory of control module for use.
In second step, get and be stored in identity code and Status Flag thereof in the priming device, an electric detonator.
In the 3rd step, judge whether the Status Flag of this electric detonator is the successfully sign that charges:, then carried out for the 8th step if charge successfully sign; Otherwise, proceeded for the 4th step.
In the 4th step, send charging instruction to the sub-detonator of institute's power taking.
In the 5th step, carry out the signal receiving process: reply if receive the charging instruction that institute's sub-detonator of power taking returns, then proceeded for the 6th step; If do not receive, then carried out for the 8th step.
In the 6th step, in priming device inside the Status Flag of this electric detonator is changed to charging and successfully indicates.
In the 7th step, judge whether to arrive preset charged defer time T:, then proceeded for the 8th step if arrive T; If no show then continues to wait for to arrive T.
In the 8th step, the value of variable N is subtracted 1, as the value of new N, i.e. N=N-1.
In the 9th step, whether the value of judgment variable N is zero: if non-vanishing, then returned for second step; If zero, then finish this priming device charging control flow.
As technical scheme of the present invention on the other hand, the charging control flow of above-mentioned electric detonator carries out according to following steps:
Step 1; The inner control chip of electric detonator carries out initialization; Be the logic control circuit of chip internal to the charging control circuit of chip internal, get angry control circuit and safe discharge circuit and transmit control signal respectively, make charging control circuit be in non-charged state, get angry that control circuit is in non-fired state, safe discharge circuit is in discharge condition.
Step 2, logic control circuit read the identity code of this detonator of storing in the chip internal nonvolatile memory.
Step 3 receives the instruction that the outside priming device of electric detonator sends: if receive the charging instruction that the electric detonator priming device sends, then get into the charging process, execution in step four.
Step 4, logic control circuit judge whether this instruction is the instruction to this detonator: if be directed against the instruction of this detonator, then continue execution in step five according to the detonator identity code in the charging instruction; If, then do not return step 3 for instruction to this detonator.
Step 5 is sent charging instruction to the electric detonator priming device and is replied.
Step 6; Electric detonator gets into charged state; Be logic control circuit to charging control circuit, get angry control circuit and safe discharge circuit and transmit control signal respectively, make charging control circuit be in charged state, get angry that control circuit is in non-fired state, safe discharge circuit is in the absence of discharge state; Return step 3 then.
Cooperatively interacting of above-mentioned priming device and electric detonator charging control flow realized the time-sharing charging to all electric detonators in the blasting circuit.Priming device is all electric detonator transmission charging instruction in the networking one by one, and one by one it are charged.After a certain electric detonator got into charged state, after priming device waited for that preset charged defer time T arrives, the side sends charging instruction to next detonator made it get into charged state.Set suitable preset charged defer time T, just can guarantee only an electric detonator to be charged at synchronization in the blasting circuit.This has just reduced the satisfied requirement that electric detonator in the networking is charged simultaneously of priming device energy fan-out capability, has avoided the networking noise that excessive charging current is brought in the networking simultaneously, has improved the stability of electronic detonator priming circuit bus voltage.In addition; The mode that charging instruction is replied is returned in employing; To priming device the charged state of each electric detonator in the networking is provided,, thereby has improved the reliability of detonating of electric detonator detonation system so that the operating personnel of detonating make a strategic decision according to the state that priming device provides.
The choosing of preset charged defer time T should make the completion of having charged of the energy storage device in the electric detonator, and therefore, this electric detonator continues the required charging current of charging the communication signal to noise ratio in the networking is no longer constituted influence.
Above-mentioned the 4th step priming device charging instruction that send and that electric detonator receives is the single instruction to a certain electric detonator, is made up of successively the identity code of presetting the individual study synchronously of number m head, charging controlling command characters and this electric detonator.Before the charge command word, increase synchronous head; For adopting the RC oscillator to constitute the electronic detonator control chip of clock circuit; Be somebody's turn to do synchronous study head and can be used for the data reception opportunity and the counting interval of detonator are adjusted, thereby guaranteed accuracy the reception of designated command word.Such instruction constitutes makes this instruction can apply to different electronic detonator priming circuits more neatly.
Description of drawings
Fig. 1 is the formation block diagram of electronic detonator priming circuit of the present invention;
The sketch map that Fig. 2 constitutes for the charging instruction among the present invention;
Fig. 3 includes the charging control flow chart of the electronic detonator priming circuit of priming device and electric detonator for the present invention.
The specific embodiment
Below in conjunction with the accompanying drawing and the specific embodiment technical scheme of the present invention is explained further details.
Electronic detonator priming circuit is made up of the signal bus 300 of electric detonator priming device 100, one or more electric detonator 200 and connection priming device 100 and electric detonator 200; Electric detonator 200 is connected in parallel between two signal bus 300 of being drawn by priming device 100, like Fig. 1.
As the one side of technical scheme of the present invention, the charging control flow of above-mentioned electric detonator priming device 100 carries out according to following steps, shown in priming device charging control flow part among Fig. 3:
The first step, electric detonator priming device 100 carries out initialization, that is, the value of registered electric detonator number is called in the buffer memory of control module for usely as the initial value of loop control variable N, and calls in the buffer memory initial value of preset charged defer time T for use.
Second step, get through detonator reach the standard grade the registration process input or through outside alternate manner input, be stored in identity code and Status Flag thereof in the priming device 100, an electric detonator 200.
In the 3rd step, judge whether the charged state flag bit of these electric detonator 200 Status Flags is the successfully sign that charges:, then carried out for the 8th step if charge successfully sign; Otherwise, proceeded for the 4th step.
In the 4th step, send charging instruction to the sub-detonator 200 of institute's power taking; After electric detonator 200 receives this instruction, promptly get into the charging process, the electric capacity that detonates of its inside is charged.
The 5th step, carry out the signal receiving process, promptly wait for receiving the charging instruction response message that electric detonator 200 sends:, then proceeded for the 6th step if receive the charging instruction response message that the sub-detonator 200 of institute's power taking returns; If do not receive, then carried out for the 8th step.
In the 6th step, in priming device 100 inside the Status Flag of this electric detonator 200 is changed to charging and successfully indicates.
In the 7th step, judge whether to arrive preset charged defer time T: if arrive T, then think and accomplished the process that the electric capacity that detonates to this detonator charges, proceeded for the 8th step; If no show then continues to wait for to arrive T, promptly wait for this detonator completion charging.
In the 8th step, the value of loop control variable N is subtracted 1, as the value of new N, i.e. N=N-1.
The 9th step, judge that whether the value of loop control variable N is zero, judge whether that promptly all electric detonators in the networking have all accomplished the charging of the electric capacity that detonates:, then finish this charging control flow if zero; If non-vanishing, then returned for second step.
As technical scheme of the present invention on the other hand, the charging control flow of above-mentioned electric detonator 200 carries out according to following steps, shown in electric detonator charging control flow part among Fig. 3:
Step 1; Electric detonator 200 inner control chips carry out initialization; Be the logic control circuit of chip internal to the charging control circuit of chip internal, get angry control circuit and safe discharge circuit and transmit control signal respectively, make charging control circuit be in non-charged state, get angry that control circuit is in non-fired state, safe discharge circuit is in discharge condition.
Step 2, logic control circuit read the identity code of this detonator of storing in the chip internal nonvolatile memory.
Step 3 is waited for receiving the instruction that electric detonator 200 outside priming devices 100 send: if receive the charging instruction that electric detonator priming device 100 sends, then get into the charging process, continue execution in step four.
Step 4, logic control circuit judge whether this instruction is the instruction to this detonator: if be directed against the instruction of this detonator, then continue execution in step five according to the detonator identity code in the charging instruction; If, then do not return step 3 for instruction to this detonator.
Step 5 is sent charging instruction to electric detonator priming device 100 and is replied; Priming device 100 receives after this charging instruction replys, and promptly portion is changed to charging with the Status Flag of this detonator and successfully indicates within it.
Step 6; Electric detonator 200 gets into charged state; Be that logic control circuit transmits control signal respectively to charging control circuit, ignition control circuit and safe discharge circuit; Make charging control circuit be in charged state, the control circuit of getting angry is in non-fired state, safe discharge circuit is in the absence of discharge state, priming device 100 promptly begins this detonator is charged.Return step 3 then, continue to wait for other instruction of reception.
The course of work of this charge control method can be described as:
Priming device 100 is not changed to the successfully electric detonator 200 transmission charging instruction of sign of charging to a certain charging flag bit one by one.Electric detonator 200 promptly gets into the charging process after receiving this charging instruction, and judges whether this detonator 200 is charged.If the detonator identity code in the instruction conforms to the identity code of this detonator 200, then electric detonator 200 is replied to priming device 100 loopback charging instruction, and gets into charged state; If do not conform to, then withdraw from the charging process, return the external command state that receives of waiting for.Priming device 100 receives after said charging instruction that detonator returns replys, and promptly portion is changed to charging with the Status Flag of this detonator and successfully indicates within it; Begin then to wait for to arrive, so far accomplish charging control process this detonator until preset charged defer time T.
The above-mentioned charging instruction that receives with electric detonator that priming device sends by preset number m synchronously the identity code of study head, charging controlling command characters and an electric detonator 200 constitute successively, like Fig. 2.This instruction is the single instruction to some electric detonators 200.Priming device 100 all electric detonators 200 in the networking send one by one and should instruct, thereby one by one make it get into charged state.
Above-mentioned priming device 100 cooperatively interacts with electric detonator 200 charging control flows, has realized the time-sharing charging to all electric detonators 200 in the blasting circuit.Priming device 100 is all electric detonator 200 transmission charging instruction in the networking one by one, and one by one it are charged.After a certain electric detonator 200 got into charged state, after priming device 100 waited for that preset charged defer time T arrives, the side sends charging instruction to next detonator made it get into charged state.Through setting suitable preset charged defer time T, can guarantee only an electric detonator 200 to be charged at synchronization in the blasting circuit.This has just reduced and will charge simultaneously to the requirement of priming device 100 energy fan-out capabilities to a plurality of detonators, has avoided the communication noise that excessive charging current is brought in the networking simultaneously.
The choosing of preset charged defer time T should make the completion of having charged of the electric capacity that detonates in the electric detonator energy storage device; Thereby when next detonator is sent the charging control instruction; Guaranteed the charging process of this detonator is accomplished; Owing at this moment this sub-detonator that generates electricity is continued the required charging current of charging the communication signal to noise ratio in the networking is no longer constituted influence, therefore can improve the reliability of communication.