CN110269304A - Safety cap, wearing state detection method and device, computer readable storage medium - Google Patents
Safety cap, wearing state detection method and device, computer readable storage medium Download PDFInfo
- Publication number
- CN110269304A CN110269304A CN201810212734.4A CN201810212734A CN110269304A CN 110269304 A CN110269304 A CN 110269304A CN 201810212734 A CN201810212734 A CN 201810212734A CN 110269304 A CN110269304 A CN 110269304A
- Authority
- CN
- China
- Prior art keywords
- capacitor
- safety cap
- preset threshold
- state
- last time
- 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
Classifications
-
- A—HUMAN NECESSITIES
- A42—HEADWEAR
- A42B—HATS; HEAD COVERINGS
- A42B3/00—Helmets; Helmet covers ; Other protective head coverings
- A42B3/04—Parts, details or accessories of helmets
- A42B3/0406—Accessories for helmets
- A42B3/0433—Detecting, signalling or lighting devices
- A42B3/0466—Means for detecting that the user is wearing a helmet
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01V—GEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
- G01V3/00—Electric or magnetic prospecting or detecting; Measuring magnetic field characteristics of the earth, e.g. declination, deviation
Landscapes
- Life Sciences & Earth Sciences (AREA)
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Geology (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- General Life Sciences & Earth Sciences (AREA)
- General Physics & Mathematics (AREA)
- Geophysics (AREA)
- Helmets And Other Head Coverings (AREA)
- Geophysics And Detection Of Objects (AREA)
Abstract
The invention discloses a kind of safety caps, wearing state detection method and device, computer readable storage medium, belong to stand-by plant field.The safety cap includes: cap body and the first capacitor formula proximity sensor and processor that are set in cap body;First capacitor formula proximity sensor and processor are electrically connected;Processor is configured as the first capacitor signal of acquisition first capacitor formula proximity sensor;Calculate current collected first capacitor signal first capacitor variable corresponding with last time collected first capacitor signal;Obtain the wearing state and first capacitor preset threshold of safety cap last time;According to first capacitor variable, the wearing state of safety cap last time, first capacitor preset threshold, the current wearing state of safety cap is determined.The safety cap can make hand-held connecting line between safety cap, touch capacitor type proximity sensor and other component, be superimposed environment etc. into conductor and cause to reduce the erroneous judgement frequency of safety cap wearing state, improve detection accuracy.
Description
Technical field
The present invention relates to stand-by plant field, in particular to a kind of safety cap, calculates wearing state detection method and device
Machine readable storage medium storing program for executing.
Background technique
At the construction field (site), the correct wearing of safety cap is extremely important for the safe construction of construction personnel, however, for one
A little thin construction personnel of awareness of safety, frequent not safe wearing cap, so, the safety cap wearing state of construction personnel is carried out
It monitors very necessary.Wherein, safety cap wearing state includes: the state of attaching the names of pre-determined candidates and state of raising one's hat.
Capacitive proximity sensor, the capacitor that the relevant technologies pass through 2~3 same sizes of setting in the cap body of safety cap
Formula induction controller, processor, to detect the wearing state of safety cap.Capacitive induction controller acquires 2~3 capacitors in real time
The capacitance signal of formula proximity sensor and processing, when capacitive induction controller capacitance signal collected changes, to
Processor sends capacitance signal delta data and obtains the wearing state of safety cap after processor handles capacitance signal delta data.
Inventor has found that the relevant technologies at least have following technical problem:
Environment is superimposed in conductors such as hand-held connecting lines between safety cap, touch capacitor type proximity sensor and other component
Under, the capacitance signal of capacitive proximity sensor can also change, and pass through the capacitor of capacitive induction controller acquisition variation
Signal, and processor is made to handle the capacitance signal of the variation, cause to judge the wearing state of safety cap by accident, detection accuracy
Difference.
Summary of the invention
The embodiment of the invention provides a kind of safety caps, wearing state detection method and device, computer-readable storage medium
Matter can solve above-mentioned technical problem.Specific technical solution is as follows:
On the one hand, the embodiment of the invention provides a kind of safety cap, the safety cap includes: cap body and is set to institute
State first capacitor formula proximity sensor and the processor in cap body;
The first capacitor formula proximity sensor and the processor are electrically connected;
The processor is configured to acquiring the first capacitor signal of the first capacitor formula proximity sensor;It calculates current
Collected first capacitor signal first capacitor variable corresponding with last time collected first capacitor signal;Obtain the safety
The wearing state and first capacitor preset threshold of cap last time;According to the first capacitor variable, the pendant of the safety cap last time
State, the first capacitor preset threshold are worn, determines the current wearing state of the safety cap.
In a kind of possible design, the safety cap further include: be set in the cap body, and electric with the processor
Property connection the second capacitive proximity sensor;
The electrode plate suqare of the first capacitor formula proximity sensor is greater than the electricity of second capacitive proximity sensor
Polar plate area.
In a kind of possible design, the first capacitor formula proximity sensor and second capacitive proximity sensor
It is set on the inner wall of the cap body;
The processor is set on the outer wall of the cap body.
In a kind of possible design, the processor further include: acceleration transducer;
The acceleration transducer is used to detect the safety cap in three-dimensional when determining the safety cap is to attach the names of pre-determined candidates state
It whether there is acceleration in space.
On the other hand, the embodiment of the invention provides a kind of safety cap wearing state detection method, the method is applied to
In safety cap, which comprises
Acquire the first capacitor signal of first capacitor formula proximity sensor;
Calculate current collected first capacitor signal first capacitor corresponding with last time collected first capacitor signal
Variable;
Obtain the wearing state and first capacitor preset threshold of the safety cap last time;
According to the first capacitor variable, the wearing state of the safety cap last time, the first capacitor preset threshold, really
The current wearing state of the fixed safety cap.
It is described according to institute when the wearing state of the safety cap last time is to raise one's hat state in a kind of possible design
First capacitor variable, the wearing state of the safety cap last time, the first capacitor preset threshold are stated, determines the safety cap
Current wearing state, comprising:
It obtains conductor and is superimposed preset threshold, be greater than the first capacitor preset threshold in conductor superposition preset threshold
When:
If the first capacitor variable, which is greater than the conductor, is superimposed preset threshold, determine that the safety cap is state of raising one's hat;
If the first capacitor variable is less than the first capacitor preset threshold, determine that the safety cap is state of raising one's hat;
If the first capacitor variable is more than or equal to the first capacitor preset threshold, and is less than or equal to described
Conductor is superimposed preset threshold, determines that the safety cap is state of attaching the names of pre-determined candidates.
It is described according to institute when the wearing state of the safety cap last time is to attach the names of pre-determined candidates state in a kind of possible design
First capacitor variable, the wearing state of the safety cap last time, the first capacitor preset threshold are stated, determines the safety cap
Current wearing state, comprising:
According to the first capacitor variable, the first capacitor preset threshold, first is carried out to the safety cap and is raised one's hat inspection
It surveys, with the current wearing state of the determination safety cap;
Alternatively, it is de- to carry out second to the safety cap according to the first capacitor variable, the first capacitor preset threshold
Cap detection, with the current wearing state of the determination safety cap.
It is described according to the first capacitor variable, the first capacitor preset threshold in a kind of possible design, to institute
It states safety cap and carries out first and raise one's hat detection, comprising:
If current collected first capacitor signal is greater than last time collected first capacitor signal, and the first capacitor
When variable is more than or equal to the first capacitor preset threshold, determine that the safety cap is state of attaching the names of pre-determined candidates;
If current collected first capacitor signal is less than last time collected first capacitor signal, and the first capacitor
When variable is more than or equal to the first capacitor preset threshold, determine that the safety cap is state of raising one's hat;
If current collected first capacitor signal is less than last time collected first capacitor signal, and the first capacitor
When variable is less than the first capacitor preset threshold, determine that the safety cap is state of attaching the names of pre-determined candidates.
It is described according to the first capacitor variable, the first capacitor preset threshold in a kind of possible design, to institute
It states safety cap and carries out second and raise one's hat detection, comprising:
It obtains conductor and is superimposed increment;
If current collected first capacitor signal is less than last time collected first capacitor signal, and the first capacitor
When variable is more than or equal to conductor superposition the sum of increment and the first capacitor preset threshold, determine that the safety cap is
It raises one's hat state;
If current collected first capacitor signal is less than last time collected first capacitor signal, the first capacitor becomes
Amount be more than or equal to the conductor be superimposed increment, and be less than the conductor superposition increment and the first capacitor preset threshold it
And when, determine that the safety cap is state of attaching the names of pre-determined candidates;
If current collected first capacitor signal is less than last time collected first capacitor signal, and the first capacitor
When variable is less than conductor superposition increment, determine that the safety cap is state of attaching the names of pre-determined candidates.
In a kind of possible design, the method also includes:
Obtain environment locating for the safety cap last time;
If the safety cap last time is superimposed environment in no conductor, execute according to the first capacitor variable, described the
One capacitor preset threshold carries out first to the safety cap and raises one's hat the step of detecting;
If the safety cap last time is in conductor superposition environment, execute according to the first capacitor variable, described first
Capacitor preset threshold carries out second to the safety cap and raises one's hat the step of detecting.
In a kind of possible design, when the wearing state of the safety cap last time is to raise one's hat state, the acquisition institute
State environment locating for safety cap last time, comprising:
It obtains conductor and is superimposed preset threshold, be greater than the first capacitor preset threshold in conductor superposition preset threshold
When:
If the first capacitor variable, which is greater than the conductor, is superimposed preset threshold, determine that the safety cap is in conductor superposition
In environment;
If the first capacitor variable is less than the first capacitor preset threshold, determine that the safety cap is folded in no conductor
Add in environment.
In a kind of possible design, when the wearing state of the safety cap last time is to attach the names of pre-determined candidates state, the acquisition institute
State environment locating for safety cap last time, comprising:
If current collected first capacitor signal is greater than last time collected first capacitor signal, and in first electricity
When holding variable more than or equal to the first capacitor preset threshold, determine that the safety cap is in conductor superposition environment;
If current collected first capacitor signal is less than last time collected first capacitor signal, and in first electricity
When holding variable more than or equal to the first capacitor preset threshold, determine the safety cap in no conductor superposition environment;
If current collected first capacitor signal is less than last time collected first capacitor signal, and in first electricity
When holding variable less than the first capacitor preset threshold, determine the safety cap in no conductor superposition environment.
In a kind of possible design, when the wearing state of the safety cap last time is to attach the names of pre-determined candidates state, the acquisition institute
State environment locating for safety cap last time, comprising:
It obtains conductor and is superimposed increment;
If current collected first capacitor signal is less than last time collected first capacitor signal, and in first electricity
When holding variable more than or equal to conductor superposition the sum of increment and the first capacitor preset threshold, the safety cap is determined
In no conductor superposition environment;
If current collected first capacitor signal is less than last time collected first capacitor signal, the first capacitor becomes
Amount be more than or equal to the conductor be superimposed increment, and be less than the conductor superposition increment and the first capacitor preset threshold it
And when, determine the safety cap in no conductor superposition environment;
If current collected first capacitor signal is less than last time collected first capacitor signal, and the first capacitor
When variable is less than conductor superposition increment, determine that the safety cap is in conductor superposition environment.
In a kind of possible design, the method also includes:
Acquire the second capacitance signal of the second capacitive proximity sensor;
Calculate current collected second capacitance signal the second capacitor corresponding with last time collected second capacitance signal
Variable;
Obtain the second capacitor preset threshold;
It is described that threshold is preset according to the first capacitor variable, the wearing state of the safety cap last time, the first capacitor
Value, determines the current wearing state of the safety cap, comprising:
According to the first capacitor variable, the wearing state of the safety cap last time, the first capacitor preset threshold, institute
The second capacitor variable, the second capacitor preset threshold are stated, determines the current wearing state of the safety cap.
It is described according to institute when the wearing state of the safety cap last time is to raise one's hat state in a kind of possible design
First capacitor variable, the wearing state of the safety cap last time, the first capacitor preset threshold, second capacitor is stated to become
Amount, the second capacitor preset threshold, determine the current wearing state of the safety cap, comprising:
It obtains conductor and is superimposed preset threshold, be greater than the first capacitor preset threshold in conductor superposition preset threshold
When:
If the first capacitor variable is more than or equal to the first capacitor preset threshold, and is less than or equal to described
Conductor be superimposed preset threshold when, if also, the second capacitor variable be less than or equal to the second capacitor preset threshold, really
The fixed safety cap is state of attaching the names of pre-determined candidates;
If the first capacitor variable is more than or equal to the first capacitor preset threshold, and is less than or equal to described
Conductor be superimposed preset threshold when, if also, the second capacitor variable be greater than the second capacitor preset threshold, determine the peace
Full cap is state of raising one's hat.
In a kind of possible design, when the wearing state of the safety cap last time is to raise one's hat state, the acquisition institute
State environment locating for safety cap last time, comprising:
It obtains conductor and is superimposed preset threshold, be greater than the first capacitor preset threshold in conductor superposition preset threshold
When:
If the first capacitor variable is more than or equal to the first capacitor preset threshold, and is less than or equal to described
Conductor be superimposed preset threshold when, if also, the second capacitor variable be less than or equal to the second capacitor preset threshold, really
The fixed safety cap is in no conductor superposition environment;
If the first capacitor variable is more than or equal to the first capacitor preset threshold, and is less than or equal to described
Conductor be superimposed preset threshold when, if also, the second capacitor variable be greater than the second capacitor preset threshold when, determine described in
Safety cap is in conductor superposition environment.
In a kind of possible design, after the current wearing state of the determination safety cap, the method packet
It includes:
When determining the safety cap is to attach the names of pre-determined candidates state, detects the safety cap in three-dimensional space and whether there is acceleration
Degree:
If there are acceleration for the safety cap, it is determined that the safety cap is state of normally attaching the names of pre-determined candidates;
If acceleration is not present in the safety cap, it is determined that the safety cap is abnormal state of attaching the names of pre-determined candidates.
In a kind of possible design, the method also includes:
When being unable to first capacitor signal described in normal acquisition and/or the second capacitance signal, report an error to the transmission of middle control platform
Signal.
On the other hand, the embodiment of the invention provides a kind of safety cap wearing state detection device, described device is applied to
In safety cap, described device includes:
First acquisition module, for acquiring the first capacitor signal of first capacitor formula proximity sensor;
First computing module is believed for calculating current collected first capacitor signal and last time collected first capacitor
Number corresponding first capacitor variable;
First obtains module, for obtaining the wearing state and first capacitor preset threshold of the safety cap last time;
Determining module, for according to the first capacitor variable, the wearing state of the safety cap last time, first electricity
Hold preset threshold, determines the current wearing state of the safety cap.
On the other hand, it the embodiment of the invention also provides a kind of computer readable storage medium, is deposited in the storage medium
Contain at least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Cheng
Sequence, the code set or instruction set are loaded by processor and are executed to realize that the above-mentioned any safety cap referred to wears shape
State detection method.
Technical solution provided in an embodiment of the present invention has the benefit that
Safety cap provided in an embodiment of the present invention, wearing state detection method and device, in computer readable storage medium,
By acquiring the first capacitor signal of first capacitor formula proximity sensor, current collected first capacitor signal and last time are calculated
The corresponding first capacitor variable of collected first capacitor signal, according to first capacitor variable and the safety cap last time obtained
Wearing state and first capacitor preset threshold, determine the current wearing state of safety cap, hand-held safety cap, touching electricity can be made
Connecting line between capacitive proximity sensor and other component is superimposed environment etc. into conductor and causes to safety cap wearing state
Erroneous judgement frequency reduce, improve the detection accuracy to safety cap wearing state.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of bottom view of safety cap shown according to an exemplary embodiment;
Fig. 2 is first capacitor formula proximity sensor and the second capacitive proximity sensing shown according to an exemplary embodiment
The schematic diagram that device is integrated in one;
Fig. 3 is a kind of flow chart of safety cap wearing state detection method shown according to an exemplary embodiment;
Fig. 4 A is that the wearing state of safety cap last time shown according to an exemplary embodiment is when raising one's hat state, to safety
The flow chart of cap wearing state detection method;
Fig. 4 B is that the wearing state of safety cap last time shown according to an exemplary embodiment is when attaching the names of pre-determined candidates state, to safety
The flow chart of cap wearing state detection method;
Fig. 5 is a kind of flow chart of safety cap wearing state detection method shown according to an exemplary embodiment;
Fig. 6 A is that the wearing state of safety cap last time shown according to an exemplary embodiment is when raising one's hat state, to obtain peace
The flow chart of full cap local environment;
Fig. 6 B is that the wearing state of safety cap last time shown according to an exemplary embodiment is when attaching the names of pre-determined candidates state, to obtain peace
The flow chart of full cap local environment;
Fig. 7 is a kind of flow chart of safety cap wearing state detection method shown according to an exemplary embodiment;
Fig. 8 is that the wearing state of safety cap last time shown according to an exemplary embodiment is when raising one's hat state, to safety
The flow chart of cap wearing state detection method;
Fig. 9 is that the wearing state of safety cap last time shown according to an exemplary embodiment is when raising one's hat state, to obtain peace
The flow chart of full cap local environment;
Figure 10 is a kind of flow chart of safety cap wearing state detection method shown according to an exemplary embodiment;
Figure 11 is a kind of block diagram of safety cap wearing state detection device shown according to an exemplary embodiment.
Wherein, appended drawing reference respectively indicates:
1- cap body,
2- first capacitor formula proximity sensor,
3- processor,
The second capacitive proximity sensor of 4-.
Specific embodiment
Unless otherwise defined, all technical terms used in the embodiment of the present invention all have usual with those skilled in the art
The identical meaning understood.To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to this hair
Bright embodiment is described in further detail.
At the construction field (site), the correct wearing of safety cap is extremely important for the safe construction of construction personnel, therefore, it is necessary to
The safety cap wearing state (state of attaching the names of pre-determined candidates and state of raising one's hat) of construction personnel is monitored.The embodiment of the invention provides one kind
Safety cap, the safety cap can accurately detect its wearing state.
Fig. 1 is a kind of bottom view of safety cap provided in an embodiment of the present invention, and as shown in Fig. 1, which includes: cap
Body 1 and the first capacitor formula proximity sensor 2 and processor 3 being set in cap body 1;First capacitor formula proximity sensor 2 with
Processor 3 is electrically connected;Processor 3 is configured as the first capacitor signal of acquisition first capacitor formula proximity sensor 2;Calculating is worked as
Preceding collected first capacitor signal first capacitor variable corresponding with last time collected first capacitor signal;Obtain safety cap
The wearing state and first capacitor preset threshold of last time;According to first capacitor variable, the wearing state of safety cap last time, first
Capacitor preset threshold determines the current wearing state of safety cap.
The working principle with regard to safety cap provided in an embodiment of the present invention and effect, which are given, below summarizes:
Safety cap provided in an embodiment of the present invention, it is sensitive to close conductor based on first capacitor formula proximity sensor 2, and
First capacitor formula proximity sensor 2 is arranged in the characteristic of exportable corresponding first capacitor signal in cap body 1.When safety cap is
When state of attaching the names of pre-determined candidates, human body head increases first capacitor formula proximity sensor 2 by a coupled capacitor.Since first capacitor formula is close
Sensor 2 and processor 3 are electrically connected, and processor 3 acquires the first capacitor signal of first capacitor proximity sensor 2, and calculates
Current collected first capacitor signal first capacitor variable corresponding with last time collected first capacitor signal, and obtain peace
The wearing state and first capacitor preset threshold of full cap last time, then according to first capacitor variable, the wearing of safety cap last time
State, first capacitor preset threshold determine the current wearing state of safety cap.
By determining safety according to first capacitor variable, the wearing state of safety cap last time, first capacitor preset threshold
The current wearing state of cap determines the wearing state phase of safety cap with only changing in the related technology by capacitance signal
Than making the conductors such as hand-held connecting line between safety cap, touch capacitor type proximity sensor and other component be superimposed environment and draw
It rises and the erroneous judgement frequency of safety cap wearing state is reduced, improve the detection accuracy to safety cap wearing state.
Further, in order to accurately detect to the wearing state of safety cap, as shown in Fig. 2, the present invention is real
Apply the safety cap of example offer further include: be set in cap body 1, and the second capacitive proximity being electrically connected with processor 3 senses
Device 4, the electrode plate suqare of first capacitor formula proximity sensor 2 are greater than the electrode plate suqare of the second capacitive proximity sensor 4.
Processor 3 is also used to acquire the second capacitance signal of the second capacitive proximity sensor 4, and processor 3 calculates currently
Collected second capacitance signal the second capacitor variable corresponding with last time collected second capacitance signal, it is safe according to obtaining
Wearing state, first capacitor variable, first capacitor preset threshold and the second capacitance signal of cap last time and the second capacitor are default
Threshold value determines the current wearing state of safety cap.
Further, in order to accurately be detected to the wearing state of safety cap, first capacitor formula can be approached
Sensor 2 and the second capacitive proximity sensor 4 are set as the capacitive proximity sensor of different size, in order to first capacitor
Formula proximity sensor 2 and the second capacitive proximity sensor 4 are respectively induced different size of capacitance signal, and then combine the two high
Precision the wearing state of safety cap is detected.
So set, the corresponding capacitance of first capacitor signal for incuding first capacitor formula proximity sensor 2 is than second
The corresponding capacitance of the second capacitance signal that capacitive proximity sensor 4 incudes is big, convenient for obtaining the first of different range size
Capacitor variable and the second capacitor variable, and then pass through first capacitor variable, the second capacitor variable, first capacitor preset threshold, the
Two capacitor preset thresholds and the wearing state of safety cap last time accurately determine the wearing state of safety cap.
Wherein, the electrode plate suqare of first capacitor formula proximity sensor 2 can be the electricity of the second capacitive proximity sensor 4
3~6 times of polar plate area, such as can be 3 times, 4 times, 5 times, 6 times etc..
In view of reducing the volume and weight of safety cap, to guarantee the comfort level of safety cap wearing, in a kind of possible reality
In existing mode, as shown in Fig. 2, first capacitor formula proximity sensor 2 and the second capacitive proximity sensor 4 are integrated in one.
It is understood that acquiring and handling respectively the first capacitor of first capacitor formula proximity sensor 2 by processor 3
Second capacitance signal of signal and the second capacitive proximity sensor 4.Although first capacitor formula proximity sensor 2 and the second capacitor
Formula proximity sensor 4 is integrated in one, but the two is connected in parallel to processor 3.
First capacitor formula proximity sensor 2 and the second capacitive proximity sensor 4 can integrate on a wiring board.
In order to reduce interference of the cap body 1 to first capacitor signal and the second capacitance signal, in a kind of possible implementation
In, first capacitor formula proximity sensor 2 and the second capacitive proximity sensor 4 are set on the inner wall of cap body 1;Processor 3 is set
It is placed on the outer wall of cap body 1.
It should be noted that first capacitor formula proximity sensor 2 will not be with human body head when safety cap is to attach the names of pre-determined candidates state
Directly contact.
It is arranged such, it is possible to reduce cap body 1 is to first capacitor formula proximity sensor 2 and the second capacitive proximity sensor 4
It is respectively induced interference suffered when first capacitor signal and the second capacitance signal, to accurately acquire first capacitor signal and
Two capacitance signals, the wearing state for being accurately determined safety cap for processor 3 are laid a good foundation.Also, processor 3 is set to
It on the outer wall of cap body 1, prevents processor 3 from contacting with human body head, does not influence the comfort level of safety cap wearing.
In order to guarantee that processor 3 collects stable first capacitor signal and the second capacitance signal, need first capacitor
Formula proximity sensor 2 and the second capacitive proximity sensor 4 are stably fixed in cap body 1.
For example, limiting slot, first capacitor formula proximity sensor 2 and the second condenser type are provided on the inner wall of cap body 1
Proximity sensor 4 is set in limiting slot, in order to which the two is stably fixed in cap body 1.The two is set in limiting slot
There are many modes, is given below and illustrates:
Illustratively, first capacitor formula proximity sensor 2 and the second capacitive proximity sensor 4 are arranged by adhesive means
In in limiting slot.Adhesive means are easy setting, and connection dynamics is good.
Illustratively, when first capacitor formula proximity sensor 2 and the second capacitive proximity sensor 4 are integrated in one, one
The outer profile of the capacitive proximity sensor of body formula is adapted with the Internal periphery of limiting slot, is fixed on limiting slot by frictional force
It is interior.The connection type is easy setting, easy disassembly.
When construction personnel's safe wearing cap, and when in abnormal stationary state (such as construction personnel falling in a swoon), processor 3
Believed according to the second capacitor of the first capacitor signal of first capacitor formula proximity sensor 2 and/or the second capacitive proximity sensor 4
Number, it also can determine whether that safety cap is state of attaching the names of pre-determined candidates, it can however not determining the whether normal safe wearing cap of construction personnel.Based on above-mentioned
Problem, processor 3 further include: acceleration transducer;Acceleration transducer is used for the detection when determining safety cap is to attach the names of pre-determined candidates state
Safety cap whether there is acceleration in three-dimensional space.
Safety cap can be obtained by setting acceleration transducer (to judge in the acceleration signal of three-dimensional space X, Y, Z axis
Whether safety cap moves), and acceleration signal is handled by processor 3, further determine that whether safety cap is normally worn.
Fig. 3 is a kind of flow chart of wearing state detection method provided in an embodiment of the present invention, and this method is applied to above-mentioned
In any one safety cap referred to, this method comprises:
Step 101, the first capacitor signal for acquiring first capacitor formula proximity sensor 2.
First capacitor signal can be acquired in real time, and can also be spaced the predetermined time is acquired, and the predetermined time can be
10ms~1000ms, for example, can for 10ms, 100ms, 200ms, 300ms, 400ms, 500ms, 600ms, 700ms, 800ms,
900ms, 1000ms etc..
Instrument for acquiring first capacitor signal can be processor 3, and processor 3 acquires first capacitor formula close to sensing
The first capacitor signal of device 2.
It is understood that first capacitor signal is bigger, corresponding to capacitance it is bigger.
Step 102, the current collected first capacitor signal of calculating are corresponding with last time collected first capacitor signal
First capacitor variable.
Current collected first capacitor signal and last time collected first electricity are calculated by the processor 3 in safety cap
Hold corresponding first capacitor variable between signal.
First capacitor variable refers to: the currently corresponding capacitance of collected first capacitor signal was collected with last time
The corresponding capacitance of first capacitor signal absolute value of the difference.
It should be noted that current collected first capacitor signal and last time collected first capacitor signal be
Lower collected first capacitor signal of stable state.
Step 103, the wearing state and first capacitor preset threshold for obtaining safety cap last time.
The wearing state of safety cap last time refers to: after determining the current wearing state of safety cap, the storage of processor 3 should
Wearing state, in the wearing state of detection next time safety cap, processor 3 is using the wearing state of storage as safety cap last time
Wearing state.Wherein, wearing state includes: the state of attaching the names of pre-determined candidates and state of raising one's hat.
First capacitor preset threshold refers to: caused when safety cap switches between the state of raising one's hat and state of attaching the names of pre-determined candidates
The lower limit value of the absolute value of first capacitor variable.First capacitor preset threshold is empirical value, is obtained by test of many times, due to every
The first capacitor variable of secondary acquisition may be different, may change within the scope of one, by first capacitor the smallest in the range
The absolute value of variable is as first capacitor preset threshold.
Step 104, according to first capacitor variable, the wearing state of safety cap last time, first capacitor preset threshold, determine peace
The current wearing state of full cap.
Based on the wearing state of safety cap last time, pass through the size between first capacitor variable and first capacitor preset threshold
Compare, the current wearing state of safety cap can be accurately determined.
In safety cap wearing state detection method provided in an embodiment of the present invention, pass through the close sensing of acquisition first capacitor formula
It is corresponding with last time collected first capacitor signal to calculate current collected first capacitor signal for the first capacitor signal of device 2
First capacitor variable, it is default according to the wearing state and first capacitor of first capacitor variable and the safety cap last time obtained
Threshold value determines the current wearing state of safety cap, makes to hold between safety cap, touch capacitor type proximity sensor and other component
Connecting line, into conductor superposition environment etc. cause to reduce the erroneous judgement frequency of safety cap wearing state, improve to safety
The detection accuracy of the current wearing state of cap.
So far, through the above steps 101 to step 104, the detection to safety cap wearing state may be implemented.
Further, in order to accurately be detected to safety cap wearing state, when safety cap last time wearing state not
Meanwhile the detection method of processor 3 is different, specifically includes following two example:
(1-1) in one possible implementation, as shown in fig 4, when safety cap last time wearing state be raise one's hat
When state, step 1041 is executed, according to first capacitor variable, the wearing state of safety cap last time, first capacitor preset threshold, really
Determine the current wearing state of safety cap, comprising:
It obtains conductor and is superimposed preset threshold, when conductor superposition preset threshold is greater than first capacitor preset threshold, according to the
One capacitor variable, the wearing state of safety cap last time, first capacitor preset threshold, conductor are superimposed preset threshold, determine safety cap
Current wearing state.
Wherein, conductor superposition preset threshold refers to: under the state of raising one's hat, when hand touches first capacitor formula proximity sensor
When, the lower limit value of caused first capacitor variable.It is empirical value that conductor, which is superimposed preset threshold, can be obtained by test of many times.
When touching first capacitor formula proximity sensor due to each hand, caused first capacitor variable may be different, and there are a models
It encloses, at this point, the lower limit value of the caused first capacitor variable of hand touching is superimposed preset threshold as conductor.
It can be seen from the above, first capacitor formula proximity sensor 2 will not be straight with human body head when safety cap is to attach the names of pre-determined candidates state
Contact, at this point, first capacitor preset threshold, which is less than or equal to conductor, is superimposed preset threshold.For convenience to the pendant of safety cap
The state of wearing is detected, and makes conductor superposition preset threshold and safety cap caused first when becoming attaching the names of pre-determined candidates state from the state of raising one's hat
The upper limit value of capacitor variable is equal.
When conductor superposition preset threshold is greater than first capacitor preset threshold, according to first capacitor variable, safety cap last time
Wearing state, first capacitor preset threshold, conductor be superimposed preset threshold, determine the current wearing state of safety cap, it is specific to wrap
Include following several situations:
Situation 1 determines that safety cap is state of raising one's hat if first capacitor variable is greater than conductor and is superimposed preset threshold.
When the wearing state of safety cap last time is to raise one's hat state, if there is first capacitor variable, illustrate first capacitor
Signal becomes larger, and may be touched by hand or attach the names of pre-determined candidates and cause.
If first capacitor variable, which is greater than conductor, is superimposed preset threshold, illustrate that first capacitor variable is greater than the first electricity of hand touching
The lower limit value of caused first capacitor variable is (that is, be greater than safety cap is become attaching the names of pre-determined candidates from the state of raising one's hat when capacitive proximity sensor
The upper limit value of caused first capacitor variable when state), so, determine that safety cap is state of raising one's hat, also, first capacitor is believed
Number become larger by hand touching cause.
Situation 2 determines that safety cap is state of raising one's hat if first capacitor variable is less than first capacitor preset threshold.
When the wearing state of safety cap last time is to raise one's hat state, if there is first capacitor variable, illustrate first capacitor
Signal becomes larger.If first capacitor variable is less than first capacitor preset threshold, i.e. first capacitor variable is less than safety cap by raising one's hat
State become attaching the names of pre-determined candidates state when caused first capacitor variable lower limit value, determine that safety cap is state of raising one's hat, and the first electricity
Holding becoming larger for signal may be as safety cap caused by the shake under the state of raising one's hat.
Situation 3, if first capacitor variable is more than or equal to first capacitor preset threshold, and folded less than or equal to conductor
Add preset threshold, determines that safety cap is state of attaching the names of pre-determined candidates.
When the wearing state of safety cap last time is to raise one's hat state, if there is first capacitor variable, illustrate first capacitor
Signal becomes larger.If first capacitor variable be more than or equal to first capacitor preset threshold, i.e., first capacitor variable be greater than or
The lower limit value of caused first capacitor variable, that is, be possible to attach the names of pre-determined candidates when becoming attaching the names of pre-determined candidates state from the state of raising one's hat equal to safety cap
State.Further, if first capacitor variable is less than or equal to conductor and is superimposed preset threshold, that is, first capacitor variable is small
The upper limit value of caused first capacitor variable when safety cap becomes attaching the names of pre-determined candidates state from the state of raising one's hat.At this point, can
Determine that safety cap is state of attaching the names of pre-determined candidates.
By above-mentioned three kinds of situations, can avoid touching caused by first capacitor formula proximity sensor due to hand to safety cap
For the erroneous judgement for the state of attaching the names of pre-determined candidates, detection accuracy is improved.
(1-2) in alternatively possible implementation, as shown in fig. 4b, when safety cap last time wearing state be wear
When hat shape state, according to first capacitor variable, the wearing state of safety cap last time, first capacitor preset threshold, safety cap is determined
Current wearing state, comprising:
Step 1042A, according to first capacitor variable, first capacitor preset threshold, first is carried out to safety cap and is raised one's hat detection,
To determine the current wearing state of safety cap.
Alternatively, step 1042B, according to first capacitor variable, first capacitor preset threshold, second is carried out to safety cap and is raised one's hat
Detection, to determine the current wearing state of safety cap.
Step 1042B is one conductor environmental factor of more considerations compared with step 1042A, and specific general introduction is as follows respectively:
(1-2-1) in one possible implementation, first raises one's hat detection involved in step 1042A, specific to wrap
Include following several situations:
Situation 1, if current collected first capacitor signal is greater than last time collected first capacitor signal, and the first electricity
When holding variable more than or equal to first capacitor preset threshold, determine that safety cap is state of attaching the names of pre-determined candidates.
When the wearing state of safety cap last time is to attach the names of pre-determined candidates state, if first capacitor signal increases, illustrate that safety cap can
It can be in conductor environment, still, since first capacitor variable is more than or equal to first capacitor preset threshold, it may be determined that safety
Cap still maintains the state of attaching the names of pre-determined candidates.
Certainly, first capacitor signal may also be caused to increase when safety cap becomes hand touching state from the state of attaching the names of pre-determined candidates, and
And first capacitor variable is more than or equal to first capacitor preset threshold.But, it is contemplated that safety cap becomes hand in wearing state
The required time is at least remembered with the several seconds when touching state, and it is above-mentioned refer to, the acquisition time interval of first capacitor signal is general
In one second, so, it can rule of thumb exclude above-mentioned state.
Situation 2, if current collected first capacitor signal is less than last time collected first capacitor signal, and the first electricity
When holding variable more than or equal to first capacitor preset threshold, determine that safety cap is state of raising one's hat.
When the wearing state of safety cap last time is to attach the names of pre-determined candidates state, if first capacitor signal reduces, illustrate that safety cap can
It can be state of raising one's hat.Further, if first capacitor variable is more than or equal to first capacitor preset threshold, that is, the first electricity
The reduction amount of appearance signal first capacitor variable absolute value caused when becoming raising one's hat state from the state of attaching the names of pre-determined candidates greater than safety cap
Lower limit value, so, determine that safety cap becomes the state of raising one's hat from the state of attaching the names of pre-determined candidates.
Situation 3, if current collected first capacitor signal is less than last time collected first capacitor signal, and the first electricity
When holding variable less than first capacitor preset threshold, determine that safety cap is state of attaching the names of pre-determined candidates.
When the wearing state of safety cap last time is to attach the names of pre-determined candidates state, if first capacitor signal reduces, illustrate that safety cap can
It can be in state of raising one's hat.Further, first capacitor variable is less than first capacitor preset threshold, that is, first capacitor signal subtracts
The lower limit value of caused first capacitor variable absolute value, institute when becoming raising one's hat state from the state of attaching the names of pre-determined candidates less than safety cap in a small amount
The change of safety cap wearing state can't be caused, at this point, determining that safety cap still maintains the state of attaching the names of pre-determined candidates.
(1-2-2) in one possible implementation, as shown in fig. 4b, second raises one's hat involved in step 1042B
Detection, comprising:
It obtains conductor and is superimposed increment.
Conductor superposition increment refers to: safety cap passes in and out a certain conductor superposition environment and (deposits around such as under the state of attaching the names of pre-determined candidates
In magnetic field or the environment for more closely etc. capacitance signal easily being caused to change apart from conductor) when, caused first capacitor variable it is exhausted
To value.It is understood that first capacitor signal increases, conversely, reducing when released when entering conductor superposition environment.
Processor 3 stores the conductor and is superimposed increment, and in the case where the conductor is superimposed environment, according to first capacitor variable, first
Capacitor preset threshold and conductor superposition increment carry out second to safety cap and raise one's hat detection, specifically include following several situations:
Situation 1, if current collected first capacitor signal is less than last time collected first capacitor signal, and the first electricity
When holding variable more than or equal to conductor superposition the sum of increment and first capacitor preset threshold, determine that safety cap is state of raising one's hat.
The wearing state of safety cap last time is, if first capacitor signal reduces, to illustrate that safety cap may when attaching the names of pre-determined candidates state
In the state of raising one's hat.At this point, first capacitor variable, which is more than or equal to conductor, is superimposed the sum of increment and first capacitor preset threshold
When, that is, when the reduction amount of first capacitor signal is greater than conductor superposition increment, it is folded to illustrate that safety cap is detached from conductor under the state of attaching the names of pre-determined candidates
Add environment.Also, the reduction amount of first capacitor signal is also greater than first capacitor variable when becoming raising one's hat state from the state of attaching the names of pre-determined candidates
The lower limit value of absolute value, at this time, it may be determined that safety cap is state of raising one's hat, and is superimposed environment departing from conductor.
Situation 2, if current collected first capacitor signal is less than last time collected first capacitor signal, first capacitor
Variable is more than or equal to conductor and is superimposed increment, and first capacitor variable is less than conductor superposition increment and first capacitor preset threshold
The sum of when, determine that safety cap is to attach the names of pre-determined candidates state.
The wearing state of safety cap last time is, if first capacitor signal reduces, to illustrate that safety cap may when attaching the names of pre-determined candidates state
In the state of raising one's hat.If reduced first capacitor variable, which is more than or equal to conductor, is superimposed increment, that is, first capacitor signal
Reduction amount is more than or equal to conductor and is superimposed increment, illustrates that safety cap is detached from conductor superposition environment under the state of attaching the names of pre-determined candidates.Further
Ground, when the reduction amount of first capacitor signal, which is less than, becomes raising one's hat state from the state of attaching the names of pre-determined candidates, caused first capacitor variable is absolute
When the lower limit value (that is, first capacitor preset threshold) of value is superimposed the sum of increment with conductor, illustrate that safety cap is not caused to wear shape
The change of state at this point, determining that safety cap is state of attaching the names of pre-determined candidates, and is superimposed environment departing from conductor.
Situation 3, if current collected first capacitor signal is less than last time collected first capacitor signal, and the first electricity
When holding variable less than conductor superposition increment, determine that safety cap is state of attaching the names of pre-determined candidates.
The wearing state of safety cap last time is, if first capacitor signal reduces, to illustrate that safety cap may when attaching the names of pre-determined candidates state
In the state of raising one's hat.If the reduction amount of first capacitor variable is less than conductor superposition increment, that is, safety cap is in conductor always
Stacked rings are domestic, it may be possible to which safety cap is shaken under the state of attaching the names of pre-determined candidates, and causes the reduction of first capacitor signal, then safety cap
For the state of attaching the names of pre-determined candidates.
In order to further ensure that the accurate detection of wearing state, it may be determined that it is pre- whether first capacitor variable is less than first capacitor
If when threshold value, if being less than, then further determining that safety cap is state of attaching the names of pre-determined candidates.
By the above method, can be improved to avoid erroneous judgement caused by conductor superposition environment is entered under the state of having attached the names of pre-determined candidates
To the detection accuracy of safety cap wearing state.
In view of environment locating for safety cap (conductor is superimposed environment or is superimposed environment without conductor) is different, safety will affect
The detection accuracy of cap wearing state.In order to solve this technical problem, following example is provided:
Fig. 5 is a kind of flow chart of wearing state detection method provided in an embodiment of the present invention, and this method is applied to safety
In cap, comprising:
Step 201 obtains environment locating for safety cap last time.
Environment locating for safety cap includes: conductor superposition environment, without conductor superposition environment.
Environment locating for safety cap last time refers to: after obtaining the environment that safety cap is presently in, the storage of processor 3 should
Environment, in the wearing state of detection next time safety cap, processor 3 is using the environment of storage as ring locating for safety cap last time
Border.
If step 202 safety cap last time is superimposed environment in no conductor, execute according to first capacitor variable, first capacitor
Preset threshold carries out the first step 1042A for raising one's hat detection to safety cap.
If step 203, safety cap last time are in conductor superposition environment, execute according to first capacitor variable, first capacitor
Preset threshold carries out the second step 1042B for raising one's hat detection to safety cap.
Since the wearing state of safety cap last time is when attaching the names of pre-determined candidates state, the possible safe wearing cap of construction personnel enters different
In environment, it is therefore necessary to combine environment locating for safety cap last time to execute the first detection and second of raising one's hat to raise one's hat detection, with height
Detect to precision the wearing state of safety cap.
(2-1) in one possible implementation, as fig. 6a illustrates, when safety cap last time wearing state be raise one's hat
When state, environment locating for acquisition safety cap last time involved in step 201A, comprising the following steps:
It obtains conductor and is superimposed preset threshold, when conductor superposition preset threshold is greater than first capacitor preset threshold, including with
Under several situations:
Situation 1 determines that safety cap is in conductor superposition environment if first capacitor variable is greater than conductor and is superimposed preset threshold
In.
When the wearing state of safety cap last time is to raise one's hat state, if there is first capacitor variable, illustrate first capacitor
Signal becomes larger, and can primarily determine that safety cap is state of attaching the names of pre-determined candidates and/or is superimposed in environment in conductor.If first capacitor variable
It is superimposed preset threshold greater than conductor, i.e., it is that hand touching first capacitor formula is close when raising one's hat state that first capacitor variable, which is greater than safety cap,
The lower limit value of corresponding first capacitor variable when sensor illustrates to determine that safety cap is in conductor superposition environment, and is somebody's turn to do
It is that hand touches first capacitor formula proximity sensor 2 that conductor, which is superimposed environment,.
In conjunction with the elaboration of situation 1 in step 1041, it can determine that safety cap is state of raising one's hat at this time.
Situation 2 determines that safety cap is superimposed environment in no conductor if first capacitor variable is less than first capacitor preset threshold
In.
When the wearing state of safety cap last time is to raise one's hat state, if there is first capacitor variable, illustrate first capacitor
Signal becomes larger, and can primarily determine that safety cap is state of attaching the names of pre-determined candidates and/or is superimposed in environment in conductor.If first capacitor variable
Less than first capacitor preset threshold, i.e., it is corresponding when becoming attaching the names of pre-determined candidates state from the state of raising one's hat that first capacitor variable, which is less than safety cap,
First capacitor variable absolute value lower limit value, so, determine that safety cap is to raise one's hat state.
Also, conductor is superimposed preset threshold and is greater than first capacitor preset threshold, so, first capacitor variable is not touched in hand
In first capacitor range of variables caused by first capacitor formula proximity sensor, so, determine that safety cap is superimposed in no conductor
In environment.
(2-2-1) in one possible implementation, as shown in fig. 6b, when safety cap last time wearing state be wear
When hat shape state, step 201B obtains environment locating for safety cap last time, including following several situations:
Situation 1, if current collected first capacitor signal is greater than last time collected first capacitor signal, and first
When capacitor variable is more than or equal to first capacitor preset threshold, determine that safety cap is in conductor superposition environment.
When the wearing state of safety cap last time is to attach the names of pre-determined candidates state, if current collected first capacitor signal is greater than upper
When secondary collected first capacitor signal, and when first capacitor variable is more than or equal to first capacitor preset threshold, in conjunction with
The elaboration of situation 1 in step 1042A determines that safety cap keeps state of attaching the names of pre-determined candidates.Again since first capacitor signal increases, explanation passes through
Conductor superposition environment causes first capacitor signal to increase, so, determine that safety cap is in conductor superposition environment.
Situation 2, if current collected first capacitor signal is less than last time collected first capacitor signal, and first
When capacitor variable is more than or equal to first capacitor preset threshold, determine safety cap in no conductor superposition environment.
When the wearing state of safety cap last time is to attach the names of pre-determined candidates state, if first capacitor signal reduces, illustrate that safety cap can
It can be in state of raising one's hat and/or without in conductor superposition environment.In conjunction with the elaboration of situation 2 in step 1042A, determine that safety cap is de-
Hat shape state.
Further, it raises one's hat one of detection situation since this is detected as first, was in based on safety cap last time
It is carried out in no conductor superposition environment, so, safety cap continues to keep in no conductor superposition environment.
Situation 3, if current collected first capacitor signal is less than last time collected first capacitor signal, and first
When capacitor variable is less than first capacitor preset threshold, determine safety cap in no conductor superposition environment.
When the wearing state of safety cap last time is to attach the names of pre-determined candidates state, if first capacitor signal reduces, illustrate that safety cap can
It can be in state of raising one's hat and/or without in conductor superposition environment.If first capacitor variable is less than first capacitor preset threshold, i.e., the
The reduction amount of one capacitance signal be less than safety cap from the state of attaching the names of pre-determined candidates become the state of raising one's hat caused by first capacitor variable absolute value
Lower limit value, so, the change of safety cap wearing state can't be caused, at this point, determine safety cap still maintain the state of attaching the names of pre-determined candidates.
Due to this be detected as first raise one's hat detection one of situation, be based on safety cap last time be in no conductor be superimposed environment in and
It carries out, so, safety cap continues to keep in no conductor superposition environment.
(2-2-2) in one possible implementation, as shown in fig. 6b, when safety cap last time wearing state be wear
When hat shape state, step 201B obtains environment locating for safety cap last time, comprising the following steps:
It obtains conductor and is superimposed increment.
Conductor superposition increment can be found in the elaboration in step 1042B, and details are not described herein.
Under this condition, obtaining environment locating for safety cap last time includes following several situations:
Situation 1, if current collected first capacitor signal is less than last time collected first capacitor signal, and first
When capacitor variable is more than or equal to conductor superposition the sum of increment and first capacitor preset threshold, determine safety cap in no conductor
It is superimposed in environment.
When the wearing state of safety cap last time is to attach the names of pre-determined candidates state, if current collected first capacitor signal is less than upper
Secondary collected first capacitor signal illustrates that first capacitor signal reduces, and safety cap may be the state of raising one's hat and/or lead in nothing
Body is superimposed in environment.At this point, first capacitor variable, which is more than or equal to conductor, is superimposed the sum of increment and first capacitor preset threshold
When, that is, when the reduction amount of first capacitor signal is greater than conductor superposition increment, it is folded to illustrate that safety cap is detached from conductor under the state of attaching the names of pre-determined candidates
Add environment.Also, the reduction amount of first capacitor signal is also greater than first capacitor variable when becoming raising one's hat state from the state of attaching the names of pre-determined candidates
When the lower limit value of absolute value, at this time, it may be determined that safety cap is state of raising one's hat, and is superimposed environment departing from conductor.
Situation 2, if current collected first capacitor signal is less than last time collected first capacitor signal, first capacitor
Variable is more than or equal to conductor and is superimposed increment, and when being less than conductor superposition the sum of increment and first capacitor preset threshold, determining
Safety cap is in no conductor superposition environment.
When the wearing state of safety cap last time is to attach the names of pre-determined candidates state, if current collected first capacitor signal is less than upper
Secondary collected first capacitor signal illustrates that first capacitor signal reduces, and safety cap may be the state of raising one's hat and/or lead in nothing
Body is superimposed in environment.If reduced first capacitor variable, which is more than or equal to conductor, is superimposed increment, that is, first capacitor signal
Reduction amount is more than or equal to conductor and is superimposed increment, illustrates that safety cap is detached from conductor superposition environment under the state of attaching the names of pre-determined candidates.Further
Ground, when the reduction amount of first capacitor signal, which is less than, becomes raising one's hat state from the state of attaching the names of pre-determined candidates, caused first capacitor variable is absolute
When the lower limit value (that is, first capacitor preset threshold) of value is superimposed the sum of increment with conductor, illustrate that safety cap is not caused to wear shape
The change of state at this point, determining that safety cap is state of attaching the names of pre-determined candidates, and is superimposed environment departing from conductor.
Situation 3, if current collected first capacitor signal is less than last time collected first capacitor signal, and the first electricity
When holding variable less than conductor superposition increment, determine that safety cap is in conductor superposition environment.
When the wearing state of safety cap last time is to attach the names of pre-determined candidates state, if current collected first capacitor signal is less than upper
Secondary collected first capacitor signal illustrates that first capacitor signal reduces, and safety cap is likely to be at the state of raising one's hat and/or without conductor
It is superimposed in environment.When being less than conductor superposition increment due to the reduction amount of first capacitor signal, that is, safety cap is folded in conductor always
Add in environment, it may be possible to which safety cap is shaken under the state of attaching the names of pre-determined candidates, and causes the reduction of first capacitor signal.
Also, referring to the elaboration to step 1042B, determine that safety cap is state of attaching the names of pre-determined candidates at this time.
Fig. 7 is a kind of flow chart of wearing state detection method provided in an embodiment of the present invention, and this method is applied to safety
In cap, this method further include:
Step 301, the first capacitor signal for acquiring first capacitor formula proximity sensor 2.
Step 302, the current collected first capacitor signal of calculating are corresponding with last time collected first capacitor signal
First capacitor variable.
Step 303, the wearing state and first capacitor preset threshold for obtaining safety cap last time.
Step 101~step 103 is detailed in for the elaboration of above steps, details are not described herein.
Step 304, the second capacitance signal for acquiring the second capacitive proximity sensor 4.
The second capacitance signal can be acquired with real-time perfoming, can also be spaced the predetermined time is acquired.Predetermined time can be with
For 10ms~1000ms, for example, can for 10ms, 100ms, 200ms, 300ms, 400ms, 500ms, 600ms, 700ms,
800ms, 900ms, 1000ms etc..
Instrument for acquiring the second capacitance signal can be processor 3, and processor 3 acquires the second capacitive proximity sensing
Second capacitance signal of device 4.
It is understood that the second capacitance signal is bigger, corresponding to capacitance it is bigger.
Step 305, current collected second capacitance signal of calculating are corresponding with last time collected second capacitance signal
Second capacitor variable.
Second capacitor variable refers to: the currently corresponding capacitance of collected second capacitance signal was collected with last time
The corresponding capacitance of the second capacitance signal absolute value of the difference.
It should be noted that current collected second capacitance signal and last time collected second capacitance signal be
Lower collected second capacitance signal of stable state.
Step 306 obtains the second capacitor preset threshold.
Second capacitor preset threshold refers to: caused when safety cap switches between the state of raising one's hat and state of attaching the names of pre-determined candidates
The upper limit value of the absolute value of second capacitor variable.Second capacitor preset threshold is empirical value, can be obtained by test of many times.And
The safety cap obtained by test of many times the second capacitor variable caused when wearing state changes may be different, may
Can exist within the scope of one and change, at this point, the absolute value of the second capacitor variable maximum in the range is pre- as the second capacitor
If threshold value.
Step 307, according to first capacitor variable, the wearing state of safety cap last time, first capacitor preset threshold, determine peace
The current wearing state of full cap, comprising:
According to first capacitor variable, the wearing state of safety cap last time, first capacitor preset threshold, the second capacitor variable,
Second capacitor preset threshold determines the current wearing state of safety cap.
Wearing state, first capacitor variable based on safety cap last time, first capacitor preset threshold, and combine the second capacitor
Variable, the second capacitor preset threshold, can be accurately determined the current wearing state of safety cap.
After construction personnel's safe wearing cap, the first capacitor letter that first capacitor formula proximity sensor is issued not only will affect
Number, it also will affect the second capacitance signal that the second capacitive proximity sensor is issued.Therefore, according to first capacitor variable, peace
Wearing state, first capacitor preset threshold, the second capacitor variable, the second capacitor preset threshold of full cap last time, determines safety cap
Current wearing state be feasible.
Wherein, step 307, according to first capacitor variable, the wearing state of safety cap last time, first capacitor preset threshold,
Second capacitor variable, the second capacitor preset threshold, determine the current wearing state of safety cap, specifically include following several examples:
In one possible implementation, as shown in Fig. 8, when the wearing state of safety cap last time is state of raising one's hat
When, the current wearing state of safety cap is determined involved in step 307, comprising:
It obtains conductor and is superimposed preset threshold, when conductor superposition preset threshold is greater than first capacitor preset threshold, determine peace
The current wearing state of full cap includes following several situations:
Situation 1 determines that safety cap is state of raising one's hat if first capacitor variable is greater than conductor and is superimposed preset threshold.
Situation 2 determines that safety cap is state of raising one's hat if first capacitor variable is less than first capacitor preset threshold.
Step 1041 is detailed in for the elaboration of situation 1 and situation 2.
Situation 3, if first capacitor variable is more than or equal to first capacitor preset threshold, and folded less than or equal to conductor
When adding preset threshold, if also, the second capacitor variable be less than or equal to the second capacitor preset threshold, determine safety cap be attach the names of pre-determined candidates
State.
It is to raise one's hat under state in safety cap, there are when first capacitor variable, illustrates that first capacitor signal becomes larger, safety cap can
It can be state of attaching the names of pre-determined candidates.If first capacitor variable is more than or equal to first capacitor preset threshold, i.e. first capacitor variable is greater than
Or when equal to safety cap becoming attaching the names of pre-determined candidates state from the state of raising one's hat caused first capacitor variable lower limit value, that is, be possible to for
It attaches the names of pre-determined candidates state.Further, if first capacitor variable is less than or equal to conductor and is superimposed preset threshold, that is, first capacitor becomes
The upper limit value of amount first capacitor variable caused when becoming attaching the names of pre-determined candidates state from the state of raising one's hat less than or equal to safety cap.This
When, it can primarily determine that safety cap is state of attaching the names of pre-determined candidates.
But when safety cap is to raise one's hat state, hand is touched between the second capacitive proximity sensor 2 and other component
When connecting line, it is also possible to so that first capacitor variable meets above-mentioned condition, inevitably judge by accident.By combining the second electricity
The current wearing state of safety cap can be determined by holding variable and the second capacitor preset threshold.
If the second capacitor variable is less than or equal to the upper limit value of the second capacitor variable when attaching the names of pre-determined candidates state, illustrate second
The upper limit of capacitor variable the second capacitor variable caused when becoming attaching the names of pre-determined candidates state from the state of raising one's hat less than or equal to safety cap
Value.So, it may be determined that safety cap is state of attaching the names of pre-determined candidates.
Situation 4, if first capacitor variable is more than or equal to first capacitor preset threshold, and folded less than or equal to conductor
When adding preset threshold, if also, the second capacitor variable be greater than the second capacitor preset threshold, determine that safety cap is to raise one's hat state.
It is to raise one's hat under state in safety cap, there are the increase of first capacitor signal when first capacitor variable, is illustrated, safety cap can
It can be state of attaching the names of pre-determined candidates.If first capacitor variable is more than or equal to first capacitor preset threshold, i.e. first capacitor variable is greater than
Or when equal to safety cap becoming attaching the names of pre-determined candidates state from the state of raising one's hat caused first capacitor variable lower limit value, that is, be possible to for
It attaches the names of pre-determined candidates state.Further, if first capacitor variable is less than or equal to conductor and is superimposed preset threshold, that is, first capacitor becomes
The upper limit value of amount first capacitor variable caused when becoming attaching the names of pre-determined candidates state from the state of raising one's hat less than or equal to safety cap.This
When, it can primarily determine that safety cap is state of attaching the names of pre-determined candidates.
But when safety cap is to raise one's hat state, hand is touched between the second capacitive proximity sensor 2 and other component
When connecting line, it is also possible to so that the first capacitor variable obtained is met above-mentioned condition, inevitably judge by accident.By combining the
Two capacitor variables and the second capacitor preset threshold can determine the wearing state of safety cap.
If the second capacitor variable is greater than safety cap when being the upper limit value of the second capacitor variable corresponding when attaching the names of pre-determined candidates state,
Illustrate the upper limit of the second capacitor variable corresponding when the second capacitor variable becomes attaching the names of pre-determined candidates state from the state of raising one's hat greater than safety cap
Value.To sum up, it can determine the connecting line of the second capacitive proximity sensor of hand touching 2 with other component, and be not state of attaching the names of pre-determined candidates.
That is, the wearing state of safety cap is state of raising one's hat.
When the wearing state of safety cap last time is to attach the names of pre-determined candidates state, according to first capacitor variable, the wearing of safety cap last time
State, first capacitor preset threshold determine the current wearing state of safety cap, reference can be made to the elaboration of step 1042.
Locating for safety cap when environment (conductor is superimposed environment and is superimposed environment without conductor) difference, it may influence to safety
The detection accuracy of cap wearing state.In order to solve this technical problem, following example is provided:
Fig. 9 is that the wearing state of the safety cap last time shown in the embodiment of the present invention is when raising one's hat state, to obtain safety cap institute
Locate the flow chart of environment, step 401 obtains environment locating for safety cap last time, including following several situations:
Situation 1 determines that safety cap is in conductor superposition environment if first capacitor variable is greater than conductor and is superimposed preset threshold
In.
Situation 2 determines that safety cap is superimposed environment in no conductor if first capacitor variable is less than first capacitor preset threshold
In.
Step 201A is detailed in for the elaboration of situation 1 and situation 2.
Situation 3, if first capacitor variable is more than or equal to first capacitor preset threshold, and folded less than or equal to conductor
When adding preset threshold, if also, the second capacitor variable be less than or equal to the second capacitor preset threshold when, determine that safety cap is in
In no conductor superposition environment.
It is to raise one's hat under state in safety cap, if there is first capacitor variable and/or the second capacitor variable, then illustrates safety
Cap is state of attaching the names of pre-determined candidates and/or is superimposed in environment in conductor.If first capacitor variable is default more than or equal to first capacitor
Threshold value, i.e. first capacitor variable first capacitor caused when becoming attaching the names of pre-determined candidates state from the state of raising one's hat more than or equal to safety cap
The lower limit value of variable is possible to as the state of attaching the names of pre-determined candidates.Further, if first capacitor variable is superimposed less than or equal to conductor
Preset threshold, that is, first capacitor variable is less than or equal to safety cap caused the when becoming attaching the names of pre-determined candidates state from the state of raising one's hat
The upper limit value of one capacitor variable.At this point it is possible to primarily determine that safety cap is state of attaching the names of pre-determined candidates.
But when safety cap is to raise one's hat state, hand is touched between the second capacitive proximity sensor 2 and other component
When connecting line, it is also possible to so that the first capacitor variable obtained is met above-mentioned condition, inevitably judges by accident, it cannot be accurately
Determine that safety cap is that the state of attaching the names of pre-determined candidates is in conductor superposition environment.
Further, environment locating for safety cap is determined in conjunction with the second capacitor variable and the second capacitor preset threshold.Such as
When fruit the second capacitor variable is less than or equal to the second capacitor preset threshold, illustrate that the second capacitor variable is less than or equal to safety
The upper limit value of cap the second capacitor variable corresponding when becoming attaching the names of pre-determined candidates state from the state of raising one's hat determines that safety cap is state of attaching the names of pre-determined candidates,
Also, there is no hands to touch the second capacitive proximity sensor, determines safety cap in no conductor superposition environment.
Situation 4, if first capacitor variable is more than or equal to first capacitor preset threshold, and folded less than or equal to conductor
When adding preset threshold, if also, the second capacitor variable be greater than the second capacitor preset threshold when, determine safety cap be in conductor be superimposed
In environment.
It is to raise one's hat under state in safety cap, if there is first capacitor variable and/or the second capacitor variable, then illustrates safety
Cap is state of attaching the names of pre-determined candidates and/or is superimposed in environment in conductor.If first capacitor variable is default more than or equal to first capacitor
Threshold value, i.e. first capacitor variable first capacitor caused when becoming attaching the names of pre-determined candidates state from the state of raising one's hat more than or equal to safety cap
The lower limit value of variable is possible to as the state of attaching the names of pre-determined candidates.Further, if first capacitor variable is superimposed less than or equal to conductor
Preset threshold, that is, first capacitor variable is less than or equal to safety cap caused the when becoming attaching the names of pre-determined candidates state from the state of raising one's hat
The upper limit value of one capacitor variable.At this point it is possible to primarily determine that safety cap is state of attaching the names of pre-determined candidates.
But when safety cap is to raise one's hat state, hand is touched between the second capacitive proximity sensor 2 and other component
When connecting line, it is also possible to so that first capacitor variable is met above-mentioned condition, inevitably judge by accident, peace cannot be accurately determined
Full cap is that the state of attaching the names of pre-determined candidates is in conductor superposition environment.
Further, environment locating for safety cap is determined in conjunction with the second capacitor variable and the second capacitor preset threshold.Such as
When fruit the second capacitor variable is greater than the second capacitor preset threshold, illustrate that the second capacitor variable is greater than safety cap and is become from the state of raising one's hat
The upper limit value of the second corresponding capacitor variable when state of attaching the names of pre-determined candidates, so, determine that safety cap is state of raising one's hat, and be in conductor
It is superimposed in environment.
When the wearing state of safety cap last time is to attach the names of pre-determined candidates state, according to first capacitor variable, the wearing of safety cap last time
State, first capacitor preset threshold determine the current wearing state and local environment of safety cap, reference can be made to step 201B's explains
It states.
Figure 10 is a kind of flow chart of wearing state detection method provided in an embodiment of the present invention, and this method is applied to safety
In cap, after determining the current wearing state of safety cap, this method comprises:
Step 501, when determine safety cap be attach the names of pre-determined candidates state when, detection safety cap whether there is acceleration in three-dimensional space
Degree.
It whether there is acceleration in three-dimensional space, it can be understood as whether there is acceleration on tri- axis of X, Y, Z.
If there are acceleration for step 502, safety cap, it is determined that safety cap is state of normally attaching the names of pre-determined candidates.
When determine safety cap be attach the names of pre-determined candidates state when, if safety cap any one axis of tri- axis of X, Y, Z, two axis,
Or there are when acceleration on three axis, it is determined that safety cap is state of normally attaching the names of pre-determined candidates.For example, can applying for safe wearing cap
Worker person walks about.
If acceleration is not present in step 503, safety cap, it is determined that safety cap is abnormal state of attaching the names of pre-determined candidates.
When determine safety cap be attach the names of pre-determined candidates state when, if safety cap on tri- axis of X, Y, Z be not present acceleration when,
Determine safety cap for abnormal state of attaching the names of pre-determined candidates.(construction personnel falls in a swoon shape for example, can not move for construction personnel's safe wearing cap
State).
It, can by the way that after determining that safety cap is state of attaching the names of pre-determined candidates, detection safety cap whether there is acceleration in three-dimensional space
To determine whether safety cap is normally worn, in order to the monitoring to construction personnel.
In one possible implementation, method provided in an embodiment of the present invention further include:
When being unable to normal acquisition first capacitor signal and/or the second capacitance signal, error signal is sent to middle control platform.
When be unable to normal acquisition first capacitor signal, the second capacitance signal or first capacitor signal and the second capacitor letter
Number when, Xiang Zhongkong platform sends error signal, in order to which technical staff is to the reparation of safety cap wearing state detection method and right
The detection of safety cap wearing state.
Figure 11 is a kind of block diagram of safety cap wearing state detection device shown according to an exemplary embodiment, the device
Applied in safety cap, comprising:
First acquisition module 601, for acquiring the first capacitor signal of first capacitor formula proximity sensor 2;
First computing module 602, for calculating current collected first capacitor signal and last time collected first electricity
Hold the corresponding first capacitor variable of signal;
First obtains module 603, for obtaining the wearing state and first capacitor preset threshold of safety cap last time;
Determining module 604, for presetting threshold according to first capacitor variable, the wearing state of safety cap last time, first capacitor
Value, determines the current wearing state of safety cap.
In safety cap wearing state detection device provided in an embodiment of the present invention, pass through the close sensing of acquisition first capacitor formula
It is corresponding with last time collected first capacitor signal to calculate current collected first capacitor signal for the first capacitor signal of device 2
First capacitor variable, it is default according to the wearing state and first capacitor of first capacitor variable and the safety cap last time obtained
Threshold value determines the current wearing state of safety cap, makes to hold between safety cap, touch capacitor type proximity sensor and other component
Connecting line, into conductor superposition environment etc. cause to reduce the erroneous judgement frequency of safety cap wearing state, improve to safety
The detection accuracy of the current wearing state of cap.
In one possible implementation, when the wearing state of safety cap last time is to raise one's hat state, determining module 604
Include:
First acquisition unit is greater than first capacitor in conductor superposition preset threshold for obtaining conductor superposition preset threshold
When preset threshold:
First determination unit determines that safety cap is to raise one's hat if being greater than conductor for first capacitor variable is superimposed preset threshold
State;
Second determination unit determines that safety cap is to raise one's hat if being less than first capacitor preset threshold for first capacitor variable
State;
Third determination unit, if for first capacitor variable be more than or equal to first capacitor preset threshold, and be less than or
Person is equal to conductor and is superimposed preset threshold, determines that safety cap is state of attaching the names of pre-determined candidates.
In one possible implementation, when the wearing state of safety cap last time is to attach the names of pre-determined candidates state, determining module 604
Include:
First detection unit, for it is de- to carry out first to safety cap according to first capacitor variable, first capacitor preset threshold
Cap detection, to determine the current wearing state of safety cap;
Alternatively, second detection unit, for being carried out to safety cap according to first capacitor variable, first capacitor preset threshold
Second raises one's hat detection, to determine the current wearing state of safety cap.
In one possible implementation, first detection unit includes:
First determines subelement, if being greater than last time collected first capacitor for current collected first capacitor signal
Signal, and when first capacitor variable is more than or equal to first capacitor preset threshold, determine that safety cap is to attach the names of pre-determined candidates state;
Second determines subelement, if being less than last time collected first capacitor for current collected first capacitor signal
Signal, and when first capacitor variable is more than or equal to first capacitor preset threshold, determine that safety cap is to raise one's hat state;
Third determines subelement, if being less than last time collected first capacitor for current collected first capacitor signal
Signal, and when first capacitor variable is less than first capacitor preset threshold, determine that safety cap is to attach the names of pre-determined candidates state.
In one possible implementation, second detection unit includes:
First obtains subelement, for obtaining conductor superposition increment;
4th determines subelement, if being less than last time collected first capacitor for current collected first capacitor signal
Signal, and first capacitor variable be more than or equal to conductor superposition the sum of increment and first capacitor preset threshold when, determine safely
Cap is state of raising one's hat;
5th determines subelement, if being less than last time collected first capacitor for current collected first capacitor signal
Signal, first capacitor variable are more than or equal to conductor and are superimposed increment, and are less than conductor superposition increment and preset threshold with first capacitor
When the sum of value, determine that safety cap is state of attaching the names of pre-determined candidates;
6th determines subelement, if being less than last time collected first capacitor for current collected first capacitor signal
Signal, and when first capacitor variable is less than conductor superposition increment, determine that safety cap is to attach the names of pre-determined candidates state.
In one possible implementation, device provided in an embodiment of the present invention further include:
Second obtains module, for obtaining environment locating for safety cap last time;
If safety cap last time is superimposed environment in no conductor, is executed by first detection unit and become according to first capacitor
Amount, first capacitor preset threshold carry out first to safety cap and raise one's hat the step of detecting;
If safety cap last time be in conductor superposition environment, by second detection unit execution according to first capacitor variable,
First capacitor preset threshold carries out second to safety cap and raises one's hat the step of detecting.
In one possible implementation, the second acquisition module includes:
Second acquisition unit is greater than first capacitor in conductor superposition preset threshold for obtaining conductor superposition preset threshold
When preset threshold:
4th determination unit determines that safety cap is in and leads if being greater than conductor for first capacitor variable is superimposed preset threshold
Body is superimposed in environment;
5th determination unit determines that safety cap is in nothing if being less than first capacitor preset threshold for first capacitor variable
Conductor is superimposed in environment.
In one possible implementation, the second acquisition module includes:
6th determination unit, if being greater than last time collected first capacitor letter for current collected first capacitor signal
Number, and when first capacitor variable is more than or equal to first capacitor preset threshold, determine that safety cap is in conductor superposition environment
In;
7th determination unit, if being less than last time collected first capacitor letter for current collected first capacitor signal
Number, and when first capacitor variable is more than or equal to first capacitor preset threshold, determine safety cap in no conductor stacked rings
In border;
8th determination unit, if being less than last time collected first capacitor letter for current collected first capacitor signal
Number, and when first capacitor variable is less than first capacitor preset threshold, determine safety cap in no conductor superposition environment.
In one possible implementation, the second acquisition module includes:
Third acquiring unit, for obtaining conductor superposition increment;
9th determination unit, if being less than last time collected first capacitor letter for current collected first capacitor signal
Number, and when first capacitor variable is more than or equal to conductor superposition the sum of increment and first capacitor preset threshold, determine safety
Cap is in no conductor superposition environment;
Tenth determination unit, if being less than last time collected first capacitor letter for current collected first capacitor signal
Number, first capacitor variable is more than or equal to conductor and is superimposed increment, and is less than conductor superposition increment and first capacitor preset threshold
The sum of when, determine safety cap in no conductor superposition environment in;
11st determination unit, if being less than last time collected first capacitor for current collected first capacitor signal
Signal, and first capacitor variable be less than conductor superposition increment when, determine safety cap be in conductor be superimposed environment in.
In one possible implementation, device provided in an embodiment of the present invention further include:
Second acquisition module, for acquiring the second capacitance signal of the second capacitive proximity sensor 4;
Second computing module is believed for calculating current collected second capacitance signal and last time collected second capacitor
Number corresponding second capacitor variable;
Third obtains module, for obtaining the second capacitor preset threshold;
Determining module 604 is used for:
According to first capacitor variable, the wearing state of safety cap last time, first capacitor preset threshold, the second capacitor variable,
Second capacitor preset threshold determines the current wearing state of safety cap.
In one possible implementation, when the wearing state of safety cap last time is to raise one's hat state, determining module
604, comprising:
First acquisition unit is greater than first capacitor in conductor superposition preset threshold for obtaining the first conductor preset threshold
When preset threshold:
12nd determination unit if being more than or equal to first capacitor preset threshold for first capacitor variable, and is less than
Or be equal to conductor superposition preset threshold when, if also, the second capacitor variable be less than or equal to the second capacitor preset threshold, really
Determining safety cap is state of attaching the names of pre-determined candidates;
13rd determination unit if being more than or equal to first capacitor preset threshold for first capacitor variable, and is less than
Or be equal to conductor superposition preset threshold when, if also, the second capacitor variable be greater than the second capacitor preset threshold, determine safety cap
For the state of raising one's hat.
In one possible implementation, the second acquisition module includes:
14th determination unit if being more than or equal to first capacitor preset threshold for first capacitor variable, and is less than
Or be equal to conductor superposition preset threshold when, if also, the second capacitor variable be less than or equal to the second capacitor preset threshold when,
Determine safety cap in no conductor superposition environment;
15th determination unit if being more than or equal to first capacitor preset threshold for first capacitor variable, and is less than
Or be equal to conductor superposition preset threshold when, if also, the second capacitor variable be greater than the second capacitor preset threshold when, determine safety
Cap is in conductor superposition environment.
In one possible implementation, device provided in an embodiment of the present invention further include:
Acceleration detection module, for detecting safety cap in three-dimensional when determining module determines that safety cap is to attach the names of pre-determined candidates state
It whether there is acceleration in space:
If there are acceleration for safety cap, it is determined that module determines that safety cap is state of normally attaching the names of pre-determined candidates;
If acceleration is not present in safety cap, it is determined that module determines safety cap for abnormal state of attaching the names of pre-determined candidates.
In one possible implementation, device provided in an embodiment of the present invention further include:
Sending module, for when being unable to normal acquisition first capacitor signal and/or the second capacitance signal, to middle control platform
Send error signal.
All the above alternatives can form the alternative embodiment of the disclosure, herein no longer using any combination
It repeats one by one.
About the system in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
It should be understood that a kind of safety cap wearing state detection device provided by the above embodiment is in detection safety cap
When wearing state, only the example of the division of the above functional modules, in practical application, can according to need and will be upper
It states function distribution to be completed by different functional modules, i.e., the internal structure of processor is divided into different functional modules, with complete
At all or part of function described above.In addition, safety cap wearing state detection method provided by the above embodiment and peace
Full cap wearing state detection device embodiment belongs to same design, and specific implementation process is detailed in embodiment of the method, here no longer
It repeats.
The embodiment of the present disclosure additionally provides a kind of computer readable storage medium, is stored at least one in the storage medium
Instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, at least a Duan Chengxu, code set or instruction set by
Reason device is loaded and is executed to realize Fig. 3~any open embodiment offer shown in Fig. 10 safety cap wearing state detection side
Method.
Wherein, computer readable storage medium can be read-only memory (Read-Only Memory, ROM), arbitrary access
Memory (Random Access Memory, RAM), CD-ROM (Compact Disc Read-Only Memory, CD-
ROM), tape, floppy disk and optical data storage devices etc..
The foregoing is merely presently preferred embodiments of the present invention, the protection scope being not intended to limit the invention, all in this hair
Within bright spirit and principle, any modification, equivalent replacement, improvement and so on should be included in protection scope of the present invention
Within.
Claims (20)
1. a kind of safety cap, which is characterized in that the safety cap includes: cap body (1) and is set on the cap body (1)
First capacitor formula proximity sensor (2) and processor (3);
The first capacitor formula proximity sensor (2) and the processor (3) are electrically connected;
The processor (3) is configured as acquiring the first capacitor signal of the first capacitor formula proximity sensor (2);Calculating is worked as
Preceding collected first capacitor signal first capacitor variable corresponding with last time collected first capacitor signal;Obtain the peace
The wearing state and first capacitor preset threshold of full cap last time;According to the first capacitor variable, safety cap last time
Wearing state, the first capacitor preset threshold, determine the current wearing state of the safety cap.
2. safety cap according to claim 1, which is characterized in that the safety cap further include: be set to the cap body (1)
On, and the second capacitive proximity sensor (4) being electrically connected with the processor (3);
The electrode plate suqare of the first capacitor formula proximity sensor (2) is greater than second capacitive proximity sensor (4)
Electrode plate suqare.
3. safety cap according to claim 2, which is characterized in that the first capacitor formula proximity sensor (2) and described
Second capacitive proximity sensor (4) is set on the inner wall of the cap body (1);
The processor (3) is set on the outer wall of the cap body (1).
4. safety cap according to claim 1, which is characterized in that the processor (3) further include: acceleration transducer;
The acceleration transducer is used to detect the safety cap in three-dimensional space when determining the safety cap is to attach the names of pre-determined candidates state
It is interior to whether there is acceleration.
5. a kind of safety cap wearing state detection method, which is characterized in that the method is applied in safety cap, the method packet
It includes:
Acquire the first capacitor signal of first capacitor formula proximity sensor (2);
Calculate current collected first capacitor signal first capacitor variable corresponding with last time collected first capacitor signal;
Obtain the wearing state and first capacitor preset threshold of the safety cap last time;
According to the first capacitor variable, the wearing state of the safety cap last time, the first capacitor preset threshold, institute is determined
State the current wearing state of safety cap.
6. according to the method described in claim 5, it is characterized in that, when the wearing state of the safety cap last time is state of raising one's hat
When, it is described according to the first capacitor variable, the wearing state of the safety cap last time, the first capacitor preset threshold, really
The current wearing state of the fixed safety cap, comprising:
It obtains conductor and is superimposed preset threshold, when conductor superposition preset threshold is greater than the first capacitor preset threshold:
If the first capacitor variable, which is greater than the conductor, is superimposed preset threshold, determine that the safety cap is state of raising one's hat;
If the first capacitor variable is less than the first capacitor preset threshold, determine that the safety cap is state of raising one's hat;
If the first capacitor variable is more than or equal to the first capacitor preset threshold, and is less than or equal to the conductor
It is superimposed preset threshold, determines that the safety cap is state of attaching the names of pre-determined candidates.
7. according to the method described in claim 5, it is characterized in that, when the wearing state of the safety cap last time is state of attaching the names of pre-determined candidates
When, it is described according to the first capacitor variable, the wearing state of the safety cap last time, the first capacitor preset threshold, really
The current wearing state of the fixed safety cap, comprising:
According to the first capacitor variable, the first capacitor preset threshold, first is carried out to the safety cap and is raised one's hat detection, with
Determine the current wearing state of the safety cap;
Alternatively, according to the first capacitor variable, the first capacitor preset threshold, second is carried out to the safety cap and is raised one's hat inspection
It surveys, with the current wearing state of the determination safety cap.
8. the method according to the description of claim 7 is characterized in that it is described according to the first capacitor variable, it is described first electricity
Hold preset threshold, first carried out to the safety cap and is raised one's hat detection, comprising:
If current collected first capacitor signal is greater than last time collected first capacitor signal, and the first capacitor variable
When more than or equal to the first capacitor preset threshold, determine that the safety cap is state of attaching the names of pre-determined candidates;
If current collected first capacitor signal is less than last time collected first capacitor signal, and the first capacitor variable
When more than or equal to the first capacitor preset threshold, determine that the safety cap is state of raising one's hat;
If current collected first capacitor signal is less than last time collected first capacitor signal, and the first capacitor variable
When less than the first capacitor preset threshold, determine that the safety cap is state of attaching the names of pre-determined candidates.
9. the method according to the description of claim 7 is characterized in that it is described according to the first capacitor variable, it is described first electricity
Hold preset threshold, second carried out to the safety cap and is raised one's hat detection, comprising:
It obtains conductor and is superimposed increment;
If current collected first capacitor signal is less than last time collected first capacitor signal, and the first capacitor variable
When being superimposed the sum of increment and the first capacitor preset threshold more than or equal to the conductor, determine that the safety cap is to raise one's hat
State;
If current collected first capacitor signal is less than last time collected first capacitor signal, the first capacitor variable is big
In or be equal to the conductor be superimposed increment, and be less than the conductor be superimposed the sum of increment and the first capacitor preset threshold
When, determine that the safety cap is state of attaching the names of pre-determined candidates;
If current collected first capacitor signal is less than last time collected first capacitor signal, and the first capacitor variable
When being superimposed increment less than the conductor, determine that the safety cap is state of attaching the names of pre-determined candidates.
10. the method according to the description of claim 7 is characterized in that the method also includes:
Obtain environment locating for the safety cap last time;
If the safety cap last time is superimposed environment in no conductor, execute according to the first capacitor variable, first electricity
Hold preset threshold, first is carried out to the safety cap and is raised one's hat the step of detecting;
If the safety cap last time is in conductor superposition environment, execute according to the first capacitor variable, the first capacitor
Preset threshold carries out second to the safety cap and raises one's hat the step of detecting.
11. according to the method described in claim 10, it is characterized in that, when the wearing state of the safety cap last time is shape of raising one's hat
It is described to obtain environment locating for the safety cap last time when state, comprising:
It obtains conductor and is superimposed preset threshold, when conductor superposition preset threshold is greater than the first capacitor preset threshold:
If the first capacitor variable, which is greater than the conductor, is superimposed preset threshold, determine that the safety cap is in conductor superposition environment
In;
If the first capacitor variable is less than the first capacitor preset threshold, determine the safety cap in no conductor stacked rings
In border.
12. according to the method described in claim 10, it is characterized in that, when the wearing state of the safety cap last time is shape of attaching the names of pre-determined candidates
It is described to obtain environment locating for the safety cap last time when state, comprising:
If current collected first capacitor signal is greater than last time collected first capacitor signal, and becomes in the first capacitor
When amount is more than or equal to the first capacitor preset threshold, determine that the safety cap is in conductor superposition environment;
If current collected first capacitor signal is less than last time collected first capacitor signal, and becomes in the first capacitor
When amount is more than or equal to the first capacitor preset threshold, determine the safety cap in no conductor superposition environment;
If current collected first capacitor signal is less than last time collected first capacitor signal, and becomes in the first capacitor
When amount is less than the first capacitor preset threshold, determine the safety cap in no conductor superposition environment.
13. according to the method described in claim 10, it is characterized in that, when the wearing state of the safety cap last time is shape of attaching the names of pre-determined candidates
It is described to obtain environment locating for the safety cap last time when state, comprising:
It obtains conductor and is superimposed increment;
If current collected first capacitor signal is less than last time collected first capacitor signal, and becomes in the first capacitor
When amount is more than or equal to conductor superposition the sum of increment and the first capacitor preset threshold, determine that the safety cap is in
In no conductor superposition environment;
If current collected first capacitor signal is less than last time collected first capacitor signal, the first capacitor variable is big
In or be equal to the conductor be superimposed increment, and be less than the conductor be superimposed the sum of increment and the first capacitor preset threshold
When, determine the safety cap in no conductor superposition environment;
If current collected first capacitor signal is less than last time collected first capacitor signal, and the first capacitor variable
When being superimposed increment less than the conductor, determine that the safety cap is in conductor superposition environment.
14. according to the method described in claim 10, it is characterized in that, the method also includes:
Acquire the second capacitance signal of the second capacitive proximity sensor (4);
Calculate current collected second capacitance signal the second capacitor variable corresponding with last time collected second capacitance signal;
Obtain the second capacitor preset threshold;
It is described according to the first capacitor variable, the wearing state of the safety cap last time, the first capacitor preset threshold, really
The current wearing state of the fixed safety cap, comprising:
According to the first capacitor variable, the wearing state of the safety cap last time, the first capacitor preset threshold, described
Two capacitor variables, the second capacitor preset threshold, determine the current wearing state of the safety cap.
15. according to the method for claim 14, which is characterized in that when the wearing state of the safety cap last time is shape of raising one's hat
When state, it is described according to the first capacitor variable, the wearing state of the safety cap last time, the first capacitor preset threshold,
The second capacitor variable, the second capacitor preset threshold, determine the current wearing state of the safety cap, comprising:
It obtains conductor and is superimposed preset threshold, when conductor superposition preset threshold is greater than the first capacitor preset threshold:
If the first capacitor variable is more than or equal to the first capacitor preset threshold, and is less than or equal to the conductor
Be superimposed preset threshold when, if also, the second capacitor variable be less than or equal to the second capacitor preset threshold, determine institute
Stating safety cap is state of attaching the names of pre-determined candidates;
If the first capacitor variable is more than or equal to the first capacitor preset threshold, and is less than or equal to the conductor
Be superimposed preset threshold when, if also, the second capacitor variable be greater than the second capacitor preset threshold, determine the safety cap
For the state of raising one's hat.
16. according to the method for claim 14, which is characterized in that when the wearing state of the safety cap last time is shape of raising one's hat
It is described to obtain environment locating for the safety cap last time when state, comprising:
It obtains conductor and is superimposed preset threshold, when conductor superposition preset threshold is greater than the first capacitor preset threshold:
If the first capacitor variable is more than or equal to the first capacitor preset threshold, and is less than or equal to the conductor
Be superimposed preset threshold when, if also, the second capacitor variable be less than or equal to the second capacitor preset threshold, determine institute
Safety cap is stated in no conductor superposition environment;
If the first capacitor variable is more than or equal to the first capacitor preset threshold, and is less than or equal to the conductor
Be superimposed preset threshold when, if also, the second capacitor variable be greater than the second capacitor preset threshold when, determine the safety
Cap is in conductor superposition environment.
17. according to the described in any item methods of claim 5~16, which is characterized in that in working as the determination safety cap
After preceding wearing state, which comprises
When determining the safety cap is to attach the names of pre-determined candidates state, detect the safety cap whether there is acceleration in three-dimensional space:
If there are acceleration for the safety cap, it is determined that the safety cap is state of normally attaching the names of pre-determined candidates;
If acceleration is not present in the safety cap, it is determined that the safety cap is abnormal state of attaching the names of pre-determined candidates.
18. according to the described in any item methods of claim 5~16, which is characterized in that the method also includes:
When being unable to first capacitor signal described in normal acquisition and/or the second capacitance signal, error signal is sent to middle control platform.
19. a kind of safety cap wearing state detection device, which is characterized in that described device is applied in safety cap, described device
Include:
First acquisition module, for acquiring the first capacitor signal of first capacitor formula proximity sensor (2);
First computing module, for calculating current collected first capacitor signal and last time collected first capacitor signal pair
The first capacitor variable answered;
First obtains module, for obtaining the wearing state and first capacitor preset threshold of the safety cap last time;
Determining module, for pre- according to the first capacitor variable, the wearing state of the safety cap last time, the first capacitor
If threshold value, the current wearing state of the safety cap is determined.
20. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, extremely in the storage medium
A few Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or instruction
Collection is loaded by processor and is executed to realize the safety cap wearing state detection method as described in claim 5~18 is any.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810212734.4A CN110269304B (en) | 2018-03-15 | 2018-03-15 | Safety helmet, wearing state detection method and device, and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810212734.4A CN110269304B (en) | 2018-03-15 | 2018-03-15 | Safety helmet, wearing state detection method and device, and computer-readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110269304A true CN110269304A (en) | 2019-09-24 |
CN110269304B CN110269304B (en) | 2022-03-08 |
Family
ID=67958453
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810212734.4A Active CN110269304B (en) | 2018-03-15 | 2018-03-15 | Safety helmet, wearing state detection method and device, and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110269304B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110716643A (en) * | 2019-10-10 | 2020-01-21 | 出门问问信息科技有限公司 | Wearable device, control method thereof and computer storage medium |
CN110763282A (en) * | 2019-11-15 | 2020-02-07 | 北京三快在线科技有限公司 | Helmet, method for helmet monitoring, helmet detection system |
CN111982161A (en) * | 2020-07-30 | 2020-11-24 | 拉扎斯网络科技(上海)有限公司 | Conductor object position determining method and device |
WO2021081873A1 (en) * | 2019-10-31 | 2021-05-06 | 博世电动工具(中国)有限公司 | Safety helmet and intelligent module thereof |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0956549A (en) * | 1995-06-14 | 1997-03-04 | Toto Ltd | Anti-fogging mirror |
WO1998034506A1 (en) * | 1997-02-06 | 1998-08-13 | M.P.H. Associates, Inc. | Ventilated safety helmet with progressively crushable liner |
US20130026052A1 (en) * | 2011-07-26 | 2013-01-31 | Blaine Kevin Tompkins | Apparatus, and associated method, for protectively supporting an object |
US20150268729A1 (en) * | 2003-02-06 | 2015-09-24 | Thomas G. Cehelnk | Electric Field Sensor Arrays for Interactive Gaming, Computer Interfaces, Machine Vision, Medical, Imaging, and Geological Exploration CIP |
CN205018380U (en) * | 2015-09-08 | 2016-02-10 | 重庆智锐德科技有限公司 | Motorcycle helmet |
CN105581411A (en) * | 2016-01-26 | 2016-05-18 | 大唐国际发电股份有限公司重庆分公司 | Intelligent safety helmet and personnel location management system and method |
CN205456337U (en) * | 2016-01-28 | 2016-08-17 | 张昭印 | Intelligent safety helmet |
CN106249302A (en) * | 2016-08-12 | 2016-12-21 | 华为技术有限公司 | Wearable device and wearable device wear detection device |
CN106360867A (en) * | 2016-08-25 | 2017-02-01 | 国家电网公司 | Cable gallery operation positioning protector of power distribution system |
WO2017079484A1 (en) * | 2015-11-04 | 2017-05-11 | Google Inc. | Connectors for connecting electronics embedded in garments to external devices |
CN206284469U (en) * | 2016-12-12 | 2017-06-30 | 云南玉溪中汇电力设备有限责任公司 | Intelligent safety helmet |
CN107065016A (en) * | 2017-03-01 | 2017-08-18 | 歌尔科技有限公司 | It is a kind of to wear detection method, device and headphone for headphone |
CN107438398A (en) * | 2015-01-06 | 2017-12-05 | 大卫·伯顿 | Movable wearable monitoring system |
EP3284361A2 (en) * | 2016-07-29 | 2018-02-21 | Ioan Smallwood | Helmet |
-
2018
- 2018-03-15 CN CN201810212734.4A patent/CN110269304B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0956549A (en) * | 1995-06-14 | 1997-03-04 | Toto Ltd | Anti-fogging mirror |
WO1998034506A1 (en) * | 1997-02-06 | 1998-08-13 | M.P.H. Associates, Inc. | Ventilated safety helmet with progressively crushable liner |
US20150268729A1 (en) * | 2003-02-06 | 2015-09-24 | Thomas G. Cehelnk | Electric Field Sensor Arrays for Interactive Gaming, Computer Interfaces, Machine Vision, Medical, Imaging, and Geological Exploration CIP |
US20130026052A1 (en) * | 2011-07-26 | 2013-01-31 | Blaine Kevin Tompkins | Apparatus, and associated method, for protectively supporting an object |
CN107438398A (en) * | 2015-01-06 | 2017-12-05 | 大卫·伯顿 | Movable wearable monitoring system |
CN205018380U (en) * | 2015-09-08 | 2016-02-10 | 重庆智锐德科技有限公司 | Motorcycle helmet |
WO2017079484A1 (en) * | 2015-11-04 | 2017-05-11 | Google Inc. | Connectors for connecting electronics embedded in garments to external devices |
CN105581411A (en) * | 2016-01-26 | 2016-05-18 | 大唐国际发电股份有限公司重庆分公司 | Intelligent safety helmet and personnel location management system and method |
CN205456337U (en) * | 2016-01-28 | 2016-08-17 | 张昭印 | Intelligent safety helmet |
EP3284361A2 (en) * | 2016-07-29 | 2018-02-21 | Ioan Smallwood | Helmet |
CN106249302A (en) * | 2016-08-12 | 2016-12-21 | 华为技术有限公司 | Wearable device and wearable device wear detection device |
CN106360867A (en) * | 2016-08-25 | 2017-02-01 | 国家电网公司 | Cable gallery operation positioning protector of power distribution system |
CN206284469U (en) * | 2016-12-12 | 2017-06-30 | 云南玉溪中汇电力设备有限责任公司 | Intelligent safety helmet |
CN107065016A (en) * | 2017-03-01 | 2017-08-18 | 歌尔科技有限公司 | It is a kind of to wear detection method, device and headphone for headphone |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110716643A (en) * | 2019-10-10 | 2020-01-21 | 出门问问信息科技有限公司 | Wearable device, control method thereof and computer storage medium |
WO2021081873A1 (en) * | 2019-10-31 | 2021-05-06 | 博世电动工具(中国)有限公司 | Safety helmet and intelligent module thereof |
CN110763282A (en) * | 2019-11-15 | 2020-02-07 | 北京三快在线科技有限公司 | Helmet, method for helmet monitoring, helmet detection system |
CN111982161A (en) * | 2020-07-30 | 2020-11-24 | 拉扎斯网络科技(上海)有限公司 | Conductor object position determining method and device |
Also Published As
Publication number | Publication date |
---|---|
CN110269304B (en) | 2022-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110269304A (en) | Safety cap, wearing state detection method and device, computer readable storage medium | |
US10331324B1 (en) | Measurement and testing system | |
CN209134600U (en) | A kind of earphone | |
EP2860611A1 (en) | User interface method and apparatus based on spatial location recognition | |
US9261967B2 (en) | Gesture recognition system | |
CN107817534B (en) | Data acquisition method and device of intelligent wearable device and intelligent wearable device | |
CN104571605B (en) | Control method and system of intelligent electronic equipment | |
CN110443976A (en) | Safety prompt function method, apparatus and storage medium based on safety cap | |
CN108447225A (en) | A kind of tumble detection method for human body and device | |
CN103984437A (en) | Wearable touch device and wearable touch method | |
EP3924978B1 (en) | System and method for detecting and evaluating risk factors for the protection of the health of workers | |
CN104750314B (en) | Object space detection method, microprocessor and detection system | |
CN211460225U (en) | Big mouse gait monitoring device based on acceleration sensor | |
CN103424096A (en) | Method for measuring angles through mobile phone | |
CN105892746A (en) | Touch method and electronic device | |
CN114098719A (en) | Action detection method and device and wearable device | |
CN106875631A (en) | One kind falls down detection alarm method and system | |
JP2020137801A (en) | Device for estimating posture of human or the like | |
KR102193653B1 (en) | Diagonis system for user behavior ad user cognition ability and method thereof | |
CN103505195B (en) | Method and device for measuring human body pulse and mobile terminal | |
AU2021105041A4 (en) | Method and equipment for judging safety of operating personnel | |
CN112426709A (en) | Forearm movement posture recognition method, interface interaction control method and device | |
CN106453895B (en) | The method of tape measure function is realized on intelligent mobile terminal | |
Yussof et al. | Development of optical three-axis tactile sensor and its application to robotic hand for dexterous manipulation tasks | |
CN112432640A (en) | Usage state judgment method and device, electronic device and medium |
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 |