CN113074595B - Data writing method and system of electronic detonator, electronic detonator and initiator - Google Patents
Data writing method and system of electronic detonator, electronic detonator and initiator Download PDFInfo
- Publication number
- CN113074595B CN113074595B CN202010008285.9A CN202010008285A CN113074595B CN 113074595 B CN113074595 B CN 113074595B CN 202010008285 A CN202010008285 A CN 202010008285A CN 113074595 B CN113074595 B CN 113074595B
- Authority
- CN
- China
- Prior art keywords
- code data
- data
- parameter
- electronic detonator
- communication
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F42—AMMUNITION; BLASTING
- F42C—AMMUNITION FUZES; ARMING OR SAFETY MEANS THEREFOR
- F42C19/00—Details of fuzes
- F42C19/08—Primers; Detonators
- F42C19/12—Primers; Detonators electric
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Air Bags (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The invention provides a data writing method and system of an electronic detonator, the electronic detonator and an initiator, wherein the method comprises the following steps: converting the function code data and the parameter code data into corresponding communication waveforms, wherein the communication waveforms adopt fixed writing clock frequency which is used for judging whether the communication waveforms are abnormal or not by the electronic detonator; and sending the communication waveform to the electronic detonator, wherein the communication waveform is used for writing parameter data into the electronic detonator according to the function code data corresponding to the communication waveform when the communication waveform is not abnormal. The invention can realize the writing of the data of the electronic detonator, and has high efficiency and high accuracy.
Description
Technical Field
The invention relates to the technical field of electronic detonator communication, in particular to a data writing method and system of an electronic detonator, the electronic detonator and an initiator.
Background
With the continuous development and perfection of electronic detonator technology, the technical superiority of the electronic detonator is widely and widely recognized in the global blasting community. In the prior art, the writing of the data of the electronic detonators is realized by adopting different data communication methods on the basis of serial and parallel communication hardware, and in the actual detonating application, particularly the detonating environment is complex, and the following problems exist in the case of excessive number of detonators: the initiator sends a data writing instruction overlong, most of communication methods adopt a writing mode with a long address (generally using an 8-byte MAC address) under a certain communication rate, and the data writing instruction is long in transmission time, easy to be interfered, easy to lose packets and cause data errors in an environment with communication interference; the writing data has complex format, no clock checking mechanism and easy bit data writing dislocation under the use environment that the communication distance between the electronic detonator and the exploder is longer, thereby causing writing data errors; the data writing instruction formats of the blaster and the detonator chip of the same manufacturer are not unified and not standard, the implementation is complex, the operation is troublesome, and certain difficulty is brought to the popularization of the electronic detonator. In summary, the conventional data writing has the problems of low efficiency and low accuracy.
Disclosure of Invention
The embodiment of the invention provides a data writing method of an electronic detonator, which is used for realizing writing of data of the electronic detonator, and has high efficiency and high accuracy, and the method comprises the following steps:
converting the function code data and the parameter code data into corresponding communication waveforms, wherein the communication waveforms adopt fixed writing clock frequency which is used for judging whether the communication waveforms are abnormal or not by the electronic detonator;
and sending the communication waveform to the electronic detonator, wherein the communication waveform is used for writing parameter data into the electronic detonator according to the function code data corresponding to the communication waveform when the communication waveform is not abnormal.
The embodiment of the invention provides a data writing method of an electronic detonator, which is used for realizing writing of data of the electronic detonator, and has high efficiency and high accuracy, and the method comprises the following steps:
detecting communication waveforms corresponding to the function code data and the parameter code data sent by the exploder, and identifying the function code data and the parameter code data;
judging whether the communication waveform is abnormal or not according to the writing clock frequency of the communication waveform;
and when the communication waveform is not abnormal, writing the parameter data into the electronic detonator according to the function code data.
The embodiment of the invention provides an exploder of an electronic detonator, which is used for writing data of the electronic detonator, and has high efficiency and high accuracy, and the exploder comprises:
the conversion module is used for converting the function code data and the parameter code data into corresponding communication waveforms, the communication waveforms adopt fixed writing clock frequency, and the fixed writing clock frequency is used for judging whether the communication waveforms are abnormal or not by the electronic detonator;
the sending module is used for sending the communication waveform to the electronic detonator, and the communication waveform is used for writing the parameter data into the electronic detonator according to the function code data corresponding to the communication waveform when the communication waveform is not abnormal.
The embodiment of the invention provides an electronic detonator, which is used for writing data of the electronic detonator, has high efficiency and high accuracy, and comprises:
the identification module is used for detecting communication waveforms corresponding to the function code data and the parameter code data sent by the exploder and identifying the function code data and the parameter code data;
the judging module is used for judging whether the communication waveform is abnormal or not according to the writing clock frequency of the communication waveform;
and the writing module is used for writing the parameter data into the electronic detonator according to the function code data when the communication waveform is not abnormal.
The embodiment of the invention provides a data writing system of an electronic detonator, which is used for writing data of the electronic detonator, and has high efficiency and high accuracy, and the system comprises: the initiator of the electronic detonator and the electronic detonator.
The embodiment of the invention also provides computer equipment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the data writing method of the electronic detonator is realized when the processor executes the computer program.
The embodiment of the invention also provides a computer readable storage medium, which stores a computer program for executing the data writing method of the electronic detonator.
In the embodiment of the invention, the function code data and the parameter code data are converted into corresponding communication waveforms, wherein the communication waveforms adopt fixed writing clock frequency, and the fixed writing clock frequency is used for judging whether the communication waveforms are abnormal or not by the electronic detonator; and sending the communication waveform to the electronic detonator, wherein the communication waveform is used for writing parameter data into the electronic detonator according to the function code data corresponding to the communication waveform when the communication waveform is not abnormal. In the process, the function code data and the parameter code data are converted into corresponding communication waveforms and sent to the electronic detonator for data writing of the electronic detonator, wherein the function code data and the parameter code data can be in a uniform format and converted into waveforms with fixed writing clock frequency, so that the electronic detonator is easy to identify and has high efficiency; meanwhile, the fixed writing clock frequency can be used for the electronic detonator to judge whether the communication waveform is abnormal or not, so that the accuracy of data writing is ensured.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. In the drawings:
FIG. 1 is a flow chart of a method for writing data into an electronic detonator in an embodiment of the invention;
FIG. 2 is an example of a communication waveform in an embodiment of the invention;
FIG. 3 is a schematic waveform diagram of a bit data written with 1 byte of parameter data according to an embodiment of the present invention;
FIG. 4 is a diagram of writing 1 byte of parameter data according to an embodiment of the present invention;
FIG. 5 is a diagram of writing 2-byte parameter data according to an embodiment of the present invention;
FIG. 6 is a diagram of writing N-byte parameter data according to an embodiment of the present invention;
fig. 7 is a detailed flowchart of a data writing method of an electronic detonator according to an embodiment of the present invention;
FIG. 8 is a flowchart of another method for writing data into an electronic detonator according to an embodiment of the invention;
FIG. 9 is a schematic view of an initiator of an electronic detonator in an embodiment of the invention;
FIG. 10 is a schematic diagram of an electronic detonator in an embodiment of the invention;
fig. 11 is a schematic diagram of a data writing system of an electronic detonator according to an embodiment of the invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention will be described in further detail with reference to the accompanying drawings. The exemplary embodiments of the present invention and their descriptions herein are for the purpose of explaining the present invention, but are not to be construed as limiting the invention.
In the description of the present specification, the terms "comprising," "including," "having," "containing," and the like are open-ended terms, meaning including, but not limited to. Reference to the terms "one embodiment," "a particular embodiment," "some embodiments," "for example," etc., means that a particular feature, structure, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. The sequence of steps involved in the embodiments is used to schematically illustrate the practice of the present application, and is not limited thereto and may be appropriately adjusted as desired.
Fig. 1 is a flowchart of a data writing method of an electronic detonator according to an embodiment of the invention, as shown in fig. 1, the method includes:
step 101, converting the function code data and the parameter code data into corresponding communication waveforms, wherein the communication waveforms adopt fixed writing clock frequency, and the fixed writing clock frequency is used for judging whether the communication waveforms are abnormal or not by the electronic detonator;
step 102, the communication waveform is sent to the electronic detonator, and when the communication waveform is not abnormal, the communication waveform is used for the electronic detonator, and the parameter data is written into the electronic detonator according to the function code data corresponding to the communication waveform.
In the embodiment of the invention, the function code data and the parameter code data are converted into corresponding communication waveforms and sent to the electronic detonator for data writing of the electronic detonator, wherein the function code data and the parameter code data can be in a uniform format and converted into waveforms with fixed writing clock frequency, so that the electronic detonator is easy to identify and has high efficiency; meanwhile, the fixed writing clock frequency can be used for the electronic detonator to judge whether the communication waveform is abnormal or not, so that the accuracy of data writing is ensured.
In the specific implementation, in step 101, the writing data to the electronic detonator necessarily includes function code data and parameter code data, the function code data is sent to the electronic detonator to inform the electronic detonator of the writing data, and the parameter code data is sent to the electronic detonator to inform the electronic detonator of the data to which the function code data should be written. For example, the function code data is a written network serial number, and the parameter data is a network serial number. When the electronic detonator is transmitted, the functional code data is transmitted firstly, then the parameter data is transmitted, and the parameter data is written into the corresponding position of the electronic detonator according to the functional code data after the electronic detonator receives the parameter data.
The function code data and the parameter code data are converted into corresponding communication waveforms, the communication waveforms adopt fixed writing clock frequency, the fixed writing clock frequency is used for judging whether the communication waveforms are abnormal or not by the electronic detonator, packet loss and error rate are greatly reduced in a communication interference environment, communication distance is farther, and communication is more stable, and in one embodiment, the function code data and the parameter code data are converted into corresponding communication waveforms, and the method comprises the following steps:
converting bit data 1 in the functional code data and the parameter digital data into square waves with a first proportion of duty ratio;
the bit data 0 in the function code data and the parameter code data are converted into square waves with a second proportion of duty ratio.
In the above embodiment, fig. 2 is an example of a communication waveform in the embodiment of the present invention, where the communication waveform includes square waves with a plurality of fixed periods, and one period starts from a rising edge and ends until the next rising edge; in one communication period, a configuration is defined in which a high-level duty ratio is a first ratio (for example, 33%) representing bit data 1 and a high-level duty ratio is a second ratio (for example, 67%) representing bit data 0; the communication period defining bit data 1 or 0 is equal (e.g., 1 ms), indicating a fixed write clock frequency. In fig. 2, before transmitting the function code data and the parameter code data such as bit data 0 or 1, a starter signal is also transmitted to the electronic detonator for notifying that the electronic detonator is ready for communication. FIG. 3 is a schematic waveform diagram of a parameter data written into one byte according to an embodiment of the present invention, as shown in FIG. 3, the function code data is one byte, 8 bits of data (i.e. one byte is composed of eight binary bits), and similarly, the parameter data of one byte is composed of 8 bits of data; defining each bit data of one byte as B7 to B0, wherein the most significant bit is B7 and the least significant bit is B0; after the electronic detonator recognizes the function code data, the electronic detonator starts to write the parameter code data, and each byte of the parameter code data is written once according to the sequence that the high bit is in front and the low bit is in back; after the first byte is written, writing the second byte and the third byte sequentially until the writing is completed and the idle state is entered; in the embodiment of the invention, the length of the function code data is one byte, and the parameter code data supports a plurality of bytes.
In step 102, the communication waveform is sent to an electronic detonator, and the electronic detonator detects the communication waveform, and identifies the function code data and the parameter data, specifically: when the duty ratio of the square wave of the communication waveform corresponding to the function code data is a first proportion, determining that the bit data of the function code data is 1; when the duty ratio of the square wave of the communication waveform corresponding to the function code data is a second proportion, determining that the bit data of the function code data is 0; when the duty ratio of the square wave of the communication waveform corresponding to the parameter code data is a first proportion, determining that the bit data of the parameter code data is 1; and when the duty ratio of the square wave of the communication waveform corresponding to the parameter code data is the second proportion, determining that the bit data of the parameter code data is 0. By the above identification, function code data and parameter code data composed of bit data 0 and 1 can be obtained. Then, the electronic detonator judges whether the communication waveform is abnormal according to the writing clock frequency of the communication waveform, specifically: when the writing clock frequency of the communication waveform exceeds the set range, determining that the communication waveform is abnormal, otherwise, determining that the communication waveform is not abnormal. The setting range can be determined according to actual conditions. When the communication waveform of the electronic detonator is not abnormal, the electronic detonator writes the parameter data into a memory or a register of the electronic detonator according to the function code data.
In an embodiment, the parameter code data includes one or any combination of calibration frequency data, charging voltage data, discharging voltage data, network serial number, password data, UID code data, and timing instructions.
In the above embodiment, the calibration frequency data, the charging voltage data, and the discharging voltage data are parameter data of one byte, fig. 4 is a schematic diagram of writing parameter data of 1 byte in the embodiment of the present invention, after the function code data is received, the parameter data of 1 byte is written in a specific position of the electronic detonator, and parameter data writing can be performed on a single electronic detonator or multiple electronic detonators.
FIG. 5 is a schematic diagram of writing 2 bytes of parameter code data in an embodiment of the present invention, where the function code data is a written network sequence number, the network sequence number is that an initiator numbers a plurality of electronic detonators at a time, the network sequence number of each electronic detonator is unique and corresponds to UID identification of the electronic detonator one by one, after the electronic detonator writes in the network sequence number, the electronic detonator disappears after power failure, after receiving an instruction related to the network sequence number and the network sequence number, a subsequent single electronic detonator compares the received network sequence number with the network sequence number of itself, and if the received network sequence number is consistent, the operation corresponding to the instruction is executed; when the electronic detonator is applied to the multiple electronic detonator network, for example, the initial network serial number is written, when the electronic detonator receives the data, no operation is performed if the own network serial number is smaller than the initial network serial number, and if the own network serial number is larger than or equal to the initial network serial number, the corresponding operation is performed.
Fig. 6 is a schematic diagram of writing N bytes of parameter code data in the embodiment of the present invention, where n=4 in fig. 6, and the function code data at this time is written password data, where the written password data may be used for multiple electronic detonator password verification, and after the electronic detonator receives the sent password data and the verification instruction, the electronic detonator compares the received password data with its own password and makes a corresponding response.
The UID code data is 8 bytes of parameter code data, in fig. 6, n=8, at this time, the function code data is written in the UID code data, after the electronic detonator receives the function code data, it is first judged whether the UID code data exists in the memory, if the UID code data already exists in the memory, the UID code data is not written in any more, otherwise, the UID code data is written in the memory.
The timing instruction is parameter digital data of N bytes, as shown in fig. 6, the function code data at this time is a writing timing instruction, the writing of a single or a plurality of electronic detonators is supported, the parameter code data is fixed to be hexadecimal number 0x55 (namely binary 01010101, representing square waves with continuous same period), when in actual use, the parameter digital data of the corresponding byte number is sent according to the maximum clock period to be calibrated, the electronic detonators are operated to perform clock calibration, after receiving the timing instruction, the electronic detonators count up from the rising edge of the first bit data, when the count value of the square waves is the same as the delay time of the electronic detonators, the connection between the delay calibration register and the internal oscillator is disconnected, the counting of the delay calibration register is stopped, and the count value at this time is the calibrated delay value, and the count value is stored in the internal delay calibration register to be used as the timing value of the delay discharge instruction.
Based on the above embodiments, the present invention proposes the following embodiment to explain the detailed flow of the data writing method of the electronic detonator, and fig. 7 is a detailed flow chart of the data writing method of the electronic detonator according to the embodiment of the present invention, as shown in fig. 7, in one embodiment, the detailed flow of the data writing method of the electronic detonator includes:
step 701, converting the function code data and the parameter code data into corresponding communication waveforms by the initiator;
step 702, the initiator transmits the communication waveform to the electronic detonator;
step 703, the electronic detonator detects the communication waveform corresponding to the function code data and the parameter code data sent by the exploder, and identifies the function code data and the parameter code data;
step 704, judging whether the communication waveform is abnormal or not according to the writing clock frequency of the communication waveform;
step 705, when the communication waveform is not abnormal, writing the parameter data into the electronic detonator according to the function code data.
Of course, it is understood that other variations of the detailed flow of the data writing method of the electronic detonator may be provided, and all the related variations should fall within the protection scope of the present invention.
In summary, in the method provided in the embodiment of the present invention, the function code data and the parameter code data are converted into corresponding communication waveforms, where the communication waveforms use a fixed write clock frequency, and the fixed write clock frequency is used by the electronic detonator to determine whether the communication waveforms are abnormal; and sending the communication waveform to the electronic detonator, wherein the communication waveform is used for writing parameter data into the electronic detonator according to the function code data corresponding to the communication waveform when the communication waveform is not abnormal. In the process, the function code data and the parameter code data are converted into corresponding communication waveforms and sent to the electronic detonator for data writing of the electronic detonator, wherein the function code data and the parameter code data can be in a uniform format and converted into waveforms with fixed writing clock frequency, so that the electronic detonator is easy to identify and has high efficiency; meanwhile, the fixed writing clock frequency can be used for the electronic detonator to judge whether the communication waveform is abnormal or not, so that the accuracy of data writing is ensured. In addition, a writing mode of flexibly combining function code data and parameter code data is adopted, so that the communication time is shorter and the communication efficiency is higher when the number of the networked electronic detonators is larger; the data writing format is unified and standard, the implementation is easy, the operation is simple, and the electronic detonator application can be better promoted.
The embodiment of the invention also provides another method for writing data into an electronic detonator, and fig. 8 is a flowchart of another method for writing data into an electronic detonator in the embodiment of the invention, as shown in fig. 8, the method comprises the following steps:
step 801, detecting communication waveforms corresponding to the function code data and the parameter code data sent by the initiator, and identifying the function code data and the parameter code data;
step 802, judging whether the communication waveform is abnormal or not according to the writing clock frequency of the communication waveform;
and 803, when the communication waveform is not abnormal, writing the parameter data into the electronic detonator according to the function code data.
In one embodiment, detecting communication waveforms corresponding to function code data and parameter code data sent by an initiator, identifying the function code data and the parameter code data, includes:
when the duty ratio of the square wave of the communication waveform corresponding to the function code data is a first proportion, determining that the bit data of the function code data is 1; when the duty ratio of the square wave of the communication waveform corresponding to the function code data is a second proportion, determining that the bit data of the function code data is 0;
when the duty ratio of the square wave of the communication waveform corresponding to the parameter code data is a first proportion, determining that the bit data of the parameter code data is 1; and when the duty ratio of the square wave of the communication waveform corresponding to the parameter code data is the second proportion, determining that the bit data of the parameter code data is 0.
In summary, in the method provided by the embodiment of the present invention, the communication waveforms corresponding to the function code data and the parameter code data sent by the initiator are detected, and the function code data and the parameter code data are identified; judging whether the communication waveform is abnormal or not according to the writing clock frequency of the communication waveform; and when the communication waveform is not abnormal, writing the parameter data into the electronic detonator according to the function code data. In the process, the communication waveforms corresponding to the function code data and the parameter code data sent by the exploder are detected, and the function code data and the parameter code data are identified, wherein the function code data and the parameter code data can be in a unified format and converted into waveforms with fixed writing clock frequency, so that the identification of the electronic detonator is easy, and the efficiency is high; meanwhile, the fixed writing clock frequency can be used for the electronic detonator to judge whether the communication waveform is abnormal or not, so that the accuracy of data writing is ensured. In addition, a writing mode of flexibly combining function code data and parameter code data is adopted, so that the communication time is shorter and the communication efficiency is higher when the number of the networked electronic detonators is larger; the data writing format is unified and standard, the implementation is easy, the operation is simple, and the electronic detonator application can be better promoted.
Based on the same inventive concept, the embodiment of the invention also provides an initiator of the electronic detonator, as described in the following embodiment. Since the principle of solving the problems is similar to the data writing method of the electronic detonator of fig. 1, the implementation of the initiator can be referred to the implementation of the method, and the repetition is omitted.
FIG. 9 is a schematic view of an initiator of an electronic detonator in an embodiment of the invention as shown in FIG. 9, the initiator comprising:
the conversion module 901 is configured to convert the function code data and the parameter code data into corresponding communication waveforms, where the communication waveforms use a fixed write clock frequency, and the fixed write clock frequency is used by the electronic detonator to determine whether the communication waveforms are abnormal;
and the sending module 902 is configured to send the communication waveform to the electronic detonator, where the communication waveform is used for writing the parameter data into the electronic detonator according to the function code data corresponding to the communication waveform when the communication waveform is not abnormal.
In summary, in the initiator of the electronic detonator provided by the embodiment of the invention, the function code data and the parameter code data are converted into corresponding communication waveforms and sent to the electronic detonator for data writing of the electronic detonator, wherein the function code data and the parameter code data can be in a uniform format and converted into waveforms with fixed writing clock frequency, so that the identification of the electronic detonator is easy, and the efficiency is high; meanwhile, the fixed writing clock frequency can be used for the electronic detonator to judge whether the communication waveform is abnormal or not, so that the accuracy of data writing is ensured. In addition, a writing mode of flexibly combining function code data and parameter code data is adopted, so that the communication time is shorter and the communication efficiency is higher when the number of the networked electronic detonators is larger; the data writing format is unified and standard, the implementation is easy, the operation is simple, and the electronic detonator application can be better promoted.
Based on the same inventive concept, the embodiment of the invention also provides an electronic detonator, as described in the following embodiment. Since the principle of solving the problems is similar to the data writing method of the electronic detonator of fig. 8, the implementation of the electronic detonator can be referred to the implementation of the method, and the repetition is not repeated.
Fig. 10 is a schematic diagram of an electronic detonator according to an embodiment of the invention, as shown in fig. 10, the electronic detonator comprising:
the identification module 1001 is configured to detect a communication waveform corresponding to the function code data and the parameter code data sent by the initiator, and identify the function code data and the parameter code data;
a judging module 1002, configured to judge whether the communication waveform is abnormal according to the write clock frequency of the communication waveform;
and the writing module 1003 is used for writing the parameter data into the electronic detonator according to the function code data when the communication waveform is not abnormal.
In summary, the communication waveforms corresponding to the function code data and the parameter code data sent by the exploder are detected, and the function code data and the parameter code data are identified, wherein the function code data and the parameter code data can be in a unified format and converted into waveforms with fixed writing clock frequency, so that the identification of the electronic detonator is easy, and the efficiency is high; meanwhile, the fixed writing clock frequency can be used for the electronic detonator to judge whether the communication waveform is abnormal or not, so that the accuracy of data writing is ensured. In addition, a writing mode of flexibly combining function code data and parameter code data is adopted, so that the communication time is shorter and the communication efficiency is higher when the number of the networked electronic detonators is larger; the data writing format is unified and standard, the implementation is easy, the operation is simple, and the electronic detonator application can be better promoted.
The embodiment of the invention also provides a data writing system of the electronic detonator, and fig. 11 is a schematic diagram of the data writing system of the electronic detonator in the embodiment of the invention, as shown in fig. 11, the system comprises: an initiator 1101 of the electronic detonator and the electronic detonator 1102.
In summary, in the system provided by the embodiment of the invention, the function code data and the parameter code data are converted into corresponding communication waveforms and sent to the electronic detonator for data writing of the electronic detonator, wherein the function code data and the parameter code data can be in a uniform format and converted into waveforms with fixed writing clock frequency, so that the identification of the electronic detonator is easy, and the efficiency is high; meanwhile, the fixed writing clock frequency can be used for the electronic detonator to judge whether the communication waveform is abnormal or not, so that the accuracy of data writing is ensured. In addition, a writing mode of flexibly combining function code data and parameter code data is adopted, so that the communication time is shorter and the communication efficiency is higher when the number of the networked electronic detonators is larger; the data writing format is unified and standard, the implementation is easy, the operation is simple, and the electronic detonator application can be better promoted.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the invention, and is not meant to limit the scope of the invention, but to limit the invention to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the invention are intended to be included within the scope of the invention.
Claims (9)
1. The data writing method of the electronic detonator is characterized by comprising the following steps of:
converting the function code data and the parameter code data into corresponding communication waveforms, wherein the communication waveforms adopt fixed writing clock frequency which is used for judging whether the communication waveforms are abnormal or not by the electronic detonator;
the communication waveform is sent to the electronic detonator, and when the communication waveform is not abnormal, the communication waveform is used for the electronic detonator, and parameter data are written into the electronic detonator according to the function code data corresponding to the communication waveform;
when transmitting, firstly transmitting the communication waveform corresponding to the functional code data and then transmitting the communication waveform corresponding to the parameter digital data;
the length of the function code data is one byte, and the parameter code data supports a plurality of bytes;
converting the function code data and the parameter code data into corresponding communication waveforms, comprising:
converting bit data 1 in the functional code data and the parameter digital data into square waves with a first proportion of duty ratio;
the bit data 0 in the function code data and the parameter code data are converted into square waves with a second proportion of duty ratio.
2. The method of writing data to an electronic detonator of claim 1, wherein the parameter code data comprises one or any combination of calibration frequency data, charging voltage data, electronic detonator discharge operation instructions, network serial numbers, password data, UID code data, and timing instructions.
3. The data writing method of the electronic detonator is characterized by comprising the following steps of:
detecting communication waveforms corresponding to the function code data and the parameter code data sent by the exploder, and identifying the function code data and the parameter code data;
judging whether the communication waveform is abnormal or not according to the writing clock frequency of the communication waveform;
when the communication waveform is not abnormal, writing parameter data into the electronic detonator according to the function code data;
when the initiator transmits, the communication waveform corresponding to the functional code data is transmitted firstly, and then the communication waveform corresponding to the parameter data is transmitted;
the length of the function code data is one byte, and the parameter code data supports a plurality of bytes;
detecting communication waveforms corresponding to the function code data and the parameter code data sent by the initiator, identifying the function code data and the parameter code data, and comprising:
when the duty ratio of the square wave of the communication waveform corresponding to the function code data is a first proportion, determining that the bit data of the function code data is 1; when the duty ratio of the square wave of the communication waveform corresponding to the function code data is a second proportion, determining that the bit data of the function code data is 0;
when the duty ratio of the square wave of the communication waveform corresponding to the parameter code data is a first proportion, determining that the bit data of the parameter code data is 1; and when the duty ratio of the square wave of the communication waveform corresponding to the parameter code data is the second proportion, determining that the bit data of the parameter code data is 0.
4. The method for writing data to an electronic detonator as claimed in claim 3, wherein determining whether the communication waveform is abnormal or not based on the write clock frequency of the communication waveform comprises:
when the writing clock frequency of the communication waveform exceeds the set range, determining that the communication waveform is abnormal, otherwise, determining that the communication waveform is not abnormal.
5. An initiator for an electronic detonator, comprising:
the conversion module is used for converting the function code data and the parameter code data into corresponding communication waveforms, the communication waveforms adopt fixed writing clock frequency, and the fixed writing clock frequency is used for judging whether the communication waveforms are abnormal or not by the electronic detonator;
the sending module is used for sending the communication waveform to the electronic detonator, and the communication waveform is used for writing parameter data into the electronic detonator according to the function code data corresponding to the communication waveform when the communication waveform is not abnormal;
the sending module is specifically used for: when transmitting, firstly transmitting the communication waveform corresponding to the functional code data and then transmitting the communication waveform corresponding to the parameter digital data;
the length of the function code data is one byte, and the parameter code data supports a plurality of bytes;
the conversion module is specifically used for:
converting bit data 1 in the functional code data and the parameter digital data into square waves with a first proportion of duty ratio;
the bit data 0 in the function code data and the parameter code data are converted into square waves with a second proportion of duty ratio.
6. An electronic detonator, comprising:
the identification module is used for detecting communication waveforms corresponding to the function code data and the parameter code data sent by the exploder and identifying the function code data and the parameter code data;
the judging module is used for judging whether the communication waveform is abnormal or not according to the writing clock frequency of the communication waveform;
the writing module is used for writing the parameter data into the electronic detonator according to the function code data when the communication waveform is not abnormal;
when the initiator transmits, the communication waveform corresponding to the functional code data is transmitted firstly, and then the communication waveform corresponding to the parameter data is transmitted;
the length of the function code data is one byte, and the parameter code data supports a plurality of bytes;
the identification module is specifically used for:
when the duty ratio of the square wave of the communication waveform corresponding to the function code data is a first proportion, determining that the bit data of the function code data is 1; when the duty ratio of the square wave of the communication waveform corresponding to the function code data is a second proportion, determining that the bit data of the function code data is 0;
when the duty ratio of the square wave of the communication waveform corresponding to the parameter code data is a first proportion, determining that the bit data of the parameter code data is 1; and when the duty ratio of the square wave of the communication waveform corresponding to the parameter code data is the second proportion, determining that the bit data of the parameter code data is 0.
7. A data writing system for an electronic detonator, comprising: an initiator of the electronic detonator of claim 5 and the electronic detonator of claim 6.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 1 to 4 when executing the computer program.
9. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program for executing the method of any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010008285.9A CN113074595B (en) | 2020-01-06 | 2020-01-06 | Data writing method and system of electronic detonator, electronic detonator and initiator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010008285.9A CN113074595B (en) | 2020-01-06 | 2020-01-06 | Data writing method and system of electronic detonator, electronic detonator and initiator |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113074595A CN113074595A (en) | 2021-07-06 |
CN113074595B true CN113074595B (en) | 2023-08-08 |
Family
ID=76609362
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010008285.9A Active CN113074595B (en) | 2020-01-06 | 2020-01-06 | Data writing method and system of electronic detonator, electronic detonator and initiator |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113074595B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115235305B (en) * | 2022-07-29 | 2023-08-18 | 上海芯飏科技有限公司 | Electronic detonator communication rate self-adaptive adjustment method and system suitable for shallow hole blasting |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4537131A (en) * | 1982-06-03 | 1985-08-27 | Imperial Chemical Industries Plc | Apparatus for initiating explosions and method therefor |
CN201795734U (en) * | 2009-08-24 | 2011-04-13 | 北京维深数码科技有限公司 | Digital electronic primer detonator adapting Manchester encoding technique |
CN102840800A (en) * | 2011-06-22 | 2012-12-26 | 北京北方邦杰科技发展有限公司 | Electronic detonator encoder |
CN204790511U (en) * | 2015-05-20 | 2015-11-18 | 郑州长河电子工程有限公司 | A equipment is write in into to information that is used for digital electron detonator production line |
CN105589825A (en) * | 2015-07-17 | 2016-05-18 | 贵州全安密灵科技有限公司 | Method for quickly querying state of electronic detonator in master-slave type serial communication network |
CN105928424A (en) * | 2016-04-26 | 2016-09-07 | 新疆创安达电子科技发展有限公司 | Code injection method and system for electronic detonator |
CN108398066A (en) * | 2018-03-20 | 2018-08-14 | 深圳大成创安达电子科技发展有限公司 | A kind of method of ignition and system |
-
2020
- 2020-01-06 CN CN202010008285.9A patent/CN113074595B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4537131A (en) * | 1982-06-03 | 1985-08-27 | Imperial Chemical Industries Plc | Apparatus for initiating explosions and method therefor |
CN201795734U (en) * | 2009-08-24 | 2011-04-13 | 北京维深数码科技有限公司 | Digital electronic primer detonator adapting Manchester encoding technique |
CN102840800A (en) * | 2011-06-22 | 2012-12-26 | 北京北方邦杰科技发展有限公司 | Electronic detonator encoder |
CN204790511U (en) * | 2015-05-20 | 2015-11-18 | 郑州长河电子工程有限公司 | A equipment is write in into to information that is used for digital electron detonator production line |
CN105589825A (en) * | 2015-07-17 | 2016-05-18 | 贵州全安密灵科技有限公司 | Method for quickly querying state of electronic detonator in master-slave type serial communication network |
CN105928424A (en) * | 2016-04-26 | 2016-09-07 | 新疆创安达电子科技发展有限公司 | Code injection method and system for electronic detonator |
CN108398066A (en) * | 2018-03-20 | 2018-08-14 | 深圳大成创安达电子科技发展有限公司 | A kind of method of ignition and system |
Non-Patent Citations (1)
Title |
---|
信号处理 --- 方波信号的检测方法之查询法;会笑的星星;《21ic电子技术开发论坛》;20191230;第1-3页 * |
Also Published As
Publication number | Publication date |
---|---|
CN113074595A (en) | 2021-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111737182B (en) | Automatic configuration method and system for serial communication parameters | |
US4464749A (en) | Bi-directional token flow system | |
US20040153913A1 (en) | System and method of detecting a bit processing error | |
CN111177060B (en) | Serial port data sending method, serial port data receiving method, corresponding devices and terminal equipment | |
CN113074595B (en) | Data writing method and system of electronic detonator, electronic detonator and initiator | |
CN107293330B (en) | Method and system for performing simulation verification on Random Access Memory (RAM) | |
EP0564118B1 (en) | Serial data transfer apparatus | |
CN102185767B (en) | Cache management method and system | |
US20230231940A1 (en) | Communication Method and System, Device, and Computer-Readable Storage Medium | |
US11928019B2 (en) | Serial management interface with improved reliability | |
CN113074594B (en) | Data reading method and system for electronic detonator, electronic detonator and detonator | |
CN106375155B (en) | The control method and control system of MAC simulating, verifying model | |
CN111930582B (en) | System management bus detection platform, processor and system management bus detection method | |
CN114238005A (en) | GPIO anti-shake function test method, system, device and chip | |
CN114726482B (en) | SPI data transmission method | |
CN116361095B (en) | Power consumption verification method, system, equipment and storage medium | |
CN116742763B (en) | Fast charging protocol chip, method executed by fast charging protocol chip and electronic equipment | |
CN113074596B (en) | Ignition method and system of electronic detonator, electronic detonator and detonator | |
CN116483678B (en) | Information processing method and related device | |
CN113824545B (en) | Asynchronous communication method, device and related equipment | |
CN117573586A (en) | Single-wire communication method, device and system | |
CN111858438B (en) | Interface connection device and method | |
CN113131945A (en) | Initiator data encoding method, electronic device, and storage medium | |
JPH11177543A (en) | Serial communication equipment and its method | |
CN114629743A (en) | Method, device and system for identifying serial port of slave equipment, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |