CN114909964A - Method for reporting measured voltage of electronic detonator and control chip - Google Patents
Method for reporting measured voltage of electronic detonator and control chip Download PDFInfo
- Publication number
- CN114909964A CN114909964A CN202210324094.2A CN202210324094A CN114909964A CN 114909964 A CN114909964 A CN 114909964A CN 202210324094 A CN202210324094 A CN 202210324094A CN 114909964 A CN114909964 A CN 114909964A
- Authority
- CN
- China
- Prior art keywords
- voltage
- host
- feedback
- feedback time
- binary
- 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.)
- Granted
Links
Images
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F42—AMMUNITION; BLASTING
- F42D—BLASTING
- F42D1/00—Blasting methods or apparatus, e.g. loading or tamping
- F42D1/04—Arrangements for ignition
- F42D1/045—Arrangements for electric ignition
-
- 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
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F42—AMMUNITION; BLASTING
- F42D—BLASTING
- F42D1/00—Blasting methods or apparatus, e.g. loading or tamping
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Measurement Of Current Or Voltage (AREA)
- Air Bags (AREA)
Abstract
The invention relates to the technical field of civil explosion, and mainly discloses a method for reporting the measured voltage of an electronic detonator, wherein after the electronic detonator detects the working voltage, a voltage reporting instruction of a host computer requiring to feed back a preset voltage is received; and in each feedback time slot of a feedback time window provided by the host, sequentially judging whether a voltage feedback signal for feeding back a corresponding bit value of a binary value of the working voltage needs to be sent to the host or not according to a voltage reporting instruction so as to enable the host to obtain a binary detection result of the preset voltage, and if the voltage feedback signal is sent to the host in the last feedback time slot of the feedback time window, marking the host as a slave of the preset voltage and reporting the identity information to the host. The electronic detonators in the embodiment of the invention do not need to be reported one by one and then judged by the host after detecting the voltage, but are self-judged by the electronic detonators according to on-line information and finish voltage reporting in the communication process, so that the safety and the reliability of the whole detonation network are ensured, and meanwhile, the communication time is saved.
Description
Technical Field
The invention relates to the technical field of civil explosion, in particular to a method for reporting a measured voltage of an electronic detonator and a control chip.
Background
When the electronic detonators are mounted on the host detonator through the bus, bus voltages acquired by the electronic detonators different from the host are different due to wire resistance, electric leakage and the like, after the electronic detonators complete charging actions, certain detonators may have an electric leakage or abnormal charging state, and the electronic detonators with excessively high or excessively low voltages generated by the electronic detonators influence the working performance of the detonators, if corresponding unqualified electronic detonators are not found out, a great potential safety hazard is brought to the whole detonation scheme, so that the reliability of the whole detonation network is greatly influenced, however, in the prior art, after the electronic detonators complete detection of working voltages such as the bus voltage or the charging voltage, the electronic detonators cannot complete reporting of the voltage values in the highest or lowest equal range of the bus voltage or the charging voltage, so that the host cannot determine which detonators are in the corresponding voltage ranges, therefore, the prior art does not solve the problem of how to report the voltage sampled by the electronic detonator in bus communication.
Disclosure of Invention
The embodiment of the invention provides a method for reporting a measured voltage of an electronic detonator and a control chip, which are used for solving the problem that how to report the voltage after the electronic detonator samples the voltage under bus communication in the prior art.
According to a first aspect of the present invention, there is provided a method for reporting a measured voltage of an electronic detonator, comprising:
after the electronic detonator detects and records the binary value of the working voltage, a voltage reporting instruction of a preset voltage required to be fed back by a host is received;
entering a feedback time window required by the report provided by the host, wherein the feedback time window is provided with a plurality of feedback time slots with the number being the same as the binary digit number of the binary value;
in each feedback time slot of the feedback time window, sequentially judging whether voltage feedback signals for feeding back corresponding bit values of binary detection results of the working voltage need to be sent to a host or not according to the binary value of the working voltage from high to low according to the voltage reporting instruction, so that the host can record the corresponding bit values of the binary detection results of the preset voltage in sequence according to the fact that whether the voltage feedback signals are received or not, and obtain the binary detection results of the preset voltage after the feedback time window is finished;
and if the voltage feedback signal for feeding back the final bit value of the binary value of the working voltage is sent to the host machine in the last feedback time slot of the feedback time window, marking the slave machine as a preset voltage and reporting identity information to the host machine.
The embodiment of the invention has the beneficial effects that: the electronic detonators in the invention receive a voltage reporting instruction sent by a host after acquiring the working voltage of the electronic detonators, such as bus voltage or charging voltage, and then judge whether a voltage feedback signal for feeding back the binary value corresponding to the binary value of the working voltage needs to be sent to the host or not according to the voltage reporting instruction in a feedback time window, the host can obtain the binary detection result of the preset voltage after the feedback time window is finished, and simultaneously obtain the identity information of the slave under the preset voltage, so that the host can determine which detonators are under the preset voltage range, therefore, each electronic detonators in a detonation network do not need to be reported one by one and then judged by the host after detecting the voltage, but are self-judged and finished by the slave on-line information in the communication process, and the host can determine to continue working or modify the construction scheme according to the reported result, the safety and the reliability of the whole detonation network are ensured, and meanwhile, the communication time is saved.
On the basis of the technical scheme, the invention can be further improved as follows:
optionally, the received voltage reporting instruction includes:
and the electronic detonator sequentially judges whether a voltage feedback signal for feeding back a numerical value of a corresponding bit of a binary value of the working voltage needs to be sent to the host machine or not according to the binary value of the working voltage from high to low according to the preset voltage detection instruction and the instruction parameter code in each feedback time slot of the feedback time window.
Optionally, after determining whether to send a voltage feedback signal for feeding back a bit value corresponding to a binary value of the working voltage to the host, before the next feedback time slot arrives, the method further includes:
and judging whether a feedback flag signal sent by the host after receiving the voltage feedback signal is received, if so, sending the voltage feedback signal in the current feedback time slot, waiting for the arrival of the next feedback time slot, and judging whether a voltage feedback signal for feeding back the corresponding bit value of the working voltage binary value needs to be sent to the host in the next feedback time slot.
Optionally, before the next feedback slot comes, the method further includes:
and if the feedback flag signal sent by the host after receiving the voltage feedback signal is judged not to be received, waiting for the arrival of the next feedback time slot, and judging whether a voltage feedback signal for feeding back the corresponding bit value of the working voltage binary value needs to be sent to the host in the next feedback time slot.
Optionally, before the next feedback slot comes, the method further includes:
and if the feedback mark signal sent by the host after receiving the voltage feedback signal is judged to be received and the voltage feedback signal is not sent in the current feedback time slot, waiting for the arrival of the next feedback time slot and setting the host to be in a standby working state.
Optionally, before the tag itself is a slave with a predetermined voltage and reports identity information to the host, the method further includes:
if the last feedback time slot of the feedback time window is finished, the feedback flag signal is not received, and when the last feedback time slot does not set the slave to be in a standby state, the slave is marked as the preset voltage slave and reports identity information to the master.
Optionally, the detection range of the predetermined voltage detection instruction includes a lowest voltage detection instruction or a highest voltage detection instruction, and if the electronic detonator sends the voltage feedback signal for feeding back the last bit value of the binary value of the working voltage to the host in the last feedback time slot of the feedback time window, or, if the electronic detonator does not receive the feedback flag signal at the end of the last feedback time slot of the feedback time window and does not set itself to be in a standby state in the last feedback time slot, the electronic detonator marks itself as a lowest voltage slave or a highest voltage slave and reports identity information to the host.
Optionally, when the detection range of the predetermined voltage detection instruction includes the lowest voltage detection instruction, the host sequentially records the values of the corresponding bits of the binary detection result of the predetermined voltage according to whether the voltage feedback signal is received or not, including:
and if the host receives the voltage feedback signal, setting the binary bit value of the corresponding bit of the binary detection result of the preset voltage to be 0, otherwise, setting the binary bit value of the corresponding bit of the binary detection result of the preset voltage to be 1.
Optionally, when the detection range of the predetermined voltage detection instruction includes the highest voltage detection instruction, the recording, by the host, the values of the corresponding bits of the binary detection result of the predetermined voltage in sequence according to whether the voltage feedback signal is received or not specifically includes:
and if the host receives the voltage feedback signal, setting the binary bit value of the corresponding bit of the binary detection result of the preset voltage to be 1, otherwise, setting the binary bit value of the corresponding bit of the binary detection result of the preset voltage to be 0.
Optionally, the host further provides an error correction feedback time window after the feedback time window is ended; after the electronic detonator marks the slave machine with the preset voltage, if an error correction detection instruction sent by the host machine is received, reporting a first CRC check value of a binary value of the working voltage recorded by the electronic detonator in the error correction feedback time window, so that the host machine judges whether a reporting error exists according to the received first CRC check value and a second CRC check value of a binary detection result of the preset voltage.
The embodiment of the invention has the beneficial effects that: the electronic detonator receives a voltage reporting instruction sent by a host after acquiring the working voltage of the electronic detonator, such as bus voltage or charging voltage, the voltage reporting instruction contains a preset voltage detection instruction and an instruction parameter code for identifying the detection range of the preset voltage detection instruction, if the detection range of the preset voltage detection instruction is a highest voltage detection instruction or a lowest voltage detection instruction, the detection instructions in different detection ranges are distinguished by setting different instruction parameter codes, therefore, the electronic detonator can know whether the host requires to feed back the highest voltage or the lowest voltage through the instruction parameter code, then determines whether to send a voltage feedback signal for feeding back the corresponding bit value of the binary value of the working voltage to the host in a feedback time window, and the host can obtain the binary detection result of the preset voltage after the feedback time window is finished, and meanwhile, the identity information of the slave under the preset voltage is acquired to determine which detonators are in the preset voltage range, so that each electronic detonator in the detonation network can self-judge and complete voltage reporting according to on-line information in the communication process, and the host can determine to continue working or modify a construction scheme according to a reporting result, thereby ensuring the safety and reliability of the whole detonation network and saving the communication time.
According to a second aspect of the present invention, there is provided an electronic detonator control chip comprising:
the device comprises a communication module, a voltage detection module and a storage module; the communication module is in communication connection with the host through a bus;
the voltage detection module is used for detecting the binary value of the working voltage, and the storage module is used for recording the binary value of the working voltage detected by the voltage detection module;
the communication module is used for receiving a voltage reporting instruction of a preset voltage required to be fed back by a host and entering a feedback time window required by reporting and provided by the host, wherein the feedback time window is provided with a plurality of feedback time slots with the number being the same as the binary digit number of the binary value;
the communication module is further configured to sequentially determine whether a voltage feedback signal for feeding back a value of a corresponding bit of the binary detection result of the predetermined voltage needs to be sent to the host according to a binary reporting command of the working voltage, so that the host sequentially records the value of the corresponding bit of the binary detection result of the predetermined voltage according to whether the voltage feedback signal is received or not, and obtains the binary detection result of the predetermined voltage after the feedback time window is ended;
if the communication module sends the voltage feedback signal for feeding back the final value of the binary value of the working voltage to the host machine in the last feedback time slot of the feedback time window, the electronic detonator control chip marks the electronic detonator control chip as a preset voltage slave machine through the storage module and reports identity information to the host machine through the communication module.
The embodiment of the invention adopting the above alternatives has the beneficial effects that: the electronic detonator control chip provided by the embodiment of the invention enables the electronic detonator adopting the chip to self-judge and finish voltage reporting according to on-line information in the communication process, and the host determines to continue working or modify a construction scheme according to the obtained reporting result, so that the safety and reliability of the whole detonation network are ensured, and meanwhile, the communication time is saved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart of a method for reporting a measured voltage of an electronic detonator according to a first embodiment of the present invention;
fig. 2 is a schematic structural diagram of an electronic detonator control chip according to a second embodiment of the present invention.
In the figure: 11-a voltage detection module, 12-a storage module and 13-a communication module.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In a first embodiment of the present invention, a method for reporting a measured voltage of an electronic detonator is provided, and specifically, referring to fig. 1, the method includes the following steps:
step S11: after the electronic detonator detects and records the binary value of the working voltage, a voltage reporting instruction that the host computer requires to feed back the preset voltage is received, and the working voltage detected by the electronic detonator comprises bus voltage, self-charging voltage and the like.
Step S12: and entering a feedback time window required by reporting provided by the host, wherein the feedback time window is provided with a plurality of feedback time slots with the same number as the binary digit number of the binary digit, and for example, the feedback time window can be correspondingly provided with eight feedback time slots according to the voltage measurement result with the binary digit of 8 bits.
Step S13: in each feedback time slot of the feedback time window, according to the voltage reporting instruction, sequentially judging whether voltage feedback signals for feeding back the numerical values of the corresponding bits of the binary values of the working voltage need to be sent to the host or not according to the binary values of the working voltage from high to low, so that the host can record the numerical values of the corresponding bits of the binary detection results of the preset voltage in sequence according to the receiving or not of the voltage feedback signals, and obtain the binary detection results of the preset voltage after the feedback time window is finished.
Step S14: if a voltage feedback signal for feeding back the last numerical value of the binary value of the working voltage is sent to the host computer in the last feedback time slot of the feedback time window, the slave computer is marked as a preset voltage and the identity information is reported to the host computer.
The electronic detonators in the embodiment of the invention receive a voltage reporting instruction sent by a host after acquiring the working voltage of the electronic detonators, such as bus voltage or charging voltage, and then judge whether a voltage feedback signal for feeding back binary value corresponding bit values of the working voltage needs to be sent to the host or not according to the voltage reporting instruction in a feedback time window, the host can obtain a binary detection result of the preset voltage after the feedback time window is finished, and simultaneously obtain the identity information of a slave under the preset voltage, so that the host can determine which detonators are under the preset voltage range, therefore, each electronic detonator in a detonation network does not need to be reported one by one and then judged by the host after detecting the voltage, but the slave self judges and finishes voltage reporting in the communication process according to on-line information, and the host can determine whether to continue working or modify a construction scheme according to the reported result, the safety and the reliability of the whole detonation network are ensured, and meanwhile, the communication time is saved.
In a preferred embodiment of the present invention, the voltage reporting instruction received by the electronic detonator includes: the electronic detonator can know which detection range the host requires to feed back the preset voltage, and in each feedback time slot of the feedback time window, the electronic detonator sequentially judges whether a voltage feedback signal for feeding back a bit value corresponding to a binary value of the working voltage needs to be sent to the host according to the preset voltage detection instruction and the instruction parameter code from high to low according to the bit.
Further, the electronic detonator, according to the predetermined voltage detection instruction and the instruction parameter code, sequentially judges whether a voltage feedback signal for feeding back a value of a corresponding bit of the binary value of the working voltage needs to be sent to the host computer after the binary value of the working voltage is sent from high to low according to the bit, and before the next feedback time slot comes, further comprises: and judging whether a feedback flag signal sent by the host after receiving the voltage feedback signal is received, if so, sending the voltage feedback signal in the current feedback time slot, waiting for the arrival of the next feedback time slot, and judging whether a voltage feedback signal for feeding back the corresponding bit value of the working voltage binary value needs to be sent to the host in the next feedback time slot. Before the next feedback time slot comes, the method further comprises the following steps: if the feedback mark signal sent by the host after receiving the voltage feedback signal is not received, waiting for the arrival of the next feedback time slot, and judging whether a voltage feedback signal for feeding back the corresponding bit value of the working voltage binary value needs to be sent to the host or not in the next feedback time slot.
In order to further improve the communication efficiency of each electronic detonator in the detonation network and save the communication time of the host, before the next feedback time slot comes, the method further comprises the following steps: if a feedback flag signal sent by the host after receiving the voltage feedback signal is received and the voltage feedback signal is not sent in the current feedback time slot, the host does not wait for the arrival of the next feedback time slot and sets the host into a standby working state, and after the host is set into the standby working state, the host does not need to receive the feedback flag signal and judge whether the voltage feedback signal is sent or not, so that the detection efficiency of the host is improved.
In addition, before the step S14, before the step S, where the slave is marked to have the predetermined voltage and reports the identity information to the master, the method further includes: if the last feedback time slot of the feedback time window is finished, the feedback mark signal is not received, and the last feedback time slot does not set the slave to be in the standby state, the slave is marked to be the preset voltage slave and reports the identity information to the host.
Optionally, if the detection range of the predetermined voltage detection instruction includes a lowest voltage detection instruction or a highest voltage detection instruction, in step S14, if the electronic detonator sends a voltage feedback signal for feeding back a final value of a binary value of the working voltage to the host in a last feedback time slot of the feedback time window, or, if the last feedback time slot of the feedback time window is over, no feedback flag signal is received, and when the last feedback time slot does not set itself to be in a standby state, the electronic detonator marks itself as a lowest voltage slave or a highest voltage slave and reports identity information to the host, so that the host can acquire the slave in the highest voltage or the lowest voltage range in the priming network, and since the electronic detonator with too high or too low voltage affects the working performance of the detonator itself and affects the reliability of the whole priming network, the host machine can remove unqualified electronic detonators and adjust the construction scheme according to the obtained highest or lowest voltage value and the identity information of the electronic detonators under the corresponding voltage value, so that the safety and the reliability of the whole detonation network are guaranteed.
Specifically, when the detection range of the predetermined voltage detection instruction includes the lowest voltage detection instruction, if the binary bit value of the corresponding bit of the working voltage of the electronic detonator is 0, a voltage feedback signal for feeding back the value of 0 is sent to the host, and if the host receives the voltage feedback signal, the value of the corresponding bit of the binary detection result of the predetermined voltage is set to 0, otherwise, the value is set to 1. When the detection range of the preset voltage detection instruction comprises a highest voltage detection instruction, if the binary bit value of the corresponding bit of the working voltage of the electronic detonator is 1, a voltage feedback signal for feeding back the value 1 is sent to the host, at the moment, if the host receives the voltage feedback signal, the number of the corresponding bit of the binary detection result of the preset voltage is set to 1, otherwise, the number is set to 0, and so on, and the host can obtain the binary detection result of the preset voltage after the feedback time window is ended.
In order to make the embodiment of the invention clearer, a use scene that a host is connected with a plurality of electronic detonators through a bus is taken as an example, a detection range of a preset voltage detection instruction received by each electronic detonator comprises a lowest voltage detection instruction, the action of reporting the execution of the electronic detonator in a first feedback time slot of a feedback time window is concretely described, an instruction parameter code is provided with a value matched with the lowest voltage detection instruction, when the electronic detonator knows that the host requires to feed back the lowest voltage according to the instruction parameter code, in the first feedback time slot of the feedback time window, if the highest position of a binary value of the working voltage of the electronic detonator is to be fed back (the numerical values of the binary value are sequentially fed back from the high position to the low position in each feedback time slot) is 0, a voltage feedback signal for feeding back the highest position of the binary value of the working voltage is 0 is sent to the host, the host computer receives the voltage feedback signal, the numerical value of the highest bit of the binary detection result of the lowest voltage is set to be 0, before the next feedback time slot arrives, if the feedback mark signal sent by the host computer after receiving the voltage feedback signal is received and the signal is also fed back by the host computer, or the voltage feedback signal is not received, the arrival of the next feedback time slot is waited, the feedback rule is repeatedly executed in the next feedback time slot, and so on, each detonator in the detonation network is executed according to the rule in each other feedback time slot, and the description is omitted. If a feedback flag signal sent by the host after receiving the voltage feedback signal is received and a signal is not fed back by the host (that is, the bit value of the first bit to be fed back by the working voltage is 1 in the first feedback time slot, but other detonators feed back the voltage feedback signal), the host is set to be in a standby state, and the host does not wait for the next feedback time slot but waits for other instructions, so that the detection efficiency of the host and the communication efficiency of the whole detonation network are improved. After the feedback time window is finished, if the host computer sends a voltage feedback signal for feeding back the last bit value of the binary value of the working voltage in the last feedback time slot of the feedback time window, or the last feedback time slot is finished, no feedback mark signal is received, and the host computer is marked as the lowest voltage slave computer and reports the identity information to the host computer when the host computer is not set to be in the standby state in the last feedback time slot, therefore, the host computer can know the reporting result of which electronic detonators are the lowest voltage slave computers, and then the host computer determines to continue working or modify the construction scheme according to the reporting result, thereby ensuring the safety and reliability of the whole detonation network and saving the communication time.
Optionally, the host further provides an error correction feedback time window after the feedback time window is ended; after the electronic detonator marks the slave machine with the preset voltage, if an error correction detection instruction sent by the host machine is received, the electronic detonator reports a first CRC check value of a binary value of the working voltage recorded by the electronic detonator in an error correction feedback time window, so that the host machine judges whether a reporting error exists according to the received first CRC check value and a second CRC check value of a binary detection result of the preset voltage, and therefore the host machine can judge whether the reporting error is caused by communication interference or slave machine state abnormity in the receiving process, and accuracy of the reported voltage is guaranteed.
The electronic detonator in the embodiment of the invention receives a voltage reporting instruction sent by a host after acquiring the working voltage of the electronic detonator, such as bus voltage or charging voltage, the voltage reporting instruction contains a preset voltage detection instruction and an instruction parameter code for identifying the detection range of the preset voltage detection instruction, if the detection range of the preset voltage detection instruction is a highest voltage detection instruction or a lowest voltage detection instruction, the detection instructions in different detection ranges are distinguished by setting different instruction parameter codes, therefore, the electronic detonator can know whether the host requires to feed back the highest voltage or the lowest voltage through the instruction parameter code, then determines whether to send a voltage feedback signal for feeding back the corresponding bit value of a binary value of the working voltage to the host in a feedback time window, and the host can obtain the binary detection result of the preset voltage after the feedback time window is finished, and meanwhile, the identity information of the slave under the preset voltage is acquired to determine which detonators are in the preset voltage range, so that each electronic detonator in the detonation network can self-judge and complete voltage reporting according to on-line information in the communication process, and the host can determine to continue working or modify a construction scheme according to a reporting result, thereby ensuring the safety and reliability of the whole detonation network and saving the communication time.
The second embodiment of the present invention provides an electronic detonator control chip, wherein the electronic detonator control chip is arranged on an electronic control module of an electronic detonator, and specifically, referring to fig. 2, the electronic detonator control chip comprises:
the device comprises a communication module 13, a voltage detection module 11 and a storage module 12, wherein the communication module 13 is in communication connection with a host through a bus.
The voltage detection module 11 is used for detecting the binary value of the working voltage, and the storage module 12 is used for recording and storing the binary value detected by the voltage detection module 11.
The communication module 13 is configured to receive a voltage reporting instruction that the host requires to feed back a predetermined voltage, and enter a feedback time window provided by the host and required for reporting, where the feedback time window is provided with a plurality of feedback time slots, and the number of the feedback time slots is the same as that of binary bits of a binary value.
The communication module 13 is further configured to sequentially determine whether a voltage feedback signal for feeding back a value of a corresponding bit of the binary detection result of the predetermined voltage needs to be sent to the host according to a binary reporting instruction of the voltage from high to low for the binary value of the working voltage stored in the storage module 12 in each feedback time slot of the feedback time window, so that the host records the value of the corresponding bit of the binary detection result of the predetermined voltage in sequence according to whether the voltage feedback signal is received or not, and obtains the binary detection result of the predetermined voltage after the feedback time window is ended.
If the communication module 13 sends a voltage feedback signal for feeding back the final value of the binary value of the working voltage to the host in the last feedback time slot of the feedback time window, the electronic detonator control chip marks itself as a slave with a preset voltage through the storage module 12, and reports the identity information to the host through the communication module 13.
The electronic detonator control chip provided by the embodiment of the invention enables the electronic detonator adopting the chip to self-judge and finish voltage reporting according to on-line information in the communication process, and the host determines to continue working or modify a construction scheme according to the obtained reporting result, so that the safety and reliability of the whole detonation network are ensured, and meanwhile, the communication time is saved.
In a preferred embodiment of the present invention, the voltage reporting instruction received by the communication module 13 includes: the host computer sends out the predetermined voltage detection instruction in turn, the instruction parameter code matched with predetermined voltage detection instruction, the instruction parameter code is used to mark the detection range of the predetermined voltage detection instruction, therefore, the electronic detonator control chip can know which detection range the host computer requires to feedback the predetermined voltage, in each feedback time slot of the feedback time window, the communication module 13 judges whether to send out the voltage feedback signal for feeding back the corresponding bit value of the working voltage binary value to the host computer according to the predetermined voltage detection instruction and the instruction parameter code, from high to low according to the bit of the working voltage binary value, and after that, before the next feedback time slot comes, the communication module 13 also executes the following steps: and judging whether a feedback flag signal sent by the host after receiving the voltage feedback signal is received, if so, sending the voltage feedback signal in the current feedback time slot, waiting for the arrival of the next feedback time slot, and judging whether a voltage feedback signal for feeding back the corresponding bit value of the working voltage binary value needs to be sent to the host in the next feedback time slot. Before the next feedback time slot comes, the communication module 13 further performs the following steps: if the feedback mark signal sent by the host after receiving the voltage feedback signal is not received, waiting for the arrival of the next feedback time slot, and judging whether a voltage feedback signal for feeding back the corresponding bit value of the working voltage binary value needs to be sent to the host or not in the next feedback time slot. In order to further improve the communication efficiency of each electronic detonator in the detonation network, save the communication time of the host, and improve the detection efficiency, the communication module 13 further executes the following steps before the next feedback time slot arrives: if a feedback flag signal sent by the host after receiving the voltage feedback signal is received and no voltage feedback signal is sent in the current feedback time slot, the communication module 13 does not need to receive the feedback flag signal and judge whether to send the voltage feedback signal after the communication module is set in the standby working state without waiting for the arrival of the next feedback time slot and setting the communication module into the standby working state, so that the detection efficiency of the host is improved.
In addition, before the storage module 12 of the electronic detonator control chip marks that the storage module is a slave with a preset voltage and reports the identity information to the host, the method also comprises the following steps: if the last feedback time slot of the feedback time window is finished, the communication module 13 does not receive the feedback flag signal, and when the last feedback time slot does not set itself to be in the standby state, the communication module 12 marks itself as a slave with a predetermined voltage and reports the identity information to the master.
Optionally, if the detection range of the predetermined voltage detection instruction includes a lowest voltage detection instruction or a highest voltage detection instruction, the communication module 13 sends a voltage feedback signal for feeding back a final bit value of a binary value of the working voltage to the host in a last feedback time slot of the feedback time window, or the communication module does not receive a feedback flag signal after the last feedback time slot of the feedback time window is finished, and the electronic detonator control chip marks itself as a lowest voltage slave or a highest voltage slave through the storage module 12 and reports the identity information to the host when the last feedback time slot does not set itself to the standby state.
Optionally, the host further provides an error correction feedback time window after the feedback time window is over, and after the electronic detonator control chip marks the slave with the predetermined voltage through the storage module 12, if an error correction detection instruction sent by the host is received, the electronic detonator control chip reports a first CRC check value of a binary value of the working voltage recorded by the electronic detonator control chip in the error correction feedback time window, so that the host determines whether a reporting error exists according to the received first CRC check value and a second CRC check value of a binary detection result of the predetermined voltage, and thus, the host can determine whether a communication interference or a slave state abnormality causes the slave reporting error in the receiving process, thereby ensuring accuracy of the reported voltage.
In order to make the present invention more clearly understood, the third embodiment of the present invention is a specific implementation of the present invention in a practical application scenario based on the above two embodiments.
The detonator (host) is connected with the electronic detonators which are used as the slave machines through the double buses to form a detonation network so as to supply power, control communication and the like for the electronic detonators. The electronic detonator (slave) has the functions of detecting the bus voltage, charging the self energy storage capacitor and detecting the charging voltage value,
the detection mechanism for detecting the bus voltage and the charging voltage of the electronic detonator is as follows: the host computer sends out a broadcast command to require the electronic detonators to detect the power supply voltage or the charging voltage of the electronic detonators, and each electronic detonator control chip detects and records the measurement result.
The reporting mechanism of the working voltage detected by each generator detonator in the detonation network is as follows:
the host computer sends out a detection instruction, adds a parameter code (i.e. the instruction parameter code in the first embodiment, and is hereinafter referred to as the instruction parameter code for the purpose of making the scheme clear), and then provides a certain feedback time window for the electronic detonator module.
Taking an 8-BIT voltage measurement result as an example (that is, when the working voltage detected by the electronic detonator is a binary detection result of 8 BITs), if the host requires that the feedback predetermined voltage is the lowest voltage, the host sends a detection command first, then sends a command parameter code 00, then provides a feedback time window, the electronic detonator (hereinafter, generically referred to as a slave) with the highest BIT8 of 8 BITs 0 sends a voltage feedback signal in the first time slot T1 of the feedback window, the host detects the signal and then sets the highest BIT LVM _ BIT8 of the lowest voltage detection result LVM to 0, and sends a feedback flag signal in the time slot R1 before the end of T1 and the start of T2, if the slave detects the signal in R1, it is indicated that the time slot T1 has been fed back by the slave, then all the slaves with BIT8 of 1 will enter a standby state to wait for other commands (no result is fed back in the time slots T2-T8), and the slave 8 is a slave of 0, it will continue to wait for the T2 slot and BIT7 will be the slave feedback of 0 when T2 arrives.
If the master does not receive the voltage feedback signal fed back by any slave after the T1 is finished, setting the highest BIT LVM _ BIT8 of the LVM with the lowest voltage detection result to be 1, not sending a feedback mark signal in the time slot R1 before the T1 is finished and the T2 is started, and if the slave does not receive any feedback mark signal in the time slot R1, waiting for the T2 to arrive by all the slaves and finishing the action according to the rule.
And repeating the above steps until the time slot T8 is finished, wherein the LVM value recorded by the master is the lowest voltage value, all slaves feeding back 0 signals in the time slot T8, or slaves which do not receive the master signals in the time slot R8 and do not enter the standby state in the time slot T8 are marked as lowest voltage slaves, and the master can request the slaves (i.e., identity information) to report their IDs through other commands, so that the master knows which slaves are in the lowest voltage state.
In the R9 time slot, the host can choose whether to correct the error, if not, in the R9 time slot, the host does not send the feedback mark signal, and the slave does not receive the mark in the R9 time slot, then the reporting process is stopped, and the slave enters the waiting instruction state. If error correction is carried out, the host computer requests all slave computers marked as the lowest voltage at a time slot T9 in a mode of continuously sending a feedback mark signal, a CRC check value corresponding to the LVM value of the working voltage recorded by the host computer is reported, and the host computer receives the CRC check value and compares the CRC check value with the CRC check value of the LVM value of the lowest voltage detection result recorded by the host computer so as to judge whether reporting errors are caused by communication interference or slave computer state abnormity in the receiving process. After the time slot T9 is over, the slave enters a wait state, regardless of whether it is faulty or not. The host determines whether to report the voltage again according to the use requirement.
If the highest voltage is to be detected, 0 and 1 in the above description are interchanged and the command parameter code sent at the same time is changed to 11.
It can be seen that after the slave machines in the embodiment of the present invention detect the operating voltages, the slave machines do not need to report their operating voltages one by one and then judge by the host machine, but the slave machines self-judge and complete voltage reporting according to the on-line information in the communication process, and can also complete reporting of slave machine IDs after voltage reporting, so that the host machine knows which slave machines are at the highest or lowest voltage, and the host machine determines to continue working or modify the construction scheme according to the obtained reporting result, thereby ensuring the safety and reliability of the whole detonation network, and saving the communication time.
It should be noted that, in the embodiment of the present invention, how the master sends a signal, how the slave feeds back a signal, may be freely defined, and the present invention only defines the result and meaning of the feedback and sending, and the same scheme as the present invention expresses the result, regardless of the specific communication method, is a derivative scheme of the present invention. The method for detecting the voltage from the slave in the invention can use ADC (analog-to-digital converter), and can also use a comparator and the like. The minimum voltage and the maximum voltage in the invention can be in other meanings, and the scheme can be adopted as long as the scheme has size comparison and requires reporting of an extreme value.
In a specific case, if the master wants to detect the voltage in the range, the master sends a detection command and a command parameter code 01, then sends 8-bit upper limit voltage value VH and lower limit voltage value VL, and the feedback window is only provided with three windows of T1, T2 and T3, in the window of T1, all slaves receiving the command and slaves having a voltage range between VH and VL have a feedback signal marked as in-range slaves by an internal memory, and in the window of T2, all slaves receiving the command and have a voltage higher than VH, and in the feedback signal mark itself as out-of-range high-voltage slaves by the internal memory. Then in the window of T3, all slaves that receive the command, and slaves with lower voltage than VL, feed back the signal and mark themselves as out-of-range low voltage slaves through internal memory. The master may request the slave(s) to report their own ID via other corresponding instructions.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), and includes a plurality of instructions for controlling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (10)
1. A method for reporting the measured voltage of an electronic detonator is characterized by comprising the following steps:
after the electronic detonator detects and records the binary value of the working voltage, a voltage reporting instruction of a preset voltage required to be fed back by a host is received;
entering a feedback time window required by the report provided by the host, wherein the feedback time window is provided with a plurality of feedback time slots with the number being the same as the binary digit number of the binary value;
in each feedback time slot of the feedback time window, sequentially judging whether a voltage feedback signal for feeding back a numerical value of a corresponding bit of a binary detection result of a preset voltage needs to be sent to a host according to the voltage reporting instruction from high to low bit of the binary value of the working voltage, so that the host sequentially records the numerical value of the corresponding bit of the binary detection result of the preset voltage according to whether the voltage feedback signal is received or not, and obtaining the binary detection result of the preset voltage after the feedback time window is finished;
and if the voltage feedback signal for feeding back the final bit value of the binary value of the working voltage is sent to the host machine in the last feedback time slot of the feedback time window, marking the slave machine as a preset voltage and reporting identity information to the host machine.
2. The method for reporting the measured voltage of the electronic detonator according to claim 1, wherein the received voltage reporting instruction comprises:
and the host machine sequentially sends a preset voltage detection instruction and an instruction parameter code matched with the preset voltage detection instruction, wherein the instruction parameter code is used for marking the detection range of the preset voltage detection instruction, and then sequentially judges whether a voltage feedback signal for feeding back a bit value corresponding to a binary value of the working voltage needs to be sent to the host machine or not according to the preset voltage detection instruction and the instruction parameter code in each feedback time slot of the feedback time window from high to low according to the binary value of the working voltage.
3. A method for reporting measured voltage of an electronic detonator as claimed in claim 2, wherein said determining whether or not to send a voltage feedback signal for feeding back a bit value corresponding to a binary value of the operating voltage to the host computer before the next feedback time slot comes further comprises:
and judging whether a feedback flag signal sent by the host after receiving the voltage feedback signal is received, if so, sending the voltage feedback signal in the current feedback time slot, waiting for the arrival of the next feedback time slot, and judging whether a voltage feedback signal for feeding back the corresponding bit value of the working voltage binary value needs to be sent to the host in the next feedback time slot.
4. A method as claimed in claim 3, wherein before the next feedback time slot, the method further comprises:
and if the feedback flag signal sent by the host after receiving the voltage feedback signal is judged not to be received, waiting for the arrival of the next feedback time slot, and judging whether a voltage feedback signal for feeding back the corresponding bit value of the binary value of the working voltage needs to be sent to the host or not in the next feedback time slot.
5. A method as claimed in claim 3, wherein before the next feedback time slot, the method further comprises:
and if the feedback flag signal sent by the host after receiving the voltage feedback signal is judged to be received and the voltage feedback signal is not sent in the current feedback time slot, the host does not wait for the arrival of the next feedback time slot and sets the host to be in a standby working state.
6. The method for reporting measured voltage of electronic detonator according to claim 5, wherein before the tag itself is a slave of predetermined voltage and reporting identity information to the master, further comprising:
if the last feedback time slot of the feedback time window is finished, the feedback flag signal is not received, and when the last feedback time slot does not set the slave to be in a standby state, the slave is marked as the preset voltage slave and reports identity information to the master.
7. The method according to claim 6, wherein the detection range of the predetermined voltage detection command includes a lowest voltage detection command or a highest voltage detection command, and if the electronic detonator sends the voltage feedback signal for feeding back the last value of the binary value of the working voltage to the host in the last feedback time slot of the feedback time window, or marks itself as a lowest voltage slave or a highest voltage slave and reports the identity information to the host when the feedback flag signal is not received at the end of the last feedback time slot of the feedback time window and the electronic detonator does not set itself to be in a standby state in the last feedback time slot.
8. A method for reporting measured voltage of an electronic detonator as claimed in claim 7, wherein when the detection range of the predetermined voltage detection command includes the lowest voltage detection command, the host sequentially records the value of the corresponding bit of the binary detection result of the predetermined voltage according to whether the voltage feedback signal is received or not, including:
if the host receives the voltage feedback signal, setting the binary bit value of the corresponding bit of the binary detection result of the preset voltage to be 0, otherwise, setting the binary bit value of the corresponding bit of the binary detection result of the preset voltage to be 1;
when the detection range of the predetermined voltage detection instruction includes the highest voltage detection instruction, the recording, by the host, the numerical values of the corresponding bits of the binary detection result of the predetermined voltage in sequence according to whether the voltage feedback signal is received specifically includes:
and if the host receives the voltage feedback signal, setting the binary bit value of the corresponding bit of the binary detection result of the preset voltage to be 1, otherwise, setting the binary bit value of the corresponding bit of the binary detection result of the preset voltage to be 0.
9. A method for reporting measured voltage of an electronic detonator as claimed in claim 1, wherein the host computer is further provided with an error correction feedback time window after the end of the feedback time window; after the electronic detonator marks the slave machine with the preset voltage, if an error correction detection instruction sent by the host machine is received, reporting a first CRC check value of a binary value of the working voltage recorded by the electronic detonator in the error correction feedback time window, so that the host machine judges whether a reporting error exists according to the received first CRC check value and a second CRC check value of a binary detection result of the preset voltage.
10. An electronic detonator control chip, characterized in that the electronic detonator control chip comprises:
the device comprises a communication module, a voltage detection module and a storage module; the communication module is in communication connection with the host through a bus;
the voltage detection module is used for detecting a binary value of a working voltage, and the storage module is used for recording the binary value detected by the voltage detection module;
the communication module is used for receiving a voltage reporting instruction of a preset voltage required to be fed back by a host and entering a feedback time window required by reporting and provided by the host, wherein the feedback time window is provided with a plurality of feedback time slots with the number being the same as the binary digit number of the binary value;
the communication module is further configured to sequentially determine whether a voltage feedback signal for feeding back a value of a corresponding bit of the binary detection result of the predetermined voltage needs to be sent to the host according to a binary reporting command of the working voltage, so that the host sequentially records the value of the corresponding bit of the binary detection result of the predetermined voltage according to whether the voltage feedback signal is received or not, and obtains the binary detection result of the predetermined voltage after the feedback time window is ended;
if the communication module sends the voltage feedback signal for feeding back the final value of the binary value of the working voltage to the host machine in the last feedback time slot of the feedback time window, the electronic detonator control chip marks the electronic detonator control chip as a preset voltage slave machine through the storage module and reports identity information to the host machine through the communication module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210324094.2A CN114909964B (en) | 2022-03-29 | 2022-03-29 | Method for reporting measured voltage of electronic detonator and control chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210324094.2A CN114909964B (en) | 2022-03-29 | 2022-03-29 | Method for reporting measured voltage of electronic detonator and control chip |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114909964A true CN114909964A (en) | 2022-08-16 |
CN114909964B CN114909964B (en) | 2024-02-09 |
Family
ID=82762440
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210324094.2A Active CN114909964B (en) | 2022-03-29 | 2022-03-29 | Method for reporting measured voltage of electronic detonator and control chip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114909964B (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4142442A (en) * | 1971-12-08 | 1979-03-06 | Avco Corporation | Digital fuze |
US5343795A (en) * | 1991-11-07 | 1994-09-06 | General Electric Co. | Settable electronic fuzing system for cannon ammunition |
EP1855077A2 (en) * | 2005-02-16 | 2007-11-14 | Orica Explosives Technology Pty Ltd | Blasting methods and apparatus with reduced risk of inadvertent or illicit use |
CN201666768U (en) * | 2009-08-24 | 2010-12-08 | 北京维深数码科技有限公司 | Digital electronic detonator exploder adopting FSK (frequency shift keying) technology |
CN103115536A (en) * | 2013-02-08 | 2013-05-22 | 前进民爆股份有限公司 | Digital electronic detonator large-scale priming system for engineering blasting and method thereof |
CN206686151U (en) * | 2017-03-20 | 2017-11-28 | 上海神明控制工程有限公司 | A kind of high-energy igniter charge/discharge control circuit |
US20190368851A1 (en) * | 2017-01-20 | 2019-12-05 | Hanwha Corporation | Electronic delay detonator logging control device and method therefor |
CN111879192A (en) * | 2020-07-02 | 2020-11-03 | 上海芯跳科技有限公司 | Electronic detonator device for providing simulated detonation test and control method |
CN112696995A (en) * | 2020-12-04 | 2021-04-23 | 上海微符尔半导体有限公司 | Electronic detonator network quick addressing method and device and electronic detonator system |
CN112797861A (en) * | 2021-01-11 | 2021-05-14 | 浙江航芯科技有限公司 | Electronic detonator priming device |
US11105600B1 (en) * | 2016-09-05 | 2021-08-31 | Austin Star Detonator Company | Identification method in a detonator network |
CN113624085A (en) * | 2021-08-13 | 2021-11-09 | 天津中智弘信防务科技有限公司 | Safe detonation control system with modular design |
-
2022
- 2022-03-29 CN CN202210324094.2A patent/CN114909964B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4142442A (en) * | 1971-12-08 | 1979-03-06 | Avco Corporation | Digital fuze |
US5343795A (en) * | 1991-11-07 | 1994-09-06 | General Electric Co. | Settable electronic fuzing system for cannon ammunition |
EP1855077A2 (en) * | 2005-02-16 | 2007-11-14 | Orica Explosives Technology Pty Ltd | Blasting methods and apparatus with reduced risk of inadvertent or illicit use |
CN201666768U (en) * | 2009-08-24 | 2010-12-08 | 北京维深数码科技有限公司 | Digital electronic detonator exploder adopting FSK (frequency shift keying) technology |
CN103115536A (en) * | 2013-02-08 | 2013-05-22 | 前进民爆股份有限公司 | Digital electronic detonator large-scale priming system for engineering blasting and method thereof |
US11105600B1 (en) * | 2016-09-05 | 2021-08-31 | Austin Star Detonator Company | Identification method in a detonator network |
US20190368851A1 (en) * | 2017-01-20 | 2019-12-05 | Hanwha Corporation | Electronic delay detonator logging control device and method therefor |
CN206686151U (en) * | 2017-03-20 | 2017-11-28 | 上海神明控制工程有限公司 | A kind of high-energy igniter charge/discharge control circuit |
CN111879192A (en) * | 2020-07-02 | 2020-11-03 | 上海芯跳科技有限公司 | Electronic detonator device for providing simulated detonation test and control method |
CN112696995A (en) * | 2020-12-04 | 2021-04-23 | 上海微符尔半导体有限公司 | Electronic detonator network quick addressing method and device and electronic detonator system |
CN112797861A (en) * | 2021-01-11 | 2021-05-14 | 浙江航芯科技有限公司 | Electronic detonator priming device |
CN113624085A (en) * | 2021-08-13 | 2021-11-09 | 天津中智弘信防务科技有限公司 | Safe detonation control system with modular design |
Also Published As
Publication number | Publication date |
---|---|
CN114909964B (en) | 2024-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112272243B (en) | Address allocation method | |
US20120200258A1 (en) | Electric vehicle, electric-vehicle charging stand and communication system therebetween | |
KR102167427B1 (en) | Apparatus and method for cognizance of master bms and slave bms | |
CN114909964B (en) | Method for reporting measured voltage of electronic detonator and control chip | |
CN112448449B (en) | Charging control method and device, electronic equipment and storage medium | |
CN110271439B (en) | Charging device, charging method, computer device, and storage medium | |
CN110986703B (en) | Electronic detonator network anti-collision method | |
CN117914827B (en) | Address allocation method, communication energy storage system and electronic equipment | |
KR20160106064A (en) | Method for starting a battery management system | |
CN113703836A (en) | SCPI instruction management method for spacecraft power system evaluation | |
CN113051115A (en) | Integrated testing method and system for FT and EQC of chip | |
CN115164658B (en) | Automatic digital electronic detonator online system and communication method | |
CN110001449B (en) | Charging device, charging control method, computer device, and storage medium | |
CN116706276A (en) | Battery system management method and battery system | |
CN210719252U (en) | Automatic identification device for test tool | |
CN114909965A (en) | Electronic detonator detonation control method, detonator and control chip | |
CN113409873A (en) | Erasing and writing interference test system and method and execution device | |
US10770907B2 (en) | Battery device and control method thereof | |
CN217404755U (en) | MCU chip reference voltage automatic calibration circuit and MCU chip | |
CN116795721A (en) | Software code testing method and device, vehicle and storage medium | |
EP2900041A2 (en) | DALI Short Address Conflict Detection | |
CN110794816B (en) | Method, device, equipment and storage medium for adjusting fault tolerance of vehicle controller software | |
CN117277473A (en) | Energy storage system and BMS communication self-adaptive identification method, system and device | |
US20240125849A1 (en) | Rf testing method and testing system | |
CN119342038A (en) | Automatic stacking addressing method and system based on BMSCAN communication |
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 |