【The content of the invention】
It is an object of the present invention to provide a kind of ultraviolet dosage index measurement device, including:
UV sensor, for gathering uitraviolet intensity and the uitraviolet intensity of collection being converted into electric signal;
Signal processing system, it is connected with the UV sensor, for carrying out signal transacting to the electric signal;
Single-chip microcomputer, it is connected with the signal processing system, for receiving the signal after the signal processing system is handled simultaneously
Carry out analysis and ultraviolet dosage index is calculated;
Output module, it is connected with the single-chip microcomputer, for exporting ultraviolet dosage index;
Key control module, it is connected with the single-chip microcomputer, for controlling the UV sensor collection uitraviolet intensity.
Further, the single-chip microcomputer includes computing unit and timing unit, and the computing unit is used for successively by described in
The uitraviolet intensity of UV sensor the latter unit interval collection is strong with the ultraviolet of collection of previous unit interval respectively
Degree, uitraviolet intensity reference value comparative analysis, and when carrying out integral operation and calculating the latter unit interval and previous unit
Between between finsen unit dose index, and the finsen unit dose index calculated successively is added up, draws purple
Outside line dose index;The timing unit is used for the unit interval for setting the UV sensor collection uitraviolet intensity.
Further, the signal processing system includes:
For current signal to be converted to the I/V modular converters of voltage signal;
For the amplification module for amplifying the voltage signal, the amplification module is connected to the I/V modular converters;
For the analog signal after amplification to be converted to the A/D modular converters of data signal, the A/D modular converters connection
To the amplification module.
Further, in addition to the single-chip microcomputer memory module being connected, for store default ultraviolet dosage index,
The ultraviolet dosage index and the uitraviolet intensity reference value that the single-chip microcomputer calculates;The default ultraviolet dosage index
For compared with the ultraviolet dosage index that is calculated with the single-chip microcomputer, to determine whether ultraviolet irradiation is enough.
Further, in addition to the single-chip microcomputer alarm module being connected, for when the ultraviolet dosage index it is big
Alarm is sent when default ultraviolet dosage index.
It is to provide a kind of ultraviolet dosage index measurement method another mesh of the present invention, including:
Key control module sends instruction, and control UV sensor starts to gather uitraviolet intensity;
The uitraviolet intensity of collection is converted to electric signal by UV sensor;
Key control module sends instruction, and control UV sensor stops collection uitraviolet intensity;
Signal processing system carries out signal transacting to the electric signal;
Single-chip microcomputer, which receives the signal after the signal processing system processing and carries out analysis meter calculation, show that ultraviolet dosage refers to
Number;
Output module exports the ultraviolet dosage index.
Further, the single-chip microcomputer includes computing unit and timing unit, and the computing unit is used for successively by described in
The uitraviolet intensity of UV sensor the latter unit interval collection is strong with the ultraviolet of collection of previous unit interval respectively
Degree, uitraviolet intensity reference value comparative analysis, and when carrying out integral operation and calculating the latter unit interval and previous unit
Between between finsen unit dose index, and the finsen unit dose index calculated successively is added up, draws purple
Outside line dose index;The timing unit is used for the unit interval for setting the UV sensor collection uitraviolet intensity.
Further, the process of signal transacting is carried out to the electric signal to be included:
Current signal is converted to voltage signal by I/V modular converters;
Amplification module amplifies the voltage signal;
Analog signal after amplification is converted to data signal by A/D modular converters.
Further, in addition to the single-chip microcomputer memory module being connected, for store default ultraviolet dosage index,
The ultraviolet dosage index and the uitraviolet intensity reference value that the single-chip microcomputer calculates;The default ultraviolet dosage index
For compared with the ultraviolet dosage index that is calculated with the single-chip microcomputer, to determine whether ultraviolet irradiation is enough.
Further, in addition to the single-chip microcomputer alarm module being connected, for when the ultraviolet dosage index it is big
Alarm is sent when default ultraviolet dosage index.
Implement the present invention, the ultraviolet radiation dose index that human body receives within a period of time can be measured, but also
Uitraviolet intensity beneficial to human body or harmful can be judged.
【Embodiment】
With reference to figure 1, one embodiment of the invention provides a kind of ultraviolet dosage index measurement device, mainly includes:Ultraviolet
Sensor 110, signal processing system 130, single-chip microcomputer 150, output module 170, key control module 190, the and of memory module 140
Alarm module 180.UV sensor 110 is used to gather uitraviolet intensity and the uitraviolet intensity of collection is converted into telecommunications
Number, signal processing system 130 is connected to UV sensor 110, and the electric signal exported to UV sensor 110 carries out letter
Number processing.
With reference to figure 2, the signal processing system 130 includes I/V modular converters 132, amplification module 134 and A/D and turned successively
Change the mold block 136.The current signal that UV sensor 110 exports is converted into voltage signal by I/V modular converters 132, through putting
After big module 134 is amplified, analog signal is converted into by A/D modular converters 136 by data signal and allows single-chip microcomputer 150 to gather.
Single-chip microcomputer 150 is connected respectively to signal processing system 130, UV sensor 110 and key control module
190.Single-chip microcomputer 150 is sent instruction to UV sensor 110 by operating buttons control module 190, sense ultraviolet
Device 110 starts to gather uitraviolet intensity or stops collection uitraviolet intensity.
Data signal after the processing of signal processing system 130 exports to single-chip microcomputer 150, and single-chip microcomputer 150 receives numeral letter
After number, analysis calculating is carried out to it, draws ultraviolet dosage index.The result calculated is exported by output module 170.
With reference to figure 3, single-chip microcomputer 150 includes computing unit 152 and timing unit 154.Timing unit 154 is arranged on list for one
Timer on piece machine 150, the unit interval of uitraviolet intensity, such as per minute one are gathered for setting UV sensor 110
Once, the about fast degree of accuracy of frequency is higher, but this bandwidth requirement to pre-amplification circuit can be higher for secondary, once per second or 0.1 second.
In the present embodiment, preferably each second collection once, i.e., the unit interval that timer is set as one second, UV sensor 110
The uitraviolet intensity of collection in each second.
Computing unit 152 successively by the latter unit interval of UV sensor 110 collection uitraviolet intensity respectively with
The uitraviolet intensity of previous unit interval collection, uitraviolet intensity reference value comparative analysis, and carry out integral operation and calculate
Finsen unit dose index between previous unit interval and the latter unit interval, and the ultraviolet that will be calculated successively
Unit dose index is added up, and draws ultraviolet dosage index, i.e., the ultraviolet radiation dosage that human body receives.Specifically calculated
Journey explained later.
Memory module 140, alarm module 180 are connected with single-chip microcomputer 150 respectively.Memory module 140 is used to store default purple
The ultraviolet dosage index and uitraviolet intensity reference value that outside line dose index, single-chip microcomputer 150 calculate.Uitraviolet intensity refers to
Value is the uitraviolet intensity for referring to cause human body developmental biology effect.Human body developmental biology effect can be caused such as to pass through
The skin of ultraviolet irradiation human body generates vitamin D, can promote the metabolism of skeleton through irradiating ultraviolet.Default ultraviolet
Dose index refers to the optimal ultraviolet radiation dosage that human body receives.Default ultraviolet dosage index is used for and single-chip microcomputer
The 150 ultraviolet dosage indexes being calculated are compared, to determine whether ultraviolet irradiation is enough.When ultraviolet dosage refers to
When number is more than default ultraviolet dosage index, alarm module 180 sends alarm to remind the irradiation of user's ultraviolet excessive.This reality
Apply in example, alarm module 180 is preferably a buzzer.
With reference to figure 5, output module 170 includes display screen 172, for showing that the final calculation result of single-chip microcomputer 150 is i.e. purple
The digital signal value of outside line dose index and/or each second gathered data.Output module 170 also includes movement in the present embodiment
Terminal 174, mobile terminal 174 can be the terminals not only with display function but also with store function such as mobile phone, computer, mobile
Terminal 174 carries out bluetooth by the bluetooth module or wireless communication module set with the device or radio communication is connected, for showing
Show, bluetooth module or wireless communication module are connected with single-chip microcomputer, and wireless communication module can be such as WIFI module.It should be understood that
It is that display screen 172 and mobile terminal 174 are not necessarily all necessary, and both can reach the purpose of the application with the presence of one.
With reference to figure 4, the present invention also provides a kind of ultraviolet dosage index measurement method, comprised the following steps:
S101, key control module 190 send instruction, and control UV sensor 110 starts to gather ultraviolet
Line strength;
The uitraviolet intensity of collection is converted to electric signal by S103, UV sensor 110;
S105, key control module 190 send instruction, and it is ultraviolet that control UV sensor 110 stops collection
Line strength;
S107, signal processing system 130 carry out signal transacting to the electric signal;
S109, the reception signal processing system 130 of single-chip microcomputer 150 processing after signal and carry out analysis meter calculate draw ultraviolet
Dose index;
S111, output module 170 export ultraviolet dosage index.
In step S101, key control module 190 has first state and the second state, such as first state to press
State, the second state is upsprings state, after pushing button control module 190, the control single chip computer 150 of key control module 190 to
UV sensor 110 sends instruction, and control UV sensor 110 starts to gather uitraviolet intensity, and single-chip microcomputer 150 includes fixed
Shi Danyuan 154, setting UV sensor 110 gather the unit interval of uitraviolet intensity, i.e., how long gathered once ultraviolet
Line strength.
In step s 103, UV sensor 110 can measure 260~400nm scope, purple in the present embodiment
Outside line sensor 110 mainly measures UVB, i.e. 280~315nm wave band.
In step S105 and S107, after UV sensor 110 stops collection uitraviolet intensity, by signal processing system
The electric signal that 130 pairs of UV sensors 110 export is handled, and processing procedure has already described above, and does not repeat herein.
In S109, single-chip microcomputer 150 includes computing unit 152 and timing unit 154, and computing unit 152 is used for successively by purple
The uitraviolet intensity of the latter unit interval of outside line sensor 110 collection is strong with the ultraviolet of collection of previous unit interval respectively
Degree, uitraviolet intensity reference value comparative analysis, and when carrying out integral operation and calculating the latter unit interval and previous unit
Between between finsen unit dose index, and the finsen unit dose index calculated successively is added up, draws purple
Outside line dose index.Timing unit 154 is used for the unit interval for setting UV sensor collection uitraviolet intensity.The present embodiment
In, the unit interval that timing unit 154 is set, UV sensor 110 gathered a uitraviolet intensity in each second as one second.
The calculating process of single-chip microcomputer 150 is as follows:
With reference to figure 6 and Fig. 7, the reference axis of setting time and uitraviolet intensity, the time is set as trunnion axis, uitraviolet intensity
It is set as vertical axes.A period of time of the collection of UV sensor 110 is set as n, then ultraviolet passes within this period of time
The time of the uitraviolet intensity of collection in each second of sensor 110 is respectively set as n1、n2…….nn.To the collection of each time
The result that uitraviolet intensity is handled through signal processing system 130 is the uitraviolet intensity A of that time, then time n1、
n2…….nnUitraviolet intensity correspond to A respectively1、A2…….An.Setting can cause the purple of human body developmental biology effect
Outer line strength is DIt is invalid, DIt is invalidAs uitraviolet intensity reference value, if the uitraviolet intensity of collection is less than DIt is invalid, then irradiation is shown
Uitraviolet intensity is useless, will not cause human body developmental biology effect.
Below by taking 6 second time as an example, the time difference of the uitraviolet intensity of collection in each second of UV sensor 110
It is set as n1、n2、n3、n4、n5、n6, then the uitraviolet intensity of each time collection is ultraviolet after the processing of signal processing system 130
Line strength corresponds to A respectively1、A2、A3、A4、A5、A6, then A1、A2、A3、A4、A5、A6Respectively as schemed in time and intensity reference axis
Shown in 7, accumulated successively between the uitraviolet intensity to the collection of the latter time and the uitraviolet intensity of collection of previous time
Partite transport is calculated.Set A0Uitraviolet intensity when for the time being 0 second.
From n1Calculating is proceeded by, first to A1、A0And DIt is invalidThree is compared analysis, draws A0<DIt is invalid,A1>DIt is invalid, then
n1、n0、A1、A0Between formed a triangle, set A1With A0Line and A1With n1Line between angle be A, setting folder
Angle A corresponds to DIt is invalidLine segment be A sides, as shown in fig. 6, being higher than D in triangleIt is invalidArea be set as integrated value S1, i.e., it is effective
Finsen unit dose index S1, less than DIt is invalidArea be set as integrated value C1, integrated value C1It is invalid finsen unit agent
Volume index, it is not required to calculate, then to being higher than D in the triangleIt is invalidArea carry out integral operation, calculate finsen unit dosage refer to
Number is S1, integral operation can be carried out by below equation:
∠ A=arctan ((n1-n0)/(A1-A0));
A sides=(A1–DIt is invalid)*tanA;
S1=A sides * (A1–DIt is invalid)/2;
N can then be calculated1With n0Between finsen unit dose index S1。
Similarly, in n2When, to A2、A1And DIt is invalidThree is compared analysis, draws A2<DIt is invalid,A1>DIt is invalid, then n2、n1、A2、A1
Between formed a right-angled trapezium, set A2With A1Line and A1With n1Line between angle be A, setting included angle A is corresponding
DIt is invalidLine segment be A sides, be higher than D in right-angled trapeziumIt is invalidArea be set as finsen unit dose index S2, then to right angle ladder
It is higher than D in shapeIt is invalidArea carry out integral operation, calculate finsen unit dose index be S2, can be accumulated by below equation
Partite transport is calculated:
∠ A=arctan ((n2-n1)/(A1-A2));
A sides=(A1–DIt is invalid)*tanA;
S=A sides * (A1–DIt is invalid)/2;
N can then be calculated2With n1Between finsen unit dose index S2。
Similarly, in n3When, to A3、A2And DIt is invalidThree is compared analysis, draws A3>DIt is invalid, A2<DIt is invalid, then n3、n2、A3、A2
Between formed a right-angled trapezium, set A3With A2Line and A3With n3Line between angle be A, setting included angle A is corresponding
DIt is invalidLine segment be A sides, be higher than D in right-angled trapeziumIt is invalidArea be set as finsen unit dose index S3, then to right angle ladder
It is higher than D in shapeIt is invalidArea carry out integral operation, calculate finsen unit dose index be S3.Its calculation formula and time are n1
When formula it is identical, repeat no more here, then can calculate n3With n2Between finsen unit dose index S3。
Similarly, in n4When, to A4、A3And DIt is invalidThree is compared analysis, draws A4>DIt is invalid, A3>DIt is invalid, A4<A3, then n4、
n3、A4、A3Between form a right-angled trapezium, be higher than D in right-angled trapeziumIt is invalidArea be set as finsen unit dose index
S4, then to being higher than D in the right-angled trapeziumIt is invalidArea carry out integral operation, calculate finsen unit dose index be S4, can pass through
Below equation carries out integral operation:
S4=(n4–n3)*(A3–A4)/2+(n4–n3)*(A4–DIt is invalid);
N can then be calculated4With n3Between finsen unit dose index S4。
Similarly, in n5When, to A5、A4And DIt is invalidThree is compared analysis, draws A5>DIt is invalid, A4>DIt is invalid, A5>A4, then n5、
n4、A5、A4Between form a right-angled trapezium, be higher than D in right-angled trapeziumIt is invalidArea be set as finsen unit dose index
S5, then to being higher than D in the right-angled trapeziumIt is invalidArea carry out integral operation, calculate finsen unit dose index be S5, can pass through
Below equation carries out integral operation:
S5=(n5–n4)*(A5–A4)/2+(n5–n4)*(A4–DIt is invalid);
N can then be calculated5With n4Between finsen unit dose index S5。
Similarly, in n6When, to A6、A5And DIt is invalidThree is compared analysis, draws A6>DIt is invalid, A5>DIt is invalid, A6>A5, then n6、
n5、A6、A5Between form a right-angled trapezium, be higher than D in right-angled trapeziumIt is invalidArea be set as finsen unit dose index
S6, then to being higher than D in the right-angled trapeziumIt is invalidArea carry out integral operation, calculate finsen unit dose index be S6.It is calculated
Formula and time are n5When formula it is identical, repeat no more here, then can calculate n6With n5Between finsen unit dosage refer to
Number S6。
Also other several situations, by taking wherein some unit interval as an example, it is assumed that in n5When, A4=DIt is invalid, A5>DIt is invalid, it is right
A5、A4And DIt is invalidThree is compared analysis, then n5、n4、A5、A4Between form a right-angled trapezium, be higher than D in right-angled trapeziumIt is invalid
Area be set as finsen unit dose index S5, then to being higher than D in the right-angled trapeziumIt is invalidArea carry out integral operation, meter
It is S to calculate finsen unit dose index5, integral operation can be carried out by below equation:
S5=(n5–n4)*(A5–DIt is invalid)/2;
N can then be calculated5With n4Between finsen unit dose index S5;
Assuming that in n5When, A4>DIt is invalid, A5=DIt is invalid, to A5、A4And DIt is invalidThree is compared analysis, then n5、n4、A5、A4Between
A right-angled trapezium is formed, is higher than D in right-angled trapeziumIt is invalidArea be set as finsen unit dose index S5, then to the right angle
It is higher than D in trapezoidalIt is invalidArea carry out integral operation, calculate finsen unit dose index be S5, can be carried out by below equation
Integral operation:
S5=(n5–n4)*(A4–DIt is invalid)/2;
N can then be calculated5With n4Between finsen unit dose index S5;
Assuming that in n5When, A4=A5, A5>DIt is invalid, to A5、A4And DIt is invalidThree is compared analysis, then n5、n4、A5、A4Between
Formation one is square, is higher than D in squareIt is invalidArea be set as finsen unit dose index S5, then to this it is square in be higher than
DIt is invalidArea carry out integral operation, calculate finsen unit dose index be S5, integral operation can be carried out by below equation:
S5=(n5–n4)*(A5–DIt is invalid);
N can then be calculated5With n4Between finsen unit dose index S5;
Assuming that in n5When, A4=A5, A5<DIt is invalid, to A5、A4And DIt is invalidThree is compared analysis, then n5、n4、A5、A4Between
Formation one is square, is higher than D in squareIt is invalidArea be set as finsen unit dose index S5, then to being higher than D in the partyIt is invalid
Area carry out integral operation, then
S5=0;
N can then be calculated5With n4Between finsen unit dose index S5;
After finsen unit dose index calculates successively, by finsen unit dose index S1、S2、S3、S4、S5、S6
Added up, the ultraviolet dosage index in 6 seconds can be calculated, set ultraviolet dosage index as Suvb, then Suvb=S1+
S2+S3+S4+S5+S6, thus can be by output module 170 by ultraviolet dosage index SuvbOutput, user's can obtain
Know the dosage of ultraviolet irradiation.
Ultraviolet dosage index SuvbIt can be stored in memory module 140, and it is default in memory module 140 with being stored in
Ultraviolet dosage index is compared, to determine whether the irradiation of the ultraviolet of human body is enough, i.e., the ultraviolet of human body irradiates spoke
Whether enough penetrate dosage.As ultraviolet dosage index SuvbDuring more than default ultraviolet dosage index, alarm module 180 can be sent
Alarm, to remind the irradiation of user's ultraviolet excessive.
With reference to figure 8, when the time gathered is longer, ultraviolet dosage index S is calculateduvbFollowing general formula table can be used
Show:
Work as An-1<DIt is invalid,An>DIt is invalidShi You:
∠ A=arctan ((nn-nn-1)/(An-An-1))
A sides=(An–DIt is invalid)*tanA
S=A sides * (An–DIt is invalid)/2
Work as An-1>DIt is invalid,An<DIt is invalidShi You:
∠ A=arctan ((nn-nn-1)/(An-1-An))
A sides=(An-1–DIt is invalid)*tanA
S=A sides * (An-1–DIt is invalid)/2
Work as An-1=DIt is invalid,An>DIt is invalidShi You:
S=(nn–nn-1)*(An–DIt is invalid)/2
Work as An-1>DIt is invalid,An=DIt is invalidShi You:
S=(nn–nn-1)*(An-1–DIt is invalid)/2
Work as An-1>DIt is invalid,An>DIt is invalid,An-1<AnShi You:
S=(nn–nn-1)*(An–An-1)/2+(nn–nn-1)*(An-1–DIt is invalid)
Work as An-1>DIt is invalid,An>DIt is invalid,An-1>AnShi You:
S=(nn–nn-1)*(An-1–An)/2+(nn–nn-1)*(An–DIt is invalid)
Work as An-1=An An>DIt is invalid, Shi You:
S=(nn–nn-1)*(An–DIt is invalid)
Work as An-1=An An<DIt is invalid, Shi You:
S=0;
Then Suvb=S1+S2+S3+S4+……+Sn, so as to which ultraviolet dosage index be calculated.
The ultraviolet dosage index measurement devices and methods therefor provided using the application, can improve prior art can only be single
Point shows the defects of ultraviolet irradiation intensity.Because the uitraviolet intensity that individual receives in daily life becomes always
Change, so can not judge that human body is an actually-received according to the exposure intensity at some time point or the radiation intensity of specific environment
UV radiation dose.Furthermore due to irradiating the continuous change of angle, we are difficult the absolutely accurate irradiation of measure, so
The application introduces " ultraviolet dosage index " this concept, from now on may be actual by device due to establishing this concept
The biologically that " the ultraviolet dosage index " of measurement occurs with human body carries out big data comparative study, corresponding so as to find out it
Relation.
For the person of ordinary skill of the art, without departing from the inventive concept of the premise, if can also make
Dry modification and improvement, these belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be with appended right
It is required that it is defined.