技术领域technical field
本发明涉及植入式技术领域,尤其涉及一种体内处理器及其协调方法。The present invention relates to the field of implantable technology, and in particular, to an in-vivo processor and a coordination method thereof.
背景技术Background technique
体内处理器已经应用到很多疾病的治疗中,例如心脏起搏器、脊髓刺激器以及植入式神经刺激器等。In vivo processors have been used in the treatment of many diseases, such as pacemakers, spinal cord stimulators, and implantable neurostimulators.
ROM(Read Only Memory,只读存储器)具有掉电不丢失信息的特点,通常用来进行程序和数据存储。ROM可以分为可重写ROM和不可重写ROM两种,可重写ROM可以进行重复擦除和写入操作,包括EPROM、EEPROM以及flash等,而不可重写ROM则是由硬连线构成,其中存储的信息是在流片时确定的固有程序和数据,流片完成后无法修改其中的数据。ROM (Read Only Memory, read only memory) has the characteristics of not losing information when power is off, and is usually used for program and data storage. ROM can be divided into two types: rewritable ROM and non-rewritable ROM. Rewritable ROM can be repeatedly erased and written, including EPROM, EEPROM and flash, etc. Non-rewritable ROM is composed of hard-wired , the information stored in it is the inherent program and data determined at the time of tape-out, and the data in it cannot be modified after the tape-out is completed.
传统的处理器中一般采用可重写ROM进行程序和数据存储。但是对于植入式领域,体内设备通常有严格的体积和功耗等方面的约束,而可重写ROM由于面积较大,且重写所需的功率大、电压高,以致于难以减小体内设备的体积和功耗。In traditional processors, rewritable ROM is generally used for program and data storage. However, for the implantable field, in-vivo devices usually have strict constraints on volume and power consumption, and rewritable ROMs are difficult to reduce in vivo due to their large area, large power and high voltage required for rewriting. The size and power consumption of the device.
因此,如何减小体内设备的体积和功耗,在实现完备的体内系统功能的前提下实现体内处理器的最小化是急需解决的问题。Therefore, how to reduce the volume and power consumption of the in-vivo device and realize the minimization of the in-vivo processor under the premise of realizing the complete in-vivo system function is an urgent problem to be solved.
发明内容SUMMARY OF THE INVENTION
(一)要解决的技术问题(1) Technical problems to be solved
本发明要解决的技术问题是提供一种微小体积、微供电、无可重写ROM的体内处理器及其协调方法。The technical problem to be solved by the present invention is to provide an in-body processor with small volume, micro-power supply, and no rewritable ROM and its coordination method.
(二)技术方案(2) Technical solutions
第一方面,为解决上述技术问题,本发明的技术方案提供了一种体内处理器,所述体内处理器设于体内植入设备中,所述体内处理器包括不可重写的只读存储器,所述只读存储器用于存储体内所需的程序;In the first aspect, in order to solve the above technical problems, the technical solution of the present invention provides an in-vivo processor, the in-vivo processor is set in an in-vivo implanted device, and the in-vivo processor includes a non-rewritable read-only memory, The read-only memory is used to store the program required in the body;
所述体内处理器,用于根据体内状态机从所述只读存储器中读取运行时所需的各子程序,并根据读取的子程序向体外控制计算设备发送体内状态信息、计算需求和/或存储需求,以使所述体外控制计算设备根据所述体内状态信息、计算需求和/或存储需求进行相应地分析、计算和存储处理。The in-vivo processor is configured to read each subprogram required for running from the read-only memory according to the in-vivo state machine, and send in-vivo state information, calculation requirements and /or storage requirements, so that the in vitro control computing device performs corresponding analysis, calculation and storage processing according to the in vivo state information, computing requirements and/or storage requirements.
优选地,所述体内处理器,还用于接收体外控制计算设备发送的体外控制信息,根据体内状态机及体外控制信息从所述只读存储器中读取运行时所需的各子程序,所述体外控制信息由所述体外控制计算设备根据所述体内状态信息和/或体外的计算结果和/或系统需求确定。Preferably, the in-vivo processor is further configured to receive in-vitro control information sent by the in-vitro control computing device, and read each subprogram required for runtime from the read-only memory according to the in-vivo state machine and the in-vitro control information, so that The in vitro control information is determined by the in vitro control computing device according to the in vivo state information and/or in vitro calculation results and/or system requirements.
优选地,所述体内处理器,还用于接收所述体外控制计算设备发送的重构指令,并根据所述重构指令改变相应的配置,所述重构指令由所述体外控制计算设备根据系统需求确定。Preferably, the in-body processor is further configured to receive a reconfiguration instruction sent by the in vitro control computing device, and change the corresponding configuration according to the reconfiguration instruction, and the reconfiguration instruction is executed by the in vitro control computing device according to the System requirements are determined.
优选地,所述体内植入设备还包括体内通信模块、体内传感器以及体内驱动器;Preferably, the in-vivo implant device further comprises an in-vivo communication module, an in-vivo sensor and an in-vivo driver;
所述体内处理器通过所述体内通信模块与所述体外控制计算设备进行通信;The in-vivo processor communicates with the in-vitro control computing device through the in-vivo communication module;
所述体内处理器,作为系统状态机对所述体内植入设备实施总体控制;The in-vivo processor, as a system state machine, implements overall control of the in-vivo implanted device;
所述体内处理器,还用于向所述体内传感器发送采集指令;The in-vivo processor is further configured to send acquisition instructions to the in-vivo sensor;
所述体内传感器,用于根据所述体内处理器发送的采集指令采集体内状态参数,并将采集到的状态参数发送至所述体内处理器;The in-vivo sensor is used to collect in-vivo state parameters according to the acquisition instruction sent by the in-vivo processor, and send the collected state parameters to the in-vivo processor;
所述体内处理器,用于控制所述体内通信模块并执行通信控制协议;The in-body processor is used to control the in-body communication module and execute a communication control protocol;
所述体内处理器,还用于向所述体内驱动器发出驱动指令;The in-body processor is further configured to issue a drive instruction to the in-body driver;
所述体内驱动器,用于根据所述体内处理器发送的驱动指令进行驱动或驱动控制。The in-vivo driver is used for driving or driving control according to the driving instruction sent by the in-vivo processor.
优选地,所述体内植入设备还包括体内无线无接触能量接收器;Preferably, the in-vivo implant device further comprises an in-vivo wireless non-contact energy receiver;
所述体内无线无接触能量接收器,用于通过耦合接收所述体外控制计算设备发送的供电能量,并向所述体内处理器供电;The in vivo wireless non-contact energy receiver is configured to receive power supply energy sent by the in vitro control computing device through coupling, and supply power to the in vivo processor;
所述体内处理器,用于控制所述体内无线无接触能量接收器并执行电能控制协议。The in-vivo processor is used to control the in-vivo wireless contactless energy receiver and execute a power control protocol.
第二方面,为解决上述技术问题,本发明的技术方案提供了一种基于所述的植入式系统的协调方法,所述方法包括:In the second aspect, in order to solve the above technical problems, the technical solution of the present invention provides a coordination method based on the implanted system, the method comprising:
体内处理器根据体内状态机从生产过程中固化程序的只读存储器中读取运行时所需的各子程序;The in-vivo processor reads the subroutines required for runtime from the read-only memory of the firmware in the production process according to the in-vivo state machine;
所述体内处理器根据读取的子程序向体外控制计算设备发送体内状态信息、计算需求和/或存储需求,以使所述体外控制计算设备由所述体外控制计算设备根据所述体内状态信息、计算需求和/或存储需求和/或系统需求进行相应地分析、计算和存储处理。The in-vivo processor sends in-vivo state information, calculation requirements and/or storage requirements to the in-vitro control computing device according to the read subprogram, so that the in-vitro control computing device is controlled by the in-vitro computing device according to the in-vivo state information , computing requirements and/or storage requirements and/or system requirements are analyzed, calculated and stored accordingly.
优选地,所述体内处理器根据体内状态机从只读存储器中读取运行时所需的各子程序之前,所述方法还包括:Preferably, before the in-vivo processor reads each subroutine required for runtime from the read-only memory according to the in-vivo state machine, the method further includes:
体内处理器接收体外控制计算设备发送的体外控制信息;The in-vivo processor receives the in-vitro control information sent by the in-vitro control computing device;
相应地,所述体内处理器根据体内状态机从只读存储器中读取相应运行时所需的各子程序,进一步包括:Correspondingly, the in-vivo processor reads each subroutine required by the corresponding runtime from the read-only memory according to the in-vivo state machine, further comprising:
根据体内状态机及体外控制信息从所述只读存储器中读取运行时所需的各子程序,所述体外控制信息由所述体外控制计算设备根据所述体内状态信息和/或体外的计算结果和/或系统需求确定。Each subprogram required for runtime is read from the read-only memory according to the in vivo state machine and the in vitro control information, the in vitro control information is calculated by the in vitro control computing device according to the in vivo state information and/or the in vitro calculation Results and/or system requirements are determined.
优选地,所述方法还包括:Preferably, the method further includes:
所述体内处理器接收所述体外控制计算设备发送的重构指令,并根据所述重构指令改变相应的配置,所述重构指令由所述体外控制计算设备根据系统需求确定。The in-vivo processor receives a reconfiguration instruction sent by the in vitro control computing device, and changes the corresponding configuration according to the reconfiguration instruction, and the reconfiguration instruction is determined by the in vitro control computing device according to system requirements.
优选地,所述方法还包括:Preferably, the method further includes:
所述体内处理器向所述体内传感器发送采集指令;The in-vivo processor sends an acquisition instruction to the in-vivo sensor;
所述体内传感器根据所述体内处理器发送的采集指令采集体内状态参数,并将采集到的状态参数发送至所述体内处理器;The in-vivo sensor collects in-vivo state parameters according to the collection instruction sent by the in-vivo processor, and sends the collected state parameters to the in-vivo processor;
所述体内处理器向所述体内驱动器发出驱动指令;The in-vivo processor sends a driving instruction to the in-vivo driver;
所述体内驱动器根据所述体内处理器发送的驱动指令进行驱动或驱动控制;The in-vivo driver performs driving or driving control according to the driving instruction sent by the in-vivo processor;
其中,由所述体内处理器控制所述体内通信模块并执行通信控制协议。Wherein, the in-vivo communication module is controlled by the in-body processor and a communication control protocol is executed.
优选地,所述方法还包括:Preferably, the method further includes:
体内能量接收器通过耦合接收所述体外控制计算设备发送的供电能量,并向所述体内处理器供电;The in vivo energy receiver receives the power supply energy sent by the in vitro control computing device through coupling, and supplies power to the in vivo processor;
其中,由所述体内处理器控制所述体内无线无接触能量接收器并执行电能控制协议。Wherein, the in-vivo wireless non-contact energy receiver is controlled by the in-body processor and a power control protocol is executed.
(三)有益效果(3) Beneficial effects
本发明的体内处理器设于体内植入设备中,体内处理器包括不可重写的只读存储器;通过采用不可重写的只读存储器减小了体内植入设备的体积,并且采用不可重写的只读存储器不需要对ROM进行数据擦除和写入,从而减小了体内植入设备的功耗;通过体内外协调与分解,将体内计算和存储任务转移到体外控制计算设备中进行,并通过体外控制计算设备控制体内处理器的程序调用,从而控制体内处理器的程序流,将体内处理器的功能限制到最小,在保证系统总体功能与性能的前提下,进一步减小了体内植入设备的体积和功耗。The in-vivo processor of the present invention is arranged in an in-vivo implanted device, and the in-vivo processor includes a non-rewritable read-only memory; the volume of the in-vivo implanted device is reduced by using the non-rewritable read-only memory, and the non-rewritable read-only memory is used. The read-only memory does not need to erase and write data to the ROM, thereby reducing the power consumption of the implanted device in vivo; through the coordination and decomposition of the in vivo and in vivo, the in vivo computing and storage tasks are transferred to the in vitro control computing device. And through the external control computing device to control the program call of the internal processor, so as to control the program flow of the internal processor, limit the function of the internal processor to the minimum, and further reduce the internal implantation under the premise of ensuring the overall function and performance of the system. The size and power consumption of the input device.
附图说明Description of drawings
图1是本发明实施方式提供的一种体内处理器的示意图;1 is a schematic diagram of an in-vivo processor provided by an embodiment of the present invention;
图2是本发明实施方式提供的体内状态机的运行流程示意图;FIG. 2 is a schematic diagram of an operation flow of an in-vivo state machine provided by an embodiment of the present invention;
图3是本发明实施方式提供的体外控制计算设备的运行流程示意图;3 is a schematic diagram of an operation flow of an in vitro control computing device provided by an embodiment of the present invention;
图4是本发明实施方式提供的体内外协调方法流程图。Fig. 4 is a flow chart of a method for in vitro and in vivo coordination provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例,对本发明的具体实施方式作进一步详细描述。以下实施例用于说明本发明,但不用来限制本发明的范围。The specific embodiments of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments. The following examples are intended to illustrate the present invention, but not to limit the scope of the present invention.
图1是本发明实施方式提供的一种体内处理器的示意图;参照图1,所述体内处理器201设于体内植入设备200中,所述体内处理器包括不可重写只读存储器,所述只读存储器用于存储体内所需的程序;FIG. 1 is a schematic diagram of an in-vivo processor provided by an embodiment of the present invention; referring to FIG. 1 , the in-vivo processor 201 is provided in the in-vivo implant device 200, and the in-vivo processor includes a non-rewritable read-only memory, so The read-only memory is used to store the programs required in the body;
所述体内处理器201,用于根据体内状态机从所述只读存储器中读取运行时所需的各子程序,并根据读取的子程序向体外控制计算设备100发送体内状态信息、计算需求和/或存储需求;The in-vivo processor 201 is configured to read each subprogram required for running from the read-only memory according to the in-vivo state machine, and send in-vivo state information, calculation requirements and/or storage requirements;
所述体外控制计算设备100,用于接收所述体内处理器201发送的体内状态信息、计算需求和/或存储需求,进行相应的分析、计算和存储处理;The in-vitro control computing device 100 is configured to receive in-vivo state information, calculation requirements and/or storage requirements sent by the in-vivo processor 201, and perform corresponding analysis, calculation and storage processing;
本实施方式提供的植入式系统通过采用不可重写的只读存储器减小了体内植入设备200的体积,并且采用不可重写的只读存储器不需要对ROM进行数据擦除和写入,从而减小了体内植入设备200的功耗;通过体内外协调与分解,将体内数据存储任务和计算任务转移到体外控制计算设备100中进行,并通过体外控制计算设备100控制体内处理器201的程序调用,从而控制体内处理器201的程序流,将体内处理器201的功能限制到最小,在保证系统总体功能与性能的前提下,进一步减小了体内植入设备200的体积和功耗。The implantable system provided by this embodiment reduces the volume of the implanted device 200 in the body by using the non-rewritable read-only memory, and the use of the non-rewritable read-only memory does not require data erasing and writing to the ROM, Therefore, the power consumption of the implanted device 200 in the body is reduced; through coordination and decomposition in vivo and in vitro, the in vivo data storage tasks and computing tasks are transferred to the in vitro control computing device 100, and the in vivo processor 201 is controlled by the in vitro control computing device 100 Therefore, the program flow of the in-vivo processor 201 is controlled, the function of the in-vivo processor 201 is limited to a minimum, and the volume and power consumption of the in-vivo implanted device 200 are further reduced on the premise of ensuring the overall function and performance of the system. .
可理解的是,在读取子程序时,可仅由体内状态机确定,也可由体内状态机及体外控制信息联合确定;It is understandable that, when reading the subroutine, it can be determined only by the in-vivo state machine, or it can be determined jointly by the in-vivo state machine and the in-vitro control information;
在由体内状态机及体外控制信息联合确定时,本实施方式中,所述体内处理器201,还用于接收体外控制计算设备100发送的体外控制信息,根据体内状态机及体外控制信息从所述只读存储器中读取运行时所需的各子程序,所述体外控制信息由所述体内状态信息和/或体外的计算结果和/或系统需求(例如:体外需要体内由治疗模式1转换为治疗模式2)确定,可以理解的是,体内处理器201通常是接收到上一次的体外控制信息,再通过该体外控制信息确定子程序,再由体外控制计算设备根据体内状态信息和/或体外的计算结果确定下一次的体外控制信息,或由体外控制计算设备根据系统需求,直接确定下一次的体外控制信息。When it is jointly determined by the in-vivo state machine and the in-vitro control information, in this embodiment, the in-vivo processor 201 is further configured to receive the in-vitro control information sent by the in-vitro control computing device 100, Each subroutine required for running is read in the read-only memory, and the in vitro control information is converted from the in vivo state information and/or the in vitro calculation results and/or system requirements (for example: in vitro needs to be converted from treatment mode 1 in vivo) For the determination of treatment mode 2), it can be understood that the in vivo processor 201 usually receives the last in vitro control information, and then determines the subroutine through the in vitro control information, and then the in vitro control computing device according to the in vivo state information and/or The in vitro calculation result determines the next in vitro control information, or the in vitro control computing device directly determines the next in vitro control information according to system requirements.
在具体实现中,为了调整所述体内处理器内部的电路连接关系或数据格式(例如:原本数据格式为16位数据,重构后为32位),相应地,所述体内处理器,还用于接收所述体外控制计算设备发送的重构指令,并根据所述重构指令改变相应的配置(如改变数据格式等),所述重构指令由所述体外控制计算设备根据系统需求确定。In a specific implementation, in order to adjust the circuit connection relationship or data format inside the in-vivo processor (for example, the original data format is 16-bit data, and the reconstructed data is 32-bit), correspondingly, the in-vivo processor also uses It is to receive the reconstruction instruction sent by the in vitro control computing device, and change the corresponding configuration (eg, change the data format, etc.) according to the reconstruction instruction, and the reconstruction instruction is determined by the in vitro control computing device according to system requirements.
在实际应用中,上述只读存储器优选为不可重写ROM存储器,可以理解的是其它不可重写的具有相应功能的存储器也应落入本发明的保护范围;体内处理器201中所有的程序存储和只读数据存储都是流片时设计的固有子程序和数据,由不可重写ROM(硬连线)构成。数据暂存器由寄存器或RAM构成,其中存储的数据掉电后无法保存。体内处理器201不存在可重写ROM,不需要进行程序装载。In practical applications, the above-mentioned read-only memory is preferably a non-rewritable ROM memory, and it can be understood that other non-rewritable memories with corresponding functions should also fall within the protection scope of the present invention; all program storage in the in-body processor 201 and read-only data storage are inherent subroutines and data designed at the time of tape-out, and consist of non-rewritable ROM (hard-wired). The data scratchpad consists of registers or RAM, and the data stored in it cannot be saved after a power failure. There is no rewritable ROM in the in-body processor 201, and no program loading is required.
在具体实施时,上述体外控制计算设备100可以包括图中未示出的体内处理器,体外控制计算设备100通过该体内处理器实现对体内植入设备200的程序调入,上述体内处理器201优选为MCU(Micro Control Unit,微控制单元)处理器。In a specific implementation, the above-mentioned in vitro control computing device 100 may include an in vivo processor not shown in the figure, through which the in vitro control computing device 100 realizes program transfer to the in vivo implant device 200, and the above in vivo processor 201 It is preferably an MCU (Micro Control Unit, Micro Control Unit) processor.
进一步地,为避免指令接收超时情况,所述体内处理器201还用于,在预设的时间内没有接收到所述体外控制设备100发送的控制指令时,进入超时状态,执行超时处理子程序。Further, in order to avoid the overtime situation of instruction reception, the in-body processor 201 is further configured to, when the control instruction sent by the in-vitro control device 100 is not received within a preset time, enter a timeout state, and execute a timeout processing subroutine. .
上述体内处理器201的运行状态由体内状态机(即程序计数器)控制,图2为体内状态机的运行流程示意图,具体流程如下:The operating state of the above-mentioned in-vivo processor 201 is controlled by an in-vivo state machine (ie, a program counter). FIG. 2 is a schematic diagram of the operation flow of the in-vivo state machine.
体内处理器201在上电后自动进入上电复位状态,保证程序开始在一个确定的位置。向体外控制计算设备100发送体内状态信息后,进入通信程序,等待下一个子程序的起始点,此时体内处理器201进入等待接收状态。The in-vivo processor 201 automatically enters a power-on reset state after power-on, ensuring that the program starts at a certain position. After sending the in-vivo state information to the in vitro control computing device 100, enter the communication program, wait for the starting point of the next subroutine, and at this time the in-vivo processor 201 enters the waiting state for receiving.
体外控制计算设备100通过向体内处理器201发送控制指令来控制下一个子程序起始点,从而控制体内处理器201下一步的程序功能。The in vitro control computing device 100 controls the starting point of the next subroutine by sending a control instruction to the in vivo processor 201 , so as to control the next program function of the in vivo processor 201 .
体内处理器201执行完任何一个体外要求的特定功能后,都自动跳转到通信控制程序,先发送体内状态信息,并接收体外控制计算设备100发送的下一个子程序的起始点。在等待接收体外发送的下一个子程序的起始点时,体内处理器201处于等待接收状态。After executing any specific function required in vitro, the in-vivo processor 201 automatically jumps to the communication control program, first sends the in-vivo state information, and receives the starting point of the next subroutine sent by the in-vitro control computing device 100 . When waiting to receive the starting point of the next subroutine sent in vitro, the in vivo processor 201 is in a state of waiting for reception.
当体内处理器201在等待接收状态时,如果一段确定的时间内没有接受到体外的指令,则体内处理器201进入超时状态,由体内状态机控制体内执行相应的功能。When the in-vivo processor 201 is in the waiting state, if no external instruction is received within a certain period of time, the in-vivo processor 201 enters a timeout state, and the in-vivo state machine controls the in-vivo to execute corresponding functions.
相应地,图3是本发明实施方式提供的体外控制计算设备的运行流程示意图。Correspondingly, FIG. 3 is a schematic diagram of an operation flow of an in vitro control computing device provided by an embodiment of the present invention.
应当说明的是,本实施方式提供的体内处理器201的最小完备集(即体内处理器201最少需要包括的功能)包括:(1)通过体内状态机实现程序控制功能;(2)采用通信信道和通信协议进行无线数据传输;(3)控制体内传感器203采集体内状态参数和控制体内驱动器进行驱动或驱动控制。It should be noted that the minimum complete set of the in-body processor 201 provided by this embodiment (that is, the minimum functions that the in-body processor 201 needs to include) includes: (1) implementing program control functions through an in-body state machine; (2) using a communication channel and communication protocol for wireless data transmission; (3) control the in-vivo sensor 203 to collect in-vivo state parameters and control the in-vivo driver to drive or control the drive.
除上述最小完备集包括的功能外,该体内处理器201还可以包括图中未示出的体内电源管理模块,用于管理体内能量接收器206提供的电能,例如检测体内植入设备200的电压,只有保证该电压达到预设的阈值才能保证体内植入设备200的正常工作;若体内处理器201不包括体内电源管理模块,则可以通过体内处理器201实现该功能。In addition to the functions included in the above-mentioned minimum complete set, the in-vivo processor 201 may also include an in-vivo power management module not shown in the figure, for managing the power provided by the in-vivo energy receiver 206 , for example, detecting the voltage of the in-vivo implanted device 200 , the normal operation of the in-vivo implanted device 200 can be ensured only if the voltage reaches a preset threshold; if the in-vivo processor 201 does not include an in-vivo power management module, the in-vivo processor 201 can implement this function.
优选地,所述体外控制计算设备100还可以用于,在所述体外控制计算设备100发现所述体内植入设备200出现错误或者无法判断所述体内植入设备200的运行状态时,进行断电处理。Preferably, the extracorporeal control computing device 100 can also be used to perform a shutdown when the extracorporeal control computing device 100 finds that an error occurs in the in vivo implanted device 200 or cannot determine the operating state of the in vivo implanted device 200 electrical processing.
可以理解的是,体外控制计算设备100进行断电处理后,没有内置电池的体内植入设备200失去电源,所有状态自然消失,重新上电后回到设备的起始状态(即上电复位状态)。It can be understood that, after the external control computing device 100 is powered off, the implanted device 200 in the body without built-in battery loses power, and all states disappear naturally. ).
优选地,所述体内植入设备200还包括体内通信模块202、体内传感器203以及体内驱动器204;Preferably, the in-vivo implant device 200 further includes an in-vivo communication module 202, an in-vivo sensor 203 and an in-vivo driver 204;
所述体内处理器201通过所述体内通信模块202与所述体外控制计算设备100进行通信;The in vivo processor 201 communicates with the in vitro control computing device 100 through the in vivo communication module 202;
所述体内处理器201,作为系统状态机对所述体内植入设备200实施总体控制;The in-vivo processor 201, as a system state machine, implements overall control of the in-vivo implant device 200;
所述体内处理器201,还用于向所述体内传感器203发送采集指令;The in-vivo processor 201 is further configured to send a collection instruction to the in-vivo sensor 203;
所述体内传感器203,用于根据所述体内处理器201发送的采集指令采集体内状态参数,并将采集到的状态参数发送至所述体内处理器201;The in-vivo sensor 203 is configured to collect in-vivo state parameters according to the acquisition instruction sent by the in-vivo processor 201, and send the collected state parameters to the in-vivo processor 201;
所述体内处理器203,用于控制所述体内通信模块202并执行通信控制协议;The in-vivo processor 203 is used to control the in-vivo communication module 202 and execute a communication control protocol;
所述体内处理器201,还用于向所述体内驱动器204发出驱动指令;The in-vivo processor 201 is further configured to issue driving instructions to the in-vivo driver 204;
所述体内驱动器204,用于根据所述体内处理器201发送的驱动指令进行驱动或驱动控制。The in-vivo driver 204 is used for driving or driving control according to the driving instruction sent by the in-vivo processor 201 .
这样的好处是,通过设置体内通信模块202完成数据的发送和接收过程,相应的,在体外控制设备100中也设置有图中未示出的体外通信模块,体内通信模块202和体外通信模块通过通信信道和通信协议完成数据传输,通信信道和通信协议保证了体外控制计算设备100和体内植入设备200之间有效地传输数据。The advantage of this is that the process of sending and receiving data is completed by setting the in-vivo communication module 202. Correspondingly, the in-vitro control device 100 is also provided with an in-vitro communication module not shown in the figure. The in-vivo communication module 202 and the in-vitro communication module pass through The communication channel and the communication protocol complete the data transmission, and the communication channel and the communication protocol ensure the effective transmission of data between the external control computing device 100 and the internal implant device 200 .
在具体实施时,上述治疗模块可以用于流体搬移或神经电刺激等。In a specific implementation, the above-mentioned treatment module can be used for fluid transfer or electrical nerve stimulation.
进一步地,所述体内植入设备200还包括体内无线无接触能量接收器206;Further, the in-vivo implant device 200 further includes an in-vivo wireless non-contact energy receiver 206;
所述体外控制计算设备100,还用于向所述体内能量接收器206发送供电能量信号,实现对体内植入设备200供电;The in vitro control computing device 100 is further configured to send a power supply energy signal to the in vivo energy receiver 206, so as to supply power to the in vivo implant device 200;
所述体内无线无接触能量接收器206,用于接收所述体外供电模块发送的供电能量信号,并向所述体内处理器201供电;The in vivo wireless non-contact energy receiver 206 is used to receive the power supply energy signal sent by the in vitro power supply module, and supply power to the in vivo processor 201;
所述体内处理器201,用于控制所述体内无线无接触能量接收器206并执行电能控制协议。The in-vivo processor 201 is configured to control the in-vivo wireless contactless energy receiver 206 and execute a power control protocol.
这样的好处是,通过体外控制计算设备100进行体外无线供电,无需在体内植入设备200设置电池等供电器件,进一步减小了体内植入设备200的体积和功耗。The advantage of this is that, by controlling the computing device 100 in vitro for wireless power supply outside the body, there is no need to set power supply devices such as batteries in the implanted device 200 in vivo, which further reduces the volume and power consumption of the implanted device 200 in the body.
在具体实施时,可以通过设置体外供电模块向体内供电,该体外供电模块可以采用线圈通过发射耦合磁能,相应的体内能量接收模块206通过采用线圈接收体外供电模块发送的耦合磁能。In specific implementation, an external power supply module can be provided to supply power to the body, the external power supply module can transmit coupled magnetic energy by using a coil, and the corresponding in vivo energy receiving module 206 can receive the coupled magnetic energy sent by the external power supply module by using a coil.
本实施方式提供的植入式系统通过体外控制计算设备100控制体内处理器201的程序调用,从而控制体内处理器201的程序流,将体内处理器201的功能限制到最小,实现了对体外控制设备100的最大化利用,通过体外控制计算设备100和体内植入设备200的协调工作进一步减小了体内植入设备200的功耗。The implantable system provided by this embodiment controls the program calling of the in-vivo processor 201 by controlling the computing device 100 in vitro, thereby controlling the program flow of the in-vivo processor 201, limiting the function of the in-vivo processor 201 to a minimum, and realizing the control of the in-vivo processor 201. The maximum utilization of the device 100 further reduces the power consumption of the in vivo implant device 200 through the coordinated work of the external control computing device 100 and the in vivo implant device 200 .
图4是本发明实施方式提供的体内外协调方法流程图;参照图4,所述方法包括:FIG. 4 is a flowchart of an in-vivo coordination method provided by an embodiment of the present invention; with reference to FIG. 4 , the method includes:
体内处理器根据体内状态机从生产过程中固化程序的只读存储器中读取运行时所需的各子程序;The in-vivo processor reads the subroutines required for runtime from the read-only memory of the firmware in the production process according to the in-vivo state machine;
所述体内处理器根据读取的子程序向体外控制计算设备发送体内状态信息、计算需求和/或存储需求,以使所述体外控制计算设备根据所述体内状态信息、计算需求和/或存储需求进行相应地分析、计算和存储处理。The in-vivo processor sends in-vivo state information, calculation requirements and/or storage requirements to the in-vivo control computing device according to the read subroutine, so that the in-vitro control computing device can control the in-vivo state information, calculation requirements and/or storage requirements according to the in-vivo state information, calculation requirements and/or storage requirements. The requirements are analyzed, calculated and stored accordingly.
优选地,所述体内处理器根据体内状态机从只读存储器中读取运行时所需的各子程序之前,所述方法还包括:Preferably, before the in-vivo processor reads each subroutine required for runtime from the read-only memory according to the in-vivo state machine, the method further includes:
体内处理器接收体外控制计算设备发送的体外控制信息;The in-vivo processor receives the in-vitro control information sent by the in-vitro control computing device;
相应地,所述体内处理器根据体内状态机从只读存储器中读取相应运行时所需的各子程序,进一步包括:Correspondingly, the in-vivo processor reads each subroutine required by the corresponding runtime from the read-only memory according to the in-vivo state machine, further comprising:
根据体内状态机及体外控制信息从所述只读存储器中读取运行时所需的各子程序,所述体外控制信息由所述体外控制计算设备根据所述体内状态信息和/或体外的计算结果和/或系统需求确定。Each subprogram required for runtime is read from the read-only memory according to the in vivo state machine and the in vitro control information, the in vitro control information is calculated by the in vitro control computing device according to the in vivo state information and/or the in vitro calculation Results and/or system requirements are determined.
优选地,所述方法还包括:Preferably, the method further includes:
所述体内处理器接收所述体外控制计算设备发送的重构指令,并根据所述重构指令改变相应的配置(如改变数据格式等),所述重构指令由所述体外控制计算设备根据系统需求确定。The in-vivo processor receives the reconfiguration instruction sent by the in vitro control computing device, and changes the corresponding configuration (such as changing the data format, etc.) according to the reconfiguration instruction, and the reconfiguration instruction is executed by the in vitro control computing device according to the System requirements are determined.
优选地,所述方法还包括:Preferably, the method further includes:
所述体内处理器向所述体内传感器发送采集指令;The in-vivo processor sends an acquisition instruction to the in-vivo sensor;
所述体内传感器根据所述体内处理器发送的采集指令采集体内状态参数,并将采集到的状态参数发送至所述体内处理器;The in-vivo sensor collects in-vivo state parameters according to the acquisition instruction sent by the in-vivo processor, and sends the collected state parameters to the in-vivo processor;
所述体内处理器向所述体内驱动器发出驱动指令;The in-vivo processor sends a driving instruction to the in-vivo driver;
所述体内驱动器根据所述体内处理器发送的驱动指令进行驱动或驱动控制;The in-vivo driver performs driving or driving control according to the driving instruction sent by the in-vivo processor;
其中,由所述体内处理器作为系统状态机对所述体内植入设备实施总体控制,由所述体内处理器控制所述体内通信模块并执行通信控制协议。Wherein, the in-vivo processor is used as a system state machine to implement overall control of the in-vivo implanted device, and the in-vivo processor controls the in-vivo communication module and executes a communication control protocol.
优选地,所述方法还包括:Preferably, the method further includes:
体内能量接收器通过耦合接收所述体外控制计算设备发送的供电能量,并向所述体内处理器供电;The in vivo energy receiver receives the power supply energy sent by the in vitro control computing device through coupling, and supplies power to the in vivo processor;
其中,由所述体内处理器控制所述体内无线无接触能量接收器并执行电能控制协议。Wherein, the in-vivo wireless non-contact energy receiver is controlled by the in-body processor and a power control protocol is executed.
以上实施方式仅用于说明本发明,而并非对本发明的限制,有关技术领域的普通技术人员,在不脱离本发明的精神和范围的情况下,还可以做出各种变化和变型,因此所有等同的技术方案也属于本发明的范畴,本发明的专利保护范围应由权利要求限定。The above embodiments are only used to illustrate the present invention, but not to limit the present invention. Those of ordinary skill in the relevant technical field can also make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, all Equivalent technical solutions also belong to the scope of the present invention, and the patent protection scope of the present invention should be defined by the claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610340590.1ACN106055391B (en) | 2016-05-19 | 2016-05-19 | An in vivo processor and method for coordinating the same |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610340590.1ACN106055391B (en) | 2016-05-19 | 2016-05-19 | An in vivo processor and method for coordinating the same |
| Publication Number | Publication Date |
|---|---|
| CN106055391A CN106055391A (en) | 2016-10-26 |
| CN106055391Btrue CN106055391B (en) | 2019-07-19 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610340590.1AExpired - Fee RelatedCN106055391B (en) | 2016-05-19 | 2016-05-19 | An in vivo processor and method for coordinating the same |
| Country | Link |
|---|---|
| CN (1) | CN106055391B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101810473A (en)* | 2009-02-25 | 2010-08-25 | 张希华 | Ultra-micro power consumption implanted wireless remote-measuring system |
| CN101896224A (en)* | 2007-10-16 | 2010-11-24 | 米卢克斯控股股份有限公司 | Method and device for supplying energy to medical equipment |
| CN104254300A (en)* | 2012-02-21 | 2014-12-31 | 优罗曼姆斯公司 | System for controlling an implantable device on the basis of commands issued by a user |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101896224A (en)* | 2007-10-16 | 2010-11-24 | 米卢克斯控股股份有限公司 | Method and device for supplying energy to medical equipment |
| CN101810473A (en)* | 2009-02-25 | 2010-08-25 | 张希华 | Ultra-micro power consumption implanted wireless remote-measuring system |
| CN104254300A (en)* | 2012-02-21 | 2014-12-31 | 优罗曼姆斯公司 | System for controlling an implantable device on the basis of commands issued by a user |
| Publication number | Publication date |
|---|---|
| CN106055391A (en) | 2016-10-26 |
| Publication | Publication Date | Title |
|---|---|---|
| US9427592B2 (en) | Systems and methods for low energy wake-up and pairing for use with implantable medical devices | |
| US9232485B2 (en) | System and method for selectively communicating with an implantable medical device | |
| US20160302692A1 (en) | Systems, devices, methods, and computer-readable storage facilitating locating an implantable medical device within a body | |
| CN101385890B (en) | Patient Controllers for Implantable Medical Devices | |
| CN104147698A (en) | Low-power-consumption implantation type medical system and method for lowering operation power consumption of medical system | |
| CN100386729C (en) | Program-controlled device and method capable of updating internal firmware of cardiac pacemaker | |
| CN102179003B (en) | Implantable medical device | |
| KR20140084743A (en) | Implantable UHF RFID tag device with a wireless charging function | |
| CN105486951A (en) | A portable battery management system diagnostic instrument and its working method | |
| CN106055391B (en) | An in vivo processor and method for coordinating the same | |
| CN205333750U (en) | A portable battery management system diagnostic instrument | |
| CN208080640U (en) | A kind of intelligence magnetic therapy shoe | |
| CN216497030U (en) | External energy controller of nerve stimulation system | |
| CN204698548U (en) | Portable cardiac monitor system | |
| CN201629609U (en) | Artificial Ventricle Wireless Power Supply System | |
| CN112604160B (en) | Method and system for solving channel interference of in vitro programmer | |
| CN106805932A (en) | A kind of micro radio endoscopic images reception system | |
| CN203634640U (en) | Medical implant device and system thereof | |
| CN215871512U (en) | Cell-phone protective housing with sweat detects function | |
| CN204734479U (en) | Wearable sleep information acquisition device of wireless low -power consumption | |
| CN204306799U (en) | A kind of electromagnetic type magnetic susceptibility answers the system of feedback information | |
| CN207164069U (en) | A kind of blood glucose meter | |
| CN221460402U (en) | Cell electric stimulator | |
| CN204543141U (en) | Insulin syringe system | |
| CN102694858B (en) | A kind of communication system for controlling implantable medical devices and method |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20190719 Termination date:20210519 |