[go: up one dir, main page]

CN114034368A - A kind of medical cabinet and its weighing and counting method - Google Patents

A kind of medical cabinet and its weighing and counting method Download PDF

Info

Publication number
CN114034368A
CN114034368A CN202111321108.7A CN202111321108A CN114034368A CN 114034368 A CN114034368 A CN 114034368A CN 202111321108 A CN202111321108 A CN 202111321108A CN 114034368 A CN114034368 A CN 114034368A
Authority
CN
China
Prior art keywords
weight value
cabinet
weighing
connecting rod
medical
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.)
Pending
Application number
CN202111321108.7A
Other languages
Chinese (zh)
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 CN202111321108.7A priority Critical patent/CN114034368A/en
Publication of CN114034368A publication Critical patent/CN114034368A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G23/00Auxiliary devices for weighing apparatus
    • G01G23/18Indicating devices, e.g. for remote indication; Recording devices; Scales, e.g. graduated
    • G01G23/36Indicating the weight by electrical means, e.g. using photoelectric cells
    • G01G23/37Indicating the weight by electrical means, e.g. using photoelectric cells involving digital counting

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Medical Preparation Storing Or Oral Administration Devices (AREA)

Abstract

The invention discloses a medical cabinet and a weighing and counting method thereof, wherein the medical cabinet comprises a weighing device and a cabinet door position detection device, and the weighing and counting method comprises the following steps: when the detection device detects that the cabinet door is located at the first position, the weighing device regularly acquires a real-time weight value of the medicines in the medical cabinet and updates the real-time weight value into an initial weight value; when the detection device detects that the cabinet door is located at the second position, the weighing device acquires the current weight value of the medicines in the medical cabinet and counts the medicines in the medical cabinet according to the current weight value and the initial weight value. When the door of the cabinet is detected to be at the first position, namely the door is closed, weighing is continued but counting is not performed, the latest actual weighing value is reserved, and when the door of the cabinet is detected to be at the second position, namely the door is opened, medicines are counted by using the weight change value, so that the weighing error is reduced, and the counting accuracy is improved.

Description

