The utility model content
The utility model has overcome the defective that prior art exists, and provides a kind of real-time high, and data acquisition is accurate, the video passenger flow analysing terminal with wireless access function of feature richness.
To achieve these goals, the utility model is to realize by the following technical solutions:
A kind of video passenger flow analysing terminal with wireless access function 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 that gathers real-time passenger flow video information and input to CPU;
Handheld terminal is positioned and carries out to CPU the wireless access node module of input information;
Be connected the 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 adopts the mode that is embedded in to be arranged in the terminal, so that the wiring of video input apparatus is easier, has saved simultaneously the cost of wiring.
Described video input apparatus is 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 inputted 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 Network Interface Module comprises wireless lan interfaces module and ethernet interface module, and described wireless lan interfaces module is the WiFi 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 simultaneously cable network.
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.
In order to store the information such as picture, passenger flow data, 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, so that the collection of passenger flow information is more accurate, by wireless lan interfaces module and ethernet interface module can realize dual mode with the video passenger flow communication to server, so that the range of application of passenger flow terminal of the present utility model is more wide; Can position handheld terminal easily by the wireless access node module, enrich the function of terminal.
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, a kind of video passenger flow analysing terminal with wireless access function comprises CPU, video input apparatus, wireless access node module, mixed-media network modules mixed-media, 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 data transfer efficient, 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 reset chip after the hand-reset signal that it is produced by reset chip 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:
Because CPU does not have before the programming BOOT, the GPIO47 output state is indefinite, can cause that house dog starts, and feeds simultaneously the dog program 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, increase a wire jumper at the house dog outlet line, when programming boot, pull up jumper wire device, make the watchdog reset signal not affect other chips, when plate carry program all programming complete after, again jumper wire device is plugged, realize watchdog function.
CPU is the communication by RS232 Interface realization and other equipment, by functions such as RS485 Interface realization cradle head control.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, and UART1 does not use, UART2(meaning not shown in the figures) as RS485 interface control The Cloud Terrace.
Because the I/O interface level of Leonardo da Vinci's chip TMS320DM6441 is 1.8V, as shown in Figure 3, Figure 4, debug serial port RS232 serial ports level conversion is used MAX3232CES, and the RS485 level conversion is used SN75LBC180AD.
RS485 can use full worker's mode, also can use half worker's mode.
Under full worker's mode, to be set to by the GPIO5 of CPU " 1 " control transmission before the transmission data and enable, receive data and be in all the time accepting state.
Under half worker's state, send before the data will CPU GPIO5 be set to " 1 " control and send and enable, do not enable receive data simultaneously yet.GPIO5 that will CPU before the receive data is set to " 0 " and enables to receive, and does not enable to send simultaneously data.
This dual mode is selected by the welding corresponding resistor, and is as above shown in Figure 4, and welding R3, not welding R4 is full worker's pattern.Welding R4, not welding R3 is half worker's pattern.
RS485 interface connector adopts 2 RJ45 sockets, and one of them is used for cascade device, and interface arranges as shown in the table:
1PIN |
2PIN |
3PIN |
4PIN |
5PIN |
6PIN |
7PIN |
8PIN |
T+ |
T- |
R+ |
GND |
GND |
R- |
DC12V |
DC12V |
The video input apparatus of the utility model terminal can adopt common camera, for example profile is the vehicle-mounted camera module of 38x38mm, it gathers real-time passenger flow video information, then inputs to the I2C interface of CPU, 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 multichannel, the real-time passenger flow video information of multi-channel video input equipment is processed 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 processes.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 10bitCMOS ADS, anti-mixing filter, comb filter, compensating filter.When being connected with CPU, the VD4[7:0 of Video Decoder TW2864] interface exports 4 tunnel time-multiplexed video datas to the VPFE interface of Leonardo da Vinci's chip TMS320DM6441.Therefore and need to arrange 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 running indicator, extinguish " 1 ", and light " 0 " |
In order to enrich the function of the utility model terminal, also be provided with the wireless access node module that handheld terminal is positioned in the utility model, because terminal of the present utility model is a plurality of being used in use, wireless access node module on each terminal can be used as a node of positioning system, handheld terminal periodically sends acquisition of signal near the power of AP signal by WIFI, the ultrasound wave locating module detects backward CPU to carry out input information and further sends these information to location-server, the position that location-server is judged this handheld terminal according to power or the signal step-out time of signal.
In the present embodiment, the WIFI router that the wireless access node module adopts Shenzhen Wen Ximu company to produce, model is WMR3500R1N, this module adopts the RALINK802.11n single-chip, the Core of an integrated MIPS4Kec, dominant frequency reaches 320/MHz, 16K-byte I-cache and16K D-cache and 11n1T1R MAC/BBP/RF, a USBOTG, a 100M ethernet mac/MII interface.This is module integrated 1 WAN/LAN mouth, a USB2.0OTG interface, flank speed can reach 150Mbps, supports wireless standard IEEE802.11n standard of future generation, downward and 802.11b/g operating such of while, CPU then controls with this module by USB interface and communicates by letter.
Purport of the present utility model is, the real time video data of video input apparatus collection transmitted to server, so that the usage range of this terminal is more wide, and unrestricted.Therefore, CPU is connected with the wireless lan interfaces module on connecting.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 like this module that link to each other with the CPU of mainboard is driven (not changing software because changing the WiFi module).The WiFi module can arrange status indicator lamp, and the GPIO1 by CPU controls.
Outside the wireless lan interfaces 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 the MAC function, is connected with the PHY chip and can realizes ethernet communication, and CPU and PHY chip are the MII interface, need to 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.By above two kinds of module settings, so that the simultaneously wireless and wired two kinds of transmission selections of tool of this terminal, so that the adaptability of terminal is 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, connect 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.
I2C interfacing equipment address is as follows:
In order to store the information such as picture, passenger flow data, 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.
When real-time passenger flow video information was transmitted to server, 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 to be powered is different with the power specification of module, so power module need to be changed rear 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.
As shown in Figure 5, the utility model terminal is made of housing 1, interface board 2, CPU board 3, copper stud 4, camera module 5, WIFI module 6.Copper stud 4 is fixed on the bottom of housing 1, camera module 5 is arranged on the top of copper stud 4, see on the whole and namely be embedded in housing 1, interface board 2 is fixed on the bottom of copper stud 4, CPU board 3 is fixed on the camera module 5, interface board 2 and CPU board 3 are the upper and lower formula places, and WiFi module 5 is fixed on interface board 2 tops, is between interface board 2 and the CPU board 3.Avoided installing the installation work of camera module 5 behind the embedded camera module 5, general camera wiring is that the cable that will lay between from the camera to equipment comprises video line and power lead, cable and wiring installation expense had both been saved in new design, and the expense of camera module 5 also can be saved much simultaneously.
CPU board 3 and interface board 2 are by double contact pin signal transmission, and camera module 5 is by cable and CPU board 3 image signal transmissions, and WIFI module 6 is by cable and interface board 3 signal transmissions.Mainly contain power supply, UART signal, usb signal, ethernet signal etc. between interface board 2 and the CUP plate 3, power supply and digital signal are arranged on power connector and the signal socket connector transmit.
Power connector arrange into:
Signal socket connector arrange into:
By above setting, this terminal can be carried out video acquisition to the passenger flow situation in real time, so that the collection of passenger flow information is more accurate, the setting of wired and radio interface module, can realize by wireless mode and wired mode the video passenger flow communication to server, so that the range of application of passenger flow terminal of the present utility model is more wide, unrestricted.
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 above-described embodiment 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.