CN110269304B - Safety helmet, wearing state detection method and device, and computer-readable storage medium - Google Patents

Safety helmet, wearing state detection method and device, and computer-readable storage medium Download PDF

Info

Publication number
CN110269304B
CN110269304B CN201810212734.4A CN201810212734A CN110269304B CN 110269304 B CN110269304 B CN 110269304B CN 201810212734 A CN201810212734 A CN 201810212734A CN 110269304 B CN110269304 B CN 110269304B
Authority
CN
China
Prior art keywords
capacitance
helmet
safety helmet
wearing state
preset threshold
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.)
Active
Application number
CN201810212734.4A
Other languages
Chinese (zh)
Other versions
CN110269304A (en
Inventor
胡爱萍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201810212734.4A priority Critical patent/CN110269304B/en
Publication of CN110269304A publication Critical patent/CN110269304A/en
Application granted granted Critical
Publication of CN110269304B publication Critical patent/CN110269304B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A42HEADWEAR
    • A42BHATS; HEAD COVERINGS
    • A42B3/00Helmets; Helmet covers ; Other protective head coverings
    • A42B3/04Parts, details or accessories of helmets
    • A42B3/0406Accessories for helmets
    • A42B3/0433Detecting, signalling or lighting devices
    • A42B3/0466Means for detecting that the user is wearing a helmet
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V3/00Electric 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 safety helmet, a wearing state detection method and device and a computer readable storage medium, and belongs to the field of construction site equipment. This safety helmet includes: the first capacitive proximity sensor and the processor are arranged on the cap body; the first capacitive proximity sensor is electrically connected with the processor; the processor is configured to acquire a first capacitance signal of the first capacitive proximity sensor; calculating a first capacitance variable corresponding to a first capacitance signal acquired at present and a first capacitance signal acquired last time; acquiring the last wearing state of the safety helmet and a first preset capacitance threshold; and determining the current wearing state of the safety helmet according to the first capacitance variable, the last wearing state of the safety helmet and the first capacitance preset threshold value. The helmet can reduce the misjudgment frequency of the wearing state of the helmet caused by connecting wires between a handheld helmet and other parts and a touch capacitive proximity sensor, entering a conductor superposition environment and the like, and improves the detection precision.

Description

Safety helmet, wearing state detection method and device, and computer-readable storage medium
Technical Field
The invention relates to the field of construction site equipment, in particular to a safety helmet, a wearing state detection method and device and a computer readable storage medium.
Background
In a construction site, the safety helmet is worn correctly and is very important for safety construction of constructors, however, some constructors with low safety consciousness often do not wear the safety helmet, so that the wearing state of the safety helmet of the constructors is very necessary to be monitored. Wherein, the safety helmet wearing state includes: a capped state and an uncapped state.
In the related technology, 2-3 capacitive proximity sensors, capacitive sensing controllers and processors with the same specification are arranged on the helmet body of the safety helmet so as to detect the wearing state of the safety helmet. The capacitive sensing controller collects capacitance signals of 2-3 capacitive proximity sensors in real time and processes the capacitance signals, when the capacitance signals collected by the capacitive sensing controller change, capacitance signal change data are sent to the processor, and after the processor processes the capacitance signal change data, the wearing state of the safety helmet is obtained.
The inventors found that the related art has at least the following technical problems:
under the superposition environment of conductors such as connecting wires between a handheld safety helmet and other parts and between a touch capacitive proximity sensor and other parts, a capacitance signal of the capacitive proximity sensor also changes, the capacitance signal which changes is collected by a capacitive sensing controller, and a processor processes the capacitance signal which changes, so that the wearing state of the safety helmet is misjudged, and the detection precision is poor.
Disclosure of Invention
The embodiment of the invention provides a safety helmet, a wearing state detection method and device and a computer readable storage medium, which can solve the technical problems. The specific technical scheme is as follows:
in one aspect, an embodiment of the present invention provides a safety helmet, including: a cap, and a first capacitive proximity sensor and a processor disposed on the cap;
the first capacitive proximity sensor is electrically connected with the processor;
the processor is configured to acquire a first capacitance signal of the first capacitive proximity sensor; calculating a first capacitance variable corresponding to a first capacitance signal acquired at present and a first capacitance signal acquired last time; acquiring the last wearing state of the safety helmet and a first preset capacitance threshold; and determining the current wearing state of the safety helmet according to the first capacitance variable, the last wearing state of the safety helmet and the first preset capacitance threshold.
In one possible design, the headgear further includes: the second capacitive proximity sensor is arranged on the cap body and is electrically connected with the processor;
the electrode plate area of the first capacitive proximity sensor is larger than the electrode plate area of the second capacitive proximity sensor.
In one possible design, the first and second capacitive proximity sensors are disposed on an inner wall of the cap;
the processor is arranged on the outer wall of the cap body.
In one possible design, the processor further includes: an acceleration sensor;
the acceleration sensor is used for detecting whether acceleration exists in the three-dimensional space of the safety helmet when the safety helmet is determined to be in a helmet wearing state.
In another aspect, an embodiment of the present invention provides a method for detecting a wearing state of a safety helmet, where the method is applied to a safety helmet, and the method includes:
collecting a first capacitance signal of a first capacitive proximity sensor;
calculating a first capacitance variable corresponding to a first capacitance signal acquired at present and a first capacitance signal acquired last time;
acquiring the last wearing state of the safety helmet and a first preset capacitance threshold;
and determining the current wearing state of the safety helmet according to the first capacitance variable, the last wearing state of the safety helmet and the first preset capacitance threshold.
In a possible design, when the last wearing state of the helmet is an uncapping state, the determining the current wearing state of the helmet according to the first capacitance variable, the last wearing state of the helmet and the first preset capacitance threshold includes:
acquiring a conductor superposition preset threshold, and when the conductor superposition preset threshold is larger than the first capacitance preset threshold:
if the first capacitance variable is larger than the conductor superposition preset threshold, determining that the safety helmet is in an uncapping state;
if the first capacitance variable is smaller than the first capacitance preset threshold value, determining that the safety helmet is in an uncapping state;
and if the first capacitance variable is greater than or equal to the first capacitance preset threshold and is less than or equal to the conductor superposition preset threshold, determining that the safety helmet is in a helmet wearing state.
In a possible design, when the last wearing state of the helmet is a wearing state, the determining the current wearing state of the helmet according to the first capacitance variable, the last wearing state of the helmet, and the first preset capacitance threshold includes:
performing first uncapping detection on the safety helmet according to the first capacitance variable and the first capacitance preset threshold value so as to determine the current wearing state of the safety helmet;
or performing second uncapping detection on the safety helmet according to the first capacitance variable and the first capacitance preset threshold value so as to determine the current wearing state of the safety helmet.
In one possible design, the performing a first decapping detection on the safety helmet according to the first capacitance variable and the first capacitance preset threshold includes:
if the currently acquired first capacitance signal is larger than the first capacitance signal acquired last time, and the first capacitance variable is larger than or equal to the first capacitance preset threshold, determining that the safety helmet is in a helmet wearing state;
if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time and the first capacitance variable is larger than or equal to the first capacitance preset threshold, determining that the safety helmet is in an uncapping state;
and if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time and the first capacitance variable is smaller than the first capacitance preset threshold value, determining that the safety helmet is in a helmet wearing state.
In one possible design, the performing a second decapping detection on the safety helmet according to the first capacitance variable and the first capacitance preset threshold includes:
acquiring a conductor stacking increment;
if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time, and the first capacitance variable is larger than or equal to the sum of the conductor superposition increment and the first capacitance preset threshold, determining that the safety helmet is in an uncapping state;
if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time, the first capacitance variable is larger than or equal to the conductor superposition increment, and is smaller than the sum of the conductor superposition increment and the first capacitance preset threshold, determining that the safety helmet is in a helmet wearing state;
and if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time and the first capacitance variable is smaller than the conductor superposition increment, determining that the safety helmet is in a helmet wearing state.
In one possible design, the method further includes:
acquiring the environment of the safety helmet in the last time;
if the safety helmet is in a conductor-free superposition environment last time, executing a step of performing first uncapping detection on the safety helmet according to the first capacitance variable and the first capacitance preset threshold;
and if the safety helmet is in a conductor superposition environment last time, executing a step of performing second uncapping detection on the safety helmet according to the first capacitance variable and the first capacitance preset threshold value.
In a possible design, when the last wearing state of the helmet is an uncapping state, the obtaining the environment in which the helmet was last located includes:
acquiring a conductor superposition preset threshold, and when the conductor superposition preset threshold is larger than the first capacitance preset threshold:
if the first capacitance variable is larger than the conductor superposition preset threshold, determining that the safety helmet is in a conductor superposition environment;
and if the first capacitance variable is smaller than the first preset capacitance threshold, determining that the safety helmet is in a conductor-free superposition environment.
In a possible design, when the last wearing state of the helmet is a wearing state, the obtaining of the environment in which the helmet was last located includes:
if the currently acquired first capacitance signal is larger than the first capacitance signal acquired last time, and when the first capacitance variable is larger than or equal to the first capacitance preset threshold value, determining that the safety helmet is in a conductor superposition environment;
if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time, and when the first capacitance variable is larger than or equal to the first capacitance preset threshold value, determining that the safety helmet is in a conductor-free superposition environment;
and if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time, and when the first capacitance variable is smaller than the first capacitance preset threshold value, determining that the safety helmet is in a conductor-free superposition environment.
In a possible design, when the last wearing state of the helmet is a wearing state, the obtaining of the environment in which the helmet was last located includes:
acquiring a conductor stacking increment;
if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time, and when the first capacitance variable is larger than or equal to the sum of the conductor superposition increment and the first capacitance preset threshold value, determining that the safety helmet is in a conductor-free superposition environment;
if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time, the first capacitance variable is larger than or equal to the conductor superposition increment, and is smaller than the sum of the conductor superposition increment and the first capacitance preset threshold, determining that the safety helmet is in a conductor-free superposition environment;
and if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time and the first capacitance variable is smaller than the conductor superposition increment, determining that the safety helmet is in a conductor superposition environment.
In one possible design, the method further includes:
collecting a second capacitance signal of a second capacitive proximity sensor;
calculating a second capacitance variable corresponding to the currently acquired second capacitance signal and the second capacitance signal acquired last time;
acquiring a second preset capacitance threshold;
the determining the current wearing state of the safety helmet according to the first capacitance variable, the last wearing state of the safety helmet and the first preset capacitance threshold includes:
and determining the current wearing state of the safety helmet according to the first capacitance variable, the last wearing state of the safety helmet, the first preset capacitance threshold, the second capacitance variable and the second preset capacitance threshold.
In a possible design, when the last wearing state of the helmet is an uncapping state, the determining the current wearing state of the helmet according to the first capacitance variable, the last wearing state of the helmet, the first preset capacitance threshold, the second capacitance variable, and the second preset capacitance threshold includes:
acquiring a conductor superposition preset threshold, and when the conductor superposition preset threshold is larger than the first capacitance preset threshold:
if the first capacitance variable is greater than or equal to the first capacitance preset threshold value and less than or equal to the conductor superposition preset threshold value, and if the second capacitance variable is less than or equal to the second capacitance preset threshold value, determining that the safety helmet is in a helmet wearing state;
and if the first capacitance variable is greater than or equal to the first capacitance preset threshold value and less than or equal to the conductor superposition preset threshold value, and if the second capacitance variable is greater than the second capacitance preset threshold value, determining that the safety helmet is in an uncapping state.
In a possible design, when the last wearing state of the helmet is an uncapping state, the obtaining the environment in which the helmet was last located includes:
acquiring a conductor superposition preset threshold, and when the conductor superposition preset threshold is larger than the first capacitance preset threshold:
if the first capacitance variable is greater than or equal to the first capacitance preset threshold value and less than or equal to the conductor superposition preset threshold value, and if the second capacitance variable is less than or equal to the second capacitance preset threshold value, determining that the safety helmet is in a conductor-free superposition environment;
and if the first capacitance variable is greater than or equal to the first capacitance preset threshold value and less than or equal to the conductor superposition preset threshold value, and if the second capacitance variable is greater than the second capacitance preset threshold value, determining that the safety helmet is in a conductor superposition environment.
In one possible design, after the determining the current wearing state of the headgear, the method includes:
when the helmet is determined to be in a hat wearing state, detecting whether acceleration exists in the three-dimensional space of the helmet:
if the safety helmet has acceleration, determining that the safety helmet is in a normal helmet wearing state;
and if the safety helmet does not have acceleration, determining that the safety helmet is in an abnormal helmet wearing state.
In one possible design, the method further includes:
and when the first capacitance signal and/or the second capacitance signal cannot be normally acquired, an error signal is sent to the central control platform.
In another aspect, an embodiment of the present invention provides a device for detecting a wearing state of a safety helmet, where the device is applied to a safety helmet, and the device includes:
the first acquisition module is used for acquiring a first capacitance signal of the first capacitive proximity sensor;
the first calculation module is used for calculating a first capacitance variable corresponding to the currently acquired first capacitance signal and the first capacitance signal acquired last time;
the first obtaining module is used for obtaining the last wearing state of the safety helmet and a first preset capacitance threshold;
and the determining module is used for determining the current wearing state of the safety helmet according to the first capacitance variable, the last wearing state of the safety helmet and the first preset capacitance threshold value.
In another aspect, an embodiment of the present invention further provides a computer-readable storage medium, where at least one instruction, at least one program, a code set, or a set of instructions is stored in the storage medium, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by a processor to implement any one of the above-mentioned methods for detecting a wearing state of a crash helmet.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
in the safety helmet, the wearing state detection method and device, and the computer-readable storage medium provided by the embodiments of the present invention, the first capacitance variable corresponding to the first capacitance signal acquired at the present time and the first capacitance signal acquired at the last time is calculated by acquiring the first capacitance signal of the first capacitive proximity sensor, and the current wearing state of the safety helmet is determined according to the first capacitance variable, the acquired wearing state of the safety helmet at the last time and the first capacitance preset threshold, so that the misjudgment frequency of the wearing state of the safety helmet caused by holding the safety helmet by hand, touching the connecting line between the capacitive proximity sensor and other components, entering a conductor superposition environment, and the like can be reduced, and the detection accuracy of the wearing state of the safety helmet is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a bottom view of a headgear shown in accordance with an exemplary embodiment;
FIG. 2 is a schematic diagram illustrating integration of a first capacitive proximity sensor and a second capacitive proximity sensor in accordance with an exemplary embodiment;
FIG. 3 is a flow chart illustrating a method of headgear wear status detection according to an exemplary embodiment;
fig. 4A is a flowchart illustrating a method for detecting a wearing state of a helmet when a wearing state of the helmet last time is an uncapped state according to an exemplary embodiment;
FIG. 4B is a flowchart illustrating a method for detecting a wearing state of a helmet when a last wearing state of the helmet is a wearing state of the helmet according to an exemplary embodiment;
FIG. 5 is a flow chart illustrating a method of headgear wear status detection according to an exemplary embodiment;
FIG. 6A is a flowchart illustrating how the environment in which the headgear is located is obtained when the last wearing state of the headgear is an uncapped state, according to an exemplary embodiment;
FIG. 6B is a flowchart illustrating how the environment in which the headgear is located is obtained when the last wearing state of the headgear is a capped state, according to an exemplary embodiment;
FIG. 7 is a flow chart illustrating a method of headgear wear status detection according to an exemplary embodiment;
FIG. 8 is a flowchart illustrating a method for detecting the wearing state of a helmet when the last wearing state of the helmet is an uncapped state, according to an exemplary embodiment;
FIG. 9 is a flowchart illustrating how the environment in which the headgear is located is obtained when the last wearing state of the headgear is an uncapped state, according to an exemplary embodiment;
FIG. 10 is a flow chart illustrating a method of headgear wear status detection according to an exemplary embodiment;
fig. 11 is a block diagram illustrating a helmet wearing state detection apparatus according to an exemplary embodiment.
Wherein the reference numerals denote:
1-a cap body, wherein the cap body is provided with a plurality of holes,
2-a first capacitive proximity sensor,
3-a processor, wherein the processor is used for processing the data,
4-a second capacitive proximity sensor.
Detailed Description
Unless defined otherwise, all technical terms used in the examples of the present invention have the same meaning as commonly understood by one of ordinary skill in the art. In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
In a construction site, correct wearing of a helmet is very important for safe construction of a constructor, and therefore, it is necessary to monitor wearing states (a capping state and a uncapping state) of the helmet of the constructor. The embodiment of the invention provides a safety helmet, which can accurately detect the wearing state of the safety helmet.
Fig. 1 is a bottom view of a helmet according to an embodiment of the present invention, as shown in fig. 1, the helmet includes: the device comprises a cap body 1, a first capacitive proximity sensor 2 and a processor 3, wherein the first capacitive proximity sensor 2 and the processor 3 are arranged on the cap body 1; the first capacitive proximity sensor 2 is electrically connected with the processor 3; the processor 3 is configured to acquire a first capacitance signal of the first capacitive proximity sensor 2; calculating a first capacitance variable corresponding to a first capacitance signal acquired at present and a first capacitance signal acquired last time; acquiring the last wearing state of the safety helmet and a first preset capacitance threshold; and determining the current wearing state of the safety helmet according to the first capacitance variable, the last wearing state of the safety helmet and the first capacitance preset threshold value.
The following provides an overview of the working principle and effects of the safety helmet provided by the embodiment of the invention:
according to the safety helmet provided by the embodiment of the invention, the first capacitive proximity sensor 2 is arranged on the helmet body 1 on the basis of the characteristic that the first capacitive proximity sensor 2 is sensitive to a close conductor and can output a corresponding first capacitive signal. When the helmet is in a hat wearing state, the human head enables the first capacitance type proximity sensor 2 to increase a coupling capacitance. Because first capacitanc proximity sensor 2 and 3 electric connection of treater, treater 3 gathers first electric capacity signal of first electric capacity proximity sensor 2 to calculate the first electric capacity variable that the first electric capacity signal that gathers at present and the first electric capacity signal that gathers last time correspond, and obtain the wearing state of safety helmet last time and first electric capacity and predetermine the threshold value, then wear the state according to first electric capacity variable, the safety helmet last time, first electric capacity and predetermine the threshold value, confirm the current wearing state of safety helmet.
The current wearing state of the safety helmet is determined according to the first capacitance variable, the last wearing state of the safety helmet and the first capacitance preset threshold, and compared with the method for determining the wearing state of the safety helmet only through the change of capacitance signals in the related technology, the misjudgment frequency of the wearing state of the safety helmet is reduced due to the fact that conductors such as connecting lines between a handheld safety helmet and touch capacitive proximity sensors and other components are overlapped, and the detection precision of the wearing state of the safety helmet is improved.
Further, in order to detect the wearing state of the safety helmet with high precision, as shown in fig. 2, the safety helmet provided in the embodiment of the present invention further includes: the second capacitive proximity sensor 4 is arranged on the cap body 1 and electrically connected with the processor 3, and the area of the electrode plate of the first capacitive proximity sensor 2 is larger than that of the electrode plate of the second capacitive proximity sensor 4.
The processor 3 is further configured to acquire a second capacitance signal of the second capacitive proximity sensor 4, calculate a second capacitance variable corresponding to the currently acquired second capacitance signal and the second capacitance signal acquired last time, and determine the current wearing state of the helmet according to the acquired wearing state of the helmet last time, the first capacitance variable, the first capacitance preset threshold, the second capacitance signal and the second capacitance preset threshold.
Further, in order to detect the wearing state of the helmet with high accuracy, the first capacitive proximity sensor 2 and the second capacitive proximity sensor 4 may be set as capacitive proximity sensors of different specifications, so that the first capacitive proximity sensor 2 and the second capacitive proximity sensor 4 respectively sense capacitance signals of different sizes, and then the wearing state of the helmet is detected with high accuracy by combining the two capacitive proximity sensors.
So set up, make the capacitance value that the first capacitance signal that first capacitanc proximity sensor 2 responded corresponds be greater than the capacitance value that the second capacitance signal that second capacitanc proximity sensor 4 responded corresponds, be convenient for acquire the first capacitance variable and the second capacitance variable of different scope sizes, and then through first capacitance variable, the second capacitance variable, threshold value is predetermine to first electric capacity, the threshold value is predetermine to the second electric capacity and the wearing state of safety helmet last time, confirm the wearing state of safety helmet high-precisely.
The electrode plate area of the first capacitive proximity sensor 2 may be 3 to 6 times, for example, 3 times, 4 times, 5 times, 6 times, or the like, of the electrode plate area of the second capacitive proximity sensor 4.
In view of reducing the volume and weight of the helmet to ensure the wearing comfort of the helmet, in one possible implementation, as shown in fig. 2, the first capacitive proximity sensor 2 and the second capacitive proximity sensor 4 are integrated.
It will be appreciated that the first capacitance signal of the first capacitive proximity sensor 2 and the second capacitance signal of the second capacitive proximity sensor 4 are collected and processed by the processor 3 respectively. Although the first capacitive proximity sensor 2 and the second capacitive proximity sensor 4 are integrated, they are connected in parallel to the processor 3.
The first capacitive proximity sensor 2 and the second capacitive proximity sensor 4 may be integrated on one circuit board.
In order to reduce the interference of the cap 1 on the first and second capacitive signals, in one possible implementation, the first and second capacitive proximity sensors 2, 4 are arranged on the inner wall of the cap 1; the processor 3 is arranged on the outer wall of the cap body 1.
It should be noted that, when the safety helmet is in a state of wearing the helmet, the first capacitive proximity sensor 2 does not directly contact with the head of the human body.
So set up, the interference that receives when can reducing the cap body 1 to first capacitanc proximity sensor 2 and second capacitanc proximity sensor 4 response first capacitance signal and second capacitance signal respectively to accurately obtain first capacitance signal and second capacitance signal, establish the basis for processor 3 accurately confirms the state of wearing of safety helmet. Moreover, the processor 3 is arranged on the outer wall of the helmet body 1, so that the processor 3 is prevented from contacting with the head of a human body, and the wearing comfort of the safety helmet is not influenced.
In order to ensure that the processor 3 collects the stable first capacitance signal and the stable second capacitance signal, the first capacitive proximity sensor 2 and the second capacitive proximity sensor 4 need to be stably fixed on the cap body 1.
For example, a limiting groove is formed on the inner wall of the cap body 1, and the first capacitive proximity sensor 2 and the second capacitive proximity sensor 4 are disposed in the limiting groove, so that the two are stably fixed on the cap body 1. There are various ways in which the two are disposed in the limiting groove, and an example is given below:
illustratively, the first capacitive proximity sensor 2 and the second capacitive proximity sensor 4 are both disposed in the limiting groove by gluing. The gluing mode is easy to set, and the connecting strength is good.
Illustratively, when the first capacitive proximity sensor 2 and the second capacitive proximity sensor 4 are integrated, the outer contour of the integrated capacitive proximity sensor is matched with the inner contour of the spacing groove, and the integrated capacitive proximity sensor is fixed in the spacing groove through friction force. This connected mode sets up easily, makes things convenient for the dismouting.
When the worker wears the helmet and is in an abnormal static state (for example, the worker falls down), the processor 3 may also determine that the helmet is in a helmet wearing state according to the first capacitance signal of the first capacitive proximity sensor 2 and/or the second capacitance signal of the second capacitive proximity sensor 4, but may not determine whether the worker normally wears the helmet. Based on the above problem, the processor 3 further includes: an acceleration sensor; the acceleration sensor is used for detecting whether acceleration exists in the three-dimensional space when the helmet is determined to be in a helmet wearing state.
Acceleration signals of the helmet in the three-dimensional space X, Y, Z can be obtained by arranging an acceleration sensor (namely, whether the helmet moves or not is judged), and the acceleration signals are processed by the processor 3, so that whether the helmet is worn normally or not is further determined.
Fig. 3 is a flowchart of a wearing state detection method provided in an embodiment of the present invention, the method being applied to any one of the above-mentioned safety helmets, and the method including:
step 101, a first capacitance signal of the first capacitive proximity sensor 2 is acquired.
The first capacitance signal may be acquired in real time, or may be acquired at predetermined time intervals, where the predetermined time may be 10ms to 1000ms, for example, 10ms, 100ms, 200ms, 300ms, 400ms, 500ms, 600ms, 700ms, 800ms, 900ms, 1000ms, or the like.
The means for acquiring the first capacitance signal may be a processor 3, the processor 3 acquiring the first capacitance signal of the first capacitive proximity sensor 2.
It will be appreciated that the larger the first capacitance signal, the larger the corresponding capacitance value.
And 102, calculating a first capacitance variable corresponding to the currently acquired first capacitance signal and the last acquired first capacitance signal.
A first capacitance variable corresponding to the first capacitance signal currently acquired and the first capacitance signal acquired last time is calculated by the processor 3 in the helmet.
The first capacitance variable refers to: the absolute value of the difference between the capacitance value corresponding to the currently acquired first capacitance signal and the capacitance value corresponding to the last acquired first capacitance signal.
It should be noted that both the first capacitance signal acquired currently and the first capacitance signal acquired last time are the first capacitance signals acquired in a stable state.
And 103, acquiring the last wearing state of the safety helmet and a first preset capacitance threshold value.
The last wearing state of the safety helmet refers to that: after determining the current wearing state of the helmet, the processor 3 stores the wearing state, and when detecting the wearing state of the helmet next time, the processor 3 takes the stored wearing state as the last wearing state of the helmet. Wherein, wearing state includes: a capped state and an uncapped state.
The first capacitance preset threshold refers to: a lower limit value of an absolute value of the first capacitance variable caused when the helmet is switched between the uncapped state and the capped state. The first capacitance preset threshold is an empirical value, and is obtained through multiple tests, the first capacitance variable obtained each time may be different and may change within a range, and the absolute value of the first capacitance variable which is the smallest in the range is used as the first capacitance preset threshold.
And step 104, determining the current wearing state of the safety helmet according to the first capacitance variable, the last wearing state of the safety helmet and the first capacitance preset threshold value.
Based on the last wearing state of the safety helmet, the current wearing state of the safety helmet can be accurately determined through the comparison between the first capacitance variable and the first capacitance preset threshold value.
In the method for detecting the wearing state of the safety helmet, provided by the embodiment of the invention, the first capacitance signal of the first capacitive proximity sensor 2 is acquired, the first capacitance variable corresponding to the first capacitance signal acquired at present and the first capacitance signal acquired at last time is calculated, and the current wearing state of the safety helmet is determined according to the first capacitance variable, the acquired wearing state of the safety helmet at last time and the first capacitance preset threshold value, so that the misjudgment frequency of the wearing state of the safety helmet caused by the fact that the safety helmet is held by a hand, a connecting line between the capacitive proximity sensor and other components is touched, a conductor superposition environment is entered and the like is reduced, and the detection precision of the current wearing state of the safety helmet is improved.
So far, through the above steps 101 to 104, the detection of the wearing state of the helmet can be realized.
Further, in order to accurately detect the wearing state of the helmet, when the wearing state of the helmet is different last time, the detection method of the processor 3 is different, and specifically includes the following two examples:
(1-1) in one possible implementation manner, as shown in fig. 4A, when the last wearing state of the helmet is the uncapping state, performing step 1041, and determining the current wearing state of the helmet according to the first capacitance variable, the last wearing state of the helmet, and the first preset capacitance threshold, includes:
and obtaining a conductor superposition preset threshold, and when the conductor superposition preset threshold is larger than the first capacitance preset threshold, determining the current wearing state of the safety helmet according to the first capacitance variable, the last wearing state of the safety helmet, the first capacitance preset threshold and the conductor superposition preset threshold.
Wherein, the conductor superposition preset threshold refers to: in the uncapped state, a lower limit value of a first capacitance variable is caused when a hand touches the first capacitive proximity sensor. The conductor superposition preset threshold value is an empirical value and can be obtained through multiple tests. Since the first capacitance variable caused by each hand touch on the first capacitive proximity sensor may be different, there is a range in which the lower limit value of the first capacitance variable caused by the hand touch is used as the conductor superposition preset threshold value.
By the above, when the safety helmet is in a state of wearing the helmet, the first capacitive proximity sensor 2 does not directly contact with the head of the human body, and at the moment, the first capacitance preset threshold value is smaller than or equal to the conductor superposition preset threshold value. In order to conveniently detect the wearing state of the safety helmet, the conductor superposition preset threshold value is equal to the upper limit value of the first capacitance variable caused when the safety helmet is changed from the uncapping state to the wearing state.
When the conductor superposition preset threshold is larger than the first capacitance preset threshold, determining the current wearing state of the safety helmet according to the first capacitance variable, the last wearing state of the safety helmet, the first capacitance preset threshold and the conductor superposition preset threshold, wherein the method specifically comprises the following conditions:
in case 1, if the first capacitance variable is greater than the conductor superposition preset threshold, it is determined that the safety helmet is in an uncapping state.
When the last wearing state of the safety helmet is the uncapping state, if the first capacitance variable exists, the first capacitance signal becomes large, which may be caused by hand touch or helmet wearing.
If the first capacitance variable is larger than the conductor superposition preset threshold, the first capacitance variable is larger than the lower limit value of the first capacitance variable caused when the hand touches the first capacitive proximity sensor (namely, larger than the upper limit value of the first capacitance variable caused when the safety helmet is changed from the uncapped state to the capped state), so that the safety helmet is determined to be in the uncapped state, and the first capacitance signal is increased due to the hand touch.
And 2, if the first capacitance variable is smaller than the first capacitance preset threshold value, determining that the safety helmet is in an uncapping state.
When the last wearing state of the safety helmet is the uncapping state, if the first capacitance variable exists, the first capacitance signal becomes large. And if the first capacitance variable is smaller than the first preset capacitance threshold, namely the first capacitance variable is smaller than the lower limit value of the first capacitance variable caused when the helmet is changed from the uncapped state to the capped state, determining that the helmet is in the uncapped state, and the enlargement of the first capacitance signal may be caused by the shaking of the helmet in the uncapped state.
And 3, if the first capacitance variable is greater than or equal to the first capacitance preset threshold and is less than or equal to the conductor superposition preset threshold, determining that the safety helmet is in a helmet wearing state.
When the last wearing state of the safety helmet is the uncapping state, if the first capacitance variable exists, the first capacitance signal becomes large. If the first capacitance variable is larger than or equal to the first capacitance preset threshold value, namely the first capacitance variable is larger than or equal to the lower limit value of the first capacitance variable caused when the helmet is changed from the uncapped state to the capped state, the helmet is possibly in the capped state. Further, if the first capacitance variable is less than or equal to the conductor superposition preset threshold value, that is, the first capacitance variable is less than or equal to the upper limit value of the first capacitance variable caused when the safety helmet is changed from the uncapped state to the capped state. At this time, it is determined that the helmet is in a capped state.
Through the three situations, misjudgment of the helmet in a hat wearing state caused by the fact that the hand touches the first capacitive proximity sensor can be avoided, and detection precision is improved.
(1-2) in another possible implementation manner, as shown in fig. 4B, when the last wearing state of the helmet is a wearing state, determining a current wearing state of the helmet according to the first capacitance variable, the last wearing state of the helmet, and the first preset capacitance threshold, including:
1042A, performing first uncapping detection on the safety helmet according to the first capacitance variable and a first capacitance preset threshold value to determine the current wearing state of the safety helmet.
Or, in step 1042B, performing second decapping detection on the safety helmet according to the first capacitance variable and the first capacitance preset threshold, so as to determine the current wearing state of the safety helmet.
Step 1042B compares with step 1042A in that a conductor environment factor is considered, and the specific outline is as follows:
(1-2-1) in one possible implementation, the first decapping detection referred to in step 1042A specifically includes the following cases:
in case 1, if the first capacitance signal acquired at present is greater than the first capacitance signal acquired at last time, and the first capacitance variable is greater than or equal to the first capacitance preset threshold, it is determined that the safety helmet is in a state of being put on the helmet.
When the last wearing state of the safety helmet is the wearing state, if the first capacitance signal is increased, the safety helmet is possibly in the conductor environment, but the safety helmet is determined to be still in the wearing state because the first capacitance variable is larger than or equal to the first capacitance preset threshold value.
Of course, the first capacitance signal may be increased when the safety helmet is changed from the hat wearing state to the hand touch state, and the first capacitance variable is greater than or equal to the first capacitance preset threshold value. However, considering that the time required for the helmet to change from the wearing state to the hand-touch state is at least several seconds, and as mentioned above, the acquisition time interval of the first capacitance signal is generally within one second, the above state can be excluded empirically.
And 2, if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time and the first capacitance variable is greater than or equal to the first capacitance preset threshold value, determining that the safety helmet is in an uncapping state.
When the last wearing state of the safety helmet is a hat wearing state, if the first capacitance signal is reduced, the safety helmet is possibly in an uncapping state. Further, if the first capacitance variable is greater than or equal to the first capacitance preset threshold, that is, the reduction amount of the first capacitance signal is greater than the lower limit value of the absolute value of the first capacitance variable caused when the helmet is changed from the capping state to the uncapping state, it is determined that the helmet is changed from the capping state to the uncapping state.
And 3, if the first capacitance signal acquired currently is smaller than the first capacitance signal acquired last time and the first capacitance variable is smaller than the first capacitance preset threshold value, determining that the safety helmet is in a helmet wearing state.
When the last wearing state of the safety helmet is a hat wearing state, if the first capacitance signal is reduced, the safety helmet is possibly in an uncapping state. Further, the first capacitance variable is smaller than the first preset capacitance threshold, that is, the reduction of the first capacitance signal is smaller than the lower limit value of the absolute value of the first capacitance variable caused when the helmet is changed from the on-hat state to the off-hat state, so that the wearing state of the helmet is not changed, and at this time, it is determined that the helmet still keeps the on-hat state.
(1-2-2) in one possible implementation, as shown in fig. 4B, the second decapping detection referred to in step 1042B comprises:
conductor overlay increments are obtained.
Conductor overlap increments refer to: when the helmet is worn, the absolute value of the first capacitance variable is caused when the helmet enters or exits a conductor superposition environment (for example, an environment which easily causes capacitance signal change such as a magnetic field existing around or a close distance from the conductor). It will be appreciated that the first capacitance signal increases when entering the conductor superimposition environment and conversely decreases when disengaged.
The processor 3 stores the conductor superposition increment, and performs second decapping detection on the safety helmet according to the first capacitance variable, the first capacitance preset threshold and the conductor superposition increment in the conductor superposition environment, wherein the second decapping detection specifically includes the following situations:
in case 1, if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time, and the first capacitance variable is greater than or equal to the sum of the conductor superposition increment and the first capacitance preset threshold, it is determined that the safety helmet is in the uncapping state.
When the last wearing state of the safety helmet is a hat wearing state, if the first capacitance signal is reduced, the safety helmet is possibly in a hat-off state. At this time, when the first capacitance variable is greater than or equal to the sum of the conductor superposition increment and the first capacitance preset threshold, that is, when the reduction of the first capacitance signal is greater than the conductor superposition increment, it indicates that the safety helmet is separated from the conductor superposition environment in the state of being worn. And the reduction amount of the first capacitance signal is also larger than the lower limit value of the absolute value of the first capacitance variable when the cap state is changed into the uncapped state, at this time, the helmet can be determined to be in the uncapped state and the conductor superposition environment is separated.
And 2, if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time, the first capacitance variable is larger than or equal to the conductor superposition increment, and the first capacitance variable is smaller than the sum of the conductor superposition increment and the first capacitance preset threshold, determining that the safety helmet is in a helmet wearing state.
When the last wearing state of the safety helmet is a hat wearing state, if the first capacitance signal is reduced, the safety helmet is possibly in a hat-off state. If the reduced first capacitance variable is greater than or equal to the conductor overlay increment, i.e., the amount of reduction of the first capacitance signal is greater than or equal to the conductor overlay increment, the headgear is shown removed from the conductor overlay environment in the headgear state. Further, when the reduction amount of the first capacitance signal is smaller than the sum of the lower limit value of the absolute value of the first capacitance variable (i.e., the first capacitance preset threshold) caused when the capping state is changed into the uncapping state and the conductor superposition increment, it is indicated that the change of the wearing state of the safety helmet is not caused, and at this time, it is determined that the safety helmet is in the capping state and the conductor superposition environment is separated.
And 3, if the first capacitance signal acquired currently is smaller than the first capacitance signal acquired last time and the first capacitance variable is smaller than the conductor superposition increment, determining that the safety helmet is in a helmet wearing state.
When the last wearing state of the safety helmet is a hat wearing state, if the first capacitance signal is reduced, the safety helmet is possibly in a hat-off state. If the reduction of the first capacitance variable is smaller than the conductor superposition increment, that is, the helmet is always in the conductor superposition environment, it may be that the helmet shakes in the hat wearing state to cause the reduction of the first capacitance signal, and the helmet is in the hat wearing state.
In order to further ensure accurate detection of the wearing state, it may be determined whether the first capacitance variable is smaller than a first capacitance preset threshold, and if so, it may be further determined that the helmet is in a wearing state.
By the method, misjudgment caused by entering a conductor superposition environment in a cap wearing state can be avoided, and the detection precision of the wearing state of the safety cap is improved.
The detection accuracy of the wearing state of the helmet is affected by considering that the environment (conductor superposition environment or non-conductor superposition environment) of the helmet is different. To solve this technical problem, the following example is given:
fig. 5 is a flowchart of a wearing state detection method provided in an embodiment of the present invention, where the method is applied to a safety helmet, and includes:
step 201, obtaining the environment where the safety helmet is located last time.
The environment in which the safety helmet is located comprises: conductor superposition environment, and conductor-free superposition environment.
The environment in which the safety helmet is last located refers to: after acquiring the current environment of the helmet, the processor 3 stores the environment, and when the wearing state of the helmet is detected next time, the processor 3 takes the stored environment as the environment in which the helmet was located last time.
Step 202, if the safety helmet is in the conductor-less superposition environment last time, executing step 1042A of performing a first decapping detection on the safety helmet according to the first capacitance variable and the first capacitance preset threshold.
Step 203, if the safety helmet is in the conductor superposition environment last time, executing a step 1042B of performing a second uncapping detection on the safety helmet according to the first capacitance variable and the first capacitance preset threshold.
Since a constructor may wear a helmet into different environments when the last wearing state of the helmet is a wearing state, it is necessary to perform a first decapping detection and a second decapping detection in combination with the environment in which the helmet was last located to detect the wearing state of the helmet with high accuracy.
(2-1) in one possible implementation, as shown in fig. 6A, when the last wearing state of the helmet is the uncapping state, the acquiring of the environment in which the helmet was last located in step 201A includes the following steps:
acquiring a conductor superposition preset threshold, and when the conductor superposition preset threshold is larger than a first capacitance preset threshold, the following situations are included:
in case 1, if the first capacitance variable is greater than the conductor superposition preset threshold, it is determined that the helmet is in a conductor superposition environment.
When the last wearing state of the safety helmet is the uncapping state, if the first capacitance variable exists, the first capacitance signal becomes large, and the safety helmet can be preliminarily determined to be in the capping state and/or in the conductor superposition environment. If the first capacitance variable is larger than the conductor superposition preset threshold value, namely the first capacitance variable is larger than the lower limit value of the first capacitance variable corresponding to the situation that the safety helmet touches the first capacitance proximity sensor by hand when in the uncapping state, it is determined that the safety helmet is in the conductor superposition environment, and the conductor superposition environment is that the first capacitance proximity sensor 2 is touched by hand.
In conjunction with the description of case 1 in step 1041, it can be determined that the helmet is in an uncapped state at this time.
And 2, if the first capacitance variable is smaller than the first capacitance preset threshold value, determining that the safety helmet is in a conductor-free superposition environment.
When the last wearing state of the safety helmet is the uncapping state, if the first capacitance variable exists, the first capacitance signal becomes large, and the safety helmet can be preliminarily determined to be in the capping state and/or in the conductor superposition environment. If the first capacitance variable is smaller than the first capacitance preset threshold value, namely the first capacitance variable is smaller than the lower limit value of the absolute value of the first capacitance variable corresponding to the situation that the safety helmet is in the uncapped state and is in the capped state, the safety helmet is determined to be in the uncapped state.
Moreover, the conductor superposition preset threshold is larger than the first capacitance preset threshold, so that the first capacitance variable is not in a first capacitance variable range caused by the fact that a hand touches the first capacitance proximity sensor, and the safety helmet is determined to be in a conductor-free superposition environment.
(2-2-1) in one possible implementation manner, as shown in fig. 6B, when the last wearing state of the helmet is a hat wearing state, step 201B obtains an environment in which the helmet was last located, including the following situations:
in case 1, if the first capacitance signal acquired at present is greater than the first capacitance signal acquired at last time, and when the first capacitance variable is greater than or equal to the first capacitance preset threshold, it is determined that the safety helmet is in the conductor superposition environment.
When the last wearing state of the safety helmet is the wearing state, if the currently acquired first capacitance signal is greater than the last acquired first capacitance signal and the first capacitance variable is greater than or equal to the first capacitance preset threshold, it is determined that the safety helmet is in the wearing state in combination with the explanation of the case 1 in the step 1042A. And determining that the helmet is in the conductor superposition environment because the first capacitance signal is increased, which indicates that the first capacitance signal is increased due to the conductor superposition environment.
And 2, if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time and the first capacitance variable is larger than or equal to the first capacitance preset threshold value, determining that the safety helmet is in a conductor-free superposition environment.
When the last wearing state of the safety helmet is a hat wearing state, if the first capacitance signal is reduced, the safety helmet is possibly in an uncapping state and/or a conductor-free superposition environment. In conjunction with the description of case 2 in step 1042A, the helmet is determined to be in an uncapped state.
Further, since this detection is one of the first decapping detections, which is based on the last time the headgear was in a conductor-less stack environment, the headgear continues to remain in a conductor-less stack environment.
And 3, if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time and the first capacitance variable is smaller than the first capacitance preset threshold value, determining that the safety helmet is in the conductor-free superposition environment.
When the last wearing state of the safety helmet is a hat wearing state, if the first capacitance signal is reduced, the safety helmet is possibly in an uncapping state and/or a conductor-free superposition environment. If the first capacitance variable is smaller than the first capacitance preset threshold value, namely the reduction of the first capacitance signal is smaller than the lower limit value of the absolute value of the first capacitance variable caused by the fact that the helmet is changed from the helmet wearing state to the helmet uncapping state, therefore, the wearing state of the helmet cannot be changed, and at the moment, the helmet is determined to still be in the helmet wearing state. Since this test is one of the first decapping tests, which was performed based on the last time the helmet was in a conductor-less stack environment, the helmet continues to remain in a conductor-less stack environment.
(2-2-2) in one possible implementation, as shown in fig. 6B, when the last wearing state of the helmet is a hat wearing state, the step 201B of obtaining the environment where the helmet was last located includes the following steps:
conductor overlay increments are obtained.
The conductor overlap increment can be referred to as the description in step 1042B, and is not described herein.
Under the condition, acquiring the environment where the safety helmet is located last time comprises the following situations:
in case 1, if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time, and when the first capacitance variable is greater than or equal to the sum of the conductor superposition increment and the first capacitance preset threshold, it is determined that the safety helmet is in a conductor-free superposition environment.
When the last wearing state of the safety helmet is a hat wearing state, if the currently acquired first capacitance signal is smaller than the last acquired first capacitance signal, the first capacitance signal is reduced, and the safety helmet may be in an uncapped state and/or in a conductor-free superposition environment. At this time, when the first capacitance variable is greater than or equal to the sum of the conductor superposition increment and the first capacitance preset threshold, that is, when the reduction of the first capacitance signal is greater than the conductor superposition increment, it indicates that the safety helmet is separated from the conductor superposition environment in the state of being worn. And when the reduction amount of the first capacitance signal is larger than the lower limit value of the absolute value of the first capacitance variable when the cap state is changed into the uncapped state, the helmet can be determined to be in the uncapped state and the conductor superposition environment is separated.
And 2, if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time, the first capacitance variable is larger than or equal to the conductor superposition increment and smaller than the sum of the conductor superposition increment and the first capacitance preset threshold, determining that the safety helmet is in a conductor-free superposition environment.
When the last wearing state of the safety helmet is a hat wearing state, if the currently acquired first capacitance signal is smaller than the last acquired first capacitance signal, the first capacitance signal is reduced, and the safety helmet may be in an uncapped state and/or in a conductor-free superposition environment. If the reduced first capacitance variable is greater than or equal to the conductor overlay increment, i.e., the amount of reduction of the first capacitance signal is greater than or equal to the conductor overlay increment, the headgear is shown removed from the conductor overlay environment in the headgear state. Further, when the reduction amount of the first capacitance signal is smaller than the sum of the lower limit value of the absolute value of the first capacitance variable (i.e., the first capacitance preset threshold) caused when the capping state is changed into the uncapping state and the conductor superposition increment, it is indicated that the change of the wearing state of the safety helmet is not caused, and at this time, it is determined that the safety helmet is in the capping state and the conductor superposition environment is separated.
And 3, if the first capacitance signal acquired at present is smaller than the first capacitance signal acquired at last time and the first capacitance variable is smaller than the conductor superposition increment, determining that the safety helmet is in the conductor superposition environment.
When the last wearing state of the safety helmet is a hat wearing state, if the currently acquired first capacitance signal is smaller than the last acquired first capacitance signal, it is indicated that the first capacitance signal is reduced, and the safety helmet may be in an uncapped state and/or a conductor-free superposition environment. Since the decrease of the first capacitance signal is smaller than the conductor superposition increment, that is, the helmet is always in the conductor superposition environment, it may be that the helmet shakes in the hat wearing state, which causes the decrease of the first capacitance signal.
And, referring to the description of step 1042B, it is determined that the helmet is in a capped state at this time.
Fig. 7 is a flowchart of a wearing state detection method provided in an embodiment of the present invention, where the method is applied to a safety helmet, and the method further includes:
step 301, a first capacitance signal of the first capacitive proximity sensor 2 is acquired.
Step 302, calculating a first capacitance variable corresponding to the first capacitance signal collected currently and the first capacitance signal collected last time.
And 303, acquiring the last wearing state of the safety helmet and a first preset capacitance threshold value.
For the explanation of the above steps, see steps 101 to 103, which are not described herein again.
Step 304, a second capacitance signal of the second capacitive proximity sensor 4 is acquired.
The second capacitance signal can be collected in real time or at predetermined time intervals. The predetermined time may be 10ms to 1000ms, and for example, may be 10ms, 100ms, 200ms, 300ms, 400ms, 500ms, 600ms, 700ms, 800ms, 900ms, 1000ms, or the like.
The means for acquiring the second capacitance signal may be a processor 3, the processor 3 acquiring the second capacitance signal of the second capacitive proximity sensor 4.
It will be appreciated that the larger the second capacitance signal, the larger the corresponding capacitance value.
And 305, calculating a second capacitance variable corresponding to the currently acquired second capacitance signal and the previously acquired second capacitance signal.
The second capacitance variable refers to: and the absolute value of the difference between the capacitance value corresponding to the currently acquired second capacitance signal and the capacitance value corresponding to the second capacitance signal acquired last time.
It should be noted that both the currently acquired second capacitance signal and the last acquired second capacitance signal are the second capacitance signals acquired in a stable state.
And step 306, acquiring a second preset capacitance threshold.
The second capacitance preset threshold refers to: an upper limit value of an absolute value of the second capacitance variable caused when the helmet is switched between the uncapped state and the capped state. The preset threshold value of the second capacitor is an empirical value and can be obtained through multiple tests. The second capacitance variable caused by the change of the wearing state of the helmet obtained through multiple tests may be different, and may change within a range, and at this time, the absolute value of the largest second capacitance variable in the range is used as the second capacitance preset threshold.
Step 307, determining the current wearing state of the safety helmet according to the first capacitance variable, the last wearing state of the safety helmet and the first preset capacitance threshold, wherein the step includes:
and determining the current wearing state of the safety helmet according to the first capacitance variable, the last wearing state of the safety helmet, the first capacitance preset threshold, the second capacitance variable and the second capacitance preset threshold.
Based on the last wearing state of the safety helmet, the first capacitance variable and the first capacitance preset threshold, and in combination with the second capacitance variable and the second capacitance preset threshold, the current wearing state of the safety helmet can be accurately determined.
After a constructor wears the safety helmet, the first capacitance signal sent by the first capacitance type proximity sensor can be influenced, and the second capacitance signal sent by the second capacitance type proximity sensor can also be influenced. Therefore, it is feasible to determine the current wearing state of the safety helmet according to the first capacitance variable, the last wearing state of the safety helmet, the first preset capacitance threshold, the second capacitance variable and the second preset capacitance threshold.
In step 307, determining the current wearing state of the helmet according to the first capacitance variable, the last wearing state of the helmet, the first capacitance preset threshold, the second capacitance variable, and the second capacitance preset threshold, which specifically includes the following examples:
in one possible implementation, as shown in fig. 8, when the last wearing state of the helmet is the uncapping state, the determining the current wearing state of the helmet in step 307 includes:
the method comprises the steps of obtaining a conductor superposition preset threshold, and when the conductor superposition preset threshold is larger than a first capacitance preset threshold, determining that the current wearing state of the safety helmet comprises the following situations:
in case 1, if the first capacitance variable is greater than the conductor superposition preset threshold, it is determined that the safety helmet is in an uncapping state.
And 2, if the first capacitance variable is smaller than the first capacitance preset threshold value, determining that the safety helmet is in an uncapping state.
See step 1041 for details of case 1 and case 2.
And 3, if the first capacitance variable is greater than or equal to the first capacitance preset threshold value and less than or equal to the conductor superposition preset threshold value, and if the second capacitance variable is less than or equal to the second capacitance preset threshold value, determining that the safety helmet is in a helmet wearing state.
When the helmet is in an uncapped state and the first capacitance variable exists, the first capacitance signal is increased, and the helmet is possibly in a capped state. If the first capacitance variable is larger than or equal to the first capacitance preset threshold value, namely the first capacitance variable is larger than or equal to the lower limit value of the first capacitance variable caused when the helmet is changed from the uncapped state to the capped state, the helmet is possibly in the capped state. Further, if the first capacitance variable is less than or equal to the conductor superposition preset threshold value, that is, the first capacitance variable is less than or equal to the upper limit value of the first capacitance variable caused when the safety helmet is changed from the uncapped state to the capped state. At this time, it may be preliminarily determined that the helmet is in a state of being put on.
However, when the helmet is in the uncapped state and the hand touches the connecting line between the second capacitive proximity sensor 2 and another component, the first capacitance variable may satisfy the above condition, and a false determination inevitably occurs. The current wearing state of the helmet can be determined by combining the second capacitance variable and the second capacitance preset threshold.
And if the second capacitance variable is smaller than or equal to the upper limit value of the second capacitance variable in the cap wearing state, the second capacitance variable is smaller than or equal to the upper limit value of the second capacitance variable caused when the helmet is changed from the cap removing state to the cap wearing state. Therefore, it is determined that the helmet is in a capped state.
And 4, if the first capacitance variable is greater than or equal to the first capacitance preset threshold value and less than or equal to the conductor superposition preset threshold value, and if the second capacitance variable is greater than the second capacitance preset threshold value, determining that the safety helmet is in an uncapping state.
When the helmet is in an uncapped state and the first capacitance variable exists, the first capacitance signal is increased, and the helmet is possibly in a capped state. If the first capacitance variable is larger than or equal to the first capacitance preset threshold value, namely the first capacitance variable is larger than or equal to the lower limit value of the first capacitance variable caused when the helmet is changed from the uncapped state to the capped state, the helmet is possibly in the capped state. Further, if the first capacitance variable is less than or equal to the conductor superposition preset threshold value, that is, the first capacitance variable is less than or equal to the upper limit value of the first capacitance variable caused when the safety helmet is changed from the uncapped state to the capped state. At this time, it may be preliminarily determined that the helmet is in a state of being put on.
However, when the helmet is in the uncapped state and the hand touches the connecting line between the second capacitive proximity sensor 2 and another component, the acquired first capacitance variable may satisfy the above condition, and erroneous determination may inevitably occur. The wearing state of the helmet can be determined by combining the second capacitance variable and the second capacitance preset threshold.
And if the second capacitance variable is larger than the upper limit value of the second capacitance variable corresponding to the helmet in the on state, the second capacitance variable is larger than the upper limit value of the second capacitance variable corresponding to the helmet in the off state to the on state. In sum, it can be determined that the hand touches the connecting line of the second capacitive proximity sensor 2 and other components, rather than the state of being capped. That is, the wearing state of the helmet is the uncapping state.
When the last wearing state of the safety helmet is the wearing state of the safety helmet, the current wearing state of the safety helmet is determined according to the first capacitance variable, the last wearing state of the safety helmet and the first preset capacitance threshold, which can be referred to the explanation of step 1042.
When the environments (conductor superposition environment and non-conductor superposition environment) where the helmet is located are different, the detection accuracy of the wearing state of the helmet may be affected. To solve this technical problem, the following example is given:
fig. 9 is a flowchart illustrating that when the last wearing state of the helmet is the uncapping state, the environment where the helmet is located is obtained, and step 401 is to obtain the environment where the helmet is located last time, which includes the following situations:
in case 1, if the first capacitance variable is greater than the conductor superposition preset threshold, it is determined that the helmet is in a conductor superposition environment.
And 2, if the first capacitance variable is smaller than the first capacitance preset threshold value, determining that the safety helmet is in a conductor-free superposition environment.
See step 201A for the explanation of case 1 and case 2.
And 3, if the first capacitance variable is greater than or equal to the first capacitance preset threshold and less than or equal to the conductor superposition preset threshold, and if the second capacitance variable is less than or equal to the second capacitance preset threshold, determining that the safety helmet is in the conductor-free superposition environment.
And in the uncapped state of the safety helmet, if the first capacitance variable and/or the second capacitance variable exist, the safety helmet is in a capped state and/or in a conductor superposition environment. If the first capacitance variable is larger than or equal to the first capacitance preset threshold value, namely the first capacitance variable is larger than or equal to the lower limit value of the first capacitance variable caused when the helmet is changed from the uncapped state to the capped state, the helmet is possibly in the capped state. Further, if the first capacitance variable is less than or equal to the conductor superposition preset threshold value, that is, the first capacitance variable is less than or equal to the upper limit value of the first capacitance variable caused when the safety helmet is changed from the uncapped state to the capped state. At this time, it may be preliminarily determined that the helmet is in a state of being put on.
However, when the helmet is in the uncapped state and the hand touches the connecting line between the second capacitive proximity sensor 2 and another component, the acquired first capacitance variable may also satisfy the above condition, so that a misjudgment inevitably occurs, and it is not possible to accurately determine whether the helmet is in the capped state or in the conductor superimposition environment.
And further, determining the environment of the helmet by combining the second capacitance variable and a second capacitance preset threshold value. If the second capacitance variable is smaller than or equal to the second capacitance preset threshold value, the second capacitance variable is smaller than or equal to the upper limit value of the second capacitance variable corresponding to the helmet in the hat wearing state from the uncapping state, the helmet is determined to be in the hat wearing state, and the helmet is determined to be in the conductor-free superposition environment without touching the second capacitance proximity sensor by a hand.
And 4, if the first capacitance variable is greater than or equal to the first capacitance preset threshold value and less than or equal to the conductor superposition preset threshold value, and if the second capacitance variable is greater than the second capacitance preset threshold value, determining that the safety helmet is in the conductor superposition environment.
And in the uncapped state of the safety helmet, if the first capacitance variable and/or the second capacitance variable exist, the safety helmet is in a capped state and/or in a conductor superposition environment. If the first capacitance variable is larger than or equal to the first capacitance preset threshold value, namely the first capacitance variable is larger than or equal to the lower limit value of the first capacitance variable caused when the helmet is changed from the uncapped state to the capped state, the helmet is possibly in the capped state. Further, if the first capacitance variable is less than or equal to the conductor superposition preset threshold value, that is, the first capacitance variable is less than or equal to the upper limit value of the first capacitance variable caused when the safety helmet is changed from the uncapped state to the capped state. At this time, it may be preliminarily determined that the helmet is in a state of being put on.
However, when the helmet is in the uncapped state and the hand touches the connecting line between the second capacitive proximity sensor 2 and another component, the first capacitance variable may also satisfy the above condition, so that an erroneous determination inevitably occurs, and it is not possible to accurately determine whether the helmet is in the capped state or in the conductor-superimposed environment.
And further, determining the environment of the helmet by combining the second capacitance variable and a second capacitance preset threshold value. And if the second capacitance variable is larger than the second capacitance preset threshold value, the second capacitance variable is larger than the upper limit value of the second capacitance variable corresponding to the helmet in the state that the helmet is changed from the uncapped state to the capped state, so that the helmet is determined to be in the uncapped state and is in the conductor superposition environment.
When the last wearing state of the safety helmet is the wearing state of the safety helmet, the current wearing state and the environment of the safety helmet are determined according to the first capacitance variable, the last wearing state of the safety helmet and the first preset capacitance threshold, which can be referred to the explanation of step 201B.
Fig. 10 is a flowchart of a wearing state detection method provided in an embodiment of the present invention, where the method is applied to a safety helmet, and after determining a current wearing state of the safety helmet, the method includes:
step 501, when the helmet is determined to be in a helmet wearing state, detecting whether acceleration exists in a three-dimensional space of the helmet.
The presence or absence of acceleration in three-dimensional space can be understood as the presence or absence of acceleration in the three axes of X, Y, Z.
Step 502, if the safety helmet has acceleration, determining that the safety helmet is in a normal helmet wearing state.
When it is determined that the helmet is in a capped state, if there is acceleration of the helmet in any one, two, or three axes of X, Y, Z, it is determined that the helmet is in a normal capped state. For example, it may be ambulatory for the worker wearing the crash helmet.
Step 503, if the safety helmet has no acceleration, determining that the safety helmet is in an abnormal helmet wearing state.
When the helmet is determined to be in a hat wearing state, if acceleration does not exist on the X, Y, Z three axes, the helmet is determined to be in an abnormal hat wearing state. For example, the safety helmet may not be worn by the worker (worker in a state of falling down).
Whether acceleration exists in the three-dimensional space of the safety helmet or not is detected after the safety helmet is determined to be in a helmet wearing state, and whether the safety helmet is worn normally or not can be determined so as to facilitate monitoring of constructors.
In a possible implementation manner, the method provided in the embodiment of the present invention further includes:
and when the first capacitance signal and/or the second capacitance signal cannot be normally acquired, an error signal is sent to the central control platform.
When the first capacitance signal, the second capacitance signal or the first capacitance signal and the second capacitance signal cannot be normally acquired, an error signal is sent to the middle hole platform, so that technical personnel can repair the safety helmet wearing state detection method and detect the safety helmet wearing state conveniently.
Fig. 11 is a block diagram illustrating a helmet wearing state detection apparatus applied to a helmet, according to an exemplary embodiment, including:
the first acquisition module 601 is configured to acquire a first capacitance signal of the first capacitive proximity sensor 2;
a first calculating module 602, configured to calculate a first capacitance variable corresponding to a first capacitance signal acquired at present and a first capacitance signal acquired last time;
a first obtaining module 603, configured to obtain a last wearing state of the helmet and a first preset capacitance threshold;
the determining module 604 is configured to determine a current wearing state of the safety helmet according to the first capacitance variable, a last wearing state of the safety helmet, and a first preset capacitance threshold.
In the device for detecting the wearing state of the safety helmet provided by the embodiment of the invention, the first capacitance signal of the first capacitive proximity sensor 2 is acquired, the first capacitance variable corresponding to the first capacitance signal acquired at present and the first capacitance signal acquired at last time is calculated, and the current wearing state of the safety helmet is determined according to the first capacitance variable, the obtained wearing state of the safety helmet at last time and the first capacitance preset threshold value, so that the misjudgment frequency of the wearing state of the safety helmet caused by the fact that the safety helmet is held by a hand, a connecting line between the capacitive proximity sensor and other components is touched, a conductor superposition environment is entered, and the like is reduced, and the detection precision of the current wearing state of the safety helmet is improved.
In one possible implementation, when the last wearing state of the helmet is the uncapping state, the determining module 604 includes:
the first acquisition unit is used for acquiring a conductor superposition preset threshold value, and when the conductor superposition preset threshold value is larger than a first capacitance preset threshold value:
the first determining unit is used for determining that the safety helmet is in an uncapping state if the first capacitance variable is larger than a conductor superposition preset threshold value;
the second determining unit is used for determining that the safety helmet is in an uncapping state if the first capacitance variable is smaller than the first preset capacitance threshold;
and the third determining unit is used for determining that the safety helmet is in a helmet wearing state if the first capacitance variable is greater than or equal to the first capacitance preset threshold and is less than or equal to the conductor superposition preset threshold.
In one possible implementation, when the last wearing state of the safety helmet is a wearing state, the determining module 604 includes:
the first detection unit is used for performing first uncapping detection on the safety helmet according to the first capacitance variable and a first capacitance preset threshold value so as to determine the current wearing state of the safety helmet;
or the second detection unit is used for performing second uncapping detection on the safety helmet according to the first capacitance variable and the first capacitance preset threshold value so as to determine the current wearing state of the safety helmet.
In one possible implementation, the first detection unit includes:
the first determining subunit is used for determining that the safety helmet is in a helmet wearing state if the currently acquired first capacitance signal is larger than the first capacitance signal acquired last time and the first capacitance variable is larger than or equal to a first capacitance preset threshold value;
the second determining subunit is used for determining that the safety helmet is in an uncapping state if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time and the first capacitance variable is greater than or equal to the first capacitance preset threshold value;
and the third determining subunit is used for determining that the safety helmet is in a helmet wearing state if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time and the first capacitance variable is smaller than the first capacitance preset threshold value.
In one possible implementation, the second detection unit includes:
the first acquisition subunit is used for acquiring a conductor superposition increment;
the fourth determining subunit is used for determining that the safety helmet is in an uncapping state if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time and the first capacitance variable is larger than or equal to the sum of the conductor superposition increment and the first capacitance preset threshold;
the fifth determining subunit is configured to determine that the safety helmet is in a helmet wearing state if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time, the first capacitance variable is greater than or equal to the conductor superposition increment, and is smaller than the sum of the conductor superposition increment and the first capacitance preset threshold;
and the sixth determining subunit is used for determining that the safety helmet is in a helmet wearing state if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time and the first capacitance variable is smaller than the conductor superposition increment.
In a possible implementation manner, an apparatus provided in an embodiment of the present invention further includes:
the second acquisition module is used for acquiring the environment where the safety helmet is located last time;
if the safety helmet is in a conductor-free superposition environment last time, a first detection unit executes a step of performing first uncapping detection on the safety helmet according to a first capacitance variable and a first capacitance preset threshold;
and if the safety helmet is in the conductor superposition environment last time, executing a second uncapping detection step on the safety helmet according to the first capacitance variable and the first capacitance preset threshold value through a second detection unit.
In one possible implementation manner, the second obtaining module includes:
the second acquisition unit is used for acquiring a conductor superposition preset threshold value, and when the conductor superposition preset threshold value is larger than the first capacitance preset threshold value:
the fourth determining unit is used for determining that the safety helmet is in a conductor superposition environment if the first capacitance variable is larger than a conductor superposition preset threshold;
and the fifth determining unit is used for determining that the safety helmet is in a conductor-free superposition environment if the first capacitance variable is smaller than the first preset capacitance threshold.
In one possible implementation manner, the second obtaining module includes:
the sixth determining unit is used for determining that the safety helmet is in a conductor superposition environment if the currently acquired first capacitance signal is larger than the first capacitance signal acquired last time and the first capacitance variable is larger than or equal to the first capacitance preset threshold value;
the seventh determining unit is used for determining that the safety helmet is in a conductor-free superposition environment if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time and the first capacitance variable is larger than or equal to the first capacitance preset threshold value;
and the eighth determining unit is used for determining that the safety helmet is in a conductor-free superposition environment if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time and the first capacitance variable is smaller than the first preset capacitance threshold value.
In one possible implementation manner, the second obtaining module includes:
a third acquisition unit configured to acquire a conductor stacking increment;
the ninth determining unit is used for determining that the safety helmet is in a conductor-free superposition environment if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time and the first capacitance variable is larger than or equal to the sum of the conductor superposition increment and the first capacitance preset threshold;
the tenth determining unit is used for determining that the safety helmet is in a conductor-free superposition environment if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time, the first capacitance variable is larger than or equal to the conductor superposition increment, and the first capacitance variable is smaller than the sum of the conductor superposition increment and the first capacitance preset threshold;
and the eleventh determining unit is used for determining that the safety helmet is in the conductor superposition environment if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time and the first capacitance variable is smaller than the conductor superposition increment.
In a possible implementation manner, an apparatus provided in an embodiment of the present invention further includes:
the second acquisition module is used for acquiring a second capacitance signal of the second capacitive proximity sensor 4;
the second calculation module is used for calculating a second capacitance variable corresponding to the currently acquired second capacitance signal and the second capacitance signal acquired last time;
the third acquisition module is used for acquiring a second preset capacitance threshold;
the determining module 604 is configured to:
and determining the current wearing state of the safety helmet according to the first capacitance variable, the last wearing state of the safety helmet, the first capacitance preset threshold, the second capacitance variable and the second capacitance preset threshold.
In a possible implementation manner, when the last wearing state of the safety helmet is an uncapping state, the determining module 604 includes:
the first acquisition unit is used for acquiring a first conductor preset threshold value, and when the conductor superposition preset threshold value is larger than a first capacitor preset threshold value:
a twelfth determining unit, configured to determine that the safety helmet is in a helmet wearing state if the first capacitance variable is greater than or equal to the first capacitance preset threshold and is less than or equal to the conductor superposition preset threshold, and if the second capacitance variable is less than or equal to the second capacitance preset threshold;
and the thirteenth determining unit is used for determining that the safety helmet is in the uncapping state if the first capacitance variable is greater than or equal to the first capacitance preset threshold and is less than or equal to the conductor superposition preset threshold, and if the second capacitance variable is greater than the second capacitance preset threshold.
In one possible implementation manner, the second obtaining module includes:
a fourteenth determining unit, configured to determine that the safety helmet is in a conductor-less superimposition environment if the first capacitance variable is greater than or equal to the first capacitance preset threshold and is less than or equal to the conductor superimposition preset threshold, and if the second capacitance variable is less than or equal to the second capacitance preset threshold;
and the fifteenth determining unit is used for determining that the safety helmet is in the conductor superposition environment if the first capacitance variable is greater than or equal to the first capacitance preset threshold and is less than or equal to the conductor superposition preset threshold, and if the second capacitance variable is greater than the second capacitance preset threshold.
In a possible implementation manner, an apparatus provided in an embodiment of the present invention further includes:
the acceleration detection module is used for detecting whether the safety helmet has acceleration in a three-dimensional space when the determination module determines that the safety helmet is in a helmet wearing state:
if the safety helmet has acceleration, the determining module determines that the safety helmet is in a normal helmet wearing state;
if the safety helmet does not have the acceleration, the determining module determines that the safety helmet is in an abnormal helmet wearing state.
In a possible implementation manner, an apparatus provided in an embodiment of the present invention further includes:
and the sending module is used for sending an error signal to the central control platform when the first capacitance signal and/or the second capacitance signal cannot be normally collected.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
With regard to the system in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
It should be noted that: in the above embodiment, when detecting the wearing state of the safety helmet, the device for detecting the wearing state of the safety helmet is exemplified by only the division of the functional modules, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the processor is divided into different functional modules to complete all or part of the functions described above. In addition, the method for detecting the wearing state of the safety helmet provided by the embodiment and the device for detecting the wearing state of the safety helmet belong to the same concept, and specific implementation processes are detailed in the method embodiment and are not described herein again.
The disclosed embodiment also provides a computer readable storage medium, in which at least one instruction, at least one program, code set, or instruction set is stored, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the method for detecting the wearing state of a helmet provided by any one of the disclosed embodiments shown in fig. 3 to fig. 10.
The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
The above description is only exemplary of the present invention and should not be taken as limiting the scope of the present invention, as any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (20)

1. A safety helmet, comprising: the device comprises a cap body (1), a first capacitive proximity sensor (2) and a processor (3), wherein the first capacitive proximity sensor and the processor are arranged on the cap body (1);
the first capacitive proximity sensor (2) is electrically connected with the processor (3);
the processor (3) is configured to acquire a first capacitance signal of the first capacitive proximity sensor (2); calculating a first capacitance variable corresponding to a first capacitance signal acquired at present and a first capacitance signal acquired last time; acquiring the last wearing state of the safety helmet and a first preset capacitance threshold; and determining the current wearing state of the safety helmet according to the first capacitance variable, the last wearing state of the safety helmet and the first preset capacitance threshold.
2. The headgear of claim 1, further comprising: a second capacitive proximity sensor (4) disposed on the cap body (1) and electrically connected to the processor (3);
the electrode plate area of the first capacitive proximity sensor (2) is larger than the electrode plate area of the second capacitive proximity sensor (4).
3. A safety helmet according to claim 2, wherein the first and second capacitive proximity sensors (2, 4) are provided on an inner wall of the helmet body (1);
the processor (3) is arranged on the outer wall of the cap body (1).
4. A safety helmet according to claim 1, wherein the processor (3) further comprises: an acceleration sensor;
the acceleration sensor is used for detecting whether acceleration exists in the three-dimensional space of the safety helmet when the safety helmet is determined to be in a helmet wearing state.
5. A method for detecting wearing state of a safety helmet is characterized by being applied to the safety helmet and comprising the following steps:
acquiring a first capacitance signal of a first capacitive proximity sensor (2);
calculating a first capacitance variable corresponding to a first capacitance signal acquired at present and a first capacitance signal acquired last time;
acquiring the last wearing state of the safety helmet and a first preset capacitance threshold;
and determining the current wearing state of the safety helmet according to the first capacitance variable, the last wearing state of the safety helmet and the first preset capacitance threshold.
6. The method of claim 5, wherein when the last wearing state of the helmet is an uncapped state, the determining the current wearing state of the helmet according to the first capacitance variable, the last wearing state of the helmet, and the first preset capacitance threshold comprises:
acquiring a conductor superposition preset threshold, and when the conductor superposition preset threshold is larger than the first capacitance preset threshold:
if the first capacitance variable is larger than the conductor superposition preset threshold, determining that the safety helmet is in an uncapping state;
if the first capacitance variable is smaller than the first capacitance preset threshold value, determining that the safety helmet is in an uncapping state;
if the first capacitance variable is greater than or equal to the first capacitance preset threshold and less than or equal to the conductor superposition preset threshold, determining that the safety helmet is in a helmet wearing state;
wherein the conductor superposition preset threshold is: -a lower limit value of the first capacitance variable caused when a hand touches the first capacitive proximity sensor (2) in the uncapped state of the safety helmet.
7. The method according to claim 5, wherein when the last wearing state of the helmet is a wearing state, the determining the current wearing state of the helmet according to the first capacitance variable, the last wearing state of the helmet and the first preset capacitance threshold comprises:
performing first uncapping detection on the safety helmet according to the first capacitance variable and the first capacitance preset threshold value so as to determine the current wearing state of the safety helmet;
or performing second uncapping detection on the safety helmet according to the first capacitance variable and the first capacitance preset threshold value so as to determine the current wearing state of the safety helmet.
8. The method of claim 7, wherein the performing a first decapping detection on the hard hat according to the first capacitance variable and the first capacitance preset threshold comprises:
if the currently acquired first capacitance signal is larger than the first capacitance signal acquired last time, and the first capacitance variable is larger than or equal to the first capacitance preset threshold, determining that the safety helmet is in a helmet wearing state;
if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time and the first capacitance variable is larger than or equal to the first capacitance preset threshold, determining that the safety helmet is in an uncapping state;
and if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time and the first capacitance variable is smaller than the first capacitance preset threshold value, determining that the safety helmet is in a helmet wearing state.
9. The method of claim 7, wherein the performing a second decapping detection on the hard hat according to the first capacitance variable and the first capacitance preset threshold comprises:
acquiring a conductor stacking increment;
if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time, and the first capacitance variable is larger than or equal to the sum of the conductor superposition increment and the first capacitance preset threshold, determining that the safety helmet is in an uncapping state;
if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time, the first capacitance variable is larger than or equal to the conductor superposition increment, and is smaller than the sum of the conductor superposition increment and the first capacitance preset threshold, determining that the safety helmet is in a helmet wearing state;
if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time, and the first capacitance variable is smaller than the conductor superposition increment, determining that the safety helmet is in a helmet wearing state;
wherein the conductor overlay increment is: when the safety helmet is in a helmet wearing state and enters and exits a conductor superposition environment, the absolute value of the first capacitance variable is caused; the conductor superimposition environment is: an environment that is susceptible to capacitance signal changes.
10. The method of claim 7, further comprising:
acquiring the environment of the safety helmet in the last time;
if the safety helmet is in a conductor-free superposition environment last time, executing a step of performing first uncapping detection on the safety helmet according to the first capacitance variable and the first capacitance preset threshold;
if the safety helmet is in a conductor superposition environment last time, executing a step of performing second uncapping detection on the safety helmet according to the first capacitance variable and the first capacitance preset threshold;
wherein the conductor overlay environment is: an environment that is susceptible to capacitance signal changes.
11. The method of claim 10, wherein when the last wearing state of the helmet is an uncapping state, the obtaining the environment in which the helmet was last located comprises:
acquiring a conductor superposition preset threshold, and when the conductor superposition preset threshold is larger than the first capacitance preset threshold:
if the first capacitance variable is larger than the conductor superposition preset threshold, determining that the safety helmet is in a conductor superposition environment;
if the first capacitance variable is smaller than the first capacitance preset threshold value, determining that the safety helmet is in a conductor-free superposition environment;
wherein the conductor superposition preset threshold is: -a lower limit value of the first capacitance variable caused when a hand touches the first capacitive proximity sensor (2) in the uncapped state of the safety helmet.
12. The method of claim 10, wherein when the last wearing state of the helmet is a hat wearing state, the obtaining of the environment in which the helmet was last located comprises:
if the currently acquired first capacitance signal is larger than the first capacitance signal acquired last time, and when the first capacitance variable is larger than or equal to the first capacitance preset threshold value, determining that the safety helmet is in a conductor superposition environment;
if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time, and when the first capacitance variable is larger than or equal to the first capacitance preset threshold value, determining that the safety helmet is in a conductor-free superposition environment;
and if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time, and when the first capacitance variable is smaller than the first capacitance preset threshold value, determining that the safety helmet is in a conductor-free superposition environment.
13. The method of claim 10, wherein when the last wearing state of the helmet is a hat wearing state, the obtaining of the environment in which the helmet was last located comprises:
acquiring a conductor stacking increment;
if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time, and when the first capacitance variable is larger than or equal to the sum of the conductor superposition increment and the first capacitance preset threshold value, determining that the safety helmet is in a conductor-free superposition environment;
if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time, the first capacitance variable is larger than or equal to the conductor superposition increment, and is smaller than the sum of the conductor superposition increment and the first capacitance preset threshold, determining that the safety helmet is in a conductor-free superposition environment;
if the currently acquired first capacitance signal is smaller than the first capacitance signal acquired last time, and the first capacitance variable is smaller than the conductor superposition increment, determining that the safety helmet is in a conductor superposition environment;
wherein the conductor overlay increment is: and when the safety helmet is in a helmet wearing state and enters and exits a conductor superposition environment, the absolute value of the first capacitance variable is caused.
14. The method of claim 10, further comprising:
acquiring a second capacitance signal of a second capacitive proximity sensor (4);
calculating a second capacitance variable corresponding to the currently acquired second capacitance signal and the second capacitance signal acquired last time;
acquiring a second preset capacitance threshold;
the determining the current wearing state of the safety helmet according to the first capacitance variable, the last wearing state of the safety helmet and the first preset capacitance threshold includes:
and determining the current wearing state of the safety helmet according to the first capacitance variable, the last wearing state of the safety helmet, the first preset capacitance threshold, the second capacitance variable and the second preset capacitance threshold.
15. The method of claim 14, wherein when the last wearing state of the helmet is an uncapped state, the determining the current wearing state of the helmet according to the first capacitance variable, the last wearing state of the helmet, the first preset capacitance threshold, the second capacitance variable, and the second preset capacitance threshold comprises:
acquiring a conductor superposition preset threshold, and when the conductor superposition preset threshold is larger than the first capacitance preset threshold:
if the first capacitance variable is greater than or equal to the first capacitance preset threshold value and less than or equal to the conductor superposition preset threshold value, and if the second capacitance variable is less than or equal to the second capacitance preset threshold value, determining that the safety helmet is in a helmet wearing state;
if the first capacitance variable is greater than or equal to the first capacitance preset threshold value and less than or equal to the conductor superposition preset threshold value, and if the second capacitance variable is greater than the second capacitance preset threshold value, determining that the safety helmet is in an uncapping state;
wherein the conductor superposition preset threshold is: -a lower limit value of the first capacitance variable caused when a hand touches the first capacitive proximity sensor (2) in the uncapped state of the safety helmet.
16. The method of claim 14, wherein when the last wearing state of the helmet is an uncapping state, the obtaining the environment in which the helmet was last located comprises:
acquiring a conductor superposition preset threshold, and when the conductor superposition preset threshold is larger than the first capacitance preset threshold:
if the first capacitance variable is greater than or equal to the first capacitance preset threshold value and less than or equal to the conductor superposition preset threshold value, and if the second capacitance variable is less than or equal to the second capacitance preset threshold value, determining that the safety helmet is in a conductor-free superposition environment;
if the first capacitance variable is greater than or equal to the first capacitance preset threshold value and less than or equal to the conductor superposition preset threshold value, and if the second capacitance variable is greater than the second capacitance preset threshold value, determining that the safety helmet is in a conductor superposition environment;
wherein the conductor superposition preset threshold is: -a lower limit value of the first capacitance variable caused when a hand touches the first capacitive proximity sensor (2) in the uncapped state of the safety helmet.
17. The method according to any one of claims 5 to 16, wherein after said determining the current wearing state of the helmet, the method comprises:
when the helmet is determined to be in a hat wearing state, detecting whether acceleration exists in the three-dimensional space of the helmet:
if the safety helmet has acceleration, determining that the safety helmet is in a normal helmet wearing state;
and if the safety helmet does not have acceleration, determining that the safety helmet is in an abnormal helmet wearing state.
18. The method according to any one of claims 5 to 16, further comprising:
and when the first capacitance signal and/or the second capacitance signal cannot be normally acquired, an error signal is sent to the central control platform.
19. A device for detecting wearing state of a helmet, the device being applied to a helmet, the device comprising:
the first acquisition module is used for acquiring a first capacitance signal of the first capacitive proximity sensor (2);
the first calculation module is used for calculating a first capacitance variable corresponding to the currently acquired first capacitance signal and the first capacitance signal acquired last time;
the first obtaining module is used for obtaining the last wearing state of the safety helmet and a first preset capacitance threshold;
and the determining module is used for determining the current wearing state of the safety helmet according to the first capacitance variable, the last wearing state of the safety helmet and the first preset capacitance threshold value.
20. A computer-readable storage medium having stored therein at least one instruction, which is loaded and executed by a processor, to implement the headgear wear status detection method according to any one of claims 5-18.
CN201810212734.4A 2018-03-15 2018-03-15 Safety helmet, wearing state detection method and device, and computer-readable storage medium Active CN110269304B (en)

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 CN110269304A (en) 2019-09-24
CN110269304B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
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
CN114615904A (en) * 2019-10-31 2022-06-10 博世电动工具(中国)有限公司 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

Citations (12)

* Cited by examiner, † Cited by third party
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
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 大卫·伯顿 Portable wearable monitoring system
EP3284361A2 (en) * 2016-07-29 2018-02-21 Ioan Smallwood Helmet

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
US9999272B2 (en) * 2011-07-26 2018-06-19 Blaine Kevin Tompkins Apparatus, and associated method, for protectively supporting an object

Patent Citations (12)

* Cited by examiner, † Cited by third party
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
CN107438398A (en) * 2015-01-06 2017-12-05 大卫·伯顿 Portable 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

Also Published As

Publication number Publication date
CN110269304A (en) 2019-09-24

Similar Documents

Publication Publication Date Title
CN110269304B (en) Safety helmet, wearing state detection method and device, and computer-readable storage medium
EP3811854B1 (en) Wearing detection method, chip and device
CN107495929B (en) Wearable device and state detection method
US10331324B1 (en) Measurement and testing system
EP2860611A1 (en) User interface method and apparatus based on spatial location recognition
CN103377542A (en) Human body fall-down preventing early warning method and human body fall-down preventing early warning device
EP3410285A1 (en) Electronic device and detection method
WO2016175501A1 (en) Step recognition system and method therefor, and storage medium in which program for processing same method is recorded
CN107209489B (en) Unmanned plane and its method for monitoring state, condition monitoring system, state monitoring device
CN105067022B (en) Detection method and device of capacitive sensor, touch chip and air conditioner
CN105868547A (en) User-health-state analysis method and system, device and terminal
CN103390327A (en) Early warning method and device for preventing human bodies from falling
CN104777525A (en) Method and system for detecting whether person exists on bed based on pressure sensor
CN110827967A (en) Platform, method and storage medium for identifying space occupation proportion of pharmacy
US20100026623A1 (en) Velocity stabilization for accelerometer based input devices
CN110945464B (en) Identification method of sliding signal, MCU, touch equipment and storage medium
CN108693986A (en) A kind of touch plate response method, system and a kind of touch tablet and storage medium
US11994970B2 (en) Diagnostic system
CN113311858A (en) Flight control system and method based on unmanned aerial vehicle
CN117138261A (en) Control method of beauty instrument, beauty instrument and computer readable storage medium
CN104434062B (en) High-sensitivity sleeping monitoring digital sensor and dynamic monitoring method thereof
CN100353915C (en) Measuring device
CN111956198B (en) Equipment state determination method and device
Alarfaj et al. Detection of human body movement patterns using imu and barometer
CN113053074A (en) Sitting posture monitoring method

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