Method for detecting tobacco juice based on infrared 3D posture

文档序号:1160926 发布日期:2020-09-18 浏览:15次 中文

阅读说明:本技术 基于红外3d姿态检测烟液的方法 (Method for detecting tobacco juice based on infrared 3D posture ) 是由 彭争战 李建伟 于 2020-06-17 设计创作,主要内容包括:本发明提供了一种基于红外3D姿态检测烟液的方法,其包括:当使用者在正常情况下使用气雾发生装置时,气雾发生装置正常工作,如果液位在正常范围内,则允许雾化器正常工作,如果检测烟油的液位不在正常范围内,则提醒烟油不足;非正常工作角度,此时红外检测装置停止检测油仓内烟油的液位,则雾化器保持正常的持续雾化烟油,再次回到正常工作角度时,如果液位在正常范围内,则允许雾化器正常工作,如果检测烟油的液位不在正常范围内,则提醒烟油不足,大大节省了人工资源,使用起来,安全、可靠,有效防止雾化芯干烧,无论在何种情况下使用,首先判断气雾发生装置处于何种姿势的情况,再决定是否检测烟油。(The invention provides a method for detecting tobacco juice based on infrared 3D postures, which comprises the following steps: when a user uses the aerosol generating device under normal conditions, the aerosol generating device works normally, if the liquid level is in a normal range, the atomizer is allowed to work normally, and if the liquid level of the tobacco tar is detected to be out of the normal range, the shortage of the tobacco tar is reminded; abnormal operating angle, infrared detection device stops to detect the liquid level of tobacco tar in the oil depot this moment, then the atomizer keeps normal continuous atomizing tobacco tar, when getting back to normal operating angle once more, if the liquid level is in normal scope, then allow the atomizer to normally work, if the liquid level that detects the tobacco tar is not in normal scope, then remind the tobacco tar not enough, the artificial resources has been saved greatly, the use, safety, reliability, effectively prevent atomizing core dry combustion method, no matter use under what kind of condition, at first judge the condition that aerial fog generating device is in what kind of posture, decide again whether detect the tobacco tar.)

1. A method for detecting tobacco juice based on infrared 3D gestures is characterized by comprising the following steps:

a. defining a coordinate system which comprises X, Y, Z axes which are vertical to each other, wherein the intersection point of X, Y, Z axes is an original point O, XOY is horizontally arranged, the positive direction of a Z axis is upward, and providing an air fog generating device which comprises an atomizer, a 3D posture detecting device and a circuit board, wherein the atomizer comprises an oil bin which is used for storing tobacco tar, an infrared detecting device is arranged in the oil bin, the infrared detecting device comprises a transmitting port and a receiving port, the transmitting port transmits infrared rays, the receiving port sequentially judges the amount of the tobacco tar according to the intensity of the received infrared rays, the initial state is realized, and the liquid level of the tobacco tar in the oil bin is parallel to an XOY plane;

b. when the liquid level of the tobacco tar is in a horizontal state, the liquid level of the tobacco tar is detected for the first time, if the liquid level is in a normal range, the atomizer is allowed to work normally, and if the liquid level of the tobacco tar is not in the normal range, the shortage of the tobacco tar is reminded;

c. after the liquid level of the tobacco tar is detected for the first time, if the 3D posture detection device detects that the angle of the electronic cigarette deviating from the positive direction of the OZ axis is theta 1, the angle is more than 0 and less than theta 1 and less than 90, and the angle theta 1 is the angle of normal work, at the moment, the infrared detection device continuously detects the liquid level of the tobacco tar in the oil bin, and the atomizer keeps normally and continuously atomizing the tobacco tar;

d. after the liquid level of the tobacco tar is detected for the first time, if the 3D posture detection device detects that the angle of the electronic cigarette deviating from the positive direction of the OZ axis is theta 2, 90 is larger than or equal to theta 2 and smaller than or equal to 180, and theta 2 is an abnormal working angle, at the moment, the infrared detection device stops detecting the liquid level of the tobacco tar in the oil bin, and the atomizer keeps normally and continuously atomizing the tobacco tar.

2. The method of claim 1, wherein the method for detecting smoke fluid based on infrared 3D gesture comprises: after the step d, when the situation that the liquid level is changed from theta 2 to theta 1 is detected, according to the backflow time t of the tobacco tar from the upper part to the initial state, after the infrared detection device waits for the time t, the liquid level of the tobacco tar in the oil bin is continuously detected, if the liquid level is in a normal range, the atomizer is allowed to normally work, and if the liquid level of the tobacco tar is not in the normal range, the shortage of the tobacco tar is reminded.

3. The method of claim 1, wherein the method for detecting smoke fluid based on infrared 3D gesture comprises: the aerosol generating device is in horizontal position, when the tobacco tar liquid level is in horizontal state, and transmission port and receiving port all are in same horizontal plane, and the tobacco tar is located between transmission port and the receiving port, and when transmission port transmission infrared ray passed through the tobacco tar, the intensity of the infrared ray that the receiving port received reduced.

Technical Field

The invention relates to a method for detecting tobacco juice based on an infrared 3D posture.

Background

At present, the electronic cigarette is taken as a substitute of tobacco, is deeply loved by smokers and mainly comprises an atomizer, a cigarette bomb body, an oil storage bin and a lower shell, wherein a power supply is arranged in the lower shell, the atomizer comprises atomizing wires and cotton, when the electronic cigarette is used, the power supply supplies electric energy to the atomizing wires, the atomizing wires generate heat, the cotton is used for adsorbing the tobacco tar in the oil storage bin, the tobacco tar adsorbed by the cotton is atomized by the atomizing wires, the atomized tobacco tar generates smoke, the smoke flows out through a channel of the cigarette bomb body and is sucked by a person, the quantity of the tobacco tar in the oil storage bin is generally fixed, when the electronic cigarette is used, the user can generally visually see the quantity of the tobacco tar in the oil storage bin, when the tobacco tar is less, the tobacco tar needs to be added into the oil storage bin, the electronic cigarette is completely judged by human eyes, the change of the liquid level of the tobacco tar in the oil storage bin can not be observed by the person at any time, therefore, the mode of completely judging, there is still great inconvenience, for example, the liquid level change of tobacco tar in the oil storage bin can not be observed in the place without light or in the place with dim light at night, so if the tobacco tar is not available at this time, the user still uses the electronic cigarette, and the shortage of tobacco tar is not suggested, so that the dry burning of the atomizing core is likely to be caused, and the serious person causes the damage of the electronic cigarette.

Disclosure of Invention

The invention aims to overcome the defects of the prior art and provides a method for detecting tobacco juice based on an infrared 3D posture, which has the characteristics of automatically detecting the amount of tobacco tar, reminding of insufficient tobacco tar and preventing dry burning.

The invention is realized by the following steps: a method of detecting smoke fluid based on infrared 3D gestures, comprising:

a. defining a coordinate system which comprises X, Y, Z axes which are vertical to each other, wherein the intersection point of X, Y, Z axes is an original point O, XOY is horizontally arranged, the positive direction of a Z axis is upward, and providing an air fog generating device which comprises an atomizer, a 3D posture detecting device and a circuit board, wherein the atomizer comprises an oil bin which is used for storing tobacco tar, an infrared detecting device is arranged in the oil bin, the infrared detecting device comprises a transmitting port and a receiving port, the transmitting port transmits infrared rays, the receiving port sequentially judges the amount of the tobacco tar according to the intensity of the received infrared rays, the initial state is realized, and the liquid level of the tobacco tar in the oil bin is parallel to an XOY plane;

b. when the liquid level of the tobacco tar is in a horizontal state, the liquid level of the tobacco tar is detected for the first time, if the liquid level is in a normal range, the atomizer is allowed to work normally, and if the liquid level of the tobacco tar is not in the normal range, the shortage of the tobacco tar is reminded;

