Method and device for adjusting communication rate of electronic detonator

文档序号:1070409 发布日期:2020-10-16 浏览:18次 中文

阅读说明:本技术 一种电子***通信速率的调整方法和装置 (Method and device for adjusting communication rate of electronic detonator ) 是由 黄圣专 关硕 王昭 于 2020-06-28 设计创作,主要内容包括:本发明涉及电子雷管技术领域,具体涉及一种电子雷管通信速率的调整方法和装置。方法包括:电子雷管芯片接收起爆器发送的标准时钟;根据标准时钟对参数进行调整;根据调整后的参数进行解调得到数据指令。参数包括bit宽度、bit间距、Byte间距和指令间距。本发明的技术方案调整了电子雷管的通信速率,解决了现有技术中,电子雷管的起爆器和芯片之间的通信速率不能够灵活调整的问题。(The invention relates to the technical field of electronic detonators, in particular to a method and a device for adjusting the communication rate of an electronic detonator. The method comprises the following steps: the electronic detonator chip receives a standard clock sent by the detonator; adjusting parameters according to a standard clock; and demodulating according to the adjusted parameters to obtain the data instruction. The parameters include bit width, bit spacing, Byte spacing, and command spacing. The technical scheme of the invention adjusts the communication rate of the electronic detonator, and solves the problem that the communication rate between the initiator and the chip of the electronic detonator can not be flexibly adjusted in the prior art.)

1. A method for adjusting the communication rate of an electronic detonator is characterized by comprising the following steps:

the electronic detonator chip receives a standard clock sent by the detonator;

adjusting parameters according to a standard clock;

and demodulating according to the adjusted parameters to obtain the data instruction.

2. The method of adjusting the communication rate of electronic detonators of claim 1 wherein,

the parameters include one or more of the following: bit width, bit spacing, Byte spacing, command spacing.

3. The method of adjusting the communication rate of electronic detonators of claim 1 wherein,

adjusting parameters according to a standard clock, comprising:

the electronic detonator chip receives a standard clock sent by the primer after being electrified, and counts the standard clock to obtain a counting result; storing the count result in a register;

and shifting the count in the register according to a preset shifting rule to obtain the adjusted parameter.

4. An adjusting device for the communication rate of an electronic detonator is characterized in that the adjusting device is applied to an electronic detonator chip,

the device comprises: a demodulation parameter self-adapting module and a data demodulation module;

the demodulation parameter self-adaptive module is used for adjusting parameters according to a standard clock sent by the detonator and received by the electronic detonator chip;

sending the adjusted parameters to the data demodulation module;

the data demodulation module is used for receiving the adjusted parameters; and demodulating according to the adjusted parameters to obtain a data instruction.

5. The electronic detonator communication rate adjusting apparatus of claim 4 wherein,

the parameters include one or more of the following: bit width, bit spacing, Byte spacing, command spacing.

6. The electronic detonator communication rate adjusting apparatus of claim 5 wherein,

the demodulation parameter self-adaptive module is also used for receiving a standard clock sent by the electric detonator after the electric detonator is electrified, and counting the standard clock to obtain a counting result; storing the count result in a register;

and shifting the count in the register according to a preset shifting rule to obtain the adjusted parameter.

Technical Field

The invention relates to the technical field of electronic detonators, in particular to a method and a device for adjusting the communication rate of an electronic detonator.

Background

Electronic detonators, which are the result of a combination of detonator and integrated circuit technology, have been widely used and have replaced conventional initiation systems in many applications. The detonator comprises an initiator and an electronic detonator chip; the detonator is connected with one to hundreds of unequal electronic detonator chips through a pair of twisted pairs, modulates data to a high-frequency signal according to a certain protocol and transmits the high-frequency signal to the electronic detonator end chip through the twisted pairs. The electronic detonator chip controls detonation according to parameters carried in data sent by the detonator; in the field of factory production and manufacture of electronic detonators, a plurality of factory tests are required before an electronic detonator chip is applied to an explosion field. Stranded wires with different lengths can be used according to different requirements of explosion sites. Different test and use scenarios require adjusting the communication rate to meet the requirements of shortening the test time and improving the communication stability. At present, the communication speed between an electronic detonator initiator and an electronic detonator chip is fixed, and a new method needs to be provided urgently to adjust the communication speed between the electronic detonator initiator and the electronic detonator at any time.

Disclosure of Invention

Therefore, the embodiment of the invention provides a method and a device for adjusting the communication rate of an electronic detonator, which aim to solve the problem that the communication rate between an initiator and a detonator chip cannot be flexibly adjusted in the prior art.

In order to achieve the above object, the embodiments of the present invention provide the following technical solutions:

