CN101630461B - Electronic measuring and teaching device and using method thereof - Google Patents

Electronic measuring and teaching device and using method thereof Download PDF

Info

Publication number
CN101630461B
CN101630461B CN2009100911954A CN200910091195A CN101630461B CN 101630461 B CN101630461 B CN 101630461B CN 2009100911954 A CN2009100911954 A CN 2009100911954A CN 200910091195 A CN200910091195 A CN 200910091195A CN 101630461 B CN101630461 B CN 101630461B
Authority
CN
China
Prior art keywords
tseudo circuit
interface
analog hardware
circuit interface
interface module
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
CN2009100911954A
Other languages
Chinese (zh)
Other versions
CN101630461A (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.)
Beihang University
Original Assignee
Beihang University
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 Beihang University filed Critical Beihang University
Priority to CN2009100911954A priority Critical patent/CN101630461B/en
Publication of CN101630461A publication Critical patent/CN101630461A/en
Application granted granted Critical
Publication of CN101630461B publication Critical patent/CN101630461B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an electronic measuring and teaching device and a using method thereof, and the device comprises a computer system, an analog hardware interface module and an external bus. The device utilizes a computer simulation means for providing a virtual display environment for an electronic measuring experiment and utilizes the analog hardware interface module for providing a hardware operation environment for the electronic measuring experiment. Firstly, the procurement cost and the maintenance cost of the electronic measuring and teaching device are reduced, secondly, experiment content which can not be provided by the original electronic measuring and teaching device is provided, additionally, the conversion and the upgrading of functions of the experiment content are easy to carry out, thereby improving the level of electronic measurement and the relevant course teaching and the teaching effect. Students can master basic theoretical knowledge and practical applications of a plurality of aspects of principles of electronic measuring equipment by self-analysis and practical operation learning on the electronic measuring and teaching device.

Description

