Control method of ampoule test system

By obtaining material components in the ampoule test system and adjusting the detection method, simulating the breaking state of humans and collecting breaking force data, the problems of single detection data and inconvenient use in the prior art are solved, and more comprehensive detection and higher safety are achieved.

CN118883421BActive Publication Date: 2025-04-15NANTONG HANDI AUTOMATION EQUIP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411393303.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-08
Publication Date
2025-04-15
Estimated Expiration
2044-10-08

AI Technical Summary

Technical Problem

The existing ampoule testing system cannot adjust the detection method according to the composition of the material in the target ampoule, and cannot simulate the state of breaking the ampoule, resulting in a single detection data, inconvenient use, and may lead to accidents in use by inexperienced people.

Method used

By obtaining the components of the material in the target ampoule, adjusting the detection method, and simulating the state of breaking the ampoule in the ampoule test system, rotating the second fixing device until the ampoule breaks, collecting breaking force data to generate a breaking force report.

Benefits of technology

It realizes the adjustment of detection methods according to material composition, simulates the breaking state of people, obtains more comprehensive breaking force data, improves the practicality and safety of the detection, and avoids inconvenient use or accidents inexperienced people.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118883421B_ABST
    Figure CN118883421B_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of ampoule testing, and discloses a control method for an ampoule testing system, comprising: obtaining an ampoule testing system, simulating and forming a determination coordinate axis in a target system, obtaining a material in a target ampoule, judging the composition of the target material, determining a detection method for a target ampoule according to the composition of the target material, and obtaining a corresponding breaking force to form a breaking force report. The control method for the ampoule testing system adjusts a detection method for a target ampoule according to a user group of the target ampoule, simulates a state of a person breaking an ampoule, detects the breaking force of the target ampoule, takes into account the use habits of each user as much as possible, determines whether the user group has experience in breaking an ampoule, and enables an ampoule manufacturer to determine whether to adjust the production parameters of the ampoule, avoids inconvenience for inexperienced people to use or avoids accidents such as scratching the skin when breaking the ampoule, and makes the detection more comprehensive.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of ampoule bottle testing, in particular to a control method of an ampoule bottle testing system. Background Art

[0002] The ampoule testing system is used to detect the integrity and quality of ampoules, including: automatic control system, visual inspection system, mechanical control system, data acquisition and analysis, and software control. These control methods can be used alone or in combination and optimized according to actual needs and system complexity;

[0003] Use high-precision sensors to detect various indicators of ampoules, such as whether the bottle mouth is intact and whether there is leakage, etc. Use programmable logic controllers (PLCs) to achieve automatic control and data processing to ensure the stability and accuracy of the system. Use high-resolution cameras and image processing software to monitor and analyze ampoules in real time to detect bottle defects, label errors and other problems. Use robotic arms to carry, position and operate ampoules to improve test efficiency and accuracy. Use pneumatic devices to clamp and move ampoules to ensure the stability of the bottle during the test. Record test data in real time, such as bottle pressure and sealing, for subsequent analysis and quality control. Perform statistical analysis on the collected data and generate reports to help identify potential quality problems and improvement points. Use a friendly user interface to set up the system, adjust test parameters and view results. The system can automatically diagnose faults and provide corresponding solutions to improve maintenance efficiency.

[0004] The existing control method of the ampoule testing system cannot adjust the detection method of the target ampoule according to the composition of the material in the target ampoule, cannot simulate the state of a person breaking the ampoule, and detects the breaking force of the target ampoule. The detection process is relatively simple and does not take into account that the user may have no experience in breaking ampoules, so the detection data is also relatively simple, which may easily cause inconvenience to inexperienced people when using it or cause accidents such as scratching the skin when breaking the ampoule. Its practicality has certain limitations. Summary of the invention

[0005] The present invention provides a control method for an ampoule bottle testing system, which is used to promote solving the problems mentioned in the background technology.

[0006] The present invention provides the following technical solution: a control method for an ampoule bottle testing system, comprising:

[0007] Obtain the ampoule test system and set it as the target system;

[0008] The target system is provided with a first fixing device and a second fixing device;

[0009] The first fixing device is provided with a first sub-device and a second sub-device;

[0010] The second fixing device is provided with a third sub-device and a fourth sub-device;

[0011] The target system is also provided with a placement table;

[0012] Get the midpoint of the table top and set it as the target midpoint;

[0013] Simulate and form a decision coordinate axis in the target system;

[0014] Obtaining a first endpoint and a second endpoint of a target ampoule;

[0015] Set target distance;

[0016] The direction from the first end point to the second end point is taken as the positive direction and is determined as the target direction;

[0017] Obtain the material in the target ampoule bottle and define it as the target material;

[0018] Setting a first component and a second component;

[0019] If the target material is the first component, the first detection method is performed on the target ampoule bottle, and the target breaking force is obtained;

[0020] If the target material is the second component, a second detection method is performed on the target ampoule bottle, and a breaking force set is obtained;

[0021] Based on the target breaking force or breaking force set, a breaking force report is generated for the breaking force of the target ampoule.

