植入式神经刺激疗法,是一种用于治疗重症的帕金森病等运动障碍疾病,以及癫痫、顽固性疼痛,急迫性尿失禁等疾病的电刺激疗法。这种疗法克服了传统药物治疗带来的药效下降、出现不良反应等缺点,避免了毁损手术治疗的风险。植入式神经刺激器系统包括植入患者体内的脉冲发生器和体外程控、充电平台。随着植入式神经刺激器的种类、疗法、功能多样化,现有的体外程控、充电平台由于硬件平台的制约,导致功能的修改、扩充受到限制,已经无法满足临床需求,因此,本文提出了一种基于嵌入式实时系统的新型植入式神经刺激器体外充电控制平台。本文以北京品驰医疗设备有限公司生产的R801型体外无线充电器和C701型患者控制器为基础,在消化吸收现有两款产品功能的基础上,研发新型的植入式神经刺激器体外充电控制平台。新平台遵循手持便携设备的发展趋势,一改传统体外控制器使用物理按键进行操作的方式,集控制和充电功能于一体,从根本上解决了多种疗法难以兼容、复杂功能难以实现的弊端,同时大大提高了用户的使用体验。本文根据平台的具体软硬件需求以及开发人员实际情况等因素,详细介绍了硬件平台(包括微控制器、显示方案、存储方案)和软件平台(嵌入式实时操作系统)的选择和配置。接着,本文采用MSP432微控制器和μC/OS-III系统,进行了新平台在多任务环境下的硬件驱动程序开发,构建了一种轻量化的图形用户界面,并在此基础上,实现了对体内刺激器的通信控制,无线充电,数据记录等功能。经过实际运行测试,新平台运行流畅,功能完整,硬件性能得到了提升,用户体验大大增强。整个系统在保证正常工作功耗没有增加的同时,待机功耗较原有产品降低了72%。本文最后对全部工作进行了总结,并对产品的未来发展做出了展望。
The implantable neuro-stimulation is a kind of therapy which is used for epilepsia, intractable pain, urge urinary incontinence (UUI) and some kinds of dyscinesia disease like severe Parkinson's disease. This type of treatment has overcame the drawbacks such as the decreased efficacy and the adverse reactions of traditional medication therapies, and also the risks of mutilation surgery are avoided. The implantable neuro-stimulator system consists of the internal pulse generator and the external charging and proramming platform. Because of the constraints of the hardware platform and with the diversification of the stimulator categories, the treatments and the functions of the implantable neuro-stimulator, the function’s modification and enhancement of the existed external charging and programming platform has been limited and it cannot meet the clinical needs. Therefore, a new type of implantable neuro-stimulator’s external charging and programming platform based on the real-time operating system(RTOS) is proposed.The new platform is based on Beijing PINS-Medical Co. Ltd’s products: R801 external wireless charger and C701 patient controller. On adoption of above two products, we develop the new type implantable neuro-stimulator’s external charging and programming platform. Our new platform follows the tendency of the handheld portable device and changes the traditional external controller’s operating mode like physical-buttons. It integrates the charging and programming function and solve other kinds of therapies’ drawbacks completely such as the incompatibility of the complex function. Meanwhile, the new platform extremely improves the user experience.According to the platform’s specific software and hardware requirements and the actual conditions of the developer, we introduce the selection and configuration of the hardware platform(the MCU, the display solutions and the memory solutions) and the software platform(the embedded RTOS). Then, we use MSP432 micro-controller and the μc/OS-III system to develop the new platform’s hardware drivers and establish a lightweight graphic user interface. On the basis of above, we accomplish the communication control for the internal stimulator, the wireless charging, the data recording function and so on.The actual running tests demonstrate that our new platform is running smoothly with the complete functions, the performance of the hardware is improved and the user experience is extremely enhanced. The whole system keep the power consumption in normal working mode does not rise, meanwhile the standby power consumption decrease dramatically by about 72%. At the end of paper, we sum up our work and look forward to the future development of the products.