Medical cabinet and weighing and counting method thereof
Technical Field
The invention relates to the field of medical equipment, in particular to a medical cabinet and a weighing and counting method thereof.
Background
Medical cabinets for hospitals, such as a medicine management cabinet and a medical consumable cabinet, need to count medical products, such as medicines, to judge the use state of the medicines, currently, counting for the medical products of the medicine category is mainly realized by weighing, a weighing pressure sensor needs to be used for weighing, the precision of the weighing pressure sensor is closely related to the cost of the weighing pressure sensor, if a single medicine with light weight and large weighing quantity needs to be weighed, only the weighing pressure sensor with high precision can be selected, but the cost of the weighing pressure sensor is sharply increased, if the weighing pressure sensor with low cost and small precision is selected, the weighing result is influenced by the physical properties of the weighing device and the weighing environmental factors, such as temperature, vibration, creep deformation and the like, the counting error is large, and the weighing counting result is wrong.
In the related art, the weight change value is used for weighing and counting, each weighing is carried out by subtracting the weighing value obtained after the medicine is taken and placed last time from the weighing value obtained after the medicine is taken and placed currently, if the time interval of the two times of weighing and counting is long, the pressure sensor generates errors, and the weighing and counting updated by the change value may have errors.
Disclosure of Invention
The invention aims to provide a medical cabinet and a weighing and counting method thereof, and aims to solve the problem that the weighing and counting error of the conventional medical cabinet is gradually increased in the long-time use process.
In order to solve the technical problems, the invention aims to realize the following technical scheme: the weighing and counting method for the medical cabinet is provided, the medical cabinet comprises a weighing device and a cabinet door position detection device, and the weighing and counting method comprises the following steps:
when the detection device detects that the cabinet door is located at the first position, the weighing device regularly acquires a real-time weight value of the medicines in the medical cabinet and updates the real-time weight value into an initial weight value;
when the detection device detects that the cabinet door is located at the second position, the weighing device acquires the current weight value of the medicines in the medical cabinet and counts the medicines in the medical cabinet according to the current weight value and the initial weight value.
In addition, the technical problem to be solved by the invention is to provide a medical cabinet, which comprises a weighing device and a detection device;
the weighing device is used for regularly acquiring a real-time weight value of the medicine in the medical cabinet and updating the real-time weight value into an initial weight value when the detection device detects that the cabinet door is located at the first position;
the weighing device is used for acquiring the current weight value of the medicine in the medical cabinet when the detection device detects that the cabinet door is located at the second position, and counting the medicine in the medical cabinet according to the current weight value and the initial weight value.
The embodiment of the invention discloses a weighing and counting method of a medical cabinet, the medical cabinet comprises a weighing device and a cabinet door position detection device, and the weighing and counting method comprises the following steps: when the detection device detects that the cabinet door is located at the first position, the weighing device regularly acquires a real-time weight value of the medicines in the medical cabinet and updates the real-time weight value into an initial weight value; when the detection device detects that the cabinet door is located at the second position, the weighing device acquires the current weight value of the medicines in the medical cabinet and counts the medicines in the medical cabinet according to the current weight value and the initial weight value. When the door of the cabinet is detected to be at the first position, namely the door is closed, weighing is continued but counting is not performed, the latest actual weighing value is reserved, and when the door of the cabinet is detected to be at the second position, namely the door is opened, medicines are counted by using the weight change value, so that the weighing error is reduced, and the counting accuracy is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a weighing and counting method for a medical cabinet according to an embodiment of the present invention;
fig. 2 is a schematic view of a sub-flow of a weighing and counting method of a medical cabinet according to an embodiment of the present invention;
fig. 3 is a schematic view of another sub-flow of a weighing and counting method for a medical cabinet according to an embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating an error accumulation process of the weighing apparatus according to the embodiment of the present invention;
FIG. 5 is a schematic diagram of the detection result of the weighing apparatus according to the embodiment of the present invention changing with time;
FIG. 6 is a simplified schematic diagram of a medical cabinet according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of an internal structure of a detecting device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a detection device when a cabinet door is in a closed state according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a detection device when a cabinet door is in an open state according to an embodiment of the present invention;
fig. 10 is another internal structural view of the detection apparatus according to the embodiment of the present invention.
Description of the drawings: 1. a cabinet body; 2. a cabinet door; 21. a locking ring; 3. a detection device; 31. a device housing; 32. a connecting rod; 33. an elastic member; 34. lotus root slices; 341. a detection module; 35. mounting a plate; 36. a lock assembly; 361. locking the opening; 4. a weighing device; 5. a display device.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1, fig. 1 is a schematic flow chart of a weighing and counting method for a medical cabinet according to an embodiment of the present invention;
a weighing and counting method of a medical cabinet comprises a weighing device and a cabinet door position detection device, and the weighing and counting method comprises steps S101-S102.
S101, when the detection device detects that the cabinet door is located at the first position, the weighing device acquires the real-time weight value of the medicine in the medical cabinet at regular time and updates the real-time weight value into an initial weight value.
S102, when the detection device detects that the cabinet door is located at the second position, the weighing device obtains the current weight value of the medicines in the medical cabinet, and the medicines in the medical cabinet are counted according to the current weight value and the initial weight value.
In this embodiment, medical cabinet is used for accessing the medicine, weigh when weighing device is used for medicine in the medical cabinet, detection device is used for detecting the position of cabinet door, be closure state when the cabinet door is located the first position, when the cabinet door is closure state, weighing device adopts regularly to acquire the real-time weight value of medicine in the medical cabinet, and update to initial weight value, the real-time weight value of medicine in the medical cabinet of this embodiment only regularly acquireing is updated to initial weight value, and need not be used for counting the renewal to medicine in the medical cabinet.
For open mode when the cabinet door is located the second position, can access the medicine in the medical cabinet this moment, the weighing device acquires the current weight value of medicine in the medical cabinet when the cabinet door is opened, obtain the change value of weighing according to current weight value and initial weight value, the change value of weighing at this moment only takes place in the short time, to a great extent has reduced the error that the influence of weighing device physical attribute and the environmental factor of weighing produced under the long-time closed condition of cabinet door, the change value of weighing that the event obtained is more accurate, it is also more accurate to count the renewal to medical cabinet traditional chinese medicine according to this change value of weighing.
To explain the principle of the weighing and counting method of the present invention, the accumulation of errors of the weighing apparatus will be briefly described below. Referring to fig. 4, the weight value measured by the weighing device fluctuates continuously if observed within a short time interval without changing the actual weight of the medicine detected by the weighing device; if observed over a longer time interval, the weight value measured by the weighing device tends to increase over time (the fluctuation increases). That is, in the long term, without changing the actual weight of the medicine detected by the weighing device, the error between the detection value of the weighing device and the actual weight value of the medicine gradually increases. When the error gradually increases and the error is accumulated to exceed the weight value of a single medicine, the counting result is changed even if the actual weight of the medicine is not changed (the medicine is not added), thereby causing a counting error.
Referring to fig. 5 as an example, in an initial state, no medicine is stored in the medical cabinet, and then a user (e.g., a drug manager) puts N1 medicines into the cabinet, wherein the weight of a single medicine is W0, and then closes the door to store the N1 medicines for a period of time; after a period of time, the user takes out N2 medicines (N1 is more than or equal to N2) from the medical cabinet. In fig. 5, the AB segment corresponds to the stage of putting N1 drugs, the BD segment corresponds to the stage of storing N1 drugs, the DG segment corresponds to the stage of taking N2 drugs, and the GH segment corresponds to the stage of storing (N1-N2) drugs. Furthermore, it should be noted that the lower graph in fig. 5 ignores the fluctuation of the weight value over a shorter time interval with respect to the upper graph in fig. 4.
Consider the case when N1 drugs are put in storage and N1 drugs are stored. The user opens the cabinet door first and places the medicine on the objective table in the medical cabinet. The user may place the drugs on the stage one by one or in batches, or alternatively, place the N1 drugs on the stage at one time. During the storage of the N1 medicines, the error value of the weighing device is accumulated, and if the storage time of the N1 medicines is long enough (e.g., hours, days), the error value of the weighing device is larger than W0. For example, as shown in fig. 5, when N1 medicines are initially stored, the weight value measured by the weighing device is W1, and after N1 medicines are stored for a certain period of time, the weight value measured by the weighing device is W2, and W2-W1> W0.
Therefore, for avoiding this condition, under the condition that the cabinet door was closed, weighing device's weighing device still weighed this N1 medicines, and the storage has an initial weight value in the control panel in the medical cabinet, and the initial weight value can be updated according to weighing device's measuring value in real time to the control panel, but the control panel does not carry out corresponding count operation. Assuming that the frequency of the A/D (analog/digital) values acquired by the weighing apparatus is 10Hz, the initial weight value in the control board is updated every 0.1s and is updated to the last weight value measured by the weighing apparatus. For example, from T1 to T2, the initial weight value is continuously updated from W1, and after a while, the initial weight value becomes W2. However, when the cabinet door is not opened, no matter which numerical value the initial weight value is updated to, the weighing device does not update the counting result, and the counting result is still the counting result before the door is closed last time.
Consider again the case of N2 drugs being taken. After N1 medicines are stored for a certain time, the user opens the cabinet door to take out the medicines. When the cabinet door is opened, the weighing device suspends updating the initial weight value (the initial weight value stays at W2); after the cabinet door is opened, the weighing device can weigh the medicines in the medical cabinet and count the medicines according to the medicine result. The weighing device can detect the current weight value of the medicine, the control panel can obtain a weighing change value by utilizing the difference between the current weight value and the initial weight value (the initial weight value is W2), and then the weighing change value is divided by the weight of the single medicine, so that a medicine quantity change value (which can be rounded) is obtained; then, on the basis of the counting result of the last door opening, a medicine quantity change value (the quantity change value is provided with a positive sign) is added to obtain a real-time counting result.
For example, if the counting result of the last door opening is N1 and the initial weight value of the door opening is W2, and the user takes a plurality of medicines, the current weight value is W3, the weighing change value is (W3-W2), and the number change value is Δ N, Δ N is (W3-W2)/W0, and the medicine counting result is updated from N1 to (N1+ Δ N). If the user takes a plurality of medicines again, the current weight value is changed into W4, the weight change value is (W4-W2), the Δ N is (W4-W2)/W0, and the medicine counting result is changed correspondingly.
After the medicines are taken out, the cabinet door can be closed, and then in the storage process of (N1-N2) medicines (and before the medicines are taken and placed next time), the weighing device only weighs and does not count, the initial weight value is continuously updated, but the medicine counting result is still the medicine counting result when the cabinet door is closed last time.
In summary, the weighing and counting method of the present invention determines the position of the cabinet door by the detection device, and determines the position state of the cabinet door by the different positions of the detection device, for example, determines whether the cabinet door is opened or closed to determine whether the user performs the operation of picking and placing the medicine, and then the weighing device is in different operation modes. When the cabinet door is at the first position, the user does not carry out the operation of getting and putting the medicine, and weighing device only updates the weighing result and does not update the count result, and when the cabinet door was at the second position, weighing device acquireed the current weight value of medicine in the medical cabinet to medicine is counted in the medical cabinet according to current weight value and initial weight value. Compare and weigh and count the medicine all the time, set up like this and can avoid long-time storage medicine and the counting error that leads to. The weighing and counting method can effectively reduce the counting error caused by the accumulation of the error, and has high counting accuracy.
The invention will be further described below in connection with a medical cabinet to which the weighing and counting method is applied, as shown in fig. 6; the medical cabinet includes: the cabinet comprises a cabinet body 1, a cabinet door 2, a detection device 3, a weighing device 4 and a display device 5;
referring to fig. 6, a storage cavity for containing medicine is arranged inside the cabinet body 1, the cabinet door 2 is movably connected with the cabinet body 1, and the cabinet door 2 can move relative to the cabinet body 1, so as to seal the storage cavity or release the sealing of the storage cavity. The cabinet door 2 can be slidably connected with the cabinet body 1, for example, a slide rail is arranged on the cabinet body 1, a pulley is arranged on the cabinet door 2, and a user can push the cabinet door 2 to open the medical cabinet; the cabinet door 2 can also be connected with the cabinet body 1 in a rotating way, for example, the cabinet door 2 and the cabinet body 1 are connected in a rotating way through a hinge, and a user can rotate the cabinet door 2 to open the medical cabinet.
Detection device 3, detection device 3 set up on the cabinet body 1, and are used for detecting the on off state of cabinet door 2, preferred, detection device 3 can set up in one side of the cabinet body 1, and the closed department when closing corresponding to cabinet door 2 to the convenient on off state to cabinet door 2 detects.
Specifically, with reference to fig. 7, 8 and 9, fig. 8 is an enlarged structural view of a portion a in fig. 7.
Detection device 3 including device shell 31, connecting rod 32, the cover establish with elastic component 33 and light lotus root piece 34 on the connecting rod 32, the one end of connecting rod 32 is worn out outside device shell 31, the other end orientation of connecting rod 32 light lotus root piece 34. The principle that the detection device 3 detects the opening and closing state of the cabinet door 2 is as follows: when the cabinet door 2 is closed, the cabinet door 2 is pressed against one end, through which the connecting rod 32 penetrates out, so that the connecting rod 32 moves inwards and drives the elastic piece 33 to compress, meanwhile, the other end of the connecting rod 32 extends into the detection area of the optical coupling piece 34, and the optical coupling piece 34 is triggered to judge that the cabinet door 2 is in a closed state; it will be appreciated that when the door 2 is opened, the elastic member 33 generates a resilient potential energy to extend the link 32 out of the detection area of the optocoupler 34.
The weighing device 4 is arranged in the cabinet body 1 and is used for weighing and counting the medicines in the cabinet body 1, and the weighing device 4 comprises a weighing sensor, an object stage and a control panel; the objective table is used for bearing the medicine, and the objective table is installed in weighing sensor top. The control board is respectively in communication connection with the weighing sensor and the optical coupling piece 34, specifically, the control board can be connected through a cable or in communication connection through a wireless transmission mode; the overall arrangement position of control panel is more nimble, and the control panel can be installed in the cabinet body 1, also can install on cabinet door 2, perhaps can install in detecting component, conveniently is connected through the cable with optical coupling piece 34.
The display device 5, the display device 5 may comprise a display screen. The display device 5 is in communication connection with the control panel in the weighing device 4, and the display device 5 can receive signals from the control panel and accordingly display the counting result of the articles, so that the user can check the number of the articles in the medical cabinet. The "collation" herein includes collation at the time of taking and putting of an article, and collation during storage of an article. The display device 5 may be installed in the cabinet 1 (refer to fig. 6 as a position when installed in the cabinet 1), or may be installed on the cabinet door 2. If the display device 5 is installed in the cabinet body 1 and is in the storage cavity, at least a part of the cabinet door 2 needs to be transparent; in this way, the user can also observe the information on the display device 5 during storage of the articles without the user opening the cabinet door 2.
With continued reference to fig. 8 and 9, further description will be given of the structure within the detection device 3:
the optical lotus root piece 34 is provided with a detection module 341, and the detection module 341 is provided with a detection port for the connection rod 32 to extend into or out of. The detecting module 341 includes an upper detecting module 341 and a lower detecting module 341 opposite to each other, and a detecting opening for detecting the extending or extending of the link 32 is formed between the upper detecting module 341 and the lower detecting module 341, and data such as the extending distance, and the extending time of the link 32 can be detected through the detecting opening.
Further, referring to fig. 10, a mounting plate 35 and a lock assembly 36 fixedly mounted on one side of the mounting plate 35 are further disposed in the detection apparatus 3, the coupler 34 may be mounted on the other side of the mounting plate 35, and the lock assembly 36 and the coupler 34 may be fixed to the mounting plate 35 from their corner positions by screws.
In one embodiment, the lock assembly 36 is provided with a locking opening 361, the cabinet door 2 is provided with a locking ring 21 which is clamped into the locking opening 361, and when the cabinet door 2 is closed, the locking ring 21 is clamped into the locking opening 361 to complete the closing of the cabinet door 2.
Step S101 will be further described with reference to fig. 8, in a state where the coupling rod 32 is inserted into the coupler 34, and the flow of step S101 is as shown in fig. 2, and includes:
s201, when the connecting rod 32 extends into the detection area of the lotus root slice 34, generating a first control instruction;
s202, according to a first control instruction, the weighing sensor acquires a real-time weight value of the medicine in the medical cabinet at regular time, and the control panel updates the real-time weight value to an initial weight value;
in this embodiment, when connecting rod 32 stretches into the detection area of lotus root piece 34, judge that cabinet door 2 is closing, trigger and generate first control instruction and send to the control panel, the control panel obtains the real-time weight value of medicine in the medical cabinet regularly and updates real-time weight value to initial weight value according to first control instruction control weighing sensor, but the process of converting the real-time weight value that obtains regularly into the count result is interrupted, the medicine count result before this moment is still the count result before interrupting.
Step S102 will be further described with reference to fig. 9, in a state where the connecting rod 32 extends out of the lotus root piece 34, and the flow of step S102 is shown in fig. 3, and includes:
s301, when the connecting rod 32 extends out of the detection area of the lotus root piece 34, generating a second control instruction;
s302, according to a second control instruction, the weighing sensor obtains a current weight value of the medicine in the medical cabinet, and the control panel counts the medicine in the medical cabinet according to the current weight value and the initial weight value;
in this embodiment, when connecting rod 32 stretches out in the detection area of lotus root piece 34, judge that cabinet door 2 is opening, trigger and generate second control instruction and send to the control panel, the control panel acquires the current weight value of medicine in the medical cabinet according to second control instruction control weighing sensor to count the medicine in the medical cabinet according to current weight value and initial weight value.
Wherein, count medical cabinet traditional chinese medicine according to current weight value and initial weight value: and calculating an absolute value of a difference value between the current weight value and the initial weight value, taking the obtained absolute value as a weighing change value, obtaining the medicine change quantity according to the weighing change value and the weight of a single medicine, and updating the medicine counting result before the last interruption based on the medicine change quantity to obtain the current medicine counting result.
The method generates a corresponding instruction by triggering the switch cabinet door 2, continues weighing but closes the medicine counting function when the cabinet door 2 is closed, recovers the medicine counting function when the cabinet door 2 is opened and counts after medicines are taken and taken, and closes the counting function after counting is finished until the medicines are taken and taken next time; by adopting the method provided by the invention, the counting error is effectively reduced when the medicine is counted by utilizing the weight change value.
In an embodiment, with continued reference to fig. 8 and 9, step S201 includes:
when cabinet door 2 closed and interlock connecting rod 32 stretched into to the optical coupling piece 34 detection area, detection connecting rod 32 stretched into the distance of stretching into of optical coupling piece 34 detection area, when stretching into the distance and being greater than first preset distance, generated first control instruction to send first control instruction to control panel.
In this embodiment, can produce vibrations when cabinet door 2 closes, vibrations can lead to the sensor to produce the error, the event utilizes the detection function of optical coupling piece, in-process that cabinet door 2 closed, stretch into the distance that stretches into optical coupling piece detection area through judging connecting rod 32, for example, stretch into that the distance that stretches into that optical coupling piece detection area is greater than first preset distance (stretching into 1/3 or other proportions of total distance) at connecting rod 32, cabinet door 2 does not yet close completely this moment, also do not produce vibrations yet, generate first control command and send to the control panel before closing completely, control panel control weighing sensor's count function is closed, the vibrations that produce when can avoiding cabinet door 2 to close cause the sensor to produce the error.
In an embodiment, with continued reference to fig. 8 and 9, step S301 includes:
in a specific scenario, when the cabinet door 2 is opened and the connecting rod 32 is connected to extend out of the detection area of the optical coupling piece 34, the extending distance of the connecting rod 32 extending out of the detection area of the optical coupling piece 34 is detected, and when the extending distance is greater than a second preset distance, a second control instruction is generated and sent to the control board.
Can produce vibrations when cabinet door 2 opens, vibrations can lead to the sensor to produce the error, the event utilizes the detection function of light coupling piece, at the in-process that cabinet door 2 opened, stretch out the distance that stretches out light coupling piece detection area through judging connecting rod 32, for example, stretch out light coupling piece detection area at connecting rod 32 and stretch out when the distance is greater than the second and predetermine the distance (4/5 or other proportions of stretching out total distance), generate second control command and send to the control panel, control panel control weighing sensor's count function resumes, can avoid cabinet door 2 to open the vibrations that produce in the twinkling of an eye like this.
In an embodiment, with continued reference to fig. 8 and 9, step S301 includes:
in another specific scenario, when the cabinet door 2 is opened and the connecting rod 32 is extended from the detection area of the opto-coupler 34, the extension time of the connecting rod 32 extending out of the detection area of the opto-coupler 34 is detected, and when the extension time is greater than the preset time threshold, a second control command is generated and sent to the control board.
Can produce vibrations when cabinet door 2 opens, vibrations can lead to the sensor to produce the error, the event utilizes the detection function of optical coupling piece, at the in-process that cabinet door 2 opened, through judging the stretching out time that connecting rod 32 stretches out optical coupling piece detection area, for example when the stretching out time that stretches out optical coupling piece detection area at connecting rod 32 is greater than the time threshold value of predetermineeing, generate second control command and send to the control panel, control panel control weighing sensor's count function resumes, the time that cabinet door 2 opened this moment has been greater than the time threshold value of predetermineeing, cabinet door 2 has also been avoided opening the vibrations that produce in the twinkling of an eye.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working process of the above-described structure may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1.一种医用柜的称重计数方法,其特征在于,所述医用柜包括称重装置和柜门位置的检测装置,所述称重计数方法包括:1. a weighing counting method of a medical cabinet, is characterized in that, described medical cabinet comprises the detection device of weighing device and cabinet door position, and described weighing counting method comprises: 当所述检测装置检测到柜门位于第一位置时,所述称重装置定时获取医用柜中药品的实时重量值,并更新为初始重量值;When the detection device detects that the cabinet door is at the first position, the weighing device periodically obtains the real-time weight value of the medicine in the medical cabinet, and updates it to the initial weight value; 当所述检测装置检测到柜门位于第二位置时,所述称重装置获取医用柜中药品的当前重量值,并根据所述当前重量值和所述初始重量值对医用柜中药品进行计数。When the detection device detects that the cabinet door is at the second position, the weighing device obtains the current weight value of the medicine in the medical cabinet, and counts the medicine in the medical cabinet according to the current weight value and the initial weight value . 2.根据权利要求1所述的医用柜的称重计数方法,其特征在于,所述检测装置包括连杆和光藕片,所述称重装置包括称重传感器和控制板,所述控制板分别与所述称重传感器和光藕片通信连接,所述柜门位于第一位置时,所述连杆伸入所述光藕片的检测区域内,所述柜门位于第二位置时,所述连杆伸出所述光藕片的检测区域外;2 . The weighing and counting method of a medical cabinet according to claim 1 , wherein the detection device comprises a connecting rod and an optocoupler, the weighing device comprises a load cell and a control board, and the control board is respectively 2 . It is connected in communication with the weighing sensor and the opto-coupler. When the cabinet door is in the first position, the connecting rod extends into the detection area of the opto-coupler. When the cabinet door is in the second position, the The connecting rod extends out of the detection area of the photocoupler; 所述当所述检测装置检测到柜门位于第一位置时,所述称重装置定时获取医用柜中药品的实时重量值,并更新为初始重量值包括:When the detection device detects that the cabinet door is at the first position, the weighing device periodically obtains the real-time weight value of the medicine in the medical cabinet, and updates it to the initial weight value including: 当所述连杆伸入所述光藕片的检测区域内时,生成第一控制指令;When the connecting rod extends into the detection area of the opto-coupler chip, a first control command is generated; 根据所述第一控制指令,所述称重传感器定时获取医用柜中药品的实时重量值,所述控制板将所述实时重量值更新为所述初始重量值;According to the first control instruction, the weighing sensor periodically obtains the real-time weight value of the medicine in the medical cabinet, and the control board updates the real-time weight value to the initial weight value; 所述当所述检测装置检测到柜门位于第二位置时,所述称重装置获取医用柜中药品的当前重量值,并根据所述当前重量值和所述初始重量值对医用柜中药品进行计数包括:When the detection device detects that the cabinet door is at the second position, the weighing device obtains the current weight value of the medicine in the medical cabinet, and calculates the medicine in the medical cabinet according to the current weight value and the initial weight value. Counting includes: 当所述连杆伸出所述光藕片的检测区域外时,生成第二控制指令;When the connecting rod extends out of the detection area of the opto-coupler chip, generating a second control command; 根据所述第二控制指令,所述称所述称重传感器获取医用柜中药品的当前重量值,所述控制板根据所述当前重量值和所述初始重量值对医用柜中药品进行计数;According to the second control instruction, the weighing sensor obtains the current weight value of the medicine in the medical cabinet, and the control board counts the medicine in the medical cabinet according to the current weight value and the initial weight value; 其中,所述根据所述当前重量值和所述初始重量值对医用柜中药品进行计数包括:根据所述当前重量值和所述初始重量值得到称重变化值,根据所述称重变化值得到药品变化数量,并基于所述变化数量更新药品计数结果。Wherein, the counting the medicines in the medical cabinet according to the current weight value and the initial weight value includes: obtaining a weight change value according to the current weight value and the initial weight value, and according to the weight change value to the number of drug changes, and the drug count results are updated based on the number of changes. 3.根据权利要求1或2所述的称重计数方法,其特征在于,所述医用柜还包括至少一个显示装置,所述方法还包括:3. The weighing and counting method according to claim 1 or 2, wherein the medical cabinet further comprises at least one display device, and the method further comprises: 控制所述显示装置显示所述柜门位于第二位置时的计数结果。The display device is controlled to display the counting result when the cabinet door is in the second position. 4.根据权利要求2所述的医用柜的称重计数方法,其特征在于,所述当所述连杆伸入所述光藕片的检测区域内时,生成第一控制指令,包括:4. The weighing and counting method of a medical cabinet according to claim 2, wherein when the connecting rod extends into the detection area of the opto-coupler chip, generating a first control instruction, comprising: 当所述柜门关闭并连动所述连杆向所述光藕片检测区域伸入时,检测所述连杆伸入所述光藕片检测区域的伸入距离,当所述伸入距离大于第一预设距离时,生成第一控制指令,并发送所述第一控制指令至所述控制板。When the cabinet door is closed and the connecting rod extends into the opto-coupler chip detection area, the connecting rod is detected to extend into the opto-coupler chip detection area. When the distance is greater than the first preset distance, a first control command is generated, and the first control command is sent to the control board. 5.根据权利要求2所述的医用柜的称重计数方法,其特征在于,所述当所述连杆伸出所述光藕片的检测区域外时,生成第二控制指令,包括:5. The weighing and counting method of a medical cabinet according to claim 2, wherein when the connecting rod extends out of the detection area of the photocoupler, a second control instruction is generated, comprising: 当所述柜门打开并连动所述连杆从所述光藕片检测区域伸出时,检测所述连杆伸出所述光藕片检测区域的伸出距离,当所述伸出距离大于第二预设距离时,生成第二控制指令,并发送所述第二控制指令至所述控制板。When the cabinet door is opened and the connecting rod protrudes from the photocoupler detection area in conjunction with it, the extension distance of the rod out of the photocoupler detection area is detected, When the distance is greater than the second preset distance, a second control command is generated, and the second control command is sent to the control board. 6.根据权利要求2所述的医用柜的称重计数方法,其特征在于,所述当所述连杆伸出所述光藕片的检测区域外时,生成第二控制指令,包括:6. The weighing and counting method of a medical cabinet according to claim 2, wherein when the connecting rod extends out of the detection area of the photocoupler, the second control instruction is generated, comprising: 当所述柜门打开并连动所述连杆从所述光藕片检测区域伸出时,检测所述连杆伸出所述光藕片检测区域的伸出时间,当所述伸出时间大于预设时间阈值时,生成第二控制指令,并发送所述第二控制指令至所述控制板。When the cabinet door is opened and the connecting rod protrudes from the opto-coupler chip detection area in conjunction with When the time is greater than the preset time threshold, a second control instruction is generated, and the second control instruction is sent to the control board. 7.一种医用柜,其特征在于,包括7. A medical cabinet, characterized in that, comprising 柜体,具有用于容置药品的储存腔;The cabinet has a storage cavity for accommodating medicines; 柜门,与所述柜体活动连接;a cabinet door, movably connected with the cabinet body; 检测装置,设置于柜体上,且用于检测所述柜门的开关状态;a detection device, arranged on the cabinet body, and used for detecting the switch state of the cabinet door; 称重装置,设置于柜体上,且与所述检测装置通信连接;a weighing device, which is arranged on the cabinet and is connected in communication with the detection device; 所述称重装置用于当所述检测装置检测到所述柜门位于第一位置时,定时获取医用柜中药品的实时重量值,并更新为初始重量值;The weighing device is configured to obtain the real-time weight value of the medicine in the medical cabinet regularly when the detection device detects that the cabinet door is at the first position, and update it to the initial weight value; 所述称重装置用于当所述检测装置检测到所述柜门位于第二位置时,获取医用柜中药品的当前重量值,并根据所述当前重量值和所述初始重量值对医用柜中药品进行计数。The weighing device is used to obtain the current weight value of the medicine in the medical cabinet when the detection device detects that the cabinet door is located at the second position, and adjust the medical cabinet according to the current weight value and the initial weight value. Chinese medicines are counted. 8.根据权利要求7所述的医用柜,其特征在于,所述检测装置包括装置壳、连杆、套设与所述连杆上的弹性件以及光藕片,所述连杆的一端穿出所述装置壳外,所述连杆的另一端朝向所述光藕片,当所述柜门关闭时,抵压所述连杆的一端并使所述连杆的另一端伸入所述光藕片的检测区域内,当所述柜门打开时,所述弹性件驱动连杆伸出所述光藕片的检测区域外;8 . The medical cabinet according to claim 7 , wherein the detection device comprises a device shell, a connecting rod, an elastic member sleeved on the connecting rod, and an optical coupling piece, and one end of the connecting rod passes through the connecting rod. 9 . When the cabinet door is closed, one end of the connecting rod is pressed and the other end of the connecting rod extends into the In the detection area of the photocoupler, when the cabinet door is opened, the elastic member drives the connecting rod to extend out of the detection area of the photocoupler; 所述光藕片用于当所述连杆伸入所述光藕片的检测区域内时,生成第一控制指令;The opto-coupler chip is used to generate a first control command when the connecting rod extends into the detection area of the opto-coupler chip; 所述称重装置用于根据所述第一控制指令,定时获取医用柜中药品的实时重量值,并将所述当前重量值更新为所述初始重量值;The weighing device is used to obtain the real-time weight value of the medicine in the medical cabinet regularly according to the first control instruction, and update the current weight value to the initial weight value; 所述光藕片用于当所述连杆伸出所述光藕片的检测区域外时,生成第二控制指令;The opto-coupler chip is used to generate a second control command when the connecting rod extends out of the detection area of the opto-coupler chip; 所述称重装置用于根据所述第二控制指令,获取医用柜中药品的当前重量值,并根据所述当前重量值和所述初始重量值对医用柜中药品进行计数;The weighing device is used to obtain the current weight value of the medicine in the medical cabinet according to the second control instruction, and count the medicine in the medical cabinet according to the current weight value and the initial weight value; 其中,所述根据所述当前重量值和所述初始重量值对医用柜中药品进行计数包括:根据所述当前重量值和所述初始重量值得到称重变化值,根据所述称重变化值得到药品变化数量,并基于所述变化数量更新药品计数结果。Wherein, the counting the medicines in the medical cabinet according to the current weight value and the initial weight value includes: obtaining a weight change value according to the current weight value and the initial weight value, and according to the weight change value to the number of drug changes, and the drug count results are updated based on the number of changes. 9.根据权利要求8所述的医用柜,其特征在于,所述光藕片上设有检测模块,所述检测模块上设有用于所述连杆伸入或伸出的检测口。9 . The medical cabinet according to claim 8 , wherein a detection module is provided on the optical coupling piece, and a detection port for the connecting rod to extend into or out is provided on the detection module. 10 . 10.根据权利要求7所述的医用柜,其特征在于,还包括至少一个显示装置,所述显示装置安装于所述柜门或所述柜体上,所述显示装置能够接收所述称重装置的信号,并显示所述柜体中的所述物品的数量。10. The medical cabinet according to claim 7, further comprising at least one display device, the display device is mounted on the cabinet door or the cabinet body, and the display device can receive the weighing The device signals and displays the number of the items in the cabinet.
CN202111321108.7A 2021-11-09 2021-11-09 A kind of medical cabinet and its weighing and counting method Pending CN114034368A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111321108.7A CN114034368A (en) 2021-11-09 2021-11-09 A kind of medical cabinet and its weighing and counting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111321108.7A CN114034368A (en) 2021-11-09 2021-11-09 A kind of medical cabinet and its weighing and counting method

