CN1114170C - Computer real-time data acquisition and processing system - Google Patents

Computer real-time data acquisition and processing system Download PDF

Info

Publication number
CN1114170C
CN1114170C CN98124514A CN98124514A CN1114170C CN 1114170 C CN1114170 C CN 1114170C CN 98124514 A CN98124514 A CN 98124514A CN 98124514 A CN98124514 A CN 98124514A CN 1114170 C CN1114170 C CN 1114170C
Authority
CN
China
Prior art keywords
pin
latch
links
phase inverter
expansion slot
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.)
Expired - Fee Related
Application number
CN98124514A
Other languages
Chinese (zh)
Other versions
CN1253345A (en
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.)
Institute of Physics of CAS
Original Assignee
Institute of Physics of CAS
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 Institute of Physics of CAS filed Critical Institute of Physics of CAS
Priority to CN98124514A priority Critical patent/CN1114170C/en
Publication of CN1253345A publication Critical patent/CN1253345A/en
Application granted granted Critical
Publication of CN1114170C publication Critical patent/CN1114170C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention relates to a system for real-time data acquisition and processing by using a computer. The present invention is a hardware part composed of ISA expansion slot of microcomputer, channel selection interface card, digital multimeter with IEEE-488 interface and IEEE-488 interface card. The software is written in Visual C + +, supported by a Chinese platform and operated under Win95 or WindowNT. The invention has 32 channels, can form a multi-channel measurement and processing system with a digital multimeter with an IEEE-488 interface, and can still process real-time data acquisition and processing systems of other affairs by a foreground when realizing real-time data acquisition of the background under the support of software.

Description

A kind of Computerized real-time data acquisition and disposal system
The present invention relates to computer realm, particularly appliance computer carries out the system of temperature, voltage real-time data acquisition and processing.
U.S. Keithley company produces a kind of nine channel temperature scanning card and a kind of ten passage programmed switch cards at present, can under Windows95, carry out multi-channel data acquisition and processing under the software support, the former can only measure temperature, the latter can measuring voltage, electric current and resistance etc., but they can only be inserted in 2000 types that Keithley company produces, 2001 types, the 2002 type instrument and use, and can not be inserted in the similar instrument that microcomputer or other company produce to use.The product brief introduction or the instructions of the visible U.S. of list of references Keithley company, the application of this product is restricted like this.
The objective of the invention is to realize that temperature and voltage and other can be converted to the automatic measurement and the processing of other analog quantity of voltage signal, thereby provide a kind of 32 passages that have, can form multi-channel measurement and disposal system with any one digital multimeter that has the IEEE-488 interface, and can realize real-time data acquisition in background under software is supported the time, the Computerized real-time data acquisition and the disposal system of other affairs still can be handled in the foreground.
Technical scheme of the present invention is finished like this:
Hardware of the present invention mainly is made of four parts, its 1. computing machine, and 2. channel selecting interface card 3. has the digital multimeter of IEEE-488 interface, 4.IEEE-488 interface card (referring to Fig. 1):
(1) the channel selecting interface is inserted in any one ISA expansion slot of computing machine, computer address bus, address enable line and read-write enable line are connected to decoding scheme by latch, link to each other with each passage control end by driving circuit then.
(2) the IEEE-488 interface card is inserted in other ISA expansion slot of computing machine, its IEEE-488 interface with the instrument of U.S. Keithley Model-2000 type digital multimeter or other any IEEE-488 of having interface is linked to each other by the IEEE-488 standard cable.
The positive and negative electrode of (3) 32 measurands is connected with the positive and negative input end of the instrument of KeithleyModel-2000 type digital multimeter or other any IEEE-488 of having interface by the positive and negative electrode of 32 respective channel respectively.This has just constituted notebook data hardware of data acquisition ingredient.
Circuit of the present invention connects following (referring to Fig. 2):
3 of eight D-latch U1,4,7,8 pin respectively with the A0 of ISA expansion slot, A1, A2, the A3 pin connects, the A4 pin of ISA expansion slot links to each other with 18 pin of eight D-latch U1, the A5 pin of ISA expansion slot is through eight input end Sheffer stroke gate U4, phase inverter U6:A links to each other with 11 pin of eight D-latch U1, the A6 pin of ISA expansion slot is through phase inverter U6:B, eight input end Sheffer stroke gate U4, phase inverter U6:A links to each other with 11 pin of eight D-latch U1, the A7 pin of ISA expansion slot is through switch S 1, phase inverter U6:E, then with the address enable line AEN pin of ISA expansion slot respectively through two input end Sheffer stroke gate U5:A, eight input end Sheffer stroke gate U4, phase inverter U6:A links to each other with 11 pin of eight D-latch U1, the A8 pin of ISA expansion slot is through phase inverter U6:D, eight input end Sheffer stroke gate U4, phase inverter U6:A links to each other with 11 pin of eight D-latch U1, the A9 pin of ISA expansion slot is through eight input end Sheffer stroke gate U4, phase inverter U6:A links to each other with 11 pin of eight D-latch U1, the reading enable line IOR pin and write enable line IOW pin of ISA expansion slot through switch S 2, phase inverter U6:C, eight input end Sheffer stroke gate U4, phase inverter U6:A links to each other with 11 pin of eight D-latch U1, code translator U2, the pin 20 of code translator U3,21,22,23 respectively with the pin 9 of eight D-latch U1,6,5,2 link to each other, 18 of 19 pin of eight D-latch U1 and code translator U2,19 pin link to each other, and 19 pin of eight D-latch U1 are through 18 of phase inverter U6:F and code translator U3 then, 19 pin link to each other.The pin 1,2,3,4,5,6,7,8,9,10,11,13,14,15,16,17 of code translator U2 and code translator U3 links to each other with the coil negative pole of relay J 1, J2...J32 through two phase inverters respectively, and the coil electrode of relay J 1, J2...J32 all is connected together with+5V power supply.One end of two normally opened contacts of relay J 1, J2...J32 all links to each other with the Model that has the IEEE-488 interface 2000 type digital multimeters or other input end that has the instrument of IEEE-488 interface of U.S. Keithley company, and the other end links to each other with 32 measurement points respectively.
The principle of work of channel selecting interface circuit of the present invention following (referring to Fig. 2): address setting is two groups, corresponding address 220H~23FH during switch SW 1 closure, corresponding address 2A0H~2BFH when switch SW 2 and SW3 are closed, every group of 32 addresses, corresponding 32 passages.Address setting is that two groups purpose is when clashing for fear of other integrated circuit board address in wherein a group address and computing machine, can use another group address.The corresponding measured signal of each passage, all passages all are connected on the instrument of the same IEEE-488 of having interface.Concrete that passage is opened, and is determined according to selected address by address decoding circuitry.In case determined selected passage, then measured signal will be read into computing machine via instrument by this passage.Address decoding circuitry is made up of a slice eight input end Sheffer stroke gate 74LS30 and two code translator 74LS154 and peripheral logical circuit (containing U6:A~U6:F and U5:A) thereof.Code translator 7,4LS,154 16 selects 1 code translator, can realize that with two code translator 7,4LS,154 32 select 1 function, 19 pin of latch U1 are linked to each other with 18,19 pin of code translator U2,19 pin with U1 link to each other with 18,19 pin of code translator U3 by a phase inverter then, can make respectively corresponding 16 the different addresses of two code translator 74LS154 like this, be 32 addresses altogether.For a certain address of choosing, code translator 74LS154 has only a unique low level output, is connected to the negative level of relay coil (positive 5V relay) behind two phase inverters.Though adopt two phase inverters and not add the phase inverter logic identical, add that the circuit of forming behind two phase inverters has improved driving force greatly.The positive pole of relay coil meets positive 5V.In elected during a certain address, the negative pole of corresponding relay coil is in low level, make the relay coil two ends add the voltage of approximate positive 5V, thereby two normal opened contacts of this relay are connected, and the code translator 74LS154 output terminal of other relay correspondence is owing to be high level all, behind two phase inverters, be still high level, the negative pole of pairing relay coil also is a high level, at this moment relay coil two ends institute making alive is approximately zero, therefore the contact of these relays all disconnects, just corresponding these passages are all closed, thereby have reached the unique purpose of measurement passage.
Because when occurring some address states on the PC address bus, this state retention time is quite short, so be added with a slice 74LS373 drive circuit chip of depositing with lock at the code translator front end.The address that can guarantee like this to choose is after address bus disappears, and decoder output still has correct address output, to guarantee that before sampled signal was read in computing machine, this paths was opened always.Make sampling and passage folding finish according to correct sequential.
For example, passage 1 corresponding address is 220H (during switch SW 1 closure) or 2A0H (when switch SW 2 and SW3 are closed), when wanting passage 1 to open, must make and go out current address 220H (switch SW 1 closure) on the address bus, its binary mode is 1000100000, be that A9~A0 pin on the ISA expansion slot is respectively 1,0,0,0,1,0,0,0,0,0, wherein 0 is low level, and 1 is high level.Low 4 bit address line A3~A0 pin are respectively 0,0,0,0, arrive the input end of code translator U2 and U3 by the chip for driving U1 that deposits with lock, then at this moment the output terminal 0 of code translator U2 promptly the 1st pin will become low level, this low level is connected to the negative pole of relay coil after by two phase inverters, makes the actuating of relay.This moment, other output terminal 1~15 of code translator U2 was high level, by not making the corresponding relays action behind two phase inverters.Because this moment, (when the address is 220H~22FH) A4 was a low level 0, be connected to Enable Pin 18 pin and 19 pin of code translator U2 by U1, institute is so that code translator U2 is in the work clothes attitude, A4 is connected to Enable Pin 18 pin and 19 pin of code translator U3 simultaneously by a phase inverter U6:F, at this moment Enable Pin 18 pin and 19 pin of code translator U3 are in high level, therefore, code translator U3 is under an embargo.When the address is 230H~23FH, A4 is that high level is 1, and at this moment Enable Pin 18 pin and 19 pin of code translator U2 are in high level, and code translator U2 is under an embargo, but A4 is low levels when arriving Enable Pin 18 pin of code translator U3 and 19 pin by phase inverter U6:F, so code translator U3 is in running order.Simultaneously, for the signal that makes A4~A0 can arrive code translator U2 and U3 by U1, must when going out current address, address bus make U1 in running order.When the address was 220H, A9~A5 was respectively 1,0,0,0,1, and address enable line AEN is 0, and read write command makes IOR or IOW be 0.A9 and A5 are high level 1 at this moment, directly be connected to the input end of eight input nand gate U4, A8 and A6 are low level 0 at this moment, be connected to the input end of U4 respectively by phase inverter U6:D and U6:B, A7 is that low level is (when the address is 220H~23FH) at this moment, be connected to Sheffer stroke gate U5:A by SW1, it with address enable signal AEN with non-again after be connected to the input end of U4.Like this, what obtain at eight input ends of U4 all is high level, what obtain at the output terminal of U4 with non-back again is low level, become high level through phase inverter U6:A again, be connected to Enable Pin 11 pin of U1, make U1 in running order, can guarantee that A4~A0 correctly passes to code translator U2 and U3 by U1, and before next address arrives, keep (latching) this state always.
The present invention will be further described below in conjunction with drawings and Examples.
Fig. 1 is a concrete enforcement block diagram of the present invention.
Fig. 2 is a hardware electrical schematic diagram of the present invention.
Fig. 3 is a software function module call graph of the present invention.
Fig. 4 is data acquisition and processing flow chart.
Fig. 5 is the raw data storage format figure of embodiment one.
The real-time display interface of curve when Fig. 6 is data acquisition.
Fig. 7 changes Keithley Model-2000 digital multimeter into done behind the Schlumberger Model 7150 type digital multimeters data acquisition example.
The specific embodiments of software of the present invention following (referring to Fig. 3 and Fig. 4):
The application software of native system is developed with Visual C++ Windows 95 times.The application software of measuring system is divided by function can be divided into data acquisition, coordinate system setting, conversion lookup, data processing tools and five modules of file.Comprise several little modules in each module again, finished different tasks respectively.What this software was set up is that a single document interface is called for short the SDI application program.It derives four main classes: document class, view, main frame window class, application class.Main program task distributes in these four main classes.Document class is the place of definition and initialization application's data variable; View is the place that all activities will take place.This software is mainly write code in view, these codes reflect the view that the user will see at screen, the coordinate system of this software for example, title, data presented curve or the like in real time, promptly the most main functional modules of this software will be finished and call to the code of view.This software makes the whole software Hanzify with Chinese Star and other Chinese environment.For the part that is connected with the IEEE-488 interface, select for use static library to operate on it.Static library can directly embed in the application program when compiling.This software has used the multithreading function when programming, therefore can realize the AM/BAM parallel running, promptly in the image data process, it can be pushed background acquisition, in a small icon that is shown as on the screen under the Windows 95, at this moment, the operator can carry out other work with computing machine, and data acquisition is unaffected.When the operator wants the restore data acquisition window, only need with click once the recovery button of small icon get final product.
Introduce the operational process of this software below in conjunction with Fig. 3 and Fig. 4.This software is after entering master routine, can select needed function by menu, the visible Fig. 3 of function and Fig. 6 can select different tasks under each menu, or directly click by the quick botton in the tool bar and to get final product (see figure 3), the Task Distribution in Here it is the process flow diagram.After selecting acquisition tasks, program at first enters the parameter setting dialog box.In this dialog box, need to set gather finish required path and the filename of back data deposit, then the type of selector channel and used digital multimeter.Select acquisition tasks more as required, voltage or temperature are perhaps gathered voltage and temperature simultaneously, if gather voltage and temperature simultaneously, then need specify which passage to gather voltage, which passage collecting temperature.After all parameter settings are good, upgrade view, withdraw from this window, enter capture program.When gathering beginning, at first instrument is carried out initialization, the initialization success then begins image data.If unsuccessful, then return error signal, prompting operation person.In gatherer process, data will be presented at the form of curve on the screen, and other has the window that can open or close at any time can be with the form video data of numerical value.If need allow capture program enter running background, then only need to get final product, and can recover by clicking small icon at any time with the top-right button that minimizes of mouse-click.Gather to finish the back Automatic Program data of the being gathered form with ASCII character is stored under the specified filename, after gatherer process is all over, can select whether to carry out other processing or withdraw from by menu.
Computerized real-time data acquisition of the present invention and disposal system, its channel selecting interface is inserted in the ISA expansion slot of computing machine, can form multichannel data acquisition system with any one instrument that has the IEEE-488 interface, an IEEE-488 interface is shared in 32 passage timesharing, connect easy, not limited by instrument, and can realize real-time data acquisition in background the time, other things still can be handled in the foreground.
Embodiment 1: according to composition measuring system shown in Figure 1, do In-Sn alloy diffusion coefficient and measure.The raw data storage format of gathering is seen Fig. 5, and preceding 11 row are file headers, are the data of being gathered since the 12nd row.The 0th row are acquisition times, and the 1st row to the 3rd row are temperature values, corresponding the 1st to the 3rd passage, and the 4th row to the 7th row are magnitudes of voltage, corresponding the 4th to the 7th passage.Fig. 6 is the real-time display interface when utilizing the data acquisition that screen hard copy obtains.The left side longitudinal axis is a temperature axis, and the right side longitudinal axis is a voltage axis.Before collection, can in the parameter setting window, select, or independent collecting temperature, or gather voltage separately, or carry out two kinds of collections simultaneously.Carry out temperature and voltage acquisition simultaneously if select, then should select which passage collecting temperature when parameter setting, which gathers voltage.When gathering, program is presented on the screen after can respectively two kinds of data being handled respectively according to channel number in real time.Curve 1,2,3 is that passage 1,2,3 is collecting temperature in this example, and curve 4,5,6,7 is that passage 4,5,6,7 is for gathering voltage.
Embodiment 2: according to composition measuring system shown in Figure 1, but Keithley Model 2000 type digital multimeters that will be wherein are changed to Schlumberger Model 7150 type digital multimeters, do the small-sized liquid furnace temperature field distribution measurement of quenching.Fig. 7 is the small-sized liquid screen hard copy figure of furnace temperature field distribution actual measurement profile that quenches, shared 10 passages, corresponding respectively 10 thermopairs that are placed on diverse location on the stove axis.