c. after the liquid level of the tobacco tar is detected for the first time, if the 3D posture detection device detects that the angle of the electronic cigarette deviating from the positive direction of the OZ axis is theta 1, the angle is more than 0 and less than theta 1 and less than 90, and the angle theta 1 is the angle of normal work, at the moment, the infrared detection device continuously detects the liquid level of the tobacco tar in the oil bin, and the atomizer keeps normally and continuously atomizing the tobacco tar;

d. after the liquid level of the tobacco tar is detected for the first time, if the 3D posture detection device detects that the angle of the electronic cigarette deviating from the positive direction of the OZ axis is theta 2, 90 is more than or equal to theta 2 and less than or equal to 180, and theta 2 is an abnormal working angle, the infrared detection device stops detecting the liquid level of the tobacco tar in the oil bin at the moment, and the atomizer keeps normally and continuously atomizing the tobacco tar;

after the step d, when the situation that the liquid level is changed from theta 2 to theta 1 is detected, according to the backflow time t of the tobacco tar from the upper part to the initial state, after the infrared detection device waits for the time t, the liquid level of the tobacco tar in the oil bin is continuously detected, if the liquid level is in a normal range, the atomizer is allowed to normally work, and if the liquid level of the tobacco tar is not in the normal range, the shortage of the tobacco tar is reminded.

The aerosol generating device is in horizontal position, when the tobacco tar liquid level is in horizontal state, and transmission port and receiving port all are in same horizontal plane, and the tobacco tar is located between transmission port and the receiving port, and when transmission port transmission infrared ray passed through the tobacco tar, the intensity of the infrared ray that the receiving port received reduced.

When a user uses the aerosol generating device under normal conditions, the aerosol generating device works normally, if the liquid level is in a normal range, the atomizer is allowed to work normally, and if the liquid level of the tobacco tar is detected to be out of the normal range, the shortage of the tobacco tar is reminded; abnormal operating angle, infrared detection device stops to detect the liquid level of tobacco tar in the oil depot this moment, then the atomizer keeps normal continuous atomizing tobacco tar, when getting back to normal operating angle once more, if the liquid level is in normal scope, then allow the atomizer to normally work, if the liquid level that detects the tobacco tar is not in normal scope, then remind the tobacco tar not enough, the artificial resources has been saved greatly, the use, safety, reliability, effectively prevent the atomizing core dry combustion method of atomizer, prevent that the electron cigarette from burning out, no matter use under what kind of circumstances, at first judge the condition that aerial fog generating device is in what kind of posture, whether decide again to detect the tobacco tar.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.

Fig. 1 is a perspective view of an aerosol generating device provided in an embodiment of the present invention in a three-dimensional coordinate system;

fig. 2 is a perspective view of an aerosol generating device according to an embodiment of the present invention;

fig. 3 is a schematic view of an aerosol generating device provided by an embodiment of the present invention in the YOZ plane;

FIG. 4 is a schematic view of the aerosol generating device according to the present invention rotating about the Z-axis in the YOZ plane by θ 1;

FIG. 5 is a schematic view of a 90 degree rotation about the Z axis in the YOZ plane provided by an embodiment of the present invention;

FIG. 6 is a schematic view of the relative Z-axis rotation θ 2 in the YOZ plane provided by an embodiment of the present invention;

FIG. 7 is a schematic view of the relative Z-axis rotation θ 2 in the YOZ plane provided by an embodiment of the present invention;

FIG. 8 is a flow chart of logic provided by an embodiment of the present invention;

fig. 9 is a specific flowchart of the operation provided in the embodiment of the present invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

