血凝仪以及网络医院用于预防血栓的医疗系统Blood coagulation instrument and medical system for preventing thrombosis in network hospitals
【技术领域】[Technical Field]
本发明涉及医疗设备技术领域,特别是涉及一种血凝仪和一种网络医院用于预防血栓的医疗系统。 The invention relates to the technical field of medical equipment, in particular to a blood coagulation instrument and a medical system for preventing thrombosis in a network hospital.
【背景技术】【Background technique】
便携式血凝仪为血栓易患人群带来了许多便利,患者可以通过自行测量血液的相关数据,来判断血栓形成的概率。血凝仪主要作用是计算血液的凝固时间。血凝仪多采用光学法和磁珠法来测定血液凝固时间。传统的血凝仪盲目追求精确度,内部结构很复杂,导致其价格昂贵。Portable blood coagulation devices bring a lot of convenience to people with thrombosis, and patients can determine the probability of thrombosis by measuring blood data by themselves. The main function of the blood coagulation instrument is to calculate the clotting time of the blood. Blood coagulation instruments mostly use optical methods and magnetic beads to determine blood clotting time. The traditional blood coagulation instrument blindly pursues precision and the internal structure is complicated, which makes it expensive.
另一方面,血凝仪虽然可以测量血凝时间,但是患者普遍都不具备专业的医疗知识,即使测得了血凝数据,如果缺少医生的分析和指导,对患者来说意义不大。On the other hand, although the blood coagulation instrument can measure the blood coagulation time, the patients generally do not have professional medical knowledge. Even if the blood coagulation data is measured, if the analysis and guidance of the doctor is lacking, it is of little significance to the patient.
【发明内容】 [Summary of the Invention]
基于此,有必要提供一种结构简单的血凝仪。Based on this, it is necessary to provide a blood coagulation instrument with a simple structure.
此外,还提供一种网络医院用于预防血栓的医疗系统。In addition, a medical system for preventing thrombosis in a network hospital is also provided.
一种血凝仪,包括采血器和检测器;a blood coagulation instrument comprising a blood collection device and a detector;
所述采血器为内设有导磁金属珠的半封闭管状件,用于采集并盛装血液;采集血液后,所述导磁金属珠沉浸在血液中;The blood collection device is a semi-closed tubular member provided with a magnetically conductive metal bead for collecting and containing blood; after collecting blood, the magnetically conductive metal bead is immersed in the blood;
所述检测器包括主控制器、至少两路磁场电路以及感应电路,所述主控制器分别与所述至少两路磁场电路以及感应电路电连接,且所述主控制器控制所述至少两路磁场电路依次交替产生磁场、同时接收所述感应电路的输出信号;The detector includes a main controller, at least two magnetic field circuits, and a sensing circuit, the main controller is electrically connected to the at least two magnetic field circuits and the sensing circuit, respectively, and the main controller controls the at least two paths The magnetic field circuit alternately generates a magnetic field in sequence, and simultaneously receives an output signal of the sensing circuit;
所述检测器通过至少两路磁场驱动所述导磁金属珠在管状件中往复运动、并通过感应电路检测所述导磁金属珠的运动情况以判断血凝情况;The detector drives the magnetic conductive metal beads to reciprocate in the tubular member by at least two magnetic fields, and detects the movement of the magnetic conductive metal beads through an induction circuit to determine a blood coagulation condition;
所述检测器还包括至少两个并列间隔设置的U型支架,所述磁场电路与U型支架一一对应,所述磁场电路的电感线圈依附于所述U型支架形成U形。The detector further includes at least two U-shaped brackets arranged in parallel, the magnetic field circuit is in one-to-one correspondence with the U-shaped bracket, and the inductance coil of the magnetic field circuit is attached to the U-shaped bracket to form a U-shape.
在其中一个实施例中,所述至少两路磁场电路包括第一磁场电路和第二磁场电路,所述感应电路的电感线圈与所述第一磁场电路或第二磁场电路的电感线圈耦合。In one embodiment, the at least two magnetic field circuits comprise a first magnetic field circuit and a second magnetic field circuit, the inductive coil of the inductive circuit being coupled to an inductive coil of the first magnetic field circuit or the second magnetic field circuit.
在其中一个实施例中,所述主控制器为8051单片机。In one of the embodiments, the main controller is an 8051 microcontroller.
在其中一个实施例中,所述第一磁场电路包括第一电阻、第一三极管、第一二极管以及第一电感线圈;In one embodiment, the first magnetic field circuit includes a first resistor, a first transistor, a first diode, and a first inductive coil;
所述第一二极管与第一电感线圈并联连接;The first diode is connected in parallel with the first inductive coil;
所述第一二极管的负极与供电电源正极连接,所述第一二极管的正极与所述第一三极管的集电极连接;a cathode of the first diode is connected to a positive pole of the power supply, and a cathode of the first diode is connected to a collector of the first transistor;
所述第一三极管的基极通过所述第一电阻连接至所述8051单片机的其中一个PWM信号输出端、所述第一三极管的发射极接地。The base of the first transistor is connected to one of the PWM signal outputs of the 8051 microcontroller through the first resistor, and the emitter of the first transistor is grounded.
在其中一个实施例中,所述第二磁场电路包括第二电阻、第二三极管、第二二极管以及第二电感线圈;In one embodiment, the second magnetic field circuit includes a second resistor, a second transistor, a second diode, and a second inductor;
所述第二二极管与第二电感线圈并联连接;The second diode is connected in parallel with the second inductive coil;
所述第二二极管的负极与供电电源正极连接,所述第二二极管的正极与所述第二三极管的集电极连接;a cathode of the second diode is connected to a positive pole of the power supply, and a cathode of the second diode is connected to a collector of the second transistor;
所述第二三极管的基极通过所述第一电阻连接至所述8051单片机的其中另一个PWM信号输出端、所述第二三极管的发射极接地。The base of the second transistor is connected to the other PWM signal output end of the 8051 single chip through the first resistor, and the emitter of the second transistor is grounded.
在其中一个实施例中,所述感应电路包括第三电阻、第四电阻、第五电阻、第六电阻、第一电容、第二电容、第三三极管以及第三电感线圈;In one embodiment, the sensing circuit includes a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a first capacitor, a second capacitor, a third transistor, and a third inductor;
所述第三三极管的集电极通过第三电阻连接至所述8051单片机的其中一个信号输入端;所述第三三极管的集电极还通过第四电阻与供电电源正极连接;The collector of the third transistor is connected to one of the signal input terminals of the 8051 single chip through a third resistor; the collector of the third transistor is also connected to the positive pole of the power supply through the fourth resistor;
所述第三三极管的基极通过第五电阻连接至所述8051单片机的其中一个控制信号输出端;所述第三三极管的基极还通过第六电阻与供电电源正极连接;所述第三三极管的基极还通过串联的第一电容和第二电容接地;The base of the third transistor is connected to one of the control signal output terminals of the 8051 single chip through a fifth resistor; the base of the third transistor is also connected to the positive pole of the power supply through the sixth resistor; The base of the third transistor is also grounded through the first capacitor and the second capacitor connected in series;
所述第三电感线圈的一端连接在所述第一电容和第二电容的公共端、另一端接地;One end of the third inductive coil is connected to a common end of the first capacitor and the second capacitor, and the other end is grounded;
所述第三三极管的发射极与所述第三电感线圈的抽头连接。The emitter of the third transistor is connected to the tap of the third inductor.
一种网络医院用于预防血栓的医疗系统,包括上述的血凝仪,还包括通信装置和数据中心,所述通信装置收集血凝仪的数据并发送到所述数据中心,所述数据中心对接收的数据进行处理和管理。A medical system for preventing thrombosis in a network hospital, comprising the above blood coagulation apparatus, further comprising a communication device and a data center, the communication device collecting data of the blood coagulation instrument and transmitting to the data center, the data center pair The received data is processed and managed.
在其中一个实施例中,,所述数据中心包括反馈装置,所述反馈装置与通信装置通信,向通信装置发送数据中心的处理结果。In one of the embodiments, the data center includes a feedback device that communicates with the communication device to transmit a processing result of the data center to the communication device.
在其中一个实施例中,,所述血凝仪包括无线通信模块,所述通信装置通过无线方式收集血凝仪的数据。In one embodiment, the blood coagulation apparatus includes a wireless communication module that wirelessly collects data of the blood coagulation apparatus.
在其中一个实施例中,,所述无线通信模块为蓝牙模块或wifi模块,所述通信装置为智能终端。In one embodiment, the wireless communication module is a Bluetooth module or a wifi module, and the communication device is a smart terminal.
上述血凝仪,采用磁场检测金属珠位移的方法检测血凝情况,结构简单,检测精度高。The above blood coagulation instrument uses a magnetic field to detect the displacement of the metal beads to detect blood coagulation, and has a simple structure and high detection precision.
上述网络医院用于预防血栓的医疗系统,使得患者不仅能够通过血凝仪获得自身的血凝数据,还可与数据中心交互,获得更多医生的专业指导。The above-mentioned network hospital is used for the prevention of blood clots, so that patients can not only obtain their own blood coagulation data through the blood coagulation instrument, but also interact with the data center to obtain more professional guidance from doctors.
【附图说明】[Description of the Drawings]
图1为一实施例的血凝仪的结构简图1 is a schematic structural view of a blood coagulation apparatus according to an embodiment
图2为一实施例的检测器模块图;2 is a diagram of a detector module of an embodiment;
图3为一实施例的检测器的检测方法流程图;3 is a flow chart of a method for detecting a detector of an embodiment;
图4为另一实施例的检测器模块图;4 is a diagram of a detector module of another embodiment;
图5为图4所示实施例的检测器的电路原理图;Figure 5 is a circuit schematic diagram of the detector of the embodiment shown in Figure 4;
图6为另一实施例的测量血液凝固时间的方法流程图;6 is a flow chart of a method for measuring blood clotting time according to another embodiment;
图7为一实施例的网络医院用于预防血栓的医疗系统模块图。7 is a block diagram of a medical system for preventing thrombosis in a network hospital according to an embodiment.
【具体实施方式】 【detailed description】
如图1所示,为一实施例的血凝仪的结构简图。该血凝仪包括采血器1和检测器2。采血器1为内设有导磁金属珠101的半封闭管状件,用于采集并盛装血液;采集血液后,导磁金属珠101沉浸在血液中。As shown in Fig. 1, it is a schematic structural view of a blood coagulation apparatus of an embodiment. The blood coagulation apparatus includes a blood collection device 1 and a detector 2. The blood collection device 1 is a semi-closed tubular member having a magnetically conductive metal bead 101 therein for collecting and containing blood; after collecting blood, the magnetic conductive metal bead 101 is immersed in the blood.
如图2所示,检测器2包括主控制器10、至少两路磁场电路20以及感应电路30。主控制器10分别与所述至少两路磁场电路20以及感应电路30电连接。结合图1,检测器2还包括至少两个并列间隔设置的U型支架80,所述磁场电路20与U型支架80一一对应,所述磁场电路20的电感线圈依附于所述U型支架80形成U形。感应电路30设于外侧的U型支架80上。As shown in FIG. 2, the detector 2 includes a main controller 10, at least two magnetic field circuits 20, and an inductive circuit 30. The main controller 10 is electrically connected to the at least two magnetic field circuits 20 and the induction circuit 30, respectively. Referring to FIG. 1, the detector 2 further includes at least two U-shaped brackets 80 arranged in parallel, the magnetic field circuit 20 is in one-to-one correspondence with the U-shaped bracket 80, and the inductance coil of the magnetic field circuit 20 is attached to the U-shaped bracket. 80 forms a U shape. The sensing circuit 30 is disposed on the outer U-shaped bracket 80.
磁场电路20可产生磁场驱动导磁金属珠101运动,导磁金属珠101位于不同的位置时,感应电路30输出的信号不同。The magnetic field circuit 20 can generate a magnetic field to drive the magnetic metal bead 101 to move. When the magnetic conductive metal bead 101 is at different positions, the signal outputted by the sensing circuit 30 is different.
如图3所示,测量血液凝固时间的方法包括以下步骤。As shown in FIG. 3, the method of measuring blood coagulation time includes the following steps.
步骤S110:初始化与所述至少两路磁场电路对应的至少两个位置值。针对每一个磁场电路20。主控制器10启动所述磁场电路20以产生磁场。该磁场会将导磁金属珠101驱动到当前启动的磁场电路20所产生的磁场中并固定位置。Step S110: Initialize at least two position values corresponding to the at least two magnetic field circuits. For each magnetic field circuit 20. The main controller 10 activates the magnetic field circuit 20 to generate a magnetic field. This magnetic field will drive the magnetically conductive metal bead 101 into the magnetic field generated by the currently activated magnetic field circuit 20 and fix the position.
主控制器10启动所述感应电路30,测量当所述导磁金属珠101位于当前启动的磁场电路20所产生的磁场中时、所述感应电路30的输出信号,作为当前启动的磁场电路20对应的位置值。The main controller 10 activates the sensing circuit 30 to measure an output signal of the sensing circuit 30 when the magnetically conductive metal bead 101 is located in a magnetic field generated by the currently activated magnetic field circuit 20 as the currently activated magnetic field circuit 20 Corresponding position value.
需要说明的是,在初始化位置值时,仅有一个磁场电路20工作,也即当前启动的磁场电路20工作时,其他磁场电路20关闭。It should be noted that when the position value is initialized, only one magnetic field circuit 20 operates, that is, when the currently activated magnetic field circuit 20 operates, the other magnetic field circuits 20 are turned off.
步骤S120:顺次交替启动所述至少两路磁场电路,以产生至少两路交替的磁场驱动金属珠做往复运动;同时开始计时。例如,从图1中自左向右顺次启动磁场电路20,在最右边的磁场电路20启动完成后,又自右向左顺次启动磁场电路20。Step S120: sequentially starting the at least two magnetic field circuits alternately to generate at least two alternating magnetic field driving metal beads for reciprocating motion; and simultaneously starting timing. For example, the magnetic field circuit 20 is sequentially activated from left to right in FIG. 1, and after the start of the rightmost magnetic field circuit 20 is completed, the magnetic field circuit 20 is sequentially activated from right to left.
步骤S130:当所述金属珠经过同一段距离的时间间隔大于预设值时计时结束,获得计时时间。导磁金属珠101经过不同的磁场电路20时,感应电路30都能检测到相应的位置值。在进行血液凝固时间检测时,由于血液会逐渐凝固,对导磁金属珠101的阻力逐渐加大,导磁金属珠101经过同一段距离的时间也会越来越长。当该时间大于预设值时,即血液已经凝固。Step S130: When the time interval of the metal bead passing the same distance is greater than a preset value, the timing ends, and the time is obtained. When the magnetically conductive metal bead 101 passes through the different magnetic field circuits 20, the sensing circuit 30 can detect the corresponding position value. When the blood coagulation time is detected, since the blood gradually solidifies, the resistance to the magnetic metal beads 101 gradually increases, and the time during which the magnetic metal beads 101 pass the same distance becomes longer and longer. When the time is greater than the preset value, the blood has solidified.
为简单起见,现以包含两路磁场电路的检测器为例进行说明。For the sake of simplicity, a detector including two magnetic field circuits will now be described as an example.
如图4所示,为一实施例的检测器的模块图。该检测器包括主控制器100、第一磁场电路200、第二磁场电路300、感应电路400、复位电路500、振荡电路600以及显示电路700。主控制器100分别与所述第一磁场电路200、第二磁场电路300以及感应电路400电连接,且所述主控制器100输出脉冲宽度调制信号控制所述第一磁场电路200和第二磁场电路300交替产生磁场、同时接收所述感应电路400的输出信号。As shown in Figure 4, a block diagram of a detector of an embodiment. The detector includes a main controller 100, a first magnetic field circuit 200, a second magnetic field circuit 300, a sensing circuit 400, a reset circuit 500, an oscillating circuit 600, and a display circuit 700. The main controller 100 is electrically connected to the first magnetic field circuit 200, the second magnetic field circuit 300, and the sensing circuit 400, respectively, and the main controller 100 outputs a pulse width modulation signal to control the first magnetic field circuit 200 and the second magnetic field. The circuit 300 alternately generates a magnetic field while receiving an output signal of the sensing circuit 400.
如图5所示,所述主控制器100为8051单片机。所述第一磁场电路200包括第一电阻R3、第一三极管VT1、第一二极管D2以及第一电感线圈L1;所述第一二极管D2与第一电感线圈L1并联连接;所述第一二极管D2的负极与供电电源VCC正极连接,所述第一二极管D2的正极与所述第一三极管VT1的集电极连接;所述第一三极管VT1的基极通过所述第一电阻R3连接至所述8051单片机的其中一个PWM信号输出端(AD3/P0.3)、所述第一三极管VT1的发射极接地。As shown in FIG. 5, the main controller 100 is an 8051 single chip microcomputer. The first magnetic field circuit 200 includes a first resistor R3, a first transistor VT1, a first diode D2, and a first inductor L1; the first diode D2 is connected in parallel with the first inductor L1; a cathode of the first diode D2 is connected to a positive pole of the power supply VCC, a cathode of the first diode D2 is connected to a collector of the first transistor VT1; and a cathode of the first transistor VT1 is The base is connected to one of the PWM signal output terminals (AD3/P0.3) of the 8051 microcontroller through the first resistor R3, and the emitter of the first transistor VT1 is grounded.
所述第二磁场电路300包括第二电阻R4、第二三极管VT2、第二二极管D3以及第二电感线圈L2;所述第二二极管D3与第二电感线圈L2并联连接;所述第二二极管D3的负极与供电电源VCC正极连接,所述第二二极管D3的正极与所述第二三极管VT2的集电极连接;所述第二三极管VT2的基极通过所述第一电阻R3连接至所述8051单片机的其中另一个PWM信号输出端(AD2/P0.2)、所述第二三极管VT2的发射极接地。The second magnetic field circuit 300 includes a second resistor R4, a second transistor VT2, a second diode D3, and a second inductor L2; the second diode D3 is connected in parallel with the second inductor L2; The cathode of the second diode D3 is connected to the positive pole of the power supply VCC, the anode of the second diode D3 is connected to the collector of the second transistor VT2, and the cathode of the second transistor VT2 is The base is connected to the other PWM signal output terminal (AD2/P0.2) of the 8051 microcontroller through the first resistor R3, and the emitter of the second transistor VT2 is grounded.
所述感应电路400包括第三电阻R5、第四电阻R8、第五电阻R6、第六电阻R7、第一电容C4、第二电容C5、第三三极管VT3以及第三电感线圈;所述第三三极管VT3的集电极通过第三电阻R5连接至所述8051单片机的其中一个信号输入端(AD0/P0.0);所述第三三极管VT3的集电极还通过第四电阻R8与供电电源VCC正极连接;所述第三三极管VT3的基极通过第五电阻R6连接至所述8051单片机的其中一个控制信号输出端(AD1/P0.1);所述第三三极管VT3的基极还通过第六电阻R7与供电电源VCC正极连接;所述第三三极管VT3的基极还通过串联的第一电容C4和第二电容C5接地;所述第三电感线圈的一端连接在所述第一电容C4和第二电容C5的公共端、另一端接地;所述第三三极管VT3的发射极与所述第三电感线圈的抽头连接。The sensing circuit 400 includes a third resistor R5, a fourth resistor R8, a fifth resistor R6, a sixth resistor R7, a first capacitor C4, a second capacitor C5, a third transistor VT3, and a third inductor coil; The collector of the third transistor VT3 is connected to one of the signal input terminals (AD0/P0.0) of the 8051 microcontroller through a third resistor R5; the collector of the third transistor VT3 also passes through the fourth resistor R8 is connected to the positive power supply VCC; the base of the third transistor VT3 is connected to one of the control signal output terminals (AD1/P0.1) of the 8051 single chip through a fifth resistor R6; The base of the pole tube VT3 is also connected to the positive pole of the power supply VCC through the sixth resistor R7; the base of the third transistor VT3 is also grounded through the first capacitor C4 and the second capacitor C5 connected in series; the third inductor One end of the coil is connected to the common end of the first capacitor C4 and the second capacitor C5, and the other end is grounded; the emitter of the third transistor VT3 is connected to the tap of the third inductor coil.
所述复位电路500包括第三电容C1、第一开关S1和第七电阻R2;所述第三电容C1和第一开关S1并联连接后与第七电阻R2串联在供电电源VCC正极与地之间;所述第七电阻R2未接地的一端连接至所述8051单片机的复位端RST。The reset circuit 500 includes a third capacitor C1, a first switch S1, and a seventh resistor R2. The third capacitor C1 and the first switch S1 are connected in parallel with the seventh resistor R2 in series with the power supply VCC positive and ground. One end of the seventh resistor R2 that is not grounded is connected to the reset terminal RST of the 8051 one-chip computer.
所述振荡电路600包括晶振X1、第四电容C3和第五电容C2;所述第四电容C3连接在所述8051单片机的第一时钟端XTAL1与地之间;所述第五电容C2连接在所述8051单片机的第二时钟端XTAL2与地之间;所述晶振X1连接在所述第一时钟端XTAL1和第二时钟端XTAL2之间。The oscillating circuit 600 includes a crystal oscillator X1, a fourth capacitor C3, and a fifth capacitor C2. The fourth capacitor C3 is connected between the first clock terminal XTAL1 of the 8051 microcontroller and ground; the fifth capacitor C2 is connected to The second clock terminal XTAL2 of the 8051 microcontroller is connected to the ground; the crystal oscillator X1 is connected between the first clock terminal XTAL1 and the second clock terminal XTAL2.
在其中一个实施例中,所述位置值包括第一位置值和第二位置值。则上述步骤S130包括:In one of the embodiments, the position value includes a first position value and a second position value. Then the above step S130 includes:
所述主控制器100启动第一磁场电路200,并判断在预设时间内所述感应电路300的输出信号是否到达所述第一位置值,若是,则所述主控制器100启动第二磁场电路300并关闭第一磁场电路200;
否则判定所述金属珠两次到达同一位置的时间间隔大于预设值。The main controller 100 activates the first magnetic field circuit 200 and determines whether the output signal of the sensing circuit 300 reaches the first position value within a preset time, and if so, the main controller 100 activates the second magnetic field The circuit 300 and the first magnetic field circuit 200 is turned off;
Otherwise, it is determined that the time interval at which the metal beads reach the same position twice is greater than a preset value.
所述主控制器100启动第二磁场电路300后,判断在预设时间内所述感应电路400的输出信号是否到达所述第二位置值,若是,则所述主控制器100启动第一磁场电路200并关闭第二磁场电路300;否则判定所述金属珠两次到达同一位置的时间间隔大于预设值。After the main controller 100 activates the second magnetic field circuit 300, it is determined whether the output signal of the sensing circuit 400 reaches the second position value within a preset time, and if so, the main controller 100 starts the first magnetic field. The circuit 200 closes the second magnetic field circuit 300; otherwise, it is determined that the time interval at which the metal beads reach the same position twice is greater than a preset value.
当满足所述金属珠经过同一段距离的时间间隔大于预设值的条件时,输出计时时间。When the time interval in which the metal bead passes the same distance is greater than a preset value, the timing is output.
在另一个实施例中,所述至少两个位置值还包括位于所述第一位置值和第二位置值之间的第三位置值和第四位置值,且所述位置值均为所述感应电路400输出信号的周期。In another embodiment, the at least two position values further include a third position value and a fourth position value between the first position value and the second position value, and the position values are all The sensing circuit 400 outputs a period of the signal.
第三位置值=(第二位置值-第一位置值)/4+第一位置值;Third position value = (second position value - first position value) / 4 + first position value;
第四位置值= (第一位置值-第二位置值) /4+第二位置值。The fourth position value = (first position value - second position value) / 4 + second position value.
参考图6,上述步骤S130包括:Referring to FIG. 6, the above step S130 includes:
步骤A:所述主控制器100启动第一磁场电路200,初始化计数值为0。例如采用count变量保存计数值。Step A: The main controller 100 activates the first magnetic field circuit 200 and initializes the count value to zero. For example, the count variable is used to save the count value.
步骤B:等待预设子时间段后,所述主控制器100测量所述感应电路400输出信号的周期。预设值为1秒,则预设子时间段可以为100毫秒(ms)。Step B: After waiting for the preset sub-period, the main controller 100 measures the period of the output signal of the sensing circuit 400. The preset value is 1 second, and the preset sub-period can be 100 milliseconds (ms).
步骤C:将计数值增加1、将计时时间增加所述预设子时间段。count=count+1,计时时间增加100毫秒。Step C: Increase the count value by one and increase the count time by the preset sub-period. Count=count+1, the timing is increased by 100 milliseconds.
步骤D:判断计数值是否超过预设计数值,若是,则输出计时时间,否则进一步判断所述感应电路400输出信号的周期是否小于所述第三位置值。预设计数值与预设值对应。例如,预设值为1秒,预设子时间段为100毫秒,则预设计数值为10。也即判断count是否大于10。Step D: determining whether the count value exceeds the pre-designed value, and if so, outputting the timing time, otherwise it is further determined whether the period of the output signal of the sensing circuit 400 is smaller than the third position value. The pre-designed value corresponds to the preset value. For example, if the preset value is 1 second and the preset sub-time period is 100 milliseconds, the preset count value is 10. That is, it is judged whether count is greater than 10.
若所述感应电路400输出信号的周期小于所述第三位置值,则重复上述步骤B~D;否则执行步骤E。第三位置值反映金属珠靠近第一磁场电路200的位置,如果感应电路400的输出信号的周期小于该值,表示金属珠继续在向第一磁场电路200靠近。If the period of the output signal of the sensing circuit 400 is less than the third position value, the above steps B~D are repeated; otherwise, step E is performed. The third position value reflects the position of the metal bead adjacent to the first magnetic field circuit 200. If the period of the output signal of the sensing circuit 400 is less than the value, it indicates that the metal bead continues to approach the first magnetic field circuit 200.
步骤E:所述主控制器100启动第二磁场电路300,初始化计数值为0。经过上述步骤B~D后,若感应电路400输出信号的周期大于所述第三位置值,则说明金属珠向第二磁场电路靠近。此时要将计数值重设为0。Step E: The main controller 100 activates the second magnetic field circuit 300 to initialize the count value to zero. After the above steps B~D, if the period of the output signal of the sensing circuit 400 is greater than the third position value, the metal bead approaches the second magnetic field circuit. In this case, reset the count value to 0.
步骤F:等待预设子时间段后,所述主控制器100测量所述感应电路400输出信号的周期。预设值为1秒,则预设子时间段可以为100毫秒(ms)。Step F: After waiting for the preset sub-period, the main controller 100 measures the period of the output signal of the sensing circuit 400. The preset value is 1 second, and the preset sub-period can be 100 milliseconds (ms).
步骤G:将计数值增加1、将计时时间增加所述预设子时间段。count=count+1,计时时间增加100毫秒。至此计时时间增加了200毫秒。Step G: Increase the count value by one and increase the count time by the preset sub-period. Count=count+1, the timing is increased by 100 milliseconds. At this point, the timing has increased by 200 milliseconds.
步骤H:判断计数值是否超过预设计数值,若是,则输出计时时间,否则进一步判断所述感应电路400输出信号的周期是否小于所述第四位置值。预设计数值与预设值对应。例如,预设值为1秒,预设子时间段为100毫秒,则预设计数值为10。也即判断count是否大于10。Step H: determining whether the count value exceeds the pre-designed value, and if so, outputting the timing time, otherwise it is further determined whether the period of the output signal of the sensing circuit 400 is smaller than the fourth position value. The pre-designed value corresponds to the preset value. For example, if the preset value is 1 second and the preset sub-time period is 100 milliseconds, the preset count value is 10. That is, it is judged whether count is greater than 10.
所述感应电路400输出信号的周期小于所述第四位置值,则重复上述步骤F~H;否则执行步骤A。第四位置值反映金属珠靠近第二磁场电路300的位置,如果感应电路400的输出信号的周期小于该值,表示金属珠继续在向第二磁场电路300靠近。If the period of the output signal of the sensing circuit 400 is less than the fourth position value, the above steps F~H are repeated; otherwise, step A is performed. The fourth position value reflects the position of the metal bead adjacent to the second magnetic field circuit 300. If the period of the output signal of the sensing circuit 400 is less than the value, it indicates that the metal bead continues to approach the second magnetic field circuit 300.
当血液逐渐凝固时,上述流程会最终在步骤D或步骤H结束,并输出计时时间。When the blood gradually solidifies, the above process will eventually end at step D or step H, and the timing time is output.
基于上述血凝仪,提供一实施例的网络医院用于预防血栓的医疗系统。Based on the blood coagulation apparatus described above, a medical system for preventing thrombosis in a network hospital of an embodiment is provided.
如图7所示,该网络医院用于预防血栓的医疗系统包括上述实施例的血凝仪、通信装置50、数据中心60。通信装置50收集血凝仪的数据并发送到数据中心60,所述数据中心60对接收的数据进行处理和管理。As shown in FIG. 7, the medical system for preventing thrombus in the network hospital includes the blood coagulation apparatus, the communication device 50, and the data center 60 of the above embodiment. Communication device 50 collects data from the coagulometer and sends it to data center 60, which processes and manages the received data.
血凝仪包括无线通信模块40,所述通信装置50通过无线方式收集血凝仪的数据。所述无线通信模块40可以为蓝牙模块或wifi模块,所述通信装置50为智能终端,例如智能手机、平板或笔记本。血凝仪的数据可以包括当次测试的血凝时间、测试时间、测试人的相关信息等。The blood coagulation apparatus includes a wireless communication module 40 that wirelessly collects data of the blood coagulation apparatus. The wireless communication module 40 can be a Bluetooth module or a wifi module, and the communication device 50 is a smart terminal, such as a smart phone, a tablet or a notebook. The data of the blood coagulation instrument may include blood coagulation time of the current test, test time, relevant information of the test person, and the like.
数据中心60将血凝数据进行处理和管理,可以形成患者的历史数据,并根据历史数据生成相关的报表、结论、图表等,有助于跟踪患者的身体状况。数据中心60还可将患者资料分配给医生用户,医生获得查看患者资料的权限后根据患者情况提供专业建议和指导。The data center 60 processes and manages the blood coagulation data, can form historical data of the patient, and generates related reports, conclusions, charts, and the like according to the historical data, which helps to track the physical condition of the patient. The data center 60 can also assign patient data to the physician user, who can obtain professional advice and guidance based on the patient's condition after obtaining the authority to view the patient data.
数据中心60还包括反馈装置610。反馈装置610与通信装置50通信,向通信装置50发送数据中心的处理结果。医生用户也可将其建议和指导信息通过反馈装置610反馈给患者。Data center 60 also includes feedback device 610. The feedback device 610 communicates with the communication device 50 and transmits the processing result of the data center to the communication device 50. The physician user can also feed back their suggestions and guidance information to the patient via feedback device 610.
上述网络医院用于预防血栓的医疗系统,使得患者不仅能够通过血凝仪获得自身的血凝数据,还可与数据中心交互,获得更多医生的专业指导。The above-mentioned network hospital is used for the prevention of blood clots, so that patients can not only obtain their own blood coagulation data through the blood coagulation instrument, but also interact with the data center to obtain more professional guidance from doctors.
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-described embodiments may be arbitrarily combined. For the sake of brevity of description, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction between the combinations of these technical features, All should be considered as the scope of this manual.
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-described embodiments are merely illustrative of several embodiments of the present invention, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the invention. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of the invention should be determined by the appended claims.