CN107329863A - A kind of measuring instrument general hardware platform based on COMe - Google Patents

A kind of measuring instrument general hardware platform based on COMe Download PDF

Info

Publication number
CN107329863A
CN107329863A CN201710473373.4A CN201710473373A CN107329863A CN 107329863 A CN107329863 A CN 107329863A CN 201710473373 A CN201710473373 A CN 201710473373A CN 107329863 A CN107329863 A CN 107329863A
Authority
CN
China
Prior art keywords
come
bus
modules
hardware platform
measuring instrument
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.)
Granted
Application number
CN201710473373.4A
Other languages
Chinese (zh)
Other versions
CN107329863B (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.)
CETC 41 Institute
Original Assignee
CETC 41 Institute
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 CETC 41 Institute filed Critical CETC 41 Institute
Priority to CN201710473373.4A priority Critical patent/CN107329863B/en
Publication of CN107329863A publication Critical patent/CN107329863A/en
Application granted granted Critical
Publication of CN107329863B publication Critical patent/CN107329863B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2289Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by configuration test
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/263Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)
  • Bus Control (AREA)

Abstract

The present invention proposes a kind of measuring instrument general hardware platform based on COMe, and its data interaction network is divided into three types:The first is internal bus network of the platform interior using embedded type C OMe modules as core, to complete the data interaction between each function one integral piece of user and embedded type C OMe modules;It is for second the bus network of cross-platform data interaction;The third is by bus bridge chip or FPGA to be converted into low speed bus using high-speed bus, is realized between each function one integral piece of user or the data interaction between embedded type C OMe modules.By the present invention in that defining identical EBI with different type COMe module pin positions, other EBIs are realized by common bus interface or FPGA modes, function is realized independent, independent of COMe type of modules, so hardware platform is all suitable for different types of COMe modules, different types of module can be with plug and play.

Description

A kind of measuring instrument general hardware platform based on COMe
Technical field
The present invention relates to technical field of measurement and test, more particularly to a kind of measuring instrument general hardware platform based on COMe.
Background technology
Embedded Computer On Modules (COMe) are that one kind designs CPU, chipset, internal memory and ancillary equipment in a part Highly integrated property board, just as a component is inserted on plank when using, system upgrade also more facilitates, and can save use The family system development time, user is set more to concentrate one's energy to be absorbed in the field developmental research itself being good at.
Because most of function of Embedded Computer On Modules needs some peripheral circuits ability normal work of arranging in pairs or groups, so Independently developed support plate of arranging in pairs or groups is needed when user uses.COMe modules have Type1,2,6 and 10 types, Type1 and 10 types money Source limited power consumption is low, is generally used for portable instrument, and Type2 and 6 type cost performances are high, are generally used for desk-top instrument.Type2: Remain ide interface, pci interface;Type6:Remove IDE, pci interface, while adding USB3.0, DDI and spare interface.
At present on the market based on COMe modules design measuring instrument hardware platform, one of which design method be for The design specialized support plate of Type2,6 or 10, COMe modules can only use a certain type in above-mentioned three class, pass through special connector On support plate fixed to design, peripheral bus is if nonstandard, it is necessary to user's designed, designed interlock circuit;It is another to set Meter method is to buy the customization service that COMe module suppliers are provided, and the COMe modules that measuring instrument hardware platform is selected are with pressing The support plate of customization is required according to user, PCB is redesigned and merges as an entirety, producer provides the user service, is responsible for design Various EBIs needed for measuring instrument.
Both the above design method common feature is:COMe modules can only use a certain type in above-mentioned three class, user The peripheral hardware devices of design are the EBI of fixed type, and value volume and range of product can not be changed, all hardware in measuring instrument All it is this type of hardware platform-specific, is difficult to be grafted directly to other type of hardware platforms to use without modification.Difference Place is:The first design method conditional in same type COMe module product catalogues can select compatible COMe Module reaches hardware platform performance upgrade purpose, and with respect to second design method of peripheral bus type will lack, but It is designed to this relative lower;Second of design method is custom design due to hardware platform, and the performance of hardware platform is It is not upgradeable, customisation costs costly, but relative to the first Hardware platform design method in hardware circuit layout side Face is more reasonable, and compact conformation, reliability is higher, and measuring instrument volume can accomplish smaller, and internal each one integral piece topology layout is more Adduction is managed.
Generally speaking, both Hardware platform design method characteristics of measuring instrument are exactly that specificity is very strong, it is adaptable to a certain Hardware is not generally applicable between the COMe modules of type, different type, COMe type of modules choice very little, platform hardware upgrading It is relatively difficult.
The higher and higher trend of measuring instrument index request and special applications background demand are increased in view of in the market user Many situations, instrument hardware needs data volume to be processed to be multiplied, and the speed that data are transmitted between corresponding hardware is also required to Increasingly faster, this proposes very high requirement to instrument hardware platform.If Current hardware performance can not meet and apply needs, that With regard to HardwareUpgring must must be carried out.
With the development of bussing technique, the bussing technique of many main flows before is on the verge of being replaced, by new bussing technique Substitution, such as pci bus is replaced by PCIe buses, because COMe module Type2 interface bus types are total compared to Type6 interfaces Line type of technology falls behind, so the COMe modules of Type2 interface types gradually can be taken by the COMe modules of Type6 interface types Generation, the measuring instrument of existing use Type2 type of hardware platforms faces the problem that can not be produced.Above two measuring instrument hardware Platform designing method can not all solve what is upgraded between hardware platform variety classes on the premise of hardware is without a large amount of modifications Problem, has delayed the Time To Market of instrument, and new hardware modifications also need to do many reliability test work again.
Prior art has as a drawback that:
(1) existing method is only applicable to the instrument using a certain Type C OMe module hardware platforms, incompatible different type COMe modules;
(2) measuring instrument of existing method design is applied to the hardware platform of the COMe modules of a certain type, due to module Electric, the mechanical attributes do not unified, the integrated device controller performance of different COMe modules is also had any different, when existing hardware When circuit performance is unsatisfactory for the design requirement of new instrument, the upgrading of instrument hardware platform is difficult;
(3) measuring instrument of existing method design is applied to the hardware platform of the COMe modules of a certain type, Type2 types EBI is based on older generation's bus type, and high performance bus interface is less, and overall performance falls behind relatively;Type6 types are total Line interface is based on bus type of new generation, and high performance bus interface is more, and overall performance is relatively advanced;Both types platform Most direct consequence is exactly that the existing hardware having had verified that of user is not general on two kinds of platforms caused by bus type is different, If the hardware circuit designed on this platform is difficult to be transplanted on other types of hardware platform directly to use without modification, It is portable not high, instrument development difficulty and cost are increased, has delayed instrument Time To Market;
(4) the measuring instrument hardware platform PCIe bus port quantity of existing method design is fixed, usually 3-5 Individual, because user equipment is more and more to the demand of high speed data transfer, the high-speed bus port of these quantity is difficult to meet high The requirement of performance applications;
(5) COMe modules do not support USB port slave pattern at present, it is impossible to realize that measuring instrument is program control by USB port.
The content of the invention
The present invention proposes a kind of measuring instrument general hardware platform based on COMe, solves using COMe hardware platforms Instrument solves to be based on variety classes due to the uncurrent problem of support plate of the different caused instrument COMe modules of COMe type of modules The problem of peripheral hardware hardware circuit of COMe modules design is not portable strong, solves instrument hardware platform bus type and is limited to list The problem of one Type C OMe modules, solve COMe module PCIe bus port quantity it is very few and can not dynamic adjusting bandwidth ask Topic, is solved the hardware platform designed based on COMe modules and is not supported USBTMC agreements to carry out the problem of instrument is program control.
The technical proposal of the invention is realized in this way:
A kind of measuring instrument general hardware platform based on COMe, its data interaction network is divided into three types:The first Internal bus network of the platform interior using embedded type C OMe modules as core, come complete each function one integral piece of user with it is embedded Data interaction between COMe modules;It is for second the bus network of cross-platform data interaction;The third is to use high-speed bus Low speed bus is converted into by bus bridge chip or FPGA, realize between each function one integral piece of user or with it is embedded Data interaction between COMe modules.
Alternatively, internal bus network of the platform interior using embedded type C OMe modules as core, PEG ports are configured Into 3 PCIe ports, it is respectively:1 × 8 and 2 × 4, × 8 ports are backward compatible × 1/2/4 mode of operation, and × 4 ports are simultaneous downwards Hold × 1/2 pattern, external customer equipment data transmission rate realizes dynamic adjustment between 2.5Gbps to 20Gbps.
Alternatively, one group of spi bus port is also expanded in addition using FPGA.
Alternatively, between the platform interior hardware and external equipment data interaction bus network, retain existing total Line interface, new high speed bus interface is realized by using the additional related circuit of USB3.0 and SATA buses.
Alternatively, using Super I/O chips, RS232, PS2 bus are carried out by the lpc bus port of COMe modules Communication, gpib bus communicated using interface chip NAT9914, and Super I/O chips or NAT9914 chips are by generation Data are sent to FPGA, then are communicated by the bus of one group of PCIe × 1 with COMe modules.
Alternatively, USB3.0 interfaces are have also been devised, for extending massive store peripheral hardware.
Alternatively, the bus port of one group of PCIe × 1 is converted into pci bus by selection by PCIe bridging chips, realization Various types of hardware platforms all support pci bus interface.
Alternatively, in addition to measuring instrument USB slave unit interfaces, received and dispatched using 8051 single-chip microcomputers, single channel PCIe buses Device, USB3.0 interface controllers and high speed FIFO are realized;
PCIe interface controller communicates with COMe modules has used the bus port of one group of PCIe × 1, and PCIe protocol is used PCIe2.0 agreements;Usb interface controller uses USB3.0 agreements, bus is backward compatible USB2.0 agreements, USB with HPI Interface controller is adaptively accessed using the main frame of USB2.0 or USB3.0 agreements.
Alternatively, include the equipment firmware procedure development flow of support USBTMC agreements, be specially:
First, each class descriptor of equipment is configured according to form as defined in USBTMC agreements, main frame is identified as instrument USBTMC equipment;
Then, the self-defined request of more than ten species specified in addition USBTMC agreements, reflects each generic attribute of equipment;
Equipment end is collected and handles the self-defined request of main frame transmission, the Bulk information that parsing main frame is sent, further according to The actual information arrived, equipment sets return information, to host response Bulk information.
Alternatively, on instrument after electricity, whether firmware program verifies the data stored in EEPROM first correct, then realizes The initialization of PCIe interface controller, high speed FIFO and usb interface controller, configuration is completed after parameter, and main frame passes through USB interface Program control operation is carried out to instrument.
The beneficial effects of the invention are as follows:
(1) by the present invention in that defining identical EBI, other buses with different type COMe module pin positions Interface realizes that function is realized independently, independent of COMe type of modules by common bus interface or FPGA modes, so Hardware platform is all suitable for different types of COMe modules, and different types of module can be with plug and play;
(2) the instrument hardware platform that the present invention is designed, due to having used COMe modules unified electric, mechanical attributes, when Module performance can upgrade at any time when being unsatisfactory for instrumental function demand, and module choice is very big, when saving product development Between;
(3) the hardware platform EBI species that the present invention is designed is enriched, big with the type of COMe modules Type2,6 and 10 Portions of bus interface, can both take into account old hardware device using old EBI, and can also add new hardware device and use The EBI of higher performance so that hardware device is portable high, shortens the project development time, cost-effective;
(4) present invention becomes 3 high performance PCIe ports by configuring COMe module PEG ports, supports PCIe × 8/ × 4/ × 2/ × 1, data transfer bandwidth is up to 20Gbps, meets performance application demand;By adding PCIe The Switch chips extension port number of PCIe × 1, uses FPGA control Switch chip configuration pins, it is possible to achieve online dynamic Adjust the function of data downstream transmission bandwidth so that complete machine PCIe port quantity is up to 11;
(5) the instrument program control technology of the invention based on USB3.0 protocol realization USBTMC agreements, and backward compatible USB2.0, data transmission bauds can reach 5.0Gbps, it is possible to achieve need the complex instrument function of generating date, for example Signal source random waveform generating function.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the hardware structure schematic diagram of the pci bus of the present invention;
Fig. 2 is the bus structures schematic diagram of the measuring instrument general hardware platform of the invention based on COMe;
Fig. 3 is USB Client ports realization principle block diagram of the invention;
Fig. 4 is USBTMC protocol realization flow charts of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
According to Hardware platform design target above and different types of COMe modules pin defined analysis, present invention design The guiding theory of hardware platform is compatible different types of COMe modules, and interface bus performance meets various types of measuring instruments Functional requirement, and ensure using the system architecture most simplified the reliability and economy of hardware platform, hardware platform Various bus ports need to cut according to project.
The data interaction network of the hardware platform of the present invention, is segmented into three types:The first is platform interior with embedding Enter the internal bus network that formula COMe modules are core, to complete the number between each function one integral piece of user and embedded type C OMe modules According to interaction;It is for second the bus network of cross-platform data interaction, such as it is real that platform passes through USB3.0 interface external mobiles hard disk The multiple duplication of existing platform interior software data;The third is to be changed using high-speed bus by bus bridge chip or FPGA Into low speed bus, realize between each function one integral piece of user or the data interaction between embedded type C OMe modules.
First, the internal bus network design inside the first type of platform by core of embedded type C OMe modules is carried out Explanation.
Inside hardware platform, each function one integral piece of user's design has the need of many high speed data transfers with COMe modules Ask, the bus port of preceding 3 PCIe configured using COMe module basis × 1 can meet most of needs.According to current measurement The performance indications development trend of instrument, volume of transmitted data can be continuously increased, so the transmission bandwidth of bus be able to will enter as needed Row adjustment.PCIe bus protocols provide the optional channel in 1~32 tunnel on a physical layer can almost realize infinite expanding transmittability. COMe module Type2 and the Type6 type of selection all have PEG ports, and Type10 types do not have PEG ports.PEG port compatibles The PCIe device of standard, can adjust mode of operation by configuring port parameter.So designing PCIe buses using PEG ports Interface has very high versatility.This design method of hardware platform of the present invention is applied to Type2 and Type6 Type C OMe moulds Block, user should then select high performance COMe modules if high performance application needs to use PEG ports, if need not Use PEG ports then can save cost from the COMe modules of low configuration.PEG ports are configured to for 3 by the present invention PCIe port, be respectively:1 × 8 and 2 × 4 (lanes#0-7+#8-11+#12-15), × 8 ports are backward compatible × 1/2/4 work Pattern, × 4 ports are backward compatible × 1/2 pattern, external customer equipment data transmission rate can between 2.5Gbps to 20Gbps To realize dynamic adjustment.Needed inside measuring instrument the other high-speed bus ports used also have LVDS, ENET, DDI and SATA, these buses all select first group of port of COMe modules, and USB port selects preceding 4 groups of ports, and whether the other ports of bus deposit The configuration of the COMe module hardwares selected by user is being relied on, depending on hardware platform cost control requirement.
There are some in hardware platform through commonly used low speed bus, such as SPI, SMB, I2C bus port, these ends The type of mouth Type2,6 and 10 all has, and directly leads out and can be used, design of the invention is also expanded in addition using FPGA One group of spi bus port.
Next, the bus design to data interaction between second of type platform interior hardware and external equipment is said It is bright.
At present, that is reserved both at home and abroad on existing various measuring instrument panels connects with user's external hardware equipment standard traffic Mouthful, typically there are the standard interfaces such as VGA/GPIB/PS2/ENET/USB2.0/RS232, but on the instrument much newly gone out, eSATA Or USB3.0 interfaces are increasingly becoming standard configuration, it is adaptable to the application demand of high speed data transfer.Newly-designed hardware platform in order to Compatible existing instrument, old EBI must retain, and new high speed bus interface is by using USB3.0 and SATA buses Additional related circuit realizes that these interfaces can all be cut according to project demand.Because COMe module interface standards are not supported GPIB/PS2/RS232 buses, so these buses must must all be converted into the total of COMe modules support by special hardware circuit Line type.It is general at present to use Super I/O special chips, the lpc bus port that RS232, PS2 bus are passed through into COMe modules Communicated;Gpib bus realizes that then the data of generation are sent to by these chips using Special Interface Chip NAT9914 FPGA, then communicated by the bus of one group of PCIe × 1 with COMe modules.The highest transmission speed that USB2.0 agreements can reach For 60MB/s (theoretical value), in view of the appearance of Large Copacity movable storage device, this speed can not meet the biography of big data quantity Defeated to require, the highest transmission speeds of USB3.0 agreements has reached 625MB/s (theoretical value), and speed totally improves 10 times, and Since issuing within 2008 till now, corresponding hardware support kit has developed highly developed USB3.0 agreements, so this platform Also USB3.0 interfaces are devised, for extending massive store peripheral hardware.USB3.0 ports are only applicable to from Type6 types COMe modules, all types of COMe modules all support eSATA ports, but the hardware device that eSATA ports are supported is many less, Need hardware device to meet protocol version requirement just to can be used.These high speed bus interfaces support instrument to realize that sophisticated signal is simulated Real-time operation and ability to play, support real time data acquisition and backup the need for.
Finally, the conventional bus port extension design do not supported directly COMe modules inside the third type of platform is carried out Explanation.
Pci bus is a kind of 20 years EBIs of main flow of past, is replaced now by PCIe buses, but user is very Many existing hardware equipment are based on pci bus interface design.Because pci bus interface exists only in the hardware of Type2 types Platform, so these hardware devices can not directly apply to the Type6 for not supporting pci bus interface and the hardware of 10 types is put down Platform.When newly-designed measuring instrument needs to use these hardware devices, it is necessary to redesign EBI, related change and Test job amount is very big, improves development cost, and instrument Time To Market can also postponed.If in various types of hardware platforms On realize that pci bus interface can save very big human and material resources.Realize that this purpose there are three class methods, it is as shown in the table:
Implementation Cost R&D cycle Development difficulty
Designed, designed EBI It is higher It is very long Agreement is complicated, and difficulty is very big
Buy FPGA IP kernel It is very high, also need to buy driver It is short Simply
Bridging chip It is very low It is shorter It is medium
As shown in figure 1, the hardware platform selection that the present invention is designed is converted into the bus port of one group of PCIe × 1 by chip For pci bus, realize that various types of hardware platforms all support pci bus interface.The appearance of PCIe bridging chips to solve This problem difficulty declines to a great extent, and it can realize seamlessly transitting for PCIe to PCI, the PCI driving journeys of compatible original hardware platform Sequence, is not required to make any type of modification, with the advantage such as transmission rate is fast, real-time is high and cost performance is high.
As shown in Fig. 2 to realize high performance SPI using the EBI of one group of PCIe × 1 by FPGA total for hardware platform Line interface, theoretical transmission speed is 4 times that COMe modules carry spi bus port speed;Realize User Defined form Local bus interface (Local Bus), local bus speed is maximum up to 32MB/s, it is adaptable to control user in hardware platform each Plant low speed hardware device;Self-test EBI (ADC) is realized, can be combined with SPI or Local Bus EBIs makes With the self-test function for realizing various hardware device working conditions inside measuring instrument.
Realization of the measuring instrument USB slave units interface on the hardware platform based on COMe modules.
The hardware platform of the present invention employs high performance 8051 single-chip microcomputer, single channel PCIe bus transceivers, USB3.0 Interface controller and high speed FIFO, devise a kind of method for realizing USB slave unit interfaces in COMe hardware platforms, it is possible to achieve Measuring instrument USB port programmable function, it is main to include two aspects:Hardware plan is designed, single-chip microcomputer equipment firmware procedure development.
(1) specific hardware scheme is as shown in Figure 3:
Data transmission employs dedicated bus interface chip, and advantage is that speed is fast, reliability is high, cost is low.PCIe Interface controller communicates with COMe modules has used the bus port of one group of PCIe × 1, and PCIe protocol employs PCIe2.0 agreements, Suitable for the COMe hardware platforms of various performances;Usb interface controller employs USB3.0 agreements with HPI, and bus is downward Compatible USB2.0 agreements, controller can adaptively employ the main frame access of USB2.0 or USB3.0 agreements.Above-mentioned design PCIe bus bandwidths can be made full use of, gross data bandwidth can reach 5Gbps, meet wanting for instrument real-time Transmission mass data Ask.The parameter initialization of bus interface controller, memory and high speed FIFO is by the firmware program in 8051 single-chip microcomputers is Lai complete Into.
(2) support that the equipment firmware procedure development flow of USBTMC agreements is as shown in Figure 4:
8051 single-chip microcomputers can flexible configuration usb interface controller function as needed, firmware program independently of operating system, Highly versatile.USBTMC agreements are to be based on USB2.0 agreements, but the characteristics of have its own, the equipment for supporting USBTMC agreements is necessary End points with three kinds of transport-types, is control end points, batch signatures end points and batch input end points respectively.First, according to Form as defined in USBTMC agreements configures each class descriptor of equipment, makes main frame that instrument is identified as into USBTMC equipment;Then, add Plus the self-defined request of more than ten species specified in USBTMC agreements, reflect each generic attribute of equipment;Equipment end is collected and handles master The self-defined request that machine is sent, the Bulk information that parsing main frame is sent, further according to obtained actual information, equipment, which is set, replys letter Breath, to host response Bulk information.On instrument after electricity, firmware program is whether just to verify the data stored in EEPROM first Really, the initialization of PCIe interface controller, high speed FIFO and usb interface controller is then realized, configuration is completed after parameter, main frame Just program control operation can be carried out to instrument by USB interface.
Existing method is only applicable to the instrument using a certain Type C OMe module hardware platforms, incompatible different types of COMe modules.The various EBI functions of the present invention are realized independently, independent of COMe type of modules, so hardware platform is to difference The COMe modules of type are all suitable for, and different types of module can be with plug and play.
The present invention designs an apparatus hardware platform, due to having used COMe modules unified electric, mechanical attributes, works as modularity It can upgrade at any time when can be unsatisfactory for instrumental function demand, and module choice is very big, saves time of product development.
The hardware platform EBI species that the present invention is designed is enriched, with the big portion of type of COMe modules Type2,6 and 10 Divide EBI, can both take into account old hardware device using old EBI, new hardware device can also be added using more High performance EBI so that hardware device is portable high, shortens the project development time, cost-effective.
The present invention realizes the hardware plan of pci bus port, and driver can use existing pci bus to drive, nothing Modification is needed, is largely saved the development time, human cost is saved.
The measuring instrument hardware platform PCIe bus port quantity of existing method design is fixed, and usually 3-5 is individual.This Invention is by configuring COMe module PEG ports and addition PCIe Switch chips extend the port number of PCIe × 1 so that complete machine PCIe port quantity is up to 11.
Current COMe modules do not support USB port slave pattern, it is impossible to realize that measuring instrument is program control by USB port.This hair Bright to realize the instrument program control technology based on USBTMC agreements, gross data transmission speed can reach 5.0Gbps, it is possible to achieve need Want the complex instrument function of generating date.
The present invention realizes a kind of instrument programmed control method of the support USBTMC agreements of highly versatile, you can suitable for COMe The instrument of hardware platform, is equally applicable to the instrument of ARM kernel hardware platforms, and hardware realizes that part is independent, software and hardware portable Property is very high.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention God is with principle, and any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.

Claims (10)

1. a kind of measuring instrument general hardware platform based on COMe, it is characterised in that its data interaction network is divided into three species Type:The first is internal bus network of the platform interior using embedded type C OMe modules as core, to complete each function one integral piece of user With the data interaction between embedded type C OMe modules;It is for second the bus network of cross-platform data interaction;The third is to use High-speed bus is converted into low speed bus by bus bridge chip or FPGA, realize between each function one integral piece of user or with Data interaction between embedded type C OMe modules.
2. a kind of measuring instrument general hardware platform based on COMe as claimed in claim 1, it is characterised in that
Internal bus network of the platform interior using embedded type C OMe modules as core, 3 PCIe ends are configured to by PEG ports Mouthful, it is respectively:1 × 8 and 2 × 4, × 8 ports are backward compatible × 1/2/4 mode of operation, and × 4 ports are backward compatible × 1/2 pattern, External customer equipment data transmission rate realizes dynamic adjustment between 2.5Gbps to 20Gbps.
3. a kind of measuring instrument general hardware platform based on COMe as claimed in claim 2, it is characterised in that also use FPGA expands one group of spi bus port in addition.
4. a kind of measuring instrument general hardware platform based on COMe as claimed in claim 1, it is characterised in that the platform The bus network of data interaction between internal hardware and external equipment, retains existing EBI, new high speed bus interface Realized by using the additional related circuit of USB3.0 and SATA buses.
5. a kind of measuring instrument general hardware platform based on COMe as claimed in claim 4, it is characterised in that
Using Super I/O chips, RS232, PS2 bus are communicated by the lpc bus port of COMe modules, GPIB is total Line is communicated using interface chip NAT9914, and the data of generation are sent to by Super I/O chips or NAT9914 chips FPGA, then communicated by the bus of one group of PCIe × 1 with COMe modules.
6. a kind of measuring instrument general hardware platform based on COMe as claimed in claim 4, it is characterised in that have also been devised USB3.0 interfaces, for extending massive store peripheral hardware.
7. a kind of measuring instrument general hardware platform based on COMe as claimed in claim 1, it is characterised in that selection is one The group bus port of PCIe × 1 is converted into pci bus by PCIe bridging chips, realizes that various types of hardware platforms are all supported Pci bus interface.
8. a kind of measuring instrument general hardware platform based on COMe as claimed in claim 1, it is characterised in that also including surveying Measuring appratus USB slave unit interfaces, using 8051 single-chip microcomputers, single channel PCIe bus transceivers, USB3.0 interface controllers and height Fast FIFO is realized;
PCIe interface controller communicates with COMe modules has used the bus port of one group of PCIe × 1, and PCIe protocol uses PCIe2.0 Agreement;Usb interface controller uses USB3.0 agreements, USB2.0 agreements that bus is backward compatible, USB interface control with HPI Device is adaptively accessed using the main frame of USB2.0 or USB3.0 agreements.
9. a kind of measuring instrument general hardware platform based on COMe as claimed in claim 8, it is characterised in that also including branch The equipment firmware procedure development flow of USBTMC agreements is held, is specially:
First, each class descriptor of equipment is configured according to form as defined in USBTMC agreements, main frame is identified as instrument USBTMC equipment;
Then, the self-defined request of more than ten species specified in addition USBTMC agreements, reflects each generic attribute of equipment;
Equipment end is collected and handles the self-defined request of main frame transmission, the Bulk information that parsing main frame is sent, further according to what is obtained Actual information, equipment sets return information, to host response Bulk information.
10. a kind of measuring instrument general hardware platform based on COMe as claimed in claim 9, it is characterised in that on instrument After electricity, whether firmware program verifies the data stored in EEPROM first correct, then realizes PCIe interface controller, high speed FIFO and usb interface controller initialization, configuration are completed after parameter, and main frame carries out program control operation by USB interface to instrument.
CN201710473373.4A 2017-06-09 2017-06-09 General hardware platform of measuring instrument based on COMe Active CN107329863B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710473373.4A CN107329863B (en) 2017-06-09 2017-06-09 General hardware platform of measuring instrument based on COMe

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710473373.4A CN107329863B (en) 2017-06-09 2017-06-09 General hardware platform of measuring instrument based on COMe

Publications (2)

Publication Number Publication Date
CN107329863A true CN107329863A (en) 2017-11-07
CN107329863B CN107329863B (en) 2020-09-18

Family

ID=60194181

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710473373.4A Active CN107329863B (en) 2017-06-09 2017-06-09 General hardware platform of measuring instrument based on COMe

Country Status (1)

Country Link
CN (1) CN107329863B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108733482A (en) * 2018-03-27 2018-11-02 华为技术有限公司 Method, processor and the communication device of acquisition of information
CN112187722A (en) * 2020-09-02 2021-01-05 博依特(广州)工业互联网有限公司 Safety isolation system based on FPGA

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203643903U (en) * 2014-01-06 2014-06-11 济南腾越电子有限公司 CPCI-E (compact peripheral component interconnect-express) reinforced computer mainboard
US20150149686A1 (en) * 2013-11-22 2015-05-28 Oracle International Corporation Adapter card with a computer module form factor
CN204719627U (en) * 2015-07-07 2015-10-21 济南腾越电子有限公司 A kind of ruggedized computer mainboard
CN105243040A (en) * 2015-11-11 2016-01-13 中国电子科技集团公司第四十一研究所 Instrument programmed control system and method supporting USBTMC protocol based on PCIe bus
CN206224300U (en) * 2016-08-26 2017-06-06 天津市英贝特航天科技有限公司 A kind of LRM main processing blocks based on COM Express

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150149686A1 (en) * 2013-11-22 2015-05-28 Oracle International Corporation Adapter card with a computer module form factor
CN203643903U (en) * 2014-01-06 2014-06-11 济南腾越电子有限公司 CPCI-E (compact peripheral component interconnect-express) reinforced computer mainboard
CN204719627U (en) * 2015-07-07 2015-10-21 济南腾越电子有限公司 A kind of ruggedized computer mainboard
CN105243040A (en) * 2015-11-11 2016-01-13 中国电子科技集团公司第四十一研究所 Instrument programmed control system and method supporting USBTMC protocol based on PCIe bus
CN206224300U (en) * 2016-08-26 2017-06-06 天津市英贝特航天科技有限公司 A kind of LRM main processing blocks based on COM Express

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108733482A (en) * 2018-03-27 2018-11-02 华为技术有限公司 Method, processor and the communication device of acquisition of information
CN112187722A (en) * 2020-09-02 2021-01-05 博依特(广州)工业互联网有限公司 Safety isolation system based on FPGA
CN112187722B (en) * 2020-09-02 2022-11-22 博依特(广州)工业互联网有限公司 Safety isolation system based on FPGA

Also Published As

Publication number Publication date
CN107329863B (en) 2020-09-18

Similar Documents

Publication Publication Date Title
KR101035832B1 (en) Simulation circuit of pci express endpoint and downstream port for a pci express switch
CN104202194B (en) The collocation method and device of PCIe topologys
US8291141B2 (en) Mechanism to flexibly support multiple device numbers on point-to-point interconnect upstream ports
CN109613491B (en) High-speed signal acquisition, storage and playback system based on FPGA
CN107357376A (en) A kind of hard disk backboard, making and its implementation
CN202956753U (en) Programming device and programming system of flash memory chip in embedded system
CN103559152A (en) Device and method for CPU (central processing unit) to access local bus on basis of PCIE (peripheral component interface express) protocol
CN105335548B (en) A kind of MCU emulation mode for ICE
CN108600017A (en) Multi-protocols serial ports expansion method
CN107153622A (en) A kind of drive control method based on spi bus
CN104636301B (en) A kind of extensive PLC High speed rear panels bus system based on PCI E interfaces
CN110968352B (en) Reset system and server system of PCIE equipment
CN102388357A (en) Method and system for accessing memory device
CN101436171A (en) Modular communication control system
CN107329863A (en) A kind of measuring instrument general hardware platform based on COMe
CN209248436U (en) A kind of expansion board clamping and server
CN109241641B (en) Dual-core ARM type SoC application verification realization method and application verification board
CN101639821A (en) SMBUS interface chip of sever with content redundant link
CN106649162A (en) Pci-Express multi-port aggregation system and use method thereof
CN104460857B (en) A kind of high speed peripheral component interlinkage standard card and its application method and device
CN106569970A (en) SMI interface device debugging apparatus and method
CN104123246A (en) Interface expansion device and serial attached SCSI expander
CN115345102B (en) Universal chip verification device for hardware acceleration
CN105243040B (en) A kind of instrument stored program controlled and method for supporting USBTMC agreement based on PCIe bus
CN103869883B (en) One kind extension mainboard and expansion system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant