CN202771535U - Automatic bus card swiping data collecting system - Google Patents

Automatic bus card swiping data collecting system Download PDF

Info

Publication number
CN202771535U
CN202771535U CN201220176245.6U CN201220176245U CN202771535U CN 202771535 U CN202771535 U CN 202771535U CN 201220176245 U CN201220176245 U CN 201220176245U CN 202771535 U CN202771535 U CN 202771535U
Authority
CN
China
Prior art keywords
microcontroller
module
bus
data
pos machine
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.)
Withdrawn - After Issue
Application number
CN201220176245.6U
Other languages
Chinese (zh)
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.)
SHANDONG SYNTHESIS ELECTRONIC TECHNOLOGY Co Ltd
Original Assignee
SHANDONG SYNTHESIS ELECTRONIC TECHNOLOGY Co Ltd
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 SHANDONG SYNTHESIS ELECTRONIC TECHNOLOGY Co Ltd filed Critical SHANDONG SYNTHESIS ELECTRONIC TECHNOLOGY Co Ltd
Priority to CN201220176245.6U priority Critical patent/CN202771535U/en
Application granted granted Critical
Publication of CN202771535U publication Critical patent/CN202771535U/en
Anticipated expiration legal-status Critical
Withdrawn - After Issue legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The utility model provides an automatic bus card swiping data collecting system; the system comprises a POS machine and a collecting terminal and is characterized in that a circuit of the POS machine comprises a first microcontroller, a radio frequency module and a radio module, wherein the radio frequency module communicates with a bus card; the radio module is used for uploading data and comprises a second microcontroller and a first radio transmitting and receiving module; the first microcontroller and the second microcontroller are connected with each other through a conversion module RS232 and a serial port conversion chip in sequence; and the collecting terminal comprises a third microcontroller and a second radio transmitting and receiving module which is matched with the first radio transmitting and receiving module. According to the utility model, as the radio module and the collecting terminal which is connected with a PC machine are arranged in the bus POS machine, the card swiping information in the POS machine is effectively transmitted to the PC machine, data in a parking place are collected without boundaries and manpower and material costs are reduced. According to the utility model, as the communication distance of the collecting system can reach 200 m, bus stops at a medium level and lower levels can be all covered by radio.

Description