A kind of electronic measuring and teaching device and using method thereof
Technical field
The invention belongs to the virtual instrument technique field, be specifically related to a kind of electronic measuring and teaching device and using method thereof.
Background technology
Present all kinds of universities and colleges have extensively carried out electronic surveying and correlated curriculum.For improving teaching efficiency, cultivating students'ability for practice, all kinds of universities and colleges have also carried out the electronic surveying experimental teaching synchronously.The electronic surveying teaching experiment environment is the basis of carrying out the electronic surveying experimental teaching, conditional electronic MEASUREMENT TEACHING experimental situation is made up of independent and real electronic measuring and teaching device, carrying out experimental teaching needs a large amount of electronic measuring and teaching devices, as: oscillograph, logic analyser, digital signal generator, spectrum analyzer, counter, multimeter etc.
As everyone knows, electronic measuring and teaching device cost height, the construction of experimental situation initial stage has high input.In addition, electronic measuring and teaching device upgrades rapidly, and the expenditure of later maintenance of electronic surveying experimental situation and guarantee is very big.Be subjected to the restriction of teaching fund, its construction level of part universities and colleges electronic surveying experimental teaching environment is limited, has influenced the lifting of quality of instruction and effect.
Moreover the electronic measuring and teaching device function is single-minded, for satisfying teaching task, need the multiple electronic measuring and teaching device of buying, and these equipment are retained in the laboratory throughout the year, both increased the management difficulty of electronic surveying teaching experiment environment, caused the wasting of resources of electronic measuring and teaching device again.
In addition, electronic measuring and teaching device can't be realized special experiment contents such as neighbourhood noise and quantitative interference, has limited the abundant of electronic surveying experimental teaching content, has restricted electronic surveying and correlated curriculum teaching level and has improved.
In recent years along with the development of computer technology and virtual instrument technique, the theory of virtual instrument is applied in the teaching field, mainly contain the development of both direction, the first is utilized the virtual calculating of computer system fully and is shown and realizes virtual instrument, the student carries out experimental teaching under this electronic measuring and teaching device, its cost is very low, but it can not offer the true operation sensation of students ' actual situation instrument; Another kind is an operation processing function of only utilizing computer system, and cooperate signal sampling hardware to carry out the collection and the computing of actual signal, realize electronic measuring and teaching device, this also is a kind of independence and real electronic measuring and teaching device, just the partial arithmetic function is realized by computer system and replaces, therefore this electron-like MEASUREMENT TEACHING equipment has all deficiencies of independent and real instrument and equipment, and because the realization difficulty and the price of sampling hardware are all very high, the function that such electronic measuring and teaching device can be realized cost limited, that make is higher.
Summary of the invention
The purpose of this invention is to provide that a kind of cost is low, experiment content is many, functional mapping electronic measuring and teaching device and using method thereof flexibly.Electronic measuring and teaching device of the present invention and using method thereof utilize computer system to realize the virtual demonstration at experiment interface, utilize the hardware operation of analog hardware interface module in experimentizing.At first, the purchase cost and the maintenance cost of electronic measuring and teaching device have been reduced; Secondly, the experiment content that can provide original electronic measuring and teaching device to provide; In addition, the content that is easy to experimentize conversion, function upgrading, thus improve electronic surveying and correlated curriculum teaching level and teaching efficiency.On electronic measuring and teaching device of the present invention, the student can analyze and practical operation study by autonomous, grasps many-sided basic theoretical knowledge of electronic metering equipment principle and practical application.
The present invention is a kind of electronic measuring and teaching device, this equipment comprises computer system, the first analog hardware interface module ..., N analog hardware interface module, first external bus ..., the N external bus, the first pseudo-stube cable ..., the pseudo-stube cable of M, wherein N is the positive integer less than 16, and M is the positive integer that is not more than 4N-4; Wherein computer system is made up of display, host computer system, first external bus interface, keyboard and mouse and memory device, and first external bus interface and memory device are positioned at the host computer system cabinet, and display and keyboard and mouse are positioned at outside the host computer system cabinet.Host computer system is connected with display, and to the display output signal; Keyboard and mouse is connected with host computer system, and to the host computer system output signal; The first analog hardware interface module is connected and exchanges data with first external bus interface that is positioned at host computer system by first external bus,, N analog hardware interface module is connected and exchanges data with first external bus interface that is positioned at host computer system by the N external bus.
The using method of a kind of electronic measuring and teaching device of the present invention mainly is by department of computer science's analog hardware interface module cooperating of unifying, and offers the demonstration and the operation of operator's electronic measuring and teaching device, finishes the electronic surveying experimental teaching content.Second external bus interface of first external bus interface of the present invention by host computer system inside, analog hardware interface module inside, first external bus ..., the N external bus, carry out the bidirectional data transfers of computer system and analog hardware interface module.The operator is by the first pseudo-stube cable, the pseudo-stube cable of M connects the first analog hardware interface module, each first tseudo circuit interface in the N analog hardware interface module, the second tseudo circuit interface, the 3rd tseudo circuit interface and the 4th tseudo circuit interface, each tseudo circuit interface in above-mentioned N analog hardware interface module can connect according to the experiment needs, the building of circuit experimentizes, pass through keyboard and mouse, each button knob is provided with the experiment parameter of electronic surveying instruments used for education, observe and analyze experimental result by display, finally finish experimentation or study plan, realize the instructional objective of electronic surveying experimental teaching.
The invention has the advantages that:
(1) electronic measuring and teaching device of the present invention combines the characteristics of virtual instrument and actual instrumentation, and manufacturing cost and maintenance cost all significantly are lower than conditional electronic MEASUREMENT TEACHING equipment;
(2) electronic measuring and teaching device of the present invention is an open architecture test teaching platform, on this experiment porch, except the experiment content of regulation, the student can also be according to study the science opinion knowledge and method for designing, own contrived experiment content promotes the student to improve from the manipulative ability of advocating peace;
(3) electronic measuring and teaching device of the present invention can provide virtual computing function, realizes the experiment content that ordinary electronic MEASUREMENT TEACHING equipment such as analogue noise and quantitative interference can't provide;
(4) electronic measuring and teaching device of the present invention offers in user's vision, the sense of touch operating environment intuitively, is convenient to characteristic and functipnal capability that the student grasps pertinent instruments and circuit;
(5) electronic measuring and teaching device transmission of the present invention is numeric data code rather than real signal, has improved the security of electronic surveying experimental teaching, has protected the safety of student, teacher and equipment;
(6) electronic measuring and teaching device function upgrading of the present invention and expansion are convenient, can constantly improve experiment content and method in carrying out the electronic surveying experimental teaching, promote teaching efficiency to promote.
Description of drawings
Fig. 1 is a kind of electronic measuring and teaching device structured flowchart of the present invention;
Fig. 2 is an analog hardware interface module inner structure synoptic diagram of the present invention;
Fig. 3 is a kind of electronic measuring and teaching device schematic appearance of the present invention;
Fig. 4 is the structural representation of numeric data code of the present invention;
Fig. 5 is the process flow diagram of a kind of electronic measuring and teaching device using method of the present invention;
Fig. 6 is a signal generation class virtual panel displayed map of the present invention;
Fig. 7 is an experimental circuit class virtual panel displayed map of the present invention;
Fig. 8 is an oscillograph class virtual panel displayed map of the present invention;
Fig. 9 is an analog hardware interface module functionalization process flow diagram of the present invention;
Figure 10 is the structured flowchart of a kind of concrete frequency divider electronic surveying experiment of the present invention;
Figure 11 is the schematic appearance of a kind of concrete frequency divider electronic surveying experiment of the present invention.
Among the figure:
1. computer system 2. first analog hardware interface modules 3. first external buss
4. N analog hardware interface module 5. N external buss 6. second analog hardware interface modules
7. second external bus 8. the 3rd analog hardware interface module 9. the 3rd external bus
10. display 11. host computer systems 12. first external bus interfaces
13. keyboard and mouse 14. memory devices 15. first pseudo-stube cables
16. pseudo-stube cable 17. second pseudo-stube cable 20. internal buss of M
21. microprocessor 22. second external bus interfaces 23. memory storages
24. the first button knob 25. the 32 button knob, 26. first tseudo circuit interfaces
27. the second tseudo circuit interface 28. the 3rd tseudo circuit interface 29. the 4th tseudo circuit interface
Embodiment
The present invention is described in further detail below in conjunction with drawings and Examples.
The present invention is a kind of electronic measuring and teaching device, as shown in Figure 1, this equipment comprises computer system 1, the first analog hardware interface module 2 ..., N analog hardware interface module 4, first external bus 3 ..., N external bus 5, the first pseudo-stube cable 15 ..., the pseudo-stube cable 16 of M, wherein N is the positive integer less than 16, M is the positive integer that is not more than 4N-4; Wherein computer system 1 is made up of display 10, host computer system 11, first external bus interface 12, keyboard and mouse 13 and memory device 14, first external bus connect 12 and memory device 14 be positioned at host computer system 11 cabinets, display 10 and keyboard and mouse 13 are positioned at outside host computer system 11 cabinets.Host computer system 11 is connected with display 10, and to display 10 output signals; Keyboard and mouse 13 is connected with host computer system 11, and to host computer system 11 output signals; The first analog hardware interface module 2 is connected and exchanges data with first external bus interface 12 that is positioned at host computer system 11 by first external bus 3,, N analog hardware interface module 4 is connected and exchanges data with first external bus interface 12 that is positioned at host computer system 11 by N external bus 5; The first analog hardware interface module 2 ..., in the N analog hardware interface module 4 between per two groups of adjacent analog hardware interface modules respectively successively by the first pseudo-stube cable 15 ..., the pseudo-stube cable 16 of M connects and exchanges data, the pseudo-stube cable that connects between per two groups of adjacent analog hardware interface modules with exchanges data is no more than four at most.
Computer system 1 provides the module of virtual computing of the present invention and demonstration, the dominant frequency that belongs to a kind of concrete configuration and be central processing unit (central processing unit is called for short CPU) is greater than 1G, internal memory is greater than 500M, and the harddisk memory capacity is greater than the generic computer system of 30G.Display 10 is the functional units that information are shown to the user, and whole Presentation Function of the present invention is provided, and it receives the display parameter that host computer system 11 sends, and offers operator's visual experience identical with true instrument; Host computer system 11 physics are identical with the host computer system of common computer with logical organization, and it offers communication and experimentation between computing that the operator is provided with order, display message, the functional unit, is the core function unit of computing of the present invention, management and realization; First external bus interface 12 is positioned at host computer system 11 inside, be the computer system 1 and the first analog hardware interface module 2, the interface of N analog hardware interface module 4 exchanges data, it passes through first external bus 3 ... N external bus 5 connects and exchanges data with each second external bus interface 22 in N the analog hardware interface module respectively, seeing Fig. 2, is a kind of USB (universal serial bus) (Universal Serial Bus abbreviates USB as) interface; Keyboard and mouse 13 is input equipments of computer system 1, be responsible for receiving the operational order of operator to computer system 1, the setting of parameter so that experimentize, as: each button knob of Virtual Instrument and the first button knob 24 on the first analog hardware interface module 2 on the display 10,, the setting of Virtual Instrument model on the corresponding relation of the 32 button knob 25, the display 10; Memory device 14 is functional units of the instruction and data of storage computation machine system 1, is positioned at host computer system 11 inside, is a kind of harddisk memory.The first analog hardware interface module 2 ..., N analog hardware interface module 4 provides in the experimental teaching button knob of simulation true instrument and the functional module of connecting interface operation feeling, offer operator's hardware operation identical and feel with true electronic measuring instrument.As shown in Figure 2, the first analog hardware interface module 2 ..., N analog hardware interface module 4 by internal bus 20, microprocessor 21, second external bus interface 22, memory storage 23, the first button knob 24 ..., the 32 button knob 25, the first tseudo circuit interface 26, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 forms.Wherein second external bus interface 22, the first button knob 24 ..., the 32 button knob 25, the first tseudo circuit interface 26, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 is installed in the cabinet outside; be convenient to operator's operation; microprocessor 21, memory storage 23 and internal bus 20 are installed in this cabinet inside, are convenient to protect microprocessor 21, memory storage 23 and internal bus 20 to work safely and reliably.The first pseudo-stube cable 15 ..., the pseudo-stube cable 16 of M be the first analog hardware interface module 2 in the experimental teaching ..., each first tseudo circuit interface 26, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and 29 interconnected external cables of the 4th tseudo circuit interface in the N analog hardware interface module 4, each the tseudo circuit interface in above-mentioned N analog hardware interface module can connect according to testing needs.Microprocessor 21, second external bus interface 22, memory storage 23, the first button knob 24 ..., all connect and exchanges data between the 32 button knob 25, the first tseudo circuit interface 26, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 by internal bus 20; The first pseudo-stube cable 15 ..., the pseudo-stube cable 16 of M be connected to the first analog hardware interface module 2 ..., N analog hardware interface module 4 each first tseudo circuit interface 26, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and 29 the 4th tseudo circuit interfaces carry out exchanges data; First external bus 3 ..., N external bus 5 be connected the first analog hardware interface module 2 ..., N analog hardware interface module 4 each second external bus interface 22 on, carry out exchanges data.
Microprocessor 21 be the first analog hardware interface module 2 ..., the functional unit that carries out computing and management in the N analog hardware interface module 4, be a kind of existing single-chip microcomputer; Second external bus interface 22 is first analog hardware interface modules 2, N analog hardware interface module 4 and host computer system 11 are carried out the interface of exchanges data, second external bus interface, 22 1 ends are connecting first external bus 3 on the one hand, N external bus 5, carry out the first analog hardware interface module 2, the exchanges data that N analog hardware interface module 4 and computer system are 1, with the first analog hardware interface module 2, N analog hardware interface module 4 current states, as: hard piece number, port numbers, current status data is passed to host computer system 11, and second external bus interface 22 is by internal bus 20 and microprocessor 21 on the other hand, memory storage 23, the first button knob 24, the 32 button knob 25, the first tseudo circuit interface 26, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 is connected and exchanges data with the 4th tseudo circuit interface 29; Memory storage 23 is storage unit of the performed instruction and data of microprocessor 21, also is the unit of exchanges data in the analog hardware interface module; The first button knob 24 ..., the 32 button knob 25 receive users to the first analog hardware interface module 2 ..., N analog hardware interface module 4 operation, offer the user with true instruments used for education button knob identical operations sensation; The first tseudo circuit interface 26, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 are connecting interfaces of experimental circuit in the experimental teaching, provide the unit of signal input and output function, the one side first tseudo circuit interface 26, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 are by the first pseudo-stube cable 15, the pseudo-stube cable 16 of M is in the first analog hardware interface module 2,4 transmission of N analog hardware interface module numeric data code, the first tseudo circuit interface 26 on the other hand, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 are by internal bus 20 and microprocessor 21, second external bus interface 22, memory storage 23, the first button knob 24, the 32 button knob 25 connects and exchanges data; Internal bus 20 is microprocessors 21, second external bus interface 22, memory storage 23, the first button knob 24, the 32 button knob 25, the first tseudo circuit interface 26, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 is connected the path with exchanges data with the 4th tseudo circuit interface 29, under the management of microprocessor 21, microprocessor 21, second external bus interface 22, memory storage 23, the first button knob 24, the 32 button knob 25, the first tseudo circuit interface 26, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 carry out exchanges data by internal bus 20; The first pseudo-stube cable 15, the pseudo-stube cable 16 of M is cables that experimental circuit that is virtually reality like reality connects, offer the connection sensation that the operator is equal to true instruments used for education, itself and the first analog hardware interface module 2, each first tseudo circuit interface 26 in the N analog hardware interface module 4, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 is connected with the 4th tseudo circuit interface 29, because its transmission is numeric data code, rather than the actual signal of true teaching equipment transmission, so this cable is called pseudo-stube cable, corresponding interface is called the tseudo circuit interface.The first pseudo-stube cable 15 ..., the pseudo-stube cable 16 corresponding interfaces that connect of M be the first analog hardware interface module 2 ..., each first tseudo circuit interface 26, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 in the N analog hardware interface module 4.
Electronic measuring and teaching device outward appearance of the present invention as shown in Figure 3, the operator sets up in the process in experimental situation of the present invention, at first with computer system 1 by first external bus 3 ..., N external bus 5, the same respectively first analog hardware interface module 2 ..., N analog hardware interface module 4 connects, wherein N is the positive integer less than 16, computer system 1 is existing generic computer system, first external bus 3 ..., N external bus 5 is a kind of existing USB cables.
Then with the first analog hardware interface module 2 ..., the first tseudo circuit interface 26, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 of N analog hardware interface module 4 correspondences and the 4th tseudo circuit interface 29 by the first pseudo-stube cable 15 ..., the pseudo-stube cable 16 of M connects, this process offers the operating experience of operator with the identical connection experimental circuit of true experimental teaching equipment.The first pseudo-stube cable 15 ..., pseudo-stube cable 16 transmission of M numeric data code be a kind of scale-of-two 32 bit data of serial, as shown in Figure 4,1~16 of data bit is zone bit, and 17~24 bit data of data bit are hard piece numbers, and 25~32 bit data of data bit are port numbers.Wherein hard piece number be distinguish the first analog hardware interface module 2 ..., N analog hardware interface module 4 data, in the electronic surveying experimental teaching, the first analog hardware interface module 2 ..., N analog hardware interface module 4 the hard piece number of N different, its numerical value is unique when dispatching from the factory to be determined, selects arbitrarily in 00000001~11111110 interval; Port numbers is to be used for distinguishing the first analog hardware interface module 2, each first button knob 24 in the N analog hardware interface module 4, the 32 button knob 25 and the first tseudo circuit interface 26, the second tseudo circuit interface 27, the data of the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29, in the first analog hardware interface module 2, each first button knob 24 in the N analog hardware interface module 4, the 32 button knob 25, the first tseudo circuit interface 26, the second tseudo circuit interface 27, the port numbers of the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 is unique, the select progressively in 00000001~11111110 interval of its numerical value; Zone bit is the data bit of setting with the judgment data sign indicating number in order accurately to read, its numerical value has 0000000000000000 and 1,111,111,111,111,111 two kind of selection, if each bit data addition result of a numeric data code is an even number, the zone bit data are " 0 ", if each bit data addition result is an odd number, the zone bit data are " 1 ".Numeric data code is from the first tseudo circuit interface 26, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 do not stop circulation and send, when one first tseudo circuit interface 26, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 receive continuous 16 " 0 " or " 1 " and promptly are defined as zone bit, 8 bit data of receiving behind zone bit are exactly hard piece number, 8 bit data of receiving behind hard piece number are exactly port numbers, with each bit data summation and judgement parity, but the authenticity of verification msg sign indicating number can draw in the first analog hardware interface module 2 by comparison, send the physical simulation hardware interface module of numeric data code in the N analog hardware interface module 4 and at the first tseudo circuit interface 26, the second tseudo circuit interface 27, send the concrete tseudo circuit interface of numeric data code in the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29.As: when receiving 00000000000000001111000101000010, as can be known at this moment the first pseudo-stube cable 15 ..., pseudo-stube cable 16 other ends of M send signal is that hard piece number is that 11110001 analog hardware interface module middle-end slogan is 01000010 the first tseudo circuit interface 26, and data parity check is correct.
The related instrument and equipment of electronic surveying experimental teaching can be divided three classes by function, signal generation kind equipment, experimental circuit kind equipment, oscillograph kind equipment, therefore can be according to the corresponding task in time experiment, with the first analog hardware interface module 2 among the present invention ..., N analog hardware interface module 4 is respectively as three class interfaces: signal generation class interface, experimental circuit class interface, oscillograph class interface.The present invention is exactly the process with the operator's real signal generation kind equipment of operation, real circuit kind equipment, real oscillograph kind equipment in the teaching of primary electron experiments of measuring, replace with the process of operation signal generation class interface, experimental circuit class interface, oscillograph class interface, offer the operator with true experimental teaching equipment identical operations impression.
Signal generation class interface, simulation has the hardware external interface of the teaching experimental equipment of signal occurrence characteristic, as the hardware external interface of frequency of signal generator, the hardware external interface of stabilized voltage supply.The first analog hardware interface module 2 ..., N analog hardware interface module 4 when realizing signal generation class interface function, the first tseudo circuit interface 26, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 only outwards send numeric data code;
The experimental circuit class interface, the hardware external interface when true experimental circuit is built in the simulated experiment teaching is as side circuit signal input and output side in side circuit signal input and output side, the amplitude modulation experiment in the frequency division experiment.The first analog hardware interface module 2 ..., N analog hardware interface module 4 when realizing experimental circuit class interface function, the first button knob 24 ..., the 32 button knob 25 no operating functions;
The oscillograph class interface, simulation has the hardware external interface of the teaching experimental equipment of waveform measurement, display property, as the hardware external interface of oscillographic hardware external interface, spectrum analyzer.The first analog hardware interface module 2 ..., N analog hardware interface module 4 when realizing oscillograph class interface function, the first tseudo circuit interface 26, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 only receive external numeric data code.
A kind of electronic measuring and teaching device using method of the present invention is referring to process flow diagram shown in Figure 5.
Step 1: analog hardware interface module functional configuration.
Under the management of microprocessor 21, the first analog hardware interface module 2 ..., N analog hardware interface module 4 at first finishes functional configuration, receive user's operating command then at any time and feed back to host computer system 11.
Step 2: set up teaching equipment current state parameter table.
After host computer system 11 is called the instruction code that is stored in the memory device 14, host computer system 11 receives the first analog hardware interface module 2 by first external bus interface 12, the initial parameter of N analog hardware interface module 4, and be stored as teaching equipment current state parameter table, as: the first analog hardware interface module 2, the hard piece number of N analog hardware interface module 4, each first button knob 24, the 32 button knob 25 and each first tseudo circuit interface 26, the second tseudo circuit interface 27, the port numbers and the current state of the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29.
The teaching equipment current state parameter table that this step is set up, it is the first analog hardware interface module 2 in the current teaching equipment of record, N analog hardware interface module 4 and each first button knob 24, the 32 button knob 25, each first tseudo circuit interface 26, the second tseudo circuit interface 27, the file of the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 state parameters, comprise the first analog hardware interface module 2 that is connected on the host computer system 11, the hard piece number of N analog hardware interface module 4, each first button knob 24, the 32 button knob 25 corresponding port number and state value, each first tseudo circuit interface 26, the second tseudo circuit interface 27, the port numbers of the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29, theory state value and actual condition value, because hard piece number and port numbers have uniqueness, so teaching equipment current state parameter table, utilize hard piece number and port numbers to be sign, write down the present invention's first analog hardware interface module 2, N analog hardware interface module 4 and each first button knob 24, the 32 button knob 25, each first tseudo circuit interface 26, the second tseudo circuit interface 27, the theory state of the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29, virtual condition and funtcional relationship, the operator is to the first analog hardware interface module 2 in each flow process, the operation of N analog hardware interface module 4, the final modification that all changes into this teaching equipment current state parameter table, and calculate current display parameter are the data that rely on the current state parameter table, so the operator is to the first analog hardware interface module 2, the operation of N analog hardware interface module 4, actual modification the demonstration of Virtual Instrument, realized feeling with the true instrument identical operations.
Step 3: call and show Virtual Instrument.
The operator, calls and is stored in Virtual Instrument file relevant in the memory device 14 by operation keyboard mouse 13 according to experiment content, and host computer system 11 is calculated the Virtual Instrument display parameter, and shows Virtual Instrument on display 10.
Step 4: set up Virtual Instrument and analog hardware interface mappings relation table.
The operator is by keyboard and mouse 13 operations, Virtual Instrument on the establishment display 10 is with the first analog hardware interface module 2, each first button knob 24 in the N analog hardware interface module 4, the 32 button knob 25 and each first tseudo circuit interface 26, the second tseudo circuit interface 27, the corresponding relation of the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29, and be stored as Virtual Instrument and analog hardware interface mappings relation table, as: the first left button knob of record on the Virtual Instrument is the corresponding relation of 24 of 00000001 the first button knobs with the port numbers on the first hardware simulation interface module 2, like this operator when to operate port numbers on the first hardware simulation interface module 2 be 00000001 the first button knob 24, host computer system 11 just correctly decision operation person operating first left button knob on the Virtual Instrument, thereby realize the corresponding virtual processing procedure.
Virtual Instrument of setting up in this step and analog hardware interface mappings relation table, be each Virtual Instrument and the first analog hardware interface module 2 in the current teaching equipment of record, each first button knob 24 in the N analog hardware interface module 4, the 32 button knob 25 and each first tseudo circuit interface 26, the second tseudo circuit interface 27, the file of mapping relations between the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29, wherein corresponding Virtual Instrument record be correspondence position on each virtual panel, corresponding analog hardware interface module record be the first analog hardware interface module 2, the hard piece number of N analog hardware interface module 4, each first button knob 24, the 32 button knob 25 and each first tseudo circuit interface 26, the second tseudo circuit interface 27, the port numbers of the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29.After Virtual Instrument and analog hardware interface mappings relation table are set up, the operator to the first analog hardware interface module 2 ..., each first button knob 24 in the N analog hardware interface module 4 ..., the 32 button knob 25 and each first tseudo circuit interface 26, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 operation, corresponded to the operational order on the Virtual Instrument by unique, thereby know operator's actual command.
Step 5: set up mapping relations table between the tseudo circuit interface.
The operator is by operation keyboard mouse 13, establish the first analog hardware interface module 2 ..., the connection corresponding relation in the N analog hardware interface module 4 between each first tseudo circuit interface 26, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29, and be stored as mapping relations table between the tseudo circuit interface.Be 01000010 the first tseudo circuit interface 26 as: the port numbers of establishing the first analog hardware interface module 2 with the port numbers of N analog hardware interface modules 4 be 01000011 the second tseudo circuit interface, 27 correspondences, so that can work as the operator between above two tseudo circuit interfaces, connect the first pseudo-stube cable 15 ..., behind the pseudo-stube cable 16 of M, host computer system 11 is judged the correctness that connects.
Mapping relations table between the tseudo circuit interface of setting up in this step, it is the first analog hardware interface module 2 in the current teaching equipment of record, each first tseudo circuit interface 26 in the N analog hardware interface module 4, the second tseudo circuit interface 27, the file of annexation between the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29, wherein record is the first analog hardware interface module 2, the hard piece number of N analog hardware interface module 4 and inner each first tseudo circuit interface 26 thereof, the second tseudo circuit interface 27, the port numbers of the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29, the first tseudo circuit interface 26 of transmit status, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 are positioned at the front end of record, the first tseudo circuit interface 26 of accepting state, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 are positioned at the rear end of record.Utilize the mapping relations of 29 each first tseudo circuit interfaces 26, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interfaces, can compare with the numeric data code that receives, find operator's incorrect link, and according to incorrect link modification teaching equipment current state parameter table, thereby revise display parameter.
Step 6: the interface of selecting Set For Current.
Realize the step of signal generation class interface, experimental circuit class interface, oscillograph class interface function and inequality, if therefore Set For Current be signal generation class interface function, then change step 7 over to; If Set For Current is experimental circuit class interface function, then change step 9 over to; If Set For Current is oscillograph class interface function, then change step 12 over to.
Step 7: signal calculated generator class virtual signal display parameter, and show.
Host computer system 11 is called teaching equipment current state parameter table, host computer system 11 is searched the corresponding processing function of storage in the memory device 14, the current display parameter of signal calculated generator class virtual signal, and on display 10 current virtual panel, show, as: through searching teaching equipment current state parameter table, find that port numbers is that 00000001 the first button knob 24 is down states, compare Virtual Instrument and analog hardware interface mappings relation table again, what find the first button knob, 24 correspondences is first button knob of the upper left corner on the Virtual Instrument, and select this button knob is that the sinusoidal wave function order takes place in representative, search the sinusoidal wave computing function that shows in the memory device 14 then, be presented on the display 10 behind the display parameter of calculating sine wave.
Step 8:, revise parameter list according to the analog hardware Interface status.
Host computer system 11 receives from the first analog hardware interface module 2 by first external bus interface 12, the order of N analog hardware interface module 4, as: the first button knob 24, the 32 button knob 25 states do not change the order or the first button knob 24, the 32 button knob 25 current states, judge the first analog hardware interface module 2 then, whether the state of N analog hardware interface module 4 does not change, if the first analog hardware interface module 2, the state of N analog hardware interface module 4 does not change, description operation person does not operate the first analog hardware interface module 2 in this cycle, the first button knob 24 of N analog hardware interface module 4, the 32 button knob 25, continue to wait for operator's order, and keep showing on the display 10 constant, if the state of the first analog hardware interface module 2 changes, description operation person is to the first analog hardware interface module 2, the first button knob 24 of N analog hardware interface module 4, the 32 button knob 25 is adjusted, then according to Virtual Instrument and analog hardware interface module mapping relations table, draw operator's true operation purpose, and modification teaching equipment current state parameter table, as: find that the first analog hardware interface module, 2 middle-end slogans are that 00000001 the first button knob 24 becomes down state from non-down state, searching Virtual Instrument and analog hardware interface module mapping relations table, to draw this button be to produce sine wave signal, and teaching equipment current state parameter table is made amendment.Return execution in step seven at last,, the signal on the display 10 is calculated and shows, as shown in Figure 6 according to current teaching equipment current state parameter table.
Step 9: select block diagram to build the virtual experimental circuit.
Operator's operation keyboard mouse 13 is selected suitable block diagram and circuit to build a virtual experimental circuit on the virtual experimental circuit interfaces, and is presented on the display 10, as shown in Figure 7.
Step 10: set up the input/output relation operation table.
According to the block diagram of prior foundation and the corresponding relation of function, set up the funtcional relationship between each the block diagram input and output in the virtual experimental circuit, and funtcional relationship is stored as the input/output relation operation table, as: the operator has selected block diagram very frequently, input point is that N analog hardware interface module 4 middle-end slogans are second tseudo circuit interfaces 27 of 01000011, be output as N analog hardware interface module 4 middle-end slogans and be 01000010 the first tseudo circuit interface 26, that is just in input/output relation operation table middle-end slogan 01000011 and 01000010 storage ten minutes of port numbers frequency funtcional relationship, when the second tseudo circuit interface 27 of port numbers 01000011 is input as the 100MHz signal, transfer funtcional relationship very frequently, the first tseudo circuit interface, 26 outputs of calculating port numbers 01000010 are the 10MHz signal just, in this step, transfer the noise and the interfering data of predefined, and among the result that is added to, just can realize analogue noise and quantitatively disturb these two kinds of experiment contents that ordinary electronic MEASUREMENT TEACHING equipment can't provide.
The input/output relation operation table of setting up in this step, it is the file of the funtcional relationship between each block diagram input and output of record, wherein at first record be the port numbers of the hard piece number of analog hardware interface module and each first tseudo circuit interface 26, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 of input and output point, the back be funtcional relationship concrete between 2.The input/output relation operation table with in the real circuit to the conversion of signal, record becomes the function of storage in the computer system 1 to be handled, and has saved the hardware input, has improved the security of experiment.
Step 11: judgment experiment circuit class tseudo circuit interface annexation, revise parameter list.
Receive from the first analog hardware interface module 2 by first external bus interface 12, each first tseudo circuit interface 26 in the N analog hardware interface module 4, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 states, as: hard piece number, port numbers and the corresponding numeric data code that receives or send, and the mapping relations table compares between the tseudo circuit interface, judge each first tseudo circuit interface 26, the second tseudo circuit interface 27, whether the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 states meet corresponding relation, if meet corresponding relation, description operation person utilizes the first pseudo-stube cable 15, the pseudo-stube cable 16 of M connects the first analog hardware interface module 2, each first tseudo circuit interface 26 in the N analog hardware interface module 4, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 meet requirement of experiment, according to teaching equipment current state parameter table and input/output relation operation table, the numerical relation and the storage of host computer system 11 experiment with computing circuit kind equipment functions input output device body, if do not meet corresponding relation, description operation person utilizes the first pseudo-stube cable 15, the pseudo-stube cable 16 of M connects the first analog hardware interface module 2, each first tseudo circuit interface 26 in the N analog hardware interface module 4, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 are wrong with requirement of experiment, then according to the annexation of reality, the input/output relation operation table that utilizes step 10 to set up, the numerical relation of host computer system 11 experiment with computing circuit kind equipment functions input output device body, according to Virtual Instrument and analog hardware interface module mapping relations table, revise teaching equipment current state parameter table.
Step 12: judge oscillograph class tseudo circuit interface annexation, revise parameter list.
Receive from the first analog hardware interface module 2 by first external bus interface 12, each first tseudo circuit interface 26 in the N analog hardware interface module 4, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 states, as: hard piece number, port numbers and the corresponding numeric data code that receives or send, and the mapping relations table compares between the tseudo circuit interface of setting up in the teaching equipment initialization flow process, judge each first tseudo circuit interface 26, the second tseudo circuit interface 27, whether the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 states meet corresponding relation, if meet corresponding relation, description operation person utilizes the first pseudo-stube cable 15, the pseudo-stube cable 16 of M connects the first analog hardware interface module 2, each first tseudo circuit interface 26 in the N analog hardware interface module 4, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 meet requirement of experiment, if do not meet corresponding relation, description operation person utilizes the first pseudo-stube cable 15, the pseudo-stube cable 16 of M connects the first analog hardware interface module 2, each first tseudo circuit interface 26 in the N analog hardware interface module 4, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 are wrong with requirement of experiment, then, revise teaching equipment current state parameter table according to the annexation of reality.
Step 13: computing oscilloscope class virtual signal display parameter, and show.
According to teaching equipment current state parameter table and input/output relation operation table, the current display parameter of host computer system 11 computing oscilloscope class virtual signals, and on display 10, show, as: set according to initial experiment content, it is 01000010 the first tseudo circuit interface 26 that the other end of the first pseudo-stube cable 15 should be the first analog hardware interface module, 2 middle-end slogans, its signal characteristic is sinusoidal wave, but judge according to the numeric data code that actual reception arrives, what insert is that the first analog hardware interface module, 2 middle-end slogans are 01000011 the second tseudo circuit interface 27, its signal characteristic is a square wave, step 12 is judged connection error, and teaching equipment current state parameter table corresponding port number and parameter made amendment, step 13 is then calculated according to amended teaching equipment current state parameter table and is shown, so the final signal that shows should be the square-wave signal of 01000011 the second tseudo circuit interface 27 for the first analog hardware interface module, 2 middle-end slogans.
Step 14: revise parameter list according to the analog hardware Interface status.
By first external bus interface 12 receive from the first analog hardware interface module 2 ..., N analog hardware interface module 4 order, be that not change order or port numbers be 00000001 the first button knob, 24 current states for 00000001 the first button knob, 24 states as: N analog hardware interface module 4 upper end slogans.If the first analog hardware interface module 2, the first button knob 24 of N analog hardware interface module 4, the 32 button knob 25 states change, description operation person is to the first analog hardware interface module 2, the first button knob 24 on the N analog hardware interface module 4, the 32 button knob 25 is adjusted, according to Virtual Instrument and analog hardware interface mappings relation table, draw operator's true operation purpose, and modification teaching equipment current state parameter table, if state does not change, description operation person does not operate the first analog hardware interface module 2 in this cycle, the first button knob 24 on the N analog hardware interface module 4, the 32 button knob 25, teaching equipment current state parameter table is constant.Return execution in step 13 at last,, the signal on the display 10 is calculated and shows, as shown in Figure 8 according to current teaching equipment current state parameter table.
Fig. 9 discloses step 1 in detail, the first analog hardware interface module 2 ..., N analog hardware interface module 4 functional configuration process flow diagram.
Step 1.1: the initial parameter of sending the analog hardware interface module.
Microprocessor 21 is called in the instruction of memory storage 23 storage, by second external bus interface 22 send the first analog hardware interface module 2 ..., N analog hardware interface module 4 initial parameter.As: the first analog hardware interface module 2 ..., N analog hardware interface module 4 hard piece number, the first button knob 24 ..., the 32 button knob 25 and the first tseudo circuit interface 26, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 port numbers and current state.
Step 1.2: the state that sends the button knob.
Judge the first button knob 24, whether the 32 button knob 25 states do not change, if state does not change, then send the first button knob 24 to host computer system 11 by second external bus interface 22, the 32 button knob 25 states do not change order, if state changes, then send the first button knob 24 that changes to host computer system 11 by second external bus interface 22, the 32 button knob 25 current states, as: N analog hardware interface module 4 first button knobs 24, it is 01000001 the 32 button knob 25 current states that the 32 button knob 25 states do not change order or N analog hardware interface module 4 port numbers.
Step 1.3: send or receive numeric data code.
Judge the first tseudo circuit interface 26 respectively, the second tseudo circuit interface 27, whether the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 should be transmit statuss, if transmit status, then by the first tseudo circuit interface 26, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 send numeric data code, what this moment, this tseudo circuit interface was simulated is a signal output port, if not transmit status, then by the first tseudo circuit interface 26, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 receive numeric data code, and what this moment, this tseudo circuit interface was simulated is a signal input port.
Step 1.4: send the tseudo circuit Interface status.
Send the state of the first tseudo circuit interface 26, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29 to host computer system 11 by second external bus interface 22, as: hard piece number, port numbers and the corresponding numeric data code that receives or send are circulated to step 2 afterwards and continue this workflow.
For more clearly setting forth the present invention, shown in Figure 10 is the structured flowchart of a kind of concrete frequency divider electronic surveying experiment under the present invention.The experiment particular content is at first to produce signal by a signal generator, and with in frequency divider experimental circuit of building of this signal input, the output signal with this circuit is linked into demonstration and analysis result on the oscillograph at last then.
According to this experiment content, this experiment needs three analog hardware interface modules to realize a signal generation class interface respectively except that computer system 1 altogether, an experimental circuit class interface, the oscillograph class interface and first external bus 3, second external bus 7, the 3rd external bus 9.Computer system 1 comprises display 10, host computer system 11, first external bus interface 12, keyboard and mouse 13, memory device 14, and connects according to known generic computer system method of attachment.What the first analog hardware interface module 2 realized is a signal generation class interface, what the second analog hardware interface module 6 realized is an experimental circuit class interface, what the 3rd analog hardware interface module 8 realized is an oscillograph class interface, the first analog hardware interface module 2 connects with first external bus interface 12 in the host computer system 11 by first external bus 3, carries out exchanges data; The second analog hardware interface module 6 connects with first external bus interface 12 in the host computer system 11 by second external bus 7, carries out exchanges data; The 3rd analog hardware interface module 8 connects with first external bus interface 12 in the host computer system 11 by the 3rd external bus 9, carries out exchanges data.The inner structure of the first analog hardware interface module 2, the second analog hardware interface module 6, the 3rd analog hardware interface module 8 as shown in Figure 2, three tseudo circuit interfaces in the first analog hardware interface module 2, the second analog hardware interface module 6, the 3rd analog hardware interface module 8 are connected with the second pseudo-stube cable 17 by the first pseudo-stube cable 15, and wherein the first tseudo circuit interface 26 of the first analog hardware interface module 2 sends numeric data code by the first pseudo-stube cable 15 to the first tseudo circuit interface 26 of the second analog hardware interface module 6; The second tseudo circuit interface 27 of the second analog hardware interface module 6 sends numeric data code by the second pseudo-stube cable 17 to the first tseudo circuit interface 26 of the 3rd analog hardware interface module 8; The process of this numeric data code transmission, simulated after actual signal sends by a signal generator, at first be sent to a frequency division experimental circuit signal input part by true cable, after handling through the frequency divider hookup then, be sent to an oscilloscope signal input end by true cable from frequency divider experimental circuit signal output part again, and finally be presented at the process on the oscillograph.Because what the present invention transmitted is numeric data code, rather than real experimental signal, even therefore operator's misoperation has produced incorrect link or touched experimental signal, can not bring harm to equipment itself and operator.
Electronic surveying instruments used for education concrete operations flow process of the present invention is:
At first, the operator is according to experiment content, utilize first external bus 3 ..., N external bus 5 with the first analog hardware interface module 2 ..., N analog hardware interface module 4 is connected to host computer system 11.As shown in figure 11, in a kind of concrete frequency divider electronic surveying experiment of the present invention, the first analog hardware interface module 2 is connected with host computer system 11 by first external bus 3, the second analog hardware interface module 6 is connected with host computer system 11 by second external bus 7, the 3rd analog hardware interface module 8 is connected with host computer system 11 by the 3rd external bus 9, the first analog hardware interface module 2 wherein, the second analog hardware interface module 6, the 3rd analog hardware interface module 8 has realized a signal generation class interface respectively in this experiment, an experimental circuit class interface, an oscillograph class interface.
Then, according to experiment content, utilize the first pseudo-stube cable 15 ..., the pseudo-stube cable 16 of M connect the first analog hardware interface module 2 ..., N analog hardware interface module 4 correspondences each first tseudo circuit interface 26, the second tseudo circuit interface 27, the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29.As in this experiment the first tseudo circuit interface 26 of the first analog hardware interface module 2 being connected to by the first pseudo-stube cable 15 on the first tseudo circuit interface 26 of the second analog hardware interface module 6, the second tseudo circuit interface 27 with the second analog hardware interface module 6 is connected on the first tseudo circuit interface 26 of the 3rd analog hardware interface module 8 by the second pseudo-stube cable 17 again.
Then, adopt, open the computer system 1 in the teaching equipment of the present invention with the identical on-off mode of common computer, treat host computer system start finish after, carry out following steps:
Step 1: finish analog hardware interface module functional configuration.
The first analog hardware interface module 2 ..., N analog hardware interface module 4 auto-complete functions configurations, and in real time with the operator to the first button knob 24 ..., the 32 button knob 25 operation send to host computer system 11.As the first analog hardware interface module 2 in this experiment, the second analog hardware interface module 6, the configuration of the 3rd analog hardware interface module 8 auto-complete functions, and in real time with the operator to each first button knob 24 of the first analog hardware interface module 2, the second analog hardware interface module 6, the 3rd analog hardware interface module 8 ..., the 32 button knob 25 operation send to host computer system 11.
Step 2: set up teaching equipment current state parameter table.
As: host computer system 11 will be passed through first external bus interface 12 in this experiment, receive the initial parameter of the first analog hardware interface module 2, the second analog hardware interface module 6, the 3rd analog hardware interface module 8, and be stored as teaching equipment current state parameter table by first external bus 3, second external bus 7, the 3rd external bus 9 respectively.
Step 3: call and show Virtual Instrument.
As: the operator will call three Virtual Instrument files in this experiment, be respectively a signal generator Virtual Instrument, a virtual experimental circuit board and an oscillograph Virtual Instrument, and on display 10, show above three Virtual Instrument respectively.
Step 4: set up Virtual Instrument and analog hardware interface mappings relation table.
As: the operator will establish a signal generator Virtual Instrument on the display 10 respectively in this experiment, button knob on virtual experimental circuit board and the oscillograph Virtual Instrument, circuit interface, with the first analog hardware interface module 2, the second analog hardware interface module 6, each first button knob 24 of the 3rd analog hardware interface module 8, the 32 button knob 25, the first tseudo circuit interface 26, the second tseudo circuit interface 27, the corresponding relation of the 3rd tseudo circuit interface 28 and the 4th tseudo circuit interface 29, and be stored as Virtual Instrument and analog hardware interface mappings relation table.
Step 5: set up mapping relations table between the tseudo circuit interface.
As: the operator will at first write down the corresponding annexation of the first tseudo circuit interface 26 with the first tseudo circuit interface 26 of the second analog hardware interface module 6 of the first analog hardware interface module 2 in this experiment, writes down the corresponding annexation of the second tseudo circuit interface 27 with the first tseudo circuit interface 26 of the 3rd analog hardware interface module 8 of the second analog hardware interface module 6 then.
Step 6: the interface of selecting Set For Current.
Execution in step seven in the electronic surveying experiment that needs signal generation class interface function, execution in step nine in the electronic surveying experiment that needs experimental circuit class interface function, execution in step 12 in the electronic surveying experiment that needs oscillograph class interface function.
As: the first analog hardware interface module 2, the second analog hardware interface module 6, the 3rd analog hardware interface module 8 have realized a signal generation class interface function respectively in this experiment in this experiment, an experimental circuit class interface function, an oscillograph class interface function, when realizing signal generation class interface function, change step 7 over to, when realizing experimental circuit class interface function, change step 9 over to, when realizing oscillograph class interface function, change step 12 over to.
Step 7: signal calculated generator class virtual signal display parameter, and show.
As: host computer system 11 is called teaching equipment current state parameter table in this experiment, host computer system 11 is searched the corresponding processing function of storage in the memory device 14, calculate the display parameter of the virtual signal of the corresponding current first analog hardware interface module, 2 states, and on display 10 current virtual panel, show, specifically as shown in Figure 6.
Step 8:, revise parameter list according to the analog hardware Interface status.
As: if the state of the first analog hardware interface module 2 changes in this experiment, description operation person to its first button knob 24 ..., the 32 button knob 25 adjusts, then draw the true operation purpose that the operator operates the first analog hardware interface module 2, and modification teaching equipment current state parameter table, return execution in step seven at last, according to current teaching equipment current state parameter table, the signal on display 10 virtual panel is recomputated and shows.
Step 9: select block diagram to build the virtual experimental circuit.
As: operator's operation keyboard mouse 13 in this experiment, on the virtual experimental circuit board, select suitable block diagram and circuit to set up a virtual frequency division experimental circuit, and be presented on the display 10, specifically as shown in Figure 7.
Step 10: set up the input/output relation operation table.
As: the operator has selected block diagram very frequently in this experiment, be input as the first tseudo circuit interface 26 of the second analog hardware interface module 6, be output as the second tseudo circuit interface 27 of the second analog hardware interface module 6, that just deposits funtcional relationship very frequently in the input/output relation operation table, when being input as the 100MHz signal, through function calculation output is the 10MHz signal just, and is stored in the input/output relation operation table.
Step 11: tseudo circuit interface annexation in the judgment experiment circuit class, revise parameter list.
As: if meet corresponding relation in this experiment, description operation person utilizes the first pseudo-stube cable 15 to meet this requirement of experiment from the first tseudo circuit interface 26 that the first tseudo circuit interface 26 of the first analog hardware interface module 2 is connected to the second analog hardware interface module 6, host computer system 11 can be according to teaching equipment current state parameter table and input/output relation operation table, numerical relation that the input and output of experiment with computing circuit kind equipment frequency are concrete and storage, if do not meet corresponding relation, description operation person utilizes the first pseudo-stube cable 15 wrong with requirement of experiment from the first tseudo circuit interface 26 that the first tseudo circuit interface 26 of the first analog hardware interface module 2 is connected to the second analog hardware interface module 6, then according to the annexation of reality, the input/output relation operation table that utilizes step 9 to set up, the numerical relation of host computer system 11 experiment with computing circuit kind equipment functions input output device body, according to Virtual Instrument and the first analog hardware interface module, 2 mapping relations tables, revise teaching equipment current state parameter table.
Step 12: judge oscillograph class tseudo circuit interface annexation, revise parameter list.
As: if meet corresponding relation in this experiment, description operation person utilizes the second pseudo-stube cable 17 to meet requirement of experiment from the first tseudo circuit interface 26 that the second tseudo circuit interface 27 of the second analog hardware interface module 6 is connected to the 3rd analog hardware interface module 8, if do not meet corresponding relation, description operation person utilizes the second pseudo-stube cable 17 wrong with requirement of experiment from the first tseudo circuit interface 26 that the second tseudo circuit interface 27 of the second analog hardware interface module 6 is connected to the 3rd analog hardware interface module 8, then, revise teaching equipment current state parameter table according to the annexation of reality.
Step 13: computing oscilloscope class virtual signal display parameter, and show.
As: in this experiment according to teaching equipment current state parameter table and input/output relation operation table, the current display parameter of host computer system 11 computing oscilloscope class virtual signals, and on display 10, showing.
Step 14:, revise parameter list according to the analog hardware Interface status.
As: if the state of the 3rd analog hardware interface module 8 changes in this experiment, description operation person is to the first button knob 24 of the 3rd analog hardware interface module 8, the 32 button knob 25 is adjusted, according to Virtual Instrument and analog hardware interface mappings relation table, draw operator's operation purpose, and modification teaching equipment current state parameter table, if state does not change, description operation person does not operate the first button knob 24 of the 3rd analog hardware interface module 8, the 32 button knob 25, teaching equipment current state parameter table is constant.Return execution in step 12 at last,, the signal on the display 10 is recomputated and shows, specifically as shown in Figure 8 according to current teaching equipment current state parameter table.
As can be seen, if the operator is to the first button knob 24 of the first analog hardware interface module 2 and the 3rd analog hardware interface module 8, the 32 button knob 25 is adjusted respectively, adjusting order will be learnt by step 1, handled by step 8 and step 14 respectively then, and be revised as the conversion of current teaching equipment current state parameter table, finally become the variation that shows on the display 10, the operator just can operate according to requirement of experiment like this, demonstrate the waveform with true electronic measuring and teaching device unanimity on display 10, this operation feeling with true electronic measuring and teaching device is identical.
At last, the operator collects display waveform, the experiment parameter on the display 10, and the result of comparison and each step of analysis experiment finishes the electronic surveying experimental teaching.