[0022] As an optional solution of the control method of the ampoule bottle testing system of the present invention, wherein: the simulation of forming the determination coordinate axis in the target system is specifically:

[0023] Get the target edge line for placing the table top;

[0024] Get the target midpoint;

[0025] Obtain a first target point and a second target point of a target edge line;

[0026] Take the target midpoint as the origin, the target sideline as the reference sideline, and the first target point to the second target point as the positive direction to make the first direction line;

[0027] With the midpoint of the target as the origin and the upward direction of the placement table as the positive direction, draw a second direction line perpendicular to the placement table;

[0028] Taking the target midpoint as the origin, the first direction line and the second direction line are integrated to form a determination coordinate axis.

[0029] As an optional solution of the control method of the ampoule bottle testing system of the present invention, wherein: the first detection method is specifically:

[0030] Obtaining a first endpoint of a target ampoule;

[0031] Get target distance and target direction;

[0032] Calculate the first placement point, the first placement point = first endpoint + target distance;

[0033] Get the determination coordinate axis;

[0034] Obtaining position coordinate points of the first sub-device and the second sub-device on the determination coordinate axis, and defining them as the first position point and the second position point respectively;

[0035] Extracting the coordinates of the first position point on the second direction line, and setting them as the first left coordinate and the second left coordinate respectively;

[0036] Extracting the coordinates of the second position point on the second direction line, and setting them as the first right coordinate and the second right coordinate respectively;

[0037] If the first left coordinate = the first right coordinate, and the second left coordinate = the second right coordinate, then control the first sub-device and the second sub-device to move to the first placement point of the target ampoule bottle, and clamp the target ampoule bottle;

[0038] If the first left coordinate ≠ the first right coordinate, or the second left coordinate ≠ the second right coordinate, then adjusting the position of the second sub-device based on the first position point so that the first left coordinate = the first right coordinate and the second left coordinate = the second right coordinate;

[0039] Controlling the first sub-device and the second sub-device to move to a height corresponding to the first placement point of the target ampoule bottle, and clamping the target ampoule bottle;

[0040] The first fixing device is controlled to move so that the first end point of the target ampoule bottle and the target midpoint are on the same vertical line, and the first breaking force determination strategy is executed.

[0041] As an optional solution of the control method of the ampoule bottle testing system of the present invention, the first breaking force determination strategy is specifically:

[0042] obtaining a second endpoint of the target ampoule;

[0043] Get target distance and target direction;

[0044] Calculate the second placement point, the second placement point = the second endpoint - target distance;

[0045] Get the determination coordinate axis;

[0046] Obtaining position coordinate points of the third sub-device and the fourth sub-device on the determination coordinate axis, and defining them as the third position point and the fourth position point respectively;

[0047] Extracting the coordinates of the third position point on the second direction line, and setting them as the third left coordinate and the fourth left coordinate respectively;

[0048] Extracting the coordinates of the fourth position point on the second direction line, and setting them as the third right coordinate and the fourth right coordinate respectively;

[0049] If the third left coordinate = the third right coordinate, and the fourth left coordinate = the fourth right coordinate, then control the third sub-device and the fourth sub-device to move to the second placement point of the target ampoule bottle, and clamp the target ampoule bottle;

[0050] If the third left coordinate ≠ the third right coordinate, or the fourth left coordinate ≠ the fourth right coordinate, adjusting the position of the fourth sub-device based on the third position point so that the third left coordinate = the third right coordinate and the fourth left coordinate = the fourth right coordinate;

[0051] Controlling the third sub-device and the fourth sub-device to move to the second placement point of the target ampoule bottle and clamp the target ampoule bottle;

[0052] Set the breaking direction and breaking angle;

[0053] Controlling the first fixing device to remain stationary, and controlling the second fixing device to rotate in a breaking direction until the target ampoule bottle is broken;

[0054] The breaking force used to break the target ampoule is collected and identified as the target breaking force.

[0055] As an optional solution of the control method of the ampoule bottle testing system of the present invention, the second detection method is specifically:

[0056] Get the determination coordinate axis;

[0057] Place the target ampoule on the table;

[0058] Controlling the first fixture to clamp the target ampoule bottle, and moving the first fixture;

[0059] When the first end point of the target ampoule bottle coincides with the target midpoint of the placement table, controlling the first fixing device to leave the target ampoule bottle;

[0060] Obtaining a target breaking point of a target ampoule;

[0061] Taking the first endpoint as the starting point and the target fracture point as the ending point, a first determination range is formed;

[0062] Setting a first moving distance;

[0063] Obtaining a position coordinate point of the first sub-device on the determination coordinate axis when the first sub-device is located at the first endpoint, and setting it as a first initial position point;

[0064] Taking the first initial position point as the starting point, a fixed point is formed at intervals of a first moving distance in the positive direction of the second direction line, which is defined as the first fixed point;

[0065] Acquire all first fixed points within the first determination range to form a first fixed point set;

[0066] The second fixed point determination strategy is executed.

[0067] As an optional solution of the control method of the ampoule bottle testing system of the present invention, the second fixed point determination strategy is specifically:

[0068] Obtaining a target fracture point and a first determination range;

[0069] Get the first moving distance;

[0070] Obtaining a position coordinate point of the second sub-device on the determination coordinate axis when the second sub-device is located at the first endpoint, and setting it as a second initial position point;

[0071] Taking the second initial position point as the starting point, a fixed point is formed at intervals of the first moving distance in the positive direction of the second direction line, and is defined as the second fixed point;

[0072] Acquire all second fixed points within the first determination range to form a second fixed point set;

[0073] Map the elements in the first fixed point set to the elements in the second fixed point set one by one to form a lower fixed point set;

[0074] The fourth fixed point determination strategy is executed.

[0075] As an optional solution of the control method of the ampoule bottle testing system of the present invention, the fourth fixed point determination strategy is specifically:

[0076] Obtaining a target breaking point of a target ampoule;

[0077] Taking the second endpoint as the starting point and the target fracture point as the ending point, a second determination range is formed;

[0078] Set the second moving distance;

[0079] Obtaining a position coordinate point of the fourth sub-device on the determination coordinate axis when the fourth sub-device is located at the second endpoint, and setting it as a fourth initial position point;

[0080] Taking the fourth initial position point as the starting point, a fixed point is formed at every second moving distance in the negative direction of the second direction line, which is defined as the fourth fixed point;

[0081] Acquire all fourth fixed points within the second determination range to form a fourth fixed point set;

[0082] The third fixed point determination strategy is executed.

[0083] As an optional solution of the control method of the ampoule bottle testing system of the present invention, the third fixed point determination strategy is specifically:

[0084] Obtaining the target breaking point and the second determination range;

[0085] Get the second moving distance;

[0086] Obtaining a position coordinate point of the third sub-device on the determination coordinate axis when the third sub-device is located at the second endpoint, and setting it as a third initial position point;

[0087] Taking the third initial position point as the starting point, a fixed point is formed at every second moving distance in the negative direction of the second direction line, which is defined as the third fixed point;

[0088] Acquire all third fixed points within the second determination range to form a third fixed point set;

[0089] Map the elements in the third fixed point set to the elements in the fourth fixed point set one by one to form an upper fixed point set;

[0090] Map the elements in the upper fixed point set to the elements in the lower fixed point set one by one to form a fixed point position set;

[0091] The second breaking force determination strategy is executed.

[0092] As an optional solution of the control method of the ampoule bottle testing system of the present invention, the second breaking force determination strategy is specifically:

[0093] Get the target midpoint;

[0094] Obtain the color point of the target ampoule bottle and set it as the target color point;

[0095] Obtain the midpoint of the target edge line of the placement table and set it as the determination midpoint;

[0096] Connect the target color point and the target midpoint to form a first determination line;

[0097] Connect the target midpoint and the determination midpoint to form a second determination line;

[0098] Set the unit angle;

[0099] Rotating the target ampoule bottle so that the first determination line coincides with the second determination line;

[0100] Obtaining the angle between the first determination line and the second determination line, and setting it as the initial angle;

[0101] Taking the initial angle as the starting angle, the target ampoule is rotated clockwise, and a determination rotation point is formed at each unit angle interval, until the first determination line overlaps with the second determination line and then stops rotating;

[0102] Get all the determined rotation points to form a rotation angle set;

[0103] Map the elements in the fixed point position set to the elements in the rotation angle set one by one to form a determination position set;

[0104] According to each element in the determined position set, respectively adjust the positions of the first fixture, the second fixture and the target ampoule bottle;

[0105] Set the breaking direction and breaking angle;

[0106] Controlling the first fixing device to remain stationary, and controlling the second fixing device to rotate in a breaking direction until the target ampoule bottle is broken;

[0107] The breaking force used by the target ampoule when each element in the determination position set is broken is collected to form a breaking force set.

[0108] The present invention has the following beneficial effects:

[0109] 1. The control method of the ampoule bottle testing system determines whether the component is a medical component by obtaining the component of the material loaded in the target ampoule bottle. If the material is a medical component, it means that the material is used to treat the patient's disease, which means that the people who use the ampoule bottle are medical workers, that is, people with a high probability of using experience. The detection method is mainly simple and fast. If the material is a skin care component, it means that the material is used for ordinary skin care, which means that the people who use the ampoule bottle are a wide range of people including medical workers, that is, there are people with no use experience. The detection method needs to take into account the user's usage habits. According to the composition of the material in the target ampoule bottle, the detection method for the target ampoule bottle is adjusted, the state of a person breaking the ampoule bottle is simulated, and the breaking force of the target ampoule bottle is detected. The usage habits of each user are taken into account as much as possible to determine whether the user group has experience in breaking the ampoule bottle, so that the ampoule bottle manufacturer determines whether to adjust the production parameters of the ampoule bottle to avoid inconvenience for inexperienced people to use or accidents such as scratching the skin when breaking the ampoule bottle, and the detection is more comprehensive.

[0110] 2. The control method of the ampoule bottle testing system controls the ampoule bottle testing system to clamp the bottom and top of the ampoule bottle respectively for the target ampoule bottle whose material is a medical ingredient, and simulates the action of a person breaking the ampoule bottle by rotating the second fixing device until the ampoule bottle is broken, and at the same time obtains the breaking force when the ampoule bottle is broken, and forms a corresponding breaking force report, so that the ampoule bottle manufacturer can determine whether to adjust the production parameters of the ampoule bottle.

[0111] 3. The control method of the ampoule bottle testing system controls each sub-device of the ampoule bottle testing system to adjust to different positions for the target ampoule bottle whose material is a skin care ingredient, and rotates the target ampoule bottle at different angles, and then simulates the action of a person breaking the ampoule bottle by rotating the second fixing device until the ampoule bottle is broken. At the same time, the breaking force of the target ampoule bottle when it is broken is obtained when each sub-device is at different angles and in different positions, and a corresponding breaking force set is formed, and a corresponding breaking force report is formed. The usage habits of each user are taken into consideration as much as possible to determine whether the user group has experience in breaking ampoules, so that the ampoule bottle manufacturer can determine whether to adjust the production parameters of the ampoule bottle to avoid inconvenience for inexperienced people to use or accidents such as scratching the skin when breaking the ampoule bottle, and the detection is more comprehensive. BRIEF DESCRIPTION OF THE DRAWINGS

[0112] Figure 1 It is a flow chart of the control method of the ampoule bottle testing system of the present invention;

[0113] Figure 2 Schematic diagram of the ampoule bottle testing system of the present invention;

[0114] Figure 3 Schematic diagram of the second fixing device of the present invention

[0115] Figure 4 Schematic diagram of the first fixing device of the present invention

[0116] Figure 5 It is a schematic diagram of the target ampoule bottle of the present invention. DETAILED DESCRIPTION

[0117] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0118] Embodiment 1, control method of ampoule bottle testing system, see Figure 1-Figure 5 ,include:

[0119] Obtain the ampoule test system and set it as the target system;

[0120] The target system is provided with a first fixing device and a second fixing device, such as Figure 2 As shown;

[0121] The first fixing device is provided with a first sub-device and a second sub-device, such as Figure 2 As shown;

[0122] The second fixing device is provided with a third sub-device and a fourth sub-device, such as Figure 2 As shown;

[0123] The target system is also provided with a placement table, such as Figure 2 As shown;

[0124] Get the midpoint of the table and set it as the target midpoint, such as Figure 2 As shown;

[0125] Simulate and form a decision coordinate axis in the target system;

[0126] Get the first endpoint and the second endpoint of the target ampoule, the first endpoint is the center of the bottom of the ampoule, and the second endpoint is the center of the top of the ampoule, such as Figure 5 As shown;

[0127] Set the target distance, the target distance is 6mm;

[0128] The direction from the first end point to the second end point is taken as the positive direction and is determined as the target direction;

[0129] Obtain the material in the target ampoule bottle and define it as the target material;

[0130] A first component and a second component are set, wherein the first component is a medical component, i.e., used to treat a patient's condition, and the second component is a skin care component, used for ordinary skin care;

[0131] If the target material is the first component, the first detection method is performed on the target ampoule bottle, and the target breaking force is obtained;

[0132] If the target material is the second component, a second detection method is performed on the target ampoule bottle, and a breaking force set is obtained;

[0133] Based on the target breaking force or breaking force set, a breaking force report is generated for the breaking force of the target ampoule.

[0134] Through the above method, according to the composition of the material in the target ampoule, the detection method for the target ampoule is adjusted, the state of a person breaking the ampoule is simulated, the breaking force of the target ampoule is detected, and the difference in user groups is taken into account as much as possible to determine whether the user group has experience in breaking ampoules, so that the ampoule manufacturer can determine whether to adjust the production parameters of the ampoule to avoid inconvenience in use by inexperienced people or accidents such as scratching the skin when breaking the ampoule. Taking into account the user's usage habits, the detection is more comprehensive.

[0135] The first sub-device of the first fixing device includes a first clamping plate for clamping the ampoule bottle, one side of the first clamping plate is connected to the output end of the first electric telescopic rod, the cylinder of the first electric telescopic rod is connected to the output end of the second electric telescopic rod, the cylinder of the second electric telescopic rod is connected to one end of the first connecting rod, and the other end of the first connecting rod is connected to the housing, such as Figure 4 As shown;

[0136] The second sub-device of the first fixing device has the same structure as the first sub-device and is symmetrically arranged. Figure 4 As shown;

[0137] The second fixing device includes a fixing plate for fixing the third sub-device and the fourth sub-device, the fixing plate is connected to one end of the rotating shaft, the other end of the rotating shaft is connected to the output end of the rotating motor, and the rotating motor is installed on the housing, such as Figure 3 As shown;

[0138] The third sub-device includes a second clamping plate for clamping the ampoule bottle, one side of the second clamping plate is connected to the output end of the third electric telescopic rod, the cylinder of the third electric telescopic rod is connected to the output end of the fourth electric telescopic rod, the cylinder of the fourth electric telescopic rod is connected to one end of the second connecting rod, and the other end of the second connecting rod is connected to the fixed plate, such as Figure 3 As shown;

[0139] The fourth sub-device has the same structure as the third sub-device and is symmetrically arranged. Figure 3 shown.

[0140] Embodiment 2: This embodiment is an improvement made on the basis of embodiment 1. Figure 2 , the control method of the ampoule bottle testing system, the simulation of forming a determination coordinate axis in the target system is specifically as follows:

[0141] Get the target edge of the tabletop, such as Figure 2 As shown;

[0142] Get the target midpoint;

[0143] Get the first target point and the second target point of the target edge, such as Figure 2 As shown;

[0144] Take the target midpoint as the origin, the target edge as the reference edge, and the first target point to the second target point as the positive direction to draw the first direction line, such as Figure 2 As shown;

[0145] Take the target midpoint as the origin, take the upward direction of the placement table as the positive direction, and draw a second direction line perpendicular to the placement table, such as Figure 2 As shown;

[0146] Taking the target midpoint as the origin, integrate the first direction line and the second direction line to form the determination coordinate axis, such as Figure 2 shown.

[0147] Embodiment 3: This embodiment is an improvement made on the basis of embodiment 2. Figure 2 In this embodiment, the first detection method is specifically:

[0148] Obtaining a first endpoint of a target ampoule;

[0149] Get target distance and target direction;

[0150] Calculate the first placement point, the first placement point = first endpoint + target distance;

[0151] Get the determination coordinate axis;

[0152] Obtaining position coordinate points of the first sub-device and the second sub-device on the determination coordinate axis, and defining them as the first position point and the second position point respectively;

[0153] Extracting the coordinates of the first position point on the second direction line, and setting them as the first left coordinate and the second left coordinate respectively;

[0154] Extracting the coordinates of the second position point on the second direction line, and setting them as the first right coordinate and the second right coordinate respectively;

[0155] If the first left coordinate = the first right coordinate, and the second left coordinate = the second right coordinate, then control the first sub-device and the second sub-device to move to the first placement point of the target ampoule bottle, and clamp the target ampoule bottle;

[0156] If the first left coordinate ≠ the first right coordinate, or the second left coordinate ≠ the second right coordinate, then adjusting the position of the second sub-device based on the first position point so that the first left coordinate = the first right coordinate and the second left coordinate = the second right coordinate;

[0157] Controlling the first sub-device and the second sub-device to move to a height corresponding to the first placement point of the target ampoule bottle, and clamping the target ampoule bottle;

[0158] The first fixing device is controlled to move so that the first end point of the target ampoule bottle and the target midpoint are on the same vertical line, and the first breaking force determination strategy is executed.

[0159] The first breaking force determination strategy is specifically:

[0160] obtaining a second endpoint of the target ampoule;

[0161] Get target distance and target direction;

[0162] Calculate the second placement point, the second placement point = the second endpoint - target distance;

[0163] Get the determination coordinate axis;

[0164] Obtaining position coordinate points of the third sub-device and the fourth sub-device on the determination coordinate axis, and defining them as the third position point and the fourth position point respectively;

[0165] Extracting the coordinates of the third position point on the second direction line, and setting them as the third left coordinate and the fourth left coordinate respectively;

[0166] Extracting the coordinates of the fourth position point on the second direction line, and setting them as the third right coordinate and the fourth right coordinate respectively;

[0167] If the third left coordinate = the third right coordinate, and the fourth left coordinate = the fourth right coordinate, then control the third sub-device and the fourth sub-device to move to the second placement point of the target ampoule bottle, and clamp the target ampoule bottle;

[0168] If the third left coordinate ≠ the third right coordinate, or the fourth left coordinate ≠ the fourth right coordinate, adjusting the position of the fourth sub-device based on the third position point so that the third left coordinate = the third right coordinate and the fourth left coordinate = the fourth right coordinate;

[0169] Controlling the third sub-device and the fourth sub-device to move to the second placement point of the target ampoule bottle and clamp the target ampoule bottle;

[0170] Set the breaking direction and breaking angle. The breaking direction is clockwise. Figure 2 As shown;

[0171] Controlling the first fixing device to remain stationary, and controlling the second fixing device to rotate in a breaking direction until the target ampoule bottle is broken;

[0172] The breaking force used to break the target ampoule is collected and identified as the target breaking force.

[0173] Embodiment 4: This embodiment is an improvement made on the basis of embodiment 3. Figure 2-Figure 5 In this embodiment, the second detection method is specifically:

[0174] Get the determination coordinate axis;

[0175] Place the target ampoule on the table;

[0176] Controlling the first fixture to clamp the target ampoule bottle, and moving the first fixture;

[0177] When the first end point of the target ampoule bottle coincides with the target midpoint of the placement table, controlling the first fixing device to leave the target ampoule bottle;

[0178] Obtain the target breaking point of the target ampoule bottle, where the target breaking point is the center of the ampoule bottle body part with the smallest diameter, such as Figure 5 As shown;

[0179] Taking the first endpoint as the starting point and the target fracture point as the ending point, a first determination range is formed;

[0180] Setting a first moving distance, wherein the first moving distance is 2 mm;

[0181] Obtaining a position coordinate point of the first sub-device on the determination coordinate axis when the first sub-device is located at the first endpoint, and setting it as a first initial position point;

[0182] Taking the first initial position point as the starting point, a fixed point is formed at intervals of a first moving distance in the positive direction of the second direction line, which is defined as the first fixed point;

[0183] Acquire all first fixed points within the first determination range to form a first fixed point set, wherein the first fixed point set includes a first initial position point;

[0184] The second fixed point determination strategy is executed.

[0185] The second fixed point determination strategy is specifically as follows:

[0186] Obtaining a target fracture point and a first determination range;

[0187] Get the first moving distance;

[0188] Obtaining a position coordinate point of the second sub-device on the determination coordinate axis when the second sub-device is located at the first endpoint, and setting it as a second initial position point;

[0189] Taking the second initial position point as the starting point, a fixed point is formed at intervals of the first moving distance in the positive direction of the second direction line, and is defined as the second fixed point;

[0190] Acquire all second fixed points within the first determination range to form a second fixed point set, wherein the second fixed point set includes a second initial position point;

[0191] Map the elements in the first fixed point set to the elements in the second fixed point set one by one to form a lower fixed point set;

[0192] The fourth fixed point determination strategy is executed.

[0193] This embodiment also provides that the fourth fixed point determination strategy is specifically:

[0194] Obtaining a target breaking point of a target ampoule;

[0195] Taking the second endpoint as the starting point and the target fracture point as the ending point, a second determination range is formed;

[0196] Setting a second moving distance, wherein the second moving distance is 1 mm;

[0197] Obtaining a position coordinate point of the fourth sub-device on the determination coordinate axis when the fourth sub-device is located at the second endpoint, and setting it as a fourth initial position point;

[0198] Taking the fourth initial position point as the starting point, a fixed point is formed at every second moving distance in the negative direction of the second direction line, which is defined as the fourth fixed point;

[0199] Acquire all fourth fixed points within the second determination range to form a fourth fixed point set, wherein the fourth fixed point set includes a fourth initial position point;

[0200] The third fixed point determination strategy is executed.

[0201] The third fixed point determination strategy is specifically:

[0202] Obtaining the target breaking point and the second determination range;

[0203] Get the second moving distance;

[0204] Obtaining a position coordinate point of the third sub-device on the determination coordinate axis when the third sub-device is located at the second endpoint, and setting it as a third initial position point;

[0205] Taking the third initial position point as the starting point, a fixed point is formed at every second moving distance in the negative direction of the second direction line, which is defined as the third fixed point;

[0206] Acquire all third fixed points within the second determination range to form a third fixed point set, wherein the third fixed point set includes a third initial position point;

[0207] Map the elements in the third fixed point set to the elements in the fourth fixed point set one by one to form an upper fixed point set;

[0208] Map the elements in the upper fixed point set to the elements in the lower fixed point set one by one to form a fixed point position set;

[0209] The second breaking force determination strategy is executed.

[0210] This embodiment also provides that the second breaking force determination strategy is specifically:

[0211] Get the target midpoint;

[0212] Get the color point of the target ampoule bottle and set it as the target color point, such as Figure 5 As shown;

[0213] Get the midpoint of the target edge of the table and set it as the judgment midpoint, such as Figure 2 As shown;

[0214] Connect the target color point and the target midpoint to form a first determination line;

[0215] Connect the target midpoint and the determination midpoint to form a second determination line;

[0216] Set the unit angle, where the unit angle is 1°;

[0217] Rotating the target ampoule bottle so that the first determination line coincides with the second determination line;

[0218] Obtaining the angle between the first determination line and the second determination line, and setting it as the initial angle;

[0219] Taking the initial angle as the starting angle, the target ampoule is rotated clockwise, and a determination rotation point is formed at each unit angle interval, until the first determination line overlaps with the second determination line and then stops rotating;

[0220] Get all the determined rotation points to form a rotation angle set;

[0221] Map the elements in the fixed point position set to the elements in the rotation angle set one by one to form a determination position set;

[0222] According to each element in the determined position set, respectively adjust the positions of the first fixture, the second fixture and the target ampoule bottle;

[0223] Set the breaking direction and breaking angle. The breaking direction is clockwise. Figure 2 As shown;

[0224] Controlling the first fixing device to remain stationary, and controlling the second fixing device to rotate in a breaking direction until the target ampoule bottle is broken;

[0225] The breaking force used by the target ampoule when each element in the determination position set is broken is collected to form a breaking force set.

