CN109764356B - Laser lighter and control method - Google Patents

Laser lighter and control method Download PDF

Info

Publication number
CN109764356B
CN109764356B CN201910104965.8A CN201910104965A CN109764356B CN 109764356 B CN109764356 B CN 109764356B CN 201910104965 A CN201910104965 A CN 201910104965A CN 109764356 B CN109764356 B CN 109764356B
Authority
CN
China
Prior art keywords
ignition
laser
duration
lighter
total
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
CN201910104965.8A
Other languages
Chinese (zh)
Other versions
CN109764356A (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.)
Foshan Polytechnic
Original Assignee
Foshan Polytechnic
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 Foshan Polytechnic filed Critical Foshan Polytechnic
Priority to CN201910104965.8A priority Critical patent/CN109764356B/en
Publication of CN109764356A publication Critical patent/CN109764356A/en
Application granted granted Critical
Publication of CN109764356B publication Critical patent/CN109764356B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a laser lighter and a control method, comprising a machine body, wherein the machine body is provided with a cavity, an iris recognition module and a switch button; the cavity is divided into a first part and a second part from top to bottom by a partition plate, and the first part is provided with an ignition structure and a condensation structure; the ignition structure includes: the light-gathering structure comprises an ignition cavity, wherein the ignition cavity is formed by enclosing a reflector, a light-gathering plate, a part of a partition plate and the inner wall of the cavity; the second portion is provided with: the system comprises a controller, a Bluetooth module and a power module, wherein the power module is used for providing electric energy for a laser igniter; the invention carries out non-contact collection, processing and matching of iris information of a user, intelligently controls the laser lighter to execute ignition operation, effectively prevents the laser lighter from playing as a toy due to curiosity, causes fire accidents and improves the safety of the laser lighter.

Description