Claims (6)

1. electronic measuring and teaching device, it is characterized in that, this equipment comprises computer system (1), the first analog hardware interface module (2) is to N analog hardware interface module (4), first external bus (3) is to N external bus (5), the first pseudo-stube cable (15) is to the pseudo-stube cable (16) of M, and wherein N is the positive integer less than 16, and M is the positive integer that is not more than 4N-4; Wherein computer system (1) is made up of display (10), host computer system (11), first external bus interface (12), keyboard and mouse (13) and memory device (14);
First external bus interface (12) and memory device (14) are positioned at host computer system (11) cabinet, and display (10) and keyboard and mouse (13) are positioned at outside host computer system (11) cabinet; Host computer system (11) is connected with display (10), and to display (10) output signal; Keyboard and mouse (13) is connected with host computer system (11), and to host computer system (11) output signal; The first analog hardware interface module (2) is connected and exchanges data with first external bus interface (12) that is positioned at host computer system (11) by first external bus (3),, N analog hardware interface module (4) is connected and exchanges data with first external bus interface (12) that is positioned at host computer system (11) by N external bus (5); The first analog hardware interface module (2) connects and exchanges data to M puppet stube cable (16) by the first pseudo-stube cable (15) respectively between per two groups of adjacent analog hardware interface modules in the N analog hardware interface module (4) successively, and the pseudo-stube cable that connects between per two groups of adjacent analog hardware interface modules with exchanges data is no more than four at most;
Described computer system (1) provides the module of virtual computing and demonstration, and the dominant frequency that belongs to a kind of concrete configuration and be central processor CPU is greater than 1G, and internal memory is greater than 500M, and the harddisk memory capacity is greater than the generic computer system of 30G;
The described first analog hardware interface module (2) provides the button knob of simulation true instrument in the experimental teaching and the functional module of connecting interface operation feeling to N analog hardware interface module (4), offers operator's hardware operation sensation identical with true electronic measuring instrument; The first analog hardware interface module (2) is formed to the 32 button knob (25), the first tseudo circuit interface (26), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29) by internal bus (20), microprocessor (21), second external bus interface (22), memory storage (23), the first button knob (24) to N analog hardware interface module (4); Second external bus interface (22) wherein, the first button knob (24) is to the 32 button knob (25), the first tseudo circuit interface (26), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29) are installed in the cabinet outside, microprocessor (21), memory storage (23) and internal bus (20) are installed in this cabinet inside, the first pseudo-stube cable (15) is that the first analog hardware interface module (2) is equipped with the first tseudo circuit interface (26) in the N analog hardware interface module (4) in the experimental teaching to the pseudo-stube cable of M (16), the second tseudo circuit interface (27), each tseudo circuit interface in the interconnected external cable between the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29), above-mentioned N analog hardware interface module connects according to the experiment needs; Microprocessor (21), second external bus interface (22), memory storage (23), the first button knob (24) all connect and exchanges data by internal bus (20) between the 32 button knob (25), the first tseudo circuit interface (26), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29); The first pseudo-stube cable (15) is connected to the first analog hardware interface module (2) to the pseudo-stube cable of M (16) and carries out exchanges data between each first tseudo circuit interface (26), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29) of N analog hardware interface module (4); First external bus (3) is connected the first analog hardware interface module (2) to each second external bus interface (22) of N analog hardware interface module (4) to N external bus (5), carries out exchanges data;
Described display (10) is the functional unit that information is shown to the user, and whole Presentation Functions are provided, and it receives the display parameter that host computer system (11) sends, and offers operator's visual experience identical with true instrument;
Described host computer system (11) physics is identical with the host computer system of common computer with logical organization, and it offers communication and experimentation between computing that the operator is provided with order, display message, the functional unit, is the core function unit of computing, management and realization;
Described first external bus interface (12) is positioned at host computer system (11) inside, be the computer system (1) and the first analog hardware interface module (2) interface to N analog hardware interface module (4) exchanges data, it connects and exchanges data with each second external bus interface (22) in N the analog hardware interface module respectively to N external bus (5) by first external bus (3);
Described keyboard and mouse (13) is the input equipment of computer system (1), is responsible for receiving the operational order of operator to computer system (1), so that the setting of the parameter that experimentizes;
Described memory device (14) is the functional unit of the instruction and data of storage computation machine system (1), is positioned at host computer system (11) inside, is a kind of harddisk memory.
2. a kind of electronic measuring and teaching device according to claim 1 is characterized in that:
Described microprocessor (21) functional unit that to be the first analog hardware interface module (2) carry out computing and management in the N analog hardware interface module (4);
Described second external bus interface (22) is the first analog hardware interface module (2) is carried out exchanges data to N analog hardware interface module (4) and host computer system (11) a interface, an end of second external bus interface (22) is connecting first external bus (3) to N external bus (5) on the one hand, carry out the first analog hardware interface module (2) to the exchanges data between N analog hardware interface module (4) and computer system (1), the first analog hardware interface module (2) is passed to host computer system (11) to the current state of N analog hardware interface module (4); Second external bus interface (22) is connected and exchanges data to the 32 button knob (25), the first tseudo circuit interface (26), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29) with microprocessor (21), memory storage (23), the first button knob (24) by internal bus (20) on the other hand;
Described memory storage (23) is the storage unit of the performed instruction and data of microprocessor (21), also is the unit of exchanges data in the analog hardware interface module;
The described first button knob (24) receives the user to the operation of the first analog hardware interface module (2) to N analog hardware interface module (4) to the 32 button knob (25), offers the user with true instruments used for education button knob identical operations sensation;
The described first tseudo circuit interface (26), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29) are the connecting interfaces of experimental circuit in the experimental teaching, provide the unit of signal input and output function, the one side first tseudo circuit interface (26), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29) transmit numeric data code in the first analog hardware interface module (2) between N analog hardware interface module (4) to the pseudo-stube cable of M (16) by the first pseudo-stube cable (15), on the other hand the first tseudo circuit interface (26), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29) are by internal bus (20) and microprocessor (21), second external bus interface (22), memory storage (23), the first button knob (24) connects and exchanges data to the 32 button knob (25);
Described internal bus (20) is microprocessor (21), second external bus interface (22), memory storage (23), the first button knob (24) is to the 32 button knob (25), the first tseudo circuit interface (26), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) is connected the path with exchanges data with the 4th tseudo circuit interface (29), under the management of microprocessor (21), microprocessor (21), second external bus interface (22), memory storage (23), the first button knob (24) is to the 32 button knob (25), the first tseudo circuit interface (26), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29) carry out exchanges data by internal bus (20);
The described first pseudo-stube cable (15) is the cable that experimental circuit that is virtually reality like reality connects to the pseudo-stube cable of M (16), offer the connection sensation that the operator is equal to true instruments used for education, itself and the first analog hardware interface module (2) each first tseudo circuit interface (26) in the N analog hardware interface module (4), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) is connected with the 4th tseudo circuit interface (29), the first pseudo-stube cable (15) is a numeric data code to the pseudo-stube cable of M (16) transmission, rather than the actual signal of true teaching equipment transmission, each first tseudo circuit interface (26) that the first pseudo-stube cable (15) is the first analog hardware interface module (2) in the N analog hardware interface module (4) to the corresponding interface that connects of the pseudo-stube cable of M (16), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29).
3. a kind of electronic measuring and teaching device according to claim 1, it is characterized in that: the described first pseudo-stube cable (15) is a kind of scale-of-two 32 bit data of serial to the numeric data code of the pseudo-stube cable of M (16) transmission, 1~16 of data bit is zone bit, 17~24 bit data of data bit are hard piece numbers, and 25~32 bit data of data bit are port numbers;
Numeric data code is from each first tseudo circuit interface (26), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29) do not stop circulation and send, when one first tseudo circuit interface (26), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29) receive continuous 16 " 0 " or " 1 " and promptly are defined as zone bit, 8 bit data of receiving behind zone bit are exactly hard piece number, 8 bit data of receiving behind hard piece number are exactly port numbers, with each bit data summation and judgement parity, authenticity that can the verification msg sign indicating number can draw in the first analog hardware interface module (2) by comparison and to send the physical simulation hardware interface module of numeric data code in the N analog hardware interface module (4) and at the first tseudo circuit interface (26), the second tseudo circuit interface (27), send the concrete tseudo circuit interface of numeric data code in the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29).
4. a kind of electronic measuring and teaching device according to claim 3 is characterized in that:
Described hard piece number is to distinguish the data of the first analog hardware interface module (2) to N analog hardware interface module (4), in the electronic surveying experimental teaching, the first analog hardware interface module (2) is different to N hard piece number of N analog hardware interface module (4), its numerical value is unique when dispatching from the factory to be determined, selects arbitrarily in 00000001~11111110 interval;
Described port numbers be determine the first analog hardware interface module (2) in the N analog hardware interface module (4) each first button knob (24) to the 32 button knob (25) and the first tseudo circuit interface (26), the second tseudo circuit interface (27), the data of the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29), the first analog hardware interface module (2) in the N analog hardware interface module (4) each first button knob (24) to the 32 button knob (25), the first tseudo circuit interface (26), the second tseudo circuit interface (27), the port numbers of the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29) is unique, the select progressively in 00000001~11111110 interval of its numerical value;
Described zone bit is the data bit of setting with the judgment data sign indicating number in order accurately to read, its numerical value has 0000000000000000 and 1,111,111,111,111,111 two kind of selection, if each bit data addition result of a numeric data code is an even number, the zone bit data are " 0 ", if each bit data addition result is an odd number, the zone bit data are " 1 ".
5. an application rights requires the using method of 1 described electronic measuring and teaching device, and it is characterized in that: this using method is divided into following step:
Step 1: analog hardware interface module functional configuration;
Under the management of microprocessor (21), the first analog hardware interface module (2) is at first finished functional configuration to N analog hardware interface module (4), receives user's operating command then at any time and feeds back to host computer system (11);
Step 2: set up teaching equipment current state parameter table;
After host computer system (11) is called the instruction code that is stored in the memory device (14), host computer system (11) receives the initial parameter of the first analog hardware interface module (2) to N analog hardware interface module (4) by first external bus interface (12), and be stored as teaching equipment current state parameter table, as: the first analog hardware interface module (2), the hard piece number of N analog hardware interface module (4), each first button knob (24) is to the 32 button knob (25) and each first tseudo circuit interface (26), the second tseudo circuit interface (27), the port numbers and the current state of the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29);
The teaching equipment current state parameter table that this step is set up, be in the current teaching equipment of record the first analog hardware interface module (2) to N analog hardware interface module (4) and each first button knob (24) to the 32 button knob (25), each first tseudo circuit interface (26), the second tseudo circuit interface (27), the file of the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29) state parameter, comprise the first analog hardware interface module (2) that is connected on the host computer system (11) hard piece number to N analog hardware interface module (4), each first button knob (24) is to the 32 button knob (25) corresponding port number and state value, each first tseudo circuit interface (26), the second tseudo circuit interface (27), the port numbers of the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29), theory state value and actual condition value, because hard piece number and port numbers have uniqueness, so teaching equipment current state parameter table, utilize hard piece number and port numbers to be sign, write down the first analog hardware interface module (2) to N analog hardware interface module (4) and each first button knob (24) to the 32 button knob (25), each first tseudo circuit interface (26), the second tseudo circuit interface (27), the theory state of the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29), virtual condition and funtcional relationship, the operator's to of the operation of the first analog hardware interface module (2) in each flow process to N analog hardware interface module (4), the final modification that all changes into this teaching equipment current state parameter table, and calculate current display parameter are the data that rely on the current state parameter table, so the operator is to the operation of the first analog hardware interface module (2) to N analog hardware interface module (4), actual modification the demonstration of Virtual Instrument, can realize feeling with the true instrument identical operations;
Step 3: call and show Virtual Instrument;
The operator passes through operation keyboard mouse (13) according to experiment content, call and be stored in Virtual Instrument file relevant in the memory device (14), host computer system (11) is calculated the Virtual Instrument display parameter, and goes up the demonstration Virtual Instrument at display (10);
Step 4: set up Virtual Instrument and analog hardware interface mappings relation table;
The operator is by keyboard and mouse (13) operation, the Virtual Instrument of establishing on the display (10) and is stored as Virtual Instrument and analog hardware interface mappings relation table with the first analog hardware interface module (2) each first button knob (24) in the N analog hardware interface module (4) to the corresponding relation of the 32 button knob (25) and each first tseudo circuit interface (26), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29);
Virtual Instrument of setting up in this step and analog hardware interface mappings relation table, be in the current teaching equipment of record each Virtual Instrument and the first analog hardware interface module (2) in the N analog hardware interface module (4) each first button knob (24) to the 32 button knob (25) and the first tseudo circuit interface (26) respectively, the second tseudo circuit interface (27), the file of mapping relations between the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29), wherein corresponding Virtual Instrument record be correspondence position on each virtual panel, corresponding analog hardware interface module record be the hard piece number of the first analog hardware interface module (2) to N analog hardware interface module (4), each first button knob (24) is to the 32 button knob (25) and each first tseudo circuit interface (26), the second tseudo circuit interface (27), the port numbers of the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29); After Virtual Instrument and analog hardware interface mappings relation table are set up, the operator to the first analog hardware interface module (2) in the N analog hardware interface module (4) each first button knob (24) to the operation of the 32 button knob (25) and each first tseudo circuit interface (26), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29), corresponded to the operational order on the Virtual Instrument by unique, know operator's actual command;
Step 5: set up mapping relations table between the tseudo circuit interface;
The operator is by operation keyboard mouse (13), establish the first analog hardware interface module (2) connection corresponding relation between each first tseudo circuit interface (26), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29) in the N analog hardware interface module (4), and be stored as mapping relations table between the tseudo circuit interface;
Mapping relations table between the tseudo circuit interface of setting up in this step, it is the first analog hardware interface module (2) each first tseudo circuit interface (26) in the N analog hardware interface module (4) in the current teaching equipment of record, the second tseudo circuit interface (27), the file of annexation between the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29), wherein record is the first analog hardware interface module (2) hard piece number and inner each first tseudo circuit interface (26) thereof to N analog hardware interface module (4), the second tseudo circuit interface (27), the port numbers of the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29), the first tseudo circuit interface (26) of transmit status, the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29) are positioned at the front end of record, the first tseudo circuit interface (26) of accepting state, the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29) are positioned at the rear end of record; Utilize the mapping relations between each first tseudo circuit interface (26), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29), can compare with the numeric data code that receives, find operator's incorrect link, and, revise display parameter according to incorrect link modification teaching equipment current state parameter table;
Step 6: the interface of selecting Set For Current;
If Set For Current is signal generation class interface function, then change step 7 over to;
If Set For Current is experimental circuit class interface function, then change step 9 over to;
If Set For Current is oscillograph class interface function, then change step 12 over to;
Step 7: signal calculated generator class virtual signal display parameter, and show;
Host computer system (11) is called teaching equipment current state parameter table, host computer system (11) is searched the corresponding processing function of storage in the memory device (14), the current display parameter of signal calculated generator class virtual signal, and on the current virtual panel of display (10), show;
Step 8:, revise parameter list according to the analog hardware Interface status;
Host computer system (11) receives from the order of the first analog hardware interface module (2) to N analog hardware interface module (4) by first external bus interface (12), judge then whether the first analog hardware interface module (2) does not change to the state of N analog hardware interface module (4), if the first analog hardware interface module (2) does not change to the state of N analog hardware interface module (4), description operation person in this cycle, do not operate the first analog hardware interface module (2) to the first button knob (24) of N analog hardware interface module (4) to the 32 button knob (25), continue to wait for operator's order, and it is constant to keep display (10) upward to show; If the state of the first analog hardware interface module (2) changes, description operation person to the first analog hardware interface module (2) ..., N analog hardware interface module (4) the first button knob (24) adjust to the 32 button knob (25), then according to Virtual Instrument and analog hardware interface module mapping relations table, draw operator's true operation purpose, and revise teaching equipment current state parameter table; Return execution in step seven at last,, the signal on the display (10) is calculated and shows according to current teaching equipment current state parameter table;
Step 9: select block diagram to build the virtual experimental circuit;
Operator's operation keyboard mouse (13) is selected suitable block diagram and circuit to build a virtual experimental circuit on the virtual experimental circuit interfaces, and is presented on the display (10);
Step 10: set up the input/output relation operation table;
According to the block diagram of prior foundation and the corresponding relation of function, set up the funtcional relationship between each the block diagram input and output in the virtual experimental circuit, and funtcional relationship is stored as the input/output relation operation table, in this step, transfer the noise and the interfering data of predefined, and among the result that is added to, just can realize analogue noise and quantitatively disturb these two kinds of experiment contents that ordinary electronic MEASUREMENT TEACHING equipment can't provide;
The input/output relation operation table of setting up in this step, it is the file of the funtcional relationship between each block diagram input and output of record, wherein at first record be the port numbers of the hard piece number of analog hardware interface module and each first tseudo circuit interface (26), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29) of input and output point, the back be funtcional relationship concrete between 2; The input/output relation operation table with in the real circuit to the conversion of signal, record becomes the function of storage in the computer system (1) to be handled, and has saved the hardware input, has improved the security of experiment;
Step 11: judgment experiment circuit class tseudo circuit interface annexation, revise parameter list;
Receive from the first analog hardware interface module (2) each first tseudo circuit interface (26) in the N analog hardware interface module (4) by first external bus interface (12), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29) state, and the mapping relations table compares between the tseudo circuit interface, judge each first tseudo circuit interface (26), the second tseudo circuit interface (27), whether the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29) state meet corresponding relation, if meet corresponding relation, description operation person utilizes the first pseudo-stube cable (15) to connect the first analog hardware interface module (2) each first tseudo circuit interface (26) in the N analog hardware interface module (4) to the pseudo-stube cable of M (16), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29) meet requirement of experiment, according to teaching equipment current state parameter table and input/output relation operation table, the numerical relation and the storage of host computer system (11) experiment with computing circuit kind equipment function input output device body; If do not meet corresponding relation, description operation person utilizes the first pseudo-stube cable (15) to connect the first analog hardware interface module (2) each first tseudo circuit interface (26) in the N analog hardware interface module (4) to the pseudo-stube cable of M (16), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29) are wrong with requirement of experiment, then according to the annexation of reality, the input/output relation operation table that utilizes step 10 to set up, the numerical relation of host computer system (11) experiment with computing circuit kind equipment function input output device body, according to Virtual Instrument and analog hardware interface module mapping relations table, revise teaching equipment current state parameter table;
Step 12: judge oscillograph class tseudo circuit interface annexation, revise parameter list;
Receive from the first analog hardware interface module (2) each first tseudo circuit interface (26) in the N analog hardware interface module (4) by first external bus interface (12), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29) state, and the mapping relations table compares between the tseudo circuit interface of setting up in the teaching equipment initialization flow process, judge each first tseudo circuit interface (26), the second tseudo circuit interface (27), whether the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29) state meet corresponding relation, if meet corresponding relation, description operation person utilizes the first pseudo-stube cable (15) to connect the first analog hardware interface module (2) each first tseudo circuit interface (26) in the N analog hardware interface module (4) to the pseudo-stube cable of M (16), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29) meet requirement of experiment; If do not meet corresponding relation, description operation person utilizes the first pseudo-stube cable (15) to connect the first analog hardware interface module (2) to the pseudo-stube cable of M (16), and respectively first tseudo circuit interface (26), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29) are wrong with requirement of experiment in N analog hardware interface module (4), then, revise teaching equipment current state parameter table according to the annexation of reality;
Step 13: computing oscilloscope class virtual signal display parameter, and show;
According to teaching equipment current state parameter table and input/output relation operation table, the current display parameter of host computer system (11) computing oscilloscope class virtual signal, and in upward demonstration of display (10);
Step 14: revise parameter list according to the analog hardware Interface status;
Receive from of the order of the first analog hardware interface module (2) by first external bus interface (12) to N analog hardware interface module (4); If the first analog hardware interface module (2) changes to the 32 button knob (25) state to the first button knob (24) of N analog hardware interface module (4), description operation person adjusts to the 32 button knob (25) to the first button knob (24) on the N analog hardware interface module (4) the first analog hardware interface module (2), according to Virtual Instrument and analog hardware interface mappings relation table, draw operator's true operation purpose, and revise teaching equipment current state parameter table; If state does not change, description operation person does not operate the first button knob (24) of the first analog hardware interface module (2) on the N analog hardware interface module (4) to the 32 button knob (25) in this cycle, teaching equipment current state parameter table is constant; Return execution in step 13 at last,, the signal on the display (10) is calculated and shows according to current teaching equipment current state parameter table.
6. a kind of electronic measuring and teaching device using method according to claim 5 is characterized in that: the first analog hardware interface module (2) described in the step 1 is finished functional configuration to N analog hardware interface module (4) and is divided into following steps:
Step 1.1: the initial parameter of sending the analog hardware interface module;
Microprocessor (21) is called in the instruction of memory storage (23) storage, sends the initial parameter of the first analog hardware interface module (2) to N analog hardware interface module (4) by second external bus interface (22);
Step 1.2: the state that sends the button knob;
Judge whether the first button knob (24) does not change to the 32 button knob (25) state, if state does not change, then send the first button knob (24) to host computer system (11) and do not change order to the 32 button knob (25) state by second external bus interface (22); If state changes, then send the first button knob (24) that changes to the 32 button knob (25) current state to host computer system (11) by second external bus interface (22);
Step 1.3: send or receive numeric data code;
Judge whether the first tseudo circuit interface (26), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29) should be transmit statuss, if transmit status, then send numeric data code by the first tseudo circuit interface (26), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29), what this moment, this tseudo circuit interface was simulated is a signal output port; If not transmit status, then receive numeric data code by the first tseudo circuit interface (26), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29), what this moment, this tseudo circuit interface was simulated is a signal input port;
Step 1.4: send the tseudo circuit Interface status;
Send the state of the first tseudo circuit interface (26), the second tseudo circuit interface (27), the 3rd tseudo circuit interface (28) and the 4th tseudo circuit interface (29) by second external bus interface (22) to host computer system (11), be circulated to step 2 afterwards and continue this workflow.
CN2009100911954A 2009-08-13 2009-08-13 Electronic measuring and teaching device and using method thereof Expired - Fee Related CN101630461B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100911954A CN101630461B (en) 2009-08-13 2009-08-13 Electronic measuring and teaching device and using method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100911954A CN101630461B (en) 2009-08-13 2009-08-13 Electronic measuring and teaching device and using method thereof