[0226] In this embodiment, according to the composition of the material in the target ampoule, the detection method for the target ampoule is adjusted, the state of a person breaking the ampoule is simulated, and the breaking force of the target ampoule is detected. The difference in user groups is taken into account as much as possible to determine whether the user groups have experience in breaking ampoules, so that the ampoule manufacturer can determine whether to adjust the production parameters of the ampoule to avoid inconvenience in use by inexperienced people or accidents such as scratching the skin when breaking the ampoule. Taking into account the user's usage habits, the detection is more comprehensive.

Claims

1. A control method for an ampoule bottle testing system, characterized in that: include: Obtain the ampoule test system and set it as the target system; The target system is provided with a first fixing device and a second fixing device; The first fixing device is provided with a first sub-device and a second sub-device; The second fixing device is provided with a third sub-device and a fourth sub-device; The target system is also provided with a placement table; Get the midpoint of the table top and set it as the target midpoint; Simulate and form a decision coordinate axis in the target system; Obtaining a first endpoint and a second endpoint of a target ampoule; Set target distance; The direction from the first end point to the second end point is taken as the positive direction and is determined as the target direction; Obtain the material in the target ampoule bottle and define it as the target material; Setting a first component and a second component; If the target material is the first component, the first detection method is performed on the target ampoule bottle, and the target breaking force is obtained; Control the ampoule bottle testing system to clamp the bottom and top of the ampoule bottle respectively, and simulate the action of a person breaking the ampoule bottle by rotating the second fixing device until the ampoule bottle is broken, and at the same time obtain the breaking force when the ampoule bottle is broken, and form a corresponding breaking force report; If the target material is the second component, a second detection method is performed on the target ampoule bottle, and a breaking force set is obtained; Control each sub-device of the ampoule test system to adjust to different positions, and rotate the target ampoule at different angles, and then simulate the action of a person breaking the ampoule by rotating the second fixing device until the ampoule is broken, and at the same time obtain the breaking force of the target ampoule at different angles and when each sub-device is at different positions, to form a corresponding breaking force set, and form a corresponding breaking force report; Based on the target breaking force or breaking force set, a breaking force report is generated for the breaking force of the target ampoule.

2. The control method of the ampoule bottle testing system according to claim 1, characterized in that: The determination coordinate axis is simulated in the target system, specifically: Get the target edge line for placing the table top; Get the target midpoint; Obtain a first target point and a second target point of a target edge line; Take the target midpoint as the origin, the target sideline as the reference sideline, and the first target point to the second target point as the positive direction to make the first direction line; With the midpoint of the target as the origin and the upward direction of the placement table as the positive direction, draw a second direction line perpendicular to the placement table; Taking the target midpoint as the origin, the first direction line and the second direction line are integrated to form a determination coordinate axis.

3. The control method of the ampoule bottle testing system according to claim 2, characterized in that: The first detection method is specifically: Obtaining a first endpoint of a target ampoule; Get target distance and target direction; Calculate the first placement point, the first placement point = first endpoint + target distance; Get the determination coordinate axis; Obtaining position coordinate points of the first sub-device and the second sub-device on the determination coordinate axis, and defining them as the first position point and the second position point respectively; Extracting the coordinates of the first position point on the second direction line, and setting them as the first left coordinate and the second left coordinate respectively; Extracting the coordinates of the second position point on the second direction line, and setting them as the first right coordinate and the second right coordinate respectively; If the first left coordinate = the first right coordinate, and the second left coordinate = the second right coordinate, then control the first sub-device and the second sub-device to move to the first placement point of the target ampoule bottle, and clamp the target ampoule bottle; If the first left coordinate ≠ the first right coordinate, or the second left coordinate ≠ the second right coordinate, then adjusting the position of the second sub-device based on the first position point so that the first left coordinate = the first right coordinate and the second left coordinate = the second right coordinate; Controlling the first sub-device and the second sub-device to move to a height corresponding to the first placement point of the target ampoule bottle, and clamping the target ampoule bottle; The first fixing device is controlled to move so that the first end point of the target ampoule bottle and the target midpoint are on the same vertical line, and the first breaking force determination strategy is executed.

4. The control method of the ampoule bottle testing system according to claim 3, characterized in that: The first breaking force determination strategy is specifically: obtaining a second endpoint of the target ampoule; Get target distance and target direction; Calculate the second placement point, the second placement point = the second endpoint - target distance; Get the determination coordinate axis; Obtaining position coordinate points of the third sub-device and the fourth sub-device on the determination coordinate axis, and defining them as the third position point and the fourth position point respectively; Extracting the coordinates of the third position point on the second direction line, and setting them as the third left coordinate and the fourth left coordinate respectively; Extracting the coordinates of the fourth position point on the second direction line, and setting them as the third right coordinate and the fourth right coordinate respectively; If the third left coordinate = the third right coordinate, and the fourth left coordinate = the fourth right coordinate, then control the third sub-device and the fourth sub-device to move to the second placement point of the target ampoule bottle, and clamp the target ampoule bottle; If the third left coordinate ≠ the third right coordinate, or the fourth left coordinate ≠ the fourth right coordinate, adjusting the position of the fourth sub-device based on the third position point so that the third left coordinate = the third right coordinate and the fourth left coordinate = the fourth right coordinate; Controlling the third sub-device and the fourth sub-device to move to the second placement point of the target ampoule bottle and clamp the target ampoule bottle; Set the breaking direction and breaking angle; Controlling the first fixing device to remain stationary, and controlling the second fixing device to rotate in a breaking direction until the target ampoule bottle is broken; The breaking force used to break the target ampoule is collected and identified as the target breaking force.

