CN106080739A - The controller that a kind of diabetes patient of auxiliary drives - Google Patents
The controller that a kind of diabetes patient of auxiliary drives Download PDFInfo
- Publication number
- CN106080739A CN106080739A CN201610446424.XA CN201610446424A CN106080739A CN 106080739 A CN106080739 A CN 106080739A CN 201610446424 A CN201610446424 A CN 201610446424A CN 106080739 A CN106080739 A CN 106080739A
- Authority
- CN
- China
- Prior art keywords
- chromosome
- driver
- blood sugar
- drive circuit
- processor unit
- 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.)
- Pending
Links
- 206010012601 diabetes mellitus Diseases 0.000 title claims description 14
- 239000008280 blood Substances 0.000 claims abstract description 73
- 210000004369 blood Anatomy 0.000 claims abstract description 73
- 238000000034 method Methods 0.000 claims abstract description 10
- 210000000349 chromosome Anatomy 0.000 claims description 64
- WQZGKKKJIJFFOK-GASJEMHNSA-N Glucose Natural products OC[C@H]1OC(O)[C@H](O)[C@@H](O)[C@@H]1O WQZGKKKJIJFFOK-GASJEMHNSA-N 0.000 claims description 32
- 239000008103 glucose Substances 0.000 claims description 32
- 230000014509 gene expression Effects 0.000 claims description 16
- 238000013178 mathematical model Methods 0.000 claims description 16
- 108090000623 proteins and genes Proteins 0.000 claims description 12
- 230000035772 mutation Effects 0.000 claims description 7
- 238000001514 detection method Methods 0.000 claims description 6
- 239000004973 liquid crystal related substance Substances 0.000 claims description 5
- 230000008859 change Effects 0.000 claims description 4
- FGUUSXIOTUKUDN-IBGZPJMESA-N C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 Chemical compound C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 FGUUSXIOTUKUDN-IBGZPJMESA-N 0.000 claims description 3
- GNFTZDOKVXKIBK-UHFFFAOYSA-N 3-(2-methoxyethoxy)benzohydrazide Chemical compound COCCOC1=CC=CC(C(=O)NN)=C1 GNFTZDOKVXKIBK-UHFFFAOYSA-N 0.000 claims description 2
- 210000004027 cell Anatomy 0.000 claims 3
- 239000000203 mixture Substances 0.000 claims 1
- 238000006467 substitution reaction Methods 0.000 claims 1
- 206010039203 Road traffic accident Diseases 0.000 abstract description 4
- 230000008569 process Effects 0.000 abstract description 3
- 238000004364 calculation method Methods 0.000 description 7
- NOESYZHRGYRDHS-UHFFFAOYSA-N insulin Chemical compound N1C(=O)C(NC(=O)C(CCC(N)=O)NC(=O)C(CCC(O)=O)NC(=O)C(C(C)C)NC(=O)C(NC(=O)CN)C(C)CC)CSSCC(C(NC(CO)C(=O)NC(CC(C)C)C(=O)NC(CC=2C=CC(O)=CC=2)C(=O)NC(CCC(N)=O)C(=O)NC(CC(C)C)C(=O)NC(CCC(O)=O)C(=O)NC(CC(N)=O)C(=O)NC(CC=2C=CC(O)=CC=2)C(=O)NC(CSSCC(NC(=O)C(C(C)C)NC(=O)C(CC(C)C)NC(=O)C(CC=2C=CC(O)=CC=2)NC(=O)C(CC(C)C)NC(=O)C(C)NC(=O)C(CCC(O)=O)NC(=O)C(C(C)C)NC(=O)C(CC(C)C)NC(=O)C(CC=2NC=NC=2)NC(=O)C(CO)NC(=O)CNC2=O)C(=O)NCC(=O)NC(CCC(O)=O)C(=O)NC(CCCNC(N)=N)C(=O)NCC(=O)NC(CC=3C=CC=CC=3)C(=O)NC(CC=3C=CC=CC=3)C(=O)NC(CC=3C=CC(O)=CC=3)C(=O)NC(C(C)O)C(=O)N3C(CCC3)C(=O)NC(CCCCN)C(=O)NC(C)C(O)=O)C(=O)NC(CC(N)=O)C(O)=O)=O)NC(=O)C(C(C)CC)NC(=O)C(CO)NC(=O)C(C(C)O)NC(=O)C1CSSCC2NC(=O)C(CC(C)C)NC(=O)C(NC(=O)C(CCC(N)=O)NC(=O)C(CC(N)=O)NC(=O)C(NC(=O)C(N)CC=1C=CC=CC=1)C(C)C)CC1=CN=CN1 NOESYZHRGYRDHS-UHFFFAOYSA-N 0.000 description 6
- 230000002068 genetic effect Effects 0.000 description 5
- 102000004877 Insulin Human genes 0.000 description 3
- 108090001061 Insulin Proteins 0.000 description 3
- 229940125396 insulin Drugs 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 208000002249 Diabetes Complications Diseases 0.000 description 2
- 230000006378 damage Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000036541 health Effects 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 208000017667 Chronic Disease Diseases 0.000 description 1
- 206010012655 Diabetic complications Diseases 0.000 description 1
- 206010018429 Glucose tolerance impaired Diseases 0.000 description 1
- 208000001280 Prediabetic State Diseases 0.000 description 1
- 206010067584 Type 1 diabetes mellitus Diseases 0.000 description 1
- 208000027418 Wounds and injury Diseases 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 210000001726 chromosome structure Anatomy 0.000 description 1
- 201000010099 disease Diseases 0.000 description 1
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 1
- 208000014674 injury Diseases 0.000 description 1
- 208000030159 metabolic disease Diseases 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 235000016709 nutrition Nutrition 0.000 description 1
- 230000035764 nutrition Effects 0.000 description 1
- 208000030212 nutrition disease Diseases 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 201000009104 prediabetes syndrome Diseases 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000005180 public health Effects 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B62—LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
- B62D—MOTOR VEHICLES; TRAILERS
- B62D1/00—Steering controls, i.e. means for initiating a change of direction of the vehicle
- B62D1/02—Steering controls, i.e. means for initiating a change of direction of the vehicle vehicle-mounted
- B62D1/04—Hand wheels
- B62D1/06—Rims, e.g. with heating means; Rim covers
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H50/00—ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
- G16H50/50—ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for simulation or modelling of medical disorders
Landscapes
- Engineering & Computer Science (AREA)
- Medical Informatics (AREA)
- Health & Medical Sciences (AREA)
- Public Health (AREA)
- Epidemiology (AREA)
- Databases & Information Systems (AREA)
- Pathology (AREA)
- Data Mining & Analysis (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Transportation (AREA)
- Mechanical Engineering (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
Abstract
本发明公开了一种辅助糖尿病人驾驶的控制器,属于信号处理技术领域,其包括给定单元、处理器单元、显示单元、第一驱动电路和和第二驱动电路,其特征在于:给定单元为处理器单元输入驾驶员把持方向盘的握力c和血糖浓度预警范围;显示单元显示处理器单元的工作状态;处理器单元分别控制连接第一驱动电路和第二驱动电路;处理器根据驾驶员把持方向盘的握力、指尖温度和血糖浓度预警范围发出控制信号。采用此控制器能够使驾驶员的血糖浓度维持在血糖浓度预警范围内,从而避免驾驶员在驾驶的过程中由于血糖问题引发不适,减少交通事故的发生。
The invention discloses a controller for assisting diabetics in driving, belonging to the technical field of signal processing, which includes a given unit, a processor unit, a display unit, a first drive circuit and a second drive circuit, and is characterized in that: the given unit Element is input driver's grip c of steering wheel and blood sugar concentration warning range for processor unit; Display unit shows the working condition of processor unit; Processor unit controls and connects first driving circuit and second driving circuit respectively; The grip strength of the steering wheel, fingertip temperature and blood sugar concentration warning range send out control signals. Adopting this controller can keep the blood sugar concentration of the driver within the early warning range of the blood sugar concentration, thereby avoiding discomfort caused by the blood sugar problem during the driving process of the driver and reducing the occurrence of traffic accidents.
Description
技术领域technical field
本发明属于信号处理方法与装置技术领域,具体涉及一种辅助糖尿病人驾驶的控制器。The invention belongs to the technical field of signal processing methods and devices, and in particular relates to a controller for assisting diabetics in driving.
背景技术Background technique
随着人们生活节奏不断加快,工作等压力愈来愈大,糖尿病等代谢性疾病也快速增多,已成为威胁群众生命健康的公共卫生问题。自1980年第一次流行病学调查至今,我国糖尿病患病率从不足1%增至11.6%,总人数超过9200万,糖尿病前期患病率更是高达50.1%。而《中国居民营养与慢性病状况报告(2015年)》显示我国18岁以上居民糖尿病知晓率仅为36.1%,治疗率为33.4%。As people's pace of life continues to accelerate, work and other pressures are increasing, and metabolic diseases such as diabetes are also increasing rapidly, which has become a public health problem that threatens the lives and health of the people. Since the first epidemiological survey in 1980, the prevalence of diabetes in my country has increased from less than 1% to 11.6%, with a total of more than 92 million people, and the prevalence of prediabetes is as high as 50.1%. The "Report on Nutrition and Chronic Diseases of Chinese Residents (2015)" shows that the awareness rate of diabetes among residents over the age of 18 in my country is only 36.1%, and the treatment rate is 33.4%.
相关文献普遍认为,与正常驾驶员相比,患有糖尿病的驾驶员发生交通事故的风险增加12%~19%。另有数据显示。1型糖尿病驾驶员发生交通事故的风险是正常驾驶员的两倍还要多。因此,对这类人群驾驶过程中血糖进行实时监测,并合理进行调控,对于减少此类交通隐患具有重大意义。Related literature generally believes that compared with normal drivers, the risk of traffic accidents for drivers with diabetes increases by 12% to 19%. Other data are shown. Drivers with type 1 diabetes are more than twice as likely to be involved in an accident as non-drivers. Therefore, it is of great significance to reduce such traffic hazards by real-time monitoring and reasonable regulation of blood sugar in the driving process of such people.
现有的辅助驾驶系统主要是通过控制车身稳定性或在极端情况下代替驾驶员进行一些操作等(刹车、巡航等),此驾驶系统虽然可以在一定程度上避免糖尿病人群由于丧失判断力而对周围车辆和人群造成伤害,但不能解除糖尿病并发症对驾驶员自身的危害。因此,开发一种辅助糖尿病人驾驶的控制器,在确保糖尿病人自身健康不受损害的前提下,确保道路交通安全,更具有现实意义。The existing assisted driving system mainly controls the stability of the vehicle body or performs some operations (braking, cruise, etc.) instead of the driver in extreme cases. The surrounding vehicles and crowds cause injuries, but the hazards of diabetes complications to the driver cannot be removed. Therefore, it is more practical to develop a controller that assists diabetics to drive to ensure road traffic safety without compromising their own health.
发明内容Contents of the invention
本发明所要解决的技术问题是提供一种辅助糖尿病人驾驶的控制器,能够根据驾驶员的指温信息输出能调节其血糖浓度的控制信号。The technical problem to be solved by the present invention is to provide a controller for assisting diabetics in driving, which can output a control signal capable of adjusting the blood sugar concentration of the driver according to the finger temperature information of the driver.
为解决上述技术问题,本发明的技术方案是:发明一种辅助糖尿病人驾驶的控制器,包括给定单元、处理器单元、显示单元、第一驱动电路和第二驱动电路,其特征在于:给定单元为处理器单元设定血糖浓度预警范围;显示单元显示处理器单元的工作信息;处理器单元分别控制连接第一驱动电路和第二驱动电路;In order to solve the above-mentioned technical problems, the technical solution of the present invention is: to invent a controller for assisting diabetics to drive, including a given unit, a processor unit, a display unit, a first drive circuit and a second drive circuit, characterized in that: The given unit sets the blood sugar concentration warning range for the processor unit; the display unit displays the working information of the processor unit; the processor unit controls and connects the first drive circuit and the second drive circuit respectively;
所述处理器单元的工作步骤为:The working steps of the processor unit are:
(1)读取血糖浓度预警范围;(1) Read the blood sugar concentration warning range;
(2)实时同时读取驾驶员的指尖温度x和检测指尖所在手掌把持方向盘的握力c;(2) Simultaneously read the driver's fingertip temperature x and detect the grip c of the palm where the fingertip is holding the steering wheel in real time;
(3)将驾驶员把持方向盘的握力c和指尖温度x代入由基因编程方法确立的数学模型中,计算出驾驶员的血糖浓度值y;(3) Substitute the driver's grip c of the steering wheel and fingertip temperature x into the mathematical model established by the genetic programming method to calculate the driver's blood glucose concentration value y;
(4)判断y是否在步骤(1)的血糖浓度范围内,如果y在血糖浓度预警范围内,则无控制信号输出;如果y高于血糖浓度预警范围的上限值,则输出控制信号驱动第一驱动电路;如果y低于血糖浓度预警范围的下限值,则输出控制信号驱动第二驱动电路;(4) Judging whether y is within the blood sugar concentration range of step (1), if y is within the blood sugar concentration early warning range, no control signal is output; if y is higher than the upper limit of the blood sugar concentration early warning range, the output control signal is driven The first drive circuit; if y is lower than the lower limit value of the blood sugar concentration warning range, output a control signal to drive the second drive circuit;
(5)重复执行步骤(2)~(4),直至驾驶结束,并记录该驾驶员的初次使用时间。(5) Repeat steps (2) to (4) until the end of driving, and record the driver's first use time.
优选的,所述处理器单元中数学模型的确立步骤如下:Preferably, the establishment steps of the mathematical model in the processor unit are as follows:
a、生成染色体:染色体由头部和尾部组成,头部的各基因位随机写入运算符,尾部的各基因位随机写入代表驾驶员把持方向盘握力的c或者代表指尖温度的x构成终结符;改变基因位的内容生成不同的染色体,当染色体的数量达到N时,终止生成操作,将生成的染色体作为初始种群;a. Chromosome generation: Chromosomes are composed of a head and a tail. Each gene bit in the head is randomly written into the operator, and each gene bit in the tail is randomly written into c representing the driver's grip on the steering wheel or x representing the temperature of the fingertips to form the end character; change the content of the gene bit to generate different chromosomes, when the number of chromosomes reaches N, terminate the generation operation, and use the generated chromosomes as the initial population;
b、构建染色体的表达式树:初始种群中各染色体由其头部的运算符和尾部的终结符按基因位构成表达式树;b. Construct the expression tree of the chromosome: each chromosome in the initial population consists of an operator at the head and a terminator at the tail to form an expression tree according to the gene position;
c、进行M次以上检测驾驶员的毛细血管血糖浓度y0,每次同时检测指尖温度x和把持方向盘的握力c,形成当年基准;c. The capillary blood glucose concentration y 0 of the driver is detected more than M times, and the fingertip temperature x and the grip force c of the steering wheel are simultaneously detected each time to form the benchmark for the year;
d、将每次检测的x和c代入步骤(b)中一染色体对应的表达式,计算血糖浓度值y,然后计算该染色体的适应度值:d. Substituting x and c of each detection into the expression corresponding to a chromosome in step (b), calculating the blood sugar concentration value y, and then calculating the fitness value of the chromosome:
其中 in
||·||∞表示无穷范数||·|| ∞ represents the infinite norm
yi表示利用第i次检测的x和c计算的血糖浓度y i represents the blood glucose concentration calculated using the x and c of the i-th detection
y0i表示第i次测量的毛细血管血糖浓度值y 0i represents the capillary blood glucose concentration value of the i-th measurement
e、重复步骤d,直至计算完步骤a初始种群中各染色体的适应度值,选最小的适应度值对应的染色体作为当代最优染色体;e. Repeat step d until the fitness value of each chromosome in the initial population of step a is calculated, and the chromosome corresponding to the smallest fitness value is selected as the contemporary optimal chromosome;
f、对步骤a初始种群中的各染色体进行选择、交叉和变异操作产生新的染色体种群,重复步骤d和e,并与上一代最优染色体的适应度值比较,如果大于,则保留上代最优染色体和其最小适应度值;如果小于,则由当代最优染色体作为最优染色体,并记录其适应度值;f. Perform selection, crossover and mutation operations on each chromosome in the initial population of step a to generate a new chromosome population, repeat steps d and e, and compare with the fitness value of the optimal chromosome of the previous generation. If it is greater than that, keep the optimal chromosome population of the previous generation The optimal chromosome and its minimum fitness value; if it is less than, the current optimal chromosome will be used as the optimal chromosome, and its fitness value will be recorded;
g、重复步骤f,直至进化代数达到Z次,由最优染色体的表达式作为该驾驶员的数学模型。g. Step f is repeated until the number of evolutionary generations reaches Z times, and the expression of the optimal chromosome is used as the mathematical model of the driver.
优选的,当同一驾驶员再次驾驶时,计算此次与初次使用之间的时间t,若t≥1年时,对该驾驶员检测L次毛细血管血糖浓度,每次同时检测指尖温度和手把持方向盘的握力,与上一年的基准值共同作为当年基准值,重复d、e、f和g,对数学模型进行校准,并将校准时间作为初次使用时间。Preferably, when the same driver drives again, calculate the time t between this time and the first use, if t≥1 year, detect the capillary blood glucose concentration L times for the driver, and detect fingertip temperature and The grip strength of the steering wheel is used together with the previous year's reference value as the current year's reference value. Repeat d, e, f, and g to calibrate the mathematical model, and use the calibration time as the initial use time.
优选的,步骤a中20≤N≤200,步骤c中M≥30,步骤g中Z≥60。Preferably, 20≤N≤200 in step a, M≥30 in step c, and Z≥60 in step g.
优选的,L≥3。Preferably, L≥3.
优选的,所述第一驱动电路和第二驱动电路均包括三极管和继电器,处理器单元控制连接电极管的控制极,三极管控制继电器的通断。Preferably, both the first drive circuit and the second drive circuit include a triode and a relay, the processor unit controls the control electrode connected to the electrode tube, and the triode controls the on-off of the relay.
优选的,所述给定单元为输入键盘。Preferably, the given unit is an input keyboard.
优选的,所述显示单元为液晶显示器。Preferably, the display unit is a liquid crystal display.
与现有技术相比,本发明的有益效果是:Compared with prior art, the beneficial effect of the present invention is:
1、本发明能够通过实时检测驾驶员的指尖温度和检测指尖所在手掌把持方向盘的握力,判定其血糖浓度是否在预警范围内,如果高于其上限,说明驾驶员的血糖浓度过高,则发出控制信号,对驾驶员注射胰岛素,使血糖浓度降回预警范围;如果低于其下限,则说明驾驶员的血糖浓度过低,则发出对驾驶员进补葡萄糖的信号,使血糖浓度上升至预警范围;如果血糖浓度值位于预警范围内,则没有控制信号,仍然维持驾驶员的目前状态,从而避免驾驶员在驾驶的过程中由于血糖问题引发不适,减少交通事故的发生率。1. The present invention can detect the temperature of the driver's fingertips in real time and the grip force of the steering wheel held by the palm of the fingertip to determine whether the blood sugar concentration is within the warning range. If it is higher than the upper limit, it means that the driver's blood sugar concentration is too high. Then send a control signal, inject insulin to the driver, so that the blood sugar concentration drops back to the warning range; Early warning range; if the blood sugar concentration is within the early warning range, there will be no control signal, and the driver’s current state will still be maintained, thereby avoiding the driver’s discomfort caused by blood sugar problems during driving and reducing the incidence of traffic accidents.
2、通过基因编程的方法建立能反应驾驶员血糖浓度、指尖温度和检测指尖所在手掌把持方向盘的握力之间关系的数学模型,技术成熟,便于实现。2. Establish a mathematical model that can reflect the relationship between the driver's blood sugar concentration, fingertip temperature, and the grip force of the steering wheel in the palm of the fingertip through genetic programming. The technology is mature and easy to implement.
3、通过建立含有20条以上染色体的初始种群、变异次数,以及初始的毛细血管血糖检测次数,能够拟合出更能反应驾驶员把持方向盘的握力、血糖浓度和指尖温度之间关系的数学模型,从而提高血糖浓度计算的精确度,使系统更好地为驾驶员服务。3. By establishing an initial population containing more than 20 chromosomes, the number of mutations, and the initial number of capillary blood sugar tests, it is possible to fit a mathematical model that better reflects the relationship between the driver's grip on the steering wheel, blood sugar concentration, and fingertip temperature Model, so as to improve the accuracy of blood sugar concentration calculation, so that the system can better serve the driver.
4、由于第一驱动电路和第二驱动电路采用三极管和继电器的结构,技术成熟,性能稳定。4. Since the first drive circuit and the second drive circuit adopt the structure of triode and relay, the technology is mature and the performance is stable.
5、本发明通过调节驾驶员体内的血糖浓度,避免糖尿病并发症的发生,不仅减少了交通事故的发生率,还大大降低疾病对驾驶员身体的损害,对糖尿病人群具有重要的现实意义,便于推广应用。5. The present invention avoids the occurrence of diabetic complications by adjusting the blood sugar concentration in the driver's body, which not only reduces the incidence of traffic accidents, but also greatly reduces the damage of the disease to the driver's body, which has important practical significance for people with diabetes and is convenient Promote apps.
附图说明Description of drawings
图1是本发明的电路框图;Fig. 1 is a circuit block diagram of the present invention;
图2是处理器单元的程序流程图;Fig. 2 is the program flowchart of processor unit;
图3是染色体结构示意图;Figure 3 is a schematic diagram of the chromosome structure;
图4是图3中染色体的表达式树。Fig. 4 is an expression tree of the chromosome in Fig. 3 .
附图标记为:1、处理器单元;2、输入键盘;3、液晶显示器;4、第一驱动电路;5、第二驱动电路;6、输入模块;7、运算模块;8、逻辑判断模块;9、输出模块。Reference signs are: 1. processor unit; 2. input keyboard; 3. liquid crystal display; 4. first drive circuit; 5. second drive circuit; 6. input module; 7. operation module; 8. logic judgment module ; 9. Output module.
具体实施方式detailed description
下面结合附图与具体实施方式对本发明作进一步详细描述。The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
如图1所示,本发明中设置了输入键盘2、处理器单元1、液晶显示器3、第一驱动电路4和第二驱动电路2。其中输入键盘2为处理器单元1输入血糖浓度预警范围;液晶显示器3实时显示处理器单元1的工作状态;处理器单元1分别驱动连接第一驱动电路4和第二驱动电路2。处理器单元1的工作步骤为:As shown in FIG. 1 , an input keyboard 2 , a processor unit 1 , a liquid crystal display 3 , a first drive circuit 4 and a second drive circuit 2 are provided in the present invention. The input keyboard 2 is used for the processor unit 1 to input the blood sugar concentration warning range; the liquid crystal display 3 displays the working status of the processor unit 1 in real time; the processor unit 1 is driven and connected to the first drive circuit 4 and the second drive circuit 2 respectively. The working steps of processor unit 1 are:
(1)读取血糖浓度预警范围;(1) Read the blood sugar concentration warning range;
(2)实时读取驾驶员的指尖温度x和检测指尖所在手掌把持方向盘的握力c;(2) read the fingertip temperature x of the driver in real time and detect the grip c of the palm where the fingertip is holding the steering wheel;
(3)将驾驶员把持方向盘的握力c和指尖温度x代入由基因编程方法确立的数学模型中,计算出驾驶员的血糖浓度值y;(3) Substitute the driver's grip c of the steering wheel and fingertip temperature x into the mathematical model established by the genetic programming method to calculate the driver's blood glucose concentration value y;
(4)判断y是否在步骤(1)的血糖浓度预警范围内,如果y在血糖浓度预警范围内,则无控制信号输出;如果y高于血糖浓度预警范围的上限值,则输出第一控制信号,通过输出模块9驱动第一驱动电路4;如果y低于血糖浓度预警范围的下限值,则输出第二控制信号,通过输出模块9驱动第二驱动电路2;(4) Judging whether y is in the blood sugar concentration warning range of step (1), if y is in the blood sugar concentration warning range, then no control signal is output; if y is higher than the upper limit of the blood sugar concentration warning range, then output the first The control signal drives the first drive circuit 4 through the output module 9; if y is lower than the lower limit value of the blood sugar concentration warning range, the second control signal is output, and the second drive circuit 2 is driven through the output module 9;
(5)重复执行步骤(2)~(4),直至驾驶结束;(5) Repeat steps (2) to (4) until the end of driving;
如图2所示,上述处理器单元1中的程序系统根据功能可划分为输入模块6、运算模块7、逻辑判断模块8和输出模块9。其中,输入模块6主要是接收温度传感器检测的指尖温度x和驾驶员把持方向盘的握力数值c等外围输入信号,并将接收的输入信号提供给运算模块7,同时为逻辑判断模块8提供血糖浓度预警范围,作为比对基准。运算模块7主要是读取输入模块6中把持方向盘的握力数值c和指尖温度x,代入由基因编程方法确定的数学模型中,计算出驾驶员的血糖浓度值y;逻辑判断模块8则是接收运算模块7的计算结果,判断血糖浓度值y是否在血糖浓度预警范围内;如果高于血糖浓度预警范围的上限值,则对输出模块9下达指令,驱动第一驱动电路4,对驾驶员注射胰岛素;如果低于血糖浓度预警范围的下限值,则对输出模块9下达指令,驱动第二驱动电路2,对驾驶员进补葡萄糖;如果刚好位于血糖浓度预警范围内,则无控制信号输出。As shown in FIG. 2 , the program system in the processor unit 1 can be divided into an input module 6 , an operation module 7 , a logic judgment module 8 and an output module 9 according to functions. Among them, the input module 6 mainly receives peripheral input signals such as the fingertip temperature x detected by the temperature sensor and the driver's grip force value c of the steering wheel, and provides the received input signal to the calculation module 7, and provides blood glucose for the logic judgment module 8 at the same time. Concentration warning range, as a benchmark for comparison. The calculation module 7 is mainly to read the value c of the grip force holding the steering wheel and the temperature x of the fingertips in the input module 6, and substitute them into the mathematical model determined by the genetic programming method to calculate the blood glucose concentration value y of the driver; the logic judgment module 8 is Receive the calculation result of the calculation module 7, judge whether the blood sugar concentration value y is within the blood sugar concentration warning range; if it is higher than the upper limit value of the blood sugar concentration warning range, then issue an instruction to the output module 9, drive the first drive circuit 4, and The driver injects insulin; if it is lower than the lower limit of the blood sugar concentration warning range, an instruction is issued to the output module 9 to drive the second drive circuit 2, and the driver is supplemented with glucose; if it is just within the blood sugar concentration warning range, there is no control signal output.
上述运算模块7中计算所用的数学模型是依据如下方法确立的:The mathematical model used for calculation in the above-mentioned computing module 7 is established according to the following method:
a、生成染色体:染色体由头部和尾部组成,头部的各基因位随机写入运算符,尾部的各基因位随机写入代表把持方向盘握力的c或者代表指尖温度的x构成终结符;改变基因位的内容生成不同的染色体,当染色体的数量达到50条以上时,终止生成操作,将生成的染色体作为初始种群,例如其中一染色体如图3所示;a. Chromosome generation: The chromosome is composed of a head and a tail. Each gene bit of the head is randomly written into the operator, and each gene bit of the tail is randomly written into c representing the grip force of the steering wheel or x representing the temperature of the fingertip to form a terminator; Change the content of the gene bit to generate different chromosomes. When the number of chromosomes reaches more than 50, the generation operation is terminated, and the generated chromosomes are used as the initial population. For example, one of the chromosomes is shown in Figure 3;
b、构建染色体的表达式树:初始种群中各染色体由其头部的运算符和尾部的终结符分别按基因位从左到右的顺序逐位读取,并按层次顺序构成表达式数构成表达式树,图3所示染色体的表达式树如图4所示,其对应的表达式为:b. Construct the expression tree of the chromosome: each chromosome in the initial population consists of the operator at the head and the terminator at the tail, which are read bit by bit according to the order of the gene bits from left to right, and form the number of expressions in hierarchical order Expression tree, the expression tree of the chromosome shown in Figure 3 is shown in Figure 4, and its corresponding expression is:
c、进行30次以上检测使用者的毛细血管血糖浓度y0,每次同时检测指尖温度x和把持方向盘的握力c,形成当年基准;c. The capillary blood glucose concentration y 0 of the user is detected more than 30 times, and the fingertip temperature x and the grip force c of the steering wheel are simultaneously detected each time to form the benchmark of the year;
d、将每次检测的x和c代入步骤(b)中一染色体对应的表达式,计算血糖浓度值y,计算与测量值y0的偏差,取该染色体中偏差最大值作为该染色体的适应度值:d. Substitute x and c of each detection into the expression corresponding to a chromosome in step (b), calculate the blood sugar concentration value y, calculate the deviation from the measured value y 0 , and take the maximum value of the deviation in the chromosome as the adaptation of the chromosome Degree value:
其中 in
||·||∞表示无穷范数||·|| ∞ represents the infinite norm
yi表示利用第i次检测的x计算的血糖浓度y i represents the blood glucose concentration calculated using the i-th detected x
y0i表示第i次测量的毛细血管血糖浓度值y 0i represents the capillary blood glucose concentration value of the i-th measurement
e、重复步骤d,直至计算完步骤a初始种群中各染色体的适应度值,选最小的适应度值对应的染色体作为当代最优染色体;e. Repeat step d until the fitness value of each chromosome in the initial population of step a is calculated, and the chromosome corresponding to the smallest fitness value is selected as the contemporary optimal chromosome;
f、对步骤a初始种群中各染色体进行选择、交叉和变异操作产生新的染色体种群,为了简化迭代程序,选择优选为轮盘赌选择算子,交叉优选为两点交叉,交叉概率为0.6≤Pc≤1,变异优选为单点变异,变异概率为0.005≤Pm≤0.05,重复步骤d和e,并与上一代最优染色体的适应度值比较,如果大于,则保留上代最优染色体和其最小适应度;如果小于,则由当代最优染色体作为最优染色体,并记录其适应度值;f. Perform selection, crossover and mutation operations on each chromosome in the initial population in step a to generate a new chromosome population. In order to simplify the iterative procedure, the selection is preferably a roulette selection operator, and the crossover is preferably a two-point crossover. The crossover probability is 0.6≤ P c ≤ 1, the mutation is preferably a single-point mutation, the mutation probability is 0.005 ≤ P m ≤ 0.05, repeat steps d and e, and compare with the fitness value of the optimal chromosome of the previous generation, if greater, keep the optimal chromosome of the previous generation and its minimum fitness; if it is less than, the contemporary optimal chromosome will be used as the optimal chromosome, and its fitness value will be recorded;
g、重复步骤f,直至进化代数达到20代以上染色体,由最优染色体的表达式作为该驾驶员的数学模型。g. Repeat step f until the evolutionary algebra reaches more than 20 generations of chromosomes, and the expression of the optimal chromosome is used as the mathematical model of the driver.
随着使用时间的延长,为了使计算所依据的数学模型能得到较好的校准,当同一驾驶员再次驾驶时,计算此次与初次使用之间的时间t,若t≥1年时,对该驾驶员检测3次以上毛细血管血糖浓度,每次同时检测指尖温度和检测指尖所在手掌把持方向盘的握力,与上一年的基准值共同作为当年基准值,重复d、e、f和g,对数学模型进行校准。With the prolongation of the use time, in order to better calibrate the mathematical model on which the calculation is based, when the same driver drives again, calculate the time t between this time and the first use, if t≥1 year, for The driver detects the capillary blood glucose concentration more than 3 times, each time simultaneously detects the temperature of the fingertip and the grip strength of the steering wheel held by the palm of the fingertip, and the reference value of the previous year is used as the reference value of the current year. Repeat d, e, f and g, Calibrate the mathematical model.
本发明的工作过程如下:Working process of the present invention is as follows:
在驾驶员驾驶的过程中,通过安装在方向盘的温度传感器和压力传感器,实时读取驾驶员的指尖温度x和检测指尖所在手掌把持方向盘的握力c,此处系统虽然可以两侧测量,只需读取一侧的指尖温度和把持方向盘的握力,读取侧可以根据驾驶员操作习惯由驾驶员设定;控制器根据驾驶员把持方向盘的握力c和指尖温度x,计算出驾驶员的血糖浓度值y,并判断y是否在步骤(1)的血糖浓度范围内,如果y高于血糖浓度预警范围的上限值,则对输出模块9发出第一控制信息,驱动第一驱动电路4给驾驶员注射胰岛素;如果y低于血糖浓度预警范围的下限值,则对输出模块9发出第二控制信息,驱动第二驱动电路2给驾驶员进补葡萄糖;如果刚好位于血糖浓度预警范围内,则无控制信号输出。如此使驾驶员体内的葡萄糖浓度始终处于血糖浓度预警范围内,使其血糖正常,直至驾驶结束。During the driver's driving, the temperature sensor and pressure sensor installed on the steering wheel can read the driver's fingertip temperature x in real time and detect the grip c of the steering wheel held by the palm of the fingertip. Although the system can measure both sides, Only need to read the fingertip temperature on one side and the grip force of the steering wheel, and the read side can be set by the driver according to the driver's operating habits; blood glucose concentration value y of the staff, and judge whether y is within the blood glucose concentration range of step (1), if y is higher than the upper limit value of the blood glucose concentration early warning range, then send the first control information to the output module 9, and drive the first drive The circuit 4 injects insulin to the driver; if y is lower than the lower limit of the blood sugar concentration warning range, it sends the second control information to the output module 9 to drive the second drive circuit 2 to supplement the driver with glucose; Within the range, there is no control signal output. In this way, the glucose concentration in the driver's body is always within the early warning range of the blood glucose concentration, making the blood glucose normal until the end of driving.
控制器还显示其工作信息,并自动记录该驾驶员的初次使用时间,以后使用时自动计算与初次使用间的时间段t,若t≥1年时,对该驾驶员检测3次以上毛细血管血糖浓度,每次同时检测指尖温度和把持方向盘的握力,与上一年的基准值共同作为当年基准值,重复d、e、f和g,对数学模型进行校准,并以校准时间作为初次使用时间。The controller also displays its work information, and automatically records the driver's first use time, and automatically calculates the time period t between the first use and the first use in the future, and if t≥1 year, detect the capillary of the driver more than 3 times For blood sugar concentration, the fingertip temperature and the grip strength of the steering wheel are detected at the same time each time, and the baseline value of the previous year is used as the baseline value of the year. Repeat d, e, f, and g to calibrate the mathematical model, and the calibration time is used as the initial value. usage time.
上述第一驱动电路4和第二驱动电路5均由三极管T和继电器K构成,处理器单元1对输出模块9输出第一控制信号,第一驱动电路4中的三极管T导通,继电器K的线圈得电,进入工作状态;如果处理器单元2对输出模块9输出第二控制信号,则第二驱动电路5工作。Both the above-mentioned first drive circuit 4 and the second drive circuit 5 are composed of a triode T and a relay K, the processor unit 1 outputs the first control signal to the output module 9, the triode T in the first drive circuit 4 is turned on, and the relay K The coil is energized and enters the working state; if the processor unit 2 outputs the second control signal to the output module 9, the second driving circuit 5 works.
此系统已对26名在指定路段进行驾驶的驾驶员测试,对于每位驾驶员每隔5分钟测量一次中指指尖的毛细血管血糖浓度和中指指尖温度,然后利用该系统计算的指尖血糖浓度进行对比,秩和检验的统计结果显示,毛细血管血糖浓度与利用基因编程方法取得的血糖浓度无显著差异(P>0.05),因此使用该系统监测驾驶员驾驶过程中的血糖浓度可以认同于利用指尖测量毛细血管血糖浓度。This system has been tested on 26 drivers who drive on designated road sections. For each driver, measure the capillary blood glucose concentration and fingertip temperature of the middle finger every 5 minutes, and then use the fingertip blood glucose calculated by the system The statistical results of the rank sum test showed that there was no significant difference between the capillary blood glucose concentration and the blood glucose concentration obtained by genetic programming (P>0.05), so using this system to monitor the driver's blood glucose concentration during driving can be recognized as Use fingertips to measure capillary blood glucose concentration.
以上所述,仅是本发明的较佳实施例而已,并非是对本发明作其它形式的限制,任何熟悉本专业的技术人员可能利用上述揭示的技术内容加以组合、变更或改型均为本发明的等效实施例。但是凡是未脱离本发明技术方案内容,依据本发明的技术实质对以上实施例所作的任何简单修改、等同变化与改型,仍属于本发明技术方案的保护范围。The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention to other forms. Any combination, change or modification that any skilled person familiar with this profession may use the technical content disclosed above is the present invention. An equivalent embodiment of . However, any simple modifications, equivalent changes and modifications made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention still belong to the protection scope of the technical solution of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610446424.XA CN106080739A (en) | 2016-06-20 | 2016-06-20 | The controller that a kind of diabetes patient of auxiliary drives |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610446424.XA CN106080739A (en) | 2016-06-20 | 2016-06-20 | The controller that a kind of diabetes patient of auxiliary drives |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106080739A true CN106080739A (en) | 2016-11-09 |
Family
ID=57237243
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610446424.XA Pending CN106080739A (en) | 2016-06-20 | 2016-06-20 | The controller that a kind of diabetes patient of auxiliary drives |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106080739A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040054328A1 (en) * | 2000-12-22 | 2004-03-18 | Langley Christopher Nigel | Pen-type injector having an electronic control unit |
KR20050030923A (en) * | 2005-02-28 | 2005-03-31 | 최수봉 | Control method of insulin pump by bluetooth protocol |
CN202541524U (en) * | 2011-12-12 | 2012-11-21 | 王晓原 | Auxiliary driving control device based on driver cognitive activity integrated calculation |
CN103395441A (en) * | 2013-08-23 | 2013-11-20 | 江苏惠通集团有限责任公司 | Multifunctional automotive steering wheel |
CN104992529A (en) * | 2015-06-23 | 2015-10-21 | 山东理工大学 | Method for preventing driving fatigue and device preventing driving fatigue |
CN205302556U (en) * | 2015-12-24 | 2016-06-08 | 昆山映台电子科技有限公司 | On -vehicle healthy safety coefficient of intelligence |
-
2016
- 2016-06-20 CN CN201610446424.XA patent/CN106080739A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040054328A1 (en) * | 2000-12-22 | 2004-03-18 | Langley Christopher Nigel | Pen-type injector having an electronic control unit |
KR20050030923A (en) * | 2005-02-28 | 2005-03-31 | 최수봉 | Control method of insulin pump by bluetooth protocol |
CN202541524U (en) * | 2011-12-12 | 2012-11-21 | 王晓原 | Auxiliary driving control device based on driver cognitive activity integrated calculation |
CN103395441A (en) * | 2013-08-23 | 2013-11-20 | 江苏惠通集团有限责任公司 | Multifunctional automotive steering wheel |
CN104992529A (en) * | 2015-06-23 | 2015-10-21 | 山东理工大学 | Method for preventing driving fatigue and device preventing driving fatigue |
CN205302556U (en) * | 2015-12-24 | 2016-06-08 | 昆山映台电子科技有限公司 | On -vehicle healthy safety coefficient of intelligence |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN204600455U (en) | health monitoring intelligent seat | |
CN103025242B (en) | Guarantee about average before the meal with the mthods, systems and devices of the statistical power of GLPP difference Message Transmission | |
TW201417774A (en) | Method and system to indicate hyperglycemia or hypoglycemia for people with diabetes | |
CN103654798B (en) | Emotion monitoring and recording method and device | |
TW201420145A (en) | Method and system to indicate glycemic impacts of insulin infusion pump commands | |
CN106073723A (en) | Control method that a kind of diabetes patient of auxiliary drives and system | |
CN201790818U (en) | Special respiration monitoring system for driver | |
CN103908235A (en) | Hypertensive disorder expert system | |
CN106080739A (en) | The controller that a kind of diabetes patient of auxiliary drives | |
CN115331142A (en) | Portable human-computer interaction evaluation system | |
CN106004976A (en) | Control device assisting in driving of diabetic patient | |
CN206086587U (en) | Driver's weight monitoring system | |
CN204306811U (en) | Portable body multiparameter physical examination box | |
CN118412083A (en) | Method and device for processing detection report data | |
TW201401216A (en) | Positive reinforcement messages to users based on analytics of prior physiological measurements | |
CN107961008B (en) | Auxiliary device and method for rapid acquisition of resting metabolic rate | |
TWI629673B (en) | Teaching system with assistance of brainwave analysis | |
CN202267479U (en) | Air pressure altimeter | |
CN205144524U (en) | Painful evaluation device | |
CN205643360U (en) | Take blood glucose meter of fingerprint identification function | |
CN104068842A (en) | Uterine contraction pressure auto-zero method and apparatus and fetal monitor | |
CN104849187A (en) | Dust concentration measurement instrument and measurement method based on human body physiological sensing | |
CN107137069A (en) | A kind of medical treatment detection blood pressure measuring device | |
CN110584648A (en) | Driver electrocardio detection system | |
CN204995482U (en) | Blood sugar tests system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161109 |