As shown in fig. 1 to 9, an embodiment of the present invention provides a method for detecting smoke liquid based on an infrared 3D gesture, also called a method for detecting a gesture based on an infrared 3D gesture, which includes the following steps; a. defining a coordinate system which comprises X, Y, Z axes which are vertical to each other, wherein the intersection point of X, Y, Z axes is an original point O, XOY is horizontally arranged, OX and OY axes define a horizontal plane, the positive direction of Z axis is upward and also called a three-dimensional rectangular coordinate system, providing an aerosol generating device (also called an electronic cigarette and an aerosol generating device) which comprises an atomizer, a 3D posture detecting device and a circuit board, wherein the atomizer comprises an oil bin 1, the oil bin 1 is used for storing tobacco tar 2, an infrared detecting device is arranged in the oil bin 1 and comprises a transmitting port 11 and a receiving port 12, the transmitting port 11 transmits infrared rays, the receiving port 12 sequentially judges the amount and the initial state of the tobacco tar 2 according to the intensity of the received infrared rays, and the liquid level of the tobacco tar 2 in the oil bin 1 is parallel to the XOY plane; the coordinate system is defined herein for clarity of the present design, such as rotation, flipping, etc. of the aerosol generating device in a horizontal plane, a vertical plane, etc.

b. When the liquid level of the tobacco tar 2 is in a horizontal state, the liquid level of the tobacco tar 2 is detected for the first time, if the liquid level is in a normal range, the atomizer is allowed to work normally, if the liquid level of the tobacco tar 2 is detected to be out of the normal range, the shortage of the tobacco tar 2 is reminded, the detection is also called as horizontal detection, because the electronic cigarette is just started at the moment, the tobacco tar is judged for the first time, the transmitting port 11 transmits infrared rays, the receiving port 12 transmits the value to the circuit board according to the intensity of the received infrared rays, data are stored in the circuit board in advance, the amount of the tobacco tar 2 is judged according to the data with the preset number, and the judgment can be carried out only if the record of every detection of the infrared detection device needs to be transmitted to the circuit board.

c. After the liquid level of the tobacco tar 2 is detected for the first time, if the 3D posture detection device detects that the angle of the electronic cigarette deviating from the positive direction of the OZ axis is theta 1, the angle is more than 0 and less than theta 1 and less than 90, and the angle theta 1 is the angle of normal work, at the moment, the infrared detection device continuously detects the liquid level of the tobacco tar 2 in the oil bin 1, and the atomizer keeps normally and continuously atomizing the tobacco tar 2; the schematic diagram of the design not only includes the rotation theta 1 relative to the Z axis in the YOZ plane, but also includes the rotation in the whole three-dimensional coordinate system, for example, the rotation theta 1 relative to the Z axis in the YOZ plane, and then the rotation is performed 360 degrees around the Z circle, the rotation track forms a cone, the O is used as the origin, the upper surface of the cone is a circular plane, and the electronic cigarette can stay at any point of the upper surface of the cone, and at this time, the electronic cigarette can be regarded as the rotation theta 1 relative to the Z axis.

d. After the liquid level of the tobacco tar 2 is detected for the first time, if the 3D posture detection device detects that the angle of the electronic cigarette deviating from the positive direction of the OZ axis is theta 2, 90 is greater than or equal to theta 2 and is less than or equal to 180, and theta 2 is an abnormal working angle, the infrared detection device stops detecting the liquid level of the tobacco tar 2 in the oil bin 1 at the moment, and the atomizer keeps normally and continuously atomizing the tobacco tar 2; the term θ 2 is understood to mean that the electronic cigarette is rotated by θ 1 in the plane YOZ relative to the Z axis, and then rotated 360 degrees around the Z axis, the rotation trajectory forms a cone, the origin is O, the lower surface of the cone is a circular plane, the electronic cigarette can stay at any point of the lower surface of the cone, and the rotation trajectory can be regarded as the rotation trajectory θ 1 relative to the Z axis, though θ 2 is equal to 90, which is the exception, and the electronic cigarette is placed horizontally and laid down, which is detailed here, the normal smoking of a person is standing smoking, and the electronic cigarette and the positive OZ axis direction keep an angle θ 1, if the person is sitting on the cigarette, and the electronic cigarette and the positive OZ axis direction keep an angle θ 1, if the person is lying on the cigarette, the electronic cigarette and the positive OZ axis direction keep an angle which may be 90 degrees, and may be a value between 90 and 180 degrees, which may include the end points, certainly, the lying smoking can be defined as an abnormal smoking state, but the electronic cigarette is also in a smoking state, and because the electronic cigarette is in an inverted state or a downward inclined state, the shortage of the tobacco tar 2 cannot be denied, and the detection is only effective when the electronic cigarette needs to be in a normal smoking position.

