A production and detection method for electronic detonators
By identifying the manufacturer and type of electronic detonators, the automatic detection process of electronic detonators is realized, which solves the problem of space occupied by multiple detectors and inconvenient information collection in the existing technology, and improves production efficiency and information management.
Patent Information
- Application Number
- CN202411040900.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-31
AI Technical Summary
The existing electronic detonator production line needs to be equipped with multiple production detectors according to different manufacturers and types of detonators, resulting in increased factory space occupation and inconvenience in the collection of production information.
Obtain the image of the electronic detonator through a production detector, identify the detonator shell and module information, determine the manufacturer and type, execute the corresponding detection process, and feed the detection results back to the host computer to realize automatic identification and detection of the manufacturer and type.
It simplifies the factory wiring structure, improves space utilization, facilitates the summary and statistics of production inspection information, and reduces production costs.
Smart Images

Figure CN118565274B_ABST
Abstract
Description
Technical Field
[0001] One or more embodiments of the present specification relate to the technical field of electronic detonators, and in particular, to a production and detection method for electronic detonators. Background Art
[0002] As a new type of civil explosive product, digital electronic detonators need to be tested in many aspects during the production process to ensure their normal use in the future.
[0003] At present, most of the detonator production plants are equipped with automated production lines. During the production process of electronic detonators, tests are carried out simultaneously. Specific tests are carried out on different types of electronic detonators to determine whether the tested detonators are qualified. Electronic detonators include detonator modules and detonator shells. The detonator modules are integrated with detonator chips, which are provided by different chip manufacturers.
[0004] On an automated production line, in order to detect electronic detonators, it is necessary to configure corresponding production testers according to the electronic detonators provided by different manufacturers. This requires the configuration of multiple production test lines and related production testers, which occupies factory space and increases production costs; and is not conducive to the collection and statistics of production information. Summary of the invention
[0005] One or more embodiments of the present specification describe a method for production inspection of electronic detonators, which can utilize a production inspection instrument to perform relevant production process inspections on electronic detonators of different manufacturers and types, thereby not only improving the utilization rate of plant space, but also facilitating the collection of production inspection information.
[0006] In a first aspect, an embodiment of the present specification provides a method for producing and testing electronic detonators, which is executed on a production tester, and the method includes:
[0007] Acquire a captured image of the electronic detonator to be tested;
[0008] Based on the detonator shell information in the collected image, determine the manufacturer of the electronic detonator;
[0009] Determine the type of the electronic detonator based on the injection molding image of the detonator module in the acquired image;
[0010] According to the manufacturer and type of the electronic detonator, the corresponding production inspection process shall be carried out on the electronic detonator on the side.
[0011] In some implementations, determining the manufacturer of the electronic detonator based on the detonator shell information in the acquired image includes:
[0012] Obtaining color information of the detonator shell in the collected image;
[0013] By comparing the electronic detonator manufacturer list obtained from the host computer, the manufacturer information corresponding to the color information of the detonator shell is obtained; the electronic detonator manufacturer list stores the manufacturer information of multiple electronic detonators from different manufacturers and the color information of the detonator shell stored corresponding to the manufacturer information.
[0014] In some implementations, the color information is a pixel value; and the comparing the electronic detonator manufacturer list obtained from the host computer to obtain the manufacturer information corresponding to the color information of the detonator shell includes:
[0015] Convert the pixel value of the detonator shell in the collected image into a pixel range, wherein the pixel range is [pixel value-error pixel value, pixel value+error pixel];
[0016] It is detected whether the pixel value in the electronic detonator manufacturer list is within the pixel range. If so, it is determined that the manufacturer information corresponding to the pixel value in the electronic detonator manufacturer list is the manufacturer information of the electronic detonator to be tested.
[0017] In some implementations, determining the manufacturer of the electronic detonator based on the detonator shell information in the acquired image further includes:
[0018] When at least two pieces of manufacturer information corresponding to the color information of the detonator shell are obtained, an infrared spectrum of the detonator shell of the electronic detonator to be tested is obtained;
[0019] Analyze the infrared spectrum of the detonator shell to determine the material of the detonator shell;
[0020] The electronic detonator manufacturer list is compared with at least two entries that match the color information of the detonator shell in the collected image to obtain manufacturer information corresponding to the detonator shell material; the electronic detonator manufacturer list also stores the detonator shell material stored corresponding to the manufacturer information.
[0021] In some embodiments, the determining the type of the electronic detonator based on the injection molded body image of the detonator module in the acquired image includes:
[0022] Acquire an injection molding body image of the detonator module in the acquired image;
[0023] Based on the manufacturer to which the electronic detonator belongs, a list of electronic detonator types of the corresponding manufacturer is obtained from a host computer; the list of electronic detonator types stores the types of electronic detonators belonging to the manufacturer and sample images stored corresponding to the types;
[0024] The injection molded body image is compared with each sample image in the electronic detonator type list for similarity. If they are the same, the type corresponding to the sample image is determined as the type of the electronic detonator to be tested.
[0025] In some embodiments, the method further comprises:
[0026] After the production test process of the electronic detonator to be tested is completed, the test information is sent to the host computer; the test information includes manufacturer information, type and test results;
[0027] Receive the injection code instruction sent by the host computer, parse the injection code instruction to obtain the injection code information, and inject the injection code information into the detonator module; the injection code information includes the electronic detonator ID; the electronic detonator ID is generated by the host computer based on the manufacturer information and type in the detection information, and the electronic detonator work order corresponding to the manufacturer information and type is obtained; the information stored in the electronic detonator work order includes the manufacturer code, type code, detonator date, machine number, boxing specification, starting box number, starting serial number, current serial number, and production quantity;
[0028] The electronic detonator ID is laser-coded on the detonator shell of the electronic detonator.
[0029] In some implementations, the process of the host computer sending the betting instruction includes:
[0030] The host computer receives the detection information sent by the production detector;
[0031] According to the code mapping table, the manufacturer code is determined according to the manufacturer information and the type code is determined according to the type; the code mapping table includes a first code mapping table storing the manufacturer code and its corresponding manufacturer information, and a second code mapping table storing the type code and its corresponding type;
[0032] Based on the manufacturer code and type code, the corresponding electronic detonator work order is matched;
[0033] According to the electronic detonator ID allocation count and the starting serial number, the current serial number is determined, a new electronic detonator ID is generated based on the information stored in the electronic detonator work order, and a coding instruction containing the electronic detonator ID is formed and sent to the production tester; the initial value of the electronic detonator ID allocation count is 0, and after the coding instruction containing the electronic detonator ID is sent to the production tester, the electronic detonator ID allocation count associated with the manufacturer and the type of detection information is increased by one.
[0034] In some implementations, the process of the host computer sending the betting instruction also includes:
[0035] Before determining the current serial number based on the electronic detonator ID allocation count and the starting serial number, determine whether the electronic detonator ID allocation count is greater than the production quantity. If so, obtain all the test information of the manufacturer and the type, and count the number of qualified test results in all the test information. If the number of qualified test results is less than the production quantity, update the production quantity to a new production quantity, where the new production quantity = the production quantity before the update + (the production quantity before the update - the qualified quantity). Then, determine the current serial number based on the electronic detonator ID allocation count and the starting serial number. If not, determine the current serial number based on the electronic detonator ID allocation count and the starting serial number.
[0036] In some implementations, the process of the host computer sending the betting instruction also includes:
[0037] When there are multiple electronic detonator work orders that are matched based on the manufacturer code and type code, the earliest electronic detonator work order is obtained;
[0038] When the number of qualified test results in all the test information obtained by statistics is equal to the production quantity, the current serial number is determined according to the electronic detonator ID allocation count and the starting serial number;
[0039] After receiving the injection result and coding result of the electronic detonator ID sent by the production detector, the current electronic detonator work order is transferred from the storage space to be produced to the production completion storage space.
[0040] In some embodiments, the method also includes: storing the detection information, coding results, coding results and electronic detonator ID of the electronic detonators belonging to the same electronic detonator work order in a production detector; and feeding back the coding results and coding results to a host computer, so that the detection information, coding results, coding results and electronic detonator ID of the electronic detonators belonging to the same electronic detonator work order are stored in the host computer.
[0041] The beneficial effects brought by the technical solutions provided by some embodiments of this specification include at least:
[0042] The method of the embodiment of this specification uses a production detector to identify the manufacturer and type of the electronic detonator to be tested, and then conducts specific production testing on the electronic detonator to be tested, and feeds the test results back to the host computer. This not only simplifies the existing factory wiring structure, improves the utilization rate of factory space, but also facilitates the collection of production test information.
[0043] After the electronic detonator is tested, the test results, coding results, coding results and electronic detonator ID of electronic detonators of different manufacturers and types need to be stored together. Due to the different parameters of different manufacturers and types, not only different production inspection processes need to be enabled according to the manufacturer and type before production inspection, but also the relevant results need to be saved accordingly, so as to facilitate the statistics of production inspection information and monitor the production inspection process of electronic detonators. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions in the embodiments of this specification, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0045] Figure 1 The electronic detonator detection process between the production detector and the host computer provided in the embodiment of this specification;
[0046] Figure 2 A flowchart of an example of an electronic detonator production and detection method provided in an embodiment of this specification;
[0047] Figure 3 A flowchart of another example of a method for producing and detecting electronic detonators provided in an embodiment of this specification. DETAILED DESCRIPTION
[0048] The technical solutions in the embodiments of this specification will be described clearly and completely below in conjunction with the drawings in the embodiments of this specification.
[0049] The terms "first", "second", "third", etc. in the description and claims of this specification and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0050] The existing fully automated production line for electronic detonators is equipped with a production detector and a host computer. The host computer is located at the production management end. The management user can configure the electronic detonator work order on the host computer. The electronic detonator work order includes but is not limited to the manufacturer code, type code, detonator date, machine number, boxing specification, starting box number, starting serial number, current serial number, production quantity and other information. The host computer sends instructions such as detection, coding, and coding to the production detector. The production detector responds to the host computer signal and detects the electronic detonator. After the detection is completed, the detection information is sent to the host computer.
[0051] Electronic detonators are composed of a detonator module with integrated chips and a detonator shell. Since the chips of the detonator module are provided by different chip manufacturers, in order to cooperate with the detection, the existing production line is equipped with multiple production detectors that can adapt to the detection of different chip manufacturers. Based on this, the host computer needs to communicate with multiple different production detectors to achieve automatic information control. Correspondingly, the production line also needs to be equipped with a corresponding number of production detectors and production lines according to the number of chip manufacturers.
[0052] Based on the above problems, the embodiment of this specification provides a production detector, which is integrated with a detection unit that can adapt to the detection of electronic detonators of different manufacturers and types. The production detector also includes a control unit, which can trigger the corresponding detection unit to start after making a comprehensive judgment on the manufacturer and type of the electronic detonator, and then detect the electronic detonator. The detection circuit in the detection unit can utilize the circuit in the existing production detector. Due to differences in chip manufacturers, the circuit structure of the detonator module, including circuit layout, number of terminals, input / output structure, communication method, etc., is different. After injection molding integration, the injection molding body structure of the detonator module is different. For this reason, a specific detection circuit is required to detect the detonator module. Accordingly, in order to receive detection information, the host computer also needs to perform specific communication settings, such as software serial port settings, network reporting, channel settings, etc.
[0053] After the production detector establishes a communication connection with the host computer, execute Figure 1 The general process is shown in the figure. In the first stage, when the production detector receives the request detection signal, the production detector will respond with a detection confirmation. In the second stage, when the production detector completes the detection, it will feedback the detection result to the host computer, and the host computer will respond after receiving the detection result. In the third stage, the host computer sends a coding instruction to the production detector, and the production detector parses the coding instruction to obtain the coding information. The electronic detonator ID in the coding information will be injected into the chip of the detonator module. After the coding is successful, the production detector will feedback the coding result to the host computer. In the fourth stage, the detonator shell is laser-coded, and the coding result is fed back to the host computer by the production detector.
[0054] like Figure 2The embodiment of this specification provides a method for producing and testing electronic detonators, which is implemented based on the above-mentioned production detector.
[0055] The method of the embodiment of this specification includes:
[0056] Step 102, obtaining a captured image of the electronic detonator to be tested;
[0057] Step 104, determining the manufacturer of the electronic detonator based on the detonator shell information in the collected image;
[0058] Step 106, determining the type of the electronic detonator based on the injection molding image of the detonator module in the collected image;
[0059] Step 108, executing a corresponding production inspection process for the electronic detonator to be treated according to the manufacturer and type of the electronic detonator.
[0060] The method of the embodiment of this specification is executed in a production tester. The method collects images of the electronic detonator to be tested, determines the manufacturer and type of the electronic detonator, and then triggers the corresponding control unit to perform the production test process.
[0061] In step 102, a high-precision camera may be installed on the production tester to obtain image information of the electronic detonator to be tested.
[0062] In step 104, the method of determining the manufacturer of the electronic detonator based on the detonator shell information in the collected image includes:
[0063] Step 1041, obtaining color information of the detonator shell in the collected image;
[0064] Step 1043, comparing the electronic detonator manufacturer list obtained from the host computer, obtaining the manufacturer information corresponding to the color information of the detonator shell; the electronic detonator manufacturer list stores the manufacturer information of multiple electronic detonators from different manufacturers and the color information of the detonator shell stored corresponding to the manufacturer information.
[0065] Before making a judgment, the production detector obtains the list of electronic detonator manufacturers on the host computer in advance.
[0066] In one example, OpenCV is used for image processing to obtain pixel values of the three RGB channels. According to the pixel values of each channel and the pixel value-color comparison table, the color of the detonator shell, such as red, blue, white, etc., can be determined. When the detonator shell is monochrome, the overall color of the detonator shell is determined. When the detonator shell is multi-colored, the main color of the detonator shell can be determined.
[0067] The determined color is compared with the list of electronic detonator manufacturers to obtain the manufacturer information under the corresponding color information. The manufacturer information includes the manufacturer name, manufacturer address, etc. The color information in the list may include red, blue, white, etc.
[0068] In another example, OpenCV is used to perform image processing to obtain pixel values of the three RGB channels. The pixel values of the three RGB channels are averaged to obtain the average pixel value of the current image. Next, the pixel value of the detonator shell in the collected image is converted into a pixel range, and the pixel range is [pixel value-error pixel value, pixel value+error pixel]. For example, the error pixel can be 2px. The obtained pixel range is [average pixel value-2px, average pixel value+2px].
[0069] The color information in the electronic detonator manufacturer list is stored in the form of pixel values, which are the average values of the pixel values of the three channels of RGB. Afterwards, it is detected whether the pixel value in the electronic detonator manufacturer list is within the pixel range. If so, it is determined that the manufacturer information corresponding to the pixel value in the electronic detonator manufacturer list is the manufacturer information of the electronic detonator to be tested; if not, it is necessary to match other pixel values until a match is found. The manufacturer information includes the manufacturer name, manufacturer address, etc.
[0070] The latter example can use pixel values to determine color. Compared with the former, it can more accurately distinguish color differences. In particular, some manufacturers use similar colors for detonator shells, which cannot be directly distinguished.
[0071] Further, when at least two pieces of manufacturer information corresponding to the color information of the detonator shell are obtained, in order to determine the only manufacturer to which the electronic detonator belongs, step 104 further includes:
[0072] Step 1045, when at least two pieces of manufacturer information corresponding to the color information of the detonator shell are obtained, an infrared spectrum of the detonator shell of the electronic detonator to be tested is obtained;
[0073] Step 1047, analyzing the infrared spectrum of the detonator shell to determine the material of the detonator shell;
[0074] Step 1049, compare the electronic detonator manufacturer list with at least two entries that match the color information of the detonator shell in the collected image to obtain the manufacturer information corresponding to the detonator shell material; the electronic detonator manufacturer list also stores the detonator shell material stored corresponding to the manufacturer information.
[0075] The production detector can use an infrared spectrum detection device to collect an infrared spectrum of the detonator shell of the electronic detonator. Since the materials used for the detonator shells of different manufacturers are different, the material of the detonator shell can be determined by performing infrared spectrum analysis on the infrared spectrum. For example, manufacturer A uses nylon, resistance retardant and antistatic agent as the material of the detonator shell. By analyzing the infrared spectrum, extracting the spectral features, comparing the spectral features with the spectra in the material library for similarity, calculating the similarity index, and then determining the best matching material. The material library pre-stores the spectra corresponding to all the materials of the detonator shell on the market. Afterwards, it can be determined that the material of the detonator shell includes at least nylon, and even all the constituent materials of the detonator shell material can be determined. Finally, the manufacturer A corresponding to the material can be determined from the list of electronic detonator manufacturers.
[0076] Steps 1045 to 1049 are performed after obtaining at least two manufacturer information corresponding to the color information of the detonator shell based on step 1043. In step 1049, there is no need to perform a full match on the entire list of electronic detonator manufacturers. A small amount of screening can be performed under the filtered items to quickly determine the manufacturer of the electronic detonator to be tested.
[0077] In addition to using infrared spectroscopy to analyze materials, other existing material analysis methods, such as thermogravimetric analysis, can also be used.
[0078] In step 106, the type of the electronic detonator is determined based on the injection molding image of the detonator module in the collected image, including:
[0079] Step 1061, obtaining an injection molding image of the detonator module in the collected image;
[0080] Step 1063, based on the manufacturer to which the electronic detonator belongs, obtaining a list of electronic detonator types of the corresponding manufacturer from the host computer; the list of electronic detonator types stores the types of electronic detonators of the manufacturer and sample images stored corresponding to the types;
[0081] Step 1065, compare the injection molded body image with each sample image in the electronic detonator type list for similarity. If they are identical, the type corresponding to the sample image is determined as the type of the electronic detonator to be tested.
[0082] In step 106 of the embodiment of this specification, a high-precision camera is used to collect the injection molding image of the detonator module. Due to the different internal circuit structures of the detonator module, there are differences in its external injection molding after injection molding. After injection molding, the internal circuit is not visible, and the lead terminals of the detonator module are visible. For this reason, the injection molding image includes the overall appearance structure of the injection molding and the visible lead terminals. For example, when the electronic detonator is a bridge wire electric ignition head structure, its input end structure is a bridge wire electric ignition head structure. The electronic detonator uses an electric initiation mechanism to detonate, and the corresponding internal circuit is set based on the mechanism. For another example, when the electronic detonator uses a light initiation mechanism to detonate, the input end structure of the electronic detonator is an input end structure with a photosensitive agent, and the corresponding internal circuit is set based on the mechanism. It is obvious that due to the difference in detonator types, there are also obvious differences in the injection molding images of the detonator module. Based on this, sample images of injection moldings of different types of electronic detonators are pre-sampled, for example, sample images of a certain perspective can be collected and stored in the list of electronic detonator types.
[0083] Based on this feature, after determining the manufacturer to which the electronic detonator belongs, the type of the electronic detonator is further determined by identifying the injection molded body image and comparing it with the sample image in the list of electronic detonator types. When collecting the injection molded body image, the injection molded body image is collected using the same viewing angle as the sample image. To this end, the camera needs to be arranged at a predetermined point before collection to ensure that the sample image and the collected image are collected at the same viewing angle. Among them, the sample image needs to be manually identified and then labeled for type classification. The labeled information is stored in the list of electronic detonator types.
[0084] When comparing, first obtain the injection molded body image from the injection molded body image, and obtain the corresponding sample image from the electronic detonator type list. Use the image recognition algorithm to perform similarity comparison and calculate the similarity distance value of the two images. When the similarity distance value of the two images approaches 0, they are considered to be the same. That is, the sample image is matched from the table, and then the type of the electronic detonator to be tested is determined according to the type corresponding to the sample image.
[0085] In step 108, each control unit in the production detector has its corresponding control switch. The switch number is associated with the corresponding manufacturer and type of electronic detonator and stored. For example, electronic detonator manufacturer 1, type 1 corresponds to control switch number 1; electronic detonator manufacturer 1, type 2 corresponds to switch number 2; electronic detonator manufacturer 2 corresponds to control switch number 1; electronic detonator manufacturer 2, type 2 corresponds to switch number 2. When the manufacturer and type of the electronic detonator are obtained according to steps 102 to 106, the corresponding switch number can be matched, and then the switch can be controlled to close to open the corresponding control unit to detect the electronic detonator to be tested.
[0086] The production inspection of electronic detonators mainly involves testing the detonator module, including capacitor voltage, pulse status, bridge wire status, short circuit, leakage status, delay calibration, communication status, etc.
[0087] like Figure 3 , the method of the embodiment of this specification also includes:
[0088] Step 110, after the production inspection process of the electronic detonator to be tested is completed, the inspection information is sent to the host computer; the inspection information includes manufacturer information, type and inspection result;
[0089] Step 112, receiving the injection code instruction sent by the host computer, parsing the injection code instruction to obtain the injection code information, and injecting the injection code information into the detonator module; the injection code information includes the electronic detonator ID; the electronic detonator ID is generated by the host computer based on the manufacturer information and type in the detection information, and the electronic detonator work order corresponding to the manufacturer information and type is obtained;
[0090] The information stored in the electronic detonator work order includes manufacturer code, type code, detonator date, machine number, boxing specification, starting box number, starting serial number, current serial number, and production quantity;
[0091] Step 114, laser coding the electronic detonator ID on the detonator shell of the electronic detonator.
[0092] In step 110 of the embodiment of this specification, after corresponding detection of electronic detonators of different manufacturers and types, the detection results of electronic detonators of different manufacturers and types can be stored in the upper computer. The upper computer sends a coding instruction based on the received detection results to trigger the production detector to execute the next coding process, that is, step 112. After the coding process is completed, the production detector is triggered to execute the next coding process, and the electronic detonator ID is printed on the detonator shell using laser coding technology, that is, step 114.
[0093] In step 110, after the detection process is completed, the production detector will obtain the detection result, including a qualified result or a failed result. The detection result is saved in the production detector and stored correspondingly with the electronic detonator information detected. The electronic detonator information includes but is not limited to the manufacturer and type of the electronic detonator identified.
[0094] Correspondingly, the production detector feeds back the test result along with the manufacturer information and type to the host computer, and the host computer stores the received test result in correspondence with the manufacturer information and type.
[0095] Since the host computer is configured with multiple electronic detonator work orders according to production requirements, the production inspection results will be stored in association with the electronic detonator work orders to facilitate the preservation, statistics, and tracing of the production inspection status of each electronic detonator work order.
[0096] In step 112, after the host computer receives the detection information sent by the production detector, it forms a code injection instruction according to the detection information.
[0097] Since the electronic detonators tested belong to different manufacturers and different types, the electronic detonator ID is generated based on at least the manufacturer code, type code, detonator date, machine number, boxing specification, starting box number, starting sequence number, current sequence number, and production quantity. For example, the manufacturer code is 00, the type code is 11, the detonator date is 241011, the machine number is A12, the boxing specification is M, the starting box number is 0002, the starting sequence number is 1000, the current sequence number is 1002, and the production quantity is 500; based on the above information, the electronic detonator ID generated is 0011241011A121M000210001002500. For this reason, when forming the code injection instruction, it is necessary to form the code injection instruction containing the specific electronic detonator ID based on the manufacturer and type identified by the production detector.
[0098] Specifically, the process of the host computer sending the injection code instruction includes:
[0099] Step 202, the host computer receives the detection information sent by the production detector;
[0100] Step 204, comparing the code mapping table, determining the manufacturer code according to the manufacturer information and determining the type code according to the type; the code mapping table includes a first code mapping table storing the manufacturer code and its corresponding manufacturer information, and a second code mapping table storing the type code and its corresponding type;
[0101] The host computer obtains the manufacturer information and type from the detection information.
[0102] Since each manufacturer has a different code, a code mapping table can be pre-configured. By comparing the code mapping table, the manufacturer code corresponding to the manufacturer information and the type code corresponding to the type can be determined. For example, the code can be defined in binary code. For example, when there are four manufacturers, the manufacturer code corresponding to manufacturer A is 00, the manufacturer code corresponding to manufacturer B is 01, the manufacturer code corresponding to manufacturer C is 10, and the manufacturer code corresponding to manufacturer D is 11. For example, there are four types of electronic detonators, and the type code corresponding to type 1 is 00, the type code corresponding to type 2 is 01, the type code corresponding to type 3 is 10, and the type code corresponding to type 4 is 11. When the manufacturer information of the detection information is manufacturer A and the type is type 4, the manufacturer code 00 and the type code 11 are obtained by comparing the code mapping table.
[0103] Step 206, matching the corresponding electronic detonator work order based on the manufacturer code and type code;
[0104] The information stored in the electronic detonator work order includes the manufacturer code and type code. The corresponding electronic detonator work order can be found by matching the code in the electronic detonator work order; the table name of the electronic detonator work order can also be stored in the combination of the manufacturer code and the type code, marked as "0011".
[0105] When there are multiple electronic detonator work orders of the same manufacturer and type, the upper computer predefines the matching priority of each electronic detonator work order, such as determining the priority based on the time when the electronic detonator work order is configured on the upper computer. The earlier the time, the higher the priority, and the first one will be matched and processed. When the inspection of all the electronic detonators (the number of qualified inspections) of the electronic detonator work order is completed, the electronic detonator work order is completed and transferred from the storage space to be produced to the storage space for completed production. After that, the storage space to be produced will process all the existing electronic detonator work orders starting from the work order with the highest priority.
[0106] Step 208, determine the current serial number according to the electronic detonator ID allocation count and the starting serial number, generate a new electronic detonator ID based on the electronic detonator work order, and form a coding instruction containing the electronic detonator ID, and send it to the production tester; the initial value of the electronic detonator ID allocation count is 0. After the coding instruction containing the electronic detonator ID is sent to the production tester, the electronic detonator ID allocation count associated with the manufacturer and the type of detection information is increased by one.
[0107] Each electronic detonator work order is configured with an electronic detonator ID allocation count. The initial value of the electronic detonator ID allocation count of each electronic detonator work order is set to 0. In this way, when determining the first current sequence number, the current sequence number = the starting sequence number + the electronic detonator ID allocation count (which is 0 at this time), that is, the first current sequence number is the starting sequence number. When determining the second current sequence number, the current sequence number = the starting sequence number + the electronic detonator ID allocation count (which is 1 at this time), that is, the second current sequence number is the starting sequence number + 1.
[0108] The information of the electronic detonator work order is pre-configured, and the current serial numbers of all electronic detonator IDs have been formed according to the production quantity and the starting serial number. The number of current serial numbers is generated according to the production quantity, and all the generated current serial numbers are continuous serial numbers.
[0109] The purpose of determining the current serial number in step 208 is to determine the current serial number based on which the electronic detonator ID is generated, so as to obtain the next new electronic detonator ID.
[0110] The electronic detonator ID may be pre-generated based on the information in the electronic detonator work order, or only the information for generating the electronic detonator ID may be configured and generated when step 208 is executed.
[0111] When the host computer receives the test information, regardless of whether the test result is qualified or unqualified, it generates the electronic detonator ID according to the manufacturer information and type in the test information, and generates a coding instruction containing the electronic detonator ID to the production tester. The production tester codes the detonator module of the tested electronic detonator according to the coding instruction, and injects the electronic detonator ID into the chip of the detonator module. In addition, the coding information also includes information such as blasting ciphertext and blasting delay.
[0112] After sending the code injection instruction to the production tester, the electronic detonator ID allocation count needs to be updated by one. That is, the next time the detection information is received to form the electronic detonator ID, the generated electronic detonator ID is generated based on the new current serial number.
[0113] During production inspection, some electronic detonators may fail the inspection, and the electronic detonators that fail the inspection are also injected with electronic detonator IDs. The number of electronic detonators required for each electronic detonator work order refers to the number of qualified electronic detonators, so it is necessary to produce the number of electronic detonators required by the work order. For this reason, even if the number of electronic detonators of the same manufacturer and type has reached the number of electronic detonators in the work order, if there are unqualified electronic detonators, more electronic detonators need to be inspected in production so that the final number of qualified electronic detonators meets the requirements of the work order. Accordingly, it is necessary to continue to generate new electronic detonator IDs for subsequent inspections.
[0114] To this end, the process of the host computer sending the injection code instruction also includes:
[0115] Step 207, determine whether the electronic detonator ID allocation count is greater than the production quantity,
[0116] If yes, then obtain all the test information of the manufacturer and the type, count the number of qualified test results in all the test information, if the number of qualified test results is less than the production quantity, update the production quantity to the new production quantity, the new production quantity = the production quantity before the update + (the production quantity before the update - the qualified quantity); then determine the current serial number according to the electronic detonator ID allocation count and the starting serial number, and execute step 208;
[0117] If not, the current serial number is determined according to the electronic detonator ID allocation count and the starting serial number, and step 208 is executed.
[0118] Before executing step 208 each time, it is necessary to execute step 207 for judgment. If the electronic detonator ID allocation count is less than or equal to the production quantity (i.e. the "No" situation), the detection quantity does not meet the production quantity, and directly enter step 208 to generate a new electronic detonator ID. If the electronic detonator ID allocation count is greater than the production quantity (i.e. the "Yes" situation), the detection quantity has exceeded the production quantity. At this time, it is necessary to count the number of qualified test results in all the test information stored in the upper computer based on the electronic detonator work order. If the qualified number is less than the production number, it is necessary to continue to generate continuous new electronic detonator IDs under the previous electronic detonator ID until the qualified number is equal to the production number.
[0119] In order to realize the injection of the electronic detonator ID of the subsequent electronic detonator detection, it is necessary to update the production quantity originally set in the electronic detonator work order. The updated production quantity also needs to be recorded in the host computer. The update method is: obtain the missing qualified quantity + the production quantity before the update (it can be the original production quantity or the production quantity updated last time). Accordingly, the electronic detonator ID allocation count continues to be updated every time step 208 is completed, and the count can reflect the total number of electronic detonators that have been detected and injected. After updating the production quantity, execute step 208. If the qualified quantity is equal to the production quantity, it is considered that the required number of qualified electronic detonators in the current electronic detonator work order has been completed, and the status of the electronic detonator work order needs to be marked as "completed" and transferred to other storage spaces. In this way, when the detection information of electronic detonators of the same manufacturer and type is sent to the host computer, the new electronic detonator work order is matched through step 206 (the electronic detonator work order with the highest priority is obtained according to the priority, which is generally determined according to the configuration time). Afterwards, steps 207 and 208 perform subsequent judgments, generate electronic detonator IDs, and other processes based on the information in the electronic detonator work order.
[0120] The introduction of step 207 can, on the one hand, enter the code supplement process for work orders with insufficient qualified quantity, that is, generate more electronic detonator IDs to be injected into the electronic detonator modules for subsequent inspection and to be coded on the detonator shells. In this process, after the production quantity is updated in step 207, after the current serial number is determined in step 208, a new electronic detonator ID is generated based on the newly determined current serial number and other information.
[0121] On the other hand, it can also be used to determine whether the electronic detonator work order is completed. If it is completed, the above process is executed for the new electronic detonator work order of the same manufacturer and type, so as to avoid the chaotic execution of the production inspection process of multiple electronic detonator work orders of the same manufacturer and type. For electronic detonator work orders of different types belonging to the same manufacturer, or electronic detonator work orders of the same type belonging to different manufacturers, or electronic detonator work orders of different types belonging to different manufacturers, the work orders can be matched according to the manufacturer information and type of the detection information, and the judgment and injection code instruction process can be executed respectively.
[0122] After the production detector receives the coding instruction, the coding information is injected into the chip of the electronic detonator module to be tested. The production detector feeds back the coding result to the host computer. After receiving the coding result, the host computer stores it in correspondence with the detection information of the electronic detonator belonging to the same electronic detonator work order information. Afterwards, the host computer will send a coding instruction to the production detector, and the production detector executes step 114 to code the electronic detonator ID on the detonator shell by laser coding. For example, the electronic detonator ID can be directly printed on the detonator shell, or the electronic detonator ID can be converted into a two-dimensional code or a serial code, and the code diagram can be printed on the detonator shell.
[0123] After the coding is completed, the production detector feeds back the coding result to the host computer, which stores the coding result and the detection information of the electronic detonator belonging to the same electronic detonator work order information in correspondence.
[0124] Correspondingly, the production detector will also store the detection information, coding results, coding results and electronic detonator ID of the electronic detonators belonging to the same electronic detonator work order in correspondence with each other.
[0125] In this way, the host computer can present the record information of each electronic detonator work order through the display screen. The host computer can also collect statistics on the detection record information related to each electronic detonator work order, so as to facilitate the management end to coordinate the production situation. The production end staff can monitor the production situation through the detection record information related to each electronic detonator work order stored in the production detector.
[0126] The embodiments described above are merely preferred embodiments of this specification and are not intended to limit the scope of this specification. Without departing from the design spirit of this specification, various modifications and improvements made to the technical solutions of this specification by ordinary technicians in this field should fall within the scope of protection determined by the claims of this specification.
Claims
1. A method for producing and testing electronic detonators, executed on a production tester, characterized in that: Methods include: Acquire a captured image of the electronic detonator to be tested; Based on the detonator shell information in the collected image, determine the manufacturer of the electronic detonator; Determine the type of the electronic detonator based on the injection molding image of the detonator module in the acquired image; According to the manufacturer and type of the electronic detonator, the corresponding production inspection process shall be carried out on the electronic detonator on the side.
2. The method according to claim 1, characterized in that The step of determining the manufacturer of the electronic detonator based on the detonator shell information in the collected image includes: Obtaining color information of the detonator shell in the collected image; By comparing the electronic detonator manufacturer list obtained from the host computer, the manufacturer information corresponding to the color information of the detonator shell is obtained; the electronic detonator manufacturer list stores the manufacturer information of multiple electronic detonators from different manufacturers and the color information of the detonator shell stored corresponding to the manufacturer information.
3. The method according to claim 2, characterized in that The color information is a pixel value; the comparison of the electronic detonator manufacturer list obtained from the host computer to obtain the manufacturer information corresponding to the color information of the detonator shell includes: Convert the pixel value of the detonator shell in the collected image into a pixel range, wherein the pixel range is [pixel value-error pixel value, pixel value+error pixel]; It is detected whether the pixel value in the electronic detonator manufacturer list is within the pixel range. If so, it is determined that the manufacturer information corresponding to the pixel value in the electronic detonator manufacturer list is the manufacturer information of the electronic detonator to be tested.
4. The method according to claim 2 or 3, characterized in that: The step of determining the manufacturer of the electronic detonator based on the detonator shell information in the collected image further includes: When at least two pieces of manufacturer information corresponding to the color information of the detonator shell are obtained, an infrared spectrum of the detonator shell of the electronic detonator to be tested is obtained; Analyze the infrared spectrum of the detonator shell to determine the material of the detonator shell; The electronic detonator manufacturer list is compared with at least two entries that match the color information of the detonator shell in the collected image to obtain manufacturer information corresponding to the detonator shell material; the electronic detonator manufacturer list also stores the detonator shell material stored corresponding to the manufacturer information.
5. The method according to claim 1, characterized in that The method of determining the type of the electronic detonator based on the injection molded body image of the detonator module in the collected image includes: Acquire an injection molding body image of the detonator module in the acquired image; Based on the manufacturer to which the electronic detonator belongs, a list of electronic detonator types of the corresponding manufacturer is obtained from a host computer; the list of electronic detonator types stores the types of electronic detonators belonging to the manufacturer and sample images stored corresponding to the types; The injection molded body image is compared with each sample image in the electronic detonator type list for similarity. If they are the same, the type corresponding to the sample image is determined as the type of the electronic detonator to be tested.
6. The method according to claim 1, characterized in that Also includes: After the production test process of the electronic detonator to be tested is completed, the test information is sent to the host computer; the test information includes manufacturer information, type and test results; Receive the injection code instruction sent by the host computer, parse the injection code instruction to obtain the injection code information, and inject the injection code information into the detonator module; the injection code information includes the electronic detonator ID; the electronic detonator ID is generated by the host computer based on the manufacturer information and type in the detection information, and the electronic detonator work order corresponding to the manufacturer information and type is obtained; the information stored in the electronic detonator work order includes the manufacturer code, type code, detonator date, machine number, boxing specification, starting box number, starting serial number, current serial number, and production quantity; The electronic detonator ID is laser-coded on the detonator shell of the electronic detonator.
7. The method according to claim 6, characterized in that The process of the host computer sending the injection code instruction includes: The host computer receives the detection information sent by the production detector; According to the code mapping table, the manufacturer code is determined according to the manufacturer information and the type code is determined according to the type; the code mapping table includes a first code mapping table storing the manufacturer code and its corresponding manufacturer information, and a second code mapping table storing the type code and its corresponding type; Based on the manufacturer code and type code, the corresponding electronic detonator work order is matched; According to the electronic detonator ID allocation count and the starting serial number, the current serial number is determined, a new electronic detonator ID is generated based on the information stored in the electronic detonator work order, and a coding instruction containing the electronic detonator ID is formed and sent to the production tester; the initial value of the electronic detonator ID allocation count is 0, and after the coding instruction containing the electronic detonator ID is sent to the production tester, the electronic detonator ID allocation count associated with the manufacturer and the type of detection information is increased by one.
8. The method according to claim 7, characterized in that The process of the host computer sending the injection code instruction also includes: Before determining the current serial number based on the electronic detonator ID allocation count and the starting serial number, determine whether the electronic detonator ID allocation count is greater than the production quantity. If so, obtain all the test information of the manufacturer and the type, and count the number of qualified test results in all the test information. If the number of qualified test results is less than the production quantity, update the production quantity to a new production quantity, where the new production quantity = the production quantity before the update + (the production quantity before the update - the qualified quantity). Then, determine the current serial number based on the electronic detonator ID allocation count and the starting serial number. If not, determine the current serial number based on the electronic detonator ID allocation count and the starting serial number.
9. The method according to claim 8, characterized in that The process of the host computer sending the injection code instruction also includes: When there are multiple electronic detonator work orders that are matched based on the manufacturer code and type code, the earliest electronic detonator work order is obtained; When the number of qualified test results in all the test information obtained by statistics is equal to the production quantity, the current serial number is determined according to the electronic detonator ID allocation count and the starting serial number; After receiving the injection result and coding result of the electronic detonator ID sent by the production detector, the current electronic detonator work order is transferred from the storage space to be produced to the production completion storage space.
10. The method according to claim 6, characterized in that Also includes: The detection information, coding results, coding results and electronic detonator IDs of the electronic detonators belonging to the same electronic detonator work order are stored in the production detector in correspondence with each other; The coding result and the coding result are fed back to the host computer, so that the detection information, the coding result, the coding result and the electronic detonator ID of the electronic detonator belonging to the same electronic detonator work order are stored in the host computer in correspondence with each other.
