System, method, equipment and medium for realizing time-sharing charging of electronic detonator
Technical Field
The invention relates to the technical field of electronic detonators, in particular to a system, a method, equipment and a medium for realizing time-sharing charging of electronic detonators.
Background
The electronic detonators need to be networked in real explosion on site, the number of the networked detonators is dozens to hundreds, and the detonators are connected with the electronic detonators in parallel. The detonator adopts the battery power supply, can't provide too big output power, and too much when the electronic detonator of network deployment access detonator quantity to charge to the high pressure simultaneously, can produce very big electric current on the generating line, in case exceeded the maximum power of detonator, can lead to partial electronic detonator can't charge target voltage or because input voltage is low reset excessively, no matter which kind of situation, all can increase substantially the rejection rate of detonator.
The prior art mainly has several charging modes:
some adopt a mode of charging one by one, which means that the detonator sequentially sends a single-shot charging instruction to all the electronic detonators in the network one by one, so as to charge the voltage of the energy storage capacitor in each electronic detonator to the initiation voltage. Because the quantity of the electronic detonators is large during networking, each electronic detonator needs to be independently operated, the operation is complex, the integral charging time is long, the field efficiency is extremely low, and meanwhile, because the charging time interval between the first and the last detonators is too long, the energy storage capacitor of the early-stage charged detonator can cause insufficient charging due to self electric leakage, so that the probability of explosion rejection is improved.
Some adopt a voltage division charging mode, which means that a plurality of voltage levels are divided from low to high in charging voltage, an initiator charges an energy storage capacitor in an electronic detonator by sending charging instructions of different voltage levels, and the method can support a broadcast command, namely, the voltage division charging is carried out on all detonators simultaneously until the initiation voltage is reached. However, in this way, the initiator needs to send a charging instruction for many times and needs to detect the charging voltage for many times to judge whether the initiator is fully charged or not so as to enter the charging of the next voltage level, the whole charging process is complicated, and more uncertain factors are added to the field blasting operation.
Some adopt the way of charging sectionally, namely number the detonator, once choose some detonator sets to charge from n numbered detonators at random, take some detonator from the rest detonator to charge after finishing filling, until finishing filling finally. The method has two disadvantages that on one hand, the detonator needs to perform additional numbering operation on the electronic detonator, and meanwhile, a special charging instruction according to the number value needs to be designed in the electronic detonator, so that the efficiency is still lower compared with the method of broadcasting the charging instruction (all detonators are charged simultaneously).
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a system, a method, equipment and a medium for realizing time-sharing charging of an electronic detonator.
According to the system, the method, the equipment and the medium for realizing the time-sharing charging of the electronic detonator, the scheme is as follows:
in a first aspect, a system for realizing time-sharing charging of an electronic detonator is provided, the system comprising: the detonator and a plurality of electronic detonators connected with the detonator;
wherein, the detonator accomplishes the detonation control to electronic detonator, includes: the main control unit, the two bus circuits and the feedback current sampling function;
the electronic detonator comprises: the device comprises a rectifier bridge, a clock circuit, a power circuit, a communication circuit, a charging and discharging circuit, digital control logic, a memory and an energy storage capacitor;
the detonator is connected with the rectifier bridge and the communication circuit, the other end of the rectifier bridge is connected with the power circuit, and the other end of the power circuit is respectively connected with the clock circuit, the digital control logic and the communication circuit; meanwhile, a memory is connected between the power supply circuit and the communication circuit, and a charging and discharging circuit is connected between the power supply circuit and the clock circuit;
the digital control logic is respectively connected with the clock circuit, the charging and discharging circuit, the memory and the communication circuit, the other end of the charging and discharging circuit is connected with the energy storage capacitor, and the other end of the energy storage capacitor is grounded.
Preferably, the two-bus circuit generates a and B bus power and signals, wherein the sampling resistors R1 and R2 are 20 ohms.
Preferably, the electronic detonator specifically includes:
a rectifier bridge: the conversion from alternating current signals to direct current signals is realized;
a clock circuit: providing a stable clock for the digital logic circuit, wherein the clock frequency is more than 100K;
a power supply circuit: the conversion from a high-voltage power supply to a low-voltage power supply is realized;
a communication circuit: the writing of the two bus signals into data is realized, the digital logic signals in the detonator chip are converted, and when the two buses read data from the detonator chip, the short circuit of A and B is realized to provide feedback current;
a charge and discharge circuit: the energy storage capacitor comprises a current limiting resistor, a charging tube and a discharging tube, and realizes charging and discharging management of the energy storage capacitor;
digital control logic: receiving various commands of the initiator through the communication circuit and performing corresponding operations;
a memory: data which cannot be lost after the chip is powered down is stored;
an energy storage capacitor: the ignition device is used for supplying power to the chip after the electronic detonator chip enters the delay period and providing energy to ignite the explosive head during detonation.
Preferably, the power supply circuit further includes: the output low voltage is used as a digital control logic, a memory, a communication circuit and a clock circuit; and the feedback switch on the power supply path is controlled by the digital control logic and is used for feeding current and uploading data to the initiator.
Preferably, the digital control logic comprises: the feedback switch of the power supply circuit is controlled to realize current feedback, the charge-discharge circuit is controlled to realize charge-discharge of the energy storage capacitor, and the memory is controlled to realize data read-write.
In a second aspect, a method for realizing time-sharing charging of an electronic detonator is provided, and the method includes:
step S1: after the electronic detonator chip is normally powered on, initializing;
step S2: after the initialization of the electronic detonator chip is finished, entering a standby state to wait for receiving a command of the initiator;
and step S3: the electronic detonator chip receives a scanning command sent by the detonator, and starts to count the scanning command;
and step S4: the detonator broadcasts and sends a charging command to charge each electronic detonator;
step S5: when the voltage of the energy storage capacitor reaches the target charging voltage, the charging switch is closed.
Preferably, the step S3 further comprises: and if the current chip can complete one-time complete UID scanning feedback, the value of the scanning counter is stored in the memory as a serial number value.
Preferably, the step S4 further comprises: the charging command comprises a charging interval M between two detonators with adjacent serial number values, and the unit is 1000 × T;
and each electronic detonator starts a counter based on the working clock period T, and for the detonator with the number of M, the charging function is started after the count value reaches N M1000, so that the energy storage capacitor of the detonator is charged.
In a third aspect, an apparatus is provided, the apparatus comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the steps in the method.
In a fourth aspect, a computer-readable storage medium is provided, in which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the method.
Compared with the prior art, the invention has the following beneficial effects:
1. for the electronic detonator chip, the serial number is automatically generated in the scanning process of the chip, and an initiator is not required to add an extra special instruction for issuing, so that a large amount of operation time caused by writing the serial number is avoided;
2. for the electronic detonator chip, the charging time can be staggered according to respective serial number values by only adding a counter for delayed charging, so that the voltage drop caused by large current introduced by simultaneous charging on a bus can be avoided as much as possible, and the abnormality of resetting and the like of the detonator due to the excessively low input voltage is prevented;
3. for the initiator, the electronic detonator is charged in a time-sharing manner, so that the maximum output power of the initiator can be greatly reduced, the maximum charging current and the bus short-circuit current can be obviously distinguished, and the phenomenon that the action of a protection switch is triggered by identifying the overlarge charging current as the short-circuit current and the output of the initiator is closed is prevented.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments with reference to the following drawings:
FIG. 1 is a schematic diagram of an electronic detonator networking;
FIG. 2 is a system block diagram;
FIG. 3 shows a two-bus driving circuit;
FIG. 4 is a feedback current sampling circuit;
fig. 5 is a working principle diagram of time-sharing charging of the electronic detonator.
Detailed Description
The present invention will be described in detail with reference to specific examples. The following examples will aid those skilled in the art in further understanding the present invention, but are not intended to limit the invention in any manner. It should be noted that it would be obvious to those skilled in the art that various changes and modifications can be made without departing from the spirit of the invention. All falling within the scope of the invention.
The embodiment of the invention provides a system for realizing time-sharing charging of an electronic detonator, which is shown in a figure 1 and a figure 2 and comprises: the detonator and a plurality of electronic detonators connected with the detonator.
The detonator finishes detonation control on the electronic detonator, and generally comprises a main control unit, two bus circuits (generating an A bus power supply and a B bus power supply and signals) and a feedback current sampling function.
The electronic detonator comprises: the device comprises a rectifier bridge, a clock circuit, a power circuit, a communication circuit, a charging and discharging circuit, digital control logic, a memory and an energy storage capacitor;
specifically, referring to fig. 2, the initiator is connected to a rectifier bridge and a communication circuit, the other end of the rectifier bridge is connected to a power circuit, and the other end of the power circuit is connected to a clock circuit, a digital control logic and the communication circuit respectively; meanwhile, a memory is connected between the power circuit and the communication circuit, and a charging and discharging circuit is connected between the power circuit and the clock circuit.
The digital control logic is respectively connected with the clock circuit, the charging and discharging circuit, the memory and the communication circuit, the other end of the charging and discharging circuit is connected with the energy storage capacitor, and the other end of the energy storage capacitor is grounded.
Specifically, the functions of the components in the electronic detonator are as follows:
a rectifier bridge: and the conversion from the alternating current signal to the direct current signal is realized.
A clock circuit: the digital logic circuit is provided with a stable clock, and the clock frequency is usually above 100K.
A power supply circuit: and the conversion from the high-voltage power supply to the low-voltage power supply is realized. The output low voltage is mainly used as digital control logic, a memory, a communication circuit, a clock circuit and the like; and a feedback switch on a power supply path is also included, is controlled by the digital control logic and is used for current feedback and uploading data to the initiator.
A communication circuit: the writing of the two-bus signals into the data is realized, the digital logic signals in the detonator chip are converted, and the A and B short circuits are realized to provide feedback current when the two buses read data from the detonator chip.
A charge and discharge circuit: the energy storage capacitor charging and discharging management system comprises a current limiting resistor, a charging tube and a discharging tube, and realizes charging and discharging management of the energy storage capacitor.
Digital control logic: various commands of the initiator are received through the communication circuit and corresponding operations are executed, including controlling a feedback switch of the power circuit to realize current feedback, controlling a charging and discharging circuit to realize charging and discharging of the energy storage capacitor and controlling the memory to realize reading and writing of data.
A memory: the method is used for storing data which cannot be lost after the chip is powered down.
Energy storage capacitor: the electronic detonator chip is used for supplying power to the chip after the electronic detonator chip enters a delay period and providing energy to ignite the explosive head during detonation.
Referring to FIG. 3, a two bus driver circuit generates the A and B bus power and signals, wherein the sampling resistors R1 and R2 are typically 20 ohms.
Referring to fig. 4, a feedback current sampling circuit, a sampling circuit of a B bus, and D1 is a 3V regulator tube. A typical configuration of this circuit is as follows: the operational amplification factor is 7.8 times, the RC filtering is 200 omega +22nF, the cut-off frequency is about 36K, and B_ADC _TESTis connected with the analog-to-digital sampling ADC channel of a singlechip.
The invention also provides a method for realizing time-sharing charging of the electronic detonator, which is shown in figure 5 and comprises the following steps:
step S1: and after the electronic detonator chip is normally powered on, initializing.
Step S2: and after the initialization of the electronic detonator chip is finished, the electronic detonator chip enters a standby state and waits for receiving a command of the initiator.
And step S3: and the electronic detonator chip receives the scanning command sent by the initiator and starts to count the scanning command. If the current chip can complete one-time complete UID scanning feedback, the value of the scanning counter is taken as a number value to be stored in a memory.
And step S4: the initiator broadcasts a charging command to charge each electronic detonator, the charging command including the charging interval M between two adjacent numbered detonators, which is 1000 × T (T is the working clock period of the chip, typically 10us, corresponding to a 100kHz working clock). And each electronic detonator starts a counter based on the working clock period T, and for the detonator with the number M, the charging function is started after the count value reaches N M1000, so that the energy storage capacitor of the detonator is charged.
Step S5: when the voltage of the energy storage capacitor reaches the target charging voltage, the charging switch is closed.
The scan instructions in the auto-numbering scheme are shown in table 1 below:
TABLE 1
Through the scanning instruction, the UID and the number value of the corresponding detonator can be read out, and the number value is subsequently used for realizing the time-sharing charging function of the electronic detonator in the invention.
The time-sharing charging command is shown in table 2 below:
TABLE 2
Let the electronic detonator operating clock be 100kHz,1000 × T =1000 × 1/100kHz =10ms.
When the bus for networking the electronic detonators is long (usually more than 1 km), and the number of detonators is more, for example, 500 detonators, in order to avoid the problem caused by the excessive charging current as much as possible, the delay parameter may be set to be larger, for example, M is set to 50, the charging delay between every two detonators is M1000 t =50 ms =0.5s, and the total of 500 detonators requires 500 x 0.5=250s, which is a little longer, but the charging can be reliably and stably performed.
When a bus for networking the electronic detonators is short (usually about 600M) or the number of detonators is small, for example 200 detonators, since the charging current is relatively small, in order to increase the charging speed, the delay parameter can be set to be small, for example, M is set to 10, the charging delay between every two detonators is M1000 t =10 10ms = 0.10s, the total time required for 200 detonators is 200 × 0.1=20s, and the charging of the detonators can be completed relatively quickly.
In practical application, the configuration of the delay parameters can be adaptively completed according to the number of networked detonators and the bus distance.
The embodiment of the invention provides a system, a method, equipment and a medium for realizing time-sharing charging of electronic detonators, wherein after the electronic detonators finish networking scanning, each electronic detonator is automatically allocated with a different number value N, the number value N starts from 1, and the maximum value is the number of the on-line detonators in a network. The detonator realizes time-sharing charging of the electronic detonator through a special charging instruction, specifically, the charging instruction adopts a broadcast command, the command comprises charging delay configuration information, the information has the length of 1 byte, the numerical value is M, and the unit is 1000 × T (wherein T is a chip working clock). After each generator detonator receives the charging command, delay charging is controlled according to the number value N of the generator detonator, and the delay time is N M1000T. Through the time-sharing charging mode, the charging time of each detonator can be effectively staggered, the problems that the line voltage drop is too large due to the fact that the charging current of all the on-line detonators is too large at the same time, the input voltage of the detonators is too low to reset and the like are solved, and the charging and networking reliability is improved.
Those skilled in the art will appreciate that, in addition to implementing the system and its various devices, modules, units provided by the present invention as pure computer readable program code, the system and its various devices, modules, units provided by the present invention can be fully implemented by logically programming method steps in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Therefore, the system and various devices, modules and units thereof provided by the present invention can be regarded as a hardware component, and the devices, modules and units included therein for implementing various functions can also be regarded as structures within the hardware component; means, modules, units for performing the various functions may also be regarded as structures within both software modules and hardware components for performing the method.
The foregoing description of specific embodiments of the present invention has been presented. It is to be understood that the present invention is not limited to the specific embodiments described above, and that various changes or modifications may be made by one skilled in the art within the scope of the appended claims without departing from the spirit of the invention. The embodiments and features of the embodiments of the present application may be combined with each other arbitrarily without conflict.