Utility model content
Based on this, when being necessary carry out information transmission for digital control system interface card unified bus and control, the problem that communication efficiency is low, provides a kind of digital control system interface card.
Above-mentioned digital control system interface card, for being connected servo-driven module, input/output module with digital control system respectively; Described digital control system carries out discrete control by digital control system interface card to servo-driven module and input/output module; Described digital control system interface card comprises master controller, for the first interface circuit of auxiliary connection and the second interface circuit; Described primary controller comprises the first bus logic unit, the second bus logic unit;
Described first bus logic unit is connected with described first interface circuit, and described first interface circuit is used for auxiliary connection servo-driven module, realizes the data communication of digital control system and servo-driven module;
Described second bus logic unit is connected with described second interface circuit, and described second interface circuit is used for auxiliary connection input/output module, realizes the data communication of digital control system and input/output module.
Wherein in an embodiment, described primary controller is field programmable gate array controller; Described first bus logic unit is series real-time communication protocol bus logical block; Described second bus logic unit is super bus logic unit.
Wherein in an embodiment, described primary controller also comprises peripheral component interconnect bus logic unit, and described apparatus interconnection bus logic unit is used for being connected with digital control system Serial Communication of going forward side by side.
Wherein in an embodiment, described first interface circuit comprises dedicated IC chip, fiber optic emitter and fiber optic receiver;
The control data of described servo-driven module sends to described dedicated IC chip by described first bus logic unit;
Described dedicated IC chip paired domination number is transferred to described servo-driven module by fiber optic emitter after processing;
Control data after the process received is returned to described dedicated IC chip through fiber optic receiver by described servo-driven module, and is transferred to described digital control system by peripheral component interconnect bus logic unit.
Wherein in an embodiment, the model of described dedicated IC chip is the one in SERCON816 or SERCON410A/B.
Wherein in an embodiment, the data that described second interface circuit adopts differential signaling to realize between described input/output module and described digital control system are transmitted.
Wherein in an embodiment, described second interface circuit also comprises differential line driver, differential line receiver;
The control data of described input/output module sends to described differential line driver with level signal by field programmable gate array;
Control data signal is converted to differential signal and sends to described input/output module by described differential line driver;
The differential signal described input/output module returned is converted to level signal by described differential line receiver and is transferred to described digital control system through described field programmable gate array again.
Wherein in an embodiment, the model of described differential line driver is 26LS31 or 26C31; The model of described differential line receiver is 26LS32 or 26C32.
Wherein in an embodiment, for connecting at least two input/output modules, described digital control system interface card also comprises parallel cell interface; At least one input/output module is connected with digital control system by described parallel cell interface, and described digital control system directly controls at least one input/output module described.
Wherein in an embodiment, described digital control system interface card also comprises storage unit, and described storage unit is for storing data when digital control system is run.
The master controller of above-mentioned digital control system interface card comprises the first bus logic unit, the second bus logic unit, when the first bus logic unit of primary controller is connected with the first interface circuit of interface card, the data communication of digital control system and servo-driven module can be realized; The data communication of digital control system and input/output module can be realized when the second bus logic unit of primary controller is connected with the second interface circuit of interface card.Servo-driven module and input/output module are by can real-time response digital control system Control on Communication by logical block special separately and interface circuit, and make communication speed fast, efficiency is high.
Embodiment
For the ease of understanding the utility model, below with reference to relevant drawings, the utility model is described more fully.Preferred embodiment of the present utility model is given in accompanying drawing.But the utility model can realize in many different forms, is not limited to embodiment described herein.On the contrary, provide the object of these embodiments be make the understanding of disclosure of the present utility model more comprehensively thorough.
Unless otherwise defined, all technology used herein and scientific terminology are identical with belonging to the implication that those skilled in the art of the present utility model understand usually.The object of the term used in instructions of the present utility model herein just in order to describe specific embodiment, is not intended to limit the utility model.Term as used herein "and/or" comprises arbitrary and all combinations of one or more relevant Listed Items.
Numerically-controlled machine configures different digital control systems according to the requirement of function and performance.Digital control system is the core of numerically-controlled machine (Computernumericalcontrolmachinetools, CNC), and digital control system interface card is the port that digital control system and its functional part carry out information transmission, exchange and control.Functional part comprises: servo-driven module, input/output module, main shaft module, PLC module etc.Interface card occupies important position in digital control system.Difference in functionality module is connected with digital control system, can not directly connect, and must be coupled together by the interface circuit in interface card.
Digital control system interface card frame diagram as shown in Figure 1, in figure, digital control system interface card 100 comprises for servo-driven module 300 processed, input/output module 400 being connected with digital control system 200 respectively, and digital control system 200 carries out discrete control by digital control system interface card 100 pairs of servo-driven modules 300 and input/output module 400; Described digital control system interface card 100 comprises master controller 110, for the first interface circuit 120 of auxiliary connection and the second interface circuit 130; Described primary controller 110 comprises the first bus logic unit 112, second bus logic unit 114;
Described first bus logic unit 112 is connected with described first interface circuit 120, and described first interface circuit 120, for auxiliary connection servo-driven module 300, realizes the data communication of digital control system 200 and servo-driven module 300;
Described second bus logic unit 114 is connected with described second interface circuit 130, and described second interface circuit 130, for auxiliary connection input/output module 400, realizes the data communication of digital control system 200 and input/output module 400.
Primary controller 110 is field programmable gate array (FieldProgrammableGateArray, FPGA) controller, field programmable gate array (FPGA) is the product further developed on the basis of the programming devices such as PAL, GAL, CPLD.It occurs as a kind of semi-custom circuit in special IC (ASIC) field, has both solved the deficiency of custom circuit, overcomes again the shortcoming that original programming device gate circuit number is limited.
Primary controller 110 comprises the first bus logic unit 112 and the second bus logic unit 114.First bus logic unit 112 is series real-time communication agreement (SERCOS bus logic unit), and first interface circuit 120 is SERCOS bus interface circuit.First bus logic unit 112 connects and composes SERCOS bus with first interface circuit 120.
Series real-time communication agreement (serialrealtimecommunicationspecification, SERCOS) be a kind of field-bus interface for digital servo and kinematic train and data exchange agreement, industrial control computer and digital servosystem, real-time data communication between sensor and Programmable Logic Controller I/O mouth can be realized, also can be understood as be the Based Intelligent Control of an opening, digital driving interface for high-speed serial, closed-loop data carries out the interface of real-time Communication for Power on optical fiber.
Second bus logic unit 114 is super bus logic unit (SUPERBUS bus logic unit), and the second interface circuit 130 is SUPERBUS bus interface circuit.Second bus logic unit 114 and the second interface circuit 130 connect and compose SUPERBUS bus.
Servo-driven module 300 realizes the data communication with digital control system 200 by the first bus logic unit 112 of primary controller 110 and the first interface circuit 120 of interface card 100; Input/output module 400 (IN/OUT module, I/O module) realizes the data communication with digital control system 200 by the second bus logic unit 114 of primary controller 110 and the second interface circuit 130 of interface card 100.Servo-driven module 300 and I/O module 400 all adopt bus protocol special separately, and the versabus efficiency that its communication efficiency controls than compatible servo-driven module 300 and I/O module 400 is high, and speed is fast.
Further, primary controller also comprises apparatus interconnection bus (PeripheralComponentInterconnect, PCI) logical block 116, and described apparatus interconnection bus logic unit 116 is for communicating with digital control system 200.
As shown in Figure 2 be SERCOS bus interface circuit schematic diagram, circuit diagram comprises asic chip, fiber optic emitter and fiber optic receiver.Wherein the model of asic chip is: SERCON816; Chip U35 is fiber optic emitter; Chip U36 is fiber optic receiver.Servo-driven module 300 is control objects of digital control system 200.
The control data of servo-driven module 300 is sent to asic chip by the SERCOS bus logic unit 112 of primary controller 110;
Asic chip paired domination number is transferred to servo-driven module 300 by chip U35 after processing; Then the control data after the process received is returned to asic chip through chip U36 by servo-driven module 300, and is transferred to digital control system 200 by PCI logical block 116.
In another embodiment, the model of asic chip is SERCON410A/B.
In another embodiment, servo-driven module 300 can also realize the data communication with digital control system 200 by a kind of bus protocol in Profinet, ENTHERCAT, Mechatrolink or CC-LINK bus.
As shown in Figure 3 be SUPERBUS bus interface circuit schematic diagram, second interface circuit 130 adopts differential signal to carry out data communication, differential transfer is a kind of technology of Signal transmissions, be different from the way of a traditional signal wire ground wire, differential transfer all signal transmission on these two lines, the amplitude of these two signals is equal, and phase place is contrary, and the signal that these two lines transmit is exactly differential signal.Circuit diagram comprises differential line driver, differential line receiver.Differential line driver be chip 26LS31; Differential line receiver be chip 26LS32, wherein portA writes FPDP, and portB is data reading port, and portC is address port.
The control data of input/output module 400 sends to chip 26LS31 with the form of Transistor-Transistor Logic level by the second bus (SUPERBUS) logical block 114.What Transistor-Transistor Logic level signal was utilized is at most because usual data representation adopts scale-of-two regulation, + 5V is equivalent to logical one, 0V is equivalent to logical zero, this is called as transistor-transistor logic level (Transistor-TransistorLogic, TTL) signal system, this is the standard technique communicated between the device interior each several part of computer processor control.
Control data signal is converted to differential signal and sends to input/output module 400 by chip 26LS31;
Differential signal input/output module 400 returned is converted to Transistor-Transistor Logic level by chip 26LS32 and is transferred to described digital control system 200 through PCI logical block 116 again.
Further, digital control system interface card frame diagram as shown in Figure 1, interface card 100 also comprises parallel interface 140, parallel interface 140 is connected with input/output module 400, digital control system 200 respectively, digital control system 200 is control inputs output module 400 directly, need not, through complicated bus control logic, speed be made to reach the fastest.Parallel interface 140 refers to adopt parallel transmission mode to transmit the interface standard of data.
Parallel interface schematic diagram as shown in Figure 4, in circuit diagram, the model of parallel interface is: CON40A, described parallel joint 140 connects input/output module 400 and digital control system 200, realize the high-speed traffic of input/output module 400, in circuit diagram, the pin of parallel interface 140 comprises 24 tunnel inputs and the output of 16 tunnels.Simultaneously parallel interface 140 also provide whether power supply stable, the whether ready judgement of state of digital control system and the monitoring of live signal.
Further, digital control system interface card frame diagram as shown in Figure 1, interface card 100 also comprises storage unit 150, and storage unit 150 and primary controller 110 parallel join, the operation that storage unit 150 is digital control system 200 provides safe and reliable data storage service.Storage unit 150 adopts parallel CMOS RAM (ComplementaryMetal-Oxide-SemiconductorRandomAccessMemory, CMOSRAM) to realize.
As shown in Figure 5 be storage unit circuit principle, storage unit 150 and primary controller 110 parallel join in circuit diagram, a RAM chip and the 2nd RAM chip of 512kb is saved as in storage unit 150 adopts, can provide and amount to the storage space of 1MB, by Sheffer stroke gate and or incompatible sheet choosing and the signal control realizing a RAM chip and the 2nd RAM chip of logical groups of door.
In another embodiment, the RAM chip and the 2nd RAM chip that inside save as 512kb can be substituted by the RAM chip of a slice 1MB.
In another embodiment, the RAM chip and the 2nd RAM chip that inside save as 512kb can be substituted by the RAM chip of 4 265kb.
The RAM chip of different storage space can be selected as the case may be to carry out combining providing and amount to the storage space of 1MB, by Sheffer stroke gate and or incompatible sheet choosing and the signal control realizing a RAM chip and the 2nd RAM chip of logical groups of door.
Servo-driven module is by the first bus logic unit of primary controller and the first interface circuit realiration of interface card and the data communication of digital control system; Input/output module realizes the data communication with digital control system by the second bus logic unit of primary controller and the second interface circuit of interface card.Servo-driven module and input/output module all adopt bus protocol special separately, and the versabus efficiency that its communication efficiency controls than compatible servo-driven module and input/output module is high, and speed is fast.
Interface card also comprises parallel cell interface, and parallel cell interface is connected with input/output module, digital control system respectively; The direct control inputs output module of digital control system, through complicated bus marco, need not realize the quick number of responses Ore-controlling Role of input/output module and controls and communicate.
Interface card also comprises can the storage unit of fast reading and writing, runs provide safe and reliable data space for digital control system.
Each technical characteristic of the above embodiment can combine arbitrarily, for making description succinct, the all possible combination of each technical characteristic in above-described embodiment is not all described, but, as long as the combination of these technical characteristics does not exist contradiction, be all considered to be the scope that this instructions is recorded.
The above embodiment only have expressed several embodiment of the present utility model, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to utility model patent scope.It should be pointed out that for the person of ordinary skill of the art, without departing from the concept of the premise utility, can also make some distortion and improvement, these all belong to protection domain of the present utility model.Therefore, the protection domain of the utility model patent should be as the criterion with claims.