Laser lighter and control method
Technical Field
The invention relates to the technical field of laser lighters, in particular to a laser lighter and a control method.
Background
In life, the lighter is a small-sized fire taking device, is mainly used for taking fire and is indispensable in life. The appearance of the toy is similar to that of a gun, a watch, an automobile, a cartoon image and the like, and some toy can emit light and lighten, so that the toy has certain entertainment and has great attraction to children. Once a child carelessly plays the laser lighter as a toy or misoperates the ignition button, the accident of injury is likely to happen.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a laser lighter and a control method, which intelligently execute the ignition operation of a user by collecting and identifying iris information of the user.
The invention solves the technical problems as follows: a method of controlling a laser lighter, comprising a laser lighter, the method comprising:
collecting iris texture images of a user as target iris texture images, judging whether the target iris texture images are registered in the laser lighter in advance, and executing ignition instructions of the user by the laser lighter if the target iris texture images are registered;
when registering, the user inputs the iris texture image as a reference iris texture image.
Further, the method for judging whether the target iris texture image is registered in the laser lighter in advance comprises the following steps:
preprocessing the reference iris texture image and the target iris texture image, extracting features of the reference iris texture image and the target iris texture image, matching the extracted feature points of the reference iris texture image and the target iris texture image by adopting a Haming similarity distance measuring method, and determining a matching rate;
judging whether the matching rate exceeds a threshold value, and judging that the target iris texture image is registered in the laser lighter when the matching rate exceeds the threshold value.
Further, the pretreatment method comprises the following steps:
and performing median filtering processing on the image, separating pupil areas by a threshold segmentation algorithm according to a gray level histogram, removing eyelash noise by adopting a continuity area detection method, positioning the inner boundary of the iris in the image according to a gray level accumulation extremum, further positioning pupil parameters by a Daugman loop vector line integral operator, performing homomorphic filtering processing on the positioned image, and completing extraction of iris texture features in the image based on two-dimensional wavelet transformation coefficient zero crossing detection.
A laser lighter comprises a lighter body, wherein the lighter body is provided with a cavity, an iris recognition module and a switch button;
the iris recognition module and the switch button are arranged on the outer side wall of the machine body;
the cavity is divided into two parts from top to bottom by a partition plate, namely a first part and a second part, wherein the first part is provided with an ignition structure and a light condensation structure;
the ignition structure includes: the ignition button is connected with the laser igniter, and when the ignition button is triggered, the laser igniter can emit laser;
the light condensation structure comprises an ignition cavity, and the ignition cavity is formed by enclosing a reflector, a light condensation plate, a part of a separation plate and the inner wall of the cavity;
a smoke point is arranged in the ignition cavity;
the light-gathering plate is provided with a first opening, laser emitted by the laser igniter can be injected into the ignition cavity through the first opening, the light-reflecting plate is used for reflecting the laser injected into the ignition cavity into the light-gathering plate, and the light-gathering plate is used for focusing the laser on the ignition point;
the cavity is provided with a second opening, the second opening is communicated with the ignition cavity, and the top end of the cigarette can extend into a cigarette point through the second opening;
the second portion is provided with: the system comprises a controller, a Bluetooth module and a power module, wherein the power module is used for providing electric energy for a laser igniter; the controller is connected with the Bluetooth module, the switch button, the iris recognition module, the laser igniter and the power module respectively.
Further, the ignition button includes: the bottom of the key is fixedly connected with one end of the reset spring, the other end of the reset spring is abutted to the sensing surface of the pressure sensor, and the output end of the pressure sensor is connected with the control end of the laser igniter;
the pressure sensor can output a trigger level, and the control end of the laser igniter is used for receiving the trigger level and emitting laser.
Further, the display screen module is further included, and the display screen module is electrically connected with the controller.
Further, the lower part of organism is equipped with type-c module that charges, type-c module that charges is connected with power module electricity, type-c module's input port sets up the surface of organism lower wall.
The beneficial effects of the invention are as follows: the laser lighter carries out non-contact collection to user's iris information, processes and matches the iris information of input in advance, and intelligent control laser lighter carries out the ignition operation, effectively prevents children because of curiosity with laser lighter play as the toy, causes the fire accident, improves the security of laser lighter, avoids the maloperation to fire and causes the fire accident.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that are required to be used in the description of the embodiments will be briefly described below. It is evident that the drawings described are only some embodiments of the invention, but not all embodiments, and that other designs and drawings can be obtained from these drawings by a person skilled in the art without inventive effort.
Fig. 1 is a schematic view of the structure of a laser lighter in this embodiment;
fig. 2 is a schematic diagram showing the module connection of the laser lighter according to the present embodiment;
fig. 3 is a structural diagram of the BP neural network in the present embodiment.
Detailed Description
The conception, specific structure, and technical effects produced by the present invention will be clearly and completely described below with reference to the embodiments and the drawings to fully understand the objects, features, and effects of the present invention. It is apparent that the described embodiments are only some embodiments of the present invention, but not all embodiments, and that other embodiments obtained by those skilled in the art without inventive effort are within the scope of the present invention based on the embodiments of the present invention. In addition, all connection relationships mentioned herein do not refer to direct connection of the components, but rather, refer to a connection structure that may be better formed by adding or subtracting connection aids depending on the particular implementation. The technical features in the invention can be interactively combined on the premise of no contradiction and conflict.
Embodiment 1 referring to fig. 1 to 2, a laser lighter comprises a body provided with a cavity 100, an iris recognition module 120 and a switch button 130;
the iris recognition module 120 and the switch button 130 are both arranged on the outer side wall of the machine body;
the cavity 100 is divided into two parts from top to bottom by a partition plate 110, namely a first part and a second part, wherein the first part is provided with an ignition structure and a light condensation structure;
the ignition structure includes: the ignition button is connected with the laser igniter 220, and when the ignition button is triggered, the laser igniter 220 can emit laser;
the light-condensing structure comprises an ignition cavity 310, wherein the ignition cavity 310 is surrounded by a reflector 320, a light-condensing plate 330, a part of the partition plate 110 and the inner wall of the cavity 100;
a smoke point is arranged in the ignition cavity 310;
the light-condensing plate 330 is provided with a first opening 350, the laser emitted by the laser igniter 220 can be injected into the ignition cavity 310 through the first opening 350, the light-reflecting plate 320 is used for reflecting the laser injected into the ignition cavity 310 into the light-condensing plate 330, and the light-condensing plate 330 is used for focusing the laser on the cigarette point;
the cavity 100 is provided with a second opening 340, the second opening 340 is communicated with the ignition cavity 310, and the top end of the cigarette can extend into the cigarette point through the second opening 340;
the second portion is provided with: a controller 420, a bluetooth module 430, and a power module 410, wherein the power module 410 is used for providing power to the laser igniter 220; the controller 420 is connected to the bluetooth module 430, the switch button 130, the iris recognition module 120, the laser igniter 220, and the power module 410, respectively.
The top end of the cigarette is the end of the cigarette provided with tobacco.
The user can extend the top end of the cigarette into the ignition cavity 310 through the second opening 340, the top end of the cigarette extends to the point of the cigarette, and the laser in the ignition cavity 310 ignites the cigarette rapidly. The reflector 320 and the condensing plate 330 collect the laser in the ignition cavity 310, so as to effectively improve the utilization rate of the laser.
The bluetooth module 430 performs bluetooth communication connection with the bound terminal. The bound terminal can be a mobile phone terminal and a tablet computer.
The iris recognition module 120 is used for collecting iris texture images of the user.
The controller 420 is an ARM processor, and the model is ATSAMD21G18A micro ARM. The ARM processor comprises a register and a timer, and the controller 420 is used for processing the acquired target iris texture image and matching the characteristics of the target iris texture image and the reference iris texture image to obtain a matching rate.
The power module 410 is a lithium battery. The power module 410 provides power to the laser igniter 220, the ignition button, the controller 420, the bluetooth module 430, the switch button 130, the display module 600, and the iris recognition module 120, respectively.
The laser igniter 220 is not affected by the weather when being ignited, and there is no fear that the flame is blown out by wind.
A laser lighter control method applied to the laser lighter, the control method comprising:
collecting iris texture images of a user as target iris texture images, judging whether the target iris texture images are registered in the laser lighter in advance, and executing ignition instructions of the user by the laser lighter if the target iris texture images are registered;
when registering, the user inputs the iris texture image as a reference iris texture image.
As an optimization, the method for judging whether the target iris texture image is registered in the laser lighter in advance comprises the following steps:
preprocessing the reference iris texture image and the target iris texture image, extracting features of the reference iris texture image and the target iris texture image, matching the extracted feature points of the reference iris texture image and the target iris texture image by adopting a Haming similarity distance measuring method, and determining a matching rate;
judging whether the matching rate exceeds a threshold value, and judging that the target iris texture image is registered in the laser lighter when the matching rate exceeds the threshold value.
As an optimization, the pretreatment method comprises the following steps:
and performing median filtering processing on the image, separating pupil areas by a threshold segmentation algorithm according to a gray level histogram, removing eyelash noise by adopting a continuity area detection method, positioning the inner boundary of the iris in the image according to a gray level accumulation extremum, further positioning pupil parameters by a Daugman loop vector line integral operator, performing homomorphic filtering processing on the positioned image, and completing extraction of iris texture features in the image based on two-dimensional wavelet transformation coefficient zero crossing detection.
The working process of the invention comprises the following steps:
user registration: the user selects an operation instruction of 'iris input' from the bound terminals, the terminals transmit the operation instruction to the controller 420 through the Bluetooth module 430, the controller 420 receives the operation instruction and then controls the iris recognition module 120 to collect iris texture images of the user, and the iris recognition module 120 transmits the iris texture images obtained by collection to a register in the controller 420 to serve as a reference iris texture image after the iris recognition module 120 collects the iris texture images;
when a user wants to perform an ignition operation, the switch button 130 is pressed, the switch button 130 triggers and sends a first level signal to the controller 420, after the controller 420 receives the first level signal, the power supply module 410 is controlled to supply power to the iris recognition module 120, the iris recognition module 120 is started, and the iris recognition module 120 collects an iris texture image of the user as a target iris texture image. The iris recognition module 120 sends the target iris texture image to the controller 420, the controller 420 respectively pre-processes the reference iris texture image and the target iris texture image, enhances the texture detail information of the iris, extracts the features, matches the features extracted from the reference iris texture image and the target iris texture image by adopting a Haming similarity distance measurement method, and determines the matching rate.
When the match rate is greater than the threshold, the controller 420 controls the power module 410 to power the ignition button and the laser igniter 220, and the ignition button and the laser igniter 220 are activated. The user presses the ignition button, the ignition button triggers to output a level signal to the laser igniter 220, and the laser igniter 220 emits laser after receiving the level signal. The threshold may be determined based on the accuracy of iris detection, in this embodiment 90%.
According to the invention, through iris recognition and matching, the laser lighter is intelligently controlled to execute ignition operation, and only a user who inputs iris texture images can execute ignition instructions, so that the laser lighter is effectively prevented from playing as a toy due to curiosity of children, fire accidents are caused, and the safety of the laser lighter is improved.
As an optimization, the ignition button includes: the device comprises a key 210, a reset spring 230 and a pressure sensor 240, wherein the bottom of the key 210 is fixedly connected with one end of the reset spring 230, the other end of the reset spring 230 is abutted against the sensing surface of the pressure sensor 240, and the output end of the pressure sensor 240 is connected with the control end of the laser igniter 220;
the pressure sensor 240 may output a trigger level, and the control terminal of the laser igniter 220 is configured to receive the trigger level and emit laser light.
The user presses the key 210, the spring is forced to deform by pressing the key 210, the sensing surface of the pressure sensor 240 is acted, the pressure sensor 240 is triggered, the output end of the pressure sensor 240 sends a trigger level signal to the control end of the laser igniter 220, and the laser igniter 220 sends out laser after receiving the trigger level signal.
As an optimization, a display screen module 600 is further included, and the display screen module 600 is electrically connected with the controller 420. The display module 600 is configured to display the remaining ignition times and the remaining power of the laser lighter, and can remind the user to charge in time when the power of the power module 410 is not much.
The process of detecting the remaining power of the power module 410:
through establishing ties an electric quantity metering chip on the return circuit of power module 410, be equipped with sampling resistor in the electric quantity metering chip, the electric quantity metering chip monitors the electric current size that flows through sampling resistor's return circuit in the test unit time, and when the electric current is time-varying, and produces different differential pressures after flowing through different electric currents, the electric quantity metering chip will produce different differential pressures after different electric currents and send for controller 420, controller 420 carries out integral calculation to the differential pressure that different electric currents produced, calculates power module 410's residual capacity. The controller 420 calculates the current remaining power of the power module 410 to be several percent of the total power, converts the data information of the current remaining power to be several percent of the total power into a first digital signal, and transmits the first digital signal to the display screen module 600, and after the display screen module 600 receives the first digital signal, displays the current remaining power to be several percent of the total power.
The method 1 for detecting the current residual ignition times of the laser lighter comprises the following steps:
in the product testing stage, a large number of laser lighters are subjected to data testing, the time length of each ignition of the laser lighters and the electric quantity value consumed by each ignition are collected through the controller 420 and are used as a first test data set, the average ignition time length of the laser lighters and the electric quantity value consumed by the corresponding average ignition time length are obtained by calculating the average value of the ignition time length in the first test data set, and the total ignition times of the laser lighters can be obtained by dividing the total electric quantity value of the power module 410 by the electric quantity value consumed by the average ignition time length.
The controller 420 collects the triggering times of the pressure sensor 240 to obtain the number of times of ignition, and subtracts the number of times of ignition from the total number of times of ignition to obtain the current remaining number of times of ignition. The controller 420 converts the current remaining ignition count into a second digital signal and transmits the second digital signal to the display screen module 600, and the display screen module 600 displays the current remaining ignition count after receiving the second digital signal.
Referring to fig. 3, the method 2 for detecting the remaining ignition times of the laser lighter comprises the following steps:
in the product testing stage, a plurality of laser lighters are subjected to data testing, and the total ignition duration, the actual ignition duration, the corresponding current residual electric quantity and the ignition interval duration of each ignition of a user are collected through the controller 420 and used as a second testing data set. The total ignition duration is the duration from when the user starts to operate the laser lighter, ignites to when the laser lighter is turned off, and the actual ignition duration is the duration from when the pressure sensor 240 triggers to when the laser igniter 220 stops emitting laser.
The controller 420 calculates and trains the second test data set.
All the values of the total ignition duration are equally divided into three subsets according to time sequence, v respectively 1 、v 2 And v 3 The v is 1 Representing a longer overall ignition duration, v 2 Representing the total duration of medium ignition, v 3 Representing a shorter total ignition duration. v 4 V for a set of ignition interval durations 5 Is the set of the current remaining power. According to the initial preset ignition total duration threshold and ignition interval duration threshold, for v 1 、v 2 、v 3 And v 4 And (5) carrying out normalization processing. Reuse of BP neural network pair v 1 、v 2 、v 3 、v 4 And v 5 Training: will bev 1 、v 2 、v 3 、v 4 And v 5 The output of the input layer is calculated by substituting the data of the input layer into the Sigmoid function:
will v 1 、v 2 、v 3 、v 4 And v 5 V substituted into (1-1) i Wherein v is i =I i -R 1i . Obtaining an output value h of the first hidden layer according to formulas (1-1) and (1-2) 1 、h 2 And h 3 Calculating the output value of the second hidden layer according to the data of the three variables:
obtaining c according to the formula (1-3) 1 、c 2 、c 3 And c 4
Obtaining the output value t of the calculated output layer according to the formula (1-4) 1 、t 2 And t 3
Wherein R is 1i 、R 2j 、R 3k And R is 4l Threshold values of respective layers, W ij 、W jk And W is kl The weights of the layers are respectively given.
Training step 1: respectively calculate h 11 、h 21 And h 31 . Wherein h is 11 And obtaining the mode of the ignition total duration in the second test data set by calculating the mode of the ignition total duration in the second test data set for the normal ignition total duration.
h 21 For normal non-ignition durationThe data set of the non-ignition time length can be obtained by subtracting the corresponding actual ignition time length from the ignition total time length in the second test data set, and the normal non-ignition time length h is obtained by calculating the mode in the data set of the non-ignition time length 21
h 31 For the residual ignition duration, detecting the electric quantity which is required to be consumed and corresponds to the normal ignition total duration, and according to v 5 The residual ignition duration can be solved by the data of the residual electric quantity and the following formula:
output value h of the first hidden layer 1 、h 2 、h 3 And h 11 、h 21 、h 31 Comparing, calculating error, analyzing error and adjusting threshold and weight of training input layer and first hidden layer to obtain output value h of first hidden layer 1 、h 2 、h 3 And h 11 、h 21 、h 31 Is within an acceptable error range.
Training step 2: respectively calculating c 11 、c 21 And c 31 . Wherein c 11 The total ignition duration is the duration used by all actions of the user for ignition once; c 21 For the actual ignition duration, i.e. for the user to perform an ignition, the pressure sensor 240 triggers to the time when the laser igniter 220 stops lasing, c 31 For no ignition duration, through c 11 Subtracting c 21 Obtaining c 31 ,c 41 As a percentage of the actual ignition duration and the no ignition duration, i.e. c 21 And c 31 Is a percentage of (c).
Output value c of the second hidden layer 1 、c 2 、c 3 、c 4 And c 11 、c 21 、c 31 、c 41 Comparing, calculating error, analyzing error and adjusting threshold value and weight of training second hidden layer to obtain output value c of second hidden layer 1 、c 2 、c 3 、c 4 And c 11 、c 21 、c 31 、c 41 Is within an acceptable error range.
Training step 3, respectively calculating t 11 、t 21 And t 31 . Wherein t is 11 For the remaining ignition times, detecting the ignition total time length c 11 The required electric quantity is obtained by mixing v 5 The remaining charge divided by the ignition total duration c 11 The required electric quantity can be used for obtaining the residual ignition times t 11 ;t 21 For the remaining ignition duration, and h 31 The same; t is t 31 C, for lighting up the cigarette success rate 21 Dividing the actual ignition time by c 11 To obtain the ignition success rate t for the ignition total time 31
Output value t of output layer 1 、t 2 、t 3 And t 11 、t 21 、t 31 Comparing, calculating error, analyzing error and adjusting threshold and weight of training output layer to obtain output value t of output layer 1 、t 2 、t 3 And t 11 、t 21 、t 31 Is within an acceptable error range.
And (3) training the steps 1, 2 and 3 to obtain the BP neural network of the laser lighter which is more in line with the second test data set.
When the user uses the laser lighter, the controller 420 collects the current ignition total time length, the current residual electric quantity and the ignition interval time length with the last ignition, and substitutes the values of the current ignition total time length, the current residual electric quantity and the ignition interval time length with the last ignition into the BP neural network of the laser lighter, namely, calculates the current residual ignition times.
The controller 420 converts the current remaining ignition count into a third digital signal and transmits the third digital signal to the display screen module 600, and the display screen module 600 displays the current remaining ignition count after receiving the third digital signal.
As an optimization, a type-c charging module 500 is arranged at the lower part of the machine body, the type-c charging module 500 is electrically connected with the power module 410, and an input port of the type-c charging module 500 is arranged on the outer surface of the lower wall of the machine body.
The user can charge the power module 410 through the type-c charging module 500 for the laser lighter can be continuously recycled, and the service life is prolonged.
In the embodiment, iris texture patterns of the collected user are matched, non-contact collection is performed, safety is high, and the iris texture pattern collecting device is cleaner and more sanitary than fingerprint collection, password collection and the like.
The invention controls the laser lighter to execute the ignition operation by collecting and intelligently identifying the iris information of the user, improves the use safety of the lighter and avoids fire accidents caused by misoperation ignition.
While the preferred embodiments of the present invention have been illustrated and described, the present invention is not limited to the embodiments, and various equivalent modifications and substitutions can be made by one skilled in the art without departing from the spirit of the present invention, and these are intended to be included in the scope of the present invention as defined in the appended claims.

