CN210691097U - Program-controlled digital quantity input/output board card based on domestic CPU - Google Patents
Program-controlled digital quantity input/output board card based on domestic CPU Download PDFInfo
- Publication number
- CN210691097U CN210691097U CN201921747559.5U CN201921747559U CN210691097U CN 210691097 U CN210691097 U CN 210691097U CN 201921747559 U CN201921747559 U CN 201921747559U CN 210691097 U CN210691097 U CN 210691097U
- Authority
- CN
- China
- Prior art keywords
- digital quantity
- output
- slave station
- quantity input
- input
- 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.)
- Active
Links
Images
Landscapes
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
The utility model relates to a programme-controlled digital quantity input/output integrated circuit board based on domestic CPU. The system comprises: the system comprises a microprocessor, a slave station controller, an optical coupling isolator and a digital quantity input and output circuit module. After the slave station receives data through the EBUS, the slave station communicates with the microprocessor through the SPI bus, and then the microprocessor finishes three aspects of work according to configuration information: outputting digital quantity signals, receiving digital quantity input and receiving field diagnosis information. And finally, the digital input/output circuit module finishes digital input/output and field end fault acquisition and diagnosis operations according to the instruction of the microprocessor. Compared with other digital acquisition cards, the board card adopts a domestic device and has better autonomous controllability. The single channel of the board card can be configured as a digital quantity input and output channel, and the integration level is higher. The board card provides digital output recovery diagnosis and digital input disconnection diagnosis, and the safety is higher.
Description
Technical Field
The invention belongs to the field of EtherCAT (Ethernet control automation technology), and particularly relates to an industrial real-time Ethernet EtherCAT digital slave station system.
Background
EtherCAT is a field bus based on Ethernet, and has the characteristics of high network real-time, flexible topological structure, system configuration and the like. With the increasing real-time requirements of industry, EtherCAT has been increasingly used. Numerous EtherCAT-based slave products are available. The patent with the authorization number of CN201010249162.0 discloses a PLC digital quantity output control device and a control method thereof, and the device comprises a PLC input and output control module and a switch module, wherein the PLC input and output control module is connected with the switch module, the switch control module comprises two driving switch tubes, and each driving switch tube is correspondingly provided with a feedback detection circuit; the drive switch tube is used for receiving a control signal output by the PLC input and output control module; and outputting digital signals at the same output port according to the control signals; the feedback detection circuit detects the output information of the corresponding driving switch tube and feeds back the detection information to the PLC input and output control module: the PLC input and output control module comprises an output fault detection module for detecting whether the switch control module has a fault or not according to the output control signal and the feedback detection information, and setting fault state alarm information when the switch control module has the fault. Because the fault detection is only carried out on the output, and the field end and the system control end are not safely isolated, the safety factor is not high.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a program-controlled digital quantity input/output board card based on a domestic CPU.
In order to achieve the purpose, the invention adopts the following technical scheme:
a program control digital quantity input and output board card based on a domestic CPU comprises: the system comprises a microprocessor, a slave station controller, an optical coupling isolator and a digital quantity input and output circuit module.
The microprocessor communicates with the slave station controller through the SPI bus and responds to slave station protocol data packets. And the optical coupler isolator is communicated with the optical coupler isolator through a GPIO (general purpose input/output), and is mainly responsible for outputting digital quantity output information, receiving digital quantity input information and receiving field terminal diagnosis information.
The slave station controller realizes the protocols of the EtherCAT slave station physical layer and the data link layer and is communicated with the microprocessor through the SPI bus.
The optical coupling isolator is connected with the microprocessor and the quantity input and output circuit module and electrically isolates the field end from the system end.
The quantity input and output circuit module realizes input and output of digital quantity signals and field fault acquisition and diagnosis and is connected with the optical coupling isolator.
Further, the slave station controller outputs an interrupt request signal to the microprocessor, and the microprocessor responds to various protocol application layer event interrupts and clock synchronization interrupts of EtherCAT communication through the interrupt signal; the slave station controller outputs two signals to the microprocessor for determining whether the field data output is valid.
Further, the slave station controller provides at least 2 communication interfaces, the physical layers of the communication interfaces all adopt an EBUS low-voltage differential form, and data streams are input from one communication interface EBUS0 and output from the other communication interface EBUS 1.
Further, the slave station controller adopts ET1100 or ET 1200.
Further, the microprocessor employs SPARC V8.
Furthermore, the digital quantity input and output circuit module is composed of a digital quantity input circuit, a digital quantity output circuit and a circuit diagnosis circuit.
Compared with the prior art, the invention has the following beneficial effects:
(1) the single field end interface can realize the input and output functions of digital quantity, and can be configured by a program.
(2) The invention adopts the optical coupling isolator to realize the electrical isolation between the field side and the system side, thereby improving the capability of the slave station system for resisting electromagnetic interference.
(3) The diagnostic information of the invention comprises digital output recovery diagnosis and digital input disconnection detection.
(5) According to the invention, common mode and differential mode inductors are added on the EBUS low-voltage differential transmission line, so that the common mode and differential mode electromagnetic interference resistance of slave station EBUS communication is improved.
Drawings
Fig. 1 is a block diagram of a domestic CPU-based redundant analog output board with an extraction diagnosis function.
Detailed Description
The present invention will be further explained with reference to the drawings and examples.
A composition block diagram of a program control digital input and output board card based on a domestic CPU is shown in figure 1, and comprises a microprocessor, a slave station controller, an optical coupler isolator and a digital input and output circuit module.
The slave station controller realizes the EtherCAT slave station physical layer and data link layer protocols. The slave station controller adopts ET1100 or ET1200, and the embodiment adopts ET 1200. 2 communication interfaces are provided, the physical layer adopting the two communication interfaces is in an EBUS form, and data streams are input from the EBUS0 and output from the EBUS 1. In order to improve the capability of resisting common mode and differential mode electromagnetic interference of the EBUS communication, common mode and differential mode inductors are added on the EBUS low-voltage differential transmission line pair.
And the microprocessor is used for realizing an EtherCAT slave station application layer protocol. The microprocessor of the embodiment adopts a domestic SPARC V8 type 32-bit CPU, and communicates with the ET1200 and the data arbitration circuit module through an SPI bus. The CPU expands SRAM and FLASH through 16-bit data address bus.
The optical coupling isolator is used for achieving electrical isolation between the site side and the slave station system side, and anti-electromagnetic interference capability of the slave station system is improved.
The digital quantity input and output circuit module realizes the input of digital quantity and the output function of digital quantity, and the realization circuit is shown in fig. 1. The digital quantity output circuit is responsible for receiving instructions of the microprocessor and outputting digital quantity signals, the digital quantity input circuit is responsible for acquiring the digital quantity signals and sending the digital quantity signals to the microprocessor, and the circuit diagnosis circuit is responsible for diagnosing digital quantity output recovery diagnosis and digital quantity input recovery diagnosis.
The present invention is not limited to the above-described embodiments, and any obvious modifications or alterations to the above-described embodiments may be made by those skilled in the art without departing from the spirit of the present invention and the scope of the appended claims.
Claims (5)
1. A program control digital input and output board card based on a domestic CPU is characterized by comprising: microprocessor, slave station controller, optical coupler isolator and digital quantity input-output circuit module, in which
The microprocessor realizes an EtherCAT slave station application layer protocol, communicates with the slave station controller through an SPI bus, responds to a slave station protocol data packet, communicates with the optocoupler isolator through a GPIO, and is mainly responsible for outputting digital quantity output information, receiving digital quantity input information and receiving site end diagnosis information;
the slave station controller realizes the protocols of an EtherCAT slave station physical layer and a data link layer and is communicated with the microprocessor through an SPI bus;
the optical coupler isolator is connected with the microprocessor and the quantity input and output circuit module and electrically isolates a field end from a system end;
the digital quantity input and output circuit module realizes input and output of digital quantity signals and field fault acquisition and diagnosis and is connected with the optical coupling isolator;
further, the slave station controller outputs an interrupt request signal to the microprocessor, and the microprocessor responds to protocol application layer event interrupt and clock synchronization interrupt of EtherCAT communication through the interrupt signal; the slave station controller outputs two signals to the microprocessor for judging whether the field data output is effective or not;
further, the slave station controller provides at least 2 communication interfaces, the physical layers of the communication interfaces all adopt an EBUS low-voltage differential form, and data streams are input from one communication interface EBUS0 and output from the other communication interface EBUS 1;
further, the slave station controller adopts ET1100 or ET 1200;
further, the microprocessor employs SPARC V8;
furthermore, the digital quantity input and output circuit module is composed of a digital quantity input circuit, a digital quantity output circuit and a circuit diagnosis circuit.
2. The digital quantity input and output board card of claim 1, wherein the board card can be configured to realize digital quantity input and output.
3. The digital quantity input and output board card of claim 1, wherein the board card is capable of providing digital quantity output recovery diagnostics and digital quantity input disconnection detection.
4. The digital quantity input and output board card according to claim 1, wherein the digital quantity input and output circuit module is composed of a digital quantity output circuit, a digital quantity input circuit and a circuit diagnosis circuit.
5. The digital quantity input/output board card according to claim 1, wherein the slave station controller communicates with the outside by means of EBUS.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201921747559.5U CN210691097U (en) | 2019-10-16 | 2019-10-16 | Program-controlled digital quantity input/output board card based on domestic CPU |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201921747559.5U CN210691097U (en) | 2019-10-16 | 2019-10-16 | Program-controlled digital quantity input/output board card based on domestic CPU |
Publications (1)
Publication Number | Publication Date |
---|---|
CN210691097U true CN210691097U (en) | 2020-06-05 |
Family
ID=70886018
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201921747559.5U Active CN210691097U (en) | 2019-10-16 | 2019-10-16 | Program-controlled digital quantity input/output board card based on domestic CPU |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN210691097U (en) |
-
2019
- 2019-10-16 CN CN201921747559.5U patent/CN210691097U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102055633B (en) | Satellite-borne double-CAN (Controller Area Network) bus node failure self-restoration system | |
CN102857397B (en) | The how main asynchronous duplex differential bus of one and the means of communication | |
CN106453383A (en) | UART (universal asynchronous receiver/transmitter)-based master-slave multi-processor communication system and method | |
CN107832250B (en) | Master-slave communication time sequence method based on SPI | |
CN102880143B (en) | Single control area network (CAN) controller hot-redundant CAN bus system and implementation method thereof | |
CN210721084U (en) | Redundancy analog output board card with recovery diagnosis function | |
CN105652726A (en) | Robot safety control apparatus | |
CN112666882A (en) | Program-controlled digital quantity input/output board card based on domestic CPU | |
CN210691097U (en) | Program-controlled digital quantity input/output board card based on domestic CPU | |
CN106657115A (en) | Frequency converter control system and protocol conversion card thereof | |
CN207968522U (en) | A kind of RS485 bus driving circuits for realizing multi-host communication mode | |
CN104468301B (en) | A kind of Safety output method based on MVB communications | |
CN111158285A (en) | Control system based on EtherCAT bus | |
CN102868583B (en) | FlexRay bus joint with fault diagnosis function | |
CN210721160U (en) | Temperature control circuit and temperature control device | |
CN213367785U (en) | On-board communication circuit and device based on CAN communication | |
CN212811729U (en) | On-board communication circuit and device based on CAN communication | |
CN210518377U (en) | EtherCAT, ProfiNET bus compatible system | |
CN100336361C (en) | Method for transmitting Ethernet equipment duplex mode information | |
CN114168519A (en) | Working robot control system based on serial bus communication technology | |
CN209118135U (en) | A kind of automobile-used CAN bus telecommunication circuit of electrical salf-walking | |
CN207070074U (en) | Data transmission system between a kind of board | |
CN112666853A (en) | Domestic CPU-based redundant analog output board card with recovery diagnosis function | |
CN110244631A (en) | A kind of analog signal collector, method and system | |
CN114338265B (en) | Program downloading system and method based on TTP/C bus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |