Bus arbitration method and system for batch acquisition of UID codes of electronic detonators
By using the bus arbitration method in the electronic detonator, the bus state is controlled to avoid data confusion, and the problems of low efficiency and judgment errors are solved when batch acquisition of UID codes are solved, and the effect of the detonator to obtain the UID codes clearly and accurately is achieved.
Patent Information
- Application Number
- CN202411826213.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-04-01
AI Technical Summary
In the prior art, when obtaining the electronic detonator UID code in batches, there is a problem of bus data confusion and the inability to determine which electronic detonator corresponds to the UID code, resulting in low working efficiency and data errors.
The bus arbitration method is adopted to control the bus state through the arbitration module of the electronic detonator to ensure that only the electronic detonator that first sends explicit data can continue to send UID codes, and other electronic detonators stop sending to avoid data confusion.
The electronic detonator that determines the first to send explicit data among multiple electronic detonators is realized, ensuring that the detonator can clearly and accurately obtain the UID code of each electronic detonator, and improves work efficiency and data accuracy.
Smart Images

Figure CN119737829A_ABST
Abstract
Description
Technical Field
[0001] One or more embodiments of the present specification relate to the technical field of electronic detonators, and in particular, to a bus arbitration method and system for batch acquiring UID codes of electronic detonators. Background Art
[0002] The digital electronic detonator system consists of three parts: detonator, blasting equipment, and supervision platform. The digital electronic detonator and the blasting equipment are connected by wire. One blasting equipment can simultaneously connect to multiple digital electronic detonators through a bus. The two wires (i.e., line A and line B) connected to multiple electronic detonators from the detonator are called a bus.
[0003] Digital electronic detonators require three codes (UID code, detonation password, and tube code) to be combined. The UID code is a code used to uniquely identify electronic detonators. Before a digital electronic detonator is detonated, it is necessary to use a detonation device to upload the tube code or UID code to the supervision platform to obtain the detonation password. The digital electronic detonator can only be detonated after the detonation password is verified.
[0004] The method of using the pipe code to obtain the detonation password is offline authorization, and the method of using the UID code to obtain the detonation password is online authorization. The difference between online authorization and offline authorization is that online authorization can be obtained by accessing the supervision platform through the network at the detonation site, uploading the UID code and obtaining the password for detonation, while offline authorization can only be obtained by uploading the pipe code through a network-connected device when the digital electronic detonator is out of the warehouse, and then going to the blasting site to use the device to send the downloaded password to the detonation device, and the detonation device then controls the digital electronic detonator to detonate. Compared with offline authorization detonation, the online authorization detonation operation steps are simpler and more convenient.
[0005] However, the UID code only exists inside the digital electronic detonator chip and cannot be directly obtained. It needs to be obtained by sending instructions through the detonation device. When obtaining the UID code, there are two ways to obtain the UID code of the electronic detonator one by one and to obtain the UID code of the electronic detonator in batches.
[0006] The method of obtaining the UID code of the electronic detonator shot by shot: If the UID code is obtained shot by shot, the detonator needs to be connected to only one electronic detonator, and then the UID code of the corresponding electronic detonator is obtained. Taking the detonator obtaining the UID code of 10 electronic detonators as an example, first the detonator is only connected to the No. 1 electronic detonator, then the UID code of the No. 1 electronic detonator is obtained through instructions, and finally the No. 1 electronic detonator is disconnected from the detonator; then the detonator is only connected to the No. 2 electronic detonator, then the UID code of the No. 2 electronic detonator is obtained through instructions, and finally the No. 2 electronic detonator is disconnected from the detonator; then the detonator is only connected to the No. 3 electronic detonator, then the UID code of the No. 3 electronic detonator is obtained through instructions, and finally the No. 3 electronic detonator is disconnected from the detonator... and the UID codes of 10 electronic detonators are obtained in sequence. This method is time-consuming and labor-intensive, and has low work efficiency.
[0007] Method for obtaining UID codes of electronic detonators in batches: Since a detonating device is connected to multiple digital electronic detonators at the same time, the detonating device will send instructions to all digital electronic detonators at the same time to obtain the UID code. However, electronic detonators do not have networking functions. The timing of electronic detonators depends on the crystal oscillator part inside the circuit. Crystal oscillator timing will produce errors due to various reasons such as temperature, voltage, load and even manufacturing process, resulting in frequency differences between electronic detonators. The frequency difference of electronic detonators will cause differences in the speed at which electronic detonators respond to detonator instructions. Electronic detonators with high frequencies respond quickly, while electronic detonators with low frequencies respond slowly. In this case, the feedback of UID codes from multiple digital electronic detonators will eventually cause bus data confusion. Even if the frequencies of multiple electronic detonators are the same, there is still the problem that the detonating device cannot determine which digital electronic detonator a certain UID code corresponds to. Summary of the invention
[0008] In order to solve the above problems, one or more embodiments of this specification describe a bus arbitration method and system for batch acquisition of UID codes of electronic detonators.
[0009] In a first aspect, a bus arbitration method for batch acquiring UID codes of electronic detonators is provided, the bus arbitration method comprising: L1. The electronic detonator controls its receiving module to obtain the UID code acquisition instruction; when the receiving module obtains the UID code acquisition instruction, it enters L2; L2. The electronic detonator controls its bus reply module to obtain the current bit data to be sent by the UID code, and at the same time, the electronic detonator controls its level determination module to determine the bus state; when the bus state is the first state, enter L3; when the bus state is the second state, enter L4; L3. The electronic detonator controls its bus reply module to determine whether the current bit data to be sent by the UID code is dominant data; if the current bit data is dominant data, the electronic detonator controls its arbitration module to short-circuit so that the bus state changes from the first state to the second state, and at the same time, the electronic detonator controls its bus reply module to send the current bit data and return to L2; if the current bit data is non-dominant data, the electronic detonator controls its bus reply module to send the current bit data and return to L2; L4. The electronic detonator determines whether its arbitration module is short-circuited; when the arbitration module is short-circuited, the electronic detonator controls its bus reply module to send the current bit data and returns to L2; when the arbitration module is not short-circuited, the electronic detonator controls its bus reply module to stop sending the UID code.
[0010] Preferably, in L4, when the arbitration module is short-circuited, the electronic detonator controls its bus reply module to determine whether the current bit data to be sent by the UID code is dominant data; If the current bit data is dominant data, the electronic detonator controls its bus reply module to send the current bit data and returns to L2; If the current bit data is non-explicit data, the electronic detonator controls its arbitration module to disconnect and controls its level determination module to determine the bus state; if the bus state changes from the second state to the first state, the electronic detonator re-controls its arbitration module to short-circuit, and the electronic detonator controls its bus reply module to send the current bit data and return to L2; if the bus state remains unchanged, the electronic detonator controls its bus reply module to stop sending the UID code.
[0011] Preferably, the bus arbitration method further comprises: L0. The detonator sends UID code acquisition instructions to all electronic detonators.
[0012] Preferably, the bus arbitration method further comprises: L5. The detonator receives the UID code; after receiving a complete UID code, the detonator determines whether the total number of UID codes currently received is less than the total number of electronic detonators; if so, it returns to L0.
[0013] Preferably, L5 also includes: When the detonator receives a complete UID code, if the total number of currently received UID codes is less than the total number of electronic detonators, a shielding flag is set for the corresponding UID code.
[0014] Preferably, L0 also includes: While the detonator sends the UID code acquisition instruction to all the electronic detonators, it also sends the UID code with a shielding mark to all the electronic detonators.
[0015] Preferably, in L1, before the electronic detonator controls its receiving module to obtain the UID code acquisition instruction, it also includes: The electronic detonator determines whether its arbitration module is short-circuited. If the arbitration module is short-circuited, the electronic detonator controls its arbitration module to disconnect.
[0016] Preferably, in L1, when the electronic detonator controls its receiving module to obtain the UID code acquisition instruction, it also includes: The electronic detonator controls its receiving module to obtain the UID code with a shielding mark; when the receiving module obtains the UID code with a shielding mark and a UID code with a shielding mark is the same as the UID code of the electronic detonator, the electronic detonator controls its bus reply module to prohibit sending the UID code.
[0017] In a second aspect, a bus arbitration system for batch acquiring UID codes of electronic detonators is provided, the bus arbitration system comprising: An arbitration response module is arranged inside the electronic detonator, and a first resistor is arranged on a connection line between a first terminal of the arbitration response module and a line A terminal of the electronic detonator, and a second resistor is arranged on a connection line between a second terminal of the arbitration response module and a line B terminal of the electronic detonator; A bus recovery module is arranged inside the electronic detonator, and a third resistor is arranged on a connection line between a first wiring terminal of the bus recovery module and the first resistor, and a fourth resistor is arranged on a connection line between a second wiring terminal of the bus recovery module and the second resistor; A receiving module is arranged inside the electronic detonator, and a connecting line is arranged between a first terminal of the receiving module and the third resistor, and a connecting line is arranged between a second terminal of the receiving module and the fourth resistor; A level determination module is arranged inside the electronic detonator, and the level determination module is connected to a P1 position point and a P2 position point. The P1 position point is arranged on a connection line between a line A terminal of the electronic detonator and a first resistor, and the P2 position point is arranged on a connection line between a line B terminal of the electronic detonator and a second resistor; The fifth resistor is arranged on the connection line between the line B terminal of the detonator and the ground terminal; and the line A terminal of the detonator is connected to the line A terminal of each electronic detonator, and the line B terminal of the detonator is connected to the line B terminal of each electronic detonator.
[0018] Preferably, the first resistor has the same resistance as the second resistor, the first resistor has the same resistance as the fifth resistor, the third resistor has the same resistance as the fourth resistor, and the resistance of the third resistor is 40 times that of the first resistor.
[0019] Beneficial effect: The bus arbitration method and system provided in the embodiments of this specification can determine an electronic detonator that first sends explicit data among multiple electronic detonators. At this time, only this electronic detonator can continue to send the UID code, and other electronic detonators will stop sending the UID code, so that the detonator can clearly and accurately obtain the UID code of the electronic detonator. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0021] Figure 1 is a schematic diagram of an initiator and a plurality of electronic detonators connected via a bus in one embodiment of the present specification; Figure 2 is a schematic diagram of the structure of an electronic detonator in one embodiment of the present specification; Figure 3 is a schematic diagram of the structure of a detonator connected to an electronic detonator in one embodiment of the present specification; Figure 4 This is a timing waveform diagram corresponding to a UID code in an embodiment of this specification. DETAILED DESCRIPTION
[0022] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0023] In the following introduction, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The following introduction provides multiple embodiments of the present application, and different embodiments can be replaced or combined, so the present application can also be considered to include all possible combinations of the same and / or different embodiments recorded. Therefore, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then the present application should also be considered to include embodiments containing one or more of all other possible combinations of A, B, C, and D, although the embodiment may not be clearly recorded in the following text.
[0024] The following description provides examples and does not limit the scope, applicability or examples set forth in the claims. Changes may be made to the functions and arrangements of the elements described without departing from the scope of the present application. Various processes or components may be appropriately omitted, substituted or added to each example. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted or combined. In addition, features described in some examples may be combined in other examples.
[0025] Embodiment 1: See also Figure 1 , Figure 1 It is a schematic diagram of a detonator provided in an embodiment of the present application and connected to 8 electronic detonators through a bus (including line A and line B). The detonator needs to obtain the UID codes of all electronic detonators. In order to improve the efficiency of UID code acquisition, it is necessary to obtain the UID codes of the electronic detonators in batches. In the prior art, there is a problem of bus data confusion when obtaining the UID codes of electronic detonators in batches, and the detonating device cannot determine which electronic detonator a certain UID code corresponds to. To this end, this embodiment proposes a bus arbitration method for obtaining the UID codes of electronic detonators in batches, so that the detonator can efficiently and clearly obtain the UID code of each electronic detonator.
[0026] Before using the bus arbitration method of this embodiment, the specific structures of the initiator and the electronic detonator need to be improved.
[0027] See also Figure 2 , Figure 2 It is a schematic diagram of the structure of the improved electronic detonator provided in the embodiment of the present application.
[0028] Specifically, an arbitration reply module is set inside the electronic detonator, and a first resistor is set on the connection line between the first wiring terminal of the arbitration reply module and the line A wiring terminal of the electronic detonator, and a second resistor is set on the connection line between the second wiring terminal of the arbitration reply module and the line B wiring terminal of the electronic detonator. A bus reply module is set inside the electronic detonator, and a third resistor is set on the connection line between the first wiring terminal of the bus reply module and the first resistor, and a fourth resistor is set on the connection line between the second wiring terminal of the bus reply module and the second resistor. A receiving module is set inside the electronic detonator, and a connection line is set between the first wiring terminal of the receiving module and the third resistor, and a connection line is set between the second wiring terminal of the receiving module and the fourth resistor. A level determination module is set inside the electronic detonator, and the level determination module can obtain the voltage value between the P1 position point and the P2 position point. The P1 position point is set on the connection line between the line A wiring terminal of the electronic detonator and the first resistor, and the P2 position point is set on the connection line between the line B wiring terminal of the electronic detonator and the second resistor. The electronic detonator can control the first wiring terminal of the arbitration reply module and the second wiring terminal of the arbitration reply module to be disconnected or short-circuited.
[0029] See also Figure 3 , Figure 3 Schematic diagram of the structure of the initiator provided in the embodiment of the present application connected to an electronic detonator (the specific structure of the electronic detonator is similar to Figure 2 The structure of the electronic detonator is the same as that of Figure 3 The electronic detonator in the figure only shows the arbitration reply module, and other modules are omitted).
[0030] In this embodiment, a fifth resistor is provided on the connection line between the line B terminal of the detonator and the ground terminal. Specifically, the first resistor has the same resistance value as the second resistor, and the first resistor has the same resistance value as the fifth resistor. The third resistor has the same resistance value as the fourth resistor, and the resistance value of the third resistor is 40 times the resistance value of the first resistor. For example, the resistance values of the first resistor, the second resistor, and the fifth resistor are all 50Ω, and the resistance values of the third resistor and the fourth resistor are all 2kΩ.
[0031] When the detonator is connected to the electronic detonator, it is only necessary to connect the line A terminal of the detonator to the line A terminal of each electronic detonator, and connect the line B terminal of the detonator to the line B terminal of each electronic detonator. When there are 8 electronic detonators, the connection structure is as follows: Figure 1 shown.
[0032] In addition, combined Figure 2 and Figure 3It can be seen that when the arbitration module is disconnected, the voltage between the P1 point and the P2 point is about 5V; when the arbitration module is short, the voltage between the P1 point and the P2 point becomes about 3.3V. The level determination module can determine the bus state through the voltage change between the P1 point and the P2 point. When the voltage obtained by the level determination module is about 5V, the bus state is determined to be the "first state"; when the voltage obtained by the level determination module is about 3.3V, the bus state is determined to be the "second state".
[0033] Each electronic detonator has a unique UID code. For example, the UID code of a certain electronic detonator is 00305. When the electronic detonator sends the UID code, it needs to convert the UID code into binary code first, and then send the binary code to the initiator in the form of a binary waveform. The binary code of UID code 00305 is 0000 / 0000 / 0011 / 0000 / 0101. The binary waveform of UID code 00305 is as follows: Figure 4 For ease of understanding, this embodiment will directly use the binary code of the electronic detonator as the UID code, which is directly understood as the electronic detonator sending each bit of the UID code (i.e., "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "0", "0", "0", "0", "1", "0", "1") to the detonator in sequence. When the detonator receives the complete binary code, it is equivalent to receiving a UID code.
[0034] In the prior art, if multiple electronic detonators send binary codes at the same time, the detonator may not know to which UID code a certain bit of received data belongs, which may lead to data confusion.
[0035] To this end, this embodiment proposes a bus arbitration method for batch acquiring UID codes of electronic detonators, and the bus arbitration method includes: L1. The electronic detonator controls its receiving module to obtain the UID code acquisition instruction; when the receiving module obtains the UID code acquisition instruction, it enters L2; L2. The electronic detonator controls its bus reply module to obtain the current bit data to be sent by the UID code, and at the same time, the electronic detonator controls its level determination module to determine the bus state; when the bus state is the first state, enter L3; when the bus state is the second state, enter L4; L3. The electronic detonator controls its bus reply module to determine whether the current bit data to be sent by the UID code is dominant data; if the current bit data is dominant data, the electronic detonator controls its arbitration module to short-circuit so that the bus state changes from the first state to the second state, and at the same time, the electronic detonator controls its bus reply module to send the current bit data and return to L2; if the current bit data is non-dominant data, the electronic detonator controls its bus reply module to send the current bit data and return to L2; L4. The electronic detonator determines whether its arbitration module is short-circuited; when the arbitration module is short-circuited, the electronic detonator controls its bus reply module to send the current bit data and returns to L2; when the arbitration module is not short-circuited, the electronic detonator controls its bus reply module to stop sending the UID code.
[0036] When the detonator needs to obtain the UID code of the electronic detonator, the detonator will send a UID code acquisition instruction to all electronic detonators.
[0037] For ease of understanding, the electronic detonators are numbered in this embodiment. In actual application, the electronic detonators are not numbered, and each electronic detonator only has a UID code. The initiator needs to obtain the UID code of each electronic detonator.
[0038] Case 1: Assume that there are 2 electronic detonators: electronic detonator No. 1 and electronic detonator No. 2. The UID code of electronic detonator No. 1 is "0011" and the UID code of electronic detonator No. 2 is "0001". And the frequency of electronic detonator No. 1 is faster than that of electronic detonator No. 2.
[0039] After electronic detonator No. 1 and electronic detonator No. 2 obtain the UID code acquisition instruction, first, electronic detonator No. 1 controls its bus response module to obtain the current bit data (i.e., the first bit data "0") to be sent by the UID code. Before sending the first bit data "0" of the UID code, electronic detonator No. 1 will determine the bus state. In this embodiment, it is assumed that the first state of the bus is "idle", the second state of the bus is "busy", and the bus is in the first state (i.e., "idle") at the beginning, then electronic detonator No. 1 will determine that the bus state is "idle". Since electronic detonator No. 1 determines that the bus state is "idle", electronic detonator No. 1 will control its bus response module to determine whether the current bit data (i.e., the first bit data "0") of the UID code to be sent is explicit data. In this embodiment, "0" is defined as explicit data, and "1" is defined as non-explicit data, then electronic detonator No. 1 will determine that the current bit data is explicit data. Since the bus response module of electronic detonator No. 1 determines that the current bit data of the sent UID code is dominant data, electronic detonator No. 1 controls its arbitration module to short-circuit so that the bus state changes from "idle" to "busy". At the same time, electronic detonator No. 1 controls its bus response module to send the first bit data "0" of the UID code to the initiator. In addition, when electronic detonator No. 1 controls its arbitration module to short-circuit, the bus state changes from "idle" to "busy". Since electronic detonator No. 1 and electronic detonator No. 2 share a bus, even if the arbitration module of electronic detonator No. 2 is not short-circuited, the voltage obtained by the level determination module of electronic detonator No. 2 is also 3.3V at this time. Therefore, the level determination module of electronic detonator No. 2 will synchronously determine that the bus state is "busy".
[0040] Next, electronic detonator No. 2 controls its bus reply module to obtain the current bit data (i.e., the first bit data "0") to be sent by the UID code. Before sending the first bit data "0" of the UID code, electronic detonator No. 2 determines that the bus status is "busy". When electronic detonator No. 2 determines that the bus status is "busy", electronic detonator No. 2 determines whether its arbitration module is short-circuited. Since the arbitration module of electronic detonator No. 2 is not short-circuited, electronic detonator No. 2 controls its bus reply module to stop sending the UID code.
[0041] Then, electronic detonator No. 1 controls its bus reply module to obtain the current bit data (i.e., the second bit data "0") to be sent by the UID code. Before sending the second bit data "0" of the UID code, electronic detonator No. 1 determines that the bus status is "busy". When electronic detonator No. 1 determines that the bus status is "busy", electronic detonator No. 1 will continue to determine whether its arbitration module is short-circuited. Since the arbitration module of electronic detonator No. 1 is short-circuited, the bus reply module of electronic detonator No. 1 sends the second bit data "0" of the UID code to the initiator.
[0042] Next, electronic detonator No. 1 controls its bus reply module to obtain the current bit data (i.e., the third bit data "1") to be sent by the UID code. Before sending the second bit data "1" of the UID code, electronic detonator No. 1 determines that the bus status is "busy". When electronic detonator No. 1 determines that the bus status is "busy", electronic detonator No. 1 will continue to determine whether its arbitration module is short-circuited. Since the arbitration module of electronic detonator No. 1 is short-circuited, the bus reply module of electronic detonator No. 1 sends the third bit data "1" of the UID code to the initiator.
[0043] Then, electronic detonator No. 1 controls its bus reply module to obtain the current bit data (i.e., the 4th bit data "1") to be sent by the UID code. Before sending the 4th bit data "1" of the UID code, electronic detonator No. 1 determines that the bus status is "busy". When electronic detonator No. 1 determines that the bus status is "busy", electronic detonator No. 1 will continue to determine whether its arbitration module is short-circuited. Since the arbitration module of electronic detonator No. 1 is short-circuited, the bus reply module of electronic detonator No. 1 sends the 4th bit data "1" of the UID code to the initiator.
[0044] Finally, the detonator received "0", "0", "1", "1", which is exactly a UID code "0011".
[0045] Case 2: Assume that there are 2 electronic detonators: electronic detonator No. 1 and electronic detonator No. 2. The binary UID code (hereinafter referred to as UID code) of electronic detonator No. 1 is "1011" and the UID code of electronic detonator No. 2 is "0001". And the frequency of electronic detonator No. 1 is faster than that of electronic detonator No. 2.
[0046] When electronic detonator No. 1 and electronic detonator No. 2 obtain the UID code acquisition instruction, first, electronic detonator No. 1 controls its bus response module to obtain the current bit data (i.e., the first bit data "1") to be sent by the UID code. Before sending the first bit data "1" of the UID code, electronic detonator No. 1 will determine the bus status, and at this time, electronic detonator No. 1 will determine that the bus status is "idle". Since electronic detonator No. 1 determines that the bus status is "idle", electronic detonator No. 1 will control its bus response module to determine whether the current bit data (i.e., the first bit data "1") of the UID code to be sent is dominant data. Since the current bit data of electronic detonator No. 1 is non-dominant data, electronic detonator No. 1 will not short-circuit its arbitration module, and the bus status is still "idle" at this time. At the same time, electronic detonator No. 1 controls its bus response module to send the first bit data "1" of the UID code to the initiator.
[0047] Next, electronic detonator No. 2 controls its bus response module to obtain the current bit data (i.e., the first bit data "0") to be sent by the UID code. Before sending the first bit data "0" of the UID code, electronic detonator No. 2 will determine that the bus state is "idle". Since electronic detonator No. 2 determines that the bus state is "idle", electronic detonator No. 2 will control its bus response module to determine whether the current bit data (i.e., the first bit data "0") of the UID code to be sent is dominant data. Since electronic detonator No. 2 determines that the current bit data is dominant data, electronic detonator No. 2 controls its arbitration module to short-circuit so that the bus state changes from "idle" to "busy". At the same time, electronic detonator No. 2 controls its bus response module to send the first bit data "0" of the UID code to the initiator.
[0048] Then, electronic detonator No. 1 controls its bus reply module to obtain the current bit data (i.e., the second bit data "0") to be sent by the UID code. Before sending the second bit data "0" of the UID code, electronic detonator No. 1 determines that the bus status is "busy". When electronic detonator No. 1 determines that the bus status is "busy", electronic detonator No. 1 will continue to determine whether its arbitration module is short-circuited. Since the arbitration module of electronic detonator No. 1 is not short-circuited, electronic detonator No. 1 will control its bus reply module to stop sending the UID code.
[0049] Next, electronic detonator No. 2 controls its bus reply module to obtain the current bit data (i.e., the second bit data "0") to be sent by the UID code. Before sending the second bit data "0" of the UID code, electronic detonator No. 2 determines that the bus status is "busy". When electronic detonator No. 2 determines that the bus status is "busy", electronic detonator No. 2 will continue to determine whether its arbitration module is short-circuited. Since the arbitration module of electronic detonator No. 2 is short-circuited, the bus reply module of electronic detonator No. 2 sends the second bit data "0" of the UID code to the initiator.
[0050] Then, electronic detonator No. 2 controls its bus reply module to obtain the current bit data (i.e., the third bit data "0") to be sent by the UID code. Before sending the third bit data "0" of the UID code, electronic detonator No. 2 determines that the bus status is "busy". When electronic detonator No. 2 determines that the bus status is "busy", electronic detonator No. 2 will continue to determine whether its arbitration module is short-circuited. Since the arbitration module of electronic detonator No. 2 is short-circuited, the bus reply module of electronic detonator No. 2 sends the third bit data "0" of the UID code to the initiator.
[0051] Then, electronic detonator No. 2 controls its bus reply module to obtain the current bit data (i.e., the 4th bit data "1") to be sent by the UID code. Before sending the 4th bit data "1" of the UID code, electronic detonator No. 2 determines that the bus status is "busy". When electronic detonator No. 2 determines that the bus status is "busy", electronic detonator No. 2 will continue to determine whether its arbitration module is short-circuited. Since the arbitration module of electronic detonator No. 2 is short-circuited, the bus reply module of electronic detonator No. 2 sends the 4th bit data "1" of the UID code to the initiator.
[0052] Finally, the detonator receives "1", "0", "0", "0", "1". At this time, the detonator first obtains the first "0" and the subsequent data "0", "0", "1", and then determines whether the number of data is equal to the total number of data in the binary UID code. If so, the UID code is directly "0001". If the number of data is less than the total number of data in the binary UID code (for example, 2 less), then add 2 "1"s before the first "0" to get the final UID code.
[0053] Case 3: Assume that there are 2 electronic detonators: electronic detonator No. 1 and electronic detonator No. 2. The UID code of electronic detonator No. 1 is "1011" and the UID code of electronic detonator No. 2 is "0001". And the frequency of electronic detonator No. 1 is the same as the frequency of electronic detonator No. 2.
[0054] When electronic detonator No. 1 and electronic detonator No. 2 obtain the UID code acquisition instruction, first, electronic detonator No. 1 controls its bus response module to obtain the current bit data (i.e., the first bit data "1") to be sent by the UID code, and at the same time, electronic detonator No. 2 controls its bus response module to obtain the current bit data (i.e., the first bit data "0") to be sent by the UID code. At this time, electronic detonator No. 1 and electronic detonator No. 2 will simultaneously determine that the bus state is "idle". Since electronic detonator No. 1 determines that the bus state is "idle", electronic detonator No. 1 will control its bus response module to determine whether the current bit data (i.e., "1") of the sent UID code is explicit data. Since the current bit data of electronic detonator No. 1 is non-explicit data, electronic detonator No. 1 will not short-circuit its arbitration module. At this time, electronic detonator No. 1 controls its bus response module to send the first bit data "1" of the UID code to the detonator. At the same time, since electronic detonator No. 2 determines that the bus state is "idle", electronic detonator No. 2 will control its bus response module to determine whether the current bit data (i.e., "0") of the sent UID code is explicit data. Since the bus response module of electronic detonator No. 2 determines that the current bit data of the sent UID code is explicit data, electronic detonator No. 2 controls its arbitration module to short-circuit so that the bus state changes from "idle" to "busy". At this time, electronic detonator No. 2 controls its bus response module to send the first bit data "0" of the UID code to the detonator.
[0055] Next, electronic detonator No. 1 controls its bus reply module to obtain the current bit data (i.e., the second bit data "0") to be sent by the UID code. Before sending the second bit data "0" of the UID code, electronic detonator No. 1 will determine that the bus status is "busy". When electronic detonator No. 1 determines that the bus status is "busy", electronic detonator No. 1 will continue to determine whether its arbitration module is short-circuited. Since the arbitration module of electronic detonator No. 1 is not short-circuited, electronic detonator No. 1 will control its bus reply module to stop sending the UID code. At the same time, electronic detonator No. 2 controls its bus reply module to obtain the current bit data (i.e., the second bit data "0") to be sent by the UID code. Before sending the second bit data "0" of the UID code, electronic detonator No. 2 will determine that the bus status is "busy". When electronic detonator No. 2 determines that the bus status is "busy", electronic detonator No. 2 will continue to determine whether its arbitration module is short-circuited. Since the arbitration module of electronic detonator No. 2 is short-circuited, the bus response module of electronic detonator No. 2 sends the second bit data "0" of the UID code to the detonator.
[0056] Then, electronic detonator No. 2 controls its bus reply module to obtain the current bit data (i.e., the third bit data "0") to be sent by the UID code. Before sending the third bit data "0" of the UID code, electronic detonator No. 2 determines that the bus status is "busy". When electronic detonator No. 2 determines that the bus status is "busy", electronic detonator No. 2 will continue to determine whether its arbitration module is short-circuited. Since the arbitration module of electronic detonator No. 2 is short-circuited, the bus reply module of electronic detonator No. 2 sends the third bit data "0" of the UID code to the initiator.
[0057] Next, electronic detonator No. 2 controls its bus reply module to obtain the current bit data (i.e., the 4th bit data "1") to be sent by the UID code. Before sending the 4th bit data "1" of the UID code, electronic detonator No. 2 determines that the bus status is "busy". When electronic detonator No. 2 determines that the bus status is "busy", electronic detonator No. 2 will continue to determine whether its arbitration module is short-circuited. Since the arbitration module of electronic detonator No. 2 is short-circuited, the bus reply module of electronic detonator No. 2 sends the 4th bit data "1" of the UID code to the initiator.
[0058] Finally, the detonator receives "1; 0", "0", "0", "1", and then obtains the UID code "0001".
[0059] This embodiment can determine an electronic detonator that sends explicit data first among multiple electronic detonators. At this time, only this electronic detonator can continue to send the UID code, and other electronic detonators will stop sending the UID code, so that the detonator can clearly and accurately obtain the UID code of the electronic detonator.
[0060] However, if more than two electronic detonators send explicit data first (ie, more than two electronic detonators send data "0" at the same time), data confusion will still occur. Therefore, step L4 of this embodiment needs to be further improved.
[0061] Specifically, in L4, when the arbitration module is short-circuited, the electronic detonator controls its bus reply module to determine whether the current bit data to be sent by the UID code is dominant data; If the current bit data is dominant data, the electronic detonator controls its bus reply module to send the current bit data and returns to L2; If the current bit data is non-explicit data, the electronic detonator controls its arbitration module to disconnect and controls its level determination module to determine the bus state; if the bus state changes from the second state to the first state, the electronic detonator re-controls its arbitration module to short-circuit, and the electronic detonator controls its bus reply module to send the current bit data and return to L2; if the bus state remains unchanged, the electronic detonator controls its bus reply module to stop sending the UID code.
[0062] Case 4: Assume that there are 2 electronic detonators: electronic detonator No. 1 and electronic detonator No. 2. The UID code of electronic detonator No. 1 is "0111" and the UID code of electronic detonator No. 2 is "0001". And the frequency of electronic detonator No. 1 is the same as the frequency of electronic detonator No. 2.
[0063] When electronic detonator No. 1 and electronic detonator No. 2 receive the UID code acquisition instruction, first, electronic detonator No. 1 will send the first bit of data "0" of the UID code, and electronic detonator No. 1 will control its arbitration module to short-circuit. At the same time, electronic detonator No. 2 will send the first bit of data "0" of the UID code, and electronic detonator No. 2 will control its arbitration module to short-circuit. At this time, the bus state changes from "idle" to "busy".
[0064] Next, electronic detonator No. 1 controls its bus reply module to obtain the current bit data (i.e., the second bit data "1") to be sent by the UID code. Before sending the second bit data "1" of the UID code, electronic detonator No. 1 determines that the bus status is "busy". When electronic detonator No. 1 determines that the bus status is "busy", electronic detonator No. 1 will continue to determine whether its arbitration module is short-circuited. Since the arbitration module of electronic detonator No. 1 is short-circuited, electronic detonator No. 1 controls its bus reply module to determine whether the current bit data to be sent by the UID code is dominant data. At the same time, electronic detonator No. 2 controls its bus reply module to obtain the current bit data (i.e., the second bit data "0") to be sent by the UID code. Before sending the second bit data "0" of the UID code, electronic detonator No. 2 determines that the bus status is "busy". When electronic detonator No. 2 determines that the bus status is "busy", electronic detonator No. 2 will continue to determine whether its arbitration module is short-circuited. Since the arbitration module of electronic detonator No. 2 is short-circuited, electronic detonator No. 2 also controls its bus reply module to determine whether the current bit data to be sent by the UID code is dominant data.
[0065] Since electronic detonator No. 2 determines that the current bit data "0" is dominant data, it controls its bus reply module to send the current bit data "0". At the same time, since electronic detonator No. 1 determines that the current bit data "1" is non-dominant data, electronic detonator No. 1 controls its arbitration module to disconnect and controls its level determination module to determine the bus state. At this time, the bus state is still "busy" (because the arbitration module of electronic detonator No. 2 is still short-circuited), so electronic detonator No. 1 controls its bus reply module to stop sending the UID code.
[0066] Then, electronic detonator No. 2 controls its bus reply module to obtain the current bit data (i.e., the third bit data "0") to be sent by the UID code. Before sending the third bit data "0" of the UID code, electronic detonator No. 2 will determine that the bus status is "busy". When electronic detonator No. 2 determines that the bus status is "busy", electronic detonator No. 2 will continue to determine whether its arbitration module is short-circuited. Since the arbitration module of electronic detonator No. 2 is short-circuited, electronic detonator No. 2 also controls its bus reply module to determine whether the current bit data to be sent by the UID code is dominant data. Since electronic detonator No. 2 determines that the current bit data "0" is dominant data, electronic detonator No. 2 controls its bus reply module to send the current bit data "0".
[0067] Next, electronic detonator No. 2 controls its bus reply module to obtain the current bit data (i.e., the 4th bit data "1") to be sent by the UID code. Before sending the 4th bit data "1" of the UID code, electronic detonator No. 2 determines that the bus status is "busy". When electronic detonator No. 2 determines that the bus status is "busy", electronic detonator No. 2 will continue to determine whether its arbitration module is short-circuited. Since the arbitration module of electronic detonator No. 2 is short-circuited, electronic detonator No. 2 also controls its bus reply module to determine whether the current bit data to be sent by the UID code is dominant data. Since electronic detonator No. 2 determines that the current bit data "1" is non-dominant data, electronic detonator No. 2 controls its arbitration module to disconnect and controls its level determination module to determine the bus status. When the arbitration module of electronic detonator No. 2 is disconnected, the bus status changes from "busy" to "idle", so electronic detonator No. 2 controls its arbitration module to be short-circuited again, and electronic detonator No. 2 controls its bus reply module to send the current bit data "1".
[0068] Finally, the detonator receives "0; 0", "0", "0", "1", and then obtains the UID code "0001".
[0069] Case 5: Assume that there are 2 electronic detonators: electronic detonator No. 1 and electronic detonator No. 2. The UID code of electronic detonator No. 1 is "0111" and the UID code of electronic detonator No. 2 is "0101". And the frequency of electronic detonator No. 1 is the same as the frequency of electronic detonator No. 2.
[0070] When electronic detonator No. 1 and electronic detonator No. 2 receive the UID code acquisition instruction, first, electronic detonator No. 1 will send the first bit of data "0" of the UID code, and electronic detonator No. 1 will control its arbitration module to short-circuit. At the same time, electronic detonator No. 2 will send the first bit of data "0" of the UID code, and electronic detonator No. 2 will control its arbitration module to short-circuit. At this time, the bus state changes from "idle" to "busy".
[0071] Next, electronic detonator No. 1 controls its bus reply module to obtain the current bit data (i.e., the second bit data "1") to be sent by the UID code. Before sending the second bit data "1" of the UID code, electronic detonator No. 1 determines that the bus status is "busy". When electronic detonator No. 1 determines that the bus status is "busy", electronic detonator No. 1 will continue to determine whether its arbitration module is short-circuited. Since the arbitration module of electronic detonator No. 1 is short-circuited, electronic detonator No. 1 controls its bus reply module to determine whether the current bit data to be sent by the UID code is dominant data. At the same time, electronic detonator No. 2 controls its bus reply module to obtain the current bit data (i.e., the second bit data "1") to be sent by the UID code. Before sending the second bit data "1" of the UID code, electronic detonator No. 2 determines that the bus status is "busy". When electronic detonator No. 2 determines that the bus status is "busy", electronic detonator No. 2 will continue to determine whether its arbitration module is short-circuited. Since the arbitration module of electronic detonator No. 2 is short-circuited, electronic detonator No. 2 also controls its bus reply module to determine whether the current bit data to be sent by the UID code is dominant data.
[0072] Since both No. 1 and No. 2 electronic detonators determine that the current bit data "1" is non-explicit data, both No. 1 and No. 2 electronic detonators control their arbitration modules to disconnect and control their level determination modules to determine the bus status. At this time, the bus status changes from "busy" to "idle" (because the arbitration modules of No. 1 and No. 2 electronic detonators are disconnected at the same time), so No. 1 and No. 2 electronic detonators re-control their respective arbitration modules to short-circuit (the bus status changes to "busy" again), and No. 1 electronic detonator controls its bus reply module to send the current bit data "1", and No. 2 electronic detonator controls its bus reply module to send the current bit data "1".
[0073] Then, electronic detonator No. 1 controls its bus reply module to obtain the current bit data (i.e., the third bit data "1") to be sent by the UID code. Before sending the third bit data "1" of the UID code, electronic detonator No. 1 determines that the bus status is "busy". When electronic detonator No. 1 determines that the bus status is "busy", electronic detonator No. 1 will continue to determine whether its arbitration module is short-circuited. Since the arbitration module of electronic detonator No. 1 is short-circuited, electronic detonator No. 1 controls its bus reply module to determine whether the current bit data to be sent by the UID code is dominant data. At the same time, electronic detonator No. 2 controls its bus reply module to obtain the current bit data (i.e., the third bit data "0") to be sent by the UID code. Before sending the third bit data "0" of the UID code, electronic detonator No. 2 determines that the bus status is "busy". When electronic detonator No. 2 determines that the bus status is "busy", electronic detonator No. 2 will continue to determine whether its arbitration module is short-circuited. Since the arbitration module of electronic detonator No. 2 is short-circuited, electronic detonator No. 2 also controls its bus reply module to determine whether the current bit data to be sent by the UID code is dominant data.
[0074] Since electronic detonator No. 2 determines that the current bit data "0" is dominant data, it controls its bus reply module to send the current bit data "0". At the same time, since electronic detonator No. 1 determines that the current bit data "1" is non-dominant data, electronic detonator No. 1 controls its arbitration module to disconnect and controls its level determination module to determine the bus state. At this time, the bus state is still "busy" (because the arbitration module of electronic detonator No. 2 is still short-circuited), so electronic detonator No. 1 controls its bus reply module to stop sending the UID code.
[0075] Next, electronic detonator No. 2 controls its bus reply module to obtain the current bit data (i.e., the 4th bit data "1") to be sent by the UID code. Before sending the 4th bit data "1" of the UID code, electronic detonator No. 2 determines that the bus status is "busy". When electronic detonator No. 2 determines that the bus status is "busy", electronic detonator No. 2 will continue to determine whether its arbitration module is short-circuited. Since the arbitration module of electronic detonator No. 2 is short-circuited, electronic detonator No. 2 also controls its bus reply module to determine whether the current bit data to be sent by the UID code is dominant data. Since electronic detonator No. 2 determines that the current bit data "1" is non-dominant data, electronic detonator No. 2 controls its arbitration module to disconnect and controls its level determination module to determine the bus status. When the arbitration module of electronic detonator No. 2 is disconnected, the bus status changes from "busy" to "idle", so electronic detonator No. 2 controls its arbitration module to be short-circuited again, and electronic detonator No. 2 controls its bus reply module to send the current bit data "1".
[0076] Finally, the detonator receives "0; 0", "1; 1", "0", "1", and then obtains the UID code "0101".
[0077] In this embodiment, if more than two electronic detonators that first send explicit data are obtained, then the remaining electronic detonator can be screened out from the electronic detonators that first send explicit data. At this time, only this electronic detonator can continue to send the UID code, and other electronic detonators will stop sending the UID code, so that the detonator can clearly and accurately obtain the UID code of the electronic detonator.
[0078] Furthermore, the bus arbitration method of this embodiment also includes: L0. The detonator sends a UID code acquisition instruction to all electronic detonators. Assuming there are 10 electronic detonators, the detonator sends a UID code acquisition instruction to the 10 electronic detonators at the same time. Step L0 is set before step L1.
[0079] L5. The detonator receives the UID code; after receiving a complete UID code, the detonator determines whether the total number of UID codes currently received is less than the total number of electronic detonators; if so, it returns to L0.
[0080] In addition, L5 also includes: when the detonator receives a complete UID code, if the total number of UID codes currently received is less than the total number of electronic detonators, a shielding mark is set for the corresponding UID code. L0 also includes: when the detonator sends a UID code acquisition instruction to all electronic detonators, it also sends a UID code with a shielding mark to all electronic detonators.
[0081] In addition, in L1, when the electronic detonator controls its receiving module to obtain the UID code acquisition instruction, it also includes: the electronic detonator controls its receiving module to obtain the UID code with a shielding mark; when the receiving module obtains the UID code with a shielding mark and a UID code with a shielding mark is the same as the UID code of the electronic detonator, the electronic detonator controls its bus reply module to prohibit sending the UID code. Furthermore, in L1, before the electronic detonator controls its receiving module to obtain the UID code acquisition instruction, it also includes: the electronic detonator determines whether its arbitration module is short-circuited. If the arbitration module is short-circuited, the electronic detonator controls its arbitration module to disconnect, so that when the electronic detonator controls its receiving module to obtain the UID code acquisition instruction, the bus state is "idle".
[0082] The specific implementation process of the bus arbitration method (assuming there are 10 electronic detonators): First, execute steps L0 to L4 for the first time to obtain the first UID code based on 10 electronic detonators, and then execute step L5. At this time, since the total number of UID codes currently received (i.e. 1) is less than the total number of electronic detonators (i.e. 10), a shielding flag is set for the first UID code and return to step L0.
[0083] Then execute steps L0 to L4 for the second time (the detonator will send the first UID code with a shielding mark at the same time as sending the UID code acquisition instruction, and each electronic detonator will receive the first UID code with a shielding mark at the same time as receiving the UID code acquisition instruction. Each electronic detonator will match its own UID code with the first UID code with the shielding mark. If an electronic detonator matches successfully, the electronic detonator will control its bus reply module to prohibit sending the UID code (it will remain in the prohibited state after "prohibition"), which is equivalent to only 9 electronic detonators left). At this time, the second UID code is obtained based on only 9 electronic detonators, and then step L5 is executed. At this time, since the total number of UID codes currently received (i.e. 2) is less than the total number of electronic detonators (i.e. 10), a shielding mark is set for the second UID code and the process returns to step L0.
[0084] Then, steps L0 to L4 are executed for the third time (the detonator will send a second UID code with a shielding mark at the same time as sending the UID code acquisition instruction. Each electronic detonator will also receive the second UID code with a shielding mark at the same time as receiving the UID code acquisition instruction. Each electronic detonator will match its own UID code with the second UID code with the shielding mark. If a certain electronic detonator is matched successfully, the electronic detonator will control its bus reply module to prohibit sending the UID code, which is equivalent to only 8 electronic detonators left). At this time, the third UID code is obtained based on only 8 electronic detonators, and then step L5 is executed. At this time, since the total number of UID codes currently received (i.e. 3) is less than the total number of electronic detonators (i.e. 10), a shielding mark is set for the third UID code and the process returns to step L0.
[0085] This cycle continues until the tenth execution of steps L0 to L4 (the detonator will send a 9th UID code with a shielding mark at the same time as sending the UID code acquisition instruction, and each electronic detonator will also receive the 9th UID code with a shielding mark at the same time as receiving the UID code acquisition instruction. Each electronic detonator will match its own UID code with the 9th UID code with the shielding mark. If the match is successful for an electronic detonator, the electronic detonator will control its bus reply module to prohibit sending the UID code, which is equivalent to only leaving one electronic detonator). At this time, the tenth UID code is obtained based on only one electronic detonator, and then step L5 is executed. At this time, since the total number of UID codes currently received (i.e. 10) is not less than the total number of electronic detonators (i.e. 10), the process ends.
[0086] The bus arbitration method of this embodiment can obtain a UID code each time steps L0 to L5 are executed once. Steps L0 to L5 can be executed as many times as there are electronic detonators, so that the detonator can obtain all UID codes efficiently and accurately.
[0087] Embodiment 2: A bus arbitration system for batch acquisition of UID codes of electronic detonators, used to implement the bus arbitration method of embodiment 1, the bus arbitration system comprising: An arbitration response module is arranged inside the electronic detonator, and a first resistor is arranged on a connection line between a first terminal of the arbitration response module and a line A terminal of the electronic detonator, and a second resistor is arranged on a connection line between a second terminal of the arbitration response module and a line B terminal of the electronic detonator; A bus recovery module is arranged inside the electronic detonator, and a third resistor is arranged on a connection line between a first wiring terminal of the bus recovery module and the first resistor, and a fourth resistor is arranged on a connection line between a second wiring terminal of the bus recovery module and the second resistor; A receiving module is arranged inside the electronic detonator, and a connecting line is arranged between a first terminal of the receiving module and the third resistor, and a connecting line is arranged between a second terminal of the receiving module and the fourth resistor; A level determination module is arranged inside the electronic detonator, and the level determination module is connected to a P1 position point and a P2 position point. The P1 position point is arranged on a connection line between a line A terminal of the electronic detonator and a first resistor, and the P2 position point is arranged on a connection line between a line B terminal of the electronic detonator and a second resistor; The fifth resistor is arranged on the connection line between the line B terminal of the detonator and the ground terminal; and the line A terminal of the detonator is connected to the line A terminal of each electronic detonator, and the line B terminal of the detonator is connected to the line B terminal of each electronic detonator.
[0088] The first resistor has the same resistance as the second resistor, the first resistor has the same resistance as the fifth resistor, the third resistor has the same resistance as the fourth resistor, and the third resistor has 40 times the resistance of the first resistor. The first resistor, the second resistor, and the fifth resistor all have resistances of 50Ω, and the third resistor and the fourth resistor all have resistances of 2kΩ.
[0089] The above are merely exemplary embodiments of the present application and are not intended to limit the scope of the present application.
Claims
1. A bus arbitration method for batch acquisition of UID codes of electronic detonators, characterized in that: The bus arbitration method comprises: L1. The electronic detonator controls its receiving module to obtain the UID code acquisition instruction; when the receiving module obtains the UID code acquisition instruction, it enters L2; L2. The electronic detonator controls its bus reply module to obtain the current bit data to be sent by the UID code, and at the same time, the electronic detonator controls its level determination module to determine the bus state; when the bus state is the first state, enter L3; when the bus state is the second state, enter L4; L3. The electronic detonator controls its bus reply module to determine whether the current bit data to be sent by the UID code is dominant data; if the current bit data is dominant data, the electronic detonator controls its arbitration module to short-circuit so that the bus state changes from the first state to the second state, and at the same time, the electronic detonator controls its bus reply module to send the current bit data and return to L2; if the current bit data is non-dominant data, the electronic detonator controls its bus reply module to send the current bit data and return to L2; L4. The electronic detonator determines whether its arbitration module is short-circuited; when the arbitration module is short-circuited, the electronic detonator controls its bus reply module to send the current bit data and returns to L2; when the arbitration module is not short-circuited, the electronic detonator controls its bus reply module to stop sending the UID code.
2. The bus arbitration method according to claim 1, characterized in that: In said L4, when the arbitration module is short-circuited, the electronic detonator controls its bus reply module to determine whether the current bit data to be sent by the UID code is dominant data; If the current bit data is dominant data, the electronic detonator controls its bus reply module to send the current bit data and returns to L2; If the current bit data is non-explicit data, the electronic detonator controls its arbitration module to disconnect and controls its level determination module to determine the bus state; if the bus state changes from the second state to the first state, the electronic detonator re-controls its arbitration module to short-circuit, and the electronic detonator controls its bus reply module to send the current bit data and return to L2; if the bus state remains unchanged, the electronic detonator controls its bus reply module to stop sending the UID code.
3. The bus arbitration method according to claim 2, characterized in that: The bus arbitration method further comprises: L0. The detonator sends UID code acquisition instructions to all electronic detonators.
4. The bus arbitration method according to claim 3, characterized in that: The bus arbitration method further comprises: L5. The detonator receives the UID code; after receiving a complete UID code, the detonator determines whether the total number of UID codes currently received is less than the total number of electronic detonators; if so, it returns to L0.
5. The bus arbitration method according to claim 4, characterized in that: The L5 also includes: When the detonator receives a complete UID code, if the total number of currently received UID codes is less than the total number of electronic detonators, a shielding flag is set for the corresponding UID code.
6. The bus arbitration method according to claim 5, characterized in that: The L0 also includes: While the detonator sends the UID code acquisition instruction to all the electronic detonators, it also sends the UID code with a shielding mark to all the electronic detonators.
7. The bus arbitration method according to claim 6, characterized in that: In the L1, before the electronic detonator controls its receiving module to obtain the UID code acquisition instruction, it also includes: The electronic detonator determines whether its arbitration module is short-circuited. If the arbitration module is short-circuited, the electronic detonator controls its arbitration module to disconnect.
8. The bus arbitration method according to claim 6, characterized in that: In the L1, when the electronic detonator controls its receiving module to obtain the UID code acquisition instruction, it also includes: The electronic detonator controls its receiving module to obtain the UID code with a shielding mark; when the receiving module obtains the UID code with a shielding mark and a UID code with a shielding mark is the same as the UID code of the electronic detonator, the electronic detonator controls its bus reply module to prohibit sending the UID code.
9. A bus arbitration system for batch acquisition of UID codes of electronic detonators, used to implement the bus arbitration method described in any one of claims 1 to 8, characterized in that: The bus arbitration system comprises: An arbitration response module is arranged inside the electronic detonator, and a first resistor is arranged on a connection line between a first terminal of the arbitration response module and a line A terminal of the electronic detonator, and a second resistor is arranged on a connection line between a second terminal of the arbitration response module and a line B terminal of the electronic detonator; A bus recovery module is arranged inside the electronic detonator, and a third resistor is arranged on a connection line between a first wiring terminal of the bus recovery module and the first resistor, and a fourth resistor is arranged on a connection line between a second wiring terminal of the bus recovery module and the second resistor; A receiving module is arranged inside the electronic detonator, and a connecting line is arranged between a first terminal of the receiving module and the third resistor, and a connecting line is arranged between a second terminal of the receiving module and the fourth resistor; A level determination module is arranged inside the electronic detonator, and the level determination module is connected to a P1 position point and a P2 position point, wherein the P1 position point is arranged on a connection line between a line A terminal of the electronic detonator and the first resistor, and the P2 position point is arranged on a connection line between a line B terminal of the electronic detonator and the second resistor; The fifth resistor is arranged on the connection line between the line B terminal of the detonator and the ground terminal; and the line A terminal of the detonator is connected to the line A terminal of each of the electronic detonators, and the line B terminal of the detonator is connected to the line B terminal of each of the electronic detonators.
10. The bus arbitration system according to claim 9, characterized in that: The first resistor has the same resistance as the second resistor, the first resistor has the same resistance as the fifth resistor, the third resistor has the same resistance as the fourth resistor, and the resistance of the third resistor is 40 times that of the first resistor.