Claims (7)

1. The laser lighter control method is characterized by comprising a laser lighter, wherein the laser lighter comprises an ignition structure, the ignition structure comprises an ignition button and a laser igniter, and the ignition button comprises a pressure sensor; the pressure sensor is connected with the laser igniter;
the control method comprises the following steps:
collecting iris texture images of a user as target iris texture images, judging whether the target iris texture images are registered in the laser lighter in advance, and executing ignition instructions of the user by the laser lighter if the target iris texture images are registered;
during registration, a user inputs an iris texture image as a reference iris texture image;
the control method further includes:
the method comprises the steps of performing data testing on a large number of laser lighters, and collecting the total ignition time length, the actual ignition time length and the corresponding current residual electric quantity and ignition interval time length of each ignition of a user as a second test data set, wherein the total ignition time length is the time length from the start of the operation of the laser lighters when the user opens the laser lighters, the ignition time length to the whole process of closing the laser lighters, and the actual ignition time length is the time length from the triggering of a pressure sensor to the stop of the laser igniter from emitting laser;
all the values of the total ignition duration are equally divided into three subsets according to time sequence, namely a longer total ignition duration v1, a medium total ignition duration v2 and a shorter total ignition duration v3; v4 is a set of ignition interval duration, and v5 is a set of current residual electric quantity;
according to an initial preset ignition total duration threshold and an ignition interval duration threshold, carrying out normalization processing on v1, v2, v3 and v4, and training v1, v2, v3, v4 and v5 by using a BP neural network: substituting the data of v1, v2, v3, v4 and v5 into the Sigmoid function to calculate the output of the input layer:
(1-1)
(1-2)
substituting v1, v2, v3, v4 and v5 into formula (1-1)Wherein->
Obtaining output values h1, h2 and h3 of the first hidden layer according to the formula (1-1) and the formula (1-2), and calculating the output value of the second hidden layer according to the data of the three variables:
(1-3)
obtaining c1, c2, c3 and c4 according to the formula (1-3);
(1-4)
obtaining output values t1, t2 and t3 of a calculation output layer according to the formula (1-4); wherein, R1i, R2j, R3k and R4l are the threshold values of each layer respectively, and Wij, wjk and Wkl are the weights of each layer respectively;
training step 1: respectively calculating a normal ignition total time h11, a normal non-ignition time h21 and a residual ignition time h31;
the normal ignition total duration h11 is obtained by calculating the mode of the ignition total duration in the second test data set; subtracting the corresponding actual ignition time from the ignition total time in the second test data set to obtain a data set of non-ignition time, and calculating the mode in the data set of non-ignition time to obtain a normal non-ignition time h21; detecting the electric quantity to be consumed corresponding to the normal ignition total duration, and solving the residual ignition duration h31 according to the data of the residual electric quantity in the current residual electric quantity set v5 and the following formula:
comparing the output values h1, h2 and h3 of the first hidden layer with the output values h11, h21 and h31, calculating errors, analyzing the errors and adjusting the threshold values and weights of the training input layer and the first hidden layer so that the errors of the output values h1, h2 and h3 of the first hidden layer, the output values h11, h21 and h31 are in an acceptable error range;
training step 2: respectively calculating the ignition total time length c11, the actual ignition time length c21 and the non-ignition time length c31; the total ignition duration c11 is the duration used by all actions of the user for performing one ignition; the actual ignition duration c21 is the time when the user performs primary ignition and the pressure sensor triggers to the laser igniter to stop emitting laser; subtracting c21 from c11 to obtain a non-ignition duration c31, wherein c41 is the percentage of the actual ignition duration and the non-ignition duration, namely the percentage of c21 and c31;
comparing the output values c1, c2, c3, c4 and c11, c21, c31, c41 of the second hidden layer, calculating an error, analyzing the error and adjusting the threshold value and the weight of training the second hidden layer so that the error of the output values c1, c2, c3, c4 and c11, c21, c31, c41 of the second hidden layer is within an acceptable error range;
training step 3, respectively calculating the residual ignition times t11, the residual ignition duration t21 and the cigarette ignition success rate t31;
detecting the electric quantity required by the ignition total duration c11, and obtaining the residual ignition times t11 by dividing the residual electric quantity in the current residual electric quantity set v5 by the electric quantity required by the ignition total duration c 11; t21 is the remaining ignition duration, which is the same as the remaining ignition duration h31; t31 is the success rate of cigarette ignition, and the actual ignition duration c21 is divided by the total ignition duration c11 to obtain the success rate t31 of cigarette ignition;
comparing the output values t1, t2 and t3 of the output layer with the output values t11, t21 and t31, calculating an error, analyzing the error and adjusting the threshold value and the weight of the training output layer, so that the obtained error of the output values t1, t2 and t3 of the output layer and the error of the output values t11, t21 and t31 are within an acceptable error range;
training the steps 1, 2 and 3 to obtain a BP neural network of the laser lighter conforming to the second test data set;
when the laser lighter is used, collecting the current ignition total time length, the current residual electric quantity and the ignition interval time length with the last ignition, substituting the values of the current ignition total time length, the current residual electric quantity and the ignition interval time length with the last ignition into the BP neural network of the laser lighter, and calculating to obtain the current residual ignition times.
2. The method of claim 1, wherein the determining whether the target iris texture image is registered in the laser lighter in advance comprises:
preprocessing the reference iris texture image and the target iris texture image, extracting features of the reference iris texture image and the target iris texture image, matching the extracted feature points of the reference iris texture image and the target iris texture image by adopting a Haming similarity distance measuring method, and determining a matching rate;
judging whether the matching rate exceeds a threshold value, and judging that the target iris texture image is registered in the laser lighter when the matching rate exceeds the threshold value.
3. The method of claim 2, wherein the pre-processing comprises:
and performing median filtering processing on the image, separating pupil areas by a threshold segmentation algorithm according to a gray level histogram, removing eyelash noise by adopting a continuity area detection method, positioning the inner boundary of the iris in the image according to a gray level accumulation extremum, further positioning pupil parameters by a Daugman loop vector line integral operator, performing homomorphic filtering processing on the positioned image, and completing extraction of iris texture features in the image based on two-dimensional wavelet transformation coefficient zero crossing detection.
4. A laser lighter comprising a body, wherein the body is provided with a cavity, an iris recognition module and a switch button;
the iris recognition module and the switch button are arranged on the outer side wall of the machine body;
the cavity is divided into two parts from top to bottom by a partition plate, namely a first part and a second part, and the first part is provided with the ignition structure and the light condensation structure;
the ignition structure comprises an ignition button and a laser igniter, wherein the ignition button is connected with the laser igniter, and when the ignition button is triggered, the laser igniter can emit laser;
the light condensation structure comprises an ignition cavity, and the ignition cavity is formed by enclosing a reflector, a light condensation plate, a part of a separation plate and the inner wall of the cavity;
a smoke point is arranged in the ignition cavity;
the light-gathering plate is provided with a first opening, laser emitted by the laser igniter can be injected into the ignition cavity through the first opening, the light-reflecting plate is used for reflecting the laser injected into the ignition cavity into the light-gathering plate, and the light-gathering plate is used for focusing the laser on the ignition point;
the cavity is provided with a second opening, the second opening is communicated with the ignition cavity, and the top end of the cigarette can extend into a cigarette point through the second opening;
the second portion is provided with: the system comprises a controller, a Bluetooth module and a power module, wherein the power module is used for providing electric energy for a laser igniter; the controller is connected with the Bluetooth module, the switch button, the iris recognition module, the laser igniter and the power module respectively.
5. The laser lighter of claim 4, wherein the ignition button further comprises: the bottom of the key is fixedly connected with one end of the reset spring, the other end of the reset spring is abutted to the sensing surface of the pressure sensor, and the output end of the pressure sensor is connected with the control end of the laser igniter;
the pressure sensor can output a trigger level, and the control end of the laser igniter is used for receiving the trigger level and emitting laser.
6. The laser lighter as in claim 4, wherein: the display screen module is electrically connected with the controller.
7. The laser lighter as in claim 4, wherein: the lower part of organism is equipped with type-c module that charges, type-c module that charges is connected with the power module electricity, type-c module's input port sets up the surface of organism lower wall.
CN201910104965.8A 2019-02-01 2019-02-01 Laser lighter and control method Active CN109764356B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910104965.8A CN109764356B (en) 2019-02-01 2019-02-01 Laser lighter and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910104965.8A CN109764356B (en) 2019-02-01 2019-02-01 Laser lighter and control method