After the step d, when the situation that the liquid level is changed from theta 2 to theta 1 is detected, according to the backflow time t when the tobacco tar 2 flows back from the upper part to the initial state, after the infrared detection device waits for the time t, the liquid level of the tobacco tar 2 in the oil bin 1 is continuously detected, if the liquid level is in a normal range, the atomizer is allowed to normally work, and if the liquid level of the tobacco tar 2 is detected to be out of the normal range, the shortage of the tobacco tar 2 is reminded. In the design, at an angle theta 2, the tobacco tar 2 flows downwards in the oil bin 1, so that the tobacco tar 2 is gathered at a position close to the cigarette holder of the electronic cigarette, namely, fig. 6 and 7 show that the tobacco tar 2 is located at the lower part of the oil bin 1 at the moment, the lower part is only temporary at the moment, when the electronic tobacco tar 2 is changed from the angle theta 2 to the angle theta 1, the tobacco tar 2 flows in the oil bin 1, the tobacco tar 2 has certain viscosity and flows for a certain time, so the state that the tobacco tar 2 flows back to the original state of the angle theta 1 needs a certain time, and flows back to the state of the angle theta 1, but the tobacco tar 2 can be inclined in the oil bin 1, the inclination of the oil bin 1 determines that the tobacco tar 2 is inclined in the oil bin 1 as a whole, but the liquid level of the tobacco tar 2 can be determined to be the normal smoking position at the moment, because when the electronic cigarette is used normally, the electronic cigarette and the Z-axis direction are deviated by an angle, which is, this time t is necessary, then the infrared detection device just begins to detect the liquid level of the tobacco tar 2, agrees to be whether to judge whether the liquid level of the tobacco tar 2 is in the normal range according to whether the tobacco tar 2 attenuates and the attenuation amount, does not need to prompt to refuel in the normal range, and prompts to refuel if not in the normal range to prevent dry burning.

When the aerosol generating device is in a horizontal position, namely the liquid level of the tobacco tar 2 is in a horizontal state, the transmitting port 11 and the receiving port 12 are both in the same horizontal plane, the tobacco tar 2 is positioned between the transmitting port 11 and the receiving port 12, and when the transmitting port 11 transmits infrared rays and the tobacco tar 2 passes through, the intensity of the infrared rays received by the receiving port 12 is reduced. Because there is some attenuation when the infrared ray passes through the medium of the tobacco tar 2, the attenuated infrared ray is received by the receiving port 12, and the range of the attenuation percentage of the infrared ray is calculated according to the medium constant of the tobacco tar 2, so as to determine the intensity of the received infrared ray, the intensity of the received infrared ray should be a range value, and the intensity of the received infrared ray is allowed to be in the range, so that the existence of the tobacco tar 2 can be determined.

In fig. 8, the MCU may also be a component on the circuit board, such as a processor, and the infrared detection device is also referred to as an infrared detection unit, which detects the object to be detected (smoke) in real time/time and sends a detection signal to the MCU main control unit. The 3D posture detection device detects the detected object in real time/time division and sends a detection signal to the MCU main control unit;

a) when the application state is within the preset angle range, an identification state signal is given, and a tobacco tar state judgment signal is given in combination with sampling information of the infrared detection unit;

b) when the application is not in the preset angle range, sending a non-recognition state signal, not judging the tobacco tar state, when the application is normally used in the preset angle range and after a certain reply time point (temporarily set for 5s), combining the sampling information of the infrared detection unit to give a tobacco tar state judgment signal, when the detection signal receives the preset judgment condition and the signal in the range is yes, making state recognition and giving an alarm signal (if the detection signal is normal, not acting).

The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:增加被加热后烟草保温时间的方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!