Claims (2)

1. Computerized real-time data acquisition and disposal system, it is characterized in that ISA expansion slot by microcomputer, link to each other with measured object via the channel selecting interface circuit, the IEEE-488 interface circuit connects by the IEEE-4888 standard cable, and 32 measurand positive and negative electrodes are connected with the positive and negative input end of digital multimeter by the positive and negative electrode of 32 respective channel respectively;
Wherein 3 of eight D-latch U1 in the channel selecting interface circuit, 4,7, the A0 of 8 pin and ISA expansion slot, A1, A2, the A3 pin connects, the A4 pin of ISA expansion slot links to each other with 18 pin of eight D-latch U1, the A5 pin of ISA expansion slot is through eight input end Sheffer stroke gate U4, phase inverter U6:A links to each other with 11 pin of eight D-latch U1, the A6 pin of ISA expansion slot is through phase inverter U6:B, eight input end Sheffer stroke gate U4, phase inverter U6:A links to each other with 11 pin of eight D-latch U1, the A7 pin of ISA expansion slot is through switch S 1, phase inverter U6:E, then with the AEN pin of ISA expansion slot jointly through two input end Sheffer stroke gate U5:A, eight input end Sheffer stroke gate U4, phase inverter U6:A links to each other with 11 pin of eight D-latch U1, the A8 pin of ISA expansion slot is through U6:D, eight input end Sheffer stroke gate U4, phase inverter U6:A links to each other with 11 pin of eight D-latch U1, the A9 pin of ISA expansion slot is through eight input end Sheffer stroke gate U4, phase inverter U6:A links to each other with 11 pin of eight D-latch U1, the IOR pin of ISA expansion slot and IOW pin are through switch S 2, phase inverter U6:C, eight input end Sheffer stroke gate U4, phase inverter U6:A links to each other with 11 pin of eight D-latch U1, code translator U2, the pin 20 of code translator U3,21,22,23 respectively with the pin 9 of eight D-latch U1,6,5,2 link to each other, 18 of 19 pin of eight D-latch U1 and code translator U2,19 pin link to each other, and 19 pin of eight D-latch U1 are through 18 of phase inverter U6:F and code translator U3 then, 19 pin link to each other;
Wherein the pin 1,2,3,4,5,6,7,8,9,10,11,13,14,15,16,17 of code translator U2 and code translator U3 links to each other with the coil negative pole of relay J 1, J2...J32 through two phase inverters respectively, the coil electrode of relay J 1, J2...J32 all is connected together with+5V power supply, one end of two normally opened contacts of relay J 1, J2...J32 all links to each other with the input end of the instrument that has the IEEE-488 interface, and the other end links to each other with 32 measurement points respectively.
2, by described Computerized real-time data acquisition of claim 1 and disposal system, it is characterized in that: 2000 type digital multimeters of described U.S. Keithley company can be replaced by other instrument that has the IEEE-488 interface.
CN98124514A 1998-11-10 1998-11-10 Computer real-time data acquisition and processing system Expired - Fee Related CN1114170C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN98124514A CN1114170C (en) 1998-11-10 1998-11-10 Computer real-time data acquisition and processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN98124514A CN1114170C (en) 1998-11-10 1998-11-10 Computer real-time data acquisition and processing system