Publications (2)

Publication Number Publication Date
CN101630461A CN101630461A (en) 2010-01-20
CN101630461B true CN101630461B (en) 2011-01-05

Family

ID=41575558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100911954A Expired - Fee Related CN101630461B (en) 2009-08-13 2009-08-13 Electronic measuring and teaching device and using method thereof

Country Status (1)

Country Link
CN (1) CN101630461B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104835392A (en) * 2015-04-23 2015-08-12 中国电子科技集团公司第四十一研究所 Virtual circuit adjusting method of teaching experiment module circuit adjustable parameters
CN104952338A (en) * 2015-06-17 2015-09-30 青岛大学 Electronic receiver experiment device
CN108205404A (en) * 2016-12-16 2018-06-26 苏州普源精电科技有限公司 measuring system and method based on virtual panel
CN109116080B (en) * 2018-07-02 2020-09-22 厦门凤凰创壹软件有限公司 Intelligent multimeter capable of measuring three-dimensional virtual simulation circuit or component

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4787024A (en) * 1985-08-01 1988-11-22 The Singer Company Interface system for simulated display instruments in a vehicle simulator
CN2264383Y (en) * 1995-01-24 1997-10-08 国家教育委员会教学仪器研究所 Physic experiment computer interface
CN2394255Y (en) * 1999-06-25 2000-08-30 教育部教学仪器研究所 Computer interface for teaching
CN2816962Y (en) * 2005-07-19 2006-09-13 浙江天煌科技实业有限公司 Detection-control technology comprehensive experiment system
CN201191472Y (en) * 2008-06-20 2009-02-04 黑龙江科技学院 Measurement control engineering practicing platform based on virtual instrument

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4787024A (en) * 1985-08-01 1988-11-22 The Singer Company Interface system for simulated display instruments in a vehicle simulator
CN2264383Y (en) * 1995-01-24 1997-10-08 国家教育委员会教学仪器研究所 Physic experiment computer interface
CN2394255Y (en) * 1999-06-25 2000-08-30 教育部教学仪器研究所 Computer interface for teaching
CN2816962Y (en) * 2005-07-19 2006-09-13 浙江天煌科技实业有限公司 Detection-control technology comprehensive experiment system
CN201191472Y (en) * 2008-06-20 2009-02-04 黑龙江科技学院 Measurement control engineering practicing platform based on virtual instrument

