A kind of intelligent analyzer and its measuring method of ovulating of duplex
Technical field
Intelligently what is involved is a kind of ovulation detector and its inspections for ovulation analyzer and its measuring method for a kind of duplex of the present invention
Survey method, especially a kind of duplex intelligence ovulation analyzer and its measuring method.
Background technique
Foreign countries have carried out saliva and cervical mucus measures the research of its resistance reflection ovulation period, and the research is by electrode probe
Insertion and vagina carry out resistance measurement, and using serum Lh analysis as control, to 13 menstruations in subject 18 months
(10 are to receive artificial insemination patient, other are volunteer) thinks that peak occurs in LH on the day of ovulation after measuring
Value, and minimum value is presented in the resistance value of interior cervical mucus, and maximum is presented in the resistance value of saliva in 5 to 6 days oral cavities before preovulatory
Value, Qiu Xiu light of Shandong Medical University, China etc. study the resistance value of saliva and cervical mucus, have affirmed this side
Method.But the method is more complicated, and individual can not voluntarily carry out.
Basal body temperature (BBT), which assumes that, does not make any activity when waking up, measure surveyed body temperature immediately.It reflects body
In the body temperature of complete quiescent condition.The normal women of ovarian function, due to have in ovary in each menstrual cycle an ovarian follicle at
It is ripe and ovulate, then form corpus luteum.The estrogen that ovarian follicle before preovulatory generates, the ovarian follicle after ovulation mainly generate progestational hormone.It is pregnant
Hormone has pyrogenic action, increases 0.3-0.5 DEG C using body temperature by heat-regulating centers, forms biphasic or bipolar type body temperature.When in serum
Newborn ketone concentration when reaching 12.72nmol/L or more, body temperature is then significantly raised, and body temperature rises and Luteinized time phase one
It causes.Therefore, the women of child-bearing age are ovulation and the luteinization that can objectively respond out ovary by BBT.But current analyzer
Only with single test approach, user can not be carried out accurate and effectively test and analyze, therefore prediction result is inaccurate
Really, for instructing, women natural method is practised contraception and selection optimum pregnant period still has many shortcomings.
Summary of the invention
It is an object of the invention to overcome the shortcomings of existing detection method, provide a kind of duplex intelligently ovulation analyzer and
Its measuring method analyzes the dual trend of saliva conductivity and basal body temperature, improves the ease for use and standard of predicting ovulation
True property.
The present invention adopts the following technical solutions to achieve:
Intelligently ovulation analyzer includes body and sensor probe to duplex, is equipped with display screen and key, machine in engine body exterior
Internal portion is equipped with body control unit and lithium battery power supply;Display screen and key are connected with body control unit respectively;Lithium battery
Power supply is display screen, sensor probe and body control unit provide electric energy;
The display screen is for information such as display operation prompt, testing result and history testing results;
The key is used to select the machine open/close, testing process and information inspection of analyzer;
The body control unit includes the temperature detecting module being connected with temperature computation module and Conductivity Calculation module
Connected conductivity detection module and trend judging module;Temperature computation module and Conductivity Calculation module respectively with trend
Judging module is connected;
Sensor probe is connected with temperature detecting module and conductivity detection module;
The sensor probe includes four detecting electrodes, is a NTC sensing electrode, an AC signal output respectively
Electrode and two AC signal input electrodes;The resistance value of NTC sensing electrode can change with temperature change.
Trend judging module is using trend judgement single-chip microcontroller control, and trend judging module is to saliva conductivity and basal body temperature
Joint trend analysis is carried out, obtains prediction result, and send prediction result to display screen and show, while per diem by prediction result
Phase is stored in the Flash of trend judgement single-chip microcontroller;The trend judgement single-chip microcontroller uses the list of commercially available NRF52832 model
Piece machine.
Temperature detecting module and temperature computation module are controlled by first singlechip, and temperature detecting module is to sensor probe
NTC sensing electrode exports sampled value to temperature computation module after carrying out temperature sampling;Temperature computation module conversion obtains after calculating
To basal body temperature, and the base body temperature value is exported and gives trend judging module, while base body temperature value is stored in by date
In the Flash of one single-chip microcontroller;The first singlechip uses the single-chip microcontroller of commercially available BH66F5233 model, BH66F5233 monolithic
Machine includes 24 high precision digital-to-analog converters.
Conductivity detection module and Conductivity Calculation module are controlled by second singlechip, and conductivity detection module uses single electricity
The multimetering mode that pole output, bipolar electrode input samples saliva, and sampled value is exported and gives Conductivity Calculation module,
Trend judging module is given in output after sampled value is converted to conductivity by Conductivity Calculation module, while conductivity being stored by date
In the Flash of second singlechip;The second singlechip uses commercially available HT66F0185 model single-chip microcontroller;Single electrode output,
Multimetering mode, that is, conductivity detection module of bipolar electrode input applies bipolar square wave arteries and veins in AC signal output electrode
Punching, while AD sampling is carried out to the input signal of two AC signal input electrodes.
The measuring method of duplex intelligence ovulation analyzer, comprising the following steps:
1) resistance value of NTC sensing electrode is converted to voltage signal by temperature detecting module, and is carried out AD to voltage signal and adopted
Sampled value is exported to temperature computation module after sample;Temperature computation module turns voltage signal signal according to electric resistance partial pressure principle
It is changed to resistance value, and basal body temperature will be obtained according to calculation formula;Temperature computation module is by base body temperature valueIt exports to trend
Judging module, while by base body temperature valueIt is stored in the Flash of first singlechip by date;
2) conductivity detection module applies AC signal, AC signal in the AC signal output electrode of sensor probe
It flows through saliva and reaches AC signal input electrode, conductivity detection module rectifies the AC signal of AC signal input electrode
AD sampling is carried out after processing, and obtained sampled value is exported and gives Conductivity Calculation module;Conductivity Calculation module is public according to calculating
Formula uses basal body temperature obtained in step 1)Temperature-compensating is carried out to saliva conductivity, sampled value is converted into conductivity,
Obtain final saliva conductivity;Conductivity Calculation module, which exports conductivity, gives trend judging module, while by conductivity
It is stored in the Flash of second singlechip by date;
3) trend judging module joint saliva conductivity and basal body temperature carry out trend analysis, provide ovulation prediction, and will
The prediction data is shown on a display screen.
The method of temperature sampling and detection basal body temperature in step (1) comprising the steps of:
1-1) the continuous AD of n times is carried out using temperature detecting module to sample;
1-2) abandon step 1-1) n times sampling in minimum and maximum sampled value;
1-3) n -2 samplings remaining to step 1-2), which are averaged, is calculated temperature value
;
The temperature value A d that step 1-3) is obtained 1-4) is converted into resistance value Rt according to electric resistance partial pressure principle;
1-5) the resistance value Rt for obtaining step 1-4) substitutes into fitting of a polynomial cubic curve formula
Obtain basal body temperature, precision reaches ± 0.01 DEG C;
1-6) according to measurement date storageIn the Flash of first singlechip;
N >=5.
The method of saliva conductivity is detected and obtained in step 2 to saliva, comprising the following steps:
2-1) conductivity detection module applies bipolar square wave pulse in the AC signal output electrode of sensor probe,
AC signal output electrode is set to export bipolar square wave signal;
2-2) conductivity detection module adopts input signal, that is, voltage signal progress AD of two AC signal input electrodes
Sample;
2-3) conductivity detection module makees weighted average except reason to the voltage signal of two input electrodes, and stores sampling
Value;
2-4) repeat n times step 2-1) arrive step 2-3);N >=5;
The maximum and minimum value in n times sampled value 2-5) is abandoned, remaining n -2 times samplings are averaged, willAnd
Substitute into formula:
Saliva conductivity before being compensated, in formula
,,For saliva specific conductance, value 2473.32 is (to 33 pregnant age women
Obtained after carrying out saliva test), Rc is feedback resistance constant value (10 K Ω, determined by design circuit), and Vinput is input AC
The average voltage of square-wave signal, n >=5;
2-6) willSubstitute into temperature-compensating formula, replacement:
Obtain the compensated saliva conductivity of final temperature, in formula:For temperature compensation coefficient, value 0.142(is to 33
The pregnant age women of name obtains after carrying out saliva test),It is that basal body temperature isWhen compensation before saliva conductivity, k0 be for the first time
The saliva conductivity value (temperature-compensating will not be made when using for the first time) detected using this method.
2-7) according to detection date storageIn the Flash of second singlechip.
Trend analysis and ovulation prediction in step 3), comprising the following steps:
3-1) definition anticipation window is 10 days;
If 3-2) currently stored saliva conductivity and the data volume of basal body temperature are less than 10 days, do not execute following
Step;
The peak-to-valley value of conductivity 3-3) is searched in anticipation window, and judges its left edge and right edge with the presence or absence of 3 days or more
Data do not execute following step as ineligible;
5 days after 3-4) defining the place date of currently detected conductivity peak-to-valley value are ovulation day;
Differential calculation 3-5) is carried out to base body temperature value in anticipation window and obtains daily differential value, and
It searches and obtainsMaximum differential value Max();
3-6) to Max() where the base body temperature value on date judged, do not executed then if it is less than 36.5 DEG C following
The step of, if it is greater than 36.5 DEG C, then define Max() where the date be;
If 3-7) step 3-6) inIn step 3-4)Before, then it definesFor ovulation day.
The utility model has the advantages that the present invention has the following advantages that compared with prior art, the present invention realizes disposable acquisition port simultaneously
The predictive effect of chamber saliva conductivity and basal body temperature, the indicative effect and saliva conductivity that combine basal body temperature improves
The accuracy of predicting ovulation day, while sensing probe need to be only put into below the tongue of oral cavity can start to survey in use
Amount, it is greatly convenient for users to use.
Detailed description of the invention
Below with reference to attached drawing, the invention will be further described:
Fig. 1 is structural block diagram of the invention;
Fig. 2 is the structural block diagram of saliva conductivity detection module of the present invention;
Fig. 3 is the discrete Distribution value of resistance value of the present invention and temperature value matched curve and each resistance value on curve.
In figure: 1, body control unit, 2, sensor probe, 3, display screen, 4, key, 5, temperature detecting module, 6, temperature
Spend computing module, 7, conductivity detection module, 8, Conductivity Calculation module, 9, trend judging module, 10, lithium battery power supply.
Specific embodiment
It elaborates below to the embodiment of the present invention, the present embodiment carries out under the premise of the technical scheme of the present invention
Implement, the detailed implementation method and specific operation process are given, but protection scope of the present invention is not limited to following implementation
Example.
As shown in Fig. 1~2, intelligently ovulation analyzer includes body and sensor probe 2 to duplex, is equipped in engine body exterior aobvious
Display screen 3 and key 4, internal body are equipped with body control unit 1 and lithium battery power supply 10;Display screen 3 and key 4 respectively with body
Control unit 1 is connected;Lithium battery power supply 10 is that display screen 3, sensor probe 2 and body control unit 1 provide electric energy;
The body control unit 1 includes the temperature detecting module 5 and Conductivity Calculation being connected with temperature computation module 6
The connected conductivity detection module 7 of module 8 and trend judging module 9;Temperature computation module 6 and Conductivity Calculation module 8 are divided
It is not connected with trend judging module 9;
Sensor probe 2 is connected with temperature detecting module 5 and conductivity detection module 7;
The sensor probe 2 includes four detecting electrodes, is that a NTC sensing electrode, an AC signal are defeated respectively
Electrode and two AC signal input electrodes out.
User does not make any activity when waking up, and after sensing probe 2 is connected to body main control unit 1, sensing is visited
First 2 are put into below the tongue of oral cavity, press the button 4, that is, start the detection for carrying out basal body temperature and saliva conductivity, this is excessively program-controlled
Following steps will be executed for unit processed:
(1) temperature detecting module carries out temperature sampling to NTC sensing electrode, detects basal body temperatureAnd it is carried out according to the date
Storage;
(2) conductivity detection module applies bipolar square wave pulse in output electrode, while two electrodes are inputted
Input signal carries out AD sampling, finally uses basal body temperatureTemperature-compensating is carried out to conductivity, obtains final saliva conductance
Rate, and stored according to the date;
(3) combine saliva conductivity and basal body temperature carries out trend analysis, provide ovulation prediction.
Wherein step (1) comprises the steps of:
(a) 5 continuous AD samplings are carried out;
(b) the minimum and maximum sampled value in 5 samplings is abandoned;
(c) remaining 3 times samplings being averaged and temperature value is calculated, calculation formula is as follows,
;
(d) Ad that step (c) obtains is converted into resistance value Rt according to electric resistance partial pressure principle;
(e) the resistance value Rt for obtaining step (d) substitutes into fitting of a polynomial cubic curve formula,
Obtain basal body temperature, precision can reach ± 0.01 DEG C;
(f) according to measurement date storageIn the Flash of first singlechip.
The resolution ratio of the temperature value obtained using look-up table is ± 1 DEG C, is generally used as using linear interpolation method by Rt and is become certainly
The interpolation formula that amount substitutes into the corresponding relationship composition of two resistance values and temperature calculates the corresponding temperature value of Rt, but NTC is with temperature
The variation of degree is simultaneously non-linear, this results in that certain error can be brought using linear interpolation method.
The present embodiment preferably solves the problems, such as this by the way of polynomial fitting curve.Set normal body temperature model
Enclosing is 32 DEG C -42 DEG C, and using the resistance value of this temperature section as independent variable, temperature value carries out Cubic Curve Fitting as dependent variable,
Fig. 3 show the discrete difference of curve and each resistance value on curve after fitting, as can be seen from the figure discrete difference
Much smaller than ± 0.01.
Wherein the flow chart of the execution of conductivity detection module is as shown in Figure 2 in step (2):
(a) the bipolar square wave signal of AC signal output electrode output 100HZ;
(b) input signal of two AC signal input electrodes is amplified by rectifying and wave-filtering and signal, is finally turned by modulus
Changing acquisition is digital voltage signal;
(c) weighted average is made except reason to the voltage signal of two AC signal input electrodes, and stores sampled value;
(d) step (a) is repeated 5 times to step (c);
(e) maximum and minimum value in 5 sampled values is abandoned, remaining 3 samplings are averaged, willAnd substitute into public affairs
Formula:
Saliva conductivity before being compensated, in formula
, ,(saliva test is carried out to 33 pregnant age women for saliva specific conductance
After obtain, value 2473.32), Rc be feedback resistance constant value (10 K Ω, determined by design circuit), Vinput is input AC
The average voltage of square-wave signal;
(f) willSubstitute into temperature-compensating formula, replacement:
Obtain the compensated saliva conductivity of final temperature, in formula
It (is obtained after carrying out saliva test to 33 pregnant age women, value 0.142) for temperature compensation coefficient,It is base
Plinth body temperature isWhen compensation before saliva conductivity, k0 is that the saliva conductivity value detected for the first time using this method (is made for the first time
Used time will not make temperature-compensating);
(g) according to date storageIn the Flash of second singlechip.
Wherein step (3) the following steps are included:
(a) definition anticipation window is 10 days;
If (b) currently stored saliva conductivity and the data volume of basal body temperature are less than 10 days, do not execute following
Step;
(c) peak-to-valley value of conductivity is searched in anticipation window, and judges its left edge and right edge with the presence or absence of 3 days or more
Data do not execute following step as ineligible;
(d) 5 days after defining the place date of currently detected conductivity peak-to-valley value are ovulation day;
(e) differential calculation is carried out to base body temperature value in anticipation window and obtains daily differential value, and
It searches and obtainsMaximum differential value Max();
(f) to Max() where the base body temperature value on date judged, do not executed then if it is less than 36.5 DEG C following
Step then defines Max(if it is greater than 36.5 DEG C) where the date be;
(g)?It is preceding, it definesFor ovulation day.