Medicine bottle in-situ detecting and counting device
By combining a paddle structure with a photoelectric sensor, the problem of false detection of medicine bottles with small weight and diameter in the medicine bottle in-situ detection device is solved, realizing safe and accurate medicine bottle detection and counting.
Patent Information
- Application Number
- CN202410966141.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2026-01-20
AI Technical Summary
Existing in-situ detection and counting devices for medicine bottles have a problem of false detection when detecting medicine bottles with small weight and small diameter, which affects the detection accuracy and reliability.
It adopts a paddle structure, in which the protruding part of the paddle contacts the medicine bottle to make it rotate. The rotation of the paddle generates high and low level signals by changing the obstruction of the sensor, so as to collect and count information, avoiding direct contact with the medicine bottle. It is combined with photoelectric sensors and signal processing modules for detection.
It enables safe and accurate detection of medicine bottles with small weight and small diameter, avoids adverse effects of sensors on medicines, and improves the sensitivity and reliability of detection.
Smart Images

Figure CN121365680A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of medicine storage and management, and particularly relates to a medicine bottle in-place detection and counting device. BACKGROUND
[0002] For controlled medicines such as methamphetamine, hospitals need to strictly control the flow of medicines. The current manual inventory needs to count medicine bottles one by one, which is inefficient, time-consuming and labor-intensive.
[0003] Currently, in the research of medicine bottle in-place detection and counting devices, in order to achieve accurate detection and counting, sensors are often used to directly contact medicine bottles, which may damage the properties of some medicines. In the prior art, some use displacement trigger sensors for counting. However, this method has the defect that the medicine bottles need to be placed on the axis, and it does not take into account that the weight of the medicine bottle may not cause the displacement device to produce displacement changes when the weight of the medicine bottle is small, resulting in missed detection of the in-place state of the medicine bottle with small weight, affecting the detection accuracy. In addition, when the diameter of the medicine bottle is small, the displacement device produces small displacement changes, which may also cause false detection, affecting the reliability of the detection.
[0004] Therefore, there is a need for a medicine bottle in-place detection device that can achieve safe detection while considering the detection sensitivity of medicine bottles with small weight and small diameter. SUMMARY
[0005] In view of the above analysis, the present application aims to provide a medicine bottle in-place detection and counting device to solve the problem of false detection of medicine bottles with small weight and small diameter in the prior art.
[0006] The main purpose of the present application is achieved by the following technical solutions:
[0007] A medicine bottle in-place detection and counting device, comprising a medicine bottle storage module, a medicine bottle in-place detection module and a signal processing and counting module.
[0008] The medicine bottle storage module is used for storing medicine bottles and comprises a medicine bottle placing groove. One side of the medicine bottle placing groove is provided with an opening, and the opening is used to extend into the medicine bottle in-place detection module.
[0009] The medicine bottle in-place detection module is used for detecting the in-place information of the medicine bottles in the medicine bottle storage module and comprises a mechanical detection unit and a photoelectric detection unit.
[0010] The mechanical detection unit comprises a poking piece and a poking piece connecting rod.
[0011] The photoelectric detection unit is arranged below the medicine bottle storage module and the mechanical detection unit, and comprises a PCB board and a photoelectric sensor.
[0012] The signal processing and counting module is used for collecting and processing signals and counting the in-place information of the medicine bottle.
[0013] Further, the center of gravity of the dial piece and the axis of the dial piece connecting rod are the dial piece center line.
[0014] Further, the dial piece center line is in a first state when it is in a vertical direction, and is in a second state when it is in an inclined direction.
[0015] Further, the dial piece is in the first state when it is not in contact with the medicine bottle or does not rotate when in contact with the medicine bottle.
[0016] Further, the dial piece is in the second state when it is in contact with the medicine bottle and rotates.
[0017] Further, in the first state, the bottom end of the dial piece is suspended between the infrared emitter and the infrared receiver.
[0018] Further, the height of the bottom end of the dial piece is not higher than the lowermost end of the infrared emitter and the infrared receiver.
[0019] Further, in the first state, the photoelectric sensor generates a low-level signal.
[0020] Further, in the second state, the bottom end of the dial piece is away from the infrared emitter and the infrared receiver.
[0021] Further, in the second state, the photoelectric sensor generates a high-level signal.
[0022] Further, the dial piece connecting rod is used to connect the dial piece, and the dial piece can rotate around the dial piece connecting rod with the dial piece connecting rod as the axis, and the center of the dial piece connecting rod is the rotation center of the dial piece.
[0023] Further, the dial piece has a vertical part and a protruding part, and the protruding part can extend into the opening of the medicine bottle placing groove to contact the medicine bottle.
[0024] Further, the protruding part has a starting point, which is the intersection of the vertical part of the dial piece and the uppermost end of the protruding part.
[0025] Further, the convex part has a farthest point, and the farthest point is farthest from the center line of the dial.
[0026] Further, the convex part has an inclination angle, and the inclination angle is an angle between a line between the starting point and the farthest point and the center line of the dial.
[0027] Further, an intersection between an axis of the dial connecting rod and the dial is a rotation center of the dial.
[0028] Further, a condition for the dial to rotate is that a mass of the medicine bottle satisfies the following formula:
[0029] g>muG / (cot theta-mu)
[0030] Wherein: G is the weight of the dial, in N; g is the weight of the medicine bottle, in N; theta is the inclination angle of the convex part of the dial 201, in degrees; mu is the friction coefficient between the dial and the dial connecting rod, without unit.
[0031] Further, a relationship between the rotation angle of the dial and the diameter of the medicine bottle is:
[0032] beta=sin (-1) (l2*sin theta) / l1-sin (-1) (l-d) / l1
[0033] Wherein: beta is the rotation angle of the dial, in degrees; alpha is an angle between a line between the rotation center of the dial and the farthest point and a vertical direction, in degrees; l2 is a length between the starting point and the farthest point of the convex part of the dial, in m; l is a distance between the rotation center of the dial and a side wall of the medicine bottle far from the dial, in m; d is the diameter of the medicine bottle, in m.
[0034] Further, a vertical distance between the rotation center of the dial and the bottom end of the dial is a length of the dial, and the length of the dial is at least 2 times of a vertical distance between the rotation center of the dial and the farthest point of the convex part of the dial.
[0035] Compared with the prior art, the present application can achieve at least one of the following beneficial effects:
[0036] (1) The present application sets a dial structure, and transmits in-situ information of a medicine bottle to an external sensor through the dial. The dial has a convex part, the convex part of the dial is used to extend into a medicine bottle placing groove and contact the medicine bottle, a pushing force of the medicine bottle to the convex part and pushing the convex part out of the medicine bottle placing groove makes the dial rotate, so as to convert in-situ information of the medicine bottle in a medicine bottle storage module into dial rotation information, and the direction of the center line of the dial is used as a judgment parameter.
[0037] (2) The present application takes the structure of the dial piece as a medium, reduces the conversion into high and low level signals as the input signals of the information acquisition and counting module through the shielding of the dial piece rotation to the sensor, thereby counting the in-place information of the medicine bottle, avoiding the adverse effects of light, electromagnetic and the like of the sensor on the medicine, and achieving simple structure, easy implementation and safe detection.
[0038] (3) Compared with the prior art, the present application considers the case that the medicine bottle weight is too small to push the dial piece, studies the condition that the medicine bottle weight needs to meet when the dial piece can rotate, avoids the detection error of the in-place information of the medicine bottle, and modifies the inclination angle of the protruding part of the dial piece to make the device work normally and improve the reliability of the device.
[0039] (4) Compared with the prior art, the present application sets the vertical distance from the shaft center of the dial piece connecting rod to the bottom end of the dial piece as at least 2 times the vertical distance from the shaft center of the dial piece connecting rod to the farthest point of the protruding part of the dial piece, thereby amplifying the horizontal displacement of the final contact point by more than 2 times, ensuring the detection precision and sensitivity of the detection device for small-diameter medicine bottles, and achieving simple structure and convenient implementation.
[0040] Other features and advantages of the present application will be set forth in the specification, and in part will become apparent from the specification, or can be learned by practice of the present application. The objects and other advantages of the present application will be realized and attained by the structure particularly pointed out in the written description and claims hereof. BRIEF DESCRIPTION OF DRAWINGS
[0041] The accompanying drawings are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the principles of the application.
[0042] Figure 1 It is a structural schematic view of a medicine bottle detection and counting device.
[0043] Figure 2 It is a structural schematic view of a medicine bottle storage module and a mechanical detection module.
[0044] Figure 3 It is a structural schematic view of an optical detection module.
[0045] Figure 4 It is a structural schematic view of an emitter and a receiver of an optical sensor.
[0046] Figure 5 It is a working flowchart of an information acquisition module.
[0047] Figure 6Whether the pill bottle is placed in the pill bottle placing groove and the inclination angle of the dial piece when the diameter of the pill bottle is different;
[0048] Figure 7 The relationship between the weight of the pill bottle and the parameter of the dial piece;
[0049] Figure 8 The structure diagram when the dial piece is a symmetrical structure;
[0050] Figure 9 The structure diagram when the sensor is a Hall sensor;
[0051] Figure 10 The relationship between the pushing force of the pill bottle and the rotation angle of the dial piece when the pill bottle is downward;
[0052] Figure 11 The relationship between the diameter of the pill bottle and the rotation angle of the dial piece when the pill bottle is at the bottom;
[0053] Figure 12 The shielding condition diagram of the sensor when the dial piece has different lengths.
[0054] Reference signs:
[0055] 1-pill bottle storage module, 101-top plate, 102-stand column, 103-pill bottle placing groove, 2-pill bottle in-place detection module, 20-mechanical detection unit, 201-dial piece, 202-dial piece connecting rod, 203-baffle, 21-photoelectric detection unit, 211-PCB board, 212-photoelectric sensor, 2121-infrared emitter, 2122-infrared receiver, 213-Hall sensor, 214-magnet block, 3-signal processing and counting module, 301-signal processing and counting module interface, 4-pill bottle. DETAILED DESCRIPTION
[0056] The preferred application of the present application will be specifically described below in combination with the drawings, wherein the drawings constitute a part of the present application and are used together with the application of the present application to explain the principles of the present application.
[0057] Example 1
[0058] This embodiment provides a pill bottle in-place detection and counting device, referring to Figure 1 , mainly comprising a pill bottle storage module 1, a pill bottle in-place detection module 2 and a signal processing and counting module 3.
[0059] As Figure 2As shown, the medicine bottle storage module 1 is used for storing medicine bottles 4, including a top plate 101, a column 102 and medicine bottle placing grooves 103. The column 102 is used for connecting the top plate 101 and the PCB board 211 of the medicine bottle in-place detection module 2. The top plate 101 is uniformly provided with a plurality of holes, which are openings of the medicine bottle placing grooves 103. Corresponding to the shape of the medicine bottle 4, the medicine bottle placing groove 103 is a deep circular groove, and the medicine bottle placing groove 103 is vertically arranged between the top plate 101 and the PCB board 211. One side of the medicine bottle placing groove 103 is provided with an opening for extending into the medicine bottle in-place detection module 2.
[0060] The medicine bottle in-place detection module 2 is used for detecting the in-place information of the medicine bottles 4 in the medicine bottle storage module 1, including a mechanical detection unit 20 and a photoelectric detection unit 21.
[0061] In order to transmit the in-place information of the medicine bottles 4 to the external sensor, the mechanical detection unit 20 is arranged on one side of the medicine bottle placing groove 103. The mechanical detection unit 20 includes a paddle 201, a paddle connecting rod 202 and a partition plate 203. The paddle 201 is arranged on one side of each medicine bottle placing groove 103. The partition plate 203 and the paddle 201 mounting plate are arranged between the adjacent two medicine bottle storage modules 1. The paddle connecting rod 202 is a long rod arranged between the medicine bottle placing grooves 103 of the adjacent rows. The paddle connecting rod 202 penetrates the partition plate 203 and the paddle 201 mounting plate, and a plurality of paddles 201 are sequentially mounted. The top end of each row of paddles 201 is hinged to the paddle 201 mounting plate, and the paddle 201 can rotate around the paddle connecting rod 202 as the shaft, and the intersection of the axis of the paddle connecting rod 202 and the paddle 201 is the rotation center of the paddle 201.
[0062] Further, the paddle 201 has a vertical part and a protruding part. The protruding part of the paddle 201 can extend into the opening of the medicine bottle placing groove 103 to contact the medicine bottle 4. The center line of the paddle 201 is the line connecting the center of gravity of the paddle 201 and the rotation center of the paddle 201.
[0063] Under the action of gravity, the center line of the paddle 201 is in the vertical direction, which is the first state. When the paddle 201 rotates, the center line of the paddle 201 is inclined, which is the second state.
[0064] The intersection of the uppermost end of the protruding part and the vertical part of the paddle 201 is the starting point of the protruding part. The point on the protruding part farthest from the center line of the paddle 201 is the farthest point. The inclination angle between the line connecting the starting point and the farthest point relative to the center line of the paddle 201 is the inclination angle of the protruding part of the paddle 201.
[0065] The embodiment sets the structure of the dial 201, and transmits the in-place information of the medicine bottle 4 to the external sensor through the dial 201. The dial 201 has a protruding part, and the protruding part of the dial 201 is inserted into the medicine bottle placing groove 103 to contact the medicine bottle 4. The contact between the medicine bottle 4 and the protruding part and the pushing force of the protruding part pushed out of the medicine bottle placing groove 103 make the dial 201 rotate, so as to convert the in-place information of the medicine bottle 4 in the medicine bottle storage module 1 into the rotation information of the dial 201, and take the direction of the center line of the dial 201 as the judgment parameter.
[0066] The photoelectric detection unit 21 is arranged below the medicine bottle storage module 1 and the mechanical detection unit 20. As shown in Figure 3 , the photoelectric detection unit 21 includes a PCB board 211 and a photoelectric sensor 212. The photoelectric sensor 212 is installed on the PCB board 211 corresponding to the position of the dial 201. Figure 4 As shown in Figure 4 , the photoelectric sensor 212 is U-shaped, and the inner side of one end is an infrared emission stage 2121, and the inner side of the other end is an infrared receiving stage 2122.
[0067] Further, according to the structure of the photoelectric sensor 212, the bottom end of the dial 201 is suspended in the middle of the infrared receiving stage 2122 and the infrared emission stage 2121. It should be noted that the height of the bottom end of the dial 201 is not higher than the height of the lowermost end of the infrared emission stage 2121 and the infrared receiving stage 2122 in the natural state.
[0068] The signal processing and counting module 3 is used for collecting and processing signals, and counting the in-place information of the medicine bottle 4. The signal processing and counting module interface 301 is arranged on the PCB board 211. As shown in Figure 5 , the working process of the signal processing and counting module 3 is as follows: when the signal collector collects the low or high level signal of the photoelectric sensor 212 through the signal processing and counting module interface 301, the signal processing and counting module 3 performs conditioning and encoding processing to form data information that can be identified, and then performs information reading to realize the counting of the medicine bottle 4. When the signal collector collects the high level signal generated by the photoelectric sensor 212, this is the in-place information of the medicine bottle 4, and the number of in-place is counted. The signal collector collects the low level signal generated by the photoelectric sensor 212, which is the out-of-place information of the medicine bottle 4.
[0069] As shown in Figure 6As shown, when the pill bottle 4 does not contact the dial 201 or the dial 201 is not triggered to rotate by the pill bottle 4, the convex part of the dial 201 extends into the pill bottle placing groove 103, and the center line of the dial 201 is vertical under the action of gravity, that is, the dial 201 is in the first state; the bottom end of the dial 201 is located between the infrared emitting stage 2121 and the infrared receiving stage 2122, which can block the infrared rays emitted from the infrared emitting stage 2221 to the infrared receiving stage 2122, so that the photoelectric sensor 212 generates a low-level signal, and the pill bottle in-place detection module 2 detects the out-of-place information of the pill bottle 4.
[0070] When the pill bottle 4 is placed in the pill bottle placing groove 103 and contacts the dial 201 to trigger the dial 201 to rotate, the center line of the dial 201 is inclined, that is, the dial 201 is in the second state. When the center line of the dial 201 is inclined, the bottom end of the dial 201 produces a horizontal displacement, and the infrared emitting stage 2121 and the infrared receiving stage 2122 of the photoelectric sensor 212 are not blocked or the blocking is reduced. The infrared receiving stage 2122 can normally receive the infrared rays emitted from the infrared emitting stage 2121, generate a high-level signal, and the pill bottle in-place detection module 2 detects the in-place information of the pill bottle 4.
[0071] When the pill bottle 4 is taken out of the pill bottle placing groove 103, the dial 201 rotates into the pill bottle placing groove 103, the center line of the dial 201 returns to the first state, and the bottom end of the dial 201 is suspended between the infrared emitting stage 2121 and the infrared receiving stage 2122 again. The infrared signal of the photoelectric sensor 212 is blocked, generating a low-level signal, and the signal collector collects the out-of-place information of the pill bottle 4 through the low-level signal generated by the photoelectric sensor 212.
[0072] It should be noted that the center line of the dial 201 will only be rotated when the pill bottle 4 contacts the dial 201 and triggers the dial 201 to rotate. The present embodiment is suitable for pill bottles 4 of different diameters, and the pill bottle 4 in the present embodiment does not need to be placed on the axis of the pill bottle placing groove 103.
[0073] The present embodiment takes the structure of the dial 201 as a medium, converts the reduction of the blocking of the sensor by the rotation of the dial 201 into high and low level signals as the input signals of the signal processing and counting module, so as to count the in-place information of the pill bottle 4, so that there is no sensor or circuit in the pill bottle placing groove 103, avoiding the adverse effects of light, electromagnetic and the like of the sensor on the medicine, and the structure is simple and easy to realize, and safe detection can be achieved.
[0074] Since most of the pill bottles 4 and medicines are light, considering that the weight of the pill bottle 4 is too small to push the dial 201, at this time the dial 201 blocks the infrared emitting stage 2121 and the infrared receiving stage 2122, so that the signal processing and counting module 3 detects the false information that the pill bottle 4 is out of place, and the present embodiment studies the satisfaction condition of the weight of the pill bottle 4.
[0075] When the weight of the medicine bottle 4 meets certain conditions, the medicine bottle 4 is placed in the medicine bottle placing groove 103 and contacts the push piece 201, so as to push the push piece 201 to rotate.
[0076] As shown in the figure, force analysis of the push piece 201 shows that the condition for the push piece 201 to rotate is that the weight of the medicine bottle 4 meets the following formula: Figure 7
[0077] g > μG / (cotθ-μ) (Formula 1)
[0078] Wherein: G is the weight of the push piece 201, unit N; g is the weight of the medicine bottle 4, unit N; θ is the inclination angle of the convex part of the push piece 201, degree; μ is the friction coefficient of the push piece 201 and the push piece connecting rod 202, unitless.
[0079] If the weight of the medicine bottle 4 does not meet the condition, the medicine bottle 4 cannot push the push piece 201 to rotate, and at this time, even if the medicine bottle 4 is in place, the out-of-place information of the medicine bottle 4 will be detected.
[0080] According to Formula 1, if the weight of the medicine bottle 4 is small and cannot touch the push piece 201 to rotate, the inclination angle of the convex part of the push piece 201 needs to be redesigned to be larger to meet Formula 1.
[0081] Compared with the prior art, the embodiment considers the case that the medicine bottle 4 cannot push the push piece due to small weight, studies the condition that the weight of the medicine bottle 4 needs to meet when the push piece 201 can rotate, avoids the detection error of the in-place information of the medicine bottle 4, and at the same time, for the case that the medicine bottle 4 cannot push the push piece 201 due to too light weight, the inclination angle of the convex part of the push piece 201 is modified to ensure the sensitivity of the device. Formula 1 of the embodiment can be used as the basis for the design of the push piece 201.
[0082] The push piece 201 in the embodiment is an asymmetric push piece 201, as shown in the figure, and as an alternative scheme of the embodiment, it can also be a symmetric push piece 201. The center of gravity of the push piece 201 is still directly below the rotation center, and when the medicine bottle 4 triggers the rotation of the push piece 201, a high-level signal is generated, and when the medicine bottle 4 is not triggered, a low-level signal is generated. Figure 8 As shown in the figure, the sensor in the embodiment is a photoelectric sensor 212, and as an alternative scheme of the embodiment, it can also be a Hall sensor 213. A magnet block 214 is added above the push piece 201, and two logics of obtaining no sensing signal in the deflection state under the natural state and obtaining no sensing signal and sensing signal in the deflection state under the natural state can be obtained. This scheme can also realize the in-place detection of the medicine bottle 4 and the acquisition of the counting information.
[0083] Figure 9 As shown in the figure, the sensor in the embodiment is a photoelectric sensor 212, and as an alternative scheme of the embodiment, it can also be a Hall sensor 213. A magnet block 214 is added above the push piece 201, and two logics of obtaining no sensing signal in the deflection state under the natural state and obtaining no sensing signal and sensing signal in the deflection state under the natural state can be obtained. This scheme can also realize the in-place detection of the medicine bottle 4 and the acquisition of the counting information.
[0084] Comparative Example 1
[0085] Based on the above example, if the inclination angle θ of the protruding portion of the dial 201 is 37°, the weight of the dial 201 is 2N, the weight of the medicine bottle 4 is 2N, and the friction coefficient μ of the dial 201 and the dial connecting rod 202 is 0.45, at this time, substituting into Equation 1, the right side is 0.45 x 2 / (cot 37° - 0.45) = 1.026.
[0086] Since g > μG / (cot θ - μ) is satisfied, the dial 201 can rotate.
[0087] In the actual structure, the device can detect the in-place information of the medicine bottle 4.
[0088] Comparative Example 2
[0089] If the inclination angle θ of the protruding portion of the dial 201 is 37°, the weight of the dial 201 is 2N, the weight of the medicine bottle 4 is 1N, and the friction coefficient μ of the dial 201 and the dial connecting rod 202 is 0.45, at this time, substituting into Equation 1, the right side is 0.45 x 2 / (cot 37° - 0.45) = 1.026.
[0090] Since g > μG / (cot θ - μ) is not satisfied, the dial 201 cannot rotate.
[0091] In the actual structure, the device cannot detect the in-place information of the medicine bottle 4.
[0092] Comparative Example 3
[0093] If the inclination angle θ of the protruding portion of the dial 201 is 50°, the weight of the dial 201 is 2N, the weight of the medicine bottle 4 is 2N, and the friction coefficient μ of the dial 201 and the dial connecting rod 202 is 0.45, at this time, substituting into Equation 1, the right side is 0.45 x 2 / (cot 50° - 0.45) = 2.313.
[0094] Since g > μG / (cot θ - μ) is not satisfied, the dial 201 cannot rotate.
[0095] In the actual structure, the device cannot detect the in-place information of the medicine bottle 4.
[0096] Comparative Example 4
[0097] If the inclination angle θ of the protruding portion of the dial 201 is 50°, the weight of the dial 201 is 2N, the weight of the medicine bottle 4 is 1N, and the friction coefficient μ of the dial 201 and the dial connecting rod 202 is 0.45, at this time, substituting into Equation 1, the right side is 0.45 x 2 / (cot 50° - 0.45) = 2.313.
[0098] Since g > μG / (cot θ - μ) is not satisfied, the dial 201 cannot rotate.
[0099] In actual structure, the device cannot detect the in-place information of the medicine bottle 4.
[0100] Embodiment 2
[0101] As shown in the figure, after the medicine bottle 4 pushes the paddle 201, the rotation angle of the paddle 201 is β, and the pushing force of the medicine bottle 4 on the paddle 201 satisfies the following formula: Figure 10 f = g x cot(θ - β)
[0102] As shown in the figure, when the medicine bottle 4 extends into the groove bottom, the rotation angle of the paddle 201 is the largest, and at this time
[0103] Figure 11 sin(β + α) = (l2*sin(π - θ)) / l1 (Formula 2)
[0104] wherein β is the rotation angle of the paddle 201, rad; α is the included angle between the line connecting the rotation center of the paddle 201 and the farthest point and the vertical direction, degree; l2 is the length between the starting point and the farthest point of the convex part of the paddle 201, m; l is the distance between the rotation center of the paddle 201 and the side wall of the medicine bottle 4 away from the paddle 201, m; d is the diameter of the medicine bottle 4, m.
[0105] Since sinα = (l - d) / l1, the above formula becomes:
[0106] β = sin (-1) (l2*sinθ) / l1 -sin (-1) (l - d) / l1 (Formula 3)
[0107] Let the distance from the axis of the paddle connecting rod 202 to the bottom end of the paddle 201 be a, and the horizontal displacement of the bottom end of the paddle 201 generated by the rotation of β be b, then
[0108] b = asinβ (Formula 4)
[0109] According to Formula 3 and Formula 4, with the increase of the diameter of the medicine bottle 4, (l - d) / l1 decreases, and the value of β increases. With the increase of the diameter of the medicine bottle 4, the rotation angle β of the paddle 201 in the final state also increases, and the horizontal displacement b of the bottom end of the paddle 201 to the photoelectric sensor 212 also increases.
[0110] On the contrary, with the decrease of the diameter of the medicine bottle 4, the rotation angle of the paddle 201 in the final state also decreases, and the horizontal displacement of the bottom end of the paddle 201 to the photoelectric sensor 212 also decreases.
[0111] On the contrary, with the decrease of the diameter of the medicine bottle 4, the rotation angle of the paddle 201 in the final state also decreases, and the horizontal displacement of the bottom end of the paddle 201 to the photoelectric sensor 212 also decreases.
[0112] Considering the small diameter of the medicine bottle 4 (less than 11.5 mm), the horizontal displacement of the lever 201 will be less than 0.1 mm. The signal detection and counting module 3 may detect an error indicating that the medicine bottle 4 is not in place. According to Equation 4, as... Figure 12 As shown, the length of the bottom end of the paddle 201 is increased, that is, the bottom end of the paddle 201 is extended along the center line. At the same time, the photoelectric detection unit 21 in the medicine bottle position detection module 2 is moved down, so that the bottom end of the paddle 201 in its natural state is still suspended between the infrared emitting stage 2121 and the infrared receiving stage 2122 of the photoelectric sensor 212. The horizontal displacement of the protrusion of the paddle 201 is amplified at the bottom end of the paddle 201. Even if the protrusion of the paddle 201 rotates by a small displacement, the displacement generated by the bottom end of the paddle 201 after amplification will be more obvious, thereby ensuring the detection sensitivity of the device. Specifically, the vertical distance from the axis of the paddle connecting rod 202 to the bottommost point of the paddle 201 is set to be at least twice the vertical distance between the axis of the paddle connecting rod 202 and the farthest point of the protrusion of the paddle 201.
[0113] Compared with the prior art, in this embodiment, according to Equation 4, since the farthest point of the protrusion of the paddle 201 is the final contact point with the medicine bottle 4, the vertical distance from the axis of the paddle connecting rod 202 to the bottom of the paddle 201 is set to be at least twice the vertical distance between the axis of the paddle connecting rod 202 and the farthest point of the protrusion of the paddle 201. This will shift the horizontal displacement of the final contact point by at least twice, ensuring the detection accuracy and sensitivity of the detection device for small-diameter medicine bottles 4. The structure is simple and easy to implement.
[0114] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention.
Claims
1. A device for detecting and counting the presence of medicine bottles, characterized in that, It includes a medicine bottle storage module (1), a medicine bottle in-situ detection module (2), and a signal processing and counting module (3); The medicine bottle storage module (1) is used to store medicine bottles (4). The medicine bottle storage module (1) includes a medicine bottle placement slot (103). An opening is provided on one side of the medicine bottle placement slot (103), and the opening is used to insert the medicine bottle in-situ detection module (2). The medicine bottle in-situ detection module (2) is used to detect the in-situ information of the medicine bottle (4) in the medicine bottle storage module (1). The medicine bottle in-situ detection module (2) includes a mechanical detection unit (20) and a photoelectric detection unit (21). The mechanical detection unit (20) includes a paddle (201) and a paddle connecting rod (202); The photoelectric detection unit (21) is located below the medicine bottle storage module (1) and the mechanical detection unit (20). The photoelectric detection unit (21) includes a PCB board (211) and a photoelectric sensor (212). The photoelectric sensor (212) is U-shaped, with an infrared emitter (2121) on the inner side of one end and an infrared receiver (2122) on the inner side of the other end. The signal processing and counting module (3) is used to collect and process signals and count the presence information of the medicine bottle (4).
2. The medicine bottle in-situ detection and counting device according to claim 1, characterized in that, The line connecting the center of gravity of the paddle (201) and the axis of the paddle connecting rod (202) is the center line of the paddle (201).
3. The medicine bottle in-situ detection and counting device according to claim 2, characterized in that, The first state is when the center line of the paddle (201) is in the vertical direction; the second state is when the center line of the paddle (201) is in the inclined direction.
4. The medicine bottle in-situ detection and counting device according to claim 3, characterized in that, When the paddle (201) is not in contact with the medicine bottle (4) or does not rotate when in contact with the medicine bottle (4), the paddle (201) is in the first state.
5. The medicine bottle in-situ detection and counting device according to claim 3, characterized in that, When the paddle (201) comes into contact with the medicine bottle (4) and rotates, the paddle (201) is in the second state.
6. The medicine bottle in-situ detection and counting device according to claim 4, characterized in that, In the first state, the bottom end of the lever (201) is suspended between the infrared emitter (2121) and the infrared receiver (2122).
7. The medicine bottle in-situ detection and counting device according to claim 6, characterized in that, The bottom of the lever (201) is not higher than the lowest point of the infrared emitter (2121) and the infrared receiver (2122).
8. The medicine bottle in-situ detection and counting device according to claim 6, characterized in that, In the first state, the photoelectric sensor (212) generates a low-level signal.
9. The medicine bottle in-situ detection and counting device according to claim 5, characterized in that, In the second state, the bottom end of the lever (201) is away from the infrared emitter (2121) and the infrared receiver (2122).
10. The medicine bottle in-situ detection and counting device according to claim 9, characterized in that, In the second state, the photoelectric sensor (212) generates a high-level signal.
Citation Information
Patent Citations
Multi-cup in-place state detection device and method thereof
CN114637054A
Point-inspection counting equipment
CN204028975U
In-situ detection assembly and medicine cabinet
CN220773278U