according to a first aspect of the embodiment of the invention, a method for adjusting the communication rate of an electronic detonator comprises the following steps:

the electronic detonator chip receives a standard clock sent by the detonator;

adjusting parameters according to a standard clock;

and demodulating according to the adjusted parameters to obtain the data instruction.

Further, the parameters include one or more of the following: bit width, bit spacing, Byte spacing, command spacing.

Further, adjusting the bit width according to the standard clock includes:

the electronic detonator chip receives a standard clock sent by the primer after being electrified, counts the standard clock, and stores a counting result in a register;

and shifting the count in the register according to a preset shifting rule to obtain the adjusted parameter.

According to a second aspect of the embodiments of the present invention, an apparatus for adjusting a communication rate of an electronic detonator, the apparatus includes: a demodulation parameter self-adapting module and a data demodulation module;

the demodulation parameter self-adaptive module is used for adjusting parameters according to a standard clock sent by the detonator and received by the electronic detonator chip;

sending the adjusted parameters to the data demodulation module;

the data demodulation module is used for receiving the adjusted parameters; and demodulating according to the adjusted parameters to obtain a data instruction.

Further, the parameters include one or more of the following: bit width, bit spacing, Byte spacing, command spacing.

Furthermore, the demodulation parameter self-adapting module is also used for counting the standard clock which is received by the electronic detonator chip and sent after the primer is electrified, storing the counting result in the register,

and shifting the count in the register according to a preset shifting rule to obtain the adjusted parameter.

The embodiment of the invention has the following advantages: the electronic detonator chip receives a standard clock sent by the detonator; adjusting parameters according to a standard clock; and demodulating according to the adjusted parameters to obtain the data instruction. Thereby achieving the adjustment of the communication rate.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It should be apparent that the drawings in the following description are merely exemplary, and that other embodiments can be derived from the drawings provided by those of ordinary skill in the art without inventive effort.

The structures, ratios, sizes, and the like shown in the present specification are only used for matching with the contents disclosed in the specification, so as to be understood and read by those skilled in the art, and are not used to limit the conditions that the present invention can be implemented, so that the present invention has no technical significance, and any structural modifications, changes in the ratio relationship, or adjustments of the sizes, without affecting the effects and the achievable by the present invention, should still fall within the range that the technical contents disclosed in the present invention can cover.

Fig. 1 is a schematic view of a scene of an electronic detonator according to an embodiment of the present invention;

fig. 2 is a flowchart of a method for adjusting a communication rate of an electronic detonator according to an embodiment of the present invention;

fig. 3 is a schematic structural diagram of an apparatus for adjusting a communication rate of an electronic detonator according to an embodiment of the present invention;

fig. 4 is a schematic structural diagram of another device for adjusting the communication rate of an electronic detonator according to an embodiment of the present invention.

Detailed Description

The present invention is described in terms of particular embodiments, other advantages and features of the invention will become apparent to those skilled in the art from the following disclosure, and it is to be understood that the described embodiments are merely exemplary of the invention and that it is not intended to limit the invention to the particular embodiments disclosed. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

Electronic detonators, which are the result of a combination of detonator and integrated circuit technology, have been widely used and have replaced conventional initiation systems in many applications. Compared with the prior detonating tube, the high-precision detonating tube realizes the characteristics of high-precision delay, safe control, reliable detonation and the like. The electronic detonator mainly comprises a detonator and a chip; referring to the schematic diagram of the connection relationship between the circuit detonator control host (detonator) and the electronic detonator (chip) shown in fig. 1; the circuit detonator control host is called as an exploder hereinafter; the electronic detonator is called an electronic detonator chip;

the initiator is connected to one to several hundred unequal electronic detonator chips through a pair of twisted pairs as shown in fig. 1. The detonator modulates data onto a high-frequency signal according to a certain protocol and transmits the high-frequency signal to the electronic detonator end chip through the twisted pair. Each electronic detonator chip has a unique address, and the detonator is controlled to detonate by setting detonation parameters for each electronic detonator chip according to the address. The communication specification requires that the clock precision of the electronic detonator chip is within +/-10%. At the current semiconductor process level, the uncalibrated clock accuracy of the chip is typically within ±% 30. Therefore, a specially designed clock source is needed or the clock of the existing chip is calibrated, which wastes cost and increases complexity.

Based on this, the invention provides a method for adjusting the communication rate of the electronic detonator, which refers to a flow chart of the method for adjusting the communication rate of the electronic detonator shown in fig. 2; the method comprises the following steps:

s101, an electronic detonator chip receives a standard clock sent by an exploder;

step S102, adjusting parameters according to a standard clock;

wherein, the parameters comprise one or more of the following: bit width, bit spacing, Byte spacing, command spacing.