Bus brushing card data automated collection systems
Technical field
The utility model relates to a kind of bus brushing card data automated collection systems, in particular, relates in particular to a kind of bus brushing card data automated collection systems that works in the wireless telecommunications wave band.
Background technology
Urban public tranlport system has penetrated into everyone life, work and trip as the part that the city is indispensable.As the charging terminal of public transport, public transport POS machine is every indispensable part of public transport.The POS charging terminal has the store-memory function, for now, the consumption data of mass transit card all is to be temporarily stored in the POS charging terminal, and waiting for bus turns back to the station or hands over every day after the car, and the station staff just gathers the data of every POS facility.
Mainly adopt at present wired connection and be connected two kinds of data acquisition modes of connection, all there is apparent in view shortcoming in these two kinds of data acquisition modes.For the wired connection acquisition mode, all need connecting line when carrying out data acquisition at every turn, grafting repeatedly may cause the problems such as interface damage.In the infrared connection acquisition mode since infrared itself, sunlight, infrared object etc. all can produce disturb infrared signal, cause easily the data that gather inaccurate.In addition, the common shortcoming of above-mentioned dual mode is to need artificial operations, and the POS machine of each bus is carried out data acquisition successively, and repetitive operation is a lot, consumes a large amount of human and material resources.
Summary of the invention
The utility model provides a kind of bus brushing card data automated collection systems that works in the wireless telecommunications wave band in order to overcome the shortcoming of above-mentioned technical matters.
Bus brushing card data automated collection systems of the present utility model, comprise the POS machine that is arranged on the bus and the acquisition terminal that links to each other with PC, its special feature is: the circuit of POS machine comprise the first microcontroller, with the wireless radio frequency modules of mass transit card communication and the wireless module that is used for uploading data, described wireless module comprises the second microcontroller and the first radio receiving transmitting module, and the first microcontroller is connected with the serial ports conversion chip by the RS232 modular converter successively with the second microcontroller; Described acquisition terminal comprises the 3rd microcontroller and the second radio receiving transmitting module that matches with the first radio receiving transmitting module.
First, second, and third microprocessor has information acquisition, computing and output function, can adopt single-chip microcomputer; The POS machine is realized the reading of mass transit card information carried out the transmission of card using information by wireless module by wireless radio frequency modules.PC is realized communication with the POS machine by coupled acquisition terminal.Be arranged at RS232 modular converter and serial ports conversion chip between first and second microcontroller, realize that respectively serial ports arrives the conversion of serial communication again to RS232, RS232, realized the card using information in the storer is sent by the first radio receiving transmitting module, acquisition terminal receives the data that the first radio receiving transmitting module sends by the second radio receiving transmitting module, and then has realized the automatic collection of PC to card using information.During use, distribute unique address for each POS machine, in order to realize addressing function.
Bus brushing card data automated collection systems of the present utility model, described RS232 modular converter comprises two-way RS232 change-over circuit, and one road RS232 is connected with the public transport station reporting instrument, and another road is connected to the input end of dpdt double-pole double-throw (DPDT) analog switch; The two-way output of analog switch is connected with the serial ports conversion chip with the infrared communication module respectively.One road RS232 is used for exporting the signal of calling out the stops; The control of another road by the dpdt double-pole double-throw (DPDT) analog switch can be chosen wireless module and send card using information, also optionally gets existing infrared communication module and carries out data transmit-receive.
Bus brushing card data automated collection systems of the present utility model, described the first microcontroller also is connected with the PSAM card reading module, and the PSAM card reading module is connected with four PSAM decks by the dpdt double-pole double-throw (DPDT) analog switch.A plurality of PSAM decks are set, can match with a plurality of PSAM cards, but the compatibility of Effective Raise public transport POS machine.
Bus brushing card data automated collection systems of the present utility model, described the 3rd microcontroller is connected with PC by USB serial ports conversion chip.Acquisition terminal links to each other with PC by USB interface commonly used.
The beneficial effects of the utility model are: the acquisition terminal of the utility model by wireless module being set and being connected with PC in public transport POS machine, effectively the card using information in the POS machine is sent in the PC, realize the accessible collection of data in the parking lot, greatly reduced the input of manpower and materials costs.The communication distance of acquisition system can reach 200 meters in the utility model, can realize wireless all standing for the bus station of low middling.
Description of drawings
Fig. 1 is the circuit theory diagrams of POS machine in the utility model;
Fig. 2 is the circuit theory diagrams of acquisition terminal in the utility model;
Fig. 3 is the circuit diagram of the first microcontroller in the POS machine;
Fig. 4 is the circuit diagram of wireless radio frequency modules;
Fig. 5 is the circuit diagram of PSAM card reading module;
Fig. 6 is the circuit diagram of RS232 modular converter;
Fig. 7 is the circuit diagram of analog switch 4;
Fig. 8 is the circuit diagram of the second microcontroller in the wireless module;
Fig. 9 is the circuit diagram of the first radio receiving transmitting module in the wireless module;
Figure 10 is the circuit diagram of serial ports conversion chip;
Figure 11 is the circuit diagram of the 3rd microcontroller in the acquisition terminal;
Figure 12 is the circuit diagram of the second radio receiving transmitting module and USB serial ports conversion chip in the acquisition terminal;
Figure 13 is the program flow diagram of POS pusher side;
Figure 14 is the program flow diagram of acquisition terminal side.
Among the figure: 1 first microcontroller, 2 wireless radio frequency modules, 3 RS232 modular converters, 4 analog switches, 5,6 wireless telecommunications analog interfaces, 7 serial ports conversion chips, 8 second microcontrollers, 9 first radio receiving transmitting modules, 10 PSAM card reading module, 11 analog switches, 12 the 3rd microcontrollers, 13 second radio receiving transmitting modules, 14 USB serial ports conversion chips, 15 PCs, 16 clock circuits, 17 power modules, 18 public transport station reporting instruments, 19 infrared communication modules, 20 storeies.
Embodiment
The utility model is described in further detail below in conjunction with accompanying drawing and embodiment.
As shown in Figure 1, provided the circuit theory diagrams of POS machine, it comprises the first microcontroller 1, wireless radio frequency modules 2, RS232 modular converter 3, analog switch 4, wireless module, clock circuit 16, power module 17, public transport station reporting instrument 18, infrared communication module 19, storer 20; Wireless module comprises the second microcontroller 8, the first radio receiving transmitting module 9, serial ports conversion chip 7.Clock circuit 16 is used for providing all the time pulse of work to the first microcontroller 1, and power module 17 is used for providing electric energy to whole system.The first microcontroller 1 is realized data acquisition, computing and output action, and it can adopt model is that the single-chip microcomputer of LM3S6911 is realized.Wireless radio frequency modules 2 is connected with the first microcontroller 1, realizes reading and write operation mass transit card information.Storer 20 is connected with the first microcontroller 1, realizes the storage to card using information.PSAM card reading module 10 all is connected with analog switch 11 with the first microcontroller 1, and analog switch 11 is the dpdt double-pole double-throw (DPDT) form, and is connected with four PSAM decks; The PSAM card is inserted in the PSAM deck, can realizes the deciphering effect; A plurality of PSAM decks are set, can carry out the expansion of public transport POS machine.
Wireless module is used for realization for the communication effect of acquisition terminal, and the second microprocessor 8 in the wireless module is also realized data acquisition, calculation process and control output action, and it can adopt model is the singlechip chip of ATMEGA8L.The second microcontroller 8 is converted into the communication form of RS232 by serial ports conversion chip 7 with the serial communication form, by being connected of wireless communication module interface 6 and wireless communication module interface 5, realizes the communication with the first microcontroller 1 again; The first microcontroller 1 is connected with wireless communication module interface 5 by the analog switch 4 of RS232 modular converter 3 and dpdt double-pole double-throw (DPDT) form successively.So just effectively the card using information in the storer 20 being sent to the second microcontroller 8, the second microcontrollers 8 carries out the transmission of data by the first radio receiving transmitting module 9 again.
Extremely shown in Figure 7 such as Fig. 3, provided respectively the circuit diagram of the first microcontroller 1, wireless radio frequency modules 2, PSAM card reading module 10, RS232 modular converter 3 and analog switch 4 in the POS machine, it is the chip of ATMEGA8L that microcontroller 1 adopts model, it is the chip of MFRC531 that wireless radio frequency modules 2 adopts model, in order to realize reading and writing of mass transit card information.It is the chip of DS8007 that the PSAM card reading module adopts model, and analog switch 11 adopts two SGM5018 chips, in order to realize the expansion of four road PSAM decks.It is the chip of SP3232EEA that RS232 modular converter 3 adopts model, in order to realize by the conversion of SPI communication mode to the RS232 communication mode, it is the dpdt double-pole double-throw (DPDT) analog switch of SGM3005 that analog switch 4 adopts model, in order to select between wireless module and infrared communication module 19.
Such as Fig. 8, Fig. 9 and shown in Figure 10, provided respectively the circuit diagram of the second microcontroller 8, the first radio receiving transmitting module 9 and serial ports conversion chip 7, it is the chip of ATMEGA8L that the second shown microcontroller 8 adopts model, it is the chip of NRF905 that the first radio receiving transmitting module 9 adopts model, in order to realize reception and the transmission of wireless data.It is the chip of PL2303HX that serial ports conversion chip 7 adopts model, in order to realize the conversion between SPI communication mode and the RS232 communication mode, has effectively realized the exchanges data of the first microcontroller 1 and the second microcontroller 8.
As shown in Figure 2, provided the circuit theory diagrams of acquisition terminal, it comprises the 3rd microcontroller 12, the second radio receiving transmitting module 13, USB serial ports conversion chip 14 and PC 15; Figure 11 and Figure 12 have provided the circuit diagram of the 3rd microcontroller 12 and the second radio receiving transmitting module 13 and USB serial ports conversion chip 14; It is the chip of ATMEGA8L that the 3rd microcontroller 12 adopts model, by the communication of USB serial ports conversion chip 14 realizations with PC 15.The second radio receiving transmitting module 13 cooperates realization with the first radio receiving transmitting module 9, in order to realize reception and the transmission of the data between PC and the POS machine.It is the chip of NRF905 that the second shown radio receiving transmitting module 13 also adopts model, and it is the chip of PL2303HX that USB serial ports conversion chip 14 also adopts model, in order to be connected by USB interface with PC.
Such as Figure 13 and shown in Figure 14, provided respectively the program flow diagram of POS pusher side and acquisition terminal side, specify the method that bus brushing card data of the present utility model gathers automatically in conjunction with program flow diagram,
The data transmission of POS pusher side may further comprise the steps:
A. after vehicle arrives at a station, activate the wireless module on the POS machine, so that it has the wireless data transceiving ability, and the addressing of wait acquisition terminal;
B. if any addressing information, whether be the machine, if not the machine, then continue to wait for addressed if then judging addressed;
If c. addressed is the machine, then send verification msg to acquisition terminal, in order to carry out authentication;
If d. the checking among the step b is passed through, the collection request that then sends according to acquisition terminal is uploaded to PC (15) with the card using information in the POS machine; Do not pass through such as checking, then re-start authentication;
E. whether information is uploaded and completely judged, if do not upload completely, then continue to transmit; Upload completely such as card using information, the temporal information that then provides according to acquisition terminal is revised this machine information, and upgrades blacklist;
The acquisition terminal side comprises following following steps:
1). circulation is carried out addressing to the address of public transport POS machine;
2). judge whether the POS machine address of receiving is legal, if illegal, then returns step 1); If be legal address, then send and verify by information to the POS machine;
3). send the request of collection to the POS machine, and gather the brushing card data in the POS machine;
4). judge whether the data collection is complete, if do not have completely, then proceed to receive; If gather completely, then send local zone time and blacklist information, in order to upgrade the POS machine data;
5). disconnection is connected the data acquisition process with the POS machine.
In the process of communication, adopt the radiowave of the 433MHz communication frequency band among the ISM as the communication carrier wave, use and work in the wireless module of this frequency range as communication module.All embed such wireless module every public transport POS inside, and give fixing wireless addressing address of each module assignment.At the place, bus station, an acquisition terminal is set, acquisition terminal is connected with the PC main frame of a special use.The PC end can be stored in database with data with corresponding process software, and the webmaster that also data communication device can be crossed appointment connects the clearing backstage that sends to public transport company, is used for the clearing of data.
After bus stops, the swipe the card collection of activation data of attendant in standing or driver, the wireless module of POS machine inside is opened, the wireless acquisition module of server end finds this to open the POS machine of wireless telecommunications by the mode of addressing, through shake hands early stage, after the authentication, just the record of swiping the card in the bus POS machine can be gathered automatically, realize simultaneously the synchronous of time, the operations such as blacklist download.After collection was finished, corresponding bus POS withdrawed from capture program automatically, the wireless module autoshutdown, and assurance does not affect other public transport POS data acquisition.
The realization of public transport POS end wireless telecommunications: with public transport POS machine with circuit wired or the infrared communication part remove, wireless communication module with a 433MHz substitutes, and can use RS232 or SPI interface that public transport POS is connected with wireless module.The wire casing of the antenna of wireless communication module below POS picks out, and is fixed to around the POS machine.Because antenna has suction-operated, be easy to be adsorbed onto on the object of metal material on every side.
The realization of collector end wireless telecommunications: the collector end is a product that designs separately, is connected with PC.Have real-time clock, can preserve the files such as data, blacklist of collection, and have management control function.Antenna adopts the omnidirectional antenna of large gain, uses coaxial cable antenna to be received the higher positions such as roof.
Public transport POS addressing code Design realizes: for each bus, according to the factor of the othernesses such as public bus network, the number-plate number, give unique numbering.Address field has the 16bit byte.Maximum has 65535 addresses to distribute, and satisfies existing bus management fully.Because the uniqueness of coding also can guarantee the data of the bus of non-our station are not gathered.Guarantee the unitarity of management.
Also can carry out wireless telecommunications Redundancy Design: ISM (Industrial Scientific Medical) frequency range, be defined by Radiocommunication Bureau of International Telecommunications Union.This frequency range mainly is open to industry, science, medical science, and three principal organ use, and belong to Free License, namely need not authorization, only need to observe certain emissive power (generally being lower than 1W), and do not cause interference to get final product to other frequency range.Since around may also can be temporarily or forever have 433MHz or near the interference source of frequency, need to adopt the measures such as anti-interference, encryption at the radiowave of communication, guarantee the effectively correct and reliable of data.In the realization of reality, at first the data Manchester's cde mode that will send is encoded, although the rate reduction of wireless telecommunications, the anti-interference of overall data is greatly improved.Simultaneously for the packet of each transmission, all distributed the numbering of progressively increasing, when receiving end was found to have data sequence number not corresponding, re-transmission that can request msg reduced indivedual packet losses to the impact of whole communication.Adopt the mode of parcel data transmission, when noisy on every side the time, relatively can reduce much with large bag data the impact of parcel data, make communication more stable.Increase handshake sequence at the wireless data front end in addition, carried out the work of input and address pairing by judging specific handshake sequence, masked the undesired signal data.
The design of station collector antenna: in order to guarantee that the collection success ratio of wireless data is higher AT STATION, the common reasonable omnidirectional antenna of selectivity, adopt high other power delivery and reception module of a level, generally antenna installation is arrived higher position, reduce as far as possible the interference of hamper between the antenna that gathers antenna and public transport POS.Because the public transport vehicle body is metal mostly, signal itself there is certain decay, by above-mentioned mode, can greatly reduce some unnecessary signal attenuations, guarantee the reliability of wireless data communication.

