The filling machine of band USB storage transmission module
Technical field
The utility model relates to a kind of filling machine with USB storage transmission module.
Background technique
Along with user's requirement is more and more higher, the management of gas station is automation and improvement day by day also, because often there are a lot of platform filling machines in a gas station, automatically manage and to adopt network to cooperate, by the control of many filling machines of a central control unit realization, realization inquiry, monitoring, IC-card are unified functions such as granting, management, user management.At present, these functions all realize in existing C NG refueling system, but can only carry out mutual file and exchanges data by PC.Do not have PC, these functions just " malfunctioning " (with regard to the function of exchanges data).Along with CNG aerating storage data volume is increasing, the requirement of gas station management is also more and more higher, be mainly reflected in the high accuracy, reliability and the fabulous mobility that require data, can quickly and easily data be sent to processing center and carry out processing control or the PC of oneself confession inquiry and monitoring etc.But also directly moving and handling on present CNG filling machine from the enterprising line data of hardware.Generally be data to be sent to central manager, generate data file from central manager then by middle control, well-known, from the system of filling machine transfer data to central manager be subjected to influence of various factors easily and cause misinformation, fall to pass, wrong pass etc.Can not guarantee at every turn all hundred-percent correctness,, be related to employee's the working condition and the economic benefits of whole gas station, therefore any mistake can not occur based on the significance of these data.
Along with developing rapidly that observation and control technology and embedded system are used, interface USB (USB) just progressively gos deep into every field based on plug and play, live inserting and pulling, easy advantage such as expansion and high transfer rate, is bringing into play the effect of its uniqueness.But in present CNG filling machine field application corresponding does not appear.
The model utility content
In view of this, the utility model provides a kind of filling machine with USB storage transmission module, by integration USB Host function in the embedded system of filling machine, make it to have the ability of carrying out data transmission with USB Slave equipment, thereby accurate collection, the storage of being convenient to data are also convenient, save time simultaneously.
The purpose of this utility model provides a kind of filling machine with USB storage transmission module, the inside of described filling machine is provided with flush bonding processor, described flush bonding processor is connected with storage unit, described filling machine also comprises USB storage transmission module, described USB storage transmission module is connected with flush bonding processor, is used for the USB storage medium that all kinds of aerating data transmission of filling machine are extremely outside.
Further, described USB storage transmission module comprises UART interface circuit I, UART interface circuit II and USB controlling output circuit, described UART interface circuit I is connected with the USB controlling output circuit respectively with after embedded scm is connected with UART interface circuit II again, is extended to two universal asynchronous serial communications;
Further, described flush bonding processor adopts DSPIC30F6014A chip and general peripheral circuit thereof, described UART interface circuit adopts MAX3100EEE chip and general peripheral circuit thereof, wherein, the DIN of the MAX3100EEE chip of UART interface circuit I, DOUNT, SCLK, CS1, the input of IRQ1 respectively with 46 pin of DSPIC30F6014A chip, 44 pin, 43 pin, 54 pin, 53 pin are connected, the DIN of the MAX3100EEE chip of UART interface circuit II, DOUNT, SCLK, CS2, the input of IRQ2 respectively with 46 pin of DSPIC30F6014A chip, 44 pin, 43 pin, 38 pin, 52 pin are connected;
Further, described USB controlling output circuit adopts MAX202ESE chip and general peripheral circuit thereof, and the T1-I of described MAX202ESE chip, T1-O pin are connected with TX, the RX pin of the MAX3100EEE chip of UART interface circuit I; The T2-I of described MAX202ESE chip, T2-O pin are connected with TX, the RX pin of the MAX3100EEE chip of UART interface circuit II;
Further, described filling machine also is connected with printing device, and the T3-I of described MAX202ESE chip, T3-O pin provide print signal as output terminal for printer.
The beneficial effects of the utility model are:
The utility model is by increasing USB storage transmission module on the existing hardware basis at filling machine, advantages such as USB plug and play, support live inserting and pulling have been made full use of, the aerating record no longer need generate on PC, no matter filling machine is in section any time, operator extract the aerating record by this interface at any time, also convenient thereby thereby accurate collection, the storage of being convenient to data are read, the time of having saved operator simultaneously.
Other advantages of the present utility model, target, to set forth in the following description to a certain extent with feature, and to a certain extent, based on being conspicuous to those skilled in the art, perhaps can from practice of the present utility model, obtain instruction to investigating hereinafter.Target of the present utility model and other advantages can realize and obtain by following specification and claims.
Description of drawings
In order to make the purpose of this utility model, technological scheme and advantage clearer, below in conjunction with accompanying drawing the utility model is described in further detail, wherein:
Fig. 1 is the connection diagram of USB storage transmission module;
Fig. 2 is a DSPIC30F6014A pin of chip structural drawing;
Fig. 3 is a MAX3100EEE pin of chip structural drawing;
Fig. 4 is a MAX202ESE pin of chip structural drawing.
Embodiment
Hereinafter with reference to accompanying drawing, preferred embodiment of the present utility model is described in detail.Should be appreciated that preferred embodiment only for the utility model is described, rather than in order to limit protection domain of the present utility model.
As shown in Figure 1, inside at filling machine of the present utility model is provided with flush bonding processor 1, flush bonding processor is connected with storage unit, filling machine also comprises USB storage transmission module, USB storage transmission module is connected with flush bonding processor 1, is used for the USB storage medium 5 that all kinds of aerating data transmission of filling machine are extremely outside.
USB storage transmission module comprises UART interface circuit I 2, UART interface circuit II 3 and a USB controlling output circuit 4, UART interface circuit I 2 is connected with USB controlling output circuit 4 respectively with after embedded scm 1 is connected with UART interface circuit II 3 again, be extended to two universal asynchronous serial communications, outside storage medium 5 adopts interrupt mode to realize data extract.
As Fig. 2, shown in Figure 3, flush bonding processor 1 adopts the DSPIC30F6014A chip, UART interface circuit I 2 and UART interface circuit II 3 all adopt MAX3100EEE chip and general peripheral circuit thereof, the DIN of the MAX3100EEE chip of UART interface circuit I 2, DOUNT, SCLK, CS1, the IRQ1 pin respectively with 46 pin of DSPIC30F6014A chip, 44 pin, 43 pin, 54 pin, 53 pin are connected, the DIN of the MAX3100EEE chip of UART interface circuit II 3, DOUNT, SCLK, CS2, the IRQ2 pin respectively with 46 pin of DSPIC30F6014A chip, 44 pin, 43 pin, 38 pin, 52 pin are connected.
As shown in Figure 4, USB controlling output circuit 4 adopts MAX202ESE chip and general peripheral circuit thereof, and the T1-I of MAX202ESE chip, T1-O pin are connected with TX, the RX pin of the MAX3100EEE chip of UART interface circuit I 2; The T2-I of MAX202ESE chip, T2-O pin are connected with TX, the RX pin of the MAX3100EEE chip of UART interface circuit II 3.
Filling machine also is connected with printing device, and the T3-I of MAX202ESE chip, T3-O pin provide print signal as output terminal for printer.
After increasing USB storage transmission module on the filling machine, operator can utilize USB flash disk to pass through this module at any time and extract the aerating record, and the aerating record no longer need generate on PC.When carrying out teams and groups' handing-over.Can directly insert interface with USB flash disk and store record on duty, no matter when change shifts, the record the when data in everyone USB flash disk are exactly own on duty all extracts data thereby needn't relieve at every turn.When the manager of gas station need monitor and inquire about data,, can also directly on hardware, extract all data that will inquire about and records except at the enterprising line operate of PC.The wrong biography occur if aerating employee aerating on duty is recorded in PC, fall to pass, during situation such as misinformation, many biography,, can inquire about personnel on duty this moment and verify with the mistake of USB flash disk extraction because these mistakes all can't be carried out real-time verification on PC.The filling machine of employing USB storage transmission module provides strong guarantee means for the preservation and the economic balance of whole aerating data.
Explanation is at last, above embodiment is only unrestricted in order to the explanation the technical solution of the utility model, although the utility model is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement the technical solution of the utility model, and not breaking away from the aim and the scope of the technical program, it all should be encompassed in the middle of the claim scope of the present utility model.