Publications (2)

Publication Number Publication Date
CN109764356A CN109764356A (en) 2019-05-17
CN109764356B true CN109764356B (en) 2024-04-05

Family

ID=66455914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910104965.8A Active CN109764356B (en) 2019-02-01 2019-02-01 Laser lighter and control method

Country Status (1)

Country Link
CN (1) CN109764356B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113154443B (en) * 2020-01-07 2022-09-16 北京小米移动软件有限公司 Ignition method and device for ignition device and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1074526A (en) * 1991-12-13 1993-07-21 胜利国际股份有限公司 Laser cigarette lighter
CN101526225A (en) * 2008-03-04 2009-09-09 黄雪兵 Integrated laser ignition lighter
CN102043954A (en) * 2011-01-30 2011-05-04 哈尔滨工业大学 Quick and robust iris recognition method based on related function matching
CN204063125U (en) * 2014-07-09 2014-12-31 南京唐模电气科技有限公司 Contactless electronic Laser Igniter
CN105698213A (en) * 2016-04-13 2016-06-22 温州宏路轻工有限公司 Arc cigar lighter device, method for controlling access of arc cigar lighter device and manufacturing method
CN106402929A (en) * 2015-08-03 2017-02-15 林丽莎 Lighter with control device
CN206131059U (en) * 2016-09-29 2017-04-26 李明 Portable multi -functional laser cigar lighter

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1074526A (en) * 1991-12-13 1993-07-21 胜利国际股份有限公司 Laser cigarette lighter
CN101526225A (en) * 2008-03-04 2009-09-09 黄雪兵 Integrated laser ignition lighter
CN102043954A (en) * 2011-01-30 2011-05-04 哈尔滨工业大学 Quick and robust iris recognition method based on related function matching
CN204063125U (en) * 2014-07-09 2014-12-31 南京唐模电气科技有限公司 Contactless electronic Laser Igniter
CN106402929A (en) * 2015-08-03 2017-02-15 林丽莎 Lighter with control device
CN105698213A (en) * 2016-04-13 2016-06-22 温州宏路轻工有限公司 Arc cigar lighter device, method for controlling access of arc cigar lighter device and manufacturing method
CN206131059U (en) * 2016-09-29 2017-04-26 李明 Portable multi -functional laser cigar lighter

Also Published As

Publication number Publication date
CN109764356A (en) 2019-05-17

Similar Documents

Publication Publication Date Title
CN107260139B (en) Application method of heart rate sensing ring of social tool
CN109769099B (en) Method and device for detecting abnormality of call person
WO2018152712A1 (en) Vehicle-mounted health and safety driving assistance device
EP3525141A1 (en) Emotion inference device and emotion inference system
CN105117697B (en) Fingerprint identification method, fingerprint identification device and its terminal device
US20200058057A1 (en) Method for selling electronic cigarette, terminal, storage medium and electronic cigarette
CN109764356B (en) Laser lighter and control method
WO2010012215A1 (en) Dual cameras face recognition device and method
JP2006259924A (en) Object authentication device, cellular phone, object authentication unit, object authentication method, and object authentication program
CN105049596B (en) A kind of mobile terminal and its fatigue state detection method
TW201327413A (en) Systems and methods for face authentication or recognition using spectrally and/or temporally filtered flash illumination
CN106056105A (en) Identification apparatus integrated with fingerprint and vein identification, and identification method
CN106325514B (en) A kind of the Anti-fall method, apparatus and its electronic equipment of hand-held intelligent terminal
CN109866774A (en) System and method is monitored based on Face datection and the driver fatigue state of authentication
CN209763147U (en) Laser lighter
CN110211330A (en) A kind of miniature early warning robot of child's danger persecution
CN111445640A (en) Express delivery pickup method, device, equipment and storage medium based on iris recognition
CN110533426A (en) A kind of method of payment and system
CN109793491A (en) A kind of colour blindness detection method and terminal device
WO2023231820A1 (en) Skin evaluation instrument, skin evaluation system, and skin evaluation method
CN111047828A (en) Household intelligent security alarm system
CN206660551U (en) A kind of competing race time set of physical education
CN113298507B (en) Payment verification method, system, electronic device and storage medium
CN111213920A (en) Electronic cigarette, starting control method and device thereof, and readable storage medium
CN110135836B (en) Payment control method based on wearable device and wearable device

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