Claims (4)

1. bus brushing card data automated collection systems, comprise the POS machine that is arranged on the bus and the acquisition terminal that links to each other with PC (15), it is characterized in that: the circuit of POS machine comprise the first microcontroller (1), with the wireless radio frequency modules (2) of mass transit card communication and the wireless module that is used for uploading data, described wireless module comprises the second microcontroller (8) and the first radio receiving transmitting module (9), and the first microcontroller is connected with serial ports conversion chip (7) by RS232 modular converter (3) successively with the second microcontroller; The second radio receiving transmitting module (13) that described acquisition terminal comprises the 3rd microcontroller (12) and matches with the first radio receiving transmitting module.
2. bus brushing card data automated collection systems according to claim 1, it is characterized in that: described RS232 modular converter (3) comprises two-way RS232 change-over circuit, one road RS232 is connected with public transport station reporting instrument (18), and another road is connected to the input end of dpdt double-pole double-throw (DPDT) analog switch (4); The two-way output of analog switch (4) is connected with serial ports conversion chip (7) with infrared communication module (19) respectively.
3. bus brushing card data automated collection systems according to claim 1 and 2, it is characterized in that: described the first microcontroller (1) also is connected with PSAM card reading module (10), and the PSAM card reading module is connected with four PSAM decks by dpdt double-pole double-throw (DPDT) analog switch (11).
4. bus brushing card data automated collection systems according to claim 1 and 2, it is characterized in that: described the 3rd microcontroller (12) is connected with PC (15) by USB serial ports conversion chip (14).
CN201220176245.6U 2012-04-24 2012-04-24 Automatic bus card swiping data collecting system Withdrawn - After Issue CN202771535U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201220176245.6U CN202771535U (en) 2012-04-24 2012-04-24 Automatic bus card swiping data collecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201220176245.6U CN202771535U (en) 2012-04-24 2012-04-24 Automatic bus card swiping data collecting system

