CN113694305B - Weighing sensing dynamic compensation method and device, medium and electronic equipment - Google Patents

Weighing sensing dynamic compensation method and device, medium and electronic equipment Download PDF

Info

Publication number
CN113694305B
CN113694305B CN202111021674.6A CN202111021674A CN113694305B CN 113694305 B CN113694305 B CN 113694305B CN 202111021674 A CN202111021674 A CN 202111021674A CN 113694305 B CN113694305 B CN 113694305B
Authority
CN
China
Prior art keywords
variation
threshold value
creep
temperature
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111021674.6A
Other languages
Chinese (zh)
Other versions
CN113694305A (en
Inventor
任光成
李长峰
贺义贵
韦积彪
程禹
张飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Guanchen Technology Co ltd
Original Assignee
Shenzhen Guanchen Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Guanchen Technology Co ltd filed Critical Shenzhen Guanchen Technology Co ltd
Priority to CN202111021674.6A priority Critical patent/CN113694305B/en
Publication of CN113694305A publication Critical patent/CN113694305A/en
Application granted granted Critical
Publication of CN113694305B publication Critical patent/CN113694305B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M5/00Devices for bringing media into the body in a subcutaneous, intra-vascular or intramuscular way; Accessories therefor, e.g. filling or cleaning devices, arm-rests
    • A61M5/14Infusion devices, e.g. infusing by gravity; Blood infusion; Accessories therefor
    • A61M5/168Means for controlling media flow to the body or for metering media to the body, e.g. drip meters, counters ; Monitoring media flow to the body
    • A61M5/16831Monitoring, detecting, signalling or eliminating infusion flow anomalies
    • A61M5/1684Monitoring, detecting, signalling or eliminating infusion flow anomalies by detecting the amount of infusate remaining, e.g. signalling end of infusion
    • A61M5/16845Monitoring, detecting, signalling or eliminating infusion flow anomalies by detecting the amount of infusate remaining, e.g. signalling end of infusion by weight
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M5/00Devices for bringing media into the body in a subcutaneous, intra-vascular or intramuscular way; Accessories therefor, e.g. filling or cleaning devices, arm-rests
    • A61M5/14Infusion devices, e.g. infusing by gravity; Blood infusion; Accessories therefor
    • A61M5/168Means for controlling media flow to the body or for metering media to the body, e.g. drip meters, counters ; Monitoring media flow to the body
    • A61M5/16886Means for controlling media flow to the body or for metering media to the body, e.g. drip meters, counters ; Monitoring media flow to the body for measuring fluid flow rate, i.e. flowmeters
    • A61M5/1689Drip counters
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M2205/00General characteristics of the apparatus
    • A61M2205/18General characteristics of the apparatus with alarm
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M2205/00General characteristics of the apparatus
    • A61M2205/33Controlling, regulating or measuring
    • A61M2205/3368Temperature
    • A61M2205/3372Temperature compensation
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M2205/00General characteristics of the apparatus
    • A61M2205/33Controlling, regulating or measuring
    • A61M2205/3379Masses, volumes, levels of fluids in reservoirs, flow rates
    • A61M2205/3393Masses, volumes, levels of fluids in reservoirs, flow rates by weighing the reservoir

Abstract

The invention relates to a weighing sensing dynamic compensation method, a weighing sensing dynamic compensation device, a weighing sensing dynamic compensation medium and electronic equipment, wherein the weighing sensing dynamic compensation method comprises the following steps: receiving a utilization value; removing an extreme value in the first preset number of pen adopted values to obtain a first array; calculating a first arithmetic mean of the first array; taking the first arithmetic mean value of a second preset number of pens as a second array; calculating an effective comprehensive output value; taking the difference value of two adjacent effective comprehensive output values as a comprehensive variable quantity; under the condition that the comprehensive variation is larger than the sum of the liquid medicine variation threshold value and the creep variation threshold value, calculating to obtain a first noise variation; under the condition that the first noise variation is not smaller than the temperature variation threshold value, calculating to obtain a temperature compensation quantity; under the condition that the second noise variation is not smaller than the creep variation threshold value, calculating creep compensation quantity; and calculating the real medicine residual quantity. This application drifts when lightening and drifts with the temperature and to weighing data's influence, monitors the liquid medicine surplus and the effect of bit speed of bit process comparatively accurately.

Description

Weighing sensing dynamic compensation method and device, medium and electronic equipment
Technical Field
The invention relates to the technical field of drip gauge weight monitoring, in particular to a weighing sensing dynamic compensation method, a weighing sensing dynamic compensation device, a weighing sensing dynamic compensation medium and electronic equipment.
Background
The existing drip process is basically managed manually. The method is in an empirical fuzzy management stage, and does not have scientific means for fine management. This greatly affects the quality of the treatment. Such as: intravenous drip of potassium chloride, for example, at too high a rate may cause a sudden rise in serum potassium to cause hyperkalemia, thereby inhibiting the myocardium, resulting in cardiac arrest in diastole. Since the serum potassium reaches 7.5 milliequivalents/liter, death is likely to occur. If 1 g of potassium chloride (13.9 meq) is pushed directly into the blood, it is obviously extremely dangerous to increase the serum potassium level immediately from the original level by 3 to 3.5 meq/l in a short period of time. The infusion rate of potassium chloride therefore generally requires dilution to a concentration of 0.3% and 4-6 ml per minute. If the glucose solution is infused too quickly, the body cannot fully utilize the glucose, and part of the glucose is discharged from the urine. The limit of glucose received per kilogram of body weight per hour was approximately 0.5g as analyzed. Therefore, when an adult is to infuse 10% glucose, 5 to 6ml per minute is suitable. In addition, it is not preferable to administer physiological saline too quickly because the solubility of sodium in physiological saline is similar to that of plasma, but the chlorine content is much higher than the plasma concentration (154 meq/L of chlorine in physiological saline, 103 meq/L of chlorine in plasma), and as a result of rapid infusion, chlorine ions are rapidly increased in the body. For example, when kidney function is healthy, excessive chloride ions can be discharged from urine to keep the balance among ions; when renal insufficiency occurs, hyperchlorhydric acidosis may occur. When the patient is quickly intravenous-transfused, the patient needs to be observed, because the venous transfusion is too fast, the blood dissolving amount is suddenly increased, the heart and lung load is excessive, and the serious patient can cause heart failure and pulmonary edema, which are especially frequently seen in patients with original heart and lung diseases or old patients. Therefore, when the infusion is rapidly performed at a rate of 10 ml/min or more, the nursing staff should accurately control the respiration rate and the pulse rate before the infusion, and for example, after the infusion, the respiration rate and the pulse rate are faster than before, and the drip rate should be slowed down for those with frequent cough, and the doctor should be immediately informed to perform the examination.
For example, a medical infusion bottle monitoring system disclosed in CN105194759A adopts a weight sensor to weigh a medicine bottle, and detects whether the infusion is completed through weight detection, so as to notify medical staff; however, the inventor thinks that strain-type weighing sensor (Load Cell) can be selected for use in actual use, because its technology is mature, simple structure, and low cost, but creep and temperature drift phenomenon that it exists, to the weight collection system that is in operating condition for a long time of high accuracy, when weighing medicine bottle through weight sensor, because the weight change of medicine bottle itself is relatively slow, because the influence of the more slowly changing variable of time drifting and temperature drifting to weighing data leads to the liquid medicine surplus and the drip speed that can't accurately monitor the drip process, therefore await improvement.
Disclosure of Invention
In order to reduce the influence of time drift and temperature drift on weighing data and accurately monitor the liquid medicine allowance and the dropping speed in the dropping process, the application provides a weighing sensing dynamic compensation method, a device, a medium and electronic equipment.
The above object of the present invention is achieved by the following technical solutions:
a method of weight sensing dynamic compensation comprising:
receiving an adopted value acquired by a strain type weighing sensor in real time, wherein the strain type weighing sensor is used for continuously weighing a medicine bottle in an observation window period so as to acquire the adopted value in real time, the strain type weighing sensor is used for acquiring a plurality of groups of experimental data of full-scale weighing of the strain type weighing sensor under the conditions of constant temperature and constant humidity at a first preset temperature, room temperature and a second preset temperature respectively, and performing statistical analysis on the experimental data of the full-scale weighing to obtain a creep change threshold value and a temperature change threshold value, the experimental data of the full-scale weighing comprises an initial adopted value when the full-scale weighing of the strain type weighing sensor starts and a termination adopted value after the full-scale weighing preset time, the first preset temperature is less than the room temperature, and the second preset temperature is greater than the room temperature; the strain type weighing sensor acquires multiple groups of experimental data of weighing change values related to the number of drops in a preset second at a preset dropping speed, obtains a preset liquid medicine change threshold value at the preset dropping speed according to the experimental data of the weighing change values related to the number of drops in the preset second, generates a liquid medicine change threshold value according to the current dropping speed and the preset liquid medicine change threshold value, and calculates a creep change weight value, a temperature change weight value and a liquid medicine change weight value according to the liquid medicine change threshold value, the creep change threshold value and the temperature change threshold value;
removing extreme values in the continuous first preset number of pen adopted values to obtain a first array;
calculating a first arithmetic mean of the first array;
taking the first arithmetic mean value of the continuous second preset number of pens as a second array;
calculating a second arithmetic mean of the second array as an effective composite output value;
taking the difference value of two adjacent effective comprehensive output values as a comprehensive variable quantity;
judging whether the comprehensive variation is larger than the sum of the liquid medicine variation threshold and the creep variation threshold;
under the condition that the comprehensive variation is larger than the sum of the liquid medicine variation threshold value and the creep variation threshold value, calculating to obtain a first noise variation, wherein the first noise variation is the difference between the comprehensive variation and the liquid medicine variation threshold value;
judging whether the first noise variation is not less than a temperature variation threshold value;
under the condition that the first noise variation is not smaller than a temperature variation threshold value, calculating to obtain a temperature compensation quantity, wherein the temperature compensation quantity is the product of the temperature variation threshold value and a temperature variation weight;
calculating a second noise variation, wherein the second noise variation is a difference value between the first noise variation and the temperature compensation;
judging whether the second noise variation is not smaller than a creep variation threshold value;
under the condition that the second noise variation is not smaller than the creep variation threshold value, calculating a creep compensation amount, wherein the creep compensation amount is the product of the creep variation threshold value and a creep variation weight;
and calculating the real medicine residual quantity, wherein the real medicine residual quantity is the value of the effective comprehensive output value after the temperature compensation quantity and the creep compensation quantity are removed.
By adopting the technical scheme, firstly, through statistical analysis of a plurality of groups of experimental data of the strain type weighing sensors, for example, the experimental data of full-scale weighing of 1000 groups of strain type weighing sensors are respectively obtained at 0 ℃, 25 ℃ and 60 ℃, and the experimental data comprises an initial adopted value when the full-scale weighing of the strain type weighing sensors starts and a final adopted value after the preset time of the full-scale weighing; the preset time can be half an hour, and the actual time length is determined according to the actual situation; the method can obtain the variation from the initial adopted value to the final adopted value under the constant temperature condition by a variable control method, namely the variation after the temperature influence is removed, namely the variation of creep, 3000 groups of creep variations can be obtained through 3000 groups of experimental data, and the creep variation within the range of 0-60 ℃ can be obtained, so that the mode can be taken as the threshold value of the creep variation; the data at different temperatures can obtain the temperature drift variation, so that the mode can be taken as the temperature variation threshold value; according to the experimental data of the weighing change value related to the number of drops in the preset second, a preset liquid medicine change threshold value at the preset drop speed can be obtained, therefore, the liquid medicine change threshold value can be generated according to the current drop speed and the preset liquid medicine change threshold value, the liquid medicine change threshold value is combined, the creep change threshold value is obtained, the creep change threshold value can be calculated and obtained, the temperature change weight value and the liquid medicine change weight value are obtained, the liquid medicine change threshold value of the strain type weighing sensor corresponding to the current click speed is obtained, the creep change threshold value, the temperature change weight, the liquid medicine change weight and the creep change weight are obtained, in the using process, the strain type weighing sensor collects the adoption value of the medicine bottle, and after receiving the adoption value collected by the strain type weighing sensor, the following filtering processing is carried out on the adoption value: removing extreme values in the continuous first preset number of pen adopted values to obtain a first array; calculating a first arithmetic mean of the first array; taking the first arithmetic mean value of the continuous second preset number of pens as a second array; calculating a second arithmetic mean of the second array as an effective composite output value; the difference value of two adjacent effective comprehensive output values is used as a comprehensive variable quantity, so that the comprehensive variable quantity is obtained, and the value of the difference value of the two adjacent effective comprehensive output values is used as the comprehensive variable quantity, so that the short-time variation can be reflected better; then judging whether the comprehensive variation is larger than the sum of the liquid medicine variation threshold value and the creep variation threshold value, calculating to obtain a first noise variation under the condition that the comprehensive variation is larger than the sum of the liquid medicine variation threshold value and the creep variation threshold value, calculating to obtain a temperature compensation amount and a second noise variation under the condition that the first noise variation is not smaller than the temperature variation threshold value, calculating the creep compensation amount under the condition that the second noise variation is not smaller than the creep variation threshold value, and calculating the real medicine allowance which is the value of the effective comprehensive output value without the temperature compensation amount and the creep compensation amount, wherein compared with an adopted value directly collected by a strain type weighing sensor, the creep compensation amount reduces external influence, filters interference signals, realizes the filtering effect and ensures the precision; the influence of time drift and temperature drift on weighing data is reduced, and the liquid medicine allowance and the dropping speed in the dropping process are accurately monitored.
Optionally, the preset drip rate is a drip rate of 5.5 milliliters per minute.
Optionally, the method further comprises:
and setting the creep compensation amount and the temperature compensation amount to zero under the condition that the comprehensive variation is not more than the sum of the liquid medicine variation threshold and the creep variation threshold.
By adopting the technical scheme, if the comprehensive variation is not more than the sum of the liquid medicine variation threshold and the creep variation threshold, creep variation and temperature variation do not exist or the variation is extremely small, and the creep compensation amount and the temperature compensation amount are set to be zero.
Optionally, the method further comprises:
under the condition that the first noise variation is smaller than a temperature variation threshold value, judging whether the first noise variation is not smaller than a creep variation threshold value;
and under the condition that the first noise variation is not smaller than a creep variation threshold value, calculating a creep compensation amount, wherein the creep compensation amount is the product of the creep variation threshold value and a creep variation weight.
By adopting the technical scheme, under the condition that the first noise variation is smaller than the temperature variation threshold value and the first noise variation is not smaller than the creep variation threshold value, the creep variation is indicated, and at the moment, the creep compensation amount is correspondingly calculated.
Optionally, the method further comprises:
and setting the creep compensation amount to be zero when the first noise variation is smaller than the creep variation threshold value.
Optionally, the method further comprises:
and setting the creep compensation amount to be zero when the second noise variation is smaller than the creep variation threshold value.
By adopting the technical scheme, the second noise variation is smaller than the creep variation threshold value, which indicates that no creep exists or the creep is extremely small and can be ignored, and at the moment, the value of the effective comprehensive output value and the temperature compensation amount is used as the real medicine allowance.
The second purpose of the invention of the application is realized by the following technical scheme:
a weight sensing dynamic compensation apparatus, comprising:
the system comprises a receiving module, a strain type weighing sensor and a control module, wherein the receiving module is used for receiving an adopted value acquired by the strain type weighing sensor in real time, the strain type weighing sensor is used for continuously weighing a medicine bottle in an observation window period so as to acquire the adopted value in real time, the strain type weighing sensor is used for acquiring a plurality of groups of experimental data of full-scale weighing of the strain type weighing sensor under the conditions of constant temperature and constant humidity at a first preset temperature, room temperature and a second preset temperature respectively, and performing statistical analysis on the experimental data of the full-scale weighing to obtain a creep change threshold value and a temperature change threshold value, the experimental data of the full-scale weighing comprises an initial adopted value when the full-scale weighing of the strain type weighing sensor starts and a final adopted value after the full-scale weighing preset time, the first preset temperature is less than the room temperature, and the second preset temperature is greater than the room temperature; the strain type weighing sensor acquires multiple groups of experimental data of weighing change values related to the number of drops in a preset second at a preset dropping speed, obtains a preset liquid medicine change threshold value at the preset dropping speed according to the experimental data of the weighing change values related to the number of drops in the preset second, generates a liquid medicine change threshold value according to the current dropping speed and the preset liquid medicine change threshold value, and calculates a creep change weight value, a temperature change weight value and a liquid medicine change weight value according to the liquid medicine change threshold value, the creep change threshold value and the temperature change threshold value;
the extreme value removing module is used for removing extreme values in the continuous first preset number of pen adopted values to obtain a first array;
the first arithmetic mean calculating module is used for calculating a first arithmetic mean of the first array;
the second array generation module is used for taking the first arithmetic mean value of continuous second preset number pens as a second array;
the second arithmetic mean calculation module is used for calculating a second arithmetic mean of the second array to be used as an effective comprehensive output value;
the comprehensive variation calculating module is used for taking the difference value of two adjacent effective comprehensive output values as the comprehensive variation;
the first judgment module is used for judging whether the comprehensive variation is larger than the sum of the liquid medicine variation threshold value and the creep variation threshold value;
the first noise variation calculation module is used for calculating to obtain a first noise variation under the condition that the comprehensive variation is larger than the sum of the liquid medicine variation threshold and the creep variation threshold, wherein the first noise variation is the difference between the comprehensive variation and the liquid medicine variation threshold;
the second judgment module is used for judging whether the first noise variation is not smaller than the temperature variation threshold value;
the temperature compensation quantity calculating module is used for calculating to obtain a temperature compensation quantity under the condition that the first noise variation is not smaller than a temperature variation threshold value, wherein the temperature compensation quantity is the product of the temperature variation threshold value and a temperature variation weight;
the second noise variation calculating module is used for calculating second noise variation, and the second noise variation is the difference between the first noise variation and the temperature compensation;
the third judging module is used for judging whether the second noise variation is not smaller than the creep variation threshold value;
the creep compensation amount calculation module is used for calculating the creep compensation amount under the condition that the second noise variation is not smaller than the creep variation threshold value, wherein the creep compensation amount is the product of the creep variation threshold value and the creep variation weight;
and the real medicine residue calculating module is used for calculating the real medicine residue, and the real medicine residue is the value of the effective comprehensive output value except the temperature compensation amount and the creep compensation amount.
The third purpose of the invention is realized by the following technical scheme:
a computer readable storage medium comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the weight sensing dynamics compensation methods described above when executing the computer program.
The fourth purpose of the invention of the application is realized by the following technical scheme:
an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the steps of any of the above-described weight sensing dynamics compensation methods when executing the computer program.
In summary, the present application includes at least one of the following beneficial technical effects:
1. the influence of time drift and temperature drift on weighing data is reduced, the liquid medicine allowance and the dropping speed in the dropping process are accurately monitored, and the occurrence of an event of accurately detecting whether to stop the dropping process (such as transfusion blockage caused by needle deflection or transfusion pipe pressing and the like) can be met within 3 seconds; the flow velocity state of the whole infusion process can be clearly monitored, the workload of hospital nurses can be greatly reduced, and the implementation quality of the infusion process can be greatly improved;
2. scientific and fine management of the whole infusion process can be realized, the defect of fuzzification management depending on manual experience at present is overcome, and each decision is made based on accurate data;
3. the intelligent monitoring and control of the whole infusion process can be realized, and the occurrence of painful events brought to users by infusion process faults is reduced and even avoided to the maximum extent;
4. the traceability of the whole event process can be realized, the whole infusion process is convenient to reproduce, and a basis is provided for possible medical disputes.
Drawings
FIG. 1 is a flow chart of a method for load cell dynamic compensation in an embodiment of the present application;
FIG. 2 is a schematic block diagram of a load cell dynamic compensation apparatus according to an embodiment of the present application;
fig. 3 is a schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the disclosure, as detailed in the appended claims.
The application discloses a weighing sensing dynamic compensation method, which specifically comprises the following steps with reference to fig. 1:
s1, receiving an adopted value acquired by a strain type weighing sensor in real time;
the strain type weighing sensor is used for continuously weighing a medicine bottle in an observation window period so as to acquire an adopted value in real time, the strain type weighing sensor is used for acquiring full-scale weighing experimental data of a plurality of groups of strain type weighing sensors under the conditions of constant temperature and constant humidity at a first preset temperature, room temperature and a second preset temperature respectively, and performing statistical analysis on the full-scale weighing experimental data to obtain a creep change threshold value and a temperature change threshold value, the full-scale weighing experimental data comprises an initial adopted value when the full-scale weighing of the strain type weighing sensors starts and a final adopted value after the full-scale weighing preset time, the first preset temperature is less than the room temperature, and the second preset temperature is greater than the room temperature;
strain formula weighing sensor adopts the Load Cell of temperature self-compensating type, can guarantee that the temperature drift control of Load Cell is in certain extent, simultaneously through following processing: and (4) factory temperature calibration, zero temperature drift compensation and sensitivity temperature compensation. Wherein the observation window period may vary slidingly, e.g. between 5min to 30min;
acquiring full-scale weighing experimental data of a plurality of groups of strain type weighing sensors at a first preset temperature, a room temperature and a second preset temperature, wherein the full-scale weighing experimental data can be acquired by acquiring 1000 groups of strain type weighing sensors at 0 ℃, 25 ℃ and 60 ℃, and the experimental data comprises an initial adopted value when the full-scale weighing of the strain type weighing sensors starts and a final adopted value after the full-scale weighing is preset time; the preset time can be half an hour, and the actual time length is determined according to the actual situation; the variation from the initial adopted value to the final adopted value, namely the variation after temperature influence is removed, namely the creep variation, can be obtained by controlling a variable method, 3000 groups of creep variations can be obtained through 3000 groups of experimental data, and the creep variation can be obtained within the range of 0-60 ℃, so that a mode can be taken as a creep variation threshold value; the data at different temperatures can obtain the temperature drift variation, so that the mode can be taken as the temperature variation threshold value; in addition, in addition to the mode, in other embodiments, a group median, a mean, a median, and the like may be used.
The strain type weighing sensor acquires multiple groups of experimental data of weighing change values related to the number of drops in a preset second according to the preset dropping speed, obtains a preset liquid medicine change threshold value at the preset dropping speed according to the experimental data of the weighing change values related to the number of drops in the preset second, generates a liquid medicine change threshold value according to the current dropping speed and the preset liquid medicine change threshold value, and calculates a creep change weight value, a temperature change weight value and a liquid medicine change weight value according to the liquid medicine change threshold value, the creep change threshold value and the temperature change threshold value;
the preset dropping speed is 5.5 ml per minute, specifically, multiple groups of experimental data of the weighing change values related to the number of drops in the preset second are obtained, and the preset liquid medicine variation threshold value per unit time is obtained according to the experimental data of the weighing change values related to the number of drops in the preset second. The unit time can be set according to the actual situation; it can be in the form of average, mode, etc.; during actual infusion, the liquid medicine variation threshold value can be calculated through the current infusion speed and the calculated preset liquid medicine variation threshold value in the preset infusion speed state; after the liquid medicine variable quantity threshold value is determined, the temperature variable quantity weight, the liquid medicine variable quantity weight and the creep variable quantity weight can be determined through ratios of the liquid medicine variable quantity threshold value, the creep variable quantity threshold value, the temperature variable quantity threshold value, the creep variable quantity weight value, the temperature variable quantity weight value, the liquid medicine variable quantity weight value and the like in the total variable quantity, and parameter information such as the liquid medicine variable quantity threshold value, the creep variable quantity threshold value, the temperature variable quantity threshold value, the creep variable quantity weight value, the temperature variable quantity weight value, the liquid medicine variable quantity weight value and the like corresponds to a strain type weighing sensor and is a value obtained according to an approved and appointed sensor.
S2, removing extreme values in the continuous first preset number of pen adopted values to obtain a first array;
s3, calculating a first arithmetic mean value of the first array;
s4, taking the first arithmetic mean value of the continuous second preset number of pens as a second array;
s5, calculating a second arithmetic mean value of the second array to serve as an effective comprehensive output value;
continuously receiving the adopted values sent by the strain type weighing sensor, carrying out depolarization processing on continuous first preset number of adopted values, for example, the first preset number of adopted values can be 32, removing the maximum and minimum values in the 32 adopted values to obtain a first array with 30 adopted values, then calculating a first arithmetic mean value of the 30 adopted values, taking a second preset number of first arithmetic mean values obtained by continuous calculation as a second array, for example, taking the 16 first arithmetic mean values as the second array, then calculating a second arithmetic mean value of the second array, and taking the second arithmetic mean value as an effective comprehensive output value Y (t).
In one embodiment, a special AD type 8-bit singlechip is adopted, continuous 32 sampling values are continuously rolled into a primary sampling result storage area, a first arithmetic mean value is taken as a primary result after extreme values are removed, the obtained first arithmetic mean value is rolled into 16 units of secondary storage areas, and then a second arithmetic mean value of the 16 secondary storage areas is taken as an effective comprehensive output value. When the infusion hose shakes or the medicine bottle shakes, the influence caused by shaking is removed in an extreme value removing mode, and then data are accurate and stable in a mode of taking arithmetic mean values twice, so that a filtering effect is achieved. The following were used:
when the secondary AD value Vad = > Vbuf [0] = > Vbuf [1] = >. Vbuf [31] = > discard;
sorting in ascending order to obtain sorted Vbuf [32];
calculating a first-stage result Vad after removing the extreme value:
Figure DEST_PATH_IMAGE002
hit Vad into level two buffer Vbuf2[16]:
vad = > Vbuf2[0] = > Vbuf2[1] = >. Vbuf2[14] = > Vbuf2[15] = > discard;
calculating the effective comprehensive output value Y (t): y (t)
Figure DEST_PATH_IMAGE004
S6, taking the difference value of two adjacent effective comprehensive output values as a comprehensive variable quantity;
namely, the comprehensive variation quantity delta Y (t) is obtained through calculation.
S7, judging whether the comprehensive variation is larger than the sum of the liquid medicine variation threshold value and the creep variation threshold value;
s8, under the condition that the comprehensive variation is larger than the sum of the liquid medicine variation threshold value and the creep variation threshold value, calculating to obtain a first noise variation, wherein the first noise variation is the difference value between the comprehensive variation and the liquid medicine variation threshold value;
s9, judging whether the first noise variation is not smaller than a temperature variation threshold value or not;
s10, under the condition that the first noise variation is not smaller than a temperature variation threshold value, calculating to obtain a temperature compensation quantity, wherein the temperature compensation quantity is the product of the temperature variation threshold value and a temperature variation weight;
s11, calculating a second noise variation, wherein the second noise variation is a difference value between the first noise variation and the temperature compensation;
s12, judging whether the second noise variation is not smaller than a creep variation threshold value or not;
s13, under the condition that the second noise variation is not smaller than the creep variation threshold value, calculating a creep compensation amount, wherein the creep compensation amount is the product of the creep variation threshold value and a creep variation weight;
in addition, the method also comprises the following steps:
s14, under the condition that the comprehensive variation is not more than the sum of the liquid medicine variation threshold value and the creep variation threshold value, setting the creep compensation amount and the temperature compensation amount to be zero.
S15, under the condition that the first noise variation is smaller than the temperature variation threshold value, judging whether the first noise variation is not smaller than the creep variation threshold value;
and S16, under the condition that the first noise variation is not smaller than the creep variation threshold value, calculating a creep compensation amount, wherein the creep compensation amount is the product of the creep variation threshold value and the creep variation weight.
And S17, setting the creep compensation amount to be zero when the first noise variation is smaller than the creep variation threshold value.
And S18, setting the creep compensation amount to be zero under the condition that the second noise variation is smaller than the creep variation threshold value.
And S19, calculating the real medicine residual quantity, wherein the real medicine residual quantity is the value of the effective comprehensive output value after the temperature compensation quantity and the creep compensation quantity are removed.
Namely: true drug remaining = effective integrated output value-temperature compensation amount-creep compensation amount.
In the actual monitoring process, the liquid medicine variation threshold value > > the temperature variation threshold value > > the creep variation threshold value, when the comprehensive variation is larger than the sum of the liquid medicine variation threshold value and the creep variation threshold value, a first noise variation is calculated, the first noise variation = the comprehensive variation-the liquid medicine variation threshold value, and the comprehensive variation of the liquid medicine variation threshold value is about to be removed and is used as the first noise variation.
When the comprehensive variation is smaller than the sum of the liquid medicine variation threshold and the creep variation threshold, it is indicated that no temperature drift and creep or the temperature drift and creep are extremely small and can be ignored, and at the moment, the effective comprehensive output value is taken as the real medicine allowance. Specifically, the temperature compensation amount = temperature variation threshold value ×, temperature variation weight; when the first noise variation is smaller than the temperature variation threshold value, it is indicated that no temperature drift exists or the temperature drift is extremely small and can be ignored, at this time, the creep compensation amount is calculated, and the creep compensation amount = the creep variation threshold value and the creep variation weight.
The second noise variation = the first noise variation-the temperature compensation, that is, the temperature compensation in the first noise variation is eliminated as the second noise variation; if the second noise variation is not smaller than the creep variation threshold, it indicates that the first noise variation also contains creep, and then creep compensation quantity is calculated, and the creep compensation quantity = the creep variation threshold and the creep variation weight; and when the second noise variation is smaller than the creep variation threshold value, no creep or extremely small creep can be ignored, and at the moment, the real medicine residue = effective comprehensive output value-temperature compensation quantity.
After creep deformation and temperature drift compensation processing, the total error in the whole dripping process can be controlled within +/-500 mg, so that the influence of time drift and temperature drift on weighing data is reduced, and the liquid medicine allowance and the dripping speed in the dripping process are monitored more accurately.
In a preferred embodiment, the method further comprises the steps of uploading data to a cloud platform or a platform service layer, wherein the platform service layer performs product abstraction management and data analysis processing on the access equipment; so as to facilitate the follow-up information tracing and reappear the whole dripping process.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
In one embodiment, a weighing sensing dynamic compensation device is provided, which corresponds to the weighing sensing dynamic compensation method in the above embodiments one to one. As shown in fig. 2, the weighing sensing dynamic compensation device includes a receiving module, an extreme value removing module, a first arithmetic mean calculating module, a second array generating module, a second arithmetic mean calculating module, a comprehensive variation calculating module, a first judging module, a first noise variation calculating module, a second judging module, a temperature compensation calculating module, a second noise variation calculating module, a third judging module, a creep compensation calculating module, and a true remaining amount calculating module. The functional modules are explained in detail as follows:
the system comprises a receiving module, a strain type weighing sensor and a control module, wherein the receiving module is used for receiving an adopted value acquired by the strain type weighing sensor in real time, the strain type weighing sensor is used for continuously weighing a medicine bottle in an observation window period so as to acquire the adopted value in real time, the strain type weighing sensor is used for acquiring full-scale weighing experimental data of a plurality of groups of strain type weighing sensors under the conditions of constant temperature and constant humidity at a first preset temperature, room temperature and a second preset temperature respectively, and performing statistical analysis on the full-scale weighing experimental data to obtain a creep change threshold value and a temperature change threshold value, the full-scale weighing experimental data comprises an initial adopted value when the full-scale weighing of the strain type weighing sensor starts and a termination adopted value after the full-scale weighing preset time, the first preset temperature is less than the room temperature, and the second preset temperature is more than the room temperature; the strain type weighing sensor acquires multiple groups of experimental data of weighing change values related to the number of drops in a preset second according to the preset dropping speed, obtains a preset liquid medicine change threshold value at the preset dropping speed according to the experimental data of the weighing change values related to the number of drops in the preset second, generates a liquid medicine change threshold value according to the current dropping speed and the preset liquid medicine change threshold value, and calculates a creep change weight value, a temperature change weight value and a liquid medicine change weight value according to the liquid medicine change threshold value, the creep change threshold value and the temperature change threshold value;
the extreme value removing module is used for removing extreme values in the continuous first preset number of pen adopted values to obtain a first array;
the first arithmetic mean calculating module is used for calculating a first arithmetic mean of the first array;
the second array generation module is used for taking the first arithmetic mean value of continuous second preset number pens as a second array;
the second arithmetic mean calculation module is used for calculating a second arithmetic mean of the second array to be used as an effective comprehensive output value;
the comprehensive variable quantity calculation module is used for taking the difference value of two adjacent effective comprehensive output values as the comprehensive variable quantity;
the first judgment module is used for judging whether the comprehensive variation is larger than the sum of the liquid medicine variation threshold value and the creep variation threshold value;
the first noise variation calculation module is used for calculating to obtain a first noise variation under the condition that the comprehensive variation is larger than the sum of the liquid medicine variation threshold and the creep variation threshold, and the first noise variation is a difference value between the comprehensive variation and the liquid medicine variation threshold;
the second judgment module is used for judging whether the first noise variation is not smaller than the temperature variation threshold value;
the temperature compensation quantity calculating module is used for calculating to obtain a temperature compensation quantity under the condition that the first noise variation is not smaller than a temperature variation threshold value, wherein the temperature compensation quantity is the product of the temperature variation threshold value and the temperature variation weight;
the second noise variation calculating module is used for calculating second noise variation which is the difference between the first noise variation and the temperature compensation amount;
the third judging module is used for judging whether the second noise variation is not smaller than the creep variation threshold value;
the creep compensation amount calculation module is used for calculating the creep compensation amount under the condition that the second noise variation is not smaller than the creep variation threshold value, and the creep compensation amount is the product of the creep variation threshold value and the creep variation weight;
and the real medicine residual amount calculation module is used for calculating the real medicine residual amount, and the real medicine residual amount is the value of the effective comprehensive output value after the temperature compensation amount and the creep compensation amount are removed.
For specific limitations of the weight sensing dynamic compensation device, reference may be made to the above limitations of the weight sensing dynamic compensation method, which are not described herein again. The modules in the weighing sensing dynamic compensation device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the electronic device, or can be stored in a memory in the electronic device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer-readable storage medium is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
receiving an adopted value acquired by a strain type weighing sensor in real time, wherein the strain type weighing sensor is used for continuously weighing a medicine bottle in an observation window period so as to acquire the adopted value in real time, the strain type weighing sensor is used for acquiring full-scale weighing experimental data of a plurality of groups of strain type weighing sensors respectively at a first preset temperature, room temperature and a second preset temperature under the condition of constant temperature and humidity, and performing statistical analysis on the full-scale weighing experimental data to obtain a creep change amount threshold value and a temperature change amount threshold value, the full-scale weighing experimental data comprises an initial adopted value when the full-scale weighing of the strain type weighing sensor is started and a final adopted value after the full-scale weighing time, the first preset temperature is less than the room temperature, and the second preset temperature is greater than the room temperature; the strain type weighing sensor acquires multiple groups of experimental data of weighing change values related to the number of drops in a preset second according to the preset dropping speed, obtains a preset liquid medicine change threshold value at the preset dropping speed according to the experimental data of the weighing change values related to the number of drops in the preset second, generates a liquid medicine change threshold value according to the current dropping speed and the preset liquid medicine change threshold value, and calculates a creep change weight value, a temperature change weight value and a liquid medicine change weight value according to the liquid medicine change threshold value, the creep change threshold value and the temperature change threshold value;
removing extreme values in the continuous first preset number of pen adopted values to obtain a first array;
calculating a first arithmetic mean of the first array;
taking the first arithmetic mean value of continuous second preset number of pens as a second array;
calculating a second arithmetic mean of the second array as an effective composite output value;
taking the difference value of two adjacent effective comprehensive output values as a comprehensive variable quantity;
judging whether the comprehensive variation is larger than the sum of the liquid medicine variation threshold value and the creep variation threshold value;
under the condition that the comprehensive variation is larger than the sum of the liquid medicine variation threshold value and the creep variation threshold value, calculating to obtain a first noise variation, wherein the first noise variation is the difference between the comprehensive variation and the liquid medicine variation threshold value;
judging whether the first noise variation is not less than a temperature variation threshold value;
under the condition that the first noise variation is not smaller than the temperature variation threshold value, calculating to obtain a temperature compensation quantity, wherein the temperature compensation quantity is the product of the temperature variation threshold value and the temperature variation weight;
calculating a second noise variation, which is a difference between the first noise variation and the temperature compensation;
judging whether the second noise variation is not smaller than a creep variation threshold value;
under the condition that the second noise variation is not smaller than the creep variation threshold value, calculating creep compensation quantity, wherein the creep compensation quantity is the product of the creep variation threshold value and the creep variation weight;
and calculating the real medicine allowance, wherein the real medicine allowance is the value of the effective comprehensive output value after the temperature compensation amount and the creep compensation amount are removed.
The computer program, when executed by a processor, is capable of implementing any of the above-described method embodiments.
In one embodiment, an electronic device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 3. The electronic device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the electronic device is used for connecting and communicating with an external terminal through a network. The computer program when executed by a processor implements the steps of:
receiving an adopted value acquired by a strain type weighing sensor in real time, wherein the strain type weighing sensor is used for continuously weighing a medicine bottle in an observation window period so as to acquire the adopted value in real time, the strain type weighing sensor is used for acquiring full-scale weighing experimental data of a plurality of groups of strain type weighing sensors respectively at a first preset temperature, room temperature and a second preset temperature under the condition of constant temperature and humidity, and performing statistical analysis on the full-scale weighing experimental data to obtain a creep change amount threshold value and a temperature change amount threshold value, the full-scale weighing experimental data comprises an initial adopted value when the full-scale weighing of the strain type weighing sensor is started and a final adopted value after the full-scale weighing time, the first preset temperature is less than the room temperature, and the second preset temperature is greater than the room temperature; the strain type weighing sensor acquires multiple groups of experimental data of weighing change values related to the number of drops in a preset second according to the preset dropping speed, obtains a preset liquid medicine change threshold value at the preset dropping speed according to the experimental data of the weighing change values related to the number of drops in the preset second, generates a liquid medicine change threshold value according to the current dropping speed and the preset liquid medicine change threshold value, and calculates a creep change weight value, a temperature change weight value and a liquid medicine change weight value according to the liquid medicine change threshold value, the creep change threshold value and the temperature change threshold value;
removing extreme values in the continuous first preset number of pen adopted values to obtain a first array;
calculating a first arithmetic mean of the first array;
taking the first arithmetic mean value of the continuous second preset number of pens as a second array;
calculating a second arithmetic mean of the second array as an effective composite output value;
taking the difference value of two adjacent effective comprehensive output values as a comprehensive variable quantity;
judging whether the comprehensive variation is larger than the sum of the liquid medicine variation threshold and the creep variation threshold;
under the condition that the comprehensive variation is larger than the sum of the liquid medicine variation threshold value and the creep variation threshold value, calculating to obtain a first noise variation, wherein the first noise variation is the difference between the comprehensive variation and the liquid medicine variation threshold value;
judging whether the first noise variation is not less than a temperature variation threshold value;
under the condition that the first noise variation is not smaller than the temperature variation threshold value, calculating to obtain a temperature compensation quantity, wherein the temperature compensation quantity is the product of the temperature variation threshold value and the temperature variation weight;
calculating a second noise variation, which is a difference between the first noise variation and the temperature compensation;
judging whether the second noise variation is not smaller than a creep variation threshold value;
under the condition that the second noise variation is not smaller than the creep variation threshold value, calculating a creep compensation amount, wherein the creep compensation amount is the product of the creep variation threshold value and a creep variation weight;
and calculating the real medicine allowance, wherein the real medicine allowance is the value of the effective comprehensive output value after the temperature compensation amount and the creep compensation amount are removed.
The computer program, when executed by a processor, is capable of implementing any of the above-described method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the system is divided into different functional units or modules to perform all or part of the above-mentioned functions.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the embodiments of the present application, and they should be construed as being included in the present application.

Claims (8)

1. A weighing sensing dynamic compensation method is characterized by comprising the following steps:
receiving an adopted value acquired by a strain type weighing sensor in real time, wherein the strain type weighing sensor is used for continuously weighing a medicine bottle in an observation window period so as to acquire the adopted value in real time, the strain type weighing sensor is used for acquiring a plurality of groups of full-scale weighing experimental data of the strain type weighing sensor under the conditions of constant temperature and constant humidity at a first preset temperature, room temperature and a second preset temperature respectively, and performing statistical analysis on the full-scale weighing experimental data to obtain a creep deformation variation threshold value and a temperature variation threshold value, the full-scale weighing experimental data comprises an initial adopted value when the strain type weighing sensor starts to be weighed in full scale and a termination adopted value after the full-scale weighing preset time, the first preset temperature is less than the room temperature, and the second preset temperature is more than the room temperature; the strain type weighing sensor acquires multiple groups of experimental data of weighing change values related to the number of drops in a preset second at a preset dropping speed, obtains a preset liquid medicine change threshold value at the preset dropping speed according to the experimental data of the weighing change values related to the number of drops in the preset second, generates a liquid medicine change threshold value according to the current dropping speed and the preset liquid medicine change threshold value, and calculates a creep change weight value, a temperature change weight value and a liquid medicine change weight value according to the liquid medicine change threshold value, the creep change threshold value and the temperature change threshold value;
removing extreme values in the continuous first preset number of pen adopted values to obtain a first array;
calculating a first arithmetic mean of the first array;
taking the first arithmetic mean value of the continuous second preset number of pens as a second array;
calculating a second arithmetic mean of the second array as an effective composite output value;
taking the difference value of two adjacent effective comprehensive output values as a comprehensive variable quantity;
judging whether the comprehensive variation is larger than the sum of the liquid medicine variation threshold and the creep variation threshold;
under the condition that the comprehensive variation is larger than the sum of the liquid medicine variation threshold value and the creep variation threshold value, calculating to obtain a first noise variation, wherein the first noise variation is the difference between the comprehensive variation and the liquid medicine variation threshold value;
judging whether the first noise variation is not less than a temperature variation threshold value;
under the condition that the first noise variation is not smaller than a temperature variation threshold value, calculating to obtain a temperature compensation quantity, wherein the temperature compensation quantity is the product of the temperature variation threshold value and a temperature variation weight;
calculating a second noise variation, wherein the second noise variation is a difference value between the first noise variation and the temperature compensation;
judging whether the second noise variation is not smaller than a creep variation threshold value;
under the condition that the second noise variation is not smaller than the creep variation threshold value, calculating a creep compensation amount, wherein the creep compensation amount is the product of the creep variation threshold value and a creep variation weight;
and calculating the real medicine residual quantity, wherein the real medicine residual quantity is the value of the effective comprehensive output value after the temperature compensation quantity and the creep compensation quantity are removed.
2. The weight sensing dynamic compensation method of claim 1, wherein the preset drip speed is a drip speed of 5.5 milliliters per minute.
3. The method of weight sensing dynamic compensation of claim 1, further comprising:
and setting the creep compensation amount and the temperature compensation amount to be zero under the condition that the comprehensive variation is not more than the sum of the liquid medicine variation threshold value and the creep variation threshold value.
4. The method of weight sensing dynamic compensation of claim 1, further comprising:
under the condition that the first noise variation is smaller than a temperature variation threshold value, judging whether the first noise variation is not smaller than a creep variation threshold value;
and under the condition that the first noise variation is not smaller than a creep variation threshold value, calculating a creep compensation amount, wherein the creep compensation amount is the product of the creep variation threshold value and a creep variation weight.
5. The method of weight sensing dynamic compensation of claim 4, further comprising:
and setting the creep compensation amount to be zero when the first noise variation is smaller than the creep variation threshold value.
6. The method of weight sensing dynamic compensation of claim 1, further comprising:
and setting the creep compensation amount to be zero when the second noise variation is smaller than the creep variation threshold value.
7. A weight sensing dynamic compensation apparatus, comprising:
the system comprises a receiving module, a strain type weighing sensor and a control module, wherein the receiving module is used for receiving an adopted value acquired by the strain type weighing sensor in real time, the strain type weighing sensor is used for continuously weighing a medicine bottle in an observation window period so as to acquire the adopted value in real time, the strain type weighing sensor is used for acquiring a plurality of groups of experimental data of full-scale weighing of the strain type weighing sensor under the conditions of constant temperature and constant humidity at a first preset temperature, room temperature and a second preset temperature respectively, and performing statistical analysis on the experimental data of the full-scale weighing to obtain a creep change threshold value and a temperature change threshold value, the experimental data of the full-scale weighing comprises an initial adopted value when the full-scale weighing of the strain type weighing sensor starts and a final adopted value after the full-scale weighing preset time, the first preset temperature is less than the room temperature, and the second preset temperature is greater than the room temperature; the strain type weighing sensor acquires multiple groups of experimental data of weighing change values related to the number of drops in a preset second at a preset dropping speed, obtains a preset liquid medicine change threshold value at the preset dropping speed according to the experimental data of the weighing change values related to the number of drops in the preset second, generates a liquid medicine change threshold value according to the current dropping speed and the preset liquid medicine change threshold value, and calculates a creep change weight value, a temperature change weight value and a liquid medicine change weight value according to the liquid medicine change threshold value, the creep change threshold value and the temperature change threshold value;
the extreme value removing module is used for removing extreme values in the continuous first preset number of pen adopted values to obtain a first array;
the first arithmetic mean calculating module is used for calculating a first arithmetic mean of the first array;
the second array generation module is used for taking the first arithmetic mean value of continuous second preset number pens as a second array;
the second arithmetic mean calculation module is used for calculating a second arithmetic mean of the second array to be used as an effective comprehensive output value;
the comprehensive variation calculating module is used for taking the difference value of two adjacent effective comprehensive output values as the comprehensive variation;
the first judgment module is used for judging whether the comprehensive variation is larger than the sum of the liquid medicine variation threshold value and the creep variation threshold value;
the first noise variation calculation module is used for calculating to obtain a first noise variation under the condition that the comprehensive variation is larger than the sum of the liquid medicine variation threshold and the creep variation threshold, wherein the first noise variation is the difference between the comprehensive variation and the liquid medicine variation threshold;
the second judgment module is used for judging whether the first noise variation is not smaller than the temperature variation threshold value;
the temperature compensation quantity calculating module is used for calculating to obtain a temperature compensation quantity under the condition that the first noise variation is not smaller than a temperature variation threshold value, wherein the temperature compensation quantity is the product of the temperature variation threshold value and a temperature variation weight;
the second noise variation calculating module is used for calculating second noise variation, and the second noise variation is the difference between the first noise variation and the temperature compensation;
the third judging module is used for judging whether the second noise variation is not smaller than the creep variation threshold value;
the creep compensation amount calculating module is used for calculating a creep compensation amount under the condition that the second noise variation is not smaller than a creep variation threshold value, wherein the creep compensation amount is the product of the creep variation threshold value and a creep variation weight;
and the real medicine residue calculating module is used for calculating the real medicine residue, and the real medicine residue is the value of the effective comprehensive output value except the temperature compensation amount and the creep compensation amount.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the method of weight sensing dynamics compensation of any one of claims 1-6 when executing the computer program.
CN202111021674.6A 2021-09-01 2021-09-01 Weighing sensing dynamic compensation method and device, medium and electronic equipment Active CN113694305B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111021674.6A CN113694305B (en) 2021-09-01 2021-09-01 Weighing sensing dynamic compensation method and device, medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111021674.6A CN113694305B (en) 2021-09-01 2021-09-01 Weighing sensing dynamic compensation method and device, medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN113694305A CN113694305A (en) 2021-11-26
CN113694305B true CN113694305B (en) 2023-03-24

Family

ID=78658816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111021674.6A Active CN113694305B (en) 2021-09-01 2021-09-01 Weighing sensing dynamic compensation method and device, medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113694305B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114392430B (en) * 2021-12-16 2023-06-09 深圳圣诺医疗设备股份有限公司 Heating compensation control system and method of infusion heating system
CN115472019A (en) * 2022-11-03 2022-12-13 广东泓胜科技股份有限公司 Method and system for shaft weight weighing and shaft type identification in flat plate type dynamic weighing system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4412298A (en) * 1979-09-20 1983-10-25 Pitney Bowes Inc. Method for tracking creep and drift in a digital scale under full load
CN1401975A (en) * 2002-09-13 2003-03-12 梅特勒-托利多(常州)称重设备系统有限公司 Creep fuzzy compensation method of weighing sensor
JP2009075045A (en) * 2007-09-25 2009-04-09 Shimadzu Corp Electronic balance
JP2011033374A (en) * 2009-07-30 2011-02-17 Yamato Scale Co Ltd Device and method for compensating creep error

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4691290A (en) * 1984-08-06 1987-09-01 Reliance Electric Company Creep-compensated weighing apparatus
JP2009053211A (en) * 2008-12-08 2009-03-12 Yamato Scale Co Ltd Apparatus for compensating for creep errors in weight signal
WO2016032156A1 (en) * 2014-08-26 2016-03-03 주식회사 카스 Weight compensation device and method
KR20170098541A (en) * 2016-02-22 2017-08-30 주식회사 카스 Crip compensation method for noncontact displacement sensor and a scale using the same method
CN111397705B (en) * 2020-04-07 2021-03-16 深圳市坤同智能仓储科技有限公司 Creep compensation method and device for anti-shake of weighing sensor and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4412298A (en) * 1979-09-20 1983-10-25 Pitney Bowes Inc. Method for tracking creep and drift in a digital scale under full load
CN1401975A (en) * 2002-09-13 2003-03-12 梅特勒-托利多(常州)称重设备系统有限公司 Creep fuzzy compensation method of weighing sensor
JP2009075045A (en) * 2007-09-25 2009-04-09 Shimadzu Corp Electronic balance
JP2011033374A (en) * 2009-07-30 2011-02-17 Yamato Scale Co Ltd Device and method for compensating creep error

Also Published As

Publication number Publication date
CN113694305A (en) 2021-11-26

Similar Documents

Publication Publication Date Title
CN113694305B (en) Weighing sensing dynamic compensation method and device, medium and electronic equipment
Harvey et al. Quest for the artificial pancreas: combining technology with treatment
TWI671094B (en) System for controlling a tuning factor due to sensor replacement for closed-loop controller in an artificial pancreas
KR20170057405A (en) Decisions support for patients with diabetes
WO2002053209A1 (en) Biological information and blood treating device information control system, biological information and blood treating device information control device, and biological information and blood treating device information control method
Linkens et al. Computer control systems and pharmacological drug administration: a survey
CN106326651A (en) Method and system for adaptive advisory control of diabetes
CN111540436B (en) Self-adaptive glucose and insulin concentration prediction system and method
EP3769312A1 (en) Systems and methods for personalized medication therapy management
CN112509669A (en) AI technology-based renal disease hemodialysis scheme customization method and system
CN110151153A (en) Fuzzy logic
CN113289098B (en) Dialysate monitoring method and device based on hemodialysis device
CN113384241B (en) Wearable device assisted chronic patient clinical monitoring platform and method
CN107280680A (en) Blood sugar real-time monitoring system and the blood Sugar Monitoring method based on the system
CN113643820A (en) Early warning information generation method and device, computer equipment and storage medium
CN108806784A (en) Home telemedicine service system Internet-based
CN109964281A (en) System and method for automatically analyzing the continuous glucose monitoring data of glucose level in instruction body fluid
CN117133454A (en) Dynamic interpretable type 2 diabetes patient contrast agent acute kidney injury prediction platform
Emami et al. Enhancing glucose sensor models: modeling the drop-outs
CN112075930A (en) Analysis early warning device, method and system based on scatter diagram and electronic equipment
Othman et al. Optimization of identifying insulinaemic pharmacokinetic parameters using artificial neural network
CN110279411A (en) A kind of cardiac data method for detecting abnormality, device, storage medium and terminal device
CN108968975A (en) The measurement method and equipment of blood glucose value based on artificial intelligence
Phadke et al. Univariate data-driven models for glucose level prediction of CGM sensor dataset for T1DM management
US20170290969A1 (en) Method and apparatus for predicting one or more parameters characteristic for the outcome of a blood treatment

Legal Events

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