Publications (1)

Publication Number Publication Date
CN114034368A true CN114034368A (en) 2022-02-11

Family

ID=80136868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111321108.7A Pending CN114034368A (en) 2021-11-09 2021-11-09 A kind of medical cabinet and its weighing and counting method

Country Status (1)

Country Link
CN (1) CN114034368A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000336990A (en) * 1999-06-02 2000-12-05 Full Time System:Kk Locker door operating device
CN108915413A (en) * 2018-07-06 2018-11-30 长园共创电力安全技术股份有限公司 A kind of bin door lock and lock control system
CN208318737U (en) * 2017-09-28 2019-01-04 浙江弛达信息科技股份有限公司 Middle switch cabinet
CN109141594A (en) * 2018-08-01 2019-01-04 深圳市联新移动医疗科技有限公司 The drug metering method of intelligent medicine-chest, intelligent medicine-chest and storage medium
CN109742654A (en) * 2018-12-12 2019-05-10 国网浙江余姚市供电有限公司 Switchgear with non-contact high-voltage live display
CN109870227A (en) * 2019-04-04 2019-06-11 杭州点微科技有限公司 A kind of automatic peeling method that kinds of goods access weighing counts
CN110084959A (en) * 2018-01-26 2019-08-02 江苏美萃恪斯数字技术有限公司 Unmanned retail cabinet and its working method, user terminal with monitoring function
CN110924754A (en) * 2019-11-11 2020-03-27 胡渐佳 Step-by-step locking control system of automatic door lock
CN212927504U (en) * 2020-05-12 2021-04-09 青岛海尔特种电冰柜有限公司 Detection module and container with same

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000336990A (en) * 1999-06-02 2000-12-05 Full Time System:Kk Locker door operating device
CN208318737U (en) * 2017-09-28 2019-01-04 浙江弛达信息科技股份有限公司 Middle switch cabinet
CN110084959A (en) * 2018-01-26 2019-08-02 江苏美萃恪斯数字技术有限公司 Unmanned retail cabinet and its working method, user terminal with monitoring function
CN108915413A (en) * 2018-07-06 2018-11-30 长园共创电力安全技术股份有限公司 A kind of bin door lock and lock control system
CN109141594A (en) * 2018-08-01 2019-01-04 深圳市联新移动医疗科技有限公司 The drug metering method of intelligent medicine-chest, intelligent medicine-chest and storage medium
CN109742654A (en) * 2018-12-12 2019-05-10 国网浙江余姚市供电有限公司 Switchgear with non-contact high-voltage live display
CN109870227A (en) * 2019-04-04 2019-06-11 杭州点微科技有限公司 A kind of automatic peeling method that kinds of goods access weighing counts
CN110924754A (en) * 2019-11-11 2020-03-27 胡渐佳 Step-by-step locking control system of automatic door lock
CN212927504U (en) * 2020-05-12 2021-04-09 青岛海尔特种电冰柜有限公司 Detection module and container with same

