Summary of the invention
The present invention is directed to above shortcomings in prior art, provide a kind of subway based on sonac anti-steal a ride system and method for designing thereof.This system is utilized ultrasonic sensor and signal processing, realize subway and enter the station and trail the automatic alarm of stealing a ride, solved the drawback of existing monitor mode, saved manpower, material resources and financial resources, the phenomenon that prevented from stealing a ride generally occurs, and has avoided the unnecessary error occurring in manual oversight process.
The present invention is achieved by the following technical solutions.
According to an aspect of the present invention, provide a kind of subway based on sonac the anti-system of stealing a ride, having comprised: ultrasonic transducer system, scm managing system and automatic alarm system, wherein:
-ultrasonic transducer system is arranged at the enter the station top of passage of gate, for obtaining the spacing data information between pedestrian;
-scm managing system, is connected with gate and ultrasonic transducer system signal respectively, according to the spacing data information of ultrasonic transducer system, judges the phenomenon of stealing a ride, and sends command signal to automatic alarm system and gate;
-automatic alarm system, is connected with scm managing system signal, and the command signal automatic alarm sending according to scm managing system.
Preferably, described ultrasonic transducer system comprises two ultrasonic sensors, before two ultrasonic sensors, is detection zone.
Preferably, also comprise swipe the card counter for number of people and detection zone counter for number of people, described in the counter for number of people of swiping the card be arranged at the district that swipes the card of gate, and be connected with scm managing system; Described detection zone counter for number of people is arranged at detection zone, and detection zone counter for number of people obtains the number by detection zone by ultrasonic sensor, and is sent to scm managing system and the number of swiping the card and compares, the auxiliary judgment phenomenon of stealing a ride.
Preferably, described ultrasonic transducer system adopts CD4052 chip as signals collecting port, and utilizes bluetooth communication to transmit signals to scm managing system.
Preferably, described ultrasonic transducer system adopts US100 ultrasonic sensor.
According to another aspect of the present invention, provide the method for designing of the anti-system of stealing a ride of a kind of subway based on sonac, comprised the following steps:
Steps A, pedestrian, by the district that swipes the card of gate, enters detection zone;
Step B, the ultrasonic sensor pick-up transducers of detection zone and the range data of barrier, and the interval of data high level rising edge signal is judged, obtain multirow people by the human body pitch information of gate, and be sent to the scm managing system judgement phenomenon of stealing a ride:
Nobody steals a ride-Ruo, repeating step A and step B;
-Ruo has people to steal a ride, and scm managing system sends and closes gate instruction to gate, and sends alerting signal to automatic alarm system, waits for that staff processes.
Preferably, describedly also comprise the steps:
Step C, the district's trigger collection signal of swiping the card of gate, if swipe the card signal, the counter for number of people of swiping the card adds 1, otherwise the counter for number of people of swiping the card is constant;
Step D, the ultrasonic sensor of detection zone collects after range data, and detection zone is cut apart, and extracts the number of times of signal rising edge in unit detection zone, obtains number in detection zone; Number in detection zone is charged to detection zone counter for number of people and is sent to scm managing system; Scm managing system is compared to detection zone number and the number of swiping the card, if the former is greater than the latter, and the phenomenon of can auxiliary judgment stealing a ride.
Preferably, in described step B: obtaining multirow people by the human body pitch information of gate, is the blocking effect for ultrasonic sensor by pedestrian, according to the rising edge signal characteristic of range data, and then judges pedestrian's spacing.
Preferably, described rising edge signal characteristic is specially: in ultrasonic sensor acquisition channel, ultrasonic sensor is to range information between barrier; When passing through without passenger, image data is that ultrasonic sensor is to ground distance (installation of sensors height) l
0, when there being passenger to pass through, image data be ultrasonic sensor to human body (barrier) apart from l
1, l
0>l
1; By scm managing system for data visualization processing; T
1in the moment, when there being passenger to enter sensor measurement scope, data are from the constant l of height
0straight line drops to height l
1, considering human body thickness d, passenger can obtain length d height l through sensor measurement scope
1straight line, T
2in the moment, passenger leaves sensor sensing range, and image data returns to l
0, the rising edge signal that this captures for system.
Preferably, in described step B, ultrasonic sensor carries out RC filtering and/or the processing of mean value iterative information to human body pitch information.
Preferably, in described step D, the number in detection zone of obtaining is specially, and receives that rising edge signal is for once triggering in detection zone, and detection zone counter for number of people adds 1, realizes newly carrying out people's number and exiting pedestrian's number and add up current detection district.
Compared with prior art, the present invention has following technical characterstic:
1, the present invention can not change on the basis of existing equipment, makes up the deficiency of existing equipment, utilizes ultrasonic sensor and single-chip microcomputer to carry out the intelligent identification phenomenon of stealing a ride, and provides alerting signal, improves accuracy and the intelligent degree of the automatic fare collection that enters the station;
2, the present invention has saved manpower, material resources and financial resources, and the phenomenon that prevented from stealing a ride generally occurs, and has avoided the unnecessary error occurring in manual oversight process; Adopt ultrasonic sensor, solved manual oversight this drawback of difficulty of stealing a ride, have simple and easy, efficiently, advantage accurately, better realized electronization, intellectuality and the robotization of subway system, can on the basis of existing subway system, generally promote.
Embodiment
Below embodiments of the invention are elaborated: the present embodiment is implemented under taking technical solution of the present invention as prerequisite, provided detailed embodiment and concrete operating process.It should be pointed out that to those skilled in the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.
Please refer to Fig. 1 and Fig. 2.
The present embodiment provides a kind of subway based on sonac the anti-system of stealing a ride, and comprising: ultrasonic transducer system, scm managing system and automatic alarm system, wherein:
-ultrasonic transducer system is arranged at the enter the station top of passage of gate, for obtaining the spacing data information between pedestrian;
-scm managing system, is connected with gate and ultrasonic transducer system signal respectively, according to the spacing data information of ultrasonic transducer system, judges the phenomenon of stealing a ride, and sends command signal to automatic alarm system and gate;
-automatic alarm system, is connected with scm managing system signal, and the command signal automatic alarm sending according to scm managing system.
Further, described ultrasonic transducer system comprises two ultrasonic sensors, before two ultrasonic sensors, is detection zone.
Further, also comprise swipe the card counter for number of people and detection zone counter for number of people, described in the counter for number of people of swiping the card be arranged at the district that swipes the card of gate, and be connected with scm managing system; Described detection zone counter for number of people is arranged at detection zone, and detection zone counter for number of people obtains the number by detection zone by ultrasonic sensor, and is sent to scm managing system and the number of swiping the card and compares, the auxiliary judgment phenomenon of stealing a ride.
Further, described ultrasonic transducer system adopts CD4052 chip as signals collecting port, and utilizes bluetooth communication to transmit signals to scm managing system.
Further, described ultrasonic transducer system adopts US100 ultrasonic sensor.
The anti-system of stealing a ride of a kind of subway based on sonac that the present embodiment provides, its method for designing, comprises the following steps:
Steps A, pedestrian, by the district that swipes the card of gate, enters detection zone;
Step B, the ultrasonic sensor pick-up transducers of detection zone and the range data of barrier, and the interval of data high level rising edge signal is judged, obtain multirow people by the human body pitch information of gate, and be sent to the scm managing system judgement phenomenon of stealing a ride:
Nobody steals a ride-Ruo, repeating step A and step B;
-Ruo has people to steal a ride, and scm managing system sends and closes gate instruction to gate, and sends alerting signal to automatic alarm system, waits for that staff processes.
Further, describedly also comprise the steps:
Step C, the district's trigger collection signal of swiping the card of gate, if swipe the card signal, the counter for number of people of swiping the card adds 1, otherwise the counter for number of people of swiping the card is constant;
Step D, the ultrasonic sensor of detection zone collects after range data, and detection zone is cut apart, and extracts the number of times of signal rising edge in unit detection zone, obtains number in detection zone; Number in detection zone is charged to detection zone counter for number of people and is sent to scm managing system; Scm managing system is compared to detection zone number and the number of swiping the card, if the former is greater than the latter, and the phenomenon of can auxiliary judgment stealing a ride.
Further, in described step B: spacing between ultrasonic sensor acquisition testing district one skilled in the art is the blocking effect for ultrasonic sensor by pedestrian, according to the rising edge signal characteristic of range data, and then judges pedestrian's spacing.
Further, described rising edge signal characteristic is specially: ultrasonic sensor acquisition channel inner sensor is to range information between barrier.When passing through without passenger, image data is that sensor is to ground distance (installation of sensors height) l
0, when there being passenger to pass through, image data be sensor to human body (barrier) apart from l
1(l
0>l
2).By host computer for data visualization processing.T
1in the moment, when there being pedestrian to enter sensor measurement scope, data are from the constant l of height
0straight line drops to height l
1, considering human body thickness d, passenger can obtain length d height l through sensor measurement scope
1straight line, T
2in the moment, passenger leaves sensor sensing range, and image data returns to l
0, the rising edge signal that this captures for system.
Further, in described step B, ultrasonic sensor carries out RC filtering and/or the processing of mean value iterative information to human body pitch information.
Further, in described step D, the number in detection zone of obtaining is specially, and receives that rising edge signal is for once triggering in detection zone, and detection zone counter for number of people adds 1, realizes newly carrying out people's number and exiting pedestrian's number and add up current detection district.
The present embodiment is specially:
The anti-system of stealing a ride of the subway based on sonac that the present embodiment provides, is dissolved into signals collecting, processing, control in subway gate port, monitors for detection zone by ultrasonic sensor, realizes the anti-function of stealing a ride of subway.As signals collecting port, utilize bluetooth communication to transmit signals to scm managing system (host computer) by CD4052 chip.Systematic functional structrue as shown in Figure 1.
The present embodiment can be applied on existing lock road automatic ticket checking system, and its ultrasonic transducer system scheme of installation as shown in Figure 2.By the Distance Judgment pedestrian spacing of comparison signal rising edge, judge the phenomenon of stealing a ride; Relatively the swipe the card count value of counter for number of people and detection zone counter for number of people, the judgement phenomenon of stealing a ride, and control the unlatching of sluice gate; Its device main devices comprises ultrasonic sensor, host computer and alarm etc.
In testing process, in Obtaining Accurate detection zone, interpersonal spacing is key of the present invention.The present invention by the position of reasonable Arrangement sensor, is arranged in sensor the top of the passage that enters the station, and makes to detect target and be positioned at the optimum range of detection; Sensor is placed in to the passage top of entering the station, effectively gets rid of the impact of case and bag arm for sensor distance judgement; Sensor is placed in to the top of the passage that enters the station, can effectively classifies for same passerby according to height, find destination object colony.
In testing process, by RC filtering, mean value iteration for signal processing, effectively get rid of the high frequency burr in signal, signal rising edge and signal average difference are obvious, facilitate the counting of rising edge and the judgement for signal rising edge spacing, can strengthen the judgement precision and identification accuracy of this anti-system of stealing a ride.
In the present embodiment:
The anti-system of stealing a ride of the subway based on sonac that the present embodiment provides, can install ultrasonic sensor and scm managing system additional at existing lock road automatic ticket checking system, by gather pedestrian by time judge two pedestrian's spacing with the range data of sensor, judge the phenomenon of stealing a ride; Relatively the swipe the card count value of counter for number of people and detection zone counter for number of people, the auxiliary judgment phenomenon of stealing a ride; And control the unlatching of sluice gate.
The anti-system of stealing a ride of the subway based on sonac that the present embodiment provides, its design procedure can comprise:
1, the trigger pip that gathers card-punching system, if swipe the card signal, the counter for number of people of swiping the card adds 1, otherwise the counter for number of people of swiping the card is constant;
2, the range data that the ultrasonic sensor in acquisition testing district collects, judges for the interval of high level rising edge signal, obtains multirow people by the human body spacing of gate, and judgement is stolen a ride;
3, the range data that the ultrasonic sensor in acquisition testing district collects, to input, district is cut apart, and extracts the number of times of signal rising edge in unit detection zone, obtains number in detection zone, charges to detection zone counter for number of people.Compare with the counter for number of people of swiping the card, if the former is greater than the latter, can auxiliary judgment have people to steal a ride;
If 4 nobody steal a ride, proceed to step 1; Otherwise, close gate, send alerting signal, wait pending.
Characterize number and row interpersonal relation by ultrasonic signal, determine whether report to the police.
In above-mentioned steps, the detection of surveyed area number, is by ultrasonic signal is analyzed, and according to the feature of corresponding curve, judges for individual number and pedestrian's relation of asking.
In above-mentioned steps, the replacement information of detection zone human body target, is by current ultrasonic signal and its are done to relevance ratio in target area of ultrasonic signal before, realizes newly entering human body number and exiting human body number current ultrasound examination district
The subway based on sonac that the present embodiment provides anti-steal a ride system and method for designing thereof, utilize ultrasonic sensor and signal processing, realizes the subway automatic alarm of stealing a ride that enters the station.By installing ultrasonic sensor and processor of single chip computer additional at existing lock road automatic ticket checking system, relatively two high level rising edge Distance Judgment pedestrian spacing judgements are stolen a ride; The swipe the card count value of counter for number of people and detection zone counter for number of people, the auxiliary judgment phenomenon of stealing a ride; Control unlatching and the warning of sluice gate.
Whether the present embodiment, by relation between the high level rising edge of image data, judges relation between pedestrian, determine to report to the police.Detecting spacing between pedestrian, is the blocking effect for ultrasonic sensor by pedestrian, according to the rising edge signal characteristic of image data, judges pedestrian's spacing.In detection zone, receive that rising edge signal is for once triggering, detection zone counter for number of people adds 1, realizes newly entering human body number and exiting the statistics of human body number present image detection zone.
Above specific embodiments of the invention are described.It will be appreciated that, the present invention is not limited to above-mentioned specific implementations, and those skilled in the art can make various distortion or amendment within the scope of the claims, and this does not affect flesh and blood of the present invention.