The anti-scraping device of parking lot automobile and its implementation based on infrared technology
Technical field
The invention belongs to the infrared alarming technical field, relate to the anti-scraping device of a kind of parking lot automobile, be specifically related to a kind of anti-scraping device of parking lot automobile, the invention still further relates to the implementation method of said apparatus based on infrared technology.
Background technology
Infrared technology is applied to the every aspect of people's life just more and more, and infrared communication has the advantages that control is simple, enforcement is convenient, transmission reliability is high, is a kind of communication mode comparatively commonly used.Now infrared technology reaches its maturity, and the product that is applied in the parking lot to infrared technology also seldom, is used for avoiding automobile to be scratched by adjacent vehicle in the parking lot, and the product of this respect also is a blank.What present infrared rays product mainly utilized is its wireless transmission, infrared induction, the function of aspects such as infrared distance measurement and infrared recognition and tracking.Utilize radio transmission characteristics, carry out mobile phone, the transfer of data of computer has been very general; Utilize infrared induction, some inductive switches of design, motorised card reader module etc. are also very common; Be applied to the security aspect in addition, be used for the high-end science and technology such as infrared tracking of missile guidance, all very general.Existing parking lot is applied to toll administration with infrared technology mostly, be used for automobile protective also seldom.And the huge automobile quantity of modern society requires the parking lot to develop to direction intelligent more, automation forwardly.Current many people are the thing that scratched in the parking lot to automobile of encountered, generally is difficult at that time find, even if find that later on vehicle is scratched, also is difficult to find the troublemaker.The method of utilizing infrared technology to combine with microcontroller is designed a kind of parking lot anti-scraping device of automobile and can solve this problem.This device can be given full play to these technological advantages, and it installs simple, and control is convenient, saves material, reduce cost, and high efficiency, it is convenient to realize, can realize later function expansion through programming.
Summary of the invention
The purpose of this invention is to provide a kind of anti-scraping device of parking lot automobile, reduce automobile by the risk that adjacent parking space vehicle scratches, protect car owner's rights and interests better with this based on infrared technology.
Another object of the present invention provides the implementation method of said apparatus.
The technical scheme that the present invention adopted is that the anti-scraping device of parking lot automobile based on infrared technology comprises induction zone and control zone.
Characteristics of the present invention also are,
Be provided with pedal inductor a and pedal inductor b in the induction zone wherein; Pedal inductor a and pedal inductor b set inside have pressure sensor; Judged whether that through pedal inductor a and pedal inductor b vehicle gets into, the two length is greater than body width, the front-wheel district when pedal inductor a is placed in automobile stop; Trailing wheel district when pedal inductor b is placed in automobile stop; Gather the signal of telecommunication when vehicle gets into, and this signal is reached microcontroller, microcontroller determines the open and close to light beam interrupter-type inductor after receiving this signal.
Be provided with microcontroller in the control zone wherein, be connected with pressure sensor, light beam interrupter-type inductor, alarm and camera on the microcontroller respectively, light beam interrupter-type inductor is placed in the vehicle both sides and is used to launch infrared rays.
It is 50ms that light beam interrupter-type inductor wherein blocks effective time.
Light beam interrupter-type inductor wherein is provided with in pairs.
The alarm equipment alarm time wherein is 5s.
Another technical scheme that the present invention adopted is, based on the implementation method of the anti-scraping device of parking lot automobile of infrared technology, specifically implements according to following steps:
Step 1: pedal inductor a in the induction zone and pedal inductor b reach microcontroller with the vehicle entering signal of sensing; After microcontroller is received above-mentioned signal; Concluding has vehicle to get into induction zone; Send unblanking light beam interrupter-type inductor, light beam interrupter-type inductor produces infrared rays, and making the parking space be in the infrared protection state is that the parking space is in user mode;
Step 2: when microcontroller receives the obstruction signal from light beam interrupter-type inductor; Define vehicle and interdicted arbitrary in the infrared rays; Then send the signal enabling alarm, given the alarm by alarm, the prompting driver adjusts traffic route and avoids touching with both sides vehicle generation wiping; Open camera when microcontroller gives the alarm and capture field conditions down;
Step 3: when vehicle is poured out the parking space; Pressure sensor among pedal inductor a and the pedal inductor b converts pressure signal into voltage signal and reaches microcontroller; After receiving signal by microcontroller, close light beam interrupter-type inductor and camera, vacant state is recovered on the parking space.
The invention has the beneficial effects as follows, all induction installations, actuating unit is convenient to realize management through program that flexibility is good by the unified control of microcontroller, portable strong, convenient later function expansion; Judge the user mode on parking space through the pedal inductor, and then realize the startup of control infrared protection automatically and close that accomplished that car promptly opens, no car promptly cuts out, reduced the false alarm of equipment loss while when also having avoided no car; Warning device is provided, and this device can give the alarm, and reminds vehicle drivers effectively, thereby reduces the scratch between vehicle and the vehicle; Provide cam device to take to confirm mark of car so that after scratching, can confirm the troublemaker be convenient to the Claims Resolution.
Description of drawings
Fig. 1 is the structural representation of the anti-scraping device of automobile of the present invention;
Fig. 2 is the control block diagram of the anti-scraping device of automobile of the present invention;
Fig. 3 is the main program flow chart of the anti-scraping device of automobile of the present invention.
Among the figure, 1. pedal inductor a, 2. pedal inductor b, 3. light beam interrupter-type inductor, 4. microcontroller, 5. pressure sensor, 6. alarm, 7. camera.
The specific embodiment
Below in conjunction with the accompanying drawing and the specific embodiment the present invention is elaborated.
The present invention is based on the structure of the anti-scraping device of parking lot automobile of infrared technology; As shown in Figure 1, comprise induction zone and control zone, in induction zone, be provided with pedal inductor a1 and pedal inductor b2; Pedal inductor a1 and pedal inductor b2 set inside have pressure sensor 5; Judged whether that through pedal inductor a1 and pedal inductor b2 vehicle gets into, the two Design of length should be slightly larger than body width, the front-wheel district when pedal inductor a1 is placed in automobile stop; Trailing wheel district when pedal inductor b2 is placed in automobile stop; So that when vehicle gets into, in time gather the signal of telecommunication, and this signal is reached microcontroller 4, microcontroller 4 determines the open and close to light beam interrupter-type inductor 3 after receiving this signal.
In the control zone, be provided with microcontroller 4; As shown in Figure 2; Be connected with pressure sensor 5, light beam interrupter-type inductor 3, alarm 6 and camera 7 on the microcontroller 4 respectively; Light beam interrupter-type inductor 3 is placed in the vehicle both sides and is used to launch infrared rays, realizes the monitoring to the marginal portion, parking space.When vehicle sailed the parking space into, pedal inductor a1 collected an induced signal, and this signal is reached microcontroller 4; After microcontroller 4 receives this signal, open light beam interrupter-type inductor 3, light beam interrupter-type inductor 3 sends infrared rays; Make the marginal portion, parking space be in the infrared monitoring state, if adjacent vehicle has interdicted arbitrary in the infrared rays when moving, corresponding light beam interrupter-type inductor 3 produces " blocking signal " immediately and reaches microcontroller 4; Microcontroller 4 sends signal; Directly start alarm 6, start camera 7 simultaneously and capture, note field conditions.
The present invention adopts supply unit through 220V is carried out voltage transformation, through mu balanced circuit become+5V ,+the 12V DC voltage, supply with microcontroller 4, alarm 6, camera 7, light beam interrupter-type inductor 3 and use.Pedal inductor a1 and pedal inductor b2 are directly by the 220V power voltage supply.
The present invention is based on the implementation method of the anti-scraping device of parking lot automobile of infrared technology, as shown in Figure 3, specifically implement according to following steps:
Step 1: " vehicle entering signal " that pedal inductor a1 in the induction zone and pedal inductor b2 will sense reaches microcontroller 4; After microcontroller 4 is received this voltage signal; Can conclude has vehicle to get into induction zone, in time sends unblanking light beam interrupter-type inductor 3.Two light beam interrupter-type inductors 3 produce infrared rays respectively, and making the parking space be in the infrared protection state is that the parking space is in user mode.
Step 2: when microcontroller 4 receives " obstruction signal " from light beam interrupter-type inductor 3; Can define vehicle and interdict arbitrary in the infrared rays; Then send signal enabling alarm 6; Given the alarm by alarm 6, the prompting driver adjusts traffic route and avoids touching with both sides vehicle generation wiping.Open camera 7 when microcontroller 4 gives the alarm and capture field conditions down.
Step 3: when vehicle is poured out the parking space; Pressure sensor 5 among pedal inductor a1 and the pedal inductor b2 converts pressure signal into voltage signal and reaches microcontroller 4; After receiving signal by microcontroller 4; In time close light beam interrupter-type inductor 3 and camera 7, vacant state is recovered on the parking space.
The parking space is divided into two states, vacant state and user mode.When the parking space is in vacant state, light beam interrupter-type inductor 3, alarm 6, camera 7 is all closed, and infrared rays is not launched in the both sides, parking space.Get into induction zone as vehicle, when promptly the parking space was in user mode, light beam interrupter-type inductor 3 was launched infrared rays respectively, opens camera 7 simultaneously, and the parking space is in monitoring state.
When vehicle gets into the parking space, at first can push down the pedal inductor a1 of entrance, the pressure sensor 5 among the pedal inductor a1 reaches the microcontroller 4 in the control zone with the voltage signal that This move produces through transmission line.
After microcontroller 4 is received this signal, start light beam interrupter-type inductor 3 and camera 7, this moment, this parking stall was in the infrared detection state, and promptly the parking space is in user mode.If adjacent vehicle is poured out or when getting into the parking stall, touched wherein one of infrared rays between alongside time, corresponding light beam interrupter-type inductor 3 produces " blocking signal " immediately, and this signal directly is sent to the microcontroller 4 in the control zone.
Microcontroller 4 sends alarm command to alarm 6 after receiving " blocking signal ", send photographing command to camera 7 simultaneously, and alarm 6 reminds vehicle drivers in time to adjust traffic route through alarm song, avoids wiping with this and touches; Taking pictures in 7 pairs of scenes of camera, notes the associated vehicle license board information.If after the adjustment in time of action vehicle, no longer touch the infrared rays that both sides are used to monitor, microcontroller 4 sends shutdown command to alarm 6, the cancellation of reporting to the police.
Course of work of this device conversion from user mode to vacant state is: when vehicle when pour out on the parking space; Two pedal inductors convert pressure signal into voltage change signal; Reach the microcontroller 4 of control zone through transmission line; After microcontroller 4 receives signal, send order and close light beam interrupter-type inductor 3 and camera 7.
Described light beam interrupter-type inductor 3, it blocks and is made as 50ms effective time, and the time of promptly blocking just produces " blocking signal " greater than 50ms and avoids false alarm.Said camera 7 has memory function, is convenient to storage picture.Said alarm 6 time of fire alarming are advisable with 5s.Said light beam interrupter-type inductor 3 is to occur in pairs, is divided into infrared end and infrared rays receiving terminal, and two ends settle spacing should be slightly larger than parking stall length.