Similar Documents

Publication Publication Date Title
US5629498A (en) Intraoperative tracking devices and processes
US20130284636A1 (en) Pill container with reminding function
CN109141594B (en) Medicine metering method of intelligent medicine cabinet, intelligent medicine cabinet and storage medium
CN111751011A (en) Infrared body surface temperature measuring equipment and detection method
US5056050A (en) Method for determining the necessity of adjusting a high-resolution electronic balance
CN114034368A (en) A kind of medical cabinet and its weighing and counting method
CN107978352A (en) The medicine or consumable smart media management system of a kind of intelligent weighing
WO2018226510A1 (en) Universal modular attachments for eye drop containers
CN212281366U (en) Urine volume monitoring device and dynamic urine volume monitoring system
WO2014148789A1 (en) Incubator having improved user interface
WO2022105063A1 (en) Human-based four-item basic life home health management system
CN101206237B (en) System and method for testing fuse response time
CN106126382A (en) Identify the method and device of file system error
JP3177295B2 (en) Digital waste liquid measuring machine
CN212261380U (en) Urine volume monitoring device and dynamic urine volume monitoring system
CN108344486A (en) The infusion test method and device on charged state automatic correcting measuring basis
CN114184268A (en) Weighing and counting method of medical cabinet and medical cabinet
CN210836378U (en) Express delivery warehouse
JP2002302206A (en) Collecting box
CN218121159U (en) Weighing display controller with learning and adjusting capability
CN209802499U (en) wind cap of concrete test balance
CN214376060U (en) Full-digital intelligent temperature and humidity controller
CN208998909U (en) Automatic checkweigher for environment protection of infusion bottle
CN109770688A (en) A kind of nobody automatic picking cabinet based on gravity sensing
CN212180750U (en) Quenching process on-line monitoring pH equipment

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