And step S103, demodulating according to the obtained adjusted parameters to obtain a data command.

According to the technical scheme, the electronic detonator chip can automatically adjust signal demodulation parameters according to the standard pulse sent by the initiator so as to meet the requirements of adapting to different communication rates, and the clock precision of the electronic detonator chip is not depended on.

In one embodiment, when the parameter is adjusted according to the standard clock, the following steps are taken:

the electronic detonator chip receives a standard clock sent by the primer after being electrified, counts the standard clock, and stores a counting result in a register;

and shifting the count in the register according to a preset shifting rule to obtain the adjusted parameter.

The shift rule is:

the electronic detonator chip calculates the communication rate of the initiator according to the received standard clock;

if the calculated communication rate of the initiator is N times of the standard communication rate of the initiator;

determining that the bit width becomes 1/N of the standard bit width;

the Byte interval becomes 1/N of the standard Byte interval;

the bit spacing becomes 1/N of the standard bit spacing.

The following is an example of bit width:

if the clock frequency of the electronic detonator is 200 KHz; the communication frequency is 2Kbps, and the width of one bit is 500 muS; the clock period is 1 ms; the initiator sends a standard clock with the time length of 1ms to the electronic detonator chip at the frequency corresponding to the clock period of 1 ms;

the electronic detonator chip counts pulses of a standard clock of 1 ms; and storing the count result in a register; the value of the register is OT _ reg ═ 200(00C 8H);

if the clock frequency of the electronic detonator is 400 KHz; the communication frequency is 4Kbps, and the width of one bit is 250 muS; the detonator adjusts the clock period to 0.5 ms;

the initiator sends a standard clock with the time length of 1ms to the electronic detonator chip at the frequency corresponding to the clock period of 0.5 ms;

the electronic detonator chip counts the pulses of the received standard clock; and storing the count result in a register; the register reading is OT _ reg ═ 400 (0190H);

if the clock frequency of the electronic detonator is 100 KHz; the communication frequency is 1Kbps, and the width of one bit is 1000 muS; the detonator adjusts the clock period to 2 ms; the initiator sends a standard clock with the time length of 1ms to the electronic detonator chip at a frequency corresponding to the clock period of 2 ms;

the electronic detonator chip counts the pulses of the received standard clock; and storing the count result in a register; the value OT _ reg of the register is 100 (64).

In the following, the column for calculating the BIT width (BIT _ WD) is given in detail to illustrate how the demodulation parameters are calculated by means of standard pulses issued by the initiator:

the clock frequency of the electronic detonator is assumed to be 200KHz, and the communication frequency is assumed to be 2 Kbps. One bit is 500 mus wide. The uncalibrated clock has an error of +/-30 percent, and the bit width calculated by the detonator chip is 350-650 mu S.

In this embodiment, the demodulation parameter adjustment module sets up a 16-bit register OT _ reg.

Taking the communication rate of 2Kbps as an example, after the detonator is powered up, the detonator sends a standard clock with the time length of 1ms to the detonator chip.

The detonator chip counts the standard clock by using the local clock and stores the counting result in OT _ reg. For example:

the clock frequency of the initiator is OSC 200K, the register reading OT _ reg 200(00C 8H);

the clock frequency of the initiator is OSC 400K, and the register reading OT _ reg is 400 (0190H);

the clock frequency of the initiator is OSC 100K and the register reading OT reg 100 (64).

The OT _ reg value can be obtained by counting the pulses of the standard clock of 1ms sent by the detonator;

wherein the content of the first and second substances,

400(0190H) to binary 0000000110010000;

200(00C8H) to binary 0000000011001000;

100(64) to binary 0000000001100100.

As can be seen,

100(64) becomes 200(00C8H), and only the binary number corresponding to 100(64) needs to be shifted to the left by 1 bit;

changing 200(00C8H) to 400(0190H), the binary number corresponding to 200(00C8H) needs to be moved 1 bit to the left;

it can be seen that the bit width required for demodulation is independent of the clock frequency of the detonator chip.

If the initiator wants to increase the communication frequency, for example to 4Kbps, the corresponding bit width is 250 mus. The initiator need only change the standard clock cycle to 500 mus. The value OT _ reg corresponding to the register in the detonator chip is also automatically halved.

By analogy, if the communication frequency of the detonator is reduced, for example, the communication frequency is reduced to 1Kbps, the standard clock period is only changed to 2ms, and the value OT _ reg corresponding to the register in the detonator chip is also automatically doubled.

The technical scheme of the application is particularly suitable for manufacturing factories of electronic detonators; after the electronic detonator is manufactured, the test is needed, single detonator communication is carried out at a factory test end, the stranded wire is extremely short, noise and electromagnetic interference do not exist in the surrounding environment, the communication frequency is improved, the test time can be greatly shortened, and the test coverage rate is increased.