5. The control method of the ampoule bottle testing system according to claim 2, characterized in that: The second detection method is specifically: Get the determination coordinate axis; Place the target ampoule on the table; Controlling the first fixture to clamp the target ampoule bottle, and moving the first fixture; When the first end point of the target ampoule bottle coincides with the target midpoint of the placement table, controlling the first fixing device to leave the target ampoule bottle; Obtaining a target breaking point of a target ampoule; Taking the first endpoint as the starting point and the target fracture point as the ending point, a first determination range is formed; Setting a first moving distance; Obtaining a position coordinate point of the first sub-device on the determination coordinate axis when the first sub-device is located at the first endpoint, and setting it as a first initial position point; Taking the first initial position point as the starting point, a fixed point is formed at intervals of a first moving distance in the positive direction of the second direction line, which is defined as the first fixed point; Acquire all first fixed points within the first determination range to form a first fixed point set; The second fixed point determination strategy is executed.

6. The control method of the ampoule bottle testing system according to claim 5, characterized in that: The second fixed point determination strategy is specifically: Obtaining a target fracture point and a first determination range; Get the first moving distance; Obtaining a position coordinate point of the second sub-device on the determination coordinate axis when the second sub-device is located at the first endpoint, and setting it as a second initial position point; Taking the second initial position point as the starting point, a fixed point is formed at intervals of the first moving distance in the positive direction of the second direction line, and is defined as the second fixed point; Acquire all second fixed points within the first determination range to form a second fixed point set; Map the elements in the first fixed point set to the elements in the second fixed point set one by one to form a lower fixed point set; The fourth fixed point determination strategy is executed.

7. The control method of the ampoule bottle testing system according to claim 6, characterized in that: The fourth fixed point determination strategy is specifically: Obtaining a target breaking point of a target ampoule; Taking the second endpoint as the starting point and the target fracture point as the ending point, a second determination range is formed; Set the second moving distance; Obtaining a position coordinate point of the fourth sub-device on the determination coordinate axis when the fourth sub-device is located at the second endpoint, and setting it as a fourth initial position point; Taking the fourth initial position point as the starting point, a fixed point is formed at every second moving distance in the negative direction of the second direction line, which is defined as the fourth fixed point; Acquire all fourth fixed points within the second determination range to form a fourth fixed point set; The third fixed point determination strategy is executed.

8. The control method of the ampoule bottle testing system according to claim 7, characterized in that: The third fixed point determination strategy is specifically: Obtaining the target breaking point and the second determination range; Get the second moving distance; Obtaining a position coordinate point of the third sub-device on the determination coordinate axis when the third sub-device is located at the second endpoint, and setting it as a third initial position point; Taking the third initial position point as the starting point, a fixed point is formed at every second moving distance in the negative direction of the second direction line, which is defined as the third fixed point; Acquire all third fixed points within the second determination range to form a third fixed point set; Map the elements in the third fixed point set to the elements in the fourth fixed point set one by one to form an upper fixed point set; Map the elements in the upper fixed point set to the elements in the lower fixed point set one by one to form a fixed point position set; The second breaking force determination strategy is executed.

9. The control method of the ampoule bottle testing system according to claim 8, characterized in that: The second breaking force determination strategy is specifically: Get the target midpoint; Obtain the color point of the target ampoule bottle and set it as the target color point; Obtain the midpoint of the target edge line of the placement table and set it as the determination midpoint; Connect the target color point and the target midpoint to form a first determination line; Connect the target midpoint and the determination midpoint to form a second determination line; Set the unit angle; Rotating the target ampoule bottle so that the first determination line coincides with the second determination line; Obtaining the angle between the first determination line and the second determination line, and setting it as the initial angle; Taking the initial angle as the starting angle, the target ampoule is rotated clockwise, and a determination rotation point is formed at each unit angle interval, until the first determination line overlaps with the second determination line and then stops rotating; Get all the determined rotation points to form a rotation angle set; Map the elements in the fixed point position set to the elements in the rotation angle set one by one to form a determination position set; According to each element in the determined position set, respectively adjust the positions of the first fixture, the second fixture and the target ampoule bottle; Set the breaking direction and breaking angle; Controlling the first fixing device to remain stationary, and controlling the second fixing device to rotate in a breaking direction until the target ampoule bottle is broken; The breaking force used by the target ampoule when each element in the determination position set is broken is collected to form a breaking force set.

Citation Information

Patent Citations

  • Automatic breaking and disposing device for ampoule bottle

    CN118108167A

  • Vertical ampoule bottle break-off device

    CN203112468U