CN113694305A - 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
CN113694305A
CN113694305A CN202111021674.6A CN202111021674A CN113694305A CN 113694305 A CN113694305 A CN 113694305A CN 202111021674 A CN202111021674 A CN 202111021674A CN 113694305 A CN113694305 A CN 113694305A
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.)
Granted
Application number
CN202111021674.6A
Other languages
Chinese (zh)
Other versions
CN113694305B (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

Landscapes

  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Hematology (AREA)
  • Vascular Medicine (AREA)
  • Engineering & Computer Science (AREA)
  • Anesthesiology (AREA)
  • Veterinary Medicine (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Public Health (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Fluid Mechanics (AREA)
  • Physics & Mathematics (AREA)
  • Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)

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. The application has the effects of reducing the influence of time drift and temperature drift on weighing data, and monitoring the liquid medicine allowance and the dropping speed in the dropping process more accurately.

Description

Weighing sensing dynamic compensation method and device, medium and electronic equipment
Technical Field
The invention relates to the technical field of weight monitoring of a dropper, 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 very dangerous to increase the serum potassium level by 3-3.5 meq/l immediately from the original level in a short time. Therefore, the infusion rate of potassium chloride is generally required to be diluted to 0.3% concentration, 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, it is preferable that 5 to 6ml per minute is used for infusion of 10% glucose into an adult. In addition, it is not preferable to infuse the saline too quickly because the saline only has a similar solubility of sodium to plasma and a much higher chlorine content than plasma concentration (154 meq/l of saline and 103 meq/l of plasma), and as a result, the infusion is too fast, and chloride 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, CN105194759A discloses a medical infusion monitoring system, which uses a weight sensor to weigh a medicine bottle and detects whether the infusion is completed by weight detection, so as to notify a 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 the drops in the preset second, the preset liquid medicine change quantity threshold value at the preset drop speed can be obtained, so that the liquid medicine change quantity threshold value can be generated according to the current drop speed and the preset liquid medicine change quantity threshold value, the creep change quantity threshold value, the temperature change quantity threshold value can be combined to calculate a creep change quantity weighted value, a temperature change quantity weighted value and a liquid medicine change quantity weighted value, the liquid medicine change quantity threshold value, the creep change quantity threshold value, the temperature change quantity weighted value, the liquid medicine change quantity weighted value and the creep change quantity weighted value of the strain type weighing sensor corresponding to the current click speed are obtained, in the using process, the strain type weighing sensor collects the adoption value of the medicine bottle, and after the adoption value collected by the strain type weighing sensor is received, the adopted values are subjected to the following filtering processing: 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 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.
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 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.
The third purpose of the invention of the application 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 weight sensing dynamics compensation methods described above 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 present 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 the 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 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 can be changed in a sliding way, for example, within the range of 5min to 30 min;
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 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; 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 number, 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 be used 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 secondary buffer Vbuf2[16 ]:
vad = > Vbuf2[0] = > Vbuf2[1] = >. Vbuf2[14] = > Vbuf2[15] = > discard;
calculating the effective comprehensive output value Y (t) at this time: y (t)
Figure DEST_PATH_IMAGE004
S6, taking the difference value of two adjacent effective comprehensive output values as a comprehensive variation;
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, 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;
s9, judging whether the first noise variation is not less than the temperature variation threshold value;
s10, calculating to obtain a temperature compensation quantity under the condition that the first noise variation is not less than the temperature variation threshold, wherein the temperature compensation quantity is the product of the temperature variation threshold and the temperature variation weight;
s11, calculating a second noise variation, wherein the second noise variation is a difference between the first noise variation and the temperature compensation;
s12, judging whether the second noise variation is not less than the creep variation threshold value;
s13, calculating a creep compensation amount under the condition that the second noise variation is not less 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;
in addition, the method also comprises the following steps:
and S14, setting the creep compensation amount and the temperature compensation amount to zero when the comprehensive variation is not more than the sum of the liquid medicine variation threshold value and the creep variation threshold value.
S15, judging whether the first noise variation is not less than the creep variation threshold value under the condition that the first noise variation is less than the temperature variation threshold value;
and S16, calculating a creep compensation amount under the condition that the first noise variation is not less 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 S17, setting the creep compensation amount to zero when the first noise variation is smaller than the creep variation threshold value.
And S18, setting the creep compensation amount to zero when 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 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 the 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 device; 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 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 the creep variation weight;
and the real medicine residue calculating module is used for calculating the real medicine residue which 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 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.
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 Direct RAM (RDRAM), direct 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 substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (9)

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 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.
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 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. 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 method of any one of claims 1-6 when executing the computer program.
9. 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 weight sensing dynamics compensation method 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 true CN113694305A (en) 2021-11-26
CN113694305B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114392430A (en) * 2021-12-16 2022-04-26 深圳圣诺医疗设备股份有限公司 Heating compensation control system and method of infusion warming 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 (9)

* 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
US4691290A (en) * 1984-08-06 1987-09-01 Reliance Electric Company Creep-compensated weighing apparatus
CN1401975A (en) * 2002-09-13 2003-03-12 梅特勒-托利多(常州)称重设备系统有限公司 Creep fuzzy compensation method of weighing sensor
JP2009053211A (en) * 2008-12-08 2009-03-12 Yamato Scale Co Ltd Apparatus for compensating for creep errors in weight signal
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
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
CN111397705A (en) * 2020-04-07 2020-07-10 深圳市坤同智能仓储科技有限公司 Creep compensation method and device for anti-shake of weighing sensor and storage medium

Patent Citations (9)

* 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
US4691290A (en) * 1984-08-06 1987-09-01 Reliance Electric Company Creep-compensated weighing apparatus
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
JP2009053211A (en) * 2008-12-08 2009-03-12 Yamato Scale Co Ltd Apparatus for compensating for creep errors in weight signal
JP2011033374A (en) * 2009-07-30 2011-02-17 Yamato Scale Co Ltd Device and method for compensating creep error
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
CN111397705A (en) * 2020-04-07 2020-07-10 深圳市坤同智能仓储科技有限公司 Creep compensation method and device for anti-shake of weighing sensor and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114392430A (en) * 2021-12-16 2022-04-26 深圳圣诺医疗设备股份有限公司 Heating compensation control system and method of infusion warming system
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

Also Published As

Publication number Publication date
CN113694305B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
CN113694305B (en) Weighing sensing dynamic compensation method and device, medium and electronic equipment
Tan et al. Non-invasive continuous blood pressure measurement based on mean impact value method, BP neural network, and genetic algorithm
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
Lippi et al. Preanalytical variability: the dark side of the moon in laboratory testing
CN107203695A (en) A kind of diabetes monitoring and interactive system counted based on cloud platform big data with calculating
CN108024764A (en) The sweat instruction of physiological status
CN105992552A (en) Precision dialysis monitoring and synchonization system
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
CN112509669A (en) AI technology-based renal disease hemodialysis scheme customization method and system
Baumstark et al. Evaluation of accuracy of six blood glucose monitoring systems and modeling of possibly related insulin dosing errors
CN109964281A (en) System and method for automatically analyzing the continuous glucose monitoring data of glucose level in instruction body fluid
CN107145715A (en) A kind of clinical medical intelligent discriminating gear based on election algorithm
CN110400613B (en) Follow-up patient screening method and device, readable medium and electronic equipment
CN117558435A (en) Remote dialysis guiding system based on BCM equipment
US20240016421A1 (en) Remote blood volume monitor
CN108968975A (en) The measurement method and equipment of blood glucose value based on artificial intelligence
CN108806784A (en) Home telemedicine service system Internet-based
CN117133454A (en) Dynamic interpretable type 2 diabetes patient contrast agent acute kidney injury prediction platform
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
US20170290969A1 (en) Method and apparatus for predicting one or more parameters characteristic for the outcome of a blood treatment
Phadke et al. Univariate data-driven models for glucose level prediction of CGM sensor dataset for T1DM management
Sylvester et al. Back stepping SMC for blood glucose control of type-1 diabetes mellitus patients

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