CN100347728C - Method and apparatus for counting personnel in and out of public places - Google Patents

Method and apparatus for counting personnel in and out of public places Download PDF

Info

Publication number
CN100347728C
CN100347728C CNB2005100969730A CN200510096973A CN100347728C CN 100347728 C CN100347728 C CN 100347728C CN B2005100969730 A CNB2005100969730 A CN B2005100969730A CN 200510096973 A CN200510096973 A CN 200510096973A CN 100347728 C CN100347728 C CN 100347728C
Authority
CN
China
Prior art keywords
data
pedal
sensor
row
people
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.)
Expired - Fee Related
Application number
CNB2005100969730A
Other languages
Chinese (zh)
Other versions
CN1741045A (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.)
Chongqing University
Original Assignee
Chongqing University
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 Chongqing University filed Critical Chongqing University
Priority to CNB2005100969730A priority Critical patent/CN100347728C/en
Publication of CN1741045A publication Critical patent/CN1741045A/en
Application granted granted Critical
Publication of CN100347728C publication Critical patent/CN100347728C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Geophysics And Detection Of Objects (AREA)

Abstract

The present invention relates to a counting method and a device for ingress and the egress of people in a public place. The present invention is used for counting the passenger flow of the ingress and the egress of the people in the public place with a door, such as passenger cars, stations, wharfs, emporiums, etc. The counting method of the present invention comprises the following steps: judging whether the door is opened or not by start-up operation and initialization, and receiving and storing a high level signal and a low level signal which are inputted by pedal type sensors by a single chip computer; comparing the present data with the data of last time to judge which high-level amount is multiple in the present data and the data of last time, carrying out partition for the structure of each pedal type sensor under the condition that the high-level amount is multiple, and receiving high-level data and low-level data which are inputted by the sensor in each partition; judging and storing the ingress and the egress of the people and the number of the people, and judging whether the data inputted by the sensor of each partition is low level or not; judging whether the door is closed or not, and transmitting the data. The device of the present invention comprises a master controller and the pedal type sensors connected with a photoelectric isolation circuit in the master controller. The present invention can accurately judge the situation of the ingress and the egress of the people and the simultaneous ingress and the egress quantity of multiple people, and the present invention has the advantage of wide application range.

Description