Publications (1)

Publication Number Publication Date
CN202771535U true CN202771535U (en) 2013-03-06

Family

ID=47778094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201220176245.6U Withdrawn - After Issue CN202771535U (en) 2012-04-24 2012-04-24 Automatic bus card swiping data collecting system

Country Status (1)

Country Link
CN (1) CN202771535U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663851A (en) * 2012-04-24 2012-09-12 山东神思电子技术股份有限公司 System and method for automatically acquiring card-swiping data of bus
CN107959506A (en) * 2017-11-30 2018-04-24 广州市贺氏办公设备有限公司 A kind of POS cash registers jamproof system and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663851A (en) * 2012-04-24 2012-09-12 山东神思电子技术股份有限公司 System and method for automatically acquiring card-swiping data of bus
CN107959506A (en) * 2017-11-30 2018-04-24 广州市贺氏办公设备有限公司 A kind of POS cash registers jamproof system and method
CN107959506B (en) * 2017-11-30 2024-02-06 广州市贺氏办公设备有限公司 POS cash register anti-interference system and method

Similar Documents

Publication Publication Date Title
CN102194309B (en) Low-voltage power line broadband carrier concentrator
CN103198528B (en) Method for park charging based on RSSI locating
CN102830279B (en) Data processing device used for electric energy meter and power consumption collector
CN112672319A (en) Road test system and equipment integrating ETC function
CN201556307U (en) Automatic bus station reporting device based on wireless radiofrequency communication technology
CN202771535U (en) Automatic bus card swiping data collecting system
CN102663851B (en) System and method for automatically acquiring card-reading data of bus
CN102122429A (en) Intelligent wireless meter reading device for electrical locomotive
CN203590262U (en) Internet of Things system based on middleware
CN102957473A (en) Circulation monitoring data management relay of urban network cable
CN202677599U (en) Self-adapting watt-hour meter collector
CN204886956U (en) Signal relay at power consumption information acquisition terminal
CN103280090B (en) Mobile acquisition control system and control method thereof
CN202929101U (en) Data processing device used for electric energy meter and electric gatherer
CN110212937B (en) Low-power-consumption module based on single Beidou module and multi-card data transmission mode
CN206741692U (en) The energy data extraction element of electric energy meter
CN105025594A (en) Long-distance internet of things data transmission system and wireless router thereof
CN202309775U (en) Noise data acquiring and transmitting system for airports
CN214846830U (en) Road side unit of electronic toll collection system
CN203563062U (en) Industrial vehicle-mounted communication base station capable of being compatible with various data interfaces
CN207603633U (en) Electric safety system Internet of Things data wireless transport module
CN202058294U (en) Ultrasonic nondestructive detecting system utilizing wireless data transmission
CN207475550U (en) A kind of 230MHz wireless telecommunications forward GPRS signal extender devices
CN207269225U (en) A kind of power line communications terminal
CN201638273U (en) Electronic toll collection handholding device

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
AV01 Patent right actively abandoned
AV01 Patent right actively abandoned
AV01 Patent right actively abandoned

Granted publication date: 20130306

Effective date of abandoning: 20140319

AV01 Patent right actively abandoned

Granted publication date: 20130306

Effective date of abandoning: 20140319