CN108242137A - For sensor alarm trigger method and use its electronic device - Google Patents
For sensor alarm trigger method and use its electronic device Download PDFInfo
- Publication number
- CN108242137A CN108242137A CN201710403044.2A CN201710403044A CN108242137A CN 108242137 A CN108242137 A CN 108242137A CN 201710403044 A CN201710403044 A CN 201710403044A CN 108242137 A CN108242137 A CN 108242137A
- Authority
- CN
- China
- Prior art keywords
- numerical value
- decision threshold
- sensor
- signal
- signal numerical
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 201000004569 Blindness Diseases 0.000 claims description 18
- 238000001514 detection method Methods 0.000 description 17
- 238000010586 diagram Methods 0.000 description 9
- 230000005855 radiation Effects 0.000 description 9
- 239000008186 active pharmaceutical agent Substances 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- IOEJYZSZYUROLN-UHFFFAOYSA-M Sodium diethyldithiocarbamate Chemical compound [Na+].CCN(CC)C([S-])=S IOEJYZSZYUROLN-UHFFFAOYSA-M 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 230000009514 concussion Effects 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 230000035945 sensitivity Effects 0.000 description 2
- 238000011105 stabilization Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 241001465754 Metazoa Species 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B29/00—Checking or monitoring of signalling or alarm systems; Prevention or correction of operating errors, e.g. preventing unauthorised operation
- G08B29/18—Prevention or correction of operating errors
- G08B29/185—Signal analysis techniques for reducing or preventing false alarms or for enhancing the reliability of the system
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J5/00—Radiation pyrometry, e.g. infrared or optical thermometry
- G01J5/0022—Radiation pyrometry, e.g. infrared or optical thermometry for sensing the radiation of moving bodies
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J5/00—Radiation pyrometry, e.g. infrared or optical thermometry
- G01J5/02—Constructional details
- G01J5/027—Constructional details making use of sensor-related data, e.g. for identification of sensor parts or optical elements
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S11/00—Systems for determining distance or velocity not using reflection or reradiation
- G01S11/02—Systems for determining distance or velocity not using reflection or reradiation using radio waves
- G01S11/06—Systems for determining distance or velocity not using reflection or reradiation using radio waves using intensity measurements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/16—Gateway arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Geophysics And Detection Of Objects (AREA)
- Mobile Radio Communication Systems (AREA)
- Emergency Alarm Devices (AREA)
- Telephonic Communication Services (AREA)
Abstract
The present invention provides a kind of alarm trigger method for sensor and uses its electronic device, and the method is suitable for electronic device and includes the following steps.From sensor receiving sensor signal, and judge whether the signal numerical value of sensor signal meets the first trigger condition, wherein the first trigger condition is associated with the first decision threshold.When signal numerical value meets the first trigger condition, judge whether signal numerical value meets the second trigger condition or third trigger condition, wherein the second trigger condition is associated with the second decision threshold, and the second decision threshold is higher than the first decision threshold, and third trigger condition is associated with time decision threshold.When signal numerical value meets the second trigger condition or third trigger condition, judgement sensor is alarm state, to export alarm signal.
Description
Technical field
A kind of electronic device more particularly to a kind of for sensor the present invention relates to alarm trigger method and using it
Alarm trigger method and use its electronic device.
Background technology
Infrared ray action sensor is (also known as " human infrared sensor ") a kind of passive infrared sensor, is
By absorbing the infrared radiation signal of foreign body, by the Fresnel lens (Fresnel Lens) of sensor surface, into
And generate the analog signal of positive and negative concussion.General existing way is that this analog signal is sampled, and infrared radiation is believed
Number infrared radiation value is converted into, and infrared radiation value and a preset threshold values are compared, so as to judge whether
There is any object close.
However, the infrared radiation value that human body, animal and other objects are sent out is had nothing in common with each other, and sensor is in difference
Received infrared radiation value can also change under environment.Therefore threshold values and single is fixed used by existing way
The infrared radiation value that is easy to cause under different foreign bodies and varying environment of judgment mode false alarm is caused to trigger.
Invention content
In view of this, the present invention provides a kind of alarm trigger method for sensor and uses its electronic device,
Judge whether the signal numerical value of sensor reaches the condition of alarm trigger using multiple threshold values, to reduce erroneous trigger alarm
Probability.
In one embodiment of the invention, the above-mentioned alarm trigger method for sensor be suitable for electronic device and including
The following steps.From sensor receiving sensor signal, and judge whether the signal numerical value of sensor signal meets the first triggering
Condition, wherein the first trigger condition is associated with the first decision threshold.When signal numerical value meets the first trigger condition, signal is judged
Whether numerical value meets the second trigger condition or third trigger condition, wherein the second trigger condition is associated with the second decision threshold,
Second decision threshold is higher than the first decision threshold, and third trigger condition is associated with time decision threshold.When signal numerical value meets
When two trigger conditions or third trigger condition, judgement sensor is alarm state, to export alarm signal.
In one embodiment of this invention, above-mentioned electronic device includes analog-digital converter, memory and processing
Device, wherein processor are coupled to analog-digital converter and memory.Analog-digital converter passes to be received from sensor
Sensor signal is converted to signal numerical value by sensor signal.Whether processor is judging the signal numerical value of sensor signal
Meet the first trigger condition, when signal numerical value meets the first trigger condition, will determine that whether signal numerical value meets the second triggering
Condition or third trigger condition, and when signal numerical value meets the second trigger condition or third trigger condition, judgement is passed
Sensor is alarm state, to export alarm signal, wherein the second trigger condition is associated with the second decision threshold, the second decision threshold
Higher than the first decision threshold, third trigger condition is associated with time decision threshold.
To make the foregoing features and advantages of the present invention clearer and more comprehensible, special embodiment below, and it is detailed that attached drawing is coordinated to make
Carefully it is described as follows.
Description of the drawings
Fig. 1 is the block schematic diagram according to the electronic device shown by one embodiment of the invention.
Fig. 2 is the flow chart according to the alarm trigger method shown by one embodiment of the invention.
Fig. 3 is the situation schematic diagram of existing alarm trigger method.
Fig. 4 A~Fig. 4 B are the schematic diagrames according to the alarm trigger method shown by one embodiment of the invention.
Fig. 5 is the calculation flow chart according to the alarm trigger method shown by one embodiment of the invention.
Fig. 6 is the state transition diagram according to the alarm trigger method shown by one embodiment of the invention.
Fig. 7 is the block schematic diagram according to the electronic device shown by another embodiment of the present invention.
Reference sign
100:Electronic device
110:Analog-digital converter
120:Memory
130:Processor
SR:Sensor
S202~S212, S502~S522:Step
PC:Child
PA:Adult
Ac、AA、A1、A2、A3、B1、B2:Signal amplitude
TH、TH+、TH-:Threshold values
TH1、TH1+、TH1-:First decision threshold
TH2、TH2+、TH2-:Second decision threshold
TD:Detect delay time
TB:The blindness time
S0:Stable state
S1:Erroneous judgement state
S2:Alarm state
T0、T10、T01、T12、T20、T02:State shift direction
DS:Detection sensor
TS:Temperature sensor
700:Electronic device
ADC:Analog-digital converter
AVG:Threshold values adjusts generator
THG:Threshold values generator
TH1C:First threshold values comparator
TH2C:Second threshold values comparator
CLK:Elapsed time clock
DDTC:Detect delay time comparator
SP:Condition handler
Specific embodiment
Next the part embodiment of the present invention will coordinate attached drawing to be described in detail, the element cited in following description
Symbol will be regarded as the same or similar element when identical component symbol occur in different attached drawings.These embodiments are the present invention
Some, do not disclose the embodiment of all present invention.More precisely, these embodiments are the patent of the present invention
The example of method and electronic device in application range.
Fig. 1 is according to the block schematic diagram of the electronic device shown by one embodiment of the invention, but this is merely for convenience
Illustrate, be not intended to limit the invention.Fig. 1 first first introduces all components and configuration relation in electronic device, detailed work(
Cooperation Fig. 2 can be disclosed together.
Please refer to Fig. 1, the electronic device 100 in the present embodiment includes sensor SR, analog-digital converter 110, storage
Device 120 and processor 130, wherein processor 130 are coupled to analog-digital converter 110 and memory 120.However,
In other embodiments, electronic device 100 can be computer system or device with signal and data processing ability, external
In sensor SR.However in other embodiments, electronic device 100 can also be integrated into single device with sensor SR.
This sensor SR may, for example, be light source sensor, sound transducer, infrared ray sensor, temperature sensor, humidity sensor
Device, baroceptor, gas sensor, UV sensor etc. are sensing the device of environmental information.
Analog-digital converter 110 from the continuous signal of the analog form received by sensor SR will be converted to number
The discrete signal of font formula.
Memory 120 may, for example, be the fixed or removable of arbitrary pattern to store the data such as data, procedure code
Dynamic formula random access memory (random access memory, RAM), read-only memory (read-only memory,
ROM), flash memory (flash memory), hard disk or other similar devices, integrated circuit and combinations thereof.
Processor 130 may, for example, be central processing unit (central processing unit, CPU) or other
The general service of programmable or microprocessor (microprocessor), the microcontroller of specific use
(microcontroller, MCU), programmable logic device (programmable logic device, PLD), number letter
Number processor (digital signal processor, DSP), scene can programmed logic gate array (field-
Programmable gate array, FPGA), Application Specific Integrated Circuit (application specific
Integrated circuits, ASIC), other similar devices or circuit, to control the overall operation of electronic device 100.
Each element of the i.e. electronic device 100 of collocation Fig. 1 enumerates embodiment below, to illustrate electronic device 100 for passing
Sensor SR performs the detailed step of alarm trigger method.
Fig. 2 is the flow chart according to the alarm trigger method shown by one embodiment of the invention.The present embodiment is mainly logical
Two different detection thresholds and a time decision threshold are crossed to reduce the generation of false alarm triggering, wherein all threshold values
It has been pre-stored in memory 120.
Referring to Fig. 1 and Fig. 2, first, the analog-digital converter 110 of electronic device 100 connects from sensor SR
Sensor signal (step S202) is received, and sensor signal is converted into the signal numerical value of digital form.Then, processor
130 judge whether the signal numerical value of sensor signal meets the first trigger condition (step for being associated with the first decision threshold
S204).First trigger condition in this is more than the first decision threshold for the signal numerical value of sensing signal.When processor 130 judges
When signal numerical value does not meet the first trigger condition (that is, signal numerical value is less than the first decision threshold), then at representative sensor SR
In stable state (step S206), that is, the condition of triggering alarm has not yet been reached.
On the other hand, when processor 130 judge signal numerical value meet the first trigger condition when (that is, signal numerical value is more than
First decision threshold), processor 130 will further judge whether the signal numerical value of sensing signal meets and be associated with second
Second trigger condition of decision threshold or the third trigger condition (step S208) for being associated with time decision threshold, wherein second
Decision threshold is higher than the first decision threshold.
Specifically, in order to avoid the external factors of sensor SR because of internal factor or slightly cause signal numerical value slightly
It rises and falls so that more than the first decision threshold, the second trigger condition can be added herein to be used as adjustment trigger sensitivity, kept away
Fault-avoidance false alarm happens, and the second above-mentioned trigger condition is more than the second judgement valve for the signal numerical value of sensing signal
Value.When processor 130 judges that signal numerical value meets the second trigger condition (that is, the signal numerical value of sensing signal is more than second
Decision threshold), then confirm that sensor SR is in alarm state (step S212), that is, reach the condition of triggering alarm.
It should be noted that when processor 130 judges that signal numerical value does not meet the second trigger condition (that is, sensing letter
Number signal numerical value between the first decision threshold and the second decision threshold), will further with third trigger condition make
Judge whether this situation is false alarm for subsidiary conditions.Above-mentioned third trigger condition surpasses for the signal numerical value of sensing signal
The continuous time for crossing the first decision threshold is more than time decision threshold.When processor 130 judges that signal numerical value meets third triggering
During condition (that is, the continuous time that the signal numerical value of sensing signal is more than the first decision threshold is more than time decision threshold), then
Representative sensor SR is in alarm state (step S212), that is, reaches the condition of triggering alarm.
It can deductively, when processor 130 judges that signal numerical value does not meet the second trigger condition and third trigger condition is appointed
During one (that is, the continuous time that the signal numerical value of sensing signal is more than the first decision threshold is less than time decision threshold),
Namely signal value slightly rises and falls so that briefly going above the first decision threshold and being dropped back into immediately less than the first decision threshold
State, then representative sensor SR is in erroneous judgement state (step S210), that is, not up to triggers the condition of alarm.
In the present embodiment, when processor 130 judges that sensor SR is in alarm state, it will output alarm signal.
Processor 130 can be connected to the e.g. output devices (not shown) such as loud speaker, screen, indicator light, in alarm state
When send out the alarm signals such as the sound, voice, word, figure or light.Electronic device 100 can be wireless or wired connection
To another device, and this alarm signal can transmit to another device, using the trigger signal operated as another device.
For the flow of more convenient clear Fig. 2, will be used as below using passive infrared sensor sensor SR as
Embodiment is illustrated.
Fig. 3 is the situation schematic diagram of existing alarm trigger method.Fig. 4 A~Fig. 4 B are according to one embodiment of the invention institute
The schematic diagram of alarm trigger method for sensor is shown.Sensor in the present embodiment is passive infrared sensing
Device.
It,, can be because of sense in same detection range R by taking passive infrared sensor PIR as an example please also refer to Fig. 3
Surveying object is child PC or adult PA and detects different infrared radiation values, and different letters is generated within the similary time
Number amplitude A c and signal amplitude AA.Therefore, if can to touch (including TH+ and TH-) with single group of fixed threshold values TH
Clockwork spring part elasticity is poor.
Referring again to Fig. 4 A, under the detection environment identical with Fig. 3, it is assumed that electronic device 100 is judging trigger condition
Threshold values be first group of threshold values TH1 (including TH1+ and TH1-) and second group of threshold values TH2 (including TH2+ and TH2-).The
One group of threshold values TH1 is intended for the decision content of stable state transfer, and second group of threshold values TH2 is intended for adjustment triggering spirit
Used in sensitivity, therefore second group of threshold values TH2 can be adjusted depending on the object to be detected.
The signal numerical value of sensor SR may fall into three different sections.The first is less than first group for signal numerical value
Threshold values, that is, signal amplitude fall into the stable state between TH1+ and TH1-, such as signal amplitude A1.Second is signal number
It is worth more than second group threshold values, that is, signal amplitude falls into the alarm state between TH2+ and ∞ or between-∞ and TH2-, example
Such as signal amplitude A2.The third is more than first group of threshold values for signal numerical value but is less than second group of threshold values, that is, signal amplitude
It falls between TH1+ and TH2+ or TH2- and TH1-, such as signal amplitude A3.When the signal numerical value of sensor SR falls into third
In the case of kind section, one detection delay time of extra setup is needed to be used as buffering, to avoid sending out for false alarm.
Specifically, Fig. 4 B are please referred to, signal amplitude B1 is after time t1 beyond first group of threshold values TH1+ (without departing from TH2
+), but dropped back into first group of threshold values TH1+ before delay time TD is detected, therefore representative sensor SR is in erroneous judgement state.
On the other hand, signal amplitude B2 is more than inspection beyond first group of threshold values TH1- (without departing from TH2-) and continuous time when time t1
Delay time TD is surveyed, therefore representative sensor SR is in alarm state.In addition, after shaking for the first time, processor 130 will set one
A time span (hereinafter referred to as " blindness time TB ") is shaken to close detection, and the situation of triggering is detected to avoid repetition.Cause
This, signal amplitude B1 and signal amplitude B2 can just judge that sensor SR is returned in concussion for the first time and after blindness time TB
To stable state.
In order to more completely illustrate preceding method, Fig. 5 is according to the alarm trigger method shown by one embodiment of the invention
Calculation flow chart.
Referring to Fig. 1 and Fig. 5, when electronic device 100 initially enters the alarm trigger method flow of sensor SR
When, processor 130 will start timer (step S502).Processor 130, can be by sensor SR before not yet signal numerical value is obtained
State be preset as stable state (step S504).Processor 130 obtains signal numerical value a (step S506) in time t, and
This time t is the current time point of timer.Then, processor 130 first judges signal number with first group of decision threshold TH1
Whether the section that value a is fallen into meets a>TH1+ or a<TH1- (step S508), if it is not, i.e. representation signal numerical value a is less than the
One group of decision threshold TH1, that is, sensor SR are in stable state, i.e., flow returns to step S504, and processor 130 will
Constantly judge the section that the signal value of next time point acquirement is fallen into.
When step S508 is when being judged as YES, processor 130 will be further in the signal number in detection delay time TD
Value a ' judges the state of sensor SR.Here, processor 130 will judge signal numerical value a ' with second group of decision threshold TH2
Whether the section fallen into meets a '>TH2+ or a '<TH2- (step S512).
When step S512 is when being judged as YES, processor 130 will judge that sensor SR is alarm state (step S516).It connects
It, will go into blindness time TB, and processor 130 will determine that whether blindness time TB terminates that (step S518, i.e. time point are
It is no to have reached t+TD+TB).If blindness time TB not yet terminates, processor 130 can continue sensor SR being determined as alarm shape
State (returns to step S516), and at the end of blindness time TB, sensor SR can be transferred to preset stable shape by processor 130
State (returns to step S504), to re-start the judgement of state.
On the other hand, when step S512 is when being judged as NO, processor 130 will be further in detection delay time TD
The sections that are fallen into of signal numerical value a ' whether still conform to a '>TH1+ or a '<TH1- (step S514).If so, processor 130
It is alarm state (step S516) by judgement sensor SR.If it is not, processor 130 will judge sensor SR for erroneous judgement state (step
Rapid S520).Then, blindness time TB is equally will go into, and processor 130 will determine that whether blindness time TB terminates (step
Whether S522, i.e. time point have reached t+TD+TB).If blindness time TB not yet terminates, processor 130 can continue will sensing
Device SR is determined as erroneous judgement state (returning to step S520), and at the end of blindness time TB, processor 130 can turn sensor SR
Preset stable state (returning to step S504) is moved on to, to re-start the judgement of state.
In the present embodiment, when processor 130 judges sensor SR for alarm state, it will output alarm signal.With
Sensor SR be detect human body passive infrared sensor for, processor 130 can be connected to e.g. loud speaker,
Loud speaker to be caused to send out alarm bell when exporting alarm signal, using the purposes as monitoring anti-theft.Alternatively, processor 130 can be with
It is to be connected to light source, light source can be opened when exporting alarm signal, to reach automation control.
For sensor SR, Fig. 6 is shifted according to the state of the alarm trigger method shown by one embodiment of the invention
Figure.
Please refer to Fig. 6, the signal numerical value S, the first decision threshold TH1, the second judgement that processor 130 will obtain sensor SR
Threshold values TH2, current time point Time_C, the end time point Time_D of detection delay time and the end time point of blindness time
Time_B, and sensor SR will be preset as stable state S0 (state shift direction T0).
In the present embodiment, when processor 130 judges signal numerical value S between the judgement valves of the first decision threshold TH1 and second
(that is, logical expression is " TH1 when between value TH2 and before the not yet end time point Time_D of arrival detection delay time<S
<TH2&&Time_C<Time_D "), sensor SR will temporarily be transferred to erroneous judgement state S1 (state shift direction T01).Herein
Period, when signal numerical value S is returned to less than the first decision threshold TH1 (that is, logical expression is " S<TH1&&Time_C<Time_
D "), then sensor SR will stay on erroneous judgement state S1.When processor 130 further judges the end time point in the blindness time
(that is, logical expression is " S when signal numerical value S is less than the first decision threshold TH1 after Time_B<TH1&&Time_C>Time_
B "), sensor SR will be transferred back to stable state S0 (state shift direction T10).On the other hand, when sensor SR temporarily turns
When moving on to erroneous judgement state S1, when processor 130 judges that signal numerical value S is more than that the second decision threshold TH2 either postpones in detection
(that is, logical expression is " S when signal numerical value S is still not below the first decision threshold TH1 after the end time point Time_D of time>
TH2||(TH1<S<TH2&&Time_C>Time_D) "), then sensor SR transfers to alarm state S2 (state shift directions
T12)。
It should be noted that in another embodiment, sensor SR is during stable state S0, when processor 130 is sentenced
Signal numerical value S is determined between the first decision threshold TH1 and the second decision threshold TH2 and not yet reaches detection delay time
When before end time point Time_D, sensor SR will not temporarily be transferred to erroneous judgement state S1, but processor 130 is detecting
Sensor SR self-stabilization states S0 can just be turned when judgement signal numerical value S is returned to less than the first decision threshold TH1 in delay time
Move to erroneous judgement state S1 (state shift direction T01).When processor 130 judge signal numerical value S between the first decision threshold TH1 with
It, then can be by sensor when duration between second decision threshold TH2 is more than the end time point Time_D of detection delay time
SR self-stabilization states S0 is directly transferred to alarm state S2 (state shift direction T02).
When sensor SR is when stable state S0 and processor 130 judge that signal numerical value S is more than the second decision threshold TH2
(that is, logical expression is " S>TH2&&Time_C<Time_D "), can sensor SR be directly transferred to alarm state S2 (states
Shift direction T02).Similarly, signal after processor 130 further judges the end time point Time_B in the blindness time
(that is, logical expression is " S when numerical value S is less than the first decision threshold TH1<TH1&&Time_C>Time_B "), sensor SR will
Stable state S0 (state shift direction T20) can be transferred back to.
In another embodiment, electronic device 100 can also be connect with another sensor, and according to another sensing
Sensor signal detected by device either environmental parameter adaptively adjusts the threshold values set by script.For example,
The fluctuation of environment temperature can influence the size of signal numerical value.By taking infrared ray sensor as an example, when temperature is higher, measure
Radiation value it is larger, it is therefore desirable to threshold values is turned up, erroneous judgement is generated to avoid trigger condition is easily reached.Specifically, Fig. 7
It is the block schematic diagram according to the electronic device shown by another embodiment of the present invention.
Please refer to Fig. 7, electronic device 700 is coupled to temperature sensor TS, and in memory (not shown) in advance
Store the first decision threshold, the second decision threshold and time decision threshold.The analog-digital converter ADC of electronic device 700
The sensor signal of detection sensor DS will be received and be converted to signal numerical value.The threshold values adjustment of electronic device 700 generates
Device AVG will receive the environment temperature that temperature sensor TS is sensed and generate threshold values adjusted value, to be transmitted to threshold values production
Raw device THG.Threshold values generator THG will using threshold values adjusted value for the first decision threshold of script, the second decision threshold and
At least one time decision threshold is adjusted.Then, the first threshold values comparator TH1C, the second threshold values comparator TH2C can be incited somebody to action
The signal numerical value of analog-digital converter ADC is compared with the first decision threshold, the second decision threshold after adjustment, and is detected
Delay time comparator DDTC can carry out signal numerical value duration and time decision threshold according to elapsed time clock CLK
Compare.Then, aforementioned comparison result is sent to condition handler SP to carry out as described in previous embodiment about detection
The state determination flow of sensor DS.Detection sensor DS and analog-digital converter ADC in this are analogous respectively in Fig. 1
Sensor SR and analog-digital converter 110.Threshold values adjustment generator AVG, threshold values generator THG, the first threshold values comparator
TH1C, the second threshold values comparator TH2C, detection delay time comparator DDTC, elapsed time clock CLK, condition handler SP can be
Module either circuit, the processor 130 being similar in Fig. 1, therefore will not be described in great detail in this.
In conclusion it is proposed by the invention for the alarm trigger method of sensor and using its electronic device, it is sharp
Judge whether the signal numerical value of sensor signal reaches the condition of alarm trigger with multiple threshold values, to reduce erroneous trigger alarm
Probability.In addition, the present invention can also adaptively adjust threshold values according to varying environment and different testing sample, to realize more
Accurately alarm trigger.
Although the present invention is disclosed as above with embodiment, however, it is not to limit the invention, any technical field
Middle technical staff, without departing from the spirit and scope of the present invention, when can make some changes and embellishment, therefore the protection of the present invention
Range is when subject to as defined in claim.
Claims (22)
- A kind of 1. alarm trigger method for sensor, which is characterized in that include the following steps:From the sensor receiving sensor signal;Judge whether the signal numerical value of the sensor signal meets the first trigger condition, wherein first trigger condition is associated with In the first decision threshold;When the signal numerical value meets first trigger condition, judge whether the signal numerical value meets the second trigger condition Or third trigger condition, wherein second trigger condition is associated with the second decision threshold, second decision threshold is higher than First decision threshold, the third trigger condition are associated with time decision threshold;AndWhen the signal numerical value meets second trigger condition or the third trigger condition, judge that the sensor is Alarm state, to export alarm signal.
- 2. according to the method described in claim 1, it is characterized in that, judge the sensor signal the signal numerical value whether The step of meeting first trigger condition includes:Judge whether the signal numerical value is more than first decision threshold;AndWhen the signal numerical value is more than first decision threshold, judge that the signal numerical value meets the first triggering item Part.
- 3. it according to the method described in claim 2, it is characterized in that, further includes:When the signal numerical value is less than first decision threshold, judge the sensor for stable state.
- 4. according to the method described in claim 2, it is characterized in that, when the signal numerical value meets first trigger condition When, judge that the step of whether the signal numerical value meets second trigger condition includes:Judge whether the signal numerical value is more than second decision threshold;AndWhen the signal numerical value is more than second decision threshold, judge that the signal numerical value meets the second triggering item Part, so as to judge that the sensor is the alarm state.
- 5. according to the method described in claim 4, it is characterized in that, when the sensor be the alarm state when, the side Method further includes:When the signal numerical value is when first decision threshold is less than after the blindness time, it is to stablize shape to shift the sensor State.
- 6. according to the method described in claim 2, it is characterized in that, when the signal numerical value meets first trigger condition When, judge that the step of whether the signal numerical value meets the third trigger condition includes:Judge whether the signal numerical value is more than second decision threshold;When the signal numerical value is less than second decision threshold, it is more than the described first judgement valve to judge the signal numerical value Whether the continuous time of value is more than the time decision threshold;AndWhen the continuous time that the signal numerical value is more than first decision threshold being more than the time decision threshold, sentence The fixed signal numerical value meets the third trigger condition, so as to judge that the sensor is the alarm state.
- 7. it according to the method described in claim 1, it is characterized in that, further includes:When the continuous time that the signal numerical value is more than first decision threshold being less than the time decision threshold, Judge the sensor for erroneous judgement state.
- 8. the method according to the description of claim 7 is characterized in that when the sensor be the erroneous judgement state when, the side Method further includes:When the signal numerical value is when first decision threshold is less than after the blindness time, it is to stablize shape to shift the sensor State.
- 9. it according to the method described in claim 1, it is characterized in that, further includes:Another sensor signal is received from another sensor;AndAccording to the signal numerical value of another sensor signal adjust first decision threshold, second decision threshold and At least one described time decision threshold.
- 10. according to the method described in claim 9, it is characterized in that, another sensor is environment temperature sensor, and institute The signal numerical value for stating another sensor signal is ambient temperature value.
- 11. a kind of electronic device, which is characterized in that including:Sensor;Analog-digital converter couples the sensor, to from the sensor receiving sensor signal, and described in converting Sensor signal is signal numerical value;Memory, to store data;AndProcessor couples the analog-digital converter and the memory, to perform the following steps:Judge whether the signal numerical value of the sensor signal meets the first trigger condition, wherein first trigger condition It is associated with the first decision threshold;When the signal numerical value meets first trigger condition, judge whether the signal numerical value meets the second trigger condition Or third trigger condition, wherein second trigger condition is associated with the second decision threshold, second decision threshold is higher than First decision threshold, the third trigger condition are associated with time decision threshold;AndWhen the signal numerical value meets second trigger condition or the third trigger condition, judge that the sensor is Alarm state, to export alarm signal.
- 12. electronic device according to claim 11, which is characterized in that the processor is also performing the following steps:Judge whether the signal numerical value is more than first decision threshold;AndWhen the signal numerical value is more than first decision threshold, judge that the signal numerical value meets the first triggering item Part.
- 13. electronic device according to claim 12, which is characterized in that the processor is also performing the following steps:When the signal numerical value is less than first decision threshold, judge the sensor for stable state.
- 14. electronic device according to claim 12, which is characterized in that when the signal numerical value meets first triggering During condition, the processor is performing the following steps:Judge whether the signal numerical value is more than second decision threshold;AndWhen the signal numerical value is more than second decision threshold, judge that the signal numerical value meets the second triggering item Part, so as to judge that the sensor is the alarm state.
- 15. electronic device according to claim 14, which is characterized in that when the sensor is the alarm state, The processor is also performing the following steps:When the signal numerical value is when first decision threshold is less than after the blindness time, it is to stablize shape to shift the sensor State.
- 16. electronic device according to claim 12, which is characterized in that when the signal numerical value meets first triggering During condition, the processor is performing the following steps:Judge whether the signal numerical value is more than second decision threshold;When the signal numerical value is less than second decision threshold, it is more than the described first judgement valve to judge the signal numerical value Whether the continuous time of value is more than the time decision threshold;AndWhen the continuous time that the signal numerical value is more than first decision threshold being more than the time decision threshold, sentence The fixed signal numerical value meets the third trigger condition, so as to judge that the sensor is the alarm state.
- 17. electronic device according to claim 11, which is characterized in that the processor is also performing the following steps:When the continuous time that the signal numerical value is more than first decision threshold being less than the time decision threshold, Judge the sensor for erroneous judgement state.
- 18. electronic device according to claim 17, which is characterized in that when the sensor is the erroneous judgement state, The processor is also performing the following steps:When the signal numerical value is when first decision threshold is less than after the blindness time, it is to stablize shape to shift the sensor State.
- 19. electronic device according to claim 11, which is characterized in that further include another sensor, the processor is also To perform the following steps:Another sensor signal is received from another sensor;AndAccording to the signal numerical value of another sensor signal adjust first decision threshold, second decision threshold and At least one described time decision threshold.
- 20. electronic device according to claim 19, which is characterized in that another sensor is sensed for environment temperature Device, and the signal numerical value of another sensor signal is ambient temperature value.
- 21. electronic device according to claim 11, which is characterized in that suitable to be used with the collocation of another sensor, the place Reason device is also performing the following steps:Another sensor signal is received from another sensor;AndAccording to the signal numerical value of another sensor signal adjust first decision threshold, second decision threshold and At least one described time decision threshold.
- 22. electronic device according to claim 21, which is characterized in that another sensor is sensed for environment temperature Device, and the signal numerical value of another sensor signal is ambient temperature value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US15/697,455 US10121363B2 (en) | 2016-12-27 | 2017-09-07 | Alarm triggering method for sensor and electronic device using the same |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201662439155P | 2016-12-27 | 2016-12-27 | |
US62/439,155 | 2016-12-27 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108242137A true CN108242137A (en) | 2018-07-03 |
CN108242137B CN108242137B (en) | 2020-02-14 |
Family
ID=62700120
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710329371.8A Active CN108260073B (en) | 2016-12-27 | 2017-05-11 | Gateway, gateway installation method and Internet of things device installation method |
CN201710340773.8A Active CN108240866B (en) | 2016-12-27 | 2017-05-15 | Photoelectric module, motion sensing device and driving method thereof |
CN201710403044.2A Active CN108242137B (en) | 2016-12-27 | 2017-06-01 | Alarm triggering method for sensor and electronic device using same |
Family Applications Before (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710329371.8A Active CN108260073B (en) | 2016-12-27 | 2017-05-11 | Gateway, gateway installation method and Internet of things device installation method |
CN201710340773.8A Active CN108240866B (en) | 2016-12-27 | 2017-05-15 | Photoelectric module, motion sensing device and driving method thereof |
Country Status (2)
Country | Link |
---|---|
CN (3) | CN108260073B (en) |
TW (3) | TWI638578B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020143475A1 (en) * | 2019-01-10 | 2020-07-16 | 杭州海康威视数字技术股份有限公司 | Temperature abnormality detection method and apparatus, computer device, and storage medium |
CN112185070A (en) * | 2020-09-11 | 2021-01-05 | 珠海格力电器股份有限公司 | Fault early warning method, storage medium and electronic equipment |
CN115174636A (en) * | 2022-08-04 | 2022-10-11 | 中兴(温州)轨道通讯技术有限公司 | Centralized warning management system for rail transit |
CN115830809A (en) * | 2022-11-28 | 2023-03-21 | 河南辉煌科技股份有限公司 | Debris flow alarm smart grid sensor and monitoring method |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115810259A (en) * | 2022-11-17 | 2023-03-17 | 环维电子(上海)有限公司 | Method for avoiding repeated triggering of alarm and intelligent monitoring alarm system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203611860U (en) * | 2013-11-22 | 2014-05-28 | 北汽福田汽车股份有限公司 | Vehicle alarm system and vehicle |
CN105205988A (en) * | 2015-10-30 | 2015-12-30 | 杨喆 | Closestool cover capable of giving alarm in case of accidents when people sit on closestool, alarming method and closestool |
CN105222486A (en) * | 2015-10-30 | 2016-01-06 | 青岛海尔特种电冰箱有限公司 | Refrigerator detection method and checkout gear |
CN105551194A (en) * | 2016-03-10 | 2016-05-04 | 广州视源电子科技股份有限公司 | Fall detection method and device |
Family Cites Families (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE69633524T2 (en) * | 1995-04-12 | 2005-03-03 | Matsushita Electric Industrial Co., Ltd., Kadoma | Method and device for object detection |
JP2007206449A (en) * | 2006-02-02 | 2007-08-16 | Institute Of National Colleges Of Technology Japan | Light-emitting device with sensor function |
CN101509787B (en) * | 2008-02-14 | 2011-06-08 | 敦南科技股份有限公司 | Electro-magnetic wave sensing apparatus |
TWI372370B (en) * | 2008-06-16 | 2012-09-11 | Ind Tech Res Inst | Thermal detection system and detection method thereof |
TWI389536B (en) * | 2008-11-07 | 2013-03-11 | Ind Tech Res Inst | Access control system and method based on hierarchical key, and authentication key exchange thereof |
CN101751740B (en) * | 2008-12-22 | 2013-06-19 | 深圳市豪恩安全科技有限公司 | Detector and alarm method and alarm device thereof |
TWI390471B (en) * | 2009-03-26 | 2013-03-21 | Compal Communications Inc | Portable electronic apparatus |
CN101639961B (en) * | 2009-09-14 | 2012-06-13 | 北京航星网讯技术股份有限公司 | Detection alarm method and system thereof |
GB2490691A (en) * | 2011-05-10 | 2012-11-14 | Thomas David Cullen | Motion detection device for use in a hospital or retirement home |
CN202758888U (en) * | 2012-08-22 | 2013-02-27 | 标准科技股份有限公司 | Sensor sealing module |
US9847961B2 (en) * | 2013-02-25 | 2017-12-19 | Qualcomm Incorporated | Automatic IoT device social network expansion |
CN108667699B (en) * | 2013-08-06 | 2021-07-20 | 华为终端(深圳)有限公司 | Method and device for interconnecting terminal equipment and gateway equipment |
TWI542171B (en) * | 2013-12-18 | 2016-07-11 | Alpha Networks Inc | Automatically set the way the gateway device |
CN106463043B (en) * | 2014-03-03 | 2019-05-31 | Vsk电子有限公司 | Utilize the intrusion detecting system and method for action induction |
US9998501B2 (en) * | 2014-12-02 | 2018-06-12 | Netgear, Inc. | Sensor gateway |
CN104580478A (en) * | 2015-01-15 | 2015-04-29 | 环旭电子股份有限公司 | Internet-of-Things device off-line sharing access right control method |
TWI578491B (en) * | 2015-05-07 | 2017-04-11 | 億光電子工業股份有限公司 | Optical sensing device and manufacturing method for optical device |
-
2017
- 2017-05-11 TW TW106115541A patent/TWI638578B/en active
- 2017-05-11 CN CN201710329371.8A patent/CN108260073B/en active Active
- 2017-05-15 TW TW106115914A patent/TWI625705B/en active
- 2017-05-15 CN CN201710340773.8A patent/CN108240866B/en active Active
- 2017-06-01 CN CN201710403044.2A patent/CN108242137B/en active Active
- 2017-06-01 TW TW106118011A patent/TWI655614B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203611860U (en) * | 2013-11-22 | 2014-05-28 | 北汽福田汽车股份有限公司 | Vehicle alarm system and vehicle |
CN105205988A (en) * | 2015-10-30 | 2015-12-30 | 杨喆 | Closestool cover capable of giving alarm in case of accidents when people sit on closestool, alarming method and closestool |
CN105222486A (en) * | 2015-10-30 | 2016-01-06 | 青岛海尔特种电冰箱有限公司 | Refrigerator detection method and checkout gear |
CN105551194A (en) * | 2016-03-10 | 2016-05-04 | 广州视源电子科技股份有限公司 | Fall detection method and device |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020143475A1 (en) * | 2019-01-10 | 2020-07-16 | 杭州海康威视数字技术股份有限公司 | Temperature abnormality detection method and apparatus, computer device, and storage medium |
CN111426387A (en) * | 2019-01-10 | 2020-07-17 | 杭州海康威视数字技术股份有限公司 | Temperature anomaly detection method and device |
CN112185070A (en) * | 2020-09-11 | 2021-01-05 | 珠海格力电器股份有限公司 | Fault early warning method, storage medium and electronic equipment |
CN115174636A (en) * | 2022-08-04 | 2022-10-11 | 中兴(温州)轨道通讯技术有限公司 | Centralized warning management system for rail transit |
CN115830809A (en) * | 2022-11-28 | 2023-03-21 | 河南辉煌科技股份有限公司 | Debris flow alarm smart grid sensor and monitoring method |
CN115830809B (en) * | 2022-11-28 | 2024-05-03 | 河南辉煌科技股份有限公司 | Mud-rock flow alarm intelligent power grid sensor and monitoring method |
Also Published As
Publication number | Publication date |
---|---|
TWI655614B (en) | 2019-04-01 |
TWI625705B (en) | 2018-06-01 |
CN108240866B (en) | 2020-06-09 |
CN108260073A (en) | 2018-07-06 |
TW201824944A (en) | 2018-07-01 |
TW201824196A (en) | 2018-07-01 |
CN108240866A (en) | 2018-07-03 |
TW201824202A (en) | 2018-07-01 |
TWI638578B (en) | 2018-10-11 |
CN108242137B (en) | 2020-02-14 |
CN108260073B (en) | 2021-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108242137A (en) | For sensor alarm trigger method and use its electronic device | |
JP2018501531A5 (en) | ||
EP3447632A3 (en) | Electronic device for displaying application and operating method thereof | |
JP2016526178A5 (en) | ||
TWI460396B (en) | Method for detecting an object using ultrasonic waves | |
WO2020228307A1 (en) | Fall detection method and apparatus, and wearable device | |
US20160212527A1 (en) | Duty-cycling microphone/sensor for acoustic analysis | |
WO2007016119A3 (en) | Glassbreak alarm recorder for false alarm verification | |
WO2020209923A3 (en) | Systems and methods for weapon and destructive device detection based on electromagnetic field profile | |
US20080072841A1 (en) | Device and method for preventing pet from barking | |
WO2004054105A3 (en) | Capacitive proximity sensor | |
Bai et al. | Use of ultrasonic signal coding and PIR sensors to enhance the sensing reliability of an embedded surveillance system | |
US20180091638A1 (en) | Mobile device and method for determining its context | |
US20180239435A1 (en) | Smart devices having recognition features | |
Juan et al. | Development of a sensing module for standing and moving human body using a shutter and PIR sensor | |
TWI634455B (en) | Motion detection method and motion detection device | |
CN103793287B (en) | Method and system for capturing analog signal cycles | |
JP2013034188A5 (en) | ||
CN101937201B (en) | Delay self-adaption method of controller and controller based on method | |
US10121363B2 (en) | Alarm triggering method for sensor and electronic device using the same | |
US9924254B2 (en) | To detect the ambient temperature around the MEMS microphone | |
CN107807403B (en) | Motion sensing method and motion sensor for reducing false alarms | |
KR20220074630A (en) | Acoustic event detecting apparatus and method | |
JP2010078509A (en) | Measuring device using infrared sensor, and calibration method | |
US20150192485A1 (en) | Slew rate detection circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |