Summary of the invention
Fundamental purpose of the present invention provides a kind of liquid level data harvester, and the liquid level of special collection liquid hold-up vessel, the interface of different quality liquid, the measurement data of temperature are so that supply with computing machine or other equipment shows or other processing.
Described harvester comprises a CPU and memory cell, safety barrier unit, shaping comparison and the measuring unit of pulse width, one or more output (or input and output) unit.The measuring unit of a described safety barrier unit, shaping comparison and pulse width, one or a plurality of output (or input and output) unit links to each other with described CPU respectively and controlled by CPU; Described safety barrier unit stop voltage and electric current shield, and in a plurality of surveying instruments that the gating interface inserts under the control of CPU one, and the signal of surveying instrument is input to safety barrier, the signal of safety barrier unit output exports coupled described shaping to relatively and the measuring unit of pulse width; The digital pulse signal that the measuring unit of described shaping comparison and pulse width is used for surveying instrument is gathered carries out shaping, and to the measurement of the pulse width that surveying instrument transmitted after the shaping; And exporting the pulse width data of the measuring unit of described shaping comparison and pulse width output to coupled described CPU and memory cell, this pulse width is writing down corresponding liquid level or temperature.Described CPU and memory cell carry out computing with pulse width data, export result to coupled at least one or a plurality of output or input-output unit; Described surveying instrument is a magnetostrictive liquid level sensor.Described output or input-output unit can link to each other with equipment such as computing machine or other demonstrations, keyboards.Output (input and output) unit comprises following several mode: input-output unit 1 adopts RS-232 interface, input-output unit 2 adopts 485 interfaces, input-output unit 3 adopts USB interface, and input-output unit 4 adopts I/O, parallel port data-interface, and input-output unit 5 adopts network interface.
The data acquisition and the control system of disperseing adopted in global design of the present invention, characteristics with plug and play, any refuelling station, oil depot or fluid storage jar have been installed device of the present invention, the magnetostrictive liquid level sensor that uses this device to use, just can carry out operate as normal as long as connect with the mains, just can link to each other and show that all want data presented with one or a plurality of equipment, the present invention can improve robotization, the level of IT application of oil product sale enterprise, improves enterprise efficiency simultaneously, reduces the stock, strengthens the whole enterprise competitive power.The present invention has insert liquid crystal and key board unit in input-output unit after:
1: all interfaces are Chinese and show, Chinese shows that the close friend is directly perceived, is simple and easy to usefulness,
2: simple to operation clear, be prerequisite with Chinese display interface, convenience, directly perceived, simple and direct, clear operates; More be tending towards the simplification operated
3: this device of the characteristics of plug and play also has the characteristics of plug and play, and any oil station, oil depot have been installed this device and respective sensor, just can carry out operate as normal as long as connect with the mains, and just can show that all want data presented
4: superpower ease for use, the characteristics of simple, convenient, directly perceived and plug and play, the application that makes the RTL-68K controller more extensively, more simple
Embodiment
Below in conjunction with accompanying drawing, the utility model is described as follows by specific embodiment:
Fig. 1 is the structural representation of described automatic acquisition device, comprises a CPU and memory cell, safety barrier unit, shaping comparison and the measuring unit of pulse width, one or more output (or input and output) unit.
Power unit is transformed into the 220V AC power+the 5V direct supply and+the 24V direct supply, + 5V direct supply is a working power of supplying with all modules, + 24V direct supply is a working power of supplying with the PATRIOT/7100M magnetostrictive liquid level sensor, as shown in Figure 2, wherein the float of PATRIOT/7100M magnetostrictive liquid level sensor is to determine concrete liquid position height, float is just represented the height (float is to swim on the liquid level) of liquid in the position of magnetostrictive liquid level sensor, two floats of the supporting use of each magnetostrictive liquid level sensor, fixed mount are fixing magnetostrictive liquid level sensors in oil tank.The content of transmission signals comprises: the data of the height of two floats, the data of temperature
Under the control of CPU to safety barrier, in a plurality of magnetostrictive liquid level sensors of samsara gating access one in proper order,, CPU is a high level to the gating signal of this magnetostrictive liquid level sensor, interior at one time CPU one of them in can only a plurality of magnetostrictive liquid level sensors of gating, all the other control signals that there are not gating are low levels.
Safety barrier shields, and is shown in Figure 6 as Fig. 3, and input protection electric current and voltage scope prevents that at Uo=30V DC, Io=160mA the current/voltage that overruns is incorporated into liquid storage container and ignites storage of liquids.Safety barrier receives the output signal of magnetostrictive liquid level sensor, and the input of safety barrier, output waveform are with a kind of waveform.The input end of safety barrier inserts the PATRIOT/7100M magnetostrictive liquid level sensor.
The measuring unit of shaping comparison and pulse width, the shaping rating unit is the shaping to the magnetostrictive liquid level sensor pulse signal, and is as Fig. 4, shown in Figure 7, the signal amplitude of original+25V is changed into+the 5V signal amplitude, and the input signal of shaping comparison is the output signal of safety barrier; The input signal of the measure portion of pulse width is a shaping output signal relatively, the measure portion of pulse width is finished the measurement to the magnetostrictive liquid level sensor pulse width, and the measure portion of pulse width is exported to CPU to magnetostrictive liquid level sensor pulse width (this width record corresponding liquid level or temperature) data;
CPU obtains the data of the magnetostrictive liquid level sensor pulse width that data counts partly exports, by computing, finally by 1 or a plurality of output (input and output) unit outwards transmit data.As shown in Figure 5.
Described output (input and output) unit is the interface of CPU and outside input-output device transmission data, is divided into following several types: output (input and output) unit 1: adopt RS-232 interface; Output (input and output) unit 2: adopt 485 interfaces; Output (input and output) unit 3: adopt USB interface; Output (input and output) unit 4: adopt I/O, parallel port data-interface; Output (input and output) unit 5: adopt network interface.By the characteristics of input-output unit 4, the self-control keyboard of having invented 43 Ж 4 matrix keyboards for example is as input equipment, and LCDs is as input, the output unit of output device, and is as Fig. 9, shown in Figure 10.
Automatic acquisition device can show the oil level of each oil tank, water level, temperature, stock and surplus sky, its display mode has two interfaces to finish, as shown in Figure 8, the oil level that first interface display is some jar, the stock, surplus sky, the related content of checking other oil tanks can be by numerical key, the oil level that for example shows No. 4 oil tanks respectively by No. 4 keys, the stock, surplus sky, the oil level that shows No. 5 oil tanks by No. 5 keys respectively, the stock, surplus sky, other which jar by that analogy, this is only to different jars oil level, the display mode of stock and surplus sky, if check the water level and the temperature of different jars, can show second display interface by the final election key shown in upward arrow, displaying contents comprises water level and temperature, the related content of checking other oil tanks can be by numerical key, the water level and the temperature that for example show No. 4 oil tanks respectively by No. 4 keys, the water level and the temperature that just show No. 5 oil tanks by No. 5 keys, other jar by that analogy, if demonstration oil level, stock and surplus sky can show by the final election key shown in upward arrow
First display interface,
Described password setting is in order effectively to carry out the management to the refuelling station, and this automatic acquisition device has the cryptographic function of unique authority, in order to avoid the caused mistake of non-management employee's maloperation.Chief leading cadre person or technician by the refuelling station carry out Password Management.After the interface occurring as above, any 6 bit digital of input 0-9 that can circulate make up to determine your password, after having imported six figure places, press corresponding definite key, carrying out password preserves, can enter again by the corresponding modification cryptographic key and to carry out password setting again, can turn back to display menu by return key and enter other parameters when being provided with, at first must input password just can enter, also comprise the speed setting, the effect that speed is provided with: the detector in each jar all indicates unique speed and sequence number, and the speed of detector is just determining the accuracy of video data, so have only be provided with accurately each jar the speed of corresponding detector, could guarantee the sequence number of each detector of accuracy of video data and the top that speed all is marked on detector, and sequence number is made up of 10 bit digital, speed is made up of 4 bit digital, select corresponding jar number by numerical key 1-8, the sequence number and the speed that use the same method each jar can be set, can withdraw from sequence number by return key, speed is provided with the interface, also comprise the liquid level setting, the effect of liquid level setting is in order to show the data of each oil tank more accurately, usually to measure the oil level of each oil tank and the height of water level with the way of manual measurement earlier, the initial value that is used as being input to controller is by the corresponding setting innage or water Gao Jian is set, just can import corresponding innage or water height by numerical key, after the high input of innage or water finishes, must preserve innage or preserve water Gao Jian by corresponding, can preserve and come into force, innage of each jar and water height must can carry out the liquid level setting by manual measurement in advance and select pairing jar number by selecting numerical key 1-8, the innage and the water height that use the same method each filling can be set, can withdraw from sequence number by return key, speed is provided with the interface, also comprising reports to the police is provided with, the effect that is provided with of reporting to the police is in order better to carry out the management of each oil tank security, need be to the high oil level of oil tank, low oil level, high water stage carries out relevant alarm with high-temperature, the setting of reporting to the police is exactly that the high oil level of each oil tank is set, low oil level, the concrete data of high water stage and high-temperature are reported to the police by the high oil level of corresponding setting or the low oil level alarm keys are set, just can import corresponding high oil level or low oil level data by numerical key, after the input of high oil level or low oil level data finishes, must preserve high oil level data or preserve the low oil level data key by corresponding, can preserve and to preserve data by corresponding preservation key after the input of the high oil level of each jar that come into force and low oil level data finishes and to preserve to come into force and selecting high water-level alarm or high-temperature alarm keys, can remove corresponding data, show that simultaneously preserving prompting preserves the new data of importing, it is size for what and the surplus sky that can demonstrate oil mass in each jar that jar is installed with the effect of putting, by the gage table of different jars is set, just can demonstrate the size of what and surplus sky of oil mass in each jar in good time, different jars can call different jars gage table, so carry out the gage table setting and be exactly and different jars is set specifically will calls which gage table and count to be provided with and certain jar will be set exactly will import what points, key is set by selecting to count can count with the numerical key input, to count by corresponding preservation after input finishes and to come into force after key is preserved, (1) each jar count can import at most 50 points (2) count input will to preserve 7 spacings that can come into force be unit with the centimetre by preserving key after finishing, the input method of spacing is with the same remarks of input method of counting: the spacing of (1) each jar can be after selecting the input of (2) spacing to finish between the digital 1-9 will be preserved to come into force and 8 selects to be provided with by numerical key 1-8 and count and the jar of spacing by preserving key, with said method counting of all jars and spacing can be set simultaneously, count and after spacing 9 imported counting of certain jar and spacing will importing earlier before each jar input data, select enter key to import the gage table data, the effect that oil product is selected: in order better to carry out the unitarity management of each oil tank and oil product, need to select the 95# oil product to the oil product setting of oil tank, press earlier the oil product options button, select the 95# oil product by numerical key " 3 " key again, can preserve by the preservation key and come into force selecting to finish the back, alarm is meant when being provided with warning, and the alarm that is produced when satisfying alert if, the warning setting option of setting operation of specifically reporting to the police referring to 3.2.1.3; Alarm comprises that (Chinese character display alarm and audible alarm on the liquid crystal) is if be provided with oil level, water level, temperature alarming also just occurs the alarm shown in the last figure when satisfying alert if, last figure illustrates the oil level and the temperature superelevation of No. 1 jar respectively, water level is ultralow, the alarm lamp flashes with alarm sound and points out simultaneously, can check the alarm condition of other oil tanks by numerical key 1-8, can be directly can illustrate by the cancellation alarm keys as cancelling alarm sound: after by the cancellation alarm keys, perhaps chimes of doom also will continue 1-3 time can stop remarks: at the default conditions of the setting of reporting to the police or be set to represent to close warning at 0 o'clock.