The personnel of public place pass in and out method of counting and device
Technical field:
The personnel that the present invention relates to a kind of public place pass in and out method of counting and device, are used for the flow counting that personnel's turnover has the public place of door, and the personnel that count as needs such as passenger vehicle, station, harbour and markets pass in and out the place.
Background technology:
By retrieval, in personnel's flow counting field, it is the Chinese invention patent application of 03115817.X that application number is arranged, its denomination of invention is " an automatic counting passengers instrument ", what this calculating instrument adopted is the method that infrared probe is arranged in both sides in bus door, utilize the people in process up and down, on the logical order of blocking infrared probe is successively declared, get off, and the quantity of declaring the people according to the width and the thickness of human body, but this device has tangible deficiency: counting is inaccurate, on judge and be interfered easily, be difficult to adapt to surpass 3 people and the above personnel's flow counting and the scope of application little, its reason is: easily 2 people are designated as 1 people when 2 people walk abreast and be close, when particularly the people crowds more in the time of about people's while, the easy phase mutual interference of infrared probe detection signal and about can not correctly distinguishing, and the infrared probe arrangement of both sides has objectively determined only can judge 2 people's situations, when surpassing 2 man-hours, will only remember two people, so incompatible big flow personnel pass in and out counting.
Summary of the invention:
The objective of the invention is to the problem that exists at above-mentioned prior art, provide a kind of personnel of public place pass in and out method of counting and device come accurate judgement personnel into and out of direction and many people simultaneously into and out of quantity, applied widely.
Principle of the present invention is: the people is when normal walking, because gravity center of human body's reach, rear heel is at first mentioned, followed by forefoot an action of pedaling is arranged, sole breaks away from ground in proper order by heel-sole-tiptoe, so just finished a pin and played the process that business concern operating a porters' service is walked, so playing pin to pin disengaging surface process, rear heel, hind paw, forefoot and tiptoe have sequencing on the liftoff time.We at liftoff time at people's this physiological movement characteristic utilization self-control pedal sensor rear heel, forefoot and tiptoe position and be converted into electric signal judge the people into and out of direction, and write down number by the pedal sensor according to the residing zone of people's pin.
In order to realize the foregoing invention purpose, the technical scheme of method of counting of the present invention is:
(1), the personnel of public place pass in and out that counting assembly brings into operation and initialization;
(2), judge whether to open the door: when single-chip microcomputer receives enabling signal for opening the door;
(3), single-chip microcomputer receives 1,0 data and the storage of pedal sensor input;
(4), the data that will this time receive and the data that received last time relatively, judge in any secondary data that 1 quantity is many, when this time for a long time, turned back to for the 3rd step, otherwise continue to carry out downwards;
(5), to pedal sensor array subregion: the data with the input of adjacent column sensor are 0 separatrix as pedal sensor array subregion entirely;
(6), single-chip microcomputer receives 1,0 data and the storage of each minute zone sensors input;
(7), the judgement personnel into and out of and quantity and storage: utilize among the non-0 data row of each subregion inner sensor input and go up row most, descend most the time sequencing of now complete 0 data of discharge judge the people into and out of, each subregion is represented a people, all people that advance deposit number storer in, the number storer that all people that go out deposit in out;
(8), judge whether the data of each minute zone sensors input are 0 entirely: when being not 0 entirely, then returned for the 6th step, otherwise continue to carry out downwards;
(9), judge whether to close the door: single-chip microcomputer receives when closing gate signal and closes the door, and when at closing time, continues to carry out, and does not close the door and then returns for the 3rd step;
(10), with personnel into and out of quantity be transferred to computing machine or wireless data sending terminal, turn back to then the 2nd the step.
Device technique scheme of the present invention is:
The present invention includes primary controller and pedal sensor, the corresponding connection of pedal sensor output interface with the input interface of photoelectric isolating circuit in the primary controller.Wherein primary controller comprises single-chip microcomputer, power circuit, door switch input signal circuit, serial port circuit, photoelectric isolating circuit.The pedal sensor comprises base plate and the 2-8 row who is fixed on this base plate, the sensor array that the sensor that the 1-64 row are identical constitutes, elastomer cover and being fixed on the elastomer cover inwall and pedal array that the pedal corresponding with each sensor in the sensor array constitutes, each sensor in the sensor array comprises printed circuit board (PCB), conducting strip, conductive spring leaf, printed circuit board (PCB) is fixed on the base plate, conducting strip is positioned on the printed circuit board (PCB), and fixedly connected with printed circuit board (PCB), one end of conductive spring leaf is fixed on the base plate, its other end is positioned at the top of conducting strip, cavity after sensor array is positioned at elastomer cover and base plate is fixedlyed connected, the arranged in arrays of sensor requires: arbitrarily step on a pin, can guarantee that all pin steps down in two rows with on the upper sensor.When the people sets foot on elastomer cover, this people step on the elastomer cover inwall pedal to the motion of right conducting strip direction, make the conductive spring leaf between pedal and conducting strip contact the conducting sensor with conducting strip, sensor is a high level 1 by the signal of photoelectric isolating circuit input single-chip microcomputer, otherwise the signal of sensor input single-chip microcomputer is a low level 0.When enabling signal arrived, single-chip microcomputer was by after the enabling signal of photoelectric isolating circuit receiving key door input circuit, and single-chip microcomputer receives through 1,0 data and the storage of photoelectric isolating circuit from the pedal sensor input; Data that this time received and the data that received last time are relatively, judge in any secondary data that 1 quantity is many, 1 quantity for a long time in this secondary data, single-chip microcomputer continues to receive through 1,0 data and the storage of photoelectric isolating circuit from the pedal sensor input, 1 quantity for a long time in last secondary data, data with the adjacent sensors input are 0 separatrix as pedal sensor array subregion entirely, and single-chip microcomputer receives 1,0 data and the storage of each minute zone sensors input; Utilize among the non-0 data row of each subregion inner sensor input and go up row most, descend most the time sequencing of now complete 0 data of discharge judge the people into and out of, each subregion is represented a people, the people of all turnover deposit in respectively into and out of the number storer, when the data of each minute zone sensors input were not 0 entirely, single-chip microcomputer continued to accept 1,0 data and the storage of each minute zone sensors input; When the data of each minute zone sensors input are 0 entirely, single-chip microcomputer by photoelectric isolating circuit receive close gate signal after, single-chip microcomputer will into and out of the number storer in quantity be transferred to computing machine or wireless data sending terminal through serial port circuit.
Advantage of the present invention is: utilize the physiological property of people when normal walking, the present invention adopts primary controller and pedal sensor can accurately judge personnel's turnover direction and can accurately write down the quantity that many people pass in and out simultaneously, and is applied widely.
Description of drawings:
Fig. 1 is the information flow chart of primary controller.
Fig. 2 is the structural representation of the pedal sensor of 2 rows, 8 row;
Fig. 3 is the vertical view of the pedal sensor of 2 rows, 8 row;
Fig. 4 is the profile of Fig. 3 along A-A;
Fig. 5 is the circuit theory diagrams of the pedal sensor of 2 rows, 8 row;
Fig. 6 is the structural representation of the pedal sensor of 3 rows, 8 row;
Fig. 7 is the vertical view of the pedal sensor of 3 rows, 8 row;
Fig. 8 is the profile of Fig. 7 along B-B;
Fig. 9 is the circuit theory diagrams of the pedal sensor of 3 rows, 8 row;
Figure 10 is a program flow chart.
Wherein:
P1.0-P1.7 among Fig. 2 and P2.0-P2.7 join through the P1.0-P1.7 and the P2.0-P2.7 of photoelectric isolating circuit and single-chip microcomputer 89C51 chip.
1 is base plate and sensor combinations part among Fig. 4,2 conductive spring leafs, and 3 is printed circuit board (PCB), is furnished with conducting strip 7,4 on it for being used for fixing the screw of pedal, and 5 is rubber sheet gasket, and 6 is serum cap, and 8 is the pedal iron block.
P1.0-P1.7, P2.0-P2.7 and P0.0-P0.7 join through P1.0-P1.7, P2.0-P2.7 and the P0.0-P0.7 of photoelectric isolating circuit and 89C51 among Fig. 6.
1 is base plate and sensor combinations part among Fig. 8,2 conductive spring leafs, and 3 is printed circuit board (PCB), is furnished with conducting strip 7,4 on it for being used for fixing the screw of pedal, and 5 is rubber sheet gasket, and 6 is serum cap, and 8 is the pedal iron block.
Embodiment
The present invention is applied on the urban public transport car, is used for counting into and out of the car ridership.
Single Chip Microcomputer (SCM) program designs as shown in figure 10, and mentality of designing is:
(1), this device brings into operation and initialization;
(2), judge whether to open the door: open the door when enabling signal is high level 1 when single-chip microcomputer receives;
(3), single-chip microcomputer receives 1,0 data and the storage of pedal sensor input;
(4), the data that will this time receive and the data that received last time relatively, judge in any secondary data that 1 quantity is many, when this time for a long time, turned back to for the 3rd step, otherwise continue to carry out downwards;
(5), to pedal sensor array subregion: the data with the input of adjacent column sensor are 0 separatrix as pedal sensor array subregion entirely;
(6), single-chip microcomputer receives 1,0 data and the storage of each minute zone sensors input;
(7), the judgement personnel into and out of and quantity and storage: utilize among the non-0 data row of each subregion inner sensor input and go up row most, descend most the time sequencing of now complete 0 data of discharge judge the people into and out of, each subregion is represented a people, all people that advance deposit number storer in, so the number storer that the people who goes out deposits in out;
(8), judge whether the data of each minute zone sensors input are 0 entirely: when being not 0 entirely, then returned for the 6th step, otherwise continue to carry out downwards;
(9), judge whether to close the door: single-chip microcomputer receives to close when gate signal is high level 1 and closes the door, and when at closing time, continues to carry out, and does not close the door and then returns for the 3rd step;
(10), with personnel into and out of quantity be transferred to the wireless data sending terminal, turn back to then the 2nd the step.
Contrive equipment pedal sensor is installed on second ladder of car import and export, the shape of pedal sensor and structure are shown in Fig. 3,4, the pedal sensor divides three-decker, bottom is a steel plate 1, printed circuit board (PCB) 3 is fixed on the steel plate, and conducting strip 7 is positioned on the printed circuit board (PCB) 3 and with printed circuit board (PCB) fixedlys connected, and conductive spring leaf 2 one ends are fixed on the steel plate 1, the other end is positioned at the top of conducting strip, and sensor array is made of the identical sensor of 2 rows, 8 row.The second layer is that rubber sheet gasket 5 plays the effect of buffering people to cell pressure and sealing, the protection sensor.The 3rd layer is the assembly of serum cap 6 and pedal iron block array, with the corresponding pedal iron block 8 formation pedal iron block arrays of sensor in this sensor array, four through holes are arranged on each pedal iron block 8, be cast into the serum cap 6 that the cross section is an isosceles trapezoid by rubber on the pedal iron block array, the edge of opening of this serum cap outwards has terminal pad, rubber is by four through holes on each pedal iron block 8, and at the surface of each pedal iron block 8 formation rubber insulation, each pedal iron block 8 is fixed on the inwall of serum cap, and steel plate 1 is fixedlyed connected with the terminal pad on the serum cap 6 by rubber sheet gasket 5.When the people sets foot on serum cap 6, pedal iron block 8 on serum cap that this people steps on 6 inwalls and pedal iron block 8 lip-deep elastic rubber layers simultaneously to right conducting strip 7 directions motion, make the conductive spring leaf 2 between pedal iron block 8 and conducting strip contact the conducting sensor with conducting strip 7, sensor is a high level 1 by the signal of photoelectric isolating circuit input single-chip microcomputer, otherwise the signal of sensor input single-chip microcomputer is a low level 0.Serum cap 6 has better elastic, wearing quality, anti-aging and corrosion resistivity.Circuit theory diagrams as shown in Figure 5, the input interface of the photoelectric isolating circuit in the input interface of pedal sensor and the primary controller docks, principle of work provides switch gate signal for switch door input circuit to single-chip microcomputer, single-chip microcomputer is accepted the data that the pedal sensor transmissions is come according to this signal, to data Treatment Analysis and storage, after receiving the pass gate signal, will store data and be sent to wireless data sending terminal GPRS by serial port circuit.
The simulation control program is declared the data analysis of personnel's turnover
A people enters the data example:
Efficiently sampling 1 (first row's data) 00000000
(second row's data) 00000000
Efficiently sampling 2 (first row's data) 00000110
(second row's data) 00000000
Efficiently sampling 3 (first row's data) 00000110
(second row's data) 00000011
Efficiently sampling 4 (first row's data) 00000000
(second row's data) 00000011
Efficiently sampling 5 (first row's data) 00000000
(second row's data) 00000000
Illustrate: above data demonstrating people before enter to the total data that enters the board-like sensor acquisition of post legged fully, (adjacent and identical data merge automatically), in efficiently sampling 4 data 1 quantity less than 1 quantity in the data of efficiently sampling 3 then to imitating sampling 3 subregions, it is that the one-man passes through that efficiently sampling 3 is defined as a district with pedal, and first row occurs complete 0 data at first and is defined as entering in the efficiently sampling 4.
A people goes out the data example:
Efficiently sampling 1 (first row's data) 00000000
(second row's data) 00000000
Efficiently sampling 2 (first row's data) 00000000
(second row's data) 00011100
Efficiently sampling 3 (first row's data) 00001100
(second row's data) 00011000
Efficiently sampling 4 (first row's data) 00011000
(second row's data) 00000000
Efficiently sampling 5 (first row's data) 00000000
(second row's data) 00000000
Illustrate: above data demonstrating people from before going out to going out the total data (adjacent and identical data are synthetic automatically) that bumper step gathers fully, in efficiently sampling 4 data 1 quantity less than 1 quantity in the data of efficiently sampling 3 then to imitating sampling 3 subregions, it is that the one-man passes through that efficiently sampling 3 is defined as a district with pedal, and second row occurs complete 0 data at first and is defined as away in the efficiently sampling 4.
People enters with two of other and goes out the data analysis of carrying out simultaneously:
Efficiently sampling 1 (first row's data) 00000000
(second row's data) 00000000
Efficiently sampling 2 (first row's data) 00000011
(second row's data) 11011000
Efficiently sampling 3 (first row's data) 11011011
(second row's data) 10011011
Efficiently sampling 4 (first row's data) 11011000
(second row's data) 00000011
Efficiently sampling 5 (first row's data) 00000000
(second row's data) 00000000
Illustrate: above data demonstrating people of synchronization before enter to enter fully and before two people go out in addition to going out the total data (adjacent and identical data are synthetic automatically) that pedal gathers fully, in efficiently sampling 4 data 1 quantity less than 1 quantity in the data of efficiently sampling 3 then to imitating sampling 3 subregions, efficiently sampling 3 is defined as 3 districts with pedal promptly has 3 people to pass through, and subregion first row occurs complete 0 data and other two subregions second row at first and occurs complete 0 data at first and determine that a people enters two people and goes out in the efficiently sampling 4.
The present invention is applied in the market, is used for the counting personnel to pass in and out flow.
Single Chip Microcomputer (SCM) program designs as shown in figure 10, and mentality of designing is:
(1), this device brings into operation and initialization;
(2), judge whether to open the door: open the door when enabling signal is high level 1 when single-chip microcomputer receives;
(3), single-chip microcomputer receives 1,0 data and the storage of pedal sensor input;
(4), the data that will this time receive and the data that received last time relatively, judge in any secondary data that 1 quantity is many, when this time for a long time, turned back to for the 3rd step, otherwise continue to carry out downwards;
(5), to pedal sensor array subregion: the data with the input of adjacent column sensor are 0 separatrix as pedal sensor array subregion entirely;
(6), single-chip microcomputer receives 1,0 data and the storage of each minute zone sensors input;
(7), the judgement personnel into and out of and quantity and storage: utilize among the non-0 data row of each subregion inner sensor input and go up row most, descend most the time sequencing of now complete 0 data of discharge judge the people into and out of, each subregion is represented a people, all people that advance deposit number storer in, so the number storer that the people who goes out deposits in out;
(8), judge whether the data of each minute zone sensors input are 0 entirely: when being not 0 entirely, then returned for the 6th step, otherwise continue to carry out downwards;
(9), judge whether to close the door: single-chip microcomputer receives to close when gate signal is high level 1 and closes the door, and when at closing time, continues to carry out, and does not close the door and then returns for the 3rd step;
(10), with personnel into and out of quantity transfer to computing machine, turn back to then the 2nd the step.
The pedal sensor is installed in the shape of import and export place, market pedal sensor and structure shown in Fig. 7,8, the pedal sensor divides three-decker, bottom is a steel plate 1, printed circuit board (PCB) 3 is fixed on the steel plate 1, conducting strip 7 is positioned on the printed circuit board (PCB) 3 and with printed circuit board (PCB) fixedlys connected, conductive spring leaf 2 one ends are fixed on the steel plate 1, and the other end is positioned at the top of conducting strip 7, adopt the array structure of 3 rows, 8 row.The second layer is that rubber sheet gasket 5 plays the effect of buffering people to cell pressure and sealing, the protection sensor.The 3rd layer is the assembly of serum cap 6 and pedal iron block array, with the corresponding pedal iron block 8 formation pedal iron block arrays of sensor in this sensor array, four through holes are arranged on each pedal iron block 8, be cast into the serum cap 6 that the cross section is an isosceles trapezoid by rubber on the pedal iron block array, the edge of opening of this serum cap outwards has terminal pad, rubber is by four through holes on each pedal iron block 8, and at the surface of each pedal iron block 8 formation rubber insulation, each pedal iron block 8 is fixed on the inwall of serum cap, and steel plate 1 is fixedlyed connected with the terminal pad on the serum cap 6 by rubber sheet gasket 5.When the people sets foot on serum cap 6, pedal iron block 8 on serum cap that this people steps on 6 inwalls and pedal iron block 8 lip-deep elastic rubber layers simultaneously to right conducting strip 7 directions motion, make the conductive spring leaf 2 between pedal iron block 8 and conducting strip 7 contact the conducting sensor with conducting strip 7, sensor is a high level 1 by the signal of photoelectric isolating circuit input single-chip microcomputer, otherwise the signal of sensor input single-chip microcomputer is a low level 0.Serum cap 6 has better elastic, wearing quality, anti-aging and corrosion resistivity.Circuit theory diagrams as shown in Figure 9, the input interface of the photoelectric isolating circuit in the output interface of pedal sensor and the primary controller docks, principle of work provides switch gate signal for switch door input circuit to single-chip microcomputer, single-chip microcomputer is accepted the data that the pedal sensor transmissions is come according to this signal, to data Treatment Analysis and storage, after receiving the pass gate signal, will store data and be sent to computing machine by serial port circuit.
The simulation control program is declared the data analysis of personnel's turnover:
Declare a people and enter the data example:
Efficiently sampling 1 (first row's data) 00000000
(second row's data) 00000000
(the 3rd row's data) 00000000
Efficiently sampling 2 (first row's data) 00000110
(second row's data) 00000000
(the 3rd row's data) 00000000
Efficiently sampling 3 (first row's data) 00000110
(second row's data) 00000011
(the 3rd row's data) 00000000
Efficiently sampling 4 (first row's data) 00000110
(second row's data) 00000011
(the 3rd row's data) 00000110
Efficiently sampling 5 (first row's data) 00000000
(second row's data) 00000011
(the 3rd row's data) 00000110
Efficiently sampling 6 (first row's data) 00000000
(second row's data) 00000000
(the 3rd row's data) 00000110
Efficiently sampling 7 (first row's data) 00000000
(second row's data) 00000000
(the 3rd row's data) 00000000
Illustrate: above data demonstrating people before enter to the total data that enters the board-like sensor acquisition of post legged fully (adjacent and identical data merge automatically), in efficiently sampling 5 data 1 quantity less than 1 quantity in efficiently sampling 4 data then to imitating sampling 4 subregions, it is that the one-man passes through that efficiently sampling 4 is defined as a district with pedal, and first row occurs complete 0 data at first and is defined as entering in the efficiently sampling 5.
Declare a people and go out the data example:
Efficiently sampling 1 (first row's data) 00000000
(second row's data) 00000000
(the 3rd row's data) 00000000
Efficiently sampling 2 (first row's data) 00000000
(second row's data) 00000000
(the 3rd row's data) 00001100
Efficiently sampling 3 (first row's data) 00000000
(second row's data) 00001100
(the 3rd row's data) 00001100
Efficiently sampling 4 (first row's data) 00001100
(second row's data) 00001100
(the 3rd row's data) 00001100
Efficiently sampling 5 (first row's data) 00001100
(second row's data) 00001100
(the 3rd row's data) 00000000
Efficiently sampling 6 (first row's data) 00001100
(second row's data) 00000000
(the 3rd row's data) 00000000
Efficiently sampling 7 (first row's data) 00000000
(second row's data) 00000000
(the 3rd row's data) 00000000
Illustrate: above data demonstrating people from before going out to going out the total data (adjacent and identical data are synthetic automatically) that bumper step gathers fully, in efficiently sampling 5 data 1 quantity less than 1 quantity in efficiently sampling 4 data then to imitating sampling 4 subregions, it is that the one-man passes through that efficiently sampling 4 is defined as a district with pedal, and the 3rd row occurs complete 0 data at first and is defined as away in the efficiently sampling 5.
Declaring a people enters with two of other and goes out the data analysis of carrying out simultaneously:
Efficiently sampling 1 (first row's data) 00000000
(second row's data) 00000000
(the 3rd row's data) 00000000
Efficiently sampling 2 (first row's data) 11000000
(second row's data) 00000000
(the 3rd row's data) 00011011
Efficiently sampling 3 (first row's data) 11000000
(second row's data) 11001011
(the 3rd row's data) 00011011
Efficiently sampling 4 (first row's data) 11011011
(second row's data) 11011011
(the 3rd row's data) 11011011
Efficiently sampling 5 (first row's data) 00011011
(second row's data) 11011011
(the 3rd row's data) 11000000
Efficiently sampling 6 (first row's data) 00011011
(second row's data) 00000000
(the 3rd row's data) 11000000
Efficiently sampling 7 (first row's data) 00000000
(second row's data) 00000000
(the 3rd row's data) 00000000
Illustrate: above data demonstrating people of synchronization before enter to enter fully and before two people go out in addition to going out the total data (adjacent and identical data are synthetic automatically) that pedal gathers fully, in efficiently sampling 5 data 1 quantity less than 1 quantity in efficiently sampling 4 data then to imitating sampling 4 subregions, efficiently sampling 4 is defined as 3 districts with pedal promptly has 3 people to pass through, and subregion first row occurs complete 0 data and other two subregions the 3rd row at first and occurs complete 0 data at first and determine that a people enters two people and goes out in the efficiently sampling 4.

Claims (4)

1, a kind of personnel of public place pass in and out method of counting, it is characterized in that this method carries out according to the following steps:
(1), the personnel of public place pass in and out that counting assembly brings into operation and initialization;
(2), judge whether to open the door: when single-chip microcomputer receives enabling signal for opening the door;
(3), single-chip microcomputer receives 1,0 data and the storage of pedal sensor input;
(4), the data that will this time receive and the data that received last time relatively, judge in any secondary data that 1 quantity is many, when this time for a long time, turned back to for the 3rd step, otherwise continue to carry out downwards;
(5), to pedal sensor array subregion: the data with the input of adjacent column sensor are 0 separatrix as pedal sensor array subregion entirely;
(6), single-chip microcomputer receives 1,0 data and the storage of each minute zone sensors input;
(7), the judgement personnel into and out of and quantity and storage: utilize among the non-0 data row of each subregion inner sensor input and go up row most, descend most the time sequencing of now complete 0 data of discharge judge the people into and out of, each subregion is represented a people, all people that advance deposit number storer in, the number storer that all people that go out deposit in out;
(8), judge whether the data of each minute zone sensors input are 0 entirely, when being not 0 entirely, then returned for the 6th step, otherwise continue to carry out downwards;
(9), judge whether to close the door: single-chip microcomputer receives when closing gate signal and closes the door, and when at closing time, continues to carry out, and does not close the door and then returns for the 3rd step;
(10), with personnel into and out of quantity be transferred to computing machine or wireless data sending terminal, turn back to then the 2nd the step.
2, a kind of method of counting of claim 1 that uses carries out the counting assembly of the personnel of public place into and out of counting, comprises primary controller, and this primary controller comprises single-chip microcomputer, power circuit, switch gate signal input circuit, serial port circuit, photoelectric isolating circuit; The output interface that it is characterized in that the pedal sensor docks with the input interface of photoelectric isolating circuit in the primary controller, the pedal sensor comprises base plate, be fixed on the 2-8 row on this base plate, the sensor array that the sensor that the 1-64 row are identical constitutes, elastomer cover and being fixed on the elastomer cover inwall and pedal array that the pedal corresponding with each sensor in the sensor array constitutes, each sensor in the sensor array comprises printed circuit board (PCB), conducting strip, conductive spring leaf, printed circuit board (PCB) is fixed on the base plate, conducting strip is positioned on the printed circuit board (PCB), and fixedly connected with printed circuit board (PCB), one end of conductive spring leaf is fixed on the base plate, its other end is positioned at the top of conducting strip, cavity after sensor array is positioned at elastomer cover and base plate is fixedlyed connected, when the people sets foot on elastomer cover, this people step on the elastomer cover inwall pedal to the motion of right conducting strip direction, make the conductive spring leaf between pedal and conducting strip contact the conducting sensor with conducting strip, sensor is a high level 1 by the signal of photoelectric isolating circuit input single-chip microcomputer, otherwise the signal of sensor input single-chip microcomputer is a low level 0; When enabling signal arrived, single-chip microcomputer was by after the enabling signal of photoelectric isolating circuit receiving key door input circuit, and single-chip microcomputer receives through 1,0 data and the storage of photoelectric isolating circuit from the pedal sensor input; Data that this time received and the data that received last time are relatively, judge in any secondary data that 1 quantity is many, 1 quantity for a long time in this secondary data, single-chip microcomputer continues to receive through 1,0 data and the storage of photoelectric isolating circuit from the pedal sensor input, 1 quantity for a long time in last secondary data, data with the adjacent sensors input are 0 separatrix as pedal sensor array subregion entirely, and single-chip microcomputer receives 1,0 data and the storage of each minute zone sensors input; Utilize among the non-0 data row of each subregion inner sensor input and go up row most, descend most the time sequencing of now complete 0 data of discharge judge the people into and out of, each subregion is represented a people, the people of all turnover deposit in respectively into and out of the number storer, when the data of each minute zone sensors input were not 0 entirely, single-chip microcomputer continued to accept 1,0 data and the storage of each minute zone sensors input; When the data of each minute zone sensors input are 0 entirely, single-chip microcomputer by photoelectric isolating circuit receive close gate signal after, single-chip microcomputer will into and out of the number storer in quantity be transferred to computing machine or wireless data sending terminal through serial port circuit.
3, counting assembly according to claim 2, the base plate that it is characterized in that the pedal sensor is a steel plate, sensor array is by 2 rows, the sensor that 8 row are identical constitutes, pedal iron block array is made of the pedal iron block corresponding with sensor in this sensor array, four through holes are arranged on each pedal iron block, be cast into the serum cap that the cross section is an isosceles trapezoid by rubber on the pedal iron block array, the edge of opening of this serum cap outwards has terminal pad, rubber is by four through holes on each pedal iron block, and at the surface of each pedal iron block formation rubber insulation, each pedal iron block is fixed on the inwall of serum cap, and steel plate is fixedlyed connected with the terminal pad on the serum cap by rubber sheet gasket.
4, counting assembly according to claim 2, the base plate that it is characterized in that the pedal sensor is a steel plate, sensor array is by 3 rows, the sensor that 8 row are identical constitutes, pedal iron block array is made of the pedal iron block corresponding with sensor in this sensor array, four through holes are arranged on each pedal iron block, be cast into the serum cap that the cross section is an isosceles trapezoid by rubber on the pedal iron block array, the edge of opening of this serum cap outwards has terminal pad, rubber is by four through holes on each pedal iron block, and at the surface of each pedal iron block formation rubber insulation, each pedal iron block is fixed on the inwall of serum cap, and steel plate is fixedlyed connected with the terminal pad on the serum cap by rubber sheet gasket.
CNB2005100969730A 2005-04-04 2005-08-26 Method and apparatus for counting personnel in and out of public places Expired - Fee Related CN100347728C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100969730A CN100347728C (en) 2005-04-04 2005-08-26 Method and apparatus for counting personnel in and out of public places

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN200510020674.9 2005-04-04
CN200510020674 2005-04-04
CNB2005100969730A CN100347728C (en) 2005-04-04 2005-08-26 Method and apparatus for counting personnel in and out of public places

Publications (2)

Publication Number Publication Date
CN1741045A CN1741045A (en) 2006-03-01
CN100347728C true CN100347728C (en) 2007-11-07

Family

ID=36093421

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100969730A Expired - Fee Related CN100347728C (en) 2005-04-04 2005-08-26 Method and apparatus for counting personnel in and out of public places

Country Status (1)

Country Link
CN (1) CN100347728C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102499430B (en) * 2011-12-13 2013-10-23 卧龙电气集团股份有限公司 Device and method for automatically modifying curing times of controller of bulk curing barn
CN107341878A (en) * 2017-06-09 2017-11-10 深圳市元征科技股份有限公司 Pedestrian flow detection method and device
CN113761548B (en) * 2020-06-12 2024-03-08 北京沃东天骏信息技术有限公司 Data transmission method and device for Shuffle process

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4127766A (en) * 1976-04-05 1978-11-28 Thayer Stephen C Automatic and accurate passenger counter with storage and retrieval
CN1205488A (en) * 1997-07-11 1999-01-20 富士电机株式会社 Passing-object counter and stored-commodity counter
US5866887A (en) * 1996-09-04 1999-02-02 Matsushita Electric Industrial Co., Ltd. Apparatus for detecting the number of passers
CN2394266Y (en) * 1999-01-12 2000-08-30 王振兴 Electromechanical Hybrid Counting Encoder
CN2422689Y (en) * 2000-04-23 2001-03-07 孙小唐 Electronic digital reading mechanical runner counter
US6712269B1 (en) * 1999-09-29 2004-03-30 Dine O Quick (Uk) Limited Counting apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4127766A (en) * 1976-04-05 1978-11-28 Thayer Stephen C Automatic and accurate passenger counter with storage and retrieval
US5866887A (en) * 1996-09-04 1999-02-02 Matsushita Electric Industrial Co., Ltd. Apparatus for detecting the number of passers
CN1205488A (en) * 1997-07-11 1999-01-20 富士电机株式会社 Passing-object counter and stored-commodity counter
CN2394266Y (en) * 1999-01-12 2000-08-30 王振兴 Electromechanical Hybrid Counting Encoder
US6712269B1 (en) * 1999-09-29 2004-03-30 Dine O Quick (Uk) Limited Counting apparatus
CN2422689Y (en) * 2000-04-23 2001-03-07 孙小唐 Electronic digital reading mechanical runner counter

Also Published As

Publication number Publication date
CN1741045A (en) 2006-03-01

Similar Documents

Publication Publication Date Title
CN1759804A (en) Intelligent analyzing and differentiating method of herbalist doctor through integrated references form four parts of diagnosis
CN100347728C (en) Method and apparatus for counting personnel in and out of public places
CN1484765A (en) A method for diagnosing atrophic gastritis
CN1151548C (en) Method for estimating qualified rate of integrated circuit device
CN1500140A (en) Device and method for measuring a great variety of matters to be analyzed
CN1574269A (en) Method and device for analyzing fail bit maps of wafers
CN1599913A (en) Iris identification system and method, and storage media having program thereof
CN1961212A (en) Pattern recognition method for diagnosis of systemic autoimmune diseases
CN1787075A (en) Method for distinguishing speek speek person by supporting vector machine model basedon inserted GMM core
CN1921071A (en) Semiconductor device manufacturing apparatus, semiconductor device manufacturing method and semiconductor device
CN1825381A (en) Number plate recognition device, adjusting method of electric lens of number plate recognition device
CN1851491A (en) Fault positioning method
CN101030316A (en) Safety driving monitoring system and method for vehicle
CN1525240A (en) Original size detecting apparatus, original size detecting method, and program for original size detection
CN1910651A (en) System for detection section including particular acoustic signal, method and program thereof
CN1221161A (en) Information processing apparatus
WO2008140463A3 (en) Biomarker panels for assessing radiation injury and exposure
CN1162798C (en) Chinese medicine tongue colour, fur colour and tongue fur thickness analysis method based on multiclass support vector machine
CN101030384A (en) Electronic throat speech reinforcing system and its controlling method
CN1656371A (en) Surface defect judging method
CN1657958A (en) Substrate detection device and detection method
CN101030257A (en) File-image cutting method based on Chinese characteristics
CN1639564A (en) Analyzer having information recognizing function, analytic tool for use therein, and unit of analyzer and analytic tool
CN1892810A (en) Tuning device for musical instruments and computer program for the same
CN1623826A (en) Control system for data monitoring device on bus and its method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20071107

Termination date: 20110826