Background technology
Passenger flow analysing is important market survey means, is the link that external nearly all shopping center, market, large-scale chain business hall and chain commercial site all must be carried out before carrying out market and management decision.Along with the aggravation of competition, business model progressively by traditional tradesman to the transformation of doing business that has initiative, daily passenger flow feature analyzed seem particularly important.Domestic a lot of business decision person has recognized the importance of passenger flow data for decision analysis at present, generally can adopt artificial mode to carry out the statistics of volume of the flow of passengers data and analyze in festivals or holidays, having some businessmans to adopt accuracy rate be that the very high infrared equipment that waits carries out long-term passenger flow quantitative statistics yet.The most valuable of volume of the flow of passengers data is the statistics of a chronicity in fact, and wherein trickle variation and the rule of discovery, connecting inner data with existing and necessary every data cross comparative analyses such as survey so just can provide strong foundation and means for decision-making.
Complicate statistics realizes that principle is by oral number or presses picture and " get counter ready " etc. type equipment writes down the number of turnover on a time period that its accurate rate is relevant with testing staff's sense of responsibility, and statistics has randomness.There is almost unpractical defective aspects such as the true and integrality of data, the management of historical data and analysis.When surveyed area width>5 meter, the volume of the flow of passengers>800 people/hour, one day overall accuracy is lower than 70%.A certain section time detecting got or by the part-time statistics of related work personnel by establishment officer.Can not generate automatically, need the data of complicate statistics are input in Microsoft Excel or other related software, and need the artificial required form that generates.
Infrared statistics realizes that principle is that being installed in this regional infrared ray can be interrupted when people's process surveyed area, and this can be registered as one and detect data, accurate rate 60%-80% does not wait, discrimination is not high, and the engineering statistics accuracy rate is a fuzzy problem, does not have comparability.Can't distinguish people and other non-statistical object.Temporal analytical density can only be that unit adds up with sky, week generally.Data need distributed collection, and networking is not strong.Report form type is single, and form needs further arrangement of statistical department oneself, because the statistics accuracy rate is lower, multiple infrared detection modes such as Dan Shu, multi beam, passive infrared are seldom used at present.
Advanced passenger flow analysing is at developed countries such as America and Europe very general, also progressively a large amount of employing passenger flow analysis system of developed regions such as Singapore, Japan, Hong Kong in recent years.The passenger flow terminal mainly plays the effect of gathering passenger flow information, and it is the major part of passenger flow analysis system, and existing passenger flow terminal real-time is relatively poor, and information acquisition is accurate inadequately.
The utility model content
The utility model has overcome the defective that prior art exists, and provides a kind of real-time height, the embedded passenger flow terminal of the accurate wireless wide area network of data acquisition.
To achieve these goals, the utility model is to realize by the following technical solutions:
The embedded passenger flow terminal of a kind of wireless wide area network is characterized in that, comprising:
Carry out the CPU of data processing, transmission, terminal task coordination and the control of each interface;
The video input apparatus of gathering real-time passenger flow video information and importing to CPU;
Be connected the wireless wide area network interface module that sends the passenger flow video information that collects to server with CPU;
The power module that CPU and other interfaces, module are powered.
In the utility model, the nonvolatile memory of described CPU adopts NOR FLASH, to improve transfer efficiency.
Be provided with reset circuit in the described CPU, so that CPU and other modules are resetted.
Described CPU is provided with RS232 and RS485 interface, to realize AccessPort and devices communicating.
Described CPU is provided with the analog video output interface, to realize the output of CVBS video.
Described video input apparatus is a multichannel, and input signal is CVBS, is provided with between video input apparatus and the CPU multi-channel video input equipment to be collected real-time video information is imported CPU in one tunnel time-multiplexed mode Video Decoder.
Described Video Decoder is connected with CPU by level switch module.
For the video input apparatus pilot lamp that obtains the working condition of video input apparatus, also be provided with to be connected with CPU.
Described wireless wide area network interface module comprises 3G module, CDMA module, EVDO module, GPRS module.
Described power module adopts the input of 12V direct supply, by the output of DC/DC converter 5V, 3.3V, 1.8V, 1.2V, to realize the power supply to disparate modules.
In the utility model, also be provided with the ethernet interface module that is connected with CPU, connect to realize cable network simultaneously.
In order to realize CPU and to be arranged on that server carries out data transmission in the LAN (Local Area Network), also be provided with the wireless lan interfaces module that is connected with CPU.
The utility model also is provided with the real-time clock that is connected with CPU, and described real-time clock is connected by level switch module with CPU.
In order to preserve some configuration informations, also be provided with EEPROM, described EEPROM is connected with CPU by level switch module.
In order to prevent that terminal of the present utility model from being plagiarized, also be provided with the encryption chip that is connected with CUP, described encryption chip is connected with CPU by level switch module.
For information such as picture, passenger flow datas, the utility model also is provided with the storage card that is connected with CPU, and described storage card comprises SD card, mmc card, MS card and TF card.
The utility model can carry out video acquisition to the passenger flow situation in real time, make that the collection of passenger flow information is more accurate, can be implemented in by the wireless wide area network interface module in the scope of wide area network the video passenger flow information transmission to server, make that the range of application of passenger flow terminal of the present utility model is more wide.
Embodiment
For technological means, creation characteristic that the utility model is realized, reach purpose and effect is easy to understand, below in conjunction with embodiment, further set forth the utility model.
As shown in Figure 1, the embedded passenger flow terminal of a kind of wireless wide area network comprises CPU, video input apparatus, wireless wide area network interface module, and power module.CPU adopts Leonardo da Vinci's chip TMS320DM6441 of TI company in the present embodiment, and it is the core of whole terminal, and it is responsible for the scheduling of video data processing, transmission and system coordination and task, the control of each interface etc.
It is the DDR2 internal memory of 128MB that CPU adopts 32bits data bit, capacity, model is HY5PS5162FFR-Y5/S5, the nonvolatile memory of CPU then adopts NOR FLASH, to improve the transfer efficiency of data, NOR FLASH is the 16bits data bit, and capacity is 8MB, and model is S29GL064N11TFIV20/TSOP56, the I/O level is 1.8V, and does not need level conversion between the CUP.
Be provided with reset circuit among the CPU, be input on the hand-reset signal of the chip that resets after hand-reset signal that it is produced by the chip that resets and watchdog reset signal are attempted by a circuit, both have one to produce the homing action chips such as CPU, NOR FLASH that will reset.
Feeding-dog signal is produced by the GPIO37 of CPU, whether feeds dog and is controlled by GPIO47.Implementation is the Enable Pin of a triple gate of GPIO47 control, and steering logic is as shown in the table:
Sequence number |
The GPIO47 state |
Feed the dog situation |
1 |
1 |
Triple gate output high-impedance state, no matter GPIO37 is any output, house dog can not worked, and promptly can not produce reset signal |
2 |
0 |
The triple gate output signal is determined when GPIO37 in 1.6s exports 1 or 0 variation is arranged by GPIO37, house dog obtains normal feeding-dog signal, can not produce reset signal; If GPIO37 output does not have 1 or 0 variation in 1.6s, house dog can not get normal feeding-dog signal, will produce reset signal. |
Because CPU does not have before the programming BOOT, the GPIO47 output state is indefinite, can cause that house dog starts, and feeds the dog program simultaneously and also is not activated, and causes house dog to send reset signal, the CPU that resets, and with emulator programming boot the time, normally programming.For this reason, on the house dog outlet line, increase a wire jumper, when programming boot, pull up jumper wire device, make the watchdog reset signal not influence other chips, when plate carry program all programming intact after, again jumper wire device is plugged, realize watchdog function.
CPU realizes and the communication of other equipment by the RS232 interface, realizes functions such as cradle head control by the RS485 interface.Implementation is 3 UART on Leonardo da Vinci's chip TMS320DM6441, and wherein UART1 and ata interface are multiplexing, and UART2 and CCDS are multiplexing.Present embodiment uses UART0 as debug serial port, UART1 as with the RS232 serial ports of communication module, UART2 (meaning not shown in the figures) is as RS485 interface control The Cloud Terrace.Because the I/O interface level of Leonardo da Vinci's chip TMS320DM6441 is 1.8V, RS232 and RS485 interface all need to carry out level conversion.
The video input apparatus of the utility model terminal can adopt common camera, and it gathers real-time passenger flow video information, imports to CPU then, and this interface configuration of CPU is the ITR BU656 interface of 8bit.In order to be that collecting efficiency is higher, video input apparatus is a multichannel, the real-time passenger flow video information of multi-channel video input equipment is handled by Video Decoder input CPU, Video Decoder then is to pass to CPU with a time-multiplexed form after the real-time passenger flow Video processing in multichannel road, and CPU selects the effective video information on each road and handles.In the present embodiment, adopt Video Decoder TW2864 can realize four tunnel time division multiplex input, the input signal of Video Decoder TW2864 is CVBS, NTSC/PAL all can, and inside is integrated with 10bit CMOS ADS, anti-mixing filter, comb filter, compensating filter.When being connected, the VD4[7:0 of Video Decoder TW2864 with CPU] interface exports the VPFE interface of 4 tunnel time-multiplexed video datas to Leonardo da Vinci's chip TMS320DM6441.Therefore and need to be provided with level switch module between the CPU and carry out level conversion the required power supply of Video Decoder TW2864 is 3.3V (27mA)/1.8V (670mA).Video Decoder TW2864 also can be resetted by reset circuit.
In the present embodiment, the working condition of 4 road video input apparatus is indicated by pilot lamp, to avoid video-losing.Pilot lamp is connected with CPU, is controlled by the GPIO of CPU.Control mode is as shown in the table:
GPIO39 |
The control of the 1 road video-losing pilot lamp, extinguish " 1 ", and light " 0 " |
GPIO40 |
The control of the 2 road video-losing pilot lamp, extinguish " 1 ", and light " 0 " |
GPIO41 |
The control of the 3 road video-losing pilot lamp, extinguish " 1 ", and light " 0 " |
GPIO42 |
The control of the 4 road video-losing pilot lamp, extinguish " 1 ", and light " 0 " |
GPIO34 |
The control of equipment operation lamp, extinguish " 1 ", and light " 0 " |
Purport of the present utility model is, the real time video data of video input apparatus collection is carried out wireless transmission to being arranged on distant server, so that the usage range of this terminal is more wide, and unrestricted.Therefore, CPU is connected with the wireless wide area network interface module on connecting, and it is arranged on the UART1 mouth of Leonardo da Vinci's chip TMS320DM6441, and the wireless wide area network interface module can be 3G module, CDMA module, EVDO module, GPRS module etc.During actual making sheet, the wireless wide area network interface module can be fixed on the pcb board, adopts the socket cable that it is linked to each other with the UART interface of the CPU of mainboard, is convenient to the replacing and the standardized software driving of module like this.
Outside the wireless wide area network interface module was set, terminal of the present utility model also was provided with the ethernet interface module that is connected with CPU, to realize wire communication.Leonardo da Vinci's chip TMS320DM6441 provide MAC function, is connected with the PHY chip and can realizes ethernet communication, and CPU and PHY chip are the MII interface, need carry out connecting after the level conversion.The PHY chip can adopt the RTL8201CP of REALTEK company, and it supports 10/100M auto-negotiation, netting twine from turning round function.The PHY chip also can be resetted by reset circuit.
Except above two kinds of communication modes, the utility model also is provided with the wireless lan interfaces module that is connected with CPU.In the present embodiment, be to be connected with USB interface on the CPU with the WiFi module of USB interface to realize, the 5V power supply (0.5A) that USB interface provides and the 5V power sharing of RS485 chip are uncontrolled.During actual making sheet, the WiFi module is fixed on the pcb board, adopts the USB cable that its replacing and standardized software of being convenient to module like this that link to each other with the CPU of mainboard is driven (not changing software because of replacing WiFi module).By above 3 kinds of module settings, make the wireless and wired two kinds of transmission of tool simultaneously of this terminal select, wireless wide area network and the LAN (Local Area Network) of comprising makes terminal adaptability more extensive.
Leonardo da Vinci's chip TMS320DM6441 that the utility model terminal adopts is provided with the I2C bus, can connect various chips by the I2C interface.In the present embodiment, connected a slice PhilipsPCF8563 real-time timepiece chip on the I2C interface of CPU, read its clock for CPU; A slice EEPROM, to preserve some configuration informations, the model of EEPROM is 24LC64, capacity is 32KB; A slice encryption chip is to prevent that this terminal from being plagiarized.Said chip all needs by level switch module owing to the level with CPU is not inconsistent, and for example PCA9306DCT is connected with CPU.
For information such as picture, passenger flow datas, this terminal also is provided with the storage card that is connected with CPU, and storage card can be selected SD card, mmc card, MS card or TF card.The TF card that to have adopted a capacity in the present embodiment be 1GB is as storage card.
To real-time passenger flow video information when server transmits owing to also be provided with the analog video output interface on the CPU, by connecting display device, this terminal can also realize the output of CVBS video, has further strengthened the function of this terminal.
The interface that the utility model terminal need be powered is different with the power specification of module, so power module need be changed back output by the DC/DC converter.Referring to Fig. 2, power module adopts the input of 12V/3.5A direct supply, can directly power to camera, export 5V/1A so that USB interface and RS485 interface are powered by a converter TPS5430, by a converter TPS5430 output 3.3V/2.5A, and then 3.3V/2.5A is divided into two-way, the converter TPS62420 of wherein leading up to output 1.2V/1A or 1.8V/1A power to Leonardo da Vinci's chip TMS320DM6441, and another road powers to Video Decoder TW2864 by converter LM1117-1.8V output 1.8V/2A.
By above setting, this terminal can be carried out video acquisition to the passenger flow situation in real time, make that the collection of passenger flow information is more accurate, the setting of multiple communication interface modules, can be implemented in the scope of wide area network, LAN (Local Area Network) by wireless mode and wired mode the video passenger flow information transmission to server, make that the range of application of passenger flow terminal of the present utility model is more wide, be not subjected to any restriction.
More than show and described ultimate principle of the present utility model and principal character and advantage of the present utility model.The technician of the industry should understand; the utility model is not restricted to the described embodiments; that describes in the foregoing description and the instructions just illustrates principle of the present utility model; under the prerequisite that does not break away from the utility model spirit and scope; the utility model also has various changes and modifications, and these changes and improvements all fall in claimed the utility model scope.The claimed scope of the utility model is defined by appending claims and equivalent thereof.