A method for querying multiple detonators
By combining a master unit, slave unit, computing module, and inspection module, and employing a CRC16 counting and UID naming mechanism, the communication problem caused by unregistered modules in the electronic detonator network is solved, enabling reliable querying of multiple detonators and accurate acquisition of UIDs.
Patent Information
- Application Number
- CN202311687401.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-08
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2043-12-08
AI Technical Summary
In electronic detonator networks, if modules are not registered or have not been addressed, normal communication is impossible. Furthermore, UID downloading is required in high-risk application scenarios, and existing technologies struggle to effectively collect the UIDs of all modules on the bus.
The system employs a combination of master, slave, computing, and inspection modules. It generates random addresses using CRC16 counting and combines UID naming and automatic address allocation mechanisms to perform network inspection and UID verification, ensuring uniqueness and reliability.
It enables reliable querying of multiple detonators in complex network environments, improves the accuracy and stability of UID acquisition, simplifies the data communication process, and enhances data error verification.
Smart Images

Figure CN117879990B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of blasting device technology, specifically a method for querying multiple detonators. Background Technology
[0002] Electronic detonators, also known as digital electronic detonators, digital detonators, or industrial digital electronic detonators, are a new type of industrial detonator that uses pyrotechnics technology, electronic technology, encryption technology, and other methods to achieve functions such as delay, communication, encryption, and control.
[0003] When electronic detonators are connected to a detonation network, there may be instances where modules are directly connected without being registered. Alternatively, in some high-risk applications, direct network access for electronic detonators is required, with registration performed uniformly after personnel leave the site. The registration process for electronic detonators requires point-to-point communication, and multiple modules cannot communicate properly if they are connected to the network without address settings. Each electronic detonator has a unique UID, and according to public security control requirements, the working code needs to be downloaded using the UID. Therefore, a method is needed to collect the UIDs of all modules on the bus, even when normal point-to-point communication is not possible.
[0004] Therefore, the present invention provides a method for querying multiple detonators. Summary of the Invention
[0005] In order to overcome the shortcomings of the prior art, at least one technical problem raised in the background art is solved.
[0006] The technical solution adopted by the present invention to solve its technical problem is as follows: The present invention provides a multi-connection detonator query method, comprising a host; the host is connected to a slave device via a signal; the host is connected to a computing module via a signal; the host is connected to an inspection module via a signal; and the computing module is installed on the slave device.
[0007] Preferably, the UID is counted as a network communication address less than 400; using CRC16 counting method, the UID and the random factor sent by the host are counted to produce a 16-bit data; after taking the remainder, a random number less than 400 is obtained; the host sends a pulse signal, and the slave counts the pulse signal; when the counted value is equal to its own communication address and the identified flag is set, it responds to the host.
[0008] Preferably, the method includes: S1: The host assigns an address greater than 500 to a known electronic detonator in the network by naming it by UID, and sets a flag to not respond to the automatic address assignment command;
[0009] S2: The host uses the default address of the electronic detonator upon power-up, and records this default address as address 1 to perform data reading communication with the detonator; since there is no detonator with a UID that has been named, the address is 1; if there is a response on the bus, it indicates that multiple detonators are connected; S3: The host sends an automatic address allocation command, and the random factor in the command should be different from the last one; the detonator that has not been named with a UID will calculate an address after receiving this command and set the automatic address allocation flag; S4: The status of the automatic address allocation flag is checked online, and if the flag is set, it will respond to the host; S5: For the responding address, a read UID command is initiated to check whether the acquired data can pass the check; S6: Jump to S2 until a read command is initiated using address 1, and there is no more response signal.
[0010] Preferably, the pulse signal sent by the host is transmitted to the computing module on the slave device via a signal connection, and the computing module counts the pulse signal to obtain the count value.
[0011] Preferably, when the UID command obtained in S5 is verified to be valid, the communication address is modified through the UID, and no further automatic address allocation is responded to.
[0012] Preferably, in step S3, the host sends the automatic address allocation command to the computing module via a signal connection. The computing module then calculates an address and sets the automatic address allocation flag. Simultaneously, it transmits the set status of the obtained automatic address allocation flag to the host via a signal.
[0013] Preferably, the host further includes a display module and an input module, wherein the display module can display the results of sending and receiving signals on the operation panel; the input module can control the host by inputting corresponding commands. Through the above structure, the cooperation between the display module and the input module enables better control of the host and observation of data.
[0014] Preferably, the response data obtained in S2 can be used regardless of whether the data is correct.
[0015] The beneficial effects of this invention are as follows:
[0016] The present invention discloses a multi-connector detonator query method. By querying multi-connector detonators, a blind search of devices on the network can be performed, and a unique identifier (UID) of the slave device can be obtained after the search is completed. The software logic is simple and mainly adopts data communication. The process has high stability. By adopting data communication, the verification of data errors is strengthened, ensuring the reliability of the obtained UID. Attached Figure Description
[0017] The invention will now be further described with reference to the accompanying drawings.
[0018] Figure 1 This is a flowchart of the method of the present invention;
[0019] Figure 2 This is a schematic diagram of the device structure of the present invention;
[0020] In the diagram: 11. Master unit; 2. Slave unit; 3. Calculation module; 4. Inspection module; 5. Input module; 6. Display module; 7. Chassis. Detailed Implementation
[0021] To make the technical means, creative features, objectives and effects of this invention easier to understand, the invention will be further described below in conjunction with specific embodiments.
[0022] like Figure 1 and Figure 2 As shown in the embodiment of the present invention, a multi-detonator query method includes a host 11; characterized in that: the host 11 is connected to a slave 2 via a signal; the host 11 is connected to a computing module 3 via a signal; the host 11 is connected to an inspection module 4 via a signal; and the computing module 3 is installed on the slave 2.
[0023] like Figure 1 As shown, the UID is counted as a network communication address less than 400; using the CRC16 counting method, the UID and the random factor sent by the host 11 are counted to produce a 16-bit data; after taking the remainder, a random number less than 400 is obtained; the host 11 sends a pulse signal, and the slave 2 counts the pulse signal; when the counted value is equal to its own communication address and the identified flag is set, it responds to the host 11.
[0024] like Figure 1 As shown, the method includes:
[0025] S1: The host 11 assigns addresses greater than 500 to known electronic detonators in the network by naming them by UID, and sets the flag to not respond to the automatic address assignment command;
[0026] S2: The host 11 uses the default address of the electronic detonator to power on, and records this default address as address 1 to read data from the detonator; since there is no detonator with a UID that has been named, the address is 1; if there is a response on the bus, it means that there are multiple detonators connected.
[0027] S3: The host 11 sends an automatic address allocation command. The random factor in the command should be different from the previous one. Detonators that have not been named with UIDs will calculate an address after receiving this command and set the automatic address allocation flag.
[0028] S4: Perform online inspection of the setting status of the automatic address allocation flag bit, and respond to host 11 if the flag bit is set;
[0029] S5: For the responding address, initiate a read UID command to verify whether the obtained data can pass the verification;
[0030] S6: Jump to S2 until a read command is initiated using address 1, at which point there is no further response signal.
[0031] like Figure 1 As shown, the pulse signal sent by the host 11 is transmitted to the calculation module 3 on the slave 2 through a signal connection. The calculation module 3 counts the pulse signal to obtain the count value.
[0032] like Figure 1 As shown, when the UID command obtained in S5 is verified to be valid, the communication address is modified through the UID, and no further automatic address allocation will be responded to.
[0033] like Figure 1 As shown, in S3, the host 11 sends the automatic address allocation command to the calculation module 3 through a signal connection. The calculation module 3 obtains an address and sets the automatic address allocation flag bit. At the same time, the set status of the obtained automatic address allocation flag bit is transmitted to the host 11 through a signal.
[0034] like Figure 2 As shown, the host 11 also includes a display module 6 and an input module 5. The display module 6 can display the results of sending and receiving signals on the operation panel. The input module 5 can operate and control the host 11 by inputting corresponding commands. During operation, the host 11 can be better controlled and data can be observed through the cooperation of the display module 6 and the input module 5.
[0035] like Figure 1 As shown, the response data obtained by S2 can be used regardless of whether the data is correct. During operation, by judging whether there is a response, it is possible to better judge whether there are multiple detonators connected, which is more convenient and accurate.
[0036] like Figure 2 As shown, the host 11 is stored inside the chassis 7, which protects the host 11. During operation, the chassis 7 protects the host 11, reducing the corrosion of the host 11 by external dust and impurities, and also reducing external impacts, thus protecting the safety and service life of the host 11.
[0037] During operation, the UID encoding follows national standards and is unique to the electronic detonator within the network. This solution uses existing algorithms to count the UID to a network communication address less than 400. The invention employs CRC16 counting, combining the UID and the random factor sent by the host to generate a 16-bit data value, and then taking the remainder to obtain a random number less than 400; this is referred to as automatic address allocation. Through a patrol function and pulse signals sent by the host, the slave device counts the pulse signals. If the counted value equals its own communication address and the identified flag is set, the host automatically calculates the network address using the electronic detonator's UID and random factor. The allocated address is then verified by patrol identification and UID reading to ensure stability.
[0038] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely illustrative of the principles of the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the present invention as claimed. The scope of protection of the present invention is defined by the appended claims and their equivalents.
Claims
1. A method for querying multiple detonators, comprising a host (11); characterized in that: The host (11) is connected to the slave (2) via a signal; The host (11) is connected to the computing module (3) via a signal; The host (11) is connected to the inspection module (4) via a signal. The computing module (3) is installed on the slave device (2); The UID is counted as a network communication address less than 400; using CRC16 counting method, the UID and the random factor sent by the host (11) are counted to produce a 16-bit data; after taking the remainder, a random number less than 400 is obtained; the host (11) sends a pulse signal, and the slave (2) counts the pulse signal; If the count value is equal to its own communication address and the identified flag is set, then the host responds (11). The method includes: S1: The host (11) assigns addresses greater than 500 to known electronic detonators in the network by UID naming and sets the flag, and does not respond to the automatic address assignment command; S2: The host (11) uses the default address of the electronic detonator to power on, and records the default address as address 1 to read data from the detonator; since there is no detonator with a UID that has been named, the address is 1; if there is a response on the bus, it means that there are multiple detonators connected. S3: The host (11) sends an automatic address allocation command. The random factor in the command should be consistent with the previous one. The detonator that has not been named with UID will calculate an address after receiving this command and set the automatic address allocation flag. S4: Perform online inspection of the setting status of the automatic address allocation flag bit, and respond to the host (11) if the flag bit is set. S5: For the responding address, initiate a read UID command to verify whether the obtained data can pass the verification; S6: Jump to S2 until a read command is initiated using address 1, at which point there is no further response signal.
2. The method for querying multiple detonators according to claim 1, characterized in that: The pulse signal sent by the host (11) is sent to the calculation module (3) on the slave (2) through a signal connection. The calculation module (3) counts the pulse signal to obtain the count value.
3. The method for querying multiple detonators according to claim 2, characterized in that: When the UID command obtained in S5 is verified to be valid, the communication address is modified through the UID, and no further automatic address allocation will be responded to.
4. The method for querying multiple detonators according to claim 3, characterized in that: The host (11) in S3 sends the automatic address allocation command to the calculation module (3) through the signal connection. The calculation module (3) obtains an address and sets the automatic address allocation flag. At the same time, the set status of the obtained automatic address allocation flag is transmitted to the host (11) through the signal.
5. The method for querying multiple detonators according to claim 4, characterized in that: The host (11) also includes a display module (6) and an input module (5), wherein the display module (6) can display the results of sending and receiving signals on the operation panel; and the input module (5) can control the host (11) by inputting corresponding instructions.
6. The method for querying multiple detonators according to claim 5, characterized in that: The response data obtained in S2 can be used regardless of whether the data is correct.
Citation Information
Patent Citations
Electronic detonator network rapid inspection method and device, storage medium and electronic terminal
CN110995527A
Digital electronic detonator automatic online system and communication method
CN115164658A
