CN107703558A - Article storage condition detection method and device based on the detection of double light - Google Patents
Article storage condition detection method and device based on the detection of double light Download PDFInfo
- Publication number
- CN107703558A CN107703558A CN201610640580.XA CN201610640580A CN107703558A CN 107703558 A CN107703558 A CN 107703558A CN 201610640580 A CN201610640580 A CN 201610640580A CN 107703558 A CN107703558 A CN 107703558A
- Authority
- CN
- China
- Prior art keywords
- optical signal
- reflected value
- data
- threshold values
- value
- 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
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01V—GEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
- G01V8/00—Prospecting or detecting by optical means
- G01V8/10—Detecting, e.g. by using light barriers
- G01V8/20—Detecting, e.g. by using light barriers using multiple transmitters or receivers
Landscapes
- Physics & Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- General Life Sciences & Earth Sciences (AREA)
- General Physics & Mathematics (AREA)
- Geophysics (AREA)
- Geophysics And Detection Of Objects (AREA)
Abstract
This application provides a kind of article storage condition detection method based on the detection of double light, comprise the following steps:The data of the first optical signal are gathered, using the data of the first optical signal as the first reflected value;The data of the second optical signal are gathered, using the data of the second optical signal as the second reflected value;Judge first reflected value and the second reflected value whether and meanwhile exist, if it is not present, then judge that article is not put into, if exist simultaneously, compare the size of first reflected value and the first threshold values, and second reflected value and the size of the second threshold values, if certain time meets that first reflected value is more than the first threshold values and second reflected value is more than second threshold values, judge that article has been put into.The application judges whether article has been placed and taken out using photosensitive sensors, so as to not influenceed by daytime, night, realizes whole day uninterrupted detection in 24 hours.Traditional manual detection mode is instead of, Anxiety of the people to important item secure context is eliminated, facilitates the trip of people.
Description
Technical field
The present invention relates to sensor technical field, and in particular to based on double light detection article storage condition detection method and
Device.
Background technology
With current scientific and technological fast development, good growth trend is also presented in economy, and people use the mouths such as wallet, mobile phone
Pouch-type instrument becomes inexorable trend.People, which go on a journey, carries the important items such as wallet, mobile phone, typically puts these small articles
In inlet pocket, still, it is exactly that article is easy to be lost that this carrying mode, which is easiest to produced problem,.In order to prevent the article in pocket
Not easy to be lost, the measure of people's generally use is:Go to touch pocket through conventional hand, to check article whether also in pocket;This
Kind action is not only very unbecoming, and this action easily makes people overtax one's nerves, and produces Anxiety.
The content of the invention
To solve the above problems, this application provides it is a kind of based on double light detection article storage condition detection method, its
Comprise the following steps:
S1:The data of the first optical signal are gathered, using the data of the first optical signal as the first reflected value;
S2:The data of the second optical signal are gathered, using the data of the second optical signal as the second reflected value;
S3:Judge first reflected value and the second reflected value whether and meanwhile exist, if being not present, judge article be not put into,
In the state of taking-up;If exist simultaneously, first reflected value and the size of the first threshold values, and second reflection
Value and the size of the second threshold values, if certain time meets that first reflected value is more than the first threshold values and second reflection
Value is more than second threshold values, then judges that article has been put into.
Preferably, the step S1 specifically comprises the following steps:
S11:Launch the first infrared ray;
S12:The data of the first optical signal of reflection are gathered, using the data of the first optical signal as the first reflected value.
It is further preferred that the step S2 specifically comprises the following steps:
S21:Launch the second infrared ray;
S22:The data of the second optical signal of reflection are gathered, using the data of the second optical signal as the second reflected value.
It may further be preferable that the step S3 specifically comprises the following steps:
S31:Processor judge the first reflected value and the second reflected value whether and meanwhile exist, if the first reflected value and the second reflected value
Asynchronously exist, judge that article is not put into;
S32:If the first reflected value and the second reflected value are present simultaneously, processor judges first reflected value and the first valve
The size of value, and second reflected value and the size of the second threshold values, if persistently meeting the first reflected value in specified time
More than the first threshold values, and the second reflected value is more than second threshold values simultaneously, then judges that article has been put into.
To realize above-mentioned article storage condition detection method, present invention also provides a kind of article storage detection means, its
Technical scheme is as follows:
A kind of article storage detection means based on the detection of double light, including:First photosensitive sensors, the second photosensitive sensors and place
Manage device.Wherein, the first photosensitive sensors and the second photosensitive sensors are connected with processor respectively.
First photosensitive sensors are used to launch the first infrared ray and gather the data of the first optical signal reflected, and with
The data of first optical signal are sent to processor as the first reflected value;
Second photosensitive sensors are used to launch the second infrared ray, the data for the second optical signal that collection is reflected, with the second light
The data of signal are that the second reflected value is sent to processor;
The first threshold values, the second threshold values and the 3rd threshold values are provided with the processor, the processor includes:First receiving unit,
Second receiving unit, the first identifying unit, the second identifying unit and counting unit;
First identifying unit be used for judge first optical signal data and the second optical signal data whether and meanwhile deposit
If asynchronously existing, judging that article is not put into;
Second identifying unit is used to judge whether first reflected value is more than the first threshold values and whether the second reflected value is big
In the second threshold values, if the first reflected value is more than the first threshold values and the second reflected value is more than the second threshold values, the control of the second identifying unit
Counting unit adds one automatically;
The counting unit, which is used to count, continuously meets that the first reflected value is more than the first threshold values and the second reflected value is more than the second valve
The number of value, when the count value is more than three threshold values, counting unit counts reset and judge that article has been put into.
Preferably, in the above-mentioned article storage detection means based on the detection of double light:First photosensitive sensors include
First infrared emission unit and the first optical signal receiving unit;First infrared emission unit is used to send the first infrared ray;
First optical signal cell is used for the data for gathering the first optical signal of reflection;It is red that second photosensitive sensors include second
Outer transmitter unit and the second optical signal receiving unit;Second infrared emission unit is used to send the second infrared ray;Described
Two infrared receivers are used for the data for gathering the second optical signal of reflection.
Preferably, in the above-mentioned article storage detection means based on the detection of double light:The processor also includes bluetooth control
Port processed, bluetooth remote control is realized by the Bluetooth control port.
According to article storage condition detection method of the above-described embodiment based on the detection of double light, due to by by the light of collection
Signal is converted into reflected value, judges whether article has been put into according to reflected value so that, the application utilizes aptitude manner detection article
Storage configuration instead of the mode that people are touched with hand, further obviate the Anxiety of people, improve the trip side of people
Just.
Brief description of the drawings
Fig. 1 is to the overhaul flow chart of article storage state in embodiment 1;
Fig. 2 is to judging article storage state flow chart in embodiment 1;
Fig. 3 is the structural representation of the article storage condition checkout gear based on the detection of double light in embodiment 2.
Reference and specific component names corresponding relation are as follows:
1st, the first photosensitive sensors;2nd, the second photosensitive sensors;3rd, processor;11st, the first infrared emission unit;12nd, the first light
Signal receiving unit;21st, the second infrared emission unit;22nd, the second optical signal receiving unit;31st, the first receiving unit;32nd,
Two receiving units;33rd, the first identifying unit;34th, the second identifying unit;35th, counting unit.
Embodiment
The present invention is described in further detail below by embodiment combination accompanying drawing.
Embodiment 1 as shown in Figure 1-2:
This example provides a kind of article storage condition detection method based on the detection of double light, and its flow chart is as shown in figure 1, including as follows
Step.
S1:Gather the data of the first optical signal.
First photosensitive sensors 1 launch the first infrared ray periodically through the first infrared emission unit 11, while pass through the
First optical signal of one optical signal receiving unit 12 collection reflection, and the data of the first optical signal of collection are sent to processor
3, such as the first photosensitive sensors 1 are the first optical signal of cycle collection using 1s, and then, the first photosensitive sensors 1 are by the first optical signal
Data sent as the first reflected value to processor 3.
S2:Gather the data of the second optical signal.
Second photosensitive sensors 2 launch the second infrared ray periodically through the second infrared emission unit 21, while pass through the
Second optical signal of two optical signal receiving units 22 collection reflection, and the data of the second optical signal of collection are sent to processor
3, such as the second photosensitive sensors 2 gather the second optical signal by the cycle of 1s;Then, the second photosensitive sensors 2 are by the second optical signal
Data sent as the second reflecting paper to processor 3.
S3:Judge article storage state.
In this step, processor judge the first reflected value and the second reflected value whether and meanwhile exist, if when both are different not
In the presence of then judgement article is not put into, if in the presence of the first reflected value and the second reflected value, compares the first reflected value and the first threshold values
Size, compare the size of the second reflected value and the second threshold values, if the first reflected value is more than the first threshold values, and second reflected value
More than the second threshold values, then judge that article has been put into.
Specifically, step S3 comprises the following steps:
S31:Processor 3 with the first identifying unit 33 judge the first reflected value and the second reflected value whether and meanwhile exist:In this example
Judge whether article is deposited according to infrared reflection principle.The first photosensitive sensors 1 the first infrared ray of transmitting on article, second
Photosensitive sensors 2 launch the second infrared ray.When the first photosensitive sensors 1 collect the data of the first optical signal simultaneously by the cycle of 1s
Processor 3 is sent it to, while the second photosensitive sensors 2 collect the data of the second optical signal as the cycle using 1s and sent out
Deliver to processor 3.Then processor 3 then obtains the first optical signal and the second optical signal by the cycle of 1s, due to only when first is infrared
Line and the second infrared ray are blocked by pocket inwall simultaneously when, the first optical signal and the second optical signal of reflection can be just produced simultaneously,
Therefore when in processor 3 the first identifying unit 33 judge the first reflected value with the second reflected value difference when in the presence of, then judge thing
Product are not put into.Otherwise, into step S32.
S32:The first identifying unit 34 in processor 3 judges whether the first reflected value and the second reflected value meet that first is anti-
Penetrate value and be more than the second threshold values more than the first threshold values and second reflected value.Specifically, the first threshold values is 250, the second threshold values is
450;First reflected value and 250 are carried out size comparison by processor, the second reflected value and 450 are carried out into size comparison, when first
Reflected value be more than 250, and the second reflected value be more than 450 when, judgement enter step S33.
S33:Counter 35 in processor 3 counts the number for meeting first condition, and judges whether that continuous N time meets the
One condition.When the first reflected value and the second reflected value meet that the first reflected value is more than the first threshold values, second reflected value is more than
During the second threshold values, counter 35 plus 1.And when the first reflected value and the second reflected value are unsatisfactory for the first reflected value and are more than the first threshold values
And second reflected value, when being more than the second threshold values, counter 35 clear 0 simultaneously returns to S31;The M values of this example are 10, when continuous 10
When the first reflected value of secondary satisfaction is more than the first threshold values and second reflected value and is more than the second threshold values, judge article in being put into shape
State.
The above-mentioned article storage condition detection method based on the detection of double light is applicable to detect the small articles such as mobile phone, wallet
Whether empocket, below, above-mentioned detection method is illustrated by taking mobile phone as an example, in other embodiments, it can be detected
The storage configuration of his article.
Embodiment 2:
Based on embodiment 1, this example additionally provides a kind of article storage condition checkout gear based on the detection of double light, and its schematic diagram is such as
Shown in Fig. 3, including the first photosensitive sensors 1, the second photosensitive sensors 2 and processor 3.First photosensitive sensors 1 and
Two photosensitive sensors 2 are connected with the processor 3 respectively;First photosensitive sensors 1 are used to launch the first infrared ray, collection
The data of first optical signal of reflection, send to processor 3 by the first reflected value of the data of the first optical signal;Second light
Propagated sensation sensor 2 be used to launching the second infrared ray, collection reflection the first optical signal data, using the data of the second optical signal as the
Two reflected values are sent to processor 3.
The first threshold values, the second threshold values and the 3rd threshold values are provided with the processor 3, the processor 3 includes:First receives
Unit 31, the second receiving unit 32, the first identifying unit 33, the second identifying unit 34 and counting unit 35;Described first receives
Unit 31 is used for the data for receiving first optical signal;Second receiving unit 32 is used to receive second optical signal
Data;Whether simultaneously first identifying unit 33 is used for the data for data and the second optical signal for judging first optical signal
In the presence of if asynchronously existing, judgement article is not put into;
Second identifying unit 34 is used to judge whether first reflected value be more than the first threshold values and the second reflected value
More than the second threshold values, if the first reflected value is more than the first threshold values and the second reflected value is more than the second threshold values simultaneously, second judges list
Member 34 controls counting unit 35 to add one automatically;
The counting unit 35 is used to count the first reflected value of continuous satisfaction more than the first threshold values and the second reflected value is more than second
The number of threshold values, when count value is more than three threshold values, counting unit 35, which counts, resets and judges that article has been put into.Wherein, it is described
First photosensitive sensors 1 include the first infrared emission unit 11 and the first optical signal receiving unit 12;The second light sensation sensing
Device 2 includes the second infrared emission unit 21 and the second optical signal receiving unit 22;First infrared emission unit 11 is used to send out
Go out the first infrared ray;First optical signal cell 12 is used for the data for gathering the first optical signal of reflection;Described second is infrared
Transmitter unit 21 is used to send the second infrared ray;Second infrared receiver 22 is used for the second optical signal for gathering reflection
Data.The processor 3 is provided with Bluetooth control port.
In order to prevent the first photosensitive sensors 1 and the second photosensitive sensors 2 from surveying situation by the mistake that dead reflected value is 0 is sealed, this
Example device also includes crystal cover, and crystal cover is covered on the first photosensitive sensors 1 and the outside of the second photosensitive sensors 2.Meanwhile crystal
Cover can also be the effect that the first photosensitive sensors 1 and the second photosensitive sensors 2 provide water proof and dust proof.
Crystal cover can produce reflection error to the reflected value of the first photosensitive sensors 1 and the second photosensitive sensors 2, and because of water
The making difference of crystalline substance cover, different crystal covers have different influences to the reflected value of light sensation, cause error.The side of this example verification
Method solves reflection error caused by different crystal covers, and method of calibration is:First photosensitive sensors 1 and the second photosensitive sensors 2
The reflected value of photosensitive sensors is periodically read during without any blocking, the reflected value with adding crystal cover carries out P contrast, then does
Average algorithm, this result are the error amount of crystal cover.
Use above specific case is illustrated to the present invention, is only intended to help and is understood the present invention, not limiting
The system present invention.For those skilled in the art, according to the thought of the present invention, can also make some simple
Deduce, deform or replace.
Claims (7)
1. a kind of article storage condition detection method based on the detection of double light, it is characterised in that comprise the following steps:
S1:The data of the first optical signal are gathered, using the data of the first optical signal as the first reflected value;
S2:The data of the second optical signal are gathered, using the data of the second optical signal as the second reflected value;
S3:Judge first reflected value and the second reflected value whether and meanwhile exist, if being not present, judge article be not put into,
In the state of taking-up, if exist simultaneously, the size of first reflected value and the first threshold values, and second reflection
Value and the size of the second threshold values, if certain time meets that first reflected value is more than the first threshold values and second reflection
Value is more than second threshold values, then judges that article has been put into.
A kind of 2. article storage condition detection method based on the detection of double light as claimed in claim 1, it is characterised in that:The step
Rapid S1 specifically comprises the following steps:
S11:Launch the first infrared ray;
S12:The data of the first optical signal of reflection are gathered, using the data of the first optical signal as the first reflected value.
A kind of 3. article storage condition detection method based on the detection of double light as claimed in claim 2, it is characterised in that:The step
Rapid S2 specifically comprises the following steps:
S21:Launch the second infrared ray;
S22:The data of the second optical signal of reflection are gathered, using the data of the second optical signal as the second reflected value.
A kind of 4. article storage condition detection method based on the detection of double light as claimed in claim 3, it is characterised in that:Step S3
Specifically comprise the following steps:
S31:Processor judge the first reflected value and the second reflected value whether and meanwhile exist, if the first reflected value and the second reflected value
Asynchronously exist, judge that article is not put into;
S32:If the first reflected value and the second reflected value are present simultaneously, processor judges first reflected value and the first valve
The size of value, and second reflected value and the size of the second threshold values, if persistently meeting the first reflected value in specified time
More than the first threshold values, and the second reflected value is more than second threshold values simultaneously, then judges that article has been put into.
A kind of 5. article storage detection means based on the detection of double light, it is characterised in that including:First photosensitive sensors (1),
Two photosensitive sensors (2) and processor (3);
First photosensitive sensors (1) and the second photosensitive sensors (2) are connected with the processor (3) respectively;
First photosensitive sensors (1) are used to launch the first infrared ray, the data for the first optical signal that collection is reflected, with first
The data of optical signal are that the first reflected value is sent to processor(3);
Second photosensitive sensors (2) are used to launch the second infrared ray, the data for the second optical signal that collection is reflected, with second
The data of optical signal are that the second reflected value is sent to processor(3);
The first threshold values, the second threshold values and the 3rd threshold values, the processor are provided with the processor (3)(3)Including:First receives
Unit (31), the second receiving unit (32), the first identifying unit (33), the second identifying unit (34) and counting unit (35);
First receiving unit (31) is used for the data for receiving first optical signal;
Second receiving unit (32) is used for the data for receiving second optical signal;
Whether the data that first identifying unit (33) is used for data and the second optical signal for judging first optical signal are same
When exist, if asynchronously existing, judge article be not put into;
Second identifying unit (34) is used to judge whether first reflected value is more than the first threshold values and the second reflected value and is
No to be more than the second threshold values, if the first reflected value is more than the first threshold values and the second reflected value is more than the second threshold values simultaneously, second judges
Unit(34)Control counting unit(35)It is automatic to add one;
The counting unit (35), which is used to counting, continuous meets that the first reflected value is more than the first threshold values and the second reflected value is more than the
The number of two threshold values, the counting unit when count value is more than three threshold values(35)Count and reset and judge that article has been put into.
A kind of 6. article storage detection means based on the detection of double light as claimed in claim 5, it is characterised in that first light
Propagated sensation sensor (1) includes the first infrared emission unit (11) and the first optical signal receiving unit (12);The second light sensation sensing
Device (2) includes the second infrared emission unit (21) and the second optical signal receiving unit (22);
First infrared emission unit (11) is used to send the first infrared ray;
First optical signal cell (12) is used for the data for gathering the first optical signal of reflection;
Second infrared emission unit (21) is used to send the second infrared ray;
Second infrared receiver (22) is used for the data for gathering the second optical signal of reflection.
A kind of 7. article storage detection means based on the detection of double light as claimed in claim 6, it is characterised in that the processor
(3) it is provided with Bluetooth control port.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610640580.XA CN107703558A (en) | 2016-08-08 | 2016-08-08 | Article storage condition detection method and device based on the detection of double light |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610640580.XA CN107703558A (en) | 2016-08-08 | 2016-08-08 | Article storage condition detection method and device based on the detection of double light |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107703558A true CN107703558A (en) | 2018-02-16 |
Family
ID=61169119
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610640580.XA Pending CN107703558A (en) | 2016-08-08 | 2016-08-08 | Article storage condition detection method and device based on the detection of double light |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107703558A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111429649A (en) * | 2020-03-09 | 2020-07-17 | 北京爱笔科技有限公司 | Goods identification method, device and system |
-
2016
- 2016-08-08 CN CN201610640580.XA patent/CN107703558A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111429649A (en) * | 2020-03-09 | 2020-07-17 | 北京爱笔科技有限公司 | Goods identification method, device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105231757B (en) | A kind of Intelligent water cup being able to record that user is accustomed to | |
AU2013334472A1 (en) | Distributed monitoring system and waste management system and method | |
CN105844240A (en) | Method and device for detecting human faces in infrared temperature measurement system | |
CN108051848B (en) | Earthquake early-warning system and seismologic parameter acquisition methods based on acceleration transducer | |
CN107720044A (en) | Its recovery method as resource and resource recovering system | |
US20160091359A1 (en) | System and method for measuring segment parameters of a human body for recording a body mass index | |
CN104764480B (en) | It is a kind of from indoor moving to outdoor determination methods and device | |
JP5857397B2 (en) | Step information acquisition system and step information acquisition method | |
CN208602437U (en) | A kind of Vehicular intelligent monitoring device | |
CN103048539A (en) | Accurate acquisition device and method of power frequency in audio forensics | |
CN107703558A (en) | Article storage condition detection method and device based on the detection of double light | |
CN106225844A (en) | A kind of multifunctional intellectual home sensor | |
CN113320852A (en) | Garbage capacity monitoring system and method based on ultrasonic waves | |
CN205375082U (en) | Sensing data collection system based on synchronous time service of GPS | |
CN104732697A (en) | Internet of things and face recognition based safety monitoring system | |
CN202652541U (en) | Intelligent wireless sensing system | |
CN209132882U (en) | A kind of intelligence water utilities management system | |
CN106910308A (en) | Smart home security apparatus and system | |
US11027623B2 (en) | Information processing server and information processing system | |
CN108896715A (en) | Air quality system for prompting | |
CN107380817A (en) | The intelligent garbage bin and capacity reminding method of capacity can be prompted | |
CN108881385A (en) | Detection device and its method under a kind of big data | |
CN206684871U (en) | A kind of smart home security apparatus and system | |
AU2016100032A4 (en) | Waste Monitoring System | |
CN204515963U (en) | A kind of safety monitoring system based on Internet of Things and retina identification |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180216 |
|
WD01 | Invention patent application deemed withdrawn after publication |