Disclosure of Invention
One of the objectives of the present invention is to provide a system and a method for improving the delay precision and calibration efficiency of detonators, which can reduce the time spent in delay calibration by scaling the register value, thereby improving the delay calibration efficiency.
The invention also aims to provide a system and a method for improving the delay precision and the calibration efficiency of the detonator, wherein the system and the method are implemented to select an efficiency mode to obtain a high-precision mode according to different calibration requirements, and the functions are more flexible.
The invention also aims to provide a system and a method for improving the delay precision and the calibration efficiency of the detonators, wherein the system and the method do not need to specify the UID, all the detonator chips under the same bus respond to the instruction, and the delay precision and the calibration efficiency of each detonator can be improved.
Another object of the present invention is to provide a system and method for improving detonator delay accuracy and calibration efficiency, which can reduce the decrease of detonator delay accuracy caused by the influence of temperature and environment of the RC oscillator.
Another object of the present invention is to provide a system and method for improving detonator delay accuracy and calibration efficiency, in which a detonator chip does not respond to and output a bus after a detonator starts a detonation waveform, thereby reducing the influence on the emitted waveform and improving the detonator delay accuracy.
To achieve at least one of the above-mentioned objects, the present invention further provides a signal converter;
a calibration module comprising a delay register, a first calibration register, and a second calibration register;
a counting module;
the signal converter is used for converting an electric signal into a wave signal, wherein the wave signal comprises a first edge signal and a second edge signal; the counting module is used for calculating the sum of the number of the first edge signals and the number of the second edge signals, namely a waveform accumulated value, the first calibration register, the second calibration register and the delay register are respectively connected with the detonator RC oscillator and respectively calculate the numerical values of the first calibration register, the second calibration register and the delay register, and the calibration module linearly amplifies the numerical value of the second calibration register according to the numerical value of the delay register.
According to another preferred embodiment of the present invention, the counting module calculates the accumulated waveform values of the first calibration register, the second calibration register and the delay register from the start of receiving the wave signal to the disconnection, respectively.
According to another preferred embodiment of the present invention, the counting module is configured to count a sum of the first edge signal and the second edge signal, and when the accumulated waveform value is equal to a value of the first calibration register, the first calibration register turns off the RC oscillator and stops counting, and the value of the first calibration register is used as the initiator timing value.
According to another preferred embodiment of the present invention, the counting module calculates a delay register value, and when the waveform cumulative value is equal to the delay register value, the first calibration register is disconnected from the RC oscillator, the first calibration register stops counting, and the delay register value is used as the initiator timing value.
According to another preferred embodiment of the present invention, the counting module is configured to obtain a second calibration register value, the waveform accumulation value is equal to the second calibration register value, and when the waveform accumulation value is smaller than the delay register value, the first calibration register and the RC oscillator are disconnected, and the calibration module scales up the second calibration register according to the delay register value.
In order to achieve at least one of the above objects, the present invention further provides a method for improving the delay accuracy and calibration efficiency of a detonator, comprising the steps of:
providing a first calibration register, a second calibration register, a delay register, and providing a delay register value S0The first calibration register is connected with an RC oscillator in the detonator, and the current value of the second calibration register is calculated;
calculating a first calibration register value according to the accumulated waveform of the RC oscillator;
identifying a function code and a wave signal, acquiring the wave signal comprising a first edge signal and a second edge signal, and calculating the sum of the number of the first edge signal and the second edge signal to acquire a waveform accumulated value P;
comparing the waveform accumulated value with the delay register value S0Amplifying the comparison result by the second calibration register value;
and storing the value assigned by the second calibration register, and using the value assigned by the second calibration register as a timing value of the time delay discharge.
According to another preferred embodiment of the present invention, when comparing the waveform integration value with the delay register value, if the waveform integration value is equal to the delay register value, the first calibration register and the RC oscillator are turned off, and the value assigned to the delay register is S0。
According to another preferred embodiment of the present invention, when comparing the waveform accumulated value with the delay register value, if the waveform accumulated value P is smaller than the delay register value and there is no waveform on the bus, the second calibration register value is scaled up and assigned to the first calibration register as the timing value of the delayed discharge command, wherein the scaling up formula is:
S1′=(S1/P)*S0,S1' is the amplified second calibrator value, S1To amplify the pre-second calibrator value.
According to another preferred embodiment of the present invention, the accumulated waveform value P ≧ 1.
According to a preferred embodiment of the invention, the method for improving the delay precision of the detonators comprises a plurality of detonators, wherein the detonators are provided with corresponding chips, and when the detonator sends a detonation instruction, each detonator responds simultaneously.
The invention further provides a detonator, and the detonator adopts the method for improving the delay precision of the detonator.
Detailed Description
The following description is presented to disclose the invention so as to enable any person skilled in the art to practice the invention. The preferred embodiments in the following description are given by way of example only, and other obvious variations will occur to those skilled in the art. The underlying principles of the invention, as defined in the following description, may be applied to other embodiments, variations, modifications, equivalents, and other technical solutions without departing from the spirit and scope of the invention.
It will be understood by those skilled in the art that in the present disclosure, the terms "longitudinal," "lateral," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like are used in an orientation or positional relationship indicated in the drawings for ease of description and simplicity of description, and do not indicate or imply that the referenced devices or components must be in a particular orientation, constructed and operated in a particular orientation, and thus the above terms are not to be construed as limiting the present invention.
It is understood that the terms "a" and "an" should be interpreted as meaning that a number of one element or element is one in one embodiment, while a number of other elements is one in another embodiment, and the terms "a" and "an" should not be interpreted as limiting the number.
It should be noted that the first image feature and the second image feature may be modified according to the target selection, for example, in order to obtain the target palm feature, the second image feature may be set as the palm feature, and the first image feature is a human body or a human face image, and it should be understood that the human face and the human body in the present invention are only used as an example and are not limited by the present invention.
Referring to fig. 1-2, the system for improving the delay accuracy of the detonator includes: a signal converter; a calibration module comprising a delay register, a first calibration register, and a second calibration register; a counting module; wherein the signal converter is used for converting the electrical signal into a wave signal, wherein the wave signal includes but is not limited to a sine wave and a square wave, the square wave is preferred as the wave signal in the present invention, and it is worth mentioning that the wave signal includes a first edge signal and a second edge signal; the counting module is used for calculating the sum of the number of the first edge signal and the second edge signal, namely the waveform accumulated value P, the first edge signal and the second edge signal of the wave respectively represent square wave signals with different wave widths, in other feasible embodiments of the invention, the square wave width can be more selected, the first calibration register and the second calibration register are connected with a detonator RC oscillator, and the second calibration register records the current value S1。
It should be noted that, since the unit of register is ms and the unit of detonator RC oscillator is KHz (kilohertz), the delay time of the register needs to be converted into the corresponding clock period of the electronic detonator, wherein the conversion formula is: s ═ C × T, T is the delay time of the register in (/ ms), C oscillator frequency in (KHz), S is the register value, and since the delay time is different for different registers and the oscillator frequency is not stable during actual use, the actual frequency may be less than the nominal frequency.
The delay register, the first calibration module and the second calibration module are respectively connected to an RC oscillator in the detonator, and the calibration mode is selected according to the waveform accumulated value.
Definition of S0For delaying register values, said delayThe register value is a waveform accumulated value when the RC oscillator is switched in and is disconnected, the counting module stores the value, the delay register value is used as a reference system in the calibration process, if the waveform accumulated value is smaller than the delay register value in the calibration process, the current value of the second calibration register is amplified in an equal ratio mode to be the same as the delay register value, and the assignment result is used as the timing value of the initiator.
Further, to better explain the present invention, the present invention further defines the current value of the second calibration register as S1The current delay time recorded by the second calibration register is T1It should be noted that, the values of the second calibration register and the first calibration register are respectively the accumulated values of the start time to the off time of the switched-in oscillator on the oscillation waveform. Because the delay values of different registers are different, the number of clocks converted into detonators is also different, the first calibration register can use a register with higher delay precision, the second calibration register can use a register with lower delay precision, the two registers can be used respectively according to different measurement environments, and the calibration precision and the calibration efficiency can be both considered.
Specifically, the first calibration register is connected with an RC oscillator, the first calibration register accumulates a waveform accumulated value of the RC oscillator, the counting module accumulates waveform signals on the bus at the same time, calculates the sum of a first edge signal number and a second edge signal number in the waveform signals to form a waveform accumulated value P, and the counting module compares the waveform accumulated value P with a delay register value S0If the waveform accumulated value P is S0Disconnecting the first calibration register from the RC oscillator circuit, the value of the first calibration register being equal to the value S of the delay register0And will delay register value S0As a detonator discharge timing value, the delay accuracy obtained by calculation is higher in the state.
Wherein the second register is connected with an RC oscillator circuit, the second calibration register accumulates the current waveform value, if the waveform accumulated value P is smaller than the delay register value, it means that the current delay time of the detonator is smaller than the preset calibration time, the delay time needs to be amplified to the calibration time to trigger the detonation timing, in other words, the second calibration register value needs to be amplified in equal proportion to be the same as the delay register value, the specific steps are as follows,
comparing the waveform accumulated value P with the delay register value S0When P ≦ S0And amplifying the value of the second calibration register in an equal ratio according to the value of the delay register, wherein the amplification formula is as follows:
S1′=(S1/P)S0in which S is1The second calibration register value is an amplified second calibration register value, wherein the second calibration register value assigns the value to the first calibration register for the timing value of the initiator, it should be noted that the waveform accumulated value P is an arbitrary value greater than 1, and the second register does not need to use a high-delay precision register, so that calibration with higher timing precision of the initiator can be realized, and efficiency can be considered.
In another preferred embodiment of the present invention, when the waveform cumulative value P is equal to the first calibration register value, the first calibration register is disconnected from the oscillator, and the first calibration register value is used as the timing value of the detonator initiator.
Therefore, the invention provides a method for improving the delay precision and the calibration efficiency of a detonator, which comprises the following steps:
providing a first calibration register, a second calibration register, a delay register, and providing a delay register value S0The first calibration register is connected with an RC oscillator in the detonator, and the current value of the second calibration register is calculated;
calculating a first calibration register value according to the accumulated waveform of the RC oscillator;
identifying a function code and a wave signal, acquiring the wave signal comprising a first edge signal and a second edge signal, and calculating the sum of the number of the first edge signal and the second edge signal to acquire a waveform accumulated value P;
comparing the waveform accumulated value with the delay register value S0Linearly amplifying the comparison result by the second calibration register value;
and storing the value assigned by the second calibration register, and using the value assigned by the second calibration register as a timing value of the time delay discharge.
It should be noted that the present invention preferably scales up the value of the second calibration register according to the value of the delay register and uses the value as the timing value of the detonator initiator, wherein please refer to the waveform diagram shown in fig. 1, where bit0 and bit1 are the first edge signal and the second edge signal of the present invention, respectively.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section, and/or installed from a removable medium. The computer program, when executed by a Central Processing Unit (CPU), performs the above-described functions defined in the method of the present application. It should be noted that the computer readable medium mentioned above in the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It will be understood by those skilled in the art that the embodiments of the present invention described above and illustrated in the drawings are given by way of example only and not by way of limitation, the objects of the invention having been fully and effectively achieved, the functional and structural principles of the present invention having been shown and described in the embodiments, and that various changes or modifications may be made in the embodiments of the present invention without departing from such principles.