[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN114118337B - Batch medicine bottle classifying and counting method and device - Google Patents

Batch medicine bottle classifying and counting method and device Download PDF

Info

Publication number
CN114118337B
CN114118337B CN202111376335.XA CN202111376335A CN114118337B CN 114118337 B CN114118337 B CN 114118337B CN 202111376335 A CN202111376335 A CN 202111376335A CN 114118337 B CN114118337 B CN 114118337B
Authority
CN
China
Prior art keywords
detector
medicine bottle
infrared
pulse
infrared receiver
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111376335.XA
Other languages
Chinese (zh)
Other versions
CN114118337A (en
Inventor
张能军
张佳旋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Nubomed Technology Co Ltd
Original Assignee
Shenzhen Nubomed Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Nubomed Technology Co Ltd filed Critical Shenzhen Nubomed Technology Co Ltd
Priority to CN202111376335.XA priority Critical patent/CN114118337B/en
Publication of CN114118337A publication Critical patent/CN114118337A/en
Application granted granted Critical
Publication of CN114118337B publication Critical patent/CN114118337B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06MCOUNTING MECHANISMS; COUNTING OF OBJECTS NOT OTHERWISE PROVIDED FOR
    • G06M1/00Design features of general application
    • G06M1/27Design features of general application for representing the result of count in the form of electric signals, e.g. by sensing markings on the counter drum
    • G06M1/272Design features of general application for representing the result of count in the form of electric signals, e.g. by sensing markings on the counter drum using photoelectric means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/12Classification; Matching
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Medical Preparation Storing Or Oral Administration Devices (AREA)

Abstract

The invention relates to a classification counting method and a classification counting device for batch medicine bottles. The user only needs to throw the batch medicine bottles into the detector, the detector firstly judges whether the passing medicine bottles exist in the category of the pre-stored medicine bottles, and then counts the medicine bottles into the corresponding category number.

Description

Batch medicine bottle classifying and counting method and device
Technical Field
The invention relates to the technical fields of new generation information technology and biological medicine industry, in particular to a classification counting method and device for batch medicine bottles.
Background
In the process of using medicine bottles in hospitals, the flow direction of the medicine bottles is always required to be monitored in the whole process for the state management and control of the medicine bottles, the counting of the existing medicine bottles is usually required to count the medicine bottles one by one, the mode can only realize the whole counting of the same kind of medicine bottles, the classification counting of the medicine bottles cannot be realized, and the counting efficiency is low one by one.
Disclosure of Invention
Based on the method and the device, the batch medicine bottles are classified and counted, so that the batch medicine bottles are classified and counted, and meanwhile, the counting efficiency is improved.
A method of classifying and counting bulk vials, comprising a detector, the method comprising:
acquiring a pulse signal generated after the medicine bottle passes through the detector;
detecting a duration of each of the pulse signals;
calculating medicine bottle category information corresponding to the pulse signal according to the duration time of the pulse signal and a prestored pulse category coefficient;
and classifying and counting the medicine bottles according to the calculated medicine bottle category information corresponding to the pulse signals.
In one embodiment, the medicine bottle category information is length information of a medicine bottle, a preset distance above the detector is provided for setting a corresponding speed control member, and the method further includes:
each medicine bottle is controlled to pass through the corresponding detector at a preset speed through the speed control part;
correspondingly, the calculating the medicine bottle category information corresponding to the pulse signal according to the duration time of the pulse signal and the prestored pulse category coefficient comprises the following steps:
and calculating the length information of each medicine bottle according to the duration time of the pulse signal and the prestored pulse class coefficient.
In one embodiment, the method further comprises:
controlling a plurality of medicine bottles with known medicine bottle lengths Ci to pass through the detector at the preset speed through the speed control part;
acquiring the duration Ti of the corresponding pulse signal generated by the detector;
calculating to obtain the pulse class coefficient Ki, wherein Ki=Ci/Ti;
the pulse class coefficients Ki are prestored.
In one embodiment, the pulse signal is a level signal, the detector includes a touch pad, an infrared emitter, and an infrared receiver, and the method further includes:
controlling the infrared emitter to emit infrared rays to the infrared receiver;
controlling the infrared receiver to generate a high-level signal;
when the infrared receiver does not receive infrared rays, controlling the infrared receiver to generate low-level information;
when the medicine bottle passes through the detector, the medicine bottle pushes the touch control plate to rotate, and the infrared emitter emits infrared rays to the infrared receiver to be blocked by the touch control plate.
In one embodiment, the pulse signal is a level signal, the detector includes a touch pad, an infrared emitter, and an infrared receiver, and the method further includes:
controlling the infrared emitter to emit infrared rays to the infrared receiver;
controlling the infrared receiver to generate a low-level signal;
when the infrared receiver does not receive infrared rays, controlling the infrared receiver to generate high-level information;
when the medicine bottle passes through the detector, the medicine bottle pushes the touch control plate to rotate, and the infrared emitter emits infrared rays to the infrared receiver to be blocked by the touch control plate.
In one embodiment, the method comprises M medicine bottles and N detectors, wherein M is greater than or equal to N, and the method further comprises:
when the infrared receiver of any one detector generates a low-level signal, generating a pulse signal waveform diagram according to the low-level signal;
acquiring classification counting results of the M medicine bottles according to the pulse signal waveform diagram;
wherein the pulse signal waveform diagram includes a duration of the low level signal.
A batch vial sort counting device comprising:
a detector;
and the controller is used for executing the classification counting method of the batch medicine bottles when the batch medicine bottles pass through the detector so as to classify and count the batch medicine bottles.
In one embodiment, the infrared detector further comprises a bracket, wherein the detector comprises a touch control plate, an infrared emitter and an infrared receiver, the touch control plate is rotationally connected with the bracket, the detector is arranged above the touch control plate, and the infrared receiver is used for receiving infrared rays emitted by the infrared emitter to generate the high-level signal or the low-level signal;
when the medicine bottle passes through the detector, the medicine bottle pushes the touch control plate to rotate between the infrared emitter and the infrared receiver so as to shield infrared rays emitted by the infrared emitter.
In one embodiment, the medicine bottle packaging device further comprises a guide plate, a plurality of sliding grooves are formed in the side face of the guide plate, the support is arranged at one end of the guide plate, the detector comprises a plurality of detectors and a plurality of sliding grooves are arranged in one-to-one correspondence, and therefore medicine bottles in batches can slide along any sliding groove to pass through the detectors so as to generate the pulse signals.
In one embodiment, the medicine bottle feeding device further comprises a speed control piece, the speed control piece is arranged on the guide plate, the medicine bottle can slide along the sliding groove through the speed control piece until the medicine bottle passes through the detector, and the speed control piece can control the moving speed of the medicine bottle.
According to the classification counting method and device for batch medicine bottles, firstly, pulse signals and duration time generated by batch medicine bottles through a detector are obtained, corresponding medicine bottle type information is calculated according to the duration time and pre-stored pulse type coefficients, and then medicine counts are corresponding to different medicine bottle type information. The user only needs to throw the batch medicine bottles into the detector, the detector firstly judges whether the passing medicine bottles exist in the category of the pre-stored medicine bottles, and then counts the medicine bottles into the corresponding category number.
Drawings
FIG. 1 is a flow chart of a sorting and counting method for bulk vials according to a first embodiment;
FIG. 2 is a schematic flow chart of a sorting and counting method for bulk medicine bottles in the first embodiment;
FIG. 3 is a flow chart of pre-storing pulse class coefficients in the classification counting method of bulk vials according to the first embodiment;
FIG. 4 is a flow chart showing a process of sending a pulse signal from a detector in the sorting and counting method of bulk vials according to the first embodiment;
FIG. 5 is a schematic diagram of another flow chart of the method for classifying and counting bulk vials according to the first embodiment;
FIG. 6 is a schematic diagram showing the pulse signal sent by the detector in the sorting and counting method of bulk medicine bottles in the first embodiment;
FIG. 7 is another schematic diagram of the method for classifying and counting bulk vials according to the first embodiment, wherein the detector sends out a pulse signal;
FIG. 8 is a perspective view of a sorting and counting device for bulk vials in accordance with the second embodiment;
fig. 9 is a perspective view of a counting unit of a sorting and counting device for bulk medicine bottles in the second embodiment;
fig. 10 is a schematic view showing a partial structure of a detector of a sorting and counting device for bulk medicine bottles in the second embodiment.
Reference numerals: the medicine bottle classifying and counting device 10, the bracket 100, the touch control plate 210, the detector 220, the infrared emitter 221, the infrared receiver 223, the guide plate 300, the chute 310, the direction adjusting piece 400, the speed control piece 500 and the motor 600.
Detailed Description
In order that the invention may be readily understood, a more complete description of the invention will be rendered by reference to the appended drawings. Preferred embodiments of the present invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "fixed to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like are used herein for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
Example 1
Referring to fig. 1, in the present embodiment, a classification counting method of bulk medicine bottles is provided for classifying and counting bulk medicine bottles. The method needs to use the detector 220, a user inputs a lot of medicine bottles with unknown quantity into the detector 220, the detector 220 performs classified counting statistics on the medicine bottles with unknown quantity, the medicine bottle counting efficiency is improved, and meanwhile counting errors are reduced. It will be appreciated that the batch drug vial sort counting method is typically used in locations where it is desirable to manage the flow of drug vials, such as hospitals for empty bottle inventory of drug vials. The classifying and counting method of the batch medicine bottles specifically comprises the following steps:
step S100: the pulse signal generated after the bulk vials pass through the detector 220 is acquired.
The detector 220 has an input end and an output end, when the input end of the detector 220 is powered on, the input end converts the electrical signal into an optical signal and emits light to irradiate the output end, the output end receives the light and converts the optical signal into the electrical signal, and the detector 220 emits a pulse time sequence waveform according to the electrical signal received by the output end, wherein the pulse time sequence waveform is a pulse signal and is transmitted to the controller. It is understood that the detector 220 may be an infrared photoelectric tube, a photon detector 220, or other devices capable of implementing a counting function, for example, the detector 220 is an infrared detector 220, and when the medicine bottle passes through the infrared detector 220, the infrared detector 220 emits a pulse signal, and the pulse signal is a pulse time sequence waveform emitted by the detector 220 according to a certain voltage amplitude.
Specifically, the pulse signal generated by the detector 220 is sent to the controller, and the controller receives the pulse signal generated by the detector 220 and analyzes the pulse signal. The plurality of detectors 220 are in communication connection with the controller, and each detector 220 corresponds to a signal transmission path, so that the plurality of detectors 220 can simultaneously send a plurality of pulse signals to the controller, and the controller can simultaneously analyze the plurality of pulse signals to improve the counting efficiency of the medicine bottle.
Step S200: the duration of each pulse signal is detected.
Specifically, the controller obtains the duration of each pulse signal according to the received pulse signal, where the duration of each pulse signal is the duration of the voltage change in each pulse timing waveform, and the duration of the voltage change is the time when the vial passes through the detector 220. Different pulse timing waveforms are generated by the detector 220 for different size vials, and the controller detects the duration of the corresponding pulse duration waveform based on the pulse timing waveforms transmitted by the multiple channels.
Step S300: and calculating medicine bottle type information corresponding to the pulse signals according to the duration time of the pulse signals and the prestored pulse type coefficient.
The controller includes a storage unit, the storage unit is used for pre-storing pulse type coefficients, different pulse signals can be transmitted by the detector 220 through the medicine bottles with different specification sizes, corresponding duration and pulse type coefficients can be obtained according to the pulse signals, the controller stores the pulse type coefficients and the duration of the different specification sizes correspondingly in advance, wherein the output pulse time sequence waveforms of the medicine bottles with the same specification size are the same, namely the duration and the pulse type coefficients of the pulse signals are the same, and the storage unit stores the pulse type coefficients of the medicine bottles with different specification sizes in a classified mode according to the medicine bottles with different specification sizes.
Specifically, the controller immediately extracts the pulse class coefficient associated with the corresponding pulse signal from the storage unit according to the duration of the received pulse signal, and further calculates the corresponding medicine bottle class information through the acquired duration and pulse class coefficient. For example, taking the 1 st vial as an example, the controller acquires the duration of the pulse signal received by the 1 st vial, extracts the corresponding pulse type coefficient from the pulse signal, and calculates the vial type information of the 1 st vial from the acquired duration of the pulse signal and the pulse type coefficient. Wherein, medicine bottle category information is the length information of medicine bottle.
Step S400: and classifying and counting the medicine bottles according to the calculated medicine bottle category information corresponding to the pulse signals.
The controller pre-stores the length information of the medicine bottles according to the specification sizes of the medicine bottles.
Specifically, the controller compares the calculated medicine bottle type information with prestored medicine bottle length information, judges whether the medicine bottle type information is consistent with the prestored medicine bottle length, and can judge the real length information of the put medicine bottle, namely the specification size of the medicine bottle, then the counting unit of the controller counts according to the specification size according to the identified medicine bottle type information, namely different medicine bottle type information counts respectively according to the respective specification size, and therefore classification counting of batches of medicine bottles is achieved. For example, when the controller calculates that the medicine bottle category information of the medicine bottle No. 1 belongs to the A type in the length information of the prestored medicine bottle, the counting unit of the controller starts counting the identified medicine bottle No. 1 according to the A type, and when the medicine bottle category information of the medicine bottle No. 2 calculated by the controller belongs to the B type in the length information of the prestored medicine bottle, the counting unit of the controller correspondingly counts the medicine bottle No. 2 according to the B type, and the like, so that the classification counting of the batch medicine bottles is realized.
Referring to fig. 2, in this embodiment, the method further includes a speed control member 500, and the corresponding speed control member 500 is set at a preset distance above the detector 220, which specifically includes the following steps:
step S001: each vial is controlled by the speed control 500 to pass the corresponding detector 220 at a preset speed.
Wherein, the speed control member 500 is disposed at a position close to the detector 220, and the speed control member 500 may be an elastic soft material, such as a sponge, which generates friction force to the medicine bottle when the medicine bottle passes under the speed control member 500, so as to control the falling speed of the medicine bottle. In another embodiment, the speed control member 500 may be driven by a motor 600, a cylinder, or other drivers, for example, the motor 600 may preset the rotation speed of the motor 600 to control the rotation of the speed control member 500, and the preset rotation speed may be flexibly adjusted according to the actual sliding condition of the medicine bottle.
When a plurality of medicine bottles with different specifications pass through the detector 220, different gravity accelerations may be caused due to different weight volumes of the medicine bottles, and thus the time for the medicine bottles with different specifications to pass through the detector 220 is the same, the speed control member 500 controls the sliding speed of the medicine bottles so that the speed of the medicine bottles passing through the detector 220 is the same as the preset speed, and the influence of the sliding speed of the medicine bottles on the counting accuracy of the detector 220 is reduced. When the medicine bottle moves through the detector 220, two medicine bottles may be caused to slide down, and at this time, the medicine bottle is first passed under the speed control member 500, the speed control member 500 generates extrusion force on the medicine bottle, and meanwhile, the speed control member 500 drives the medicine bottle to move synchronously with the first essential medicine bottle, so that the moving speed of the medicine bottle is synchronous with the rotating speed of the speed control member 500, when the first medicine bottle moves to be separated from the speed control member 500 or is about to be separated from the speed control member 500, the medicine bottle enters under the speed control member 500, and the situation that the first medicine bottle and the second medicine bottle are connected and pass through the detector 220 together is effectively avoided, so that the counting accuracy of the detector 220 is ensured.
Specifically, after the speed controller 500 controls each vial to pass through the detector 220, a pulse signal generated after each vial passes through the detector 220 is acquired, and the duration of each pulse signal, which is the real time for each vial to pass through the detector 220, is detected.
Correspondingly, calculating the medicine bottle category information of the corresponding pulse signal according to the duration time of the pulse signal and the prestored pulse category coefficient comprises the following steps:
step S003: and calculating the length information of each medicine bottle according to the duration time of the pulse signal and the prestored pulse class coefficient.
Specifically, after the duration of each pulse signal acquired by the controller, the pulse type coefficient of the corresponding pulse signal is immediately extracted, the length information of the medicine bottle of each medicine bottle is calculated according to the duration and the pulse type coefficient, the controller continues to judge whether the calculated length information of each medicine bottle is consistent with the length of one of the prestored medicine bottles, and if so, the controller counts according to the prestored specification and size respectively.
Referring to fig. 3, in this embodiment, the method further includes pre-storing the vial category coefficients, which specifically includes the steps of:
step S010: a plurality of vials of known vial length Ci are controlled by the speed control 500 to pass through the detector 220 at a preset speed.
The user puts the poison bottles commonly used in the market into the detector 220 in advance, and after passing through the detector 220, the poison bottles with different specifications and sizes generate different pulse signals, the pulse signals corresponding to the poison bottles with the same specification and size are approximately the same, and the controller correlates the pulse signals corresponding to the poison bottles with different specifications and sizes and stores the pulse signals to the local. It can be appreciated that the speed of the medicine bottles passing through the detector 220 after passing through the speed control member 500 is effectively guaranteed to be consistent, so as to improve the accuracy of the detector 220, after the speed control member 500 prestores the information of a plurality of medicine bottles with known medicine bottle lengths Ci, a user passes a lot of medicine bottles with unknown quantity through the detector 220, the rotating speed of the speed control member 500 is kept consistent with the rotating speed of the prestored medicine bottle information, and under the condition of consistent rotating speed, the moving speed of the medicine bottles with the same specification and size is more accurate.
Specifically, assuming that there are 3 specifications of the conventional medicine bottles for use in hospitals, the specifications of the medicine bottles have a relationship with the medicine bottle length Ci, the user puts the 3-specification-sized medicine bottles into the detector 220 in advance. For example, given a 1ml vial length of C1, a 2ml vial length of C2, and a 3 ml vial length of C5, a user drops a 3 gauge vial into the detector 220, C1 generates a 1 pulse signal when passing through the detector 220, C2 generates a 2 pulse signal when passing through the detector 220, C3 generates a 3 pulse signal when passing through the detector 220, and the controller correlates the vial length Ci with the corresponding pulse signal and stores it locally.
Step S020: the duration Ti of the corresponding pulse signal generated by the detector 220 is acquired.
The controller obtains duration time Ti corresponding to the pulse signals according to the pulse signals, where the duration time Ti of the pulse signals is duration time Ti of voltage change in pulse time sequence waveforms sent by the detector 220, that is, time when the medicine bottle passes through the detector 220, different medicine bottle lengths Ci correspond to different duration time Ti, and duration time Ti of the same medicine bottle length Ci is the same.
Specifically, the controller acquires the corresponding duration Ti from the pulse signals of the known 3-specification medicine bottles, for example, the duration of the acquisition of the micro-process from the received 1 st pulse signal is T1, the duration of the acquisition of the 2 nd pulse signal is T2, and the duration of the acquisition of the 3 rd pulse signal is T3, and at the same time, the controller correlates the corresponding medicine bottle length Ci and duration Ti and stores them locally. That is, C1 and T1 of vial 1 are associated and stored locally, C2 and T2 of vial 2 are associated and stored locally, and C3 and T3 of vial 3 are associated and stored locally.
Step S030: the pulse class coefficients Ki are calculated, where ki=ci/Ti.
Specifically, the controller has a calculation unit that calculates a corresponding pulse class coefficient Ki according to vial length information Ci and a corresponding duration Ti of different-specification vials, where ki=ci/Ti. For example, when calculating the pulse type coefficient of the No. 1 medicine bottle, the calculation unit extracts C1, T1 of the No. 1 medicine bottle from the storage unit, calculates the pulse type coefficient of the No. 1 medicine bottle to be K1 based on ki=ci/Ti, and so on, the pulse type coefficient of the No. 2 medicine bottle to be K2, and the pulse type coefficient of the No. 3 medicine bottle to be K3.
Step S040: the pulse class coefficients Ki are prestored.
Specifically, the controller correlates the medicine bottle information of the unified specification and the medicine bottles of 3 different specifications are marked as 1#, 2# and 3#, so that the medicine bottle length Ci, the duration Ti and the pulse class coefficient Ki of the same specification and the medicine bottle length Ci are correlated and stored to a marking position n#, and a user can extract corresponding medicine bottle information according to the virtual addresses set by the controller. For example, the position marked 1# stores the vial length information C1, the duration T1, and the pulse class coefficient K1 for the vial number 1, the vial length information C2, the duration T2, and the pulse class coefficient K2 for the vial number 2 marked 2# and the vial length information C3, the duration T3, and the pulse class coefficient K3 for the vial number 3 marked 31 #.
In this embodiment, after pre-storing the known vial length information Ci, duration Ti, and pulse class coefficient Ki, the user may drop bulk vials into the plurality of detectors 220 to effect a classified count of bulk vials. Specifically, a lot of unknown number of medicine bottles pass through the plurality of detectors 220, the plurality of detectors 220 output a plurality of pulse signals to the controller according to the plurality of medicine bottles passing through, the controller can analyze a plurality of groups of pulse signals simultaneously, each pulse signal can obtain a duration ti, the controller extracts a pulse type coefficient Ki and medicine bottle length information Ci associated with the corresponding pulse signal, calculates medicine bottle type information Li according to the duration ti and the pulse type coefficient Ki, compares the medicine bottle type information Li with the medicine bottle length information Ci, determines whether the medicine bottle type information Li exists in prestored medicine bottle length information Ci, and the counting unit counts the medicine bottles input at this time according to marked position information n# of Ci respectively. For example, when the controller calculates that the category information L1 identifying the number 1 vial exists in the prestored vial length information C1, the counting unit counts the number 1 vial in accordance with the position information of the number 1 vial, and so on.
In another embodiment, the method of classifying and counting bulk vials further comprises: the controller sends summary information of batch medicine bottle classification count to an upper computer, wherein the summary information comprises 5C 1 s of 1#, 3C 2 s of 2# and 7C 3 s of 3#, the upper computer receives and displays the summary information, and judges whether medicine bottles of each specification Ci are put in or not according to the summary information, and whether the number of medicine bottles of each specification Ci meets the preset number or not.
Referring to fig. 4, in this embodiment, the method for classifying and counting bulk medicine bottles includes the specific steps of sending out a pulse signal by the detector 220:
step S101: the infrared emitter 221 is controlled to emit infrared rays toward the infrared receiver 223.
The pulse signal is a level signal, the pulse signal output by the detector 220 is different from the level signal received by the detector 220, and the detector 220 includes a touch pad 210, an infrared transmitter 221 and an infrared receiver 223.
Specifically, taking the detector 220 as an infrared detector 220 as an example, the detector 220 includes an infrared emitter 221 and an infrared receiver 223, when the detector 220 is powered on, the infrared emitter 221 converts an electrical signal into an optical signal, and when the detector 220 is powered on, the infrared emitter 221 continuously emits infrared rays to the infrared receiver 223, and the infrared receiver 223 is used for converting the optical signal into an electrical signal, that is, infrared rays received by the infrared receiver 223 are converted into an electrical signal and transmitted to the controller. The detector 220 has a U-shaped groove, the infrared emitter 221 and the infrared receiver 223 are located on two opposite groove walls of the U-shaped groove, in general, the infrared receiver 223 can always receive the infrared light emitted by the infrared emitter 221, when a shielding object is located in the U-shaped groove, the infrared receiver 223 cannot receive the infrared light, at this time, the electrical signal output by the detector 220 changes, and the controller performs analysis and calculation according to the change of the output electrical signal. The electrical signal output by the detector 220 is a level signal, that is, a pulse signal, and the controller performs analysis and judgment according to the pulse signal output by the detector 220.
Step S102: the infrared receiver 223 is controlled to generate a high level signal.
Specifically, when the detector 220 is powered on, the infrared transmitter 221 continuously transmits a high level to the infrared receiver 223, and the infrared receiver 223 can also receive the high level signal, so that the pulse signal transmitted by the infrared receiver 223 is in a high level waveform with almost horizontal level.
Step S103: when the infrared receiver 223 does not receive the infrared rays, the infrared receiver 223 is controlled to generate low level information, wherein when the medicine bottle passes through the detector 220, the medicine bottle pushes the touch pad 210 to rotate, and the infrared transmitter 221 transmits the infrared rays to the infrared receiver 223 to be blocked by the touch pad 210.
Specifically, when the detector 220 is shielded by the shielding object, the infrared receiver 223 cannot receive the infrared light emitted by the infrared emitter 221, that is, cannot receive the high-level signal emitted by the infrared emitter 221, and the output signal of the level is changed, so that the output signal of the infrared receiver 223 is changed to be converted into the low-level signal, the detector 220 transmits the low-level signal to the controller, that is, the pulse signal is transmitted to the controller, and the controller can obtain the duration according to the pulse signal, that is, the passing time of the medicine bottle. It can be appreciated that, the medicine bottle is usually made of transparent material, when the user directly drops the medicine bottle into the detector 220, the detector 220 causes a receiving error of the level signal due to the transparent material, and at this time, the medicine bottle shields the infrared ray emitted by the infrared receiver 223 by pushing the touch pad 210, and the baffle plate makes the infrared receiver 223 clear for receiving the infrared ray, so as to ensure the output accuracy of the level signal.
Referring to fig. 5-7, in this embodiment, the specific step of sending out a pulse signal by the detector 220 in the classification counting method of bulk medicine bottles further includes:
step S111: the infrared emitter 221 is controlled to emit infrared rays toward the infrared receiver 223.
The pulse signal is a level signal, the pulse signal output by the detector 220 is different from the level signal received by the detector 220, and the detector 220 includes a touch pad 210, an infrared transmitter 221 and an infrared receiver 223.
Specifically, taking the detector 220 as an infrared detector 220 as an example, the detector 220 includes an infrared emitter 221 and an infrared receiver 223, when the detector 220 is powered on, the infrared emitter 221 converts an electrical signal into an optical signal, and when the detector 220 is powered on, the infrared emitter 221 continuously emits infrared rays to the infrared receiver 223, and the infrared receiver 223 is used for converting the optical signal into an electrical signal, that is, infrared rays received by the infrared receiver 223 are converted into an electrical signal and transmitted to the controller. The detector 220 has a U-shaped groove, the infrared emitter 221 and the infrared receiver 223 are located on two opposite groove walls of the U-shaped groove, in general, the infrared receiver 223 can always receive the infrared light emitted by the infrared emitter 221, when a shielding object is located in the U-shaped groove, the infrared receiver 223 cannot receive the infrared light, at this time, the electrical signal output by the detector 220 changes, and the controller performs analysis and calculation according to the change of the output electrical signal. The electrical signal output by the detector 220 is a level signal, that is, a pulse signal, and the controller performs analysis and judgment according to the pulse signal output by the detector 220.
Step S112: the infrared receiver 223 is controlled to generate a low level signal.
Specifically, under power-up conditions of the detector 220, the infrared transmitter 221 continuously transmits a low level to the infrared receiver 223, and the infrared receiver 223 is also capable of receiving the low level signal, so that the pulse signal transmitted by the infrared receiver 223 is in a low level waveform with almost horizontal level.
Step S113: when the infrared receiver 223 does not receive the infrared rays, the infrared receiver 223 is controlled to generate high level information, wherein when the medicine bottle passes through the detector 220, the medicine bottle pushes the touch pad 210 to rotate, and the infrared transmitter 221 transmits the infrared rays to the infrared receiver 223 to be blocked by the touch pad 210.
Specifically, when the detector 220 is shielded by the shielding object, the infrared receiver 223 cannot receive the infrared light emitted by the infrared emitter 221, that is, cannot receive the low-level signal emitted by the infrared emitter 221, and the output signal of the level is changed, so that the output signal of the infrared receiver 223 is changed to be converted into the high-level signal, the detector 220 transmits the high-level signal to the controller, that is, the pulse signal is transmitted to the controller, and the controller can obtain the duration according to the pulse signal, that is, the passing time of the medicine bottle.
It can be appreciated that, the medicine bottle is usually made of transparent material, when the user directly drops the medicine bottle into the detector 220, the detector 220 causes a receiving error of the level signal due to the transparent material, and at this time, the medicine bottle shields the infrared ray emitted by the infrared receiver 223 by pushing the touch pad 210, and the baffle plate makes the infrared receiver 223 clear for receiving the infrared ray, so as to ensure the output accuracy of the level signal.
In this embodiment, the sorting and counting method for bulk medicine bottles further specifically includes N detectors 220 and M medicine bottles, where N is greater than or equal to 2, M is greater than or equal to N, when a user puts M medicine bottles into N detectors 220, M medicine bottles sequentially pass through N detectors 220, when none of N detectors 220 passes through, infrared emitter 221 of N detectors 220 continuously emits infrared rays to infrared receiver 223, and further continuously outputs a high-level signal, and when one of M medicine bottles passes through any one detector 220, infrared rays emitted by infrared emitter 221 of detector 220 are blocked, so that infrared receiver 223 does not receive infrared rays, and at this time, the output signal of detector 220 changes, and the high-level signal is converted into a low-level signal.
Referring to fig. 6 and 7, the detector 220 generates a pulse signal waveform diagram according to the low level signal, wherein the pulse signal waveform diagram includes the duration of the low level signal, and different durations of the low level signal in the pulse signal waveform diagram represent the medicine bottles with different lengths passing through the detector 220, i.e. corresponding to different specifications and types of medicine bottles, and the duration of the low level signal in the pulse signal waveform diagram in fig. 6 is greater than the duration of the low level signal in the pulse signal waveform diagram in fig. 7, and the medicine bottle length detected in fig. 6 is greater than the medicine bottle length detected in fig. 7.
The detector 220 transmits the pulse signal to the controller, which obtains the duration tn of the pulse signal from the pulse signal. Because there are N detectors 220, where N detectors 220 are communicatively connected to the controller, each detector 220 corresponds to a signal transmission path, so that N detectors 220 can transmit N generated pulse signals to the controller at the same time, the controller can obtain corresponding durations tn for N pulse signals at the same time, and the controller extracts pulse type coefficients Kn associated with the corresponding pulse signals according to the obtained N durations tn, calculates medicine bottle type information Ln by using the durations tn and the pulse type coefficients Kn, and the controller compares the calculated medicine bottle type information Ln with a prestored medicine bottle length Cn, and the counting unit of the controller counts and stores the obtained medicine bottles according to the prestored medicine bottle length Cn.
For example, assuming that the duration Tn of 3-gauge-sized medicine bottles, the medicine bottle class coefficient Kn, and the medicine bottle length Cn are prestored, the user puts M medicine bottles into N detectors 220, and when the controller receives N pulse signals and acquires the duration Tn corresponding to the N pulse signals, immediately extracts the pulse class coefficient Kn associated with the corresponding pulse signals. For example, when the number 1 medicine bottle passes through the detector 220, the detector 220 outputs a pulse signal of the number 1 medicine bottle, the controller acquires a duration t1 according to the pulse signal of the number 1 medicine bottle, further extracts a pulse class coefficient K1 associated with the prestored number 1 pulse signal, calculates L1 by t1 and K1, l1=t1×k1, and updates the number of L1 calculated by the controller according to the C1 dividing rule.
Example two
Referring to fig. 8-10, in this embodiment, the present invention further provides a classification and counting device 10 for bulk medicine bottles, where the classification and counting device 10 for bulk medicine bottles includes a detector 220 and a controller, and the controller is communicatively connected to the detector 220, and when a user puts bulk medicine bottles into the detector 220, the controller performs classification and counting on bulk medicine bottles by using the classification and counting method for bulk medicine bottles, so as to effectively improve the counting and counting efficiency of bulk medicine bottles.
In this embodiment, the sorting and counting device 10 for bulk medicine bottles further includes a support 100, the detector 220 includes a touch pad 210, the touch pad 210 is rotatably connected with the support 100, the detector 220 is located above the touch pad 210, the touch pad 210 can be propped against the dropped medicine bottles, so that the touch pad 210 rotates to the touch detector 220 relative to the support 100, that is, the touch pad 210 shields the light rays emitted by the detector 220 or avoids the light rays emitted by the detector 220, and the detector 220 generates counting signals. The detector 220 may be an infrared photoelectric tube, a photon detector 220, or other devices that can implement a counting function. The touch pad 210 rotates under the action of the medicine bottle, and the output signal of the detector 220 can be changed by rotating the touch pad 210 by a small angle, so that the structure of the counting unit is compact.
In this embodiment, the detector 220 includes an infrared emitter 221 and an infrared receiver 223, the infrared emitter 221 emits infrared light, the infrared receiver 223 is configured to receive the infrared light emitted by the infrared emitter 221 to generate a high level signal or a low level signal, the detector 220 has a U-shaped groove, the infrared receiver 223 and the infrared emitter 221 are located on two opposite groove walls of the U-shaped groove, the U-shaped groove can accommodate the touch pad 210, when the touch pad 210 rotates to be accommodated in the U-shaped groove due to the holding of the medicine bottle, that is, rotates between the infrared emitter 221 and the infrared receiver 223 to shield the infrared light emitted by the infrared emitter 221, at this time, the infrared receiver 223 cannot receive the infrared light, the output signal of the detector 220 changes, and whether the medicine bottle passes through or not can be judged according to the change of the output signal, thereby counting the medicine bottle. The specific circuit principles of infrared light pipes are well known and are not specifically described herein.
Referring to fig. 8 and 9, specifically, the sorting and counting device 10 for bulk medicine bottles further includes a guide plate 300, a plurality of detectors 220 are provided, the plurality of detectors 220 are disposed on the support 100 at intervals, a plurality of sliding grooves 310 are formed on one side of the guide plate 300 facing the detectors 220, the plurality of detectors 220 are located above the plurality of sliding grooves 310, and when medicine bottles move along any sliding groove 310 to abut against the corresponding touch pad 210, the detectors 220 generate counting signals. Specifically, the medicine bottle can move along any chute 310, so that counting of the medicine bottle can be realized. In an embodiment, the sorting and counting device 10 for bulk medicine bottles further includes a direction adjusting member 400, the direction adjusting member 400 and the detector 220 are respectively disposed at two ends of the guide plate 300, the bulk medicine bottles are poured into the guide plate 300 from the opening of the recovery box, the bulk medicine bottles on the guide plate 300 are sorted into single medicine bottles by the direction adjusting member 400, the single medicine bottles move to the detector 220 along the chute 310, and the detector 220 counts the passing medicine bottles. Specifically, the side surface of the guide plate 300 is provided with a plurality of sliding grooves 310 which are arranged at intervals, the back in the middle of each adjacent sliding groove 310 is narrower, and a single sorted medicine bottle can move along any sliding groove 310. In another embodiment, the width of the chute 310 can be customized according to the needs of the user, so that the chute 310 can be adapted to the diameter of most of the current poison bottles on the market, such as 1ml, 2ml, 5ml, etc. It can be understood that the device is used for controlling the small-dose empty medicine bottles, counting is more accurate, and larger errors are not easy to cause.
In this embodiment, the sorting and counting device 10 for bulk medicine bottles further includes a speed control member 500, wherein the speed control member 500 is disposed at a position of the guide plate 300 close to the detector 220, and the speed control member 500 may be made of an elastic and soft material, such as a sponge, and when medicine bottles pass under the speed control member 500, the sponge generates friction force on the medicine bottles to control the falling speed of the medicine bottles. The speed control member 500 may be driven by a motor, a cylinder, or other drivers, for example, the motor presets a rotation speed to control rotation of the speed control member 500, and the preset rotation speed may be flexibly adjusted according to an actual sliding condition of the medicine bottle. When a plurality of medicine bottles with different specifications pass through the detector 220, different gravity accelerations may be caused due to different weight volumes of the medicine bottles, and thus the time for the medicine bottles with different specifications to pass through the detector 220 is the same, the speed control member 500 controls the sliding speed of the medicine bottles so that the speed of the medicine bottles passing through the detector 220 is the same as the preset speed, and the influence of the sliding speed of the medicine bottles on the counting accuracy of the detector 220 is reduced.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the invention, which are described in detail and are not to be construed as limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.

Claims (8)

1. A method of classifying and counting bulk vials, comprising a detector, the method comprising:
acquiring a pulse signal generated after the medicine bottle passes through the detector;
detecting a duration of each of the pulse signals;
calculating medicine bottle category information corresponding to the pulse signal according to the duration time of the pulse signal and a prestored pulse category coefficient;
classifying and counting the medicine bottles according to the calculated medicine bottle category information corresponding to the pulse signals;
the medicine bottle category information is length information of medicine bottles, a preset distance above the detector is provided with a corresponding speed control piece, and the method further comprises the steps of:
each medicine bottle is controlled to pass through the corresponding detector at a preset speed through the speed control part;
correspondingly, the calculating the medicine bottle category information corresponding to the pulse signal according to the duration time of the pulse signal and the prestored pulse category coefficient comprises the following steps:
calculating to obtain the length information of each medicine bottle according to the duration time of the pulse signal and the prestored pulse class coefficient;
the method further comprises the steps of:
controlling a plurality of medicine bottles with known medicine bottle lengths Ci to pass through the detector at the preset speed through the speed control part;
acquiring the duration Ti of the corresponding pulse signal generated by the detector;
calculating to obtain the pulse class coefficient Ki, wherein Ki=Ci/Ti;
the pulse class coefficients Ki are prestored.
2. The method of classifying and counting bulk pharmaceutical bottles according to claim 1 wherein said pulse signal is a level signal, said detector comprises a touch pad, an infrared emitter and an infrared receiver, said method further comprising:
controlling the infrared emitter to emit infrared rays to the infrared receiver;
controlling the infrared receiver to generate a high-level signal;
when the infrared receiver does not receive infrared rays, controlling the infrared receiver to generate low-level information;
when the medicine bottle passes through the detector, the medicine bottle pushes the touch control plate to rotate, and the infrared emitter emits infrared rays to the infrared receiver to be blocked by the touch control plate.
3. The method of classifying and counting bulk pharmaceutical bottles according to claim 1 wherein said pulse signal is a level signal, said detector comprises a touch pad, an infrared emitter and an infrared receiver, said method further comprising:
controlling the infrared emitter to emit infrared rays to the infrared receiver;
controlling the infrared receiver to generate a low-level signal;
when the infrared receiver does not receive infrared rays, controlling the infrared receiver to generate high-level information;
when the medicine bottle passes through the detector, the medicine bottle pushes the touch control plate to rotate, and the infrared emitter emits infrared rays to the infrared receiver to be blocked by the touch control plate.
4. A method of classifying and counting bulk vials according to claim 2 or 3, comprising M vials, N detectors, wherein M is greater than or equal to N, the method further comprising:
when the infrared receiver of any one detector generates a low-level signal, generating a pulse signal waveform diagram according to the low-level signal;
acquiring classification counting results of the M medicine bottles according to the pulse signal waveform diagram;
wherein the pulse signal waveform diagram includes a duration of the low level signal.
5. A batch vial sort counting device, comprising:
a detector;
a controller for performing the bulk drug vial sort count method of any one of claims 1-4 to sort count the bulk drug vials as the bulk drug vials pass the detector.
6. The batch medicine bottle classifying and counting device according to claim 5, further comprising a bracket, wherein the detector comprises a touch control plate, an infrared emitter and an infrared receiver, the touch control plate is rotationally connected with the bracket, the detector is positioned above the touch control plate, and the infrared receiver is used for receiving infrared rays emitted by the infrared emitter to generate a high-level signal or a low-level signal;
when the medicine bottle passes through the detector, the medicine bottle pushes the touch control plate to rotate between the infrared emitter and the infrared receiver so as to shield infrared rays emitted by the infrared emitter.
7. The sorting and counting device for bulk pharmaceutical bottles according to claim 6, further comprising a guide plate, wherein a plurality of sliding grooves are formed in the side surface of the guide plate, the support is arranged at one end of the guide plate, the detector comprises a plurality of detectors, and the detectors and the sliding grooves are arranged in one-to-one correspondence, so that the bulk pharmaceutical bottles can slide along any sliding groove to pass through the detector to generate the pulse signal.
8. The batch vial sorter of claim 7 further comprising a speed control member disposed on the guide, the vials being capable of sliding along the chute past the speed control member to pass the detector, the speed control member being capable of controlling the rate of movement of the vials.
CN202111376335.XA 2021-11-19 2021-11-19 Batch medicine bottle classifying and counting method and device Active CN114118337B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111376335.XA CN114118337B (en) 2021-11-19 2021-11-19 Batch medicine bottle classifying and counting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111376335.XA CN114118337B (en) 2021-11-19 2021-11-19 Batch medicine bottle classifying and counting method and device

Publications (2)

Publication Number Publication Date
CN114118337A CN114118337A (en) 2022-03-01
CN114118337B true CN114118337B (en) 2023-08-18

Family

ID=80398183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111376335.XA Active CN114118337B (en) 2021-11-19 2021-11-19 Batch medicine bottle classifying and counting method and device

Country Status (1)

Country Link
CN (1) CN114118337B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114943847B (en) * 2022-04-21 2024-12-10 江苏人先医疗科技股份有限公司 A method for identifying medicine bottles and related devices and equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3857488A (en) * 1972-09-07 1974-12-31 Cren R Le Dynamic weighing apparatus
US4007358A (en) * 1973-04-05 1977-02-08 Glory Kogyo Kabushiki Kaisha Count control system for coin counting machine
GB1469454A (en) * 1973-06-06 1977-04-06 Cockerill Apparatus for recording discontinuities
US4982412A (en) * 1989-03-13 1991-01-01 Moore Push-Pin Company Apparatus and method for counting a plurality of similar articles
DE4330166A1 (en) * 1993-09-07 1995-03-09 Uwe Engberts Method for operating a light-barrier device, and apparatus comprising at least one light barrier
CN1236157A (en) * 1998-05-15 1999-11-24 Lg电子株式会社 Method and apparatus for identifying types of disc-shaped information storage media
CN102651086A (en) * 2011-02-28 2012-08-29 大连海兰德维通信技术有限公司 Counting device, counting method and infrared detection system
CN103295060A (en) * 2012-03-01 2013-09-11 洛阳尚德太阳能电力有限公司 Silicon wafer counter and counting method
CN205750849U (en) * 2016-03-16 2016-11-30 武汉维思安科技发展有限公司 A kind of medicine bottle inventory dot circuit
CN109543811A (en) * 2018-10-31 2019-03-29 上海希路智能科技有限公司 A kind of counting circuit, method of counting and chip

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3857488A (en) * 1972-09-07 1974-12-31 Cren R Le Dynamic weighing apparatus
US4007358A (en) * 1973-04-05 1977-02-08 Glory Kogyo Kabushiki Kaisha Count control system for coin counting machine
GB1469454A (en) * 1973-06-06 1977-04-06 Cockerill Apparatus for recording discontinuities
US4982412A (en) * 1989-03-13 1991-01-01 Moore Push-Pin Company Apparatus and method for counting a plurality of similar articles
DE4330166A1 (en) * 1993-09-07 1995-03-09 Uwe Engberts Method for operating a light-barrier device, and apparatus comprising at least one light barrier
CN1236157A (en) * 1998-05-15 1999-11-24 Lg电子株式会社 Method and apparatus for identifying types of disc-shaped information storage media
CN102651086A (en) * 2011-02-28 2012-08-29 大连海兰德维通信技术有限公司 Counting device, counting method and infrared detection system
CN103295060A (en) * 2012-03-01 2013-09-11 洛阳尚德太阳能电力有限公司 Silicon wafer counter and counting method
CN205750849U (en) * 2016-03-16 2016-11-30 武汉维思安科技发展有限公司 A kind of medicine bottle inventory dot circuit
CN109543811A (en) * 2018-10-31 2019-03-29 上海希路智能科技有限公司 A kind of counting circuit, method of counting and chip

Also Published As

Publication number Publication date
CN114118337A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
US6592005B1 (en) Pill count sensor for automatic medicament dispensing machine
EP3340766B1 (en) Seed counting sensor and method for detecting blockage of a seed conveying pipe
Karimi et al. A practical approach to comparative design of non-contact sensing techniques for seed flow rate detection
CN114118337B (en) Batch medicine bottle classifying and counting method and device
US5317645A (en) Method and apparatus for the recognition and counting of discrete objects
US4314484A (en) Self-compensating optical drop count apparatus for measuring volumetric fluid flow
US20130204432A1 (en) Pill counting and control system for a pill transport apparatus
EP2569713B1 (en) Method and apparatus for dispensing items
US5788046A (en) Method for recognizing coins and apparatus therefor
CN207188252U (en) Intelligent detection system for imperfect grains
US11300523B2 (en) Sensor assembly for moving items and related filling machine and methods
CN105163777A (en) Device, method, and system for monitoring the delivery of fluids through a drip chamber
WO2003021243A1 (en) A container inspection system using cobalt 60 gamma ray source and cesium iodide or cadmium tungstate array detector
CN102981017A (en) Motion rate sensor
CN103076073A (en) Device for determining weight and number of chick and sorting device comprising the same
CN105180849B (en) It is a kind of to be capable of measuring multiple while falling objects and the photoelectricity number sensor with cubing function
CN107728192A (en) The nuclide identifier system and method for multi-detector
JPH1085676A (en) Machine for sorting plastic bottle and execution method by this machine
US4117935A (en) Apparatus for and method of measuring product mass
EP0207567A1 (en) Method and apparatus for metering flowable particulates
CN201017036Y (en) Sealed seed source activity differential counting equipment
GB2541502A (en) An inventory system
JP6445563B2 (en) Coin processing apparatus and coin classification method
CN105987720B (en) Material detection method and device for finishing measurement preparation classification
Guowen Design and Experiment of Rotary Double-Disc Precision Rice Hill-Drop Drilling System

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant