CN109017658A - A kind of pre- child-resistant is by the system in car locking - Google Patents
A kind of pre- child-resistant is by the system in car locking Download PDFInfo
- Publication number
- CN109017658A CN109017658A CN201710436060.1A CN201710436060A CN109017658A CN 109017658 A CN109017658 A CN 109017658A CN 201710436060 A CN201710436060 A CN 201710436060A CN 109017658 A CN109017658 A CN 109017658A
- Authority
- CN
- China
- Prior art keywords
- data
- sensor
- sample
- group
- carbon dioxide
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R21/00—Arrangements or fittings on vehicles for protecting or preventing injuries to occupants or pedestrians in case of accidents or other traffic risks
- B60R21/01—Electrical circuits for triggering passive safety arrangements, e.g. airbags, safety belt tighteners, in case of vehicle accidents or impending vehicle accidents
- B60R21/015—Electrical circuits for triggering passive safety arrangements, e.g. airbags, safety belt tighteners, in case of vehicle accidents or impending vehicle accidents including means for detecting the presence or position of passengers, passenger seats or child seats, and the related safety parameters therefor, e.g. speed or timing of airbag inflation in relation to occupant position or seat belt use
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60J—WINDOWS, WINDSCREENS, NON-FIXED ROOFS, DOORS, OR SIMILAR DEVICES FOR VEHICLES; REMOVABLE EXTERNAL PROTECTIVE COVERINGS SPECIALLY ADAPTED FOR VEHICLES
- B60J1/00—Windows; Windscreens; Accessories therefor
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C17/00—Arrangements for transmitting signals characterised by the use of a wireless electrical link
- G08C17/02—Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Mechanical Engineering (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Emergency Alarm Devices (AREA)
Abstract
The invention discloses a kind of pre- child-resistant by the system and its implementation in car locking, the pre- child-resistant includes: each interior corresponding data of sensor acquisition in governor circuit by the implementation method of the system in car locking, wherein carbon dioxide, oxygen and temperature data can pass through corresponding algorithm process, warning against danger short message is sent by wireless Internet card, secondary control circuit control vehicle window automatically opens under dangerous situation, and realization is saved oneself;The pre- child-resistant includes: governor circuit, secondary control circuit by the system in car locking;The governor circuit includes microcomputer, motion detection sensor, digital temperature sensor, carbon dioxide sensor, oxygen sensor, microwave radar inductive pick-up, wireless Internet card, mobile power source and master control shell;The secondary control circuit mainly includes single-chip microcontroller, bluetooth module, voltage reduction module, electromagnetic relay, PCB circuit board and secondary control shell;Whether energy accurate judgement of the present invention has children by the dangerous situation in car locking, and realizes rescue.
Description
Technical field
The invention belongs to safety precautions technical field, especially a kind of pre- child-resistant by car locking system and its realization side
Method.
Background technique
Automobile is worldwide popularized and is come at present, it also brings while bringing great convenience
Many security risks.Wherein since the carelessness of parent causes children to be caused the case of danger commonplace in car locking.The especially summer
In season, for vehicle in lower temperature of being exposed to the sun up to 45 degrees Celsius, this will be fatal danger to the children of self-protection ability weakness.It is existing
Though research judge that testing staff in car locking, is had ignored the reliability of sensing data, such as patent using multiple means
Be ignored as in CN201610361810.9 interference of the environment to sensor measurement, especially human body temperature infrared detection module, fingerprint identification module and
Gas flow sensor, the measurement of both sensors are just easily influenced by environment such as temperature, this to judge it is interior whether someone
Huge interference will be generated.
With the continuous improvement of quality of the life, people more focus on the security performance of automobile, and put into secure context
Cost also continue to increase.Data are shown according to investigations, and when consumer purchases vehicle, the ratio of consideration vehicle safety first is up to
85.73%, followed by price factor is 62.45%.It can be seen that automotive safety equipment Market has sizable potentiality;And it is current
The Prevention Research of such safety accident generally requires to carry out biggish change, including program and structure to vehicle, some are even related to
And the labyrinths such as vehicle remote control central lock, it is unfavorable for automaker and is transformed production on original production line.Therefore it grinds
Hair is simple and effectively prevention system has important practical value and social reality meaning.
Summary of the invention
The object of the present invention is to provide one kind effectively testing staff to be sent according to different situations related alert by car locking
Information is accused, and in case of emergency automatically opens system and its implementation that vehicle window is saved oneself.
The embodiments of the present invention are implemented as follows, and by system and its implementation in car locking, this is pre- for a kind of pre- child-resistant
Anti- network system realization the following steps are included:
Whether step 1, motion detection sensor detection vehicle are in halted state;
Further embodiment, motion detection sensor model mpu6050 carry out data biography by I2C interface and microcomputer
It is defeated;Detection data is vehicle acceleration, and the speed of vehicle is obtained by repeatedly integrating, and judges whether speed is 0, obtains vehicle
Whether halted state is in;
Further embodiment, microcomputer are Raspberry Pi 3, using tetra- core processor of 1.2GHz, carry and are based on Linux
Debian system, embedded with bluetooth, Wi-Fi module;Possess 40 GPIO pins, including 1 I2C communication interface, separately may be used
Multiple I2C interfaces, 1 serial communication interface are simulated by I/O interface;It is equipped with 4 USB interfaces and 1 Micro USB power source
Input interface.
Step 2, two microwave radar inductive pick-ups obtain car, and whether there is or not personal informations, when any one detects vehicle
When interior someone, that is, assert there are personnel in the car;
Further embodiment, microwave radar sensor model number are YTMW8631, and the data of microwave radar sensor output are
Digital quantity, therefore output state is directly read by the I/O interface of microcomputer, personnel can be determined whether in the car.
Step 3, after detecting interior someone, carbon dioxide sensor and oxygen sensor obtain interior gas respectively
Data sample, and interior gas concentration is obtained through algorithm process, it is both comprehensive as a result, whether there is or not personnel's quilts with accurate judgement
Lock.When detecting that gas concentration lwevel is higher than 800ppm or oxygen concentration lower than 19.5%, that is, it can determine whether that someone person is locked
It is interior;
Further embodiment, carbon dioxide sensor model MH-Z19, oxygen sensor model 7OX-V, oxygen pass
Sensor is simulated I2C by microcomputer I/O interface and is carried out data transmission, and carbon dioxide sensor is counted by the UART interface of microcomputer
According to transmission, microcomputer carries out the algorithm process of data sample;
Since at different temperatures, the reliability of data is different, children are caused the security risk possibility of danger in car locking
Also different, i.e., temperature is higher, and children are caused the security risk of danger higher in car locking, therefore the number of sample is according to actual temperature
It obtains, embodiment is with 28 degrees Celsius for judgment basis, and every group of number of samples is 8 when temperature value is less than 28 degrees Celsius, otherwise
It is 16, the operational efficiency of system can be improved while guaranteeing that data are reliable in this way, reduce energy consumption;
Further, the Processing Algorithm of carbon dioxide data sample specifically: 4 data of temperature sensor continuous acquisition are simultaneously
It is averaged, carbon dioxide sensor acquires a group data sample, and every group acquisition t, wherein t is determined by temperature value, works as temperature value
T takes 8 when less than 28 degrees Celsius, is otherwise 16, and the data result obtained is (x11, x12, x13…x1t) ..., (xk1, xk2, xk3…
xki…xkt) ..., (xa1, xa2, xa3…xat), wherein k indicates that kth group sample, i are other i-th of the data of the group, can calculate
The random uncertainty of a group sample mean, method are Wherein xkiFor
I-th of sample of kth group,For the average value of kth group sample, freedom degree n-1, the confidence level that can obtain sample by S is
0.95, when single group pendulous frequency is 8, t can be found by confidence coefficient value tablevpValue is 2.08, when single group pendulous frequency is 16
When, it can obtain tvpValue is 2.01, according toThe confidence interval M of sample can be obtained, whereinFor a group
Then the arithmetic average of sample carries out the differentiation of gross error and will not meet data rejecting, then data are randomly divided into two
Group and the average value for calculating each group, formula areWherein q=c+d, q are to reject number
Valid data number after, c, d are respectively the data amount check in two groups of data, then calculate the weight of two groups of data: 1. p1+
p2=1Wherein σ1, σ2Respectively first group with second group of standard deviation, p1, p2For the weight of two groups of data,
Finally two groups of data are merged according to weight, calculating formula are as follows:It is resultingAs final dioxy
Change concentration of carbon;Oxygen data sample algorithm is identical as carbon dioxide;
The required precision of gas detected is higher, and sensor sheet can be reduced by being measured using two different sensors
Measurement error caused by body precision, the uncertain factors such as environmental change, human interference can be reduced by carrying out algorithm process to data
It influences, the accuracy of data is improved by these data fusion methods, provide reliable basis for judgement.
Step 4, when there is personnel by car locking, the data of temperature sensor will obtain interior accurate temperature through algorithm process
Degree;
Further embodiment, the model DS18B20 of digital temperature sensor, is connected with microcomputer by monobus and is counted
According to transmission, data sample carries out calculation processing by microcomputer;
Further, the specific algorithm of temperature data processing are as follows: acquire t sample, titanium dioxide in the occurrence and step 3 of t
The method that carbon obtains data amount check is identical, then rejectsA maximum value and minimum value, then calculate the arithmetic mean of remaining data
Value An, through median average filter treated data AnFrom preceding measurement result twice by different weights find out one it is new as a result, its
Algorithm is WhereinRespectively n-th, (n-1),
(n-2) weighted average of secondary gas volume fraction, P are weight, and the calculation method of weight is first to An,It takes
Median, the weight of median are 0.5, and being left two data weights is 0.25, thus obtains vehicle interior temperature, works as vehicle interior temperature
Dangerous temperature can be regarded as when higher than 35 degrees Celsius;
Since the reliability of digital temperature sensor is higher, precision itself also complies with demand, therefore the processing of temperature data
It using more succinct algorithm process, that is, ensure that the precision of data, and improve operational efficiency.
Step 5, when vehicle interior temperature is higher than 35 degrees Celsius or oxygen concentration is lower than 18.5%, governor circuit can pass through
Wireless Internet card and built-in SIM card send warning against danger short message to multiple presetting mobile phones;As long as furthermore having detected
Personnel are locked in car, and microcomputer starts timing, and can be by wireless Internet card, every 15 minutes transmission reminding short messages, more than 4
Hour will automatic alarm, if being judged as when during which gas concentration lwevel is higher than 20% lower than 700ppm or oxygen concentration
Personnel not by car locking, do not retransmit warning short message at this time;
Further embodiment, wireless Internet card model Huawei E1750, built-in SIM card, wireless Internet card are connect by USB
Mouth is connected with microcomputer, and microcomputer controls wireless Internet card to multiple setting sending short message by mobile phone information;
Further, microcomputer sent by wireless Internet card and its built-in SIM card short message method it is as follows: the nothing
Line card of surfing Internet is connected by USB interface with microcomputer, is first installed USB_Modeswitch tool on microcomputer and is then pacified on microcomputer
Gammu software is filled, and configures Gammu file, configuration mode is as follows: input terminal order: gammu-config, then by Port
It is changed to the USB port address of wireless Internet card, can be checked with ls/dev/ttyUSB* order, then Connection
It is changed to at19200, finally saves file.Write in main program os.system (' echo " xxxxx (short message content) " | sudo
Gammu sendsms TEXT 178xxxxxxxx ') sentence sends warning against danger short message;
USB_Modeswitch is USB mode crossover tool, is automatically performed Raspberry by USB_Modeswitch
Conversion of the Pi 3 to the mode of wireless Internet card is allowed to switch to Modem mode by memory module, downloads the terminal life of the tool
It enables are as follows: sudo apt-get install usb-modeswitch;
Gammu is the cell phone managing API of an open source, which sends short message for system and provide necessary support, under
Carry the station command of the software are as follows: sudo apt-get install gammu.
Step 6, if sending warning against danger short message after five minutes, vehicle interior temperature does not decline or oxygen concentration is not gone up, then
Microcomputer will send commands to secondary control circuit by bluetooth, automatically open to control vehicle window;
Further embodiment, after sending warning against danger short message, microcomputer will persistently detect vehicle interior temperature and oxygen in 5 minutes
Gas content, and with send warning against danger short message when temperature and oxygen concentration be compared, if being not detected under vehicle interior temperature
Perhaps more or oxygen concentration does not go back up to 19.5% or more to 2 degrees Celsius of drop, then microcomputer will pass through built Bluetooth module
Send the bluetooth module for opening the order of vehicle window to secondary control circuit;
Further embodiment, pair control single-chip microcontroller in circuit and are connected respectively with bluetooth module, voltage reduction module, electromagnetic relay,
Voltage reduction module is connected with automobile normalizing line, and electromagnetic relay is connected with Car window electric machine;Single-chip microcontroller model Arduino mini, it is blue
Tooth module model HC-05, electromagnetic relay model JD1914, voltage reduction module model 5AMK175 voltage reduction module is by automobile
It powers after power voltage step down to single-chip microcontroller, single-chip microcontroller is connected by serial communication line with bluetooth module, is come from when single-chip microcontroller receives
The order of bluetooth module then controls the pin being connected with electromagnetic relay, so that it is exported high level, at this time electromagnetic relay work
Make, connect the Car window electric machine being connected with automobile normalizing line, so that vehicle window is opened, realizes automatic help;
Automobile USB interface is mobile power source power supply in governor circuit, and mobile power source is the power supply of Raspberry Pi 3,
Raspberry Pi 3 passes through each electronic module power supply that pin is in governor circuit.
The another object of the embodiment of the present invention is to provide a kind of pre- child-resistant by the system in car locking, this is a kind of to prevent
Child mainly contains governor circuit and secondary control circuit two large divisions by the system in car locking.
It include microcomputer, motion detection sensor, digital temperature sensor, carbon dioxide sensor, oxygen in governor circuit
Sensor, microwave radar inductive pick-up, wireless Internet card, mobile power source and master control shell.
Pair control circuit in mainly include single-chip microcontroller, bluetooth module, voltage reduction module, electromagnetic relay, PCB wiring board and
Pair control shell.
Electronic module in governor circuit be suspended be fixed on it is on master control Housing Base and relatively independent with vehicle itself,
Only power module is connected with vehicle USB interface, there is glass holder on master control shell, and glass holder is adsorbed on rear seat windscreen
On, so that entire governor circuit is fixed on rear seat windscreen.
Digital temperature sensor, motion detection sensor, carbon dioxide sensor, oxygen sensor, microwave radar induction
Sensor, which passes through copper post and is suspended, to be fixed on master control Housing Base, and the air flow property between each module is enhanced, and is improved real
When monitoring performance.
Pair control circuit in each electronic module be integrated in PCB circuit board, bluetooth module, voltage reduction module, electromagnetism after
Electric appliance is fixed in PCB circuit board, and PCB circuit board is fixed on secondary control shell, and pair control shell is fixed on rear right vehicle
By window motor;Each to be fixed by screw and nut, Arduino mini then passes through pin and is welded in PCB circuit board.
Detailed description of the invention
Fig. 1 is a kind of pre- child-resistant provided in an embodiment of the present invention by the governor circuit schematic diagram of the system in car locking;
Fig. 2 is a kind of pre- child-resistant provided in an embodiment of the present invention by the secondary control circuit diagram of the system in car locking;
In Fig. 1: microcomputer 1, master control shell 2, motion detection sensor 3, wireless Internet card 4, mobile power source 5, carbon dioxide
Sensor 6, oxygen sensor 7, digital temperature sensor 8, microwave radar inductive pick-up 9;In Fig. 2: single-chip microcontroller 10, PCB line
Road plate 11, electromagnetic relay 12, secondary control shell 13, bluetooth module 14, voltage reduction module 15;
Fig. 3 is a kind of pre- child-resistant provided in an embodiment of the present invention by the implementation method flow chart of the system in car locking;
Fig. 4 is a kind of pre- child-resistant provided in an embodiment of the present invention by the stream of the embodiment of the network system realization in car locking
Cheng Tu.
Specific embodiment
In order to which the purpose of the present invention, technical solution and advantage is more clearly understood, with reference to embodiments, to this hair
It is bright to be further elaborated, it should be understood that the specific embodiments described herein are merely illustrative of the present invention, and does not have to
It is of the invention in limiting.
With reference to the accompanying drawing and specific embodiment is further described application principle of the invention.
As shown in Figure 1, the pre- child-resistant of the embodiment of the present invention is by the system master circuit in car locking mainly by: microcomputer 1, main
Control shell 2, motion detection sensor 3, wireless Internet card 4, mobile power source 5, carbon dioxide sensor 6, oxygen sensor 7, number
Word temperature sensor 8, microwave radar inductive pick-up 9.
It is microcomputer 1, motion detection sensor 3, carbon dioxide sensor 6, oxygen sensor 7, digital temperature sensor 8, micro-
Wave radar inductive pick-up 9 is fixed on the bottom plate of master control shell 2, and is suspended by copper post and is fixed on master control shell
On body bottom plate, there is glass holder on master control shell, can be adsorbed on rear seat windscreen.
As shown in Fig. 2, the pre- child-resistant of the embodiment of the present invention is by system pair control circuit in car locking mainly by single-chip microcontroller
10, PCB circuit board 11, electromagnetic relay 12, secondary control shell 13, bluetooth module 14, voltage reduction module 15.
Bluetooth module 14, voltage reduction module 15, electromagnetic relay 12 are fixed in PCB circuit board 11, PCB circuit board
11 are fixed on secondary control shell 13, and pair control shell 13 is fixed on by rear right Car window electric machine, above solid by screw and nut
Fixed, Arduino mini then passes through pin and is welded on pcb board, is connected by wire jumper between each module.
As shown in figure 3, the pre- child-resistant of the embodiment of the present invention by the network system realization in car locking the following steps are included:
S201: whether motion detection sensor detection vehicle is in halted state;
S202: when detecting that vehicle stops, two microwave radar inductive pick-ups obtain it is interior whether there is or not personal information, when
When any one detects interior someone, it is determined with personnel in the car;
S203: after detecting interior someone, carbon dioxide sensor and oxygen sensor obtain interior gas number respectively
According to sample, and interior gas concentration is obtained through algorithm process, when detecting that gas concentration lwevel is excessively high or oxygen concentration mistake
When low, being judged as has personnel by car locking;
S204: when there is personnel by car locking, the data of temperature sensor will obtain interior specific temperature through algorithm process
Degree;
S205: when vehicle interior temperature is excessively high or oxygen concentration is too low, governor circuit sends warning against danger and presets to multiple
Fixed mobile phone;As long as furthermore having detected that personnel are locked in car, it is short that wireless Internet card will send prompting every 15 minutes
Letter, will automatic alarm more than 4 hours;
S206: when sending warning against danger short message after five minutes, vehicle interior temperature is not apparent from decline or oxygen concentration is not apparent from
Go up, then microcomputer will send commands to secondary control circuit by bluetooth, automatically open to control vehicle window.
The embodiment of the present invention 1:
As shown in figure 4, the pre- child-resistant of the embodiment of the present invention by the network system realization in car locking the following steps are included:
Whether motion detection sensor detection vehicle is in halted state;
Further embodiment, motion detection sensor model mpu6050 carry out data biography by I2C interface and microcomputer
It is defeated;Detection data is vehicle acceleration, and the speed of vehicle is obtained by repeatedly integrating, and judges whether speed is 0, obtains vehicle
Whether halted state is in;
Two microwave radar inductive pick-ups obtain it is interior whether there is or not personal information, when someone in the car when, microcomputer receives
High level signal is determined with personnel in the car, when nobody in the car when, it is low level that microcomputer, which receives, then determines car
Without personnel.
After detecting interior someone, carbon dioxide sensor and oxygen sensor obtain interior gas data sample respectively
This, obtains interior gas concentration when vehicle interior temperature and through algorithm process, when microcomputer detects that gas concentration lwevel is higher than
When 800ppm or oxygen concentration are lower than 19.5%, being judged as has personnel by car locking, and otherwise judgement is that people is not locked in car;
Further embodiment, carbon dioxide sensor model MH-Z19, oxygen sensor model 7OX-V, titanium dioxide
The output data of carbon sensor and oxygen sensor all needs to convert by analog-digital converter PCF8591, and analog quantity is switched to number
Amount, then analog-digital converter is carried out data transmission with microcomputer by I2C bus, and microcomputer carries out the algorithm process of data sample;
Since at different temperatures, children are caused the security risk possibility of danger also different in car locking, therefore sample
Number is obtained according to actual temperature, embodiment with 28 degrees Celsius for judgment basis, when temperature value is less than 28 degrees Celsius every group
Number of samples is 8, is otherwise 16, can improve the operational efficiency of system while guaranteeing that data are reliable in this way, reduce energy consumption;
Further, the Processing Algorithm of carbon dioxide data sample specifically: 4 data of temperature sensor continuous acquisition are simultaneously
It is averaged, carbon dioxide sensor acquires a group data sample, and every group acquisition t, wherein t is determined by temperature value, works as temperature value
T takes 8 when less than 28 degrees Celsius, is otherwise 16, and the result obtained is (x11, x12, x13…x1t) ..., (xk1, xk2, xk3…
xki…xkt) ..., (xa1, xa2, xa3…xat), wherein k indicates that kth group sample, i are other i-th of the data of the group, can calculate
The random uncertainty of a group sample mean, method are Wherein xkiFor
I-th of sample of kth group,For the average value of kth group sample, freedom degree n-1.The confidence level that can obtain sample by S is
0.95, when single group pendulous frequency is 8, t can be found by confidence coefficient value tablevpValue is 2.08, when single group pendulous frequency is 16
When, it can obtain tvpValue is 2.01, according toThe confidence interval of sample can be obtained, whereinFor a group sample
Then this arithmetic average carries out the differentiation of gross error and will not meet data rejecting, then data are randomly divided into two groups
And the average value of each group is calculated, formula isWherein q=c+d, q are to reject data
Valid data number afterwards, c, d are respectively the data amount check in two groups of data, then calculate the weight of two groups of data: 1. p1+p2
=1Wherein σ1, σ2Respectively first group with second group of standard deviation, p1, p2For the weight of two groups of data,
Finally two groups of data are merged according to weight, calculating formula are as follows:It is resultingAs final dioxy
Change concentration of carbon;Oxygen data sample algorithm is identical as carbon dioxide;
Measurement error caused by can reducing sensor precision itself is measured using two different sensors, to data
The influence of the uncertain factors such as environmental change, human interference can be reduced by carrying out algorithm process, be mentioned by these data fusion methods
The accuracy of high data provides reliable basis for judgement.
When there is personnel by car locking, the data of temperature sensor will obtain interior accurate temperature through algorithm process;
Further embodiment, the model DS18B20 of digital temperature sensor, is connected with microcomputer by monobus and is counted
According to transmission, data sample carries out calculation processing by microcomputer;
Further, the specific algorithm of temperature data processing are as follows: t sample of acquisition, the occurrence and carbon dioxide of t obtain number
It is identical according to the method for number, then rejectA maximum value and minimum value, then calculate the arithmetic average A of remaining datan, warp
Median average filter treated data AnOne is found out newly as a result, its algorithm is by different weights from preceding measurement result twiceWhereinRespectively n-th, (n-1), (n-2)
The weighted average of secondary gas volume fraction, P are weight, and the calculation method of weight is first to An,Take middle position
Value, the weight of median are 0.5, and being left two data weights is 0.25, vehicle interior temperature is thus obtained, when vehicle interior temperature is higher than
Dangerous temperature can be regarded as at 35 degrees Celsius.
Since the reliability of digital temperature sensor is also higher, precision itself also complies with demand, therefore temperature data uses
Simplified algorithm process, that is, ensure that the precision of data, and improve operational efficiency.
When vehicle interior temperature, which is higher than 35 degrees Celsius or oxygen concentration, is lower than 18.5%, governor circuit can be by wireless
Network interface card and built-in SIM card send warning against danger short message to multiple presetting mobile phones;As long as furthermore having detected personnel's quilt
In the car, microcomputer starts timing to lock, and can be by wireless Internet card, every 15 minutes transmission reminding short messages, just more than 4 hours
Meeting automatic alarm, if during which gas concentration lwevel is judged as personnel lower than 700ppm or when oxygen concentration is higher than 20%
Not by car locking, short message is not retransmited at this time;
Further embodiment, wireless Internet card model Huawei E1750, built-in SIM card, wireless Internet card are connect by USB
Mouth is connected with microcomputer, and microcomputer controls wireless Internet card to multiple setting sending short message by mobile phone information;
Further, microcomputer sent by wireless Internet card and its built-in SIM card short message method it is as follows: the nothing
Line card of surfing Internet is connected by USB interface with microcomputer, is first installed USB_Modeswitch tool on microcomputer and is then pacified on microcomputer
Gammu software is filled, and configures Gammu file, configuration mode is as follows: input terminal order: gammu-config, then by Port
It is changed to the USB port address of wireless Internet card, can be checked with ls/dev/ttyUSB* order, then Connection
It is changed to at19200, finally saves file.Write in main program os.system (' echo " xxxxx (short message content) " | sudo
Gammu sendsms TEXT 178xxxxxxxx ') sentence sends warning against danger short message;
USB_Modeswitch is USB mode crossover tool, is automatically performed Raspberry by USB_Modeswitch
Conversion of the Pi 3 to the mode of wireless Internet card is allowed to switch to Modem mode by memory module, downloads the terminal life of the tool
It enables are as follows: sudo apt-get install usb-modeswitch;
Gammu is the cell phone managing API of an open source, which sends short message for system and provide necessary support, under
Carry the station command of the software are as follows: sudo apt-get install gammu.
When sending warning against danger short message after five minutes, vehicle interior temperature does not decline or oxygen concentration is not gone up, then microcomputer will
Secondary control circuit is sent commands to by bluetooth, is automatically opened to control vehicle window;
Further embodiment, after sending warning against danger short message, microcomputer will persistently detect vehicle interior temperature and oxygen in 5 minutes
Gas content, and with send warning against danger short message when temperature and oxygen concentration be compared, if being not detected under vehicle interior temperature
Perhaps more or oxygen concentration does not go back up to 19.5% or more to 2 degrees Celsius of drop, then microcomputer will pass through built Bluetooth module
Send commands to the bluetooth module of secondary control circuit;
Further embodiment, pair control single-chip microcontroller in circuit and are connected respectively with bluetooth module, voltage reduction module, electromagnetic relay,
Voltage reduction module is connected with automobile normalizing line, and electromagnetic relay is connected with Car window electric machine;Single-chip microcontroller model Arduino mini, it is blue
Tooth module model HC-05, electromagnetic relay model JD1914, voltage reduction module model 5AMK175 voltage reduction module is by automobile
It powers after power voltage step down to single-chip microcontroller, single-chip microcontroller is connected by serial communication line with bluetooth module, is come from when single-chip microcontroller receives
The order of bluetooth module then controls the pin being connected with electromagnetic relay, so that it is exported high level, at this time electromagnetic relay work
Make, connect the Car window electric machine being connected with automobile normalizing line, so that vehicle window is opened, realizes automatic help.
Automobile USB interface is mobile power source power supply in governor circuit in embodiment, and mobile power source is Raspberry Pi 3
Power supply, Raspberry Pi 3 pass through each electronic module power supply that energization pins are in governor circuit.
Claims (3)
1. a kind of pre- child-resistant is by the system and its implementation in car locking, it is characterised in that this prevents the children from being in car locking
Unite implementation method the following steps are included:
Whether step 1, motion detection sensor detection vehicle are in halted state;
Step 2, when detecting that vehicle is in halted state, the detection of microwave radar inductive pick-up is interior, and whether there is or not personnel;
Step 3, after detecting interior someone, carbon dioxide sensor and oxygen sensor obtain interior gas data respectively
Sample, and interior gas concentration is obtained through algorithm process, it is locked with determining whether personnel, algorithm is as follows: temperature sensor
4 data of continuous acquisition are simultaneously averaged, and carbon dioxide sensor acquires a group data sample, and every group acquisition t, wherein t is by temperature
Angle value determines otherwise it is 16 that t, which takes 8, when temperature value is less than or equal to 28 degrees Celsius, the result that carbon dioxide data sample obtains
It is expressed as (x11, x12, x13…x1t) ..., (xk1, xk2, xk3…xki…xkt) ..., (xa1, xa2, xa3…xat), wherein k indicates kth
Group sample, i are other i-th of the data of the group, can calculate the random uncertainty of a group sample mean, method is Wherein xkiFor i-th of sample of kth group,For the average value of kth group sample, from
By spending for n-1, it can show that the confidence level of sample is 0.95 by S, when single group pendulous frequency is 8, by confidence coefficient value Biao Kecha
T outvpValue is 2.08, when single group pendulous frequency is 16, can obtain tvpValue is 2.01, according toI.e.
The confidence interval M of sample can be obtained, whereinFor the arithmetic average of a group sample, the differentiation of gross error is then carried out
And data rejecting will not be met, then data are randomly divided into two groups and calculate the average value of each group, method isWherein q=c+d, q are the valid data number rejected after data, c, d difference
For the data amount check in two groups of data, the weight of two groups of data: 3. p is then calculated1+p2=1;Wherein σ1, σ2
Respectively first group of standard deviation with second group of data, p1, p2For the weight of two groups of data, finally by two groups of data according to weight
It is merged, calculating formula are as follows:It is resultingAs final gas concentration lwevel;Oxygen data sample
Algorithm is identical as carbon dioxide;When detecting that gas concentration lwevel is higher than 800ppm or oxygen concentration lower than 19.5%, i.e.,
It can determine whether personnel by car locking;
Step 4, when there is personnel by car locking, the sample data of temperature sensor will be handled, and obtain vehicle interior temperature,
Specific algorithm are as follows: t sample of acquisition, the occurrence of t is identical as the carbon dioxide acquisition method of data amount check in step 3,
Then it rejectsA maximum value and minimum value, then calculate the arithmetic average A of remaining datan.Through median average filter
Treated data AnOne is found out newly as a result, its algorithm is by different weights from preceding measurement result twiceWhereinRespectively n-th, (n-1), (n-2)
The weighted average of secondary gas volume fraction, P are weight, and the calculation method of weight is first rightTake middle position
Value, the weight of median are 0.5, and being left two data weights is 0.25;Thus vehicle interior temperature is obtained, when vehicle interior temperature is higher than
Dangerous temperature can be regarded as at 35 degrees Celsius;
Step 5, when vehicle interior temperature is higher than 35 degrees Celsius or oxygen concentration is lower than 18.5%, governor circuit can be by wireless
Card of surfing Internet and built-in SIM card send warning against danger short message to multiple presetting mobile phones;As long as furthermore having detected personnel
It is locked in car, wireless Internet card will send reminding short message every 15min, will automatic alarm more than 4 hours;
Step 6, if temperature does not decline after five minutes or oxygen concentration is not gone up, microcomputer will be sent commands to by bluetooth
Pair control circuit, automatically opens to control vehicle window.
2. a kind of pre- child-resistant is by the system in car locking, which is characterized in that microcomputer is examined by I2C bus and movement in governor circuit
It is connected to survey sensor, oxygen sensor, is connected by UART with carbon dioxide sensor, passes through monobus and digital temperature senses
Device is connected, and is connected by I/O interface with microwave radar inductive pick-up, passes through USB interface and wireless Internet card and mobile power source
It is connected;Single-chip microcontroller is connected with bluetooth module, voltage reduction module, electromagnetic relay respectively in pair control circuit, and voltage reduction module is normal with automobile
Firewire is connected, and electromagnetic relay is connected with Car window electric machine;Single-chip microcontroller receive microcomputer transmission Bluetooth signal be followed by energization magnetic after
Electric appliance controls the opening of vehicle window so that Car window electric machine starts turning;Single-chip microcontroller is connected by serial communication line with bluetooth module,
Governor circuit is communicated with pair control circuit by bluetooth module.
3. a kind of pre- child-resistant is by the system in car locking it is characterized in that, the system includes governor circuit and secondary control circuit;
The governor circuit includes microcomputer, motion detection sensor, digital temperature sensor, carbon dioxide sensor, oxygen sensor
Device, microwave radar inductive pick-up, wireless Internet card, mobile power source and master control shell;The pair controls circuit
Single-chip microcontroller, bluetooth module, voltage reduction module, electromagnetic relay, PCB circuit board and secondary control shell;The governor circuit quilt
It is fixed on master control shell and relatively independent with vehicle itself, only power module is connected with vehicle USB interface, on master control shell
There is glass holder;The digital temperature sensor, carbon dioxide sensor, motion detection sensor, microwave radar induction pass
Sensor, oxygen sensor, which pass through copper post and be suspended, to be fixed on master control Housing Base;The secondary control circuit integration is in PCB line
On the plate of road, PCB circuit board is fixed on secondary control shell, and pair control shell is fixed on by Car window electric machine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710436060.1A CN109017658B (en) | 2017-06-08 | 2017-06-08 | System for preventing children from being locked in vehicle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710436060.1A CN109017658B (en) | 2017-06-08 | 2017-06-08 | System for preventing children from being locked in vehicle |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109017658A true CN109017658A (en) | 2018-12-18 |
CN109017658B CN109017658B (en) | 2021-09-03 |
Family
ID=64629352
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710436060.1A Active CN109017658B (en) | 2017-06-08 | 2017-06-08 | System for preventing children from being locked in vehicle |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109017658B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113511162A (en) * | 2021-05-21 | 2021-10-19 | 上海理工大学 | Alarm system for reminding children in vehicle of being detained |
WO2021238046A1 (en) * | 2020-05-26 | 2021-12-02 | 深圳技术大学 | Passenger safety monitoring method and apparatus, and computer-readable storage medium |
CN115101200A (en) * | 2022-05-31 | 2022-09-23 | 广州杜工智能健康科技发展有限公司 | Method for amplifying weak magnetic signals on body surface of human body |
CN115240438A (en) * | 2022-06-14 | 2022-10-25 | 常州工学院 | Detection system for judging whether children leave over in car |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102004024284A1 (en) * | 2003-07-17 | 2005-02-03 | Robert Bosch Gmbh | Danger warning method for air quality within automobile passenger compartment provides warning in response to excessive temperature when carbon dioxide threshold level is exceded |
CN105035010A (en) * | 2015-07-28 | 2015-11-11 | 王清平 | Child hypoxia protection device started by in-car impact for passenger car |
CN105059226A (en) * | 2015-08-24 | 2015-11-18 | 无锡伊佩克科技有限公司 | Automobile control method based on human body sensing |
CN105128803A (en) * | 2015-08-24 | 2015-12-09 | 无锡伊佩克科技有限公司 | Automobile control system based on human body sensing |
CN205034058U (en) * | 2015-09-10 | 2016-02-17 | 清华大学苏州汽车研究院(相城) | Infant alarm system in car that passes into silence |
CN205524070U (en) * | 2016-04-21 | 2016-08-31 | 贵州民族大学 | Personal security intelligence alarm devices in motor vehicle car based on mix monitoring data |
-
2017
- 2017-06-08 CN CN201710436060.1A patent/CN109017658B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102004024284A1 (en) * | 2003-07-17 | 2005-02-03 | Robert Bosch Gmbh | Danger warning method for air quality within automobile passenger compartment provides warning in response to excessive temperature when carbon dioxide threshold level is exceded |
CN105035010A (en) * | 2015-07-28 | 2015-11-11 | 王清平 | Child hypoxia protection device started by in-car impact for passenger car |
CN105059226A (en) * | 2015-08-24 | 2015-11-18 | 无锡伊佩克科技有限公司 | Automobile control method based on human body sensing |
CN105128803A (en) * | 2015-08-24 | 2015-12-09 | 无锡伊佩克科技有限公司 | Automobile control system based on human body sensing |
CN205034058U (en) * | 2015-09-10 | 2016-02-17 | 清华大学苏州汽车研究院(相城) | Infant alarm system in car that passes into silence |
CN205524070U (en) * | 2016-04-21 | 2016-08-31 | 贵州民族大学 | Personal security intelligence alarm devices in motor vehicle car based on mix monitoring data |
Non-Patent Citations (2)
Title |
---|
李永霞主编: "《传感器检测技术与仪表》", 31 August 2016 * |
李金玲,包丽明主编;吕国成,季德静副主编: "《矿冶化学分析》", 30 April 2013 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021238046A1 (en) * | 2020-05-26 | 2021-12-02 | 深圳技术大学 | Passenger safety monitoring method and apparatus, and computer-readable storage medium |
CN113511162A (en) * | 2021-05-21 | 2021-10-19 | 上海理工大学 | Alarm system for reminding children in vehicle of being detained |
CN115101200A (en) * | 2022-05-31 | 2022-09-23 | 广州杜工智能健康科技发展有限公司 | Method for amplifying weak magnetic signals on body surface of human body |
CN115240438A (en) * | 2022-06-14 | 2022-10-25 | 常州工学院 | Detection system for judging whether children leave over in car |
Also Published As
Publication number | Publication date |
---|---|
CN109017658B (en) | 2021-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109017658A (en) | A kind of pre- child-resistant is by the system in car locking | |
CN106627362B (en) | A kind of car emergency alert system and alarm method | |
CN106296914A (en) | Vehicle automatic lock door and window system | |
CN106327408B (en) | Electronic house number plate and house personnel management system | |
CN208076969U (en) | A kind of Wireless well cover monitoring device | |
CN105539341B (en) | Automobile water dropping self saving system and method | |
CN107933476A (en) | The method and system of the sensing device of the anti-forgetting of general passenger inside the vehicle | |
CN105225413B (en) | A kind of automobile-used automatic alarm and salvage system | |
CN208602437U (en) | A kind of Vehicular intelligent monitoring device | |
CN105825629A (en) | Automobile and automobile life-support environment monitoring alarm equipment | |
CN107422218A (en) | Bad load recognizer and recognition methods | |
CN111216662A (en) | Multifunctional vehicle-mounted system and control method thereof | |
CN204895393U (en) | Car electronic monitoring system based on cloud | |
CN205997840U (en) | Hot environment car door is from open system | |
CN104691497A (en) | Android-based automobile safety startup control method | |
CN108765899A (en) | A kind of anti-something lost security system of children of automobile | |
CN109935082A (en) | A method of its acquisition data of Transportation Data Collection Terminal and use based on WiFi | |
CN210402638U (en) | Vehicle-mounted safety monitoring system based on Internet of vehicles technology | |
CN209373742U (en) | A kind of automobile oil-stealing device | |
CN109118709B (en) | Emergency help seeking method, device and equipment for trapped children | |
CN207052066U (en) | A kind of anti-something lost security system of children of automobile | |
CN109541721B (en) | Environment self-adaptive vehicle detained personnel detection method and detection device | |
CN203422791U (en) | Anti-demounting intelligent gas meter | |
CN203753065U (en) | Wading emergency device of automobile | |
CN108089503B (en) | Inspection operation and maintenance management system for civil air defense filtering absorber |
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 |