The multifunctional data acquisition card of integrated GPS WiFi
Technical field
The present invention relates to a kind of data collecting card, relate in particular to a kind of integrated GPS﹠amp; The multifunctional data acquisition card of WiFi.
Background technology
GPS is the abbreviation of GPS (Global Positioning System), being the U.S. developed since 1970's, last 20 years, expensive 20,000,000,000 dollars, built up in 1994 comprehensively, have new generation satellite navigation and the positioning system of carrying out comprehensive real-time three-dimensional navigation and station-keeping ability in sea, land and sky.Show through use, GPS is with distinguishing features such as round-the-clock, high precision, robotization, high benefits, win vast mapping operations person's trust, and successfully be applied to the multiple subjects such as geodetic surveying, engineering survey, photogrammetric measurement, Navigation for Means of Transportation and control, earth movement monitoring, engineering project deformation monitoring, resources survey, geodynamics, thereby bring the field depth technological revolution at quarter to survey field.
Wi-Fi is by a compatible alliance of wireless ethernet by name " industry term that the tissue of (Wireless Ethernet Compatibility Alliance, WECA) is issued, Chinese is translated into " wireless compatible authentication ".It is a kind of short range wireless transmission technology, can support the radio signal of internet access in the hundreds of feet scope.Along with the development of technology, and the appearance of the standards such as IEEE802.11a and IEEE 802.11g, IEEE 802.11 these standards are made Wi-Fi by general designation now.From application, use Wi-Fi, the user at first will have the user end apparatus of Wi-Fi compatibility.Wi-Fi is the technology of energizing that a kind of user of help accesses Email, Web and streaming video.It provides wireless broadband internet access for the user.Simultaneously, it also be at home, office or on the road online fast, approach easily.The place that can access the Wi-Fi network is called as focus.Wi-Fi or 802.11g are in the work of 2.4Ghz frequency range, and the speed of supporting is up to 54Mbps.Also have in addition the agreement in two kind of 802.11 space, comprise a and b.They also are open uses, but 802.11g is the most commonly used in the world.Wi-Fi Hotspot creates by connect the installation accessing points in the internet.This accessing points is transmitted wireless signal by short distance.300 feet of general coverings.When an equipment (for example Pocket PC) of supporting Wi-Fi when running into a focus, this equipment can be connected to that network with wireless mode.
PCI is the abbreviation of Peripheral Component Interconnect (Peripheral Component Interconnect standard), and it is the most widely used interface in the present PC, on nearly all mainboard product all with this slot.Pci bus is a kind of local bus that does not depend on certain concrete processor.On structure, PCI is the one-level bus of inserting between CPU and original system bus, specifically realize management to this one deck by a bridgt circuit, and the interface between realizing up and down is with the transmission of coordination data.Manager provides the signal buffering, makes it to support 10 kinds of peripheral hardwares, and can keep high-performance under high clock frequency.Pci bus is the snoop bus master technology also, allows smart machine to obtain when needed bus control right, transmits with expedited data.
The characteristics of pci bus are: 32 of data buss extend to 64; Can carry out the burst type transmission; Bus operation and processor-memory sub-system operation is parallel; Bus Clock Rate 33MHZ or 66MHZ, high transmission rates can reach 528MB/S; Central authorities' centralized bus arbitration; Facility information register group is arranged for the information that system provides card in full-automatic configuration, resource distribution, the pci card, can realize plug and play; The pci bus standard is independent of microprocessor, and versatility is good; PCI equipment can be fully as the main control equipment control bus; Pci bus lead-in wire: high density connector, minute basic socket (32) and expansion socket (64).
RS-232 is most widely used a kind of serial line interface in PC and the communication industry.RS-232 is defined as a kind of single-ended standard that increases communication distance in the low rate serial communication.RS-232 takes uneven transmission mode, i.e. so-called single-ended communication.The data-signal of Transmitting and Receiving End is with respect to signal ground, is the level of relative 7 pin of 2 pin (signal ground) such as the data of sending from ustomer premises access equipment when using the DB25 connector.Typical RS-232 signal is swinging between positive negative level, when sending data, transmitting terminal driver output positive level+5~+ 15V, negative level-5~-the 15V level.When without data transmission, be TTL on the line, from beginning to transfer data to end, level returns Transistor-Transistor Logic level from Transistor-Transistor Logic level again to the RS-232 level on the line.The typical operation level of receiver+3~+ 12V and-3~-12V.Because the difference of transmission level and incoming level only is about 2V to 3V, so its common mode inhibition capacity is poor, adds the distributed capacitance on the twisted-pair feeder, its transmitting range is about 15 meters to the maximum, and flank speed is 20kb/s.RS-232 designs for point-to-point (namely only using a pair of receiving and sending equipment) communication, and its driver load is 3~7k Ω.So RS-232 is fit to the communication between the local device.
PC/104 is a kind of industrial-controlled general line that defines for embedded Control specially, is embedded control system a kind of optimization, small-sized, nesting structural embedded control.
The main difference of PC/104 and common PC bus control system is:
Small scale structures: the mechanical dimension of standard module is 3.6X3.8 inch, i.e. 96X90mm.
Stacking-type connects: remove bus backplane and plate slideway, bus with " pin " be connected the hole " the stacked connection of form, the connection that is bus between the PC/104 bus module is mutually to sting and link to each other by the hole of the pin on upper strata and lower floor, and this laminate packaging has fabulous shock resistance.
Light bus driver: reduce number of elements and electrical source consumption, the 4mA bus driver can make module normal operation, 1~2 watt of energy consumption of each module.
At present, mainly be that independent the realization turns RS-232 integrated circuit board, Wi-Fi integrated circuit board and GPS integrated circuit board based on the pci bus of PC/104 structure, the integrated circuit board of the PC/104 structure that these several functions is not integrated, integrated level is lower like this, if when using simultaneously pci bus to turn RS-232 integrated circuit board, Wi-Fi integrated circuit board and GPS integrated circuit board, need to buy three kinds of integrated circuit boards, cost is higher.
Summary of the invention
The invention provides the PC/104 integrated circuit board that a kind of integrated pci bus turns RS-232, GPS location and Wi-Fi wireless telecommunications.This integrated circuit board is integrated, and pci bus turns RS-232, GPS global location and Wi-Fi wireless communication module.For GPS and Wi-Fi module, realize the GPS positioning function by the pci bus extended serial port, and data communication device can have been crossed the Wi-Fi wireless network transmissions to the pulpit, made things convenient for managerial personnel in time to understand various locating information.This integrated circuit board also can use GPS and Wi-Fi separately, realizes location and data-transformation facility.
To achieve these goals, the present invention has taked following technical scheme.The present invention includes integrated circuit board, GPS module and the Wi-Fi module of PC/104 structure, wherein the GPS module all is connected with the integrated circuit board of PC/104 structure with the Wi-Fi module.
The serial ports that expands by pci bus between the integrated circuit board of described GPS module and Wi-Fi module and PC/104 structure carries out data transmission.
The present invention also comprises the UART chip, and this chip is connected with the integrated circuit board of PC/104 structure, and pci bus is changed out four RS-232 serial ports, and the GPS module all is connected with the integrated circuit board of PC/104 structure by the serial ports that expands with the Wi-Fi module.
An I/O mouth of the UART chip of described pci bus is connected with the reseting pin of Wi-Fi module, when described Wi-Fi module breaks down, integrated circuit board among the present invention adopts the software reset, by the software configuration, make the low level of the lasting at least 10ms of reseting pin of Wi-Fi module realize resetting of module.
In terms of existing technologies, the present invention has following advantage:
1) the present invention turns RS-232 serial ports, Wi-Fi wireless telecommunications and GPS positioning function with pci bus and is integrated on the integrated circuit board of a PC/104 structure, and its volume is little, and is low in energy consumption, and cost is low, and integrated level is high, reliable and stable.
2) the present invention is Standard PC/104Plus structure, can be compatible with other PC/104 or PC/104Plus integrated circuit board.
Description of drawings
Fig. 1 is structured flowchart of the present invention;
Fig. 2 is GPS15L module connection layout;
Fig. 3 is GPS module level conversion connection layout;
Fig. 4 is RS9110-N-11-24Wi-Fi module connection layout.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
The invention provides the integrated circuit board of the PC/104 structure of a high integration, its function comprises that mainly pci bus turns RS-232, has expanded com port, GPS location and Wi-Fi wireless telecommunications.
Multifunctional data acquisition card of the present invention adopts the backboard of PC/104 circuit structure, firmly is connected with base plate by pci bus, and data transmission is used the high-speed PCI interface, and backboard is realized GPS location and Wi-Fi data-transformation facility.Because it is to be connected with main frame by serial ports that GPS with the Wi-Fi module, this integrated circuit board must can provide enough serial ports as an independent product, so this integrated circuit board adopts the PC/104 structure, by pci bus UART chip, expand four serial ports for GPS and Wi-Fi module.PC/104 structure reliability on electrical specification and mechanical property is high, low in energy consumption, and it is few to produce heat, has high dirigibility.By being reliably connected from storehouse, shock resistance is strong between integrated circuit board and the integrated circuit board.
It mainly is to be realized by pci bus UART chip XR17D154 that pci bus turns the RS-232 function, by this chip pci bus is changed out four RS-232 serial ports.This integrated circuit board can see in the equipment manager of main frame having more four serial ports that with after mainboard is connected these serial ports can be used as common serial ports and use separately.The Wi-Fi module adopts the RS9110-N-11-24 chip module to realize that the RS9110-N-11-24 chip module is with serial interface, and a RS-232 who expands by this serial ports and pci bus is connected, and carries out exchanges data.The GPS module adopts GPS 15L module to realize that this module is with serial interface, and a RS-232 who expands by this serial ports and pci bus is connected, and carries out exchanges data.
1, pci bus turns RS-232
In a lot of communication systems, bandwidth and speed that signal is transmitted have very high requirement, and pci bus is fit to high speed signal is connected together through interface chip and host bridge very much.This function mainly is to be realized by pci bus UART chip XR17D154.XR17D154 is the pci bus UART chip by the two voltages of a series of supports of releasing in the Exar company that has the leading position aspect the global high performance mixed signal processing.These series of products are compatible 3.3V and 5V all, has pci interface and UART structure, be mainly used in utilizing in the product of PCI Mezzanine Card, and such as the POS machine, system monitoring, portable communications system etc.
The XR17D154 product satisfies the standard of PCI 2.3, and frequency of operation is 33MHz, is 4 times of common ISA interface.32 data bus can take full advantage of the bandwidth of CPU, transmits/receive more data.Support 4 passage PCI conversion UART, reduce system overhead, saved circuit board space.For downloading the process information of CPU, each passage has the 64 byte sending/receivings buffering FIFO with the programmable trigger level, can programme to baud rate with the speed up to 921.6kbps respectively.
Pci bus is connected with pci bus UART chip XR17D154 respective pin just can realizes pci bus conversion RS-232 serial ports.That this integrated circuit board uses is XR17D154, so can expand altogether 4 serial ports.
XR17D154 has three groups of different registers, needs respectively configuration during work.
(1) PCI local bus configuration space registers.After the PCI plug-in card insertion system, system bios will be the information such as plug-in card memory allocated address, port address and interruption according to the plug-in card information of reading and coupling system situation, realize the automatic configuration of plug and play, thereby exempted manually-operated, these information all are kept among the external EEPROM, whether XR17D154 can to detect EEPROM effective when powering on, and system identifies pci card with this.
(2) device configuration register.The transmission mode of reception from from the pci data bus to each UART passage/transmission data FIFO memory buffer is provided, and it provides the monitoring to UART transmission and various functional statuses.Register takies 4k pci bus memory address space.These addresses add that by plot side-play amount obtains, and side-play amount is kept at the BAR register 0x10[31:12 of PCI local bus configuration register].The functional status information of all 4 passage UART is controlled or monitored to these registers, comprise control and the state of interrupting, 16 general purpose timers are controlled and state multi-usage I/O control and state, park mode control, warm reset control and device identification and version number information etc.
(3) UART[3:0] configuration register.Every road UART passage has inner UART configuration register as serial data transmission control and status information indication, all 4 groups of channel register embedded equipment configuration register space, its register configuration offset address is: UART[M]=0x00N00, wherein M represents channel position, N=2 * M.
2, GPS module
Adopt the GPS15L module of GARMIN company in this integrated circuit board, be responsible for catching, tracking satellite, receive, amplify, record gps signal and signal is separated mediation filtering processing, restore the navigation message that gps satellite sends, find the solution travel-time and the carrier phase difference of positioning signal between the station, obtain in real time navigation positioning data or adopt the mode of after logging process, obtain to locate, test the speed, the data such as timing.
GPS15L is the GPS receiver of 12 passages, namely can follow the tracks of simultaneously nearly 12 gps satellites, thereby can locate fast.GPS15L receiver power consumption is very little, data updating rate be per second once, its good performance can either satisfy the sensitivity demand of land navigation, also can satisfy the dynamic need of aircraft.In design, the GPS15L receiver has used up-to-date science and technology and high-caliber circuit integrated technology, is reaching high performance volume and the power consumption of having reduced simultaneously.The GPS15L receiver all extremely is easy to use from hardware and software, is fit to very much do the system integration.
The GPS15L receiver is by the pci bus power supply of the mainboard of PC/104 structure, and its voltage is 5V.2 RS-232 serial ports are arranged on the receiver, and one of them serial ports PORT1 is used for receiving instruction and the transmission of data; Another serial ports PORT2 is one-way communication, is used for receiving differential data, can improve its bearing accuracy after the difference, is less than 5 meters.Two serial ports on the receiver are connected with mainboard by two serial ports that pci bus UART chip is expanded out respectively.Its connection layout as shown in Figure 2.Its locator data information can be obtained by configuration software Snsrcfg.exe.
Because the serial ports level that pci bus UART chip is expanded out is TTL, the serial ports level of GPS receiver is RS-232, thus need to carry out level conversion when connecting, as shown in Figure 3.Adopt MAX3245 to realize level conversion in this integrated circuit board.Because RS-232 comes the presentation logic state with generating positive and negative voltage, and is different with the regulation of high-low level presentation logic state from TTL.Therefore, in order to connect with the TTL device of computer interface or terminal, must between RS-232 and TTL circuit, carry out the conversion of level and logical relation.Realize that the method for this conversion can use discrete component, also available integrated circuit (IC) chip.The MAX3245 of MAXIM company is for the standard that satisfies RS-232 designs, and has the advantages such as low in energy consumption, that baud rate is high, price is low.
3, Wi-Fi module
The RS9110-N-11-24Wi-Fi module that this integrated circuit board adopts Redpine Signals company to produce.RS9110-N-11-24 is a complete IEEE 802.11bgn wireless-device services device, can carry out exchanges data by serial line interface or SPI and miscellaneous equipment.It is integrated MAC, baseband processor, with radio-frequency (RF) transceiver and all protocol functions of WLAN (wireless local area network) of power amplifier, the network stack in the embedded firmware provides 802.11n WLAN (wireless local area network) solution for various application.Based on the RS9110 SOC (system on a chip) of Redpine Signals, comprise a flush bonding processor in the RS9110-N-11-24, it is connected the standard radio connection for equipment with system under open and safe mode.Such as commercial unit, medical electrical, POS equipment, sensor network and metering outfit, M2M (Machine to Machine) communication and Remote configuration are used.As wireless serial modem, RS9110-N-11-24 can create and be connected TCP and be connected with U DP, thus with low-power consumption and small area implementation various M2M use.
RS9110-N-11-24 has serial ports or two kinds of communication modes of SPI, and this integrated circuit board adopts serial communication, and a serial ports of expanding out by pci bus UART chip is connected with mainboard, and it is simple in structure, and connection layout as shown in Figure 4.The most important is resetting of Wi-Fi module among the present invention.When detecting the Wi-Fi module and break down, need to reset to module.This integrated circuit board adopts the software reset, an I/O mouth of pci bus UART chip is connected with the reseting pin of Wi-Fi module, by software configuration, the software reset that the low level that makes the reseting pin of Wi-Fi module continue at least 10ms just can realize module, the utilization factor of raising module.
GPS module in the present embodiment, Wi-Fi module and pci bus turn the RS-232 module and all have respectively mature modules, use simultaneously other existing modules also can realize the corresponding function of this integrated circuit board.
More than to a kind of integrated GPS﹠amp provided by the present invention; The multifunctional data acquisition card of WiFi describes in detail, has used specific embodiment herein principle of the present invention and embodiment are set forth, and the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications.In sum, this description should not be construed as limitation of the present invention.