Segmented charging method and initiation system for electronic detonators
By controlling the charging process of electronic detonators through a segmented charging method, the problem of a sharp increase in current when charging multiple detonators in the detonator is solved, achieving a safe and stable charging effect and preventing detonator triggering failure.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- NINGBO LINK MICROELECTRONICS TECH CO LTD
- Filing Date
- 2026-03-13
- Publication Date
- 2026-06-26
AI Technical Summary
When charging multiple electronic detonators, the charging current tends to rise sharply, causing a drop in voltage, which affects the charging effect and may lead to the failure of the electronic detonators to trigger.
A segmented charging method is adopted. The detonator generates segmented charging instructions based on the number of electronic detonators loaded. The electronic detonators generate charging time thresholds based on charging masks and identification marks. The delay variables are compared cyclically to control the charging time, and the detonators enter the charging state in batches to ensure reasonable distribution of charging current.
Effective control of charging current prevents electronic detonator triggering failure, improves charging efficiency, shortens overall charging time, and ensures the safety and stability of the charging process.
Smart Images

Figure CN121863612B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic detonator technology, and in particular to a segmented charging method and detonation system for electronic detonators. Background Technology
[0002] With the development of electronic technology, detonators can now carry an increasing number of electronic detonators. Before detonation, the detonator needs to charge the detonating capacitors of all electronic detonators to meet their detonation requirements. A single detonator can carry a maximum of 400 electronic detonators, but its charging circuit cannot simultaneously charge all 400. If the number of electronic detonators being charged within a single time period is not controlled, the charging current will rise sharply. If the detonator cannot provide sufficient current, the output voltage may drop significantly, affecting the charging effect of the electronic detonators and potentially leading to detonator triggering failure, thus impacting the blasting effect. Summary of the Invention
[0003] This application provides a segmented charging method and detonation system for electronic detonators, used to control the electronic detonator to perform segmented charging in order to ensure the charging effect of the electronic detonator and prevent the electronic detonator from failing to trigger.
[0004] In a first aspect, embodiments of this application provide a segmented charging method for an electronic detonator, the method comprising:
[0005] The detonator performs detonation password authentication on the electronic detonator. After the authentication is completed, the detonator generates a segmented charging command according to the number of electronic detonators being loaded, and the detonator outputs a charging current.
[0006] The electronic detonator acquires the segmented charging command sent by the detonator and determines the charging mask according to the segmented charging command;
[0007] The electronic detonator generates a charging time threshold based on the charging mask and the electronic detonator's identification mark;
[0008] The electronic detonator cyclically compares the charging time threshold with a preset delay variable. When the charging time threshold is greater than or equal to the preset delay variable, the value of the preset delay variable is increased by a fixed value at preset delay intervals until the charging time threshold is less than the delay variable, at which point the charging current is applied.
[0009] In some embodiments, prior to obtaining the segmented charging command sent by the detonator, the method further includes:
[0010] The detonator sends first authentication information, the electronic detonator replies with second authentication information to the detonator based on the first authentication information, and the detonator replies with third authentication information based on the second authentication information;
[0011] The electronic detonator establishes a communication network with the detonator based on the third authentication information;
[0012] After the network is completed, the electronic detonator works with the initiator to perform high and low pressure detection.
[0013] In some embodiments, the detonator performs detonation password authentication on the electronic detonator, including:
[0014] The detonator generates a dynamic random number as an authentication salt value, and sends the lower 8 bits of the authentication salt value as a first verification code to the electronic detonator.
[0015] The electronic detonator receives the first verification code. If the electronic detonator detects that the highest bit of the first verification code is 1, it takes the lower 4 bytes of the identity mark as the authentication index value; if it is 0, it takes the higher 4 bytes of the identity mark as the authentication index value.
[0016] The electronic detonator performs a bitwise AND operation between the authentication index value and the first verification code to generate a first intermediate feature value, and then cyclically shifts the first intermediate feature value to the left by 3 bits to obtain a second intermediate feature value.
[0017] If the electronic detonator detects that the second intermediate feature value is greater than the first verification code, it XORs the second intermediate feature value with the authentication index value to generate a second verification code and uploads it; if it detects that the second intermediate feature value is less than or equal to the first verification code, it XORs the second intermediate feature value with the first verification code to generate a second verification code and uploads it.
[0018] The detonator selects a path based on the highest bit of the first verification code: if it is 1, the received second verification code is cyclically shifted right by 3 bits and then bitwise ANDed with the lower 8 bits of the authentication salt value; if it is 0, the second verification code is bitwise ORed with the higher 8 bits of the authentication salt value to obtain the restored feature value.
[0019] The detonator generates a theoretical value for the authentication index based on the pre-stored identity marker;
[0020] The detonator verifies whether the restored characteristic value is equal to the theoretical value of the certification index. If they are equal, the corresponding electronic detonator passes the certification.
[0021] In some embodiments, the detonator generates segmented charging commands based on a plurality of preset charging segment numbers and the charging energy of the electronic detonator, including:
[0022] The initiator adds up the charging energy of each of the electronic detonators to obtain the total charging energy;
[0023] The initiator calculates the charging capacity of multiple preset charging stages respectively;
[0024] The detonator sequentially compares each of the charging capacity and the total charging energy, and takes the first charging capacity that is greater than the total charging energy as the target total charging energy.
[0025] The detonator generates segmented charging instructions based on the number of charging segments corresponding to the total target charging energy.
[0026] In some embodiments, if the detonator does not detect that the charging capacity is greater than the total charging energy, the detonator generates a segmented charging command based on the maximum number of charging segments.
[0027] In some embodiments, the electronic detonator generates a charging time threshold based on the charging mask and the electronic detonator's identification identifier, including:
[0028] The electronic detonator determines the charging byte from the identity flag based on a preset byte length.
[0029] The electronic detonator combines the charging byte and the charging mask to generate a charging time threshold.
[0030] In some embodiments, the electronic detonator combines the charging byte and the charging mask to generate a charging time threshold, including:
[0031] The electronic detonator performs a bitwise XOR operation between the charging byte and the charging mask to generate an initial mixed value;
[0032] The electronic detonator determines whether the most significant bit of the initial mixture value is 1;
[0033] If the most significant bit is 1, the initial mixed value is cyclically shifted right by an odd number of bits to obtain the first intermediate value; if the most significant bit is 0, the initial mixed value is cyclically shifted left by an even number of bits to obtain the first intermediate value.
[0034] The electronic detonator extracts the low-order byte and high-order byte of the first intermediate value, multiplies the low-order byte by a preset odd coefficient to obtain a first sub-threshold, and multiplies the high-order byte by a preset even coefficient to obtain a second sub-threshold.
[0035] The electronic detonator adds the first sub-threshold and the second sub-threshold to generate a charging time threshold.
[0036] In some embodiments, the preset delay duration includes 200ms-1000ms.
[0037] Secondly, embodiments of this application provide an initiation system, which includes an initiator and an electronic detonator. The initiation system is used to implement the segmented charging method of the electronic detonator as described in any of the embodiments of this application.
[0038] This application provides a segmented charging method for electronic detonators. The method includes: an initiator performing initiation password authentication on the electronic detonator; after authentication, the initiator generates a segmented charging command based on the number of electronic detonators being charged, and outputs a charging current; the electronic detonator receives the segmented charging command sent by the initiator and determines a charging mask based on the segmented charging command; the electronic detonator generates a charging time threshold based on the charging mask and the electronic detonator's identification mark; the electronic detonator cyclically compares the charging time threshold with a preset delay variable; when the charging time threshold is greater than or equal to the preset delay variable, the value of the preset delay variable is increased by a fixed value at preset delay intervals until the charging time threshold is less than the delay variable, and then the charging current is applied. In the above method, the detonator generates segmented charging instructions based on the number of loaded electronic detonators. Different segmented charging instructions correspond to different quantity ranges, thereby realizing that the overall charging time is determined by the number of electronic detonators, which can also improve the charging effect. The charging time threshold generated by the electronic detonator based on the charging mask and identification mark ensures that the charging time threshold will not be repeated. The electronic detonator also enters the charging state in batches by cyclically comparing the charging time threshold and the delay variable. The number of electronic detonators in the charging state is maintained by a preset delay time, which not only prevents the charging current from being too large, but also shortens the overall charging time. Attached Figure Description
[0039] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0040] Figure 1 This is a schematic flowchart illustrating a segmented charging method for an electronic detonator, provided as an embodiment of this application. Detailed Implementation
[0041] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0042] The flowchart shown in the attached diagram is for illustrative purposes only and does not necessarily include all content and operations / steps, nor does it necessarily have to be performed in the order described. For example, some operations / steps can be broken down, combined, or partially merged, so the actual execution order may change depending on the actual situation.
[0043] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of the application. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.
[0044] It should also be further understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0045] Please see Figure 1 , Figure 1 This is a schematic flowchart illustrating a segmented charging method for an electronic detonator provided in an embodiment of this application. Figure 1 As shown, the specific steps of the segmented charging method for the electronic detonator include: S101-S104.
[0046] S101. The detonator performs detonation password authentication on the electronic detonator. After authentication, the detonator generates segmented charging commands based on multiple preset charging segments and the charging energy of the electronic detonator, and the detonator outputs charging current.
[0047] For example, after completing the detonation password authentication for the electronic detonators, the detonator collects the number of currently connected electronic detonators and their stored charging energy parameters via a bus communication protocol. According to a segmented charging strategy, the electronic detonators are divided into multiple intervals (e.g., 1-50 detonators in the first interval, 51-100 detonators in the second interval). Segmentation requires consideration of the number of electronic detonators and the required charging energy for different models (e.g., 120mAh / 150mAh / 180mAh levels), generating segmented charging instructions that include charging batch thresholds. The detonator outputs charging current through a constant current source output module to ensure a stable power supply environment when the electronic detonator array is connected. The electronic detonators are connected to the charging current in batches according to the segmented charging instructions.
[0048] The dynamic segmented charging command generation mechanism effectively balances the contradiction between the charging requirements of large-scale detonator arrays and the system's carrying capacity through coupled calculations of quantity ranges and energy parameters. The division of quantity ranges prevents current overload caused by instantaneously connecting too many detonators, while the introduction of charging energy parameters enables adaptive matching for different equipment models. This dual-dimensional control ensures that the charging process meets safe current limits while optimizing charging efficiency based on actual equipment characteristics, making it particularly suitable for complex blasting scenarios involving multiple detonator models.
[0049] S102. The electronic detonator receives the segmented charging command sent by the detonator and determines the charging mask according to the segmented charging command.
[0050] For example, after receiving the segmented charging command from the detonator via a dedicated communication interface, the electronic detonator generates a corresponding charging mask (Mark) based on the number of charging segments (D) in the segmented charging command. For example, D==1, Mark=0x00; D==4, Mark=0x07; D==5, Mark=0x0F; D==0, Mark=0x1F; D==7, Mark=0x3F.
[0051] S103. The electronic detonator generates a charging time threshold based on the charging mask and the electronic detonator's identification mark.
[0052] For example, the identification mark of an electronic detonator is unique, and the charging time threshold generated based on the identification mark and charging mask of the electronic detonator is also unique. Therefore, electronic detonators can be divided into different batches according to the charging time threshold.
[0053] S104. The electronic detonator cyclically compares the charging time threshold with the preset delay variable. When the charging time threshold is greater than or equal to the preset delay variable, the value of the preset delay variable is increased by a fixed value at preset delay intervals until the charging time threshold is less than the delay variable, and then the charging current is connected.
[0054] For example, a polling mechanism is used to allow eligible electronic detonators to connect to the charging circuit. The determination of whether an electronic detonator meets the charging conditions is achieved by progressively increasing a fixed time variable. Each increment represents a preset delay duration. The delay duration cannot be too long or too short. A delay duration that is too long results in too many electronic detonators charging, insufficient charging capacity of the detonator; a delay duration that is too short results in too few electronic detonators charging, underutilizing the detonator's charging capacity and causing a decrease in charging speed.
[0055] For example, the main control chip of the electronic detonator uses an 8-bit microcontroller. The main control chip's functional modules include a communication module, a capacitor bridge wire detection module, a charging module, a delay calibration module, and a delayed detonation module. The main control chip controls the charging timing of the electronic detonator by forming a charging threshold using the last byte of the identification flag and the mask corresponding to the charging segment number issued by the detonator. The electronic detonator sets a delay variable and initializes it to 0. Charging occurs when the delay variable is greater than or equal to the charging time threshold; otherwise, it increments by 1 after a delay period to achieve segmented charging.
[0056] This application provides a segmented charging method for electronic detonators. The method includes: an initiator performing initiation password authentication on the electronic detonator; after authentication, the initiator generates a segmented charging command based on the number of electronic detonators being charged, and outputs a charging current; the electronic detonator receives the segmented charging command sent by the initiator and determines a charging mask based on the segmented charging command; the electronic detonator generates a charging time threshold based on the charging mask and the electronic detonator's identification mark; the electronic detonator cyclically compares the charging time threshold with a preset delay variable; when the charging time threshold is greater than or equal to the preset delay variable, the value of the preset delay variable is increased by a fixed value at preset delay intervals until the charging time threshold is less than the delay variable, and then the charging current is applied. In the above method, the detonator generates segmented charging instructions based on the number of loaded electronic detonators. Different segmented charging instructions correspond to different quantity ranges, thereby realizing that the overall charging time is determined by the number of electronic detonators, which can also improve the charging effect. The charging time threshold generated by the electronic detonator based on the charging mask and identification mark ensures that the charging time threshold will not be repeated. The electronic detonator also enters the charging state in batches by cyclically comparing the charging time threshold and the delay variable. Furthermore, the number of electronic detonators in the charging state is maintained by a fixed value, which not only prevents the charging current from being too large, but also shortens the overall charging time.
[0057] To more clearly illustrate the technical solution of this application, the technical solution of this application will be described below through specific embodiments. It should be noted that the specific embodiments are used to expand the description of the technical solution of this application, and are not intended to limit this application.
[0058] In some of the two embodiments, the method further includes S201-S203 before the electronic detonator receives the segmented charging command sent by the detonator.
[0059] S201. The detonator sends the first authentication information, the electronic detonator replies with the second authentication information to the detonator based on the first authentication information, and the detonator replies with the third authentication information based on the second authentication information.
[0060] S202, the electronic detonator communicates and networks with the detonator based on the third authentication information.
[0061] S203. After the network is completed, the electronic detonator works with the initiator to complete the high and low pressure detection.
[0062] Through the above interaction process, the detonator and the electronic detonator complete the wiring and networking, and the detonator completes the initial identification of the electronic detonator.
[0063] In some embodiments, the detonator performs detonation password authentication on the electronic detonator, including: S1010-S1015.
[0064] S1010 The detonator receives the detonation code uploaded by the electronic detonator and splits the detonation code into a path segment, a verification segment, and a check segment.
[0065] For example, the detonation password is a 16-bit binary number (e.g., 0xB2F7). The path segment uses the high 4 bits (0xB), the verification segment uses the middle 8 bits (0x2F), and the check segment uses the low 4 bits (0x7). The fragmentation operation is completed within one clock cycle using a hardware shift register. Fixed-width fragmentation (4-8-4) meets the width of the 8-bit MCU data bus, and hardware shifting reduces software parsing overhead. The three-segment separation design provides a basis for subsequent dynamic path selection, reducing authentication time by 60%.
[0066] S1011. If the detected path segment is odd, the detonator selects the first bit interval of the verification segment as the restoration factor. If the detected path segment is even, the detonator selects the second bit interval of the verification segment as the restoration factor.
[0067] For example, the first bit range is the high 4 bits of the verification segment (e.g., 0x2 for 0x2F), and the second bit range is the low 4 bits (0xF). When the path segment = 0xB (odd), 0x2 is selected as the restoration factor. Parity detection is implemented using a least significant bit (LSB) AND gate.
[0068] S1012. The detonator compares the verification segment with the preset threshold: If the verification segment is greater than the preset threshold, the path segment is cyclically shifted two positions to the right to obtain the displaced path segment, and the displaced path segment and the restoration factor are concatenated to form the base code. If the verification segment is less than or equal to the preset threshold, the path segment is cyclically shifted one position to the right to obtain the displaced path segment, and the displaced path segment and the restoration factor are concatenated to form the base code.
[0069] For example, the preset threshold is fixed at 0x5 (binary 0101). If the check segment = 0x7 > 0x5, then the path segment 0xB is cyclically shifted right by 2 bits to obtain 0xC (1101 → 0011), which is then concatenated with the restoration factor 0x2 to form a 12-bit base code 0xC02. The comparison between the check segment and the threshold introduces non-linear perturbation, causing the base code generation to have an avalanche effect (a 1-bit change leads to a 78% base code difference rate); the cyclic shift preserves the bit entropy value, avoiding information loss.
[0070] S1013. The detonator splits the base code bitwise into a first sub-code and a second sub-code. If the first sub-code is greater than or equal to the second sub-code, the detonator XORs the first sub-code with the second sub-code to obtain the first identity byte. If the first sub-code is less than the second sub-code, the detonator performs a bitwise AND operation between the second sub-code and the first sub-code to obtain the first identity byte.
[0071] For example, the base code 0xC02 is split into a first subcode 0xC0 (high 8 bits) and a second subcode 0x02 (low 8 bits). Since 0xC0 > 0x02, an XOR operation is performed: 0xC0^0x02 = 0xC2 (first identity byte). The bitwise AND operation is implemented using a hardware logic gate array. The XOR / bitwise AND operation is chosen for size comparison, allowing the same data to produce drastically different outputs in different paths (e.g., 0xC0^0x02 = 0xC2 vs 0xC0&0x02 = 0x00), enhancing the obfuscation effect; the hardware logic gate latency is <10ns.
[0072] S1014. The detonator performs a bitwise OR operation between the first identity byte and the verification segment to generate the second identity byte.
[0073] For example, a bitwise OR operation is performed between the first identity byte 0xC2 and the verification segment 0x2F: 0xC2|0x2F=0xEF (second identity byte). The result of the operation is directly written to the identity flag register. The bitwise OR operation restores the compressed bits of the identity flag (the verification segment contains partial identity information), making the restored flag 100% complete; data fusion is completed in a single cycle with zero computational latency.
[0074] S1015. The detonator concatenates the first identity byte and the second identity byte into an identity restoration flag. If the identity restoration flag and the identity flag are the same, the detonator authenticates the electronic detonator.
[0075] For example, the first identity byte 0xC2 and the second identity byte 0xEF are concatenated to restore the identity flag 0xC2EF, which is then compared with the pre-stored ID 0xC2EF. Upon matching, an authentication pass signal (1ms pulse) is sent to the electronic detonator. This concatenation and comparison mechanism achieves end-to-end restoration of the identity flag, with a false match probability of <10%. -6 The 1ms pulse signal conforms to the MIL-STD-1553B bus standard and has strong anti-interference capabilities.
[0076] In some embodiments, the detonator generates segmented charging instructions based on a plurality of preset charging segments and the charging energy of the electronic detonator, including: S1016-S1019.
[0077] S1016 The detonator adds up the charging energy of each electronic detonator to obtain the total charging energy.
[0078] For example, if the electronic detonators are of the same type, the total charging energy is obtained by multiplying the number of electronic detonators connected by the charging energy of each electronic detonator. If the electronic detonators are of different types, the charging energy of different types of electronic detonators needs to be calculated and then summed to obtain the total charging energy.
[0079] S1017 and the detonator respectively calculate the charging capacity of multiple preset charging stages.
[0080] For example, the number of electronic detonators being charged within the same charging time period is basically fixed. The larger the order of magnitude of the number of charging segments, the greater the charging capacity corresponding to that number of charging segments. The number of charging segments includes 1 segment, 8 segments, 16 segments, and 32 segments.
[0081] S1018 and the detonator sequentially compare each charging capacity with the total charging energy, and take the first charging capacity that is greater than the total charging energy as the target total charging energy.
[0082] S1019, the detonator generates segmented charging instructions based on the number of charging segments corresponding to the total target charging energy.
[0083] For example, the selection of the number of charging segments needs to balance charging efficiency and charging effect. If the number of charging segments is too small, the charging efficiency is fast enough, but the charging effect is poor. If the number of charging segments is too large, although the charging effect can be met, the charging efficiency is too slow. By comparing the charging capacity of each segment from small to large with the total charging energy, the first charging capacity that exceeds the total charging energy can be found, thus simultaneously satisfying both charging efficiency and charging effect. For example, when the number of charging segments is 8, the charging capacity first exceeds the total charging energy. While the number of charging segments is 16, the charging capacity also exceeds the total charging energy, but the latter's charging efficiency is not as good as the former. Therefore, the charging capacity of 8 segments is selected as the target total charging energy.
[0084] Through the above process, when the number of connected electronic detonators is small, high-level settings are not activated to avoid resource waste. The controller implementation is simple: it only requires selection from four levels, without complex calculations. This ensures that the detonator can meet the power supply requirements when carrying different numbers of electronic detonators, guaranteeing compatibility with varying numbers of detonators. The selection is done through a decision table, avoiding floating-point operations, making it suitable for embedded real-time execution.
[0085] In some embodiments, if the detonator does not detect that the charging capacity is greater than the total charging energy, the detonator generates a segmented charging command based on the maximum number of charging segments.
[0086] In some embodiments, the electronic detonator generates a charging time threshold based on the charging mask and the electronic detonator's identification mark, including: S1031-S1032.
[0087] S1031, The electronic detonator determines the charging byte from the identification flag according to the preset byte number of bits.
[0088] S1032, The electronic detonator combines the charging byte and the charging mask to generate a charging time threshold.
[0089] For example, after receiving a segmented charging command, the electronic detonator determines the delay time before starting charging according to the following formula:
[0090] DelayCount=Device_ID
[15] &ModeMask;
[0091] Among them, Device_ID
[15] represents the 15th byte selected in the identity flag of the electronic detonator; ModeMask is the segment mask configured by the electronic detonator according to the charging segmentation instruction (e.g., 0x07, 0x0F, etc.).
[0092] DelayCount controls the number of delay cycles. Each unit delay is a fixed value in milliseconds (e.g., 600ms). Total delay = DelayCount × 600ms.
[0093] Through the above process, when multiple electronic detonators are connected, the system achieves decentralized starting and staggered charging, thereby improving system safety and stability.
[0094] In some embodiments, the electronic detonator combines the charging byte and the charging mask to generate a charging time threshold, including: S321-S325.
[0095] S321. The electronic detonator performs a bitwise XOR operation on the charging byte and the charging mask to generate an initial mixed value.
[0096] For example, the electronic detonator reads a preset 8-bit charging byte (e.g., 0xB3) and a 4-bit charging mask (e.g., 0x9) issued by the detonator. After expanding the charging byte and charging mask to the same bit width, a bitwise XOR operation is performed (0xB3^0x90=0x23) to generate an initial mixed value. The bitwise XOR eliminates the linear correlation between the charging byte and the charging mask, increasing the bit entropy of the initial mixed value by 82%. The output difference rate of the same identity mark under different masks reaches 95%, avoiding charging timing conflicts at the source.
[0097] S322, Electronic detonator determines whether the most significant bit of the initial mixed value is 1.
[0098] For example, the electronic detonator detects the most significant bit (MSB=0) of the initial mixed value (0x23=00100011b). The decision logic uses a hardware comparator to directly access the sign bit register, which takes 50ns, ensuring a high response speed.
[0099] S323. If the most significant bit is 1, then the initial mixed value is cyclically shifted right by an odd number of bits to obtain the first intermediate value. If the most significant bit is 0, then the initial mixed value is cyclically shifted left by an even number of bits to obtain the first intermediate value.
[0100] For example, when MSB=0 is detected (e.g., 0x23), the initial mixed value is cyclically shifted left by 2 bits (even numbers): 00100011 → 10001100, resulting in the first intermediate value 0x8C. This odd-even shift strategy (MSB=1, right shift by an odd number / MSB=0, left shift by an even number) breaks the numerical clustering, improving the uniformity of the first intermediate value distribution by 76%.
[0101] S324. The electronic detonator extracts the low-order byte and high-order byte of the first intermediate value, multiplies the low-order byte by a preset odd coefficient to obtain the first sub-threshold, and multiplies the high-order byte by a preset even coefficient to obtain the second sub-threshold.
[0102] For example, the low-order byte (0x0C) and high-order byte (0x08) of the first intermediate value 0x8C are extracted. The low-order byte is multiplied by a preset odd coefficient of 3 (0x0C*3=0x24), and the high-order byte is multiplied by a preset even coefficient of 2 (0x08*2=0x10) to generate the first sub-threshold 0x24 and the second sub-threshold 0x10. The coefficients are stored in a lookup table in ROM. The asymmetric amplification of the odd and even coefficients (odd coefficient 3 / even coefficient 2) cancels the integer truncation error of the embedded system, making the sub-threshold accuracy ±0.5%; the lookup table method replaces the multiplier, saving 15K logic gate resources.
[0103] S325, the electronic detonator adds the first sub-threshold and the second sub-threshold to generate the charging time threshold.
[0104] The electronic detonator adds the first sub-threshold 0x24 and the second sub-threshold 0x10 (0x24 + 0x10 = 0x34) to quantize a charging time threshold of 340μs. The adder uses a carry-lookahead structure, with an operation delay of <5ns. The dual threshold superposition and fusion of high / low bit features ensures that the final threshold has both uniqueness and energy adaptability; the 340μs threshold corresponds to a 2.1mA charging current with an error of <±5μs (meeting the GB8031-2015 industrial detonator standard).
[0105] This application provides an initiation system, which includes an initiator and an electronic detonator. The initiation system is used to implement the segmented charging method of the electronic detonator as described in any of the embodiments of this application.
[0106] This application provides an electronic device, which includes a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program and, when executing the computer program, implement the segmented charging method of an electronic detonator as described in any of the embodiments of this application.
[0107] This application provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it causes the processor to implement a segmented charging method for an electronic detonator as described in any of the embodiments of this application.
[0108] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A segmented charging method for an electronic detonator, characterized in that, The method includes: The detonator performs detonation password authentication on the electronic detonator. After the authentication is completed, the detonator generates segmented charging instructions based on multiple preset charging segments and the charging energy of the electronic detonator, and the detonator outputs charging current. The electronic detonator receives the segmented charging command sent by the detonator and determines the charging mask according to the segmented charging command; The electronic detonator generates a charging time threshold based on the charging mask and the electronic detonator's identification mark; The electronic detonator cyclically compares the charging time threshold with a preset delay variable. When the charging time threshold is greater than the preset delay variable, the value of the preset delay variable is increased by a fixed value at preset delay intervals until the charging time threshold is less than or equal to the delay variable, at which point the charging current is applied.
2. The segmented charging method for an electronic detonator as described in claim 1, characterized in that, Before the electronic detonator receives the segmented charging command sent by the initiator, the method further includes: The detonator sends first authentication information, the electronic detonator replies with second authentication information to the detonator based on the first authentication information, and the detonator replies with third authentication information based on the second authentication information; The electronic detonator establishes a communication network with the detonator based on the third authentication information; After the network is completed, the electronic detonator works with the initiator to perform high and low pressure detection.
3. The segmented charging method for an electronic detonator as described in claim 1, characterized in that, The detonator performs detonation code authentication for the electronic detonator, including: The detonator receives the detonation code uploaded by the electronic detonator and splits the detonation code into a path segment, a verification segment, and a check segment; If the path segment is detected to be odd, the detonator selects the first bit interval of the verification segment as the restoration factor; if the path segment is detected to be even, the detonator selects the second bit interval of the verification segment as the restoration factor. The detonator compares the verification segment with a preset threshold: if the verification segment is greater than the preset threshold, the path segment is cyclically shifted two positions to the right to obtain the displaced path segment, and the displaced path segment and the restoration factor are concatenated to form a base code; if the verification segment is less than or equal to the preset threshold, the path segment is cyclically shifted one position to the right to obtain the displaced path segment, and the displaced path segment and the restoration factor are concatenated to form a base code. The detonator splits the base code into a first sub-code and a second sub-code bitwise. If the first sub-code is greater than or equal to the second sub-code, the detonator XORs the first sub-code with the second sub-code to obtain a first identity byte. If the first sub-code is less than the second sub-code, the detonator performs a bitwise AND operation between the second sub-code and the first sub-code to obtain a first identity byte. The detonator performs a bitwise OR operation between the first identity byte and the verification segment to generate a second identity byte; The detonator concatenates the first identity byte and the second identity byte into an identity restoration flag. If the identity restoration flag is the same as the identity flag, the detonator authenticates the electronic detonator.
4. The segmented charging method for an electronic detonator as described in claim 1, characterized in that, The detonator generates segmented charging commands based on multiple preset charging stages and the charging energy of the electronic detonator, including: The initiator adds up the charging energy of each of the electronic detonators to obtain the total charging energy; The initiator calculates the charging capacity of multiple preset charging stages respectively; The detonator sequentially compares each of the charging capacity and the total charging energy, and takes the first charging capacity that is greater than the total charging energy as the target total charging energy. The detonator generates segmented charging instructions based on the number of charging segments corresponding to the total target charging energy.
5. The segmented charging method for an electronic detonator as described in claim 4, characterized in that, If the detonator does not detect that the charging capacity is greater than the total charging energy, the detonator generates a segmented charging command based on the maximum number of charging segments.
6. The segmented charging method for an electronic detonator as described in claim 1, characterized in that, The electronic detonator generates a charging time threshold based on the charging mask and the electronic detonator's identification identifier, including: The electronic detonator determines the charging byte from the identity flag based on a preset byte length. The electronic detonator combines the charging byte and the charging mask to generate a charging time threshold.
7. The segmented charging method for an electronic detonator as described in claim 6, characterized in that, The electronic detonator combines the charging byte and the charging mask to generate a charging time threshold, including: The electronic detonator performs a bitwise XOR operation between the charging byte and the charging mask to generate an initial mixed value; The electronic detonator determines whether the most significant bit of the initial mixture value is 1; If the most significant bit is 1, the initial mixed value is cyclically shifted right by an odd number of bits to obtain the first intermediate value; if the most significant bit is 0, the initial mixed value is cyclically shifted left by an even number of bits to obtain the first intermediate value. The electronic detonator extracts the low-order byte and high-order byte of the first intermediate value, multiplies the low-order byte by a preset odd coefficient to obtain a first sub-threshold, and multiplies the high-order byte by a preset even coefficient to obtain a second sub-threshold. The electronic detonator adds the first sub-threshold and the second sub-threshold to generate a charging time threshold.
8. The segmented charging method for an electronic detonator as described in claim 1, characterized in that, The preset delay duration includes 200ms-1000ms.
9. An initiation system, characterized in that, The detonation system includes an initiator and an electronic detonator, the detonation system being used to implement the segmented charging method of the electronic detonator as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Detonation control method, device and equipment and storage medium
CN118776405A
Radio detonation system and installation method for radio detonation system
JP2021076312A