Publications (2)

Publication Number Publication Date
CN1253345A CN1253345A (en) 2000-05-17
CN1114170C true CN1114170C (en) 2003-07-09

Family

ID=5228686

Family Applications (1)

Application Number Title Priority Date Filing Date
CN98124514A Expired - Fee Related CN1114170C (en) 1998-11-10 1998-11-10 Computer real-time data acquisition and processing system

Country Status (1)

Country Link
CN (1) CN1114170C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100498312C (en) * 2004-02-18 2009-06-10 中国科学院金属研究所 In site precision measuring method for material temperature and application in researching of material deformation

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297650B (en) * 2013-06-21 2016-08-17 南京长鹏光电科技有限公司 A kind of high bat projection arrangement based on computer background work and control method
CN104459572B (en) * 2013-09-24 2017-10-13 中国科学院上海微系统与信息技术研究所 Superconductive quantum interference sensor-based system based on multichannel
CN111781869B (en) * 2020-06-10 2021-07-09 上海空间电源研究所 High-reliability satellite power supply controller matrix instruction system and control method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100498312C (en) * 2004-02-18 2009-06-10 中国科学院金属研究所 In site precision measuring method for material temperature and application in researching of material deformation

Also Published As

Publication number Publication date
CN1253345A (en) 2000-05-17

Similar Documents

Publication Publication Date Title
US7631295B2 (en) Function specific graphical program property nodes
US8078980B2 (en) User defined wire appearance indicating communication functionality in a graphical programming environment
CN101156153B (en) System and apparatus for in-system programming
US20030234802A1 (en) Specifying timing and triggering functionality in a graphical program using graphical program nodes
US8539443B2 (en) Edit time analyzer in a loosely typed textual language
US8074177B2 (en) User defined wire appearance indicating data type in a graphical programming environment
US20090293044A1 (en) Graphical Program Code Coverage
WO2001014969A1 (en) Software rehosting system and method
US4097797A (en) Apparatus for testing electrical circuit units such as printed circuit cards
CN1114170C (en) Computer real-time data acquisition and processing system
US5764507A (en) Programmable controller with personal computerized ladder diagram
CN2769895Y (en) Automatic recording device for on-line industrial equipment operating data and fault data
CN205539239U (en) Testing device
CN107154675B (en) Single bus communication system and method applied to medium-high voltage SVG
CN2884656Y (en) Simulator for testing power loading management terminal communication
US20020138227A1 (en) Data computation apparatus and method for using the data computation apparatus for adjustment of electronic controller
US20170300303A1 (en) Linear Programming Formulation for Incremental Layout in a Graphical Program
CN1067166C (en) Programmable monitor system using personal computer to make up step diagram
CN105608806B (en) Information processing unit
CN2284963Y (en) Portable multi-functional and expandable digital circuit tester
CN1165844C (en) Method for determining software module testing information of digital equipment
Soni et al. Fault Analysis of Electric Power System using PLC and Wireless Communication System
CN208027134U (en) A kind of multi-shaft interlocked control device
CN1794200A (en) Sequencer and method for sequencing
CN1022868C (en) Real-time feedback and processing system of education informations

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee