Summary of the invention
In view of this, the embodiment of the present application provides a kind of infusion of insulin control device, to realize more effectively controlling the blood sugar level in patient body,
To achieve these goals, the technical scheme that provides of the embodiment of the present application is as follows:
A kind of infusion of insulin control device comprises:
Receiving element, be used to receiving infusion interval, infusion time span and the infusion total amount of user's input;
The first computing unit that is connected with described receiving element, be used for the infusion time span of described user's input divided by described infusion interval, obtain infusion time hop count, judge the size of described infusion time hop count and 1, and according to judged result, calculate the infusion amount of each infusion time period, comprising:
If described infusion time hop count is greater than 1, described infusion total amount, divided by described infusion time hop count, is obtained to the business as the infusion radix of each infusion time period, and judges after described infusion total amount is divided by described infusion time hop count whether have remainder,
When not having remainder, the infusion amount of the first infusion time period is set to 1/3rd of infusion radix, the infusion amount of last infusion time period is set to 5/3rds of infusion radix, and the infusion amount of the first infusion time period and last each the infusion time period of infusion between the time period is set to the infusion amount of its last infusion time period and adds (4/3) * (infusion radix/(infusion hop count-1));
When having remainder, using described remainder as the infusion surplus, and be divided into some parts by described infusion time hop count, in the infusion amount of each infusion time period, all add portion, and the infusion amount of the first infusion time period is set to 1/3rd of infusion radix, the infusion amount of last infusion time period is set to 5/3rds of infusion radix, and the infusion amount of the first infusion time period and last each the infusion time period of infusion between the time period is set to the infusion amount of its last infusion time period and adds (4/3) * (infusion radix/(infusion hop count-1));
If described infusion time hop count is less than or equal to 1, the infusion amount of each infusion in the time period divided and done three times and at this infusion infusion uniformly-spaced in the time period;
The infusion unit that is connected with described the first computing unit, divide work to carry out even infusion three times for the infusion amount that calculates each time period according to described computing unit.
Preferably, described infusion unit comprises: reservoir, drive mechanism, direct current generator, rotary encoder and the second computing unit, wherein:
Described reservoir one end is open, and the other end is provided with outlet, and is provided with piston in described reservoir;
Described drive mechanism one end is connected with described piston by the open end on described reservoir, and the other end is connected with described direct current generator, and described drive mechanism can convert rotatablely moving of described direct current generator to the rectilinear motion of described piston;
The rotating shaft of described rotary encoder is connected with the rotating shaft of described direct current generator, be used to controlling the rotation number of turns of described direct current generator;
Described the second computing unit is connected with described rotary encoder, and be connected with described the first computing unit, can accept the infusion amount that calculates of described the first computing unit, and according to described infusion amount, calculate the rotation number of turns of described direct current generator, and will rotate the number of turns and send to described rotary encoder.
Preferably, this device further comprises:
The memory element that is connected with described the first computing unit, the infusion amount of each the infusion time period that calculates be used to infusion interval, infusion time span, infusion total amount and the first computing unit of storing user's input that described the first computing unit receives.
Preferably, this device further comprises:
The display unit that is connected with described the first computing unit, the infusion amount of each the infusion time period that calculates be used to infusion interval, infusion time span, infusion total amount and the first computing unit that shows user's input that described the first computing unit receives.
Visible by above technical scheme, this infusion control method that the embodiment of the present application provides, at first receive the user and input infusion time span and infusion total amount, and default infusion interval, and according to the infusion interval, the infusion time span is divided, obtain infusion time hop count; When infusion time hop count, more than or equal to 2 the time, according to infusion time hop count and infusion total, obtain the infusion radix, and calculate the infusion amount of each infusion time period; The infusion amount that last basis calculates is carried out infusion.Infusion amount in each time period that obtains by this infusion control method increases successively, integral body is arithmetic progression and distributes, when meeting Chinese and attending the dinner, first drink, and feed high protein diet, and then the dietary habit of feed high heat food, the content of proper interior insulin and the level of the sugar in pickuping food are matched, and then can more effectively control the blood sugar level in patient body.
The specific embodiment
In order to make those skilled in the art person understand better the technical scheme in the application, below in conjunction with the accompanying drawing in the embodiment of the present application, technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is only the application's part embodiment, rather than whole embodiment.Based on the embodiment in the application, those of ordinary skills are not making under the creative work prerequisite the every other embodiment that obtains, and all should belong to the scope of the application's protection.
Embodiment mono-:
The schematic flow sheet of a kind of infusion of insulin control method that Fig. 1 provides for the embodiment of the present application.
As shown in Figure 1, the method comprises:
Step S100: receive infusion time span and the infusion total amount of user's input, and default infusion interval.
In step S100, the infusion interval is predefined, and infusion time span and infusion total amount are before the user carries out infusion, according to meal time and dining food, set up on their own, the dietary habit that the corresponding Chinese of this infusion control method attend the dinner and are, if namely patient's dining is for first drinking, and the feed high protein diet, and then feed high heat food, can select the content of insulin in this infusion control method control volume.
Step S200: the infusion time span of described user's input, divided by described infusion interval, is obtained to infusion time hop count.
According to the infusion time span that will receive and infusion interval, just can obtain at infusion time hop count, be also an infusion interval.
Step S300: judge that described infusion time hop count, whether greater than 1, if so, carries out step S400; If not, the infusion total amount is carried out to step S600.
If the infusion time hop count that obtains, less than 1, namely, in this infusion time span, without dividing the infusion interval again, only need carry out an infusion and get final product, and, using the infusion total amount of user's input as this infusion amount, carry out infusion.
Step S400: described infusion total amount, divided by described infusion time hop count, is obtained to the infusion radix of each infusion time period.
This infusion radix is as an infusion fundamental quantity, be used to calculating the infusion amount of each infusion in the time period.
Step S500: the infusion amount of calculating respectively each infusion time period according to the infusion radix.
In this step, at first the infusion amount of the first infusion time period is set to 1/3rd of infusion radix, and the infusion amount of last infusion time period is set to 5/3rds of infusion radix.Then according to the infusion amount of the first infusion time period, the infusion amount of the first infusion time period and last each the infusion time period of infusion between the time period is set to the infusion amount of its last infusion time period and adds (4/3) * (infusion radix/(infusion hop count-1)).
After above-mentioned calculating, the infusion amount in each the infusion time period that obtains, from first to finally, its integral body is arithmetic progression and distributes, and namely makes the infusion amount in each time period increase successively.
Step S600: divide work to carry out even infusion three times the infusion amount of each infusion in the time period.
By above-mentioned calculating, on time shaft, just can see, in whole infusion process, infusion amount becomes curve distribution, by initial low dose, increased gradually, thereby can be so that the sugar content of the food of insulin content and the picked-up in patient body is complementary, and then can more effectively control the interior blood sugar level of patient body.
In real other of the application were executed example, as shown in Figure 2, the method, after step S400, can also comprise:
Step S700: judge after the infusion total amount is divided by infusion time hop count whether have remainder, if so, carry out step S800; If not, carry out step S500;
Step 800: using remainder as the infusion surplus, and be divided into some parts by infusion time hop count, all add portion in the infusion amount of each infusion time period, and carry out step S500.
Can, when processing the infusion surplus, not have influence on the relation of infusion amount in each infusion time period so as far as possible.
Embodiment bis-:
On the basis of embodiment mono-, the embodiment of the present application also provides a kind of infusion of insulin control device, as shown in Figure 3, and the structural representation of a kind of infusion of insulin control device that provides for the embodiment of the present application.
This device comprises: receiving element 1, the first computing unit 2 and infusion unit, wherein: the first computing unit 2 is connected with infusion unit with receiving element 1 respectively.
Receiving element 1 is inputted infusion time span and infusion total amount be used to receiving the user.The first computing unit 2 divided by the infusion interval, obtains infusion time hop count for the infusion time span by described user's input, judges the size of described infusion time hop count and 1, and according to judged result, calculates the infusion amount of each infusion time period.In the embodiment of the present application, the first computing unit 2 can be single-chip microcomputer, and receiving element 1 can be for being arranged on the input key on single-chip microcomputer.
Infusion unit divides work to carry out even infusion three times for the infusion amount that calculates each time period according to described computing unit, as shown in Figure 2, infusion unit comprises: the second computing unit 3, rotary encoder 4, direct current generator 5, drive mechanism 6 and reservoir 7, wherein:
Reservoir 7 is tubular structure, and the one end is open, and the other end is provided with outlet 72, in reservoir 7 inside, is provided with piston 71, and seals between the inwall of piston 71 and reservoir 7.Drive mechanism 6 comprises: tooth sector group 8, screw mandrel 9, screw 11 and push rod 10.Tooth sector group 8 is connected with screw mandrel 9 with the rotating shaft 51 of direct current generator 5 respectively, for the rotation transmission by rotating shaft 41, to screw mandrel 9, screw mandrel 9 is rotated.Screw 11 can before and after slide, and the screw thread on the screw thread on screw 11 and screw mandrel 9 is complementary, screw 11 is set on screw mandrel 9, when screw mandrel 9 rotation, can drive screw 11 and seesaw.Push rod 10 is the pipe of hollow, and the one end is fixed on piston 71.The end that screw mandrel 9 passes screw 11 penetrates in push rod 10, and the other end of push rod 10 contacts with screw 11, when described screw mandrel 9 rotates and make screw 11 move to the direction of reservoir 7, screw 11 will promote push rod 10 motions, and then pushing piston 71 is in the interior motion of reservoir 7 like this.So the effect of drive mechanism 6 is exactly rotatablely moving of direct current generator 5 to be converted to the rectilinear motion of piston 71.
The rotating shaft of rotary encoder 4 is connected with the rotating shaft 51 on direct current generator 5, be used to controlling the rotation number of turns of direct current generator 5.Rotary encoder 4 also is connected with the second computing unit 3 in addition, the signal that sends be used to receiving the second computing unit 3.
The second computing unit 3 receives the interior infusion amount of each infusion time period that the first computing unit 2 calculates, calculate the rotation number of turns of direct current generator 5, and will rotate the number of turns and send to rotary encoder 4 to control the direct current generator rotation, and then drive piston 71 carries out infusion.The second computing unit 3 can be selected the chip that can realize its function well known to those of ordinary skill in the art, in the embodiment of the present application, and the preferred single-chip microcomputer that adopts of the second computing unit 3.
In other embodiment of the application, as shown in Figure 4, this device can also comprise: memory element 12, with the first computing unit 2, be connected, the infusion amount of each the infusion time period that calculates be used to infusion interval, infusion time span, infusion total amount and the first computing unit 2 of storing user's input that the first computing unit 2 receives.
In addition, this device can also comprise: display unit 13, with the first computing unit 2, be connected, the infusion amount of each the infusion time period that calculates be used to infusion interval, infusion time span, infusion total amount and the first computing unit 2 that shows user's input that the first computing unit 2 receives.
Visible by above technical scheme, this infusion control method that the embodiment of the present application provides, at first receive the user and input infusion interval, infusion time span and infusion total amount, and according to the infusion interval, the infusion time span is divided, obtain infusion time hop count; When infusion time hop count, more than or equal to 2 the time, according to infusion time hop count and infusion total, obtain the infusion radix, and calculate the infusion amount of each infusion time period; The infusion amount that last basis calculates is carried out infusion.Infusion amount in each time period that obtains by this infusion control method increases successively, integral body is arithmetic progression and distributes, when meeting Chinese and attending the dinner, first drink, and feed high protein diet, and then the dietary habit of feed high heat food, the content of proper interior insulin and the level of the sugar in pickuping food are matched, and then can more effectively control the blood sugar level in patient body.
The above is only the application's preferred implementation, makes those skilled in the art can understand or realize the application.Multiple modification to these embodiment will be apparent to one skilled in the art, and General Principle as defined herein can be in the situation that do not break away from the application's spirit or scope, realization in other embodiments.Therefore, the application will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.