The technical scheme of the invention realizes that the communication speed is adjustable and has no relation with the clock frequency of the detonator chip on the premise of hardly increasing the cost, thereby greatly reducing the production cost and the use convenience.

Based on the same inventive concept, the invention also provides an adjusting device of the communication rate of the electronic detonator, which is applied to an electronic detonator chip and refers to the structural schematic diagram of the adjusting device of the communication rate of the electronic detonator shown in the attached figure 3;

the device comprises: a demodulation parameter adaptive module 21 and a data demodulation module 22;

the demodulation parameter self-adaptive module 21 is used for adjusting parameters according to a standard clock sent by the initiator and received by the electronic detonator chip; the parameters include one or more of the following: bit width, bit spacing, Byte spacing, command spacing.

Sending the adjusted parameters to the data demodulation module;

the data demodulation module 22 is configured to receive the adjusted parameters; and demodulating according to the adjusted parameters to obtain a data instruction.

According to the electronic detonator chip, the clock sent by the initiator is received, the electronic detonator chip can automatically adjust signal demodulation parameters according to the standard pulse sent by the initiator, so that the requirements of adapting to different communication rates are met, and the clock precision of the electronic detonator chip is not depended on.

In one embodiment, refer to a schematic structural diagram of another electronic detonator communication rate adjusting device shown in fig. 4; the device also includes: a signal demodulation circuit module 23 and a data instruction processing module 24;

the front-end signal demodulation circuit module 23 of the electronic detonator demodulates the high-frequency and high-voltage signals sent by the detonator into digital signals which can be identified by the data demodulation module. The data demodulation module recovers the digital signal into data and instructions according to a certain protocol.

The data instruction processing module 24 performs corresponding actions according to the received instructions and data.

After the initiator is powered up and stabilized, a standard series of pulses is sent. After the electronic detonator chip receives the standard pulse, the demodulation parameter self-adapting module calculates corresponding demodulation parameters and transmits the demodulation parameters to the data demodulation module. After the data demodulation module completes parameter configuration, the data demodulation module can normally demodulate the data and transmit the data to the data and instruction processing module. The demodulation parameter adaptive module is configured only after power-on, and is not configurable in the communication process. The detonator chip can normally work only after the demodulation parameter configuration is successful.

In an embodiment, the demodulation parameter adaptive module 21 is further configured to count a standard clock sent after the initiator received by the electronic detonator chip is powered on, and store a count result in a register, where the following steps are specifically adopted:

if the clock frequency of the electronic detonator is 200 KHz; the communication frequency is 2Kbps, and the width of one bit is 500 muS; the clock period is 1 ms; the initiator sends a standard clock with the time length of 1ms to the electronic detonator chip at the frequency corresponding to the clock period of 1 ms;

the demodulation parameter self-adaptive module counts pulses of the received standard clock of 1 ms; and storing the count result in a register; the value of the register is OT _ reg ═ 200(00C 8H);

if the clock frequency of the electronic detonator is 400 KHz; the communication frequency is 4Kbps, and the width of one bit is 250 muS; the detonator adjusts the clock period to 0.5 ms;

the initiator sends a standard clock with the time length of 1ms to the electronic detonator chip at the frequency corresponding to the clock period of 0.5 ms;

the demodulation parameter self-adaptive module counts pulses of the received standard clock; and storing the count result in a register; the register reading is OT _ reg ═ 400 (0190H);

if the clock frequency of the electronic detonator is 100 KHz; the communication frequency is 1Kbps, and the width of one bit is 1000 muS; the detonator adjusts the clock period to 2 ms; the initiator sends a standard clock with the time length of 1ms to the electronic detonator chip at a frequency corresponding to the clock period of 2 ms;

the demodulation parameter self-adaptive module counts pulses of the received standard clock; and storing the count result in a register; the value OT _ reg of the register is 100 (64).

The electronic detonator chip is provided with a corresponding mark; and the initiator sends a standard clock to the electronic detonator chip according to the corresponding identifier of the electronic detonator chip.

The number of the electronic detonator chips is multiple, and each electronic detonator chip is provided with an identification ID for distinguishing; and the initiator determines to send a standard clock to each electronic detonator chip according to the identification ID of the electronic detonator chip.

Although the invention has been described in detail above with reference to a general description and specific examples, it will be apparent to one skilled in the art that modifications or improvements may be made thereto based on the invention. Accordingly, such modifications and improvements are intended to be within the scope of the invention as claimed.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种双线隧道Ⅳ~Ⅴ级围岩下台阶迈步式快速开挖方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!