Also Published As

Publication number Publication date
CN101630461A (en) 2010-01-20

Similar Documents

Publication Publication Date Title
CN101630461B (en) Electronic measuring and teaching device and using method thereof
CN103454522A (en) Electronic replacement part technology state automatic detection system and method based on PXI bus
CN201421670Y (en) Soft programmable controller
CN201278232Y (en) Teaching and experiment system for virtual instrument technique
CN104680902A (en) Interactive analog electronics technique experimental system
CN104504974A (en) Experiment instrument for designing and developing single-chip microcomputer
CN105573301B (en) A kind of accidental resonance simulation system of adjustable parameter
CN106128178A (en) Experimental system based on virtual instrument
Ichsan et al. Design and implementation 8 bit CPU architecture on Logisim for undergraduate learning support
CN104933923A (en) A medical electronic apparatus simulation experiment teaching platform based on a virtual instrument
CN105183954B (en) A kind of universal serial bus health monitoring platform based on PXI
CN203490878U (en) Electronic information comprehensive experiment system
CN2676331Y (en) Virtual experimental apparatus based on network
CN204087636U (en) A kind of electronic building block type emulator
CN111651155B (en) Programming learning operating system and external interactive system
Plummer et al. A circuits II laboratory accessible by Internet
Karam et al. Work-in-progress: Hyflex hands-on hardware security education during covid-19
Li Computer embedded automatic test system based on VxWorks
Papazoglou A hybrid simulation platform for learning microprocessors
Zoppke et al. The virtual life of ENIAC: Simulating the operation of the first electronic computer
Ptak Virtual Learning Of Electronics
Zhang Intelligent Signal Generator Based AT89C51 Microcontroller
WANG et al. Application for Emu8086 and Proteus in Microcomputer Principle Teaching
CN203689732U (en) Automotive electronic networked fault simulation assessment apparatus
Davydov et al. Complex for Remote Execution of Laboratory Work on Radioelectronics

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110105

Termination date: 20150813

EXPY Termination of patent right or utility model