CN103607286A - Multifunctional communication interface machine device based on PowerPC embedded system - Google Patents
Multifunctional communication interface machine device based on PowerPC embedded system Download PDFInfo
- Publication number
- CN103607286A CN103607286A CN201310614291.9A CN201310614291A CN103607286A CN 103607286 A CN103607286 A CN 103607286A CN 201310614291 A CN201310614291 A CN 201310614291A CN 103607286 A CN103607286 A CN 103607286A
- Authority
- CN
- China
- Prior art keywords
- circuit
- interface
- embedded system
- network
- communication interface
- 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
Links
Images
Landscapes
- Power Sources (AREA)
Abstract
The invention relates to a multifunctional communication interface machine device, in particular to a multifunctional communication interface machine device based on a PowerPC embedded system. The multifunctional communication interface machine device based on the PowerPC embedded system comprises a CPU core board, a mother board, interface boards and a power module. A processor of the PowerPC embedded system is carried by the CPU core board. The mother board serves as a main board of the multifunctional communication interface machine device, and mainly comprises a CPLD circuit, an extension serial port circuit, a bus level conversion circuit, an RTC clock circuit, a CAN interface circuit and a 422/485 interface circuit. The interface boards comprise CAN interface boards and 422/485 interface boards. The CPU core board is connected with the bus level conversion circuit on the mother board, and is connected with the CPLD circuit, the extension serial port circuit and the RTC clock circuit after level conversion. The CPLD circuit is connected with the CAN interface circuit through a bus of the address and data time division multiplexing mode. Four paths of 232 serial interfaces are extended by the extension serial port circuit through a four-channel asynchronous transceiver STC16C554 chip to be connected with the 422/485 interface circuit. The CAN interface boards and the 422/485 interface boards are connected with the CAN interface circuit and the 422/485 interface circuit on the mother board respectively.
Description
Technical field
The present invention relates to a kind of multi-functional communication interface machine, especially relate to a kind of multi-functional communication interface machine equipment based on PowerPC embedded system, for realizing the data transaction between Ethernet and CAN-bus, Ethernet and serial communication.
Background technology
Along with the fast development of railway traffic, it is more outstanding that Railway Security seems.And the input of various signal detection apparatus and monitor and control facility is had higher requirement to the communication capacity of railway signal microcomputer detecting system especially.Due in centralized signal supervision system connect CAN interface equipment quantity and progressively increase, adopt at present the CAN expansion card of ISA and PC104 type to be limited to expansion slot position deficiency on industrial computer, in addition along with the increase of Contents for Monitoring, amount of communication data increases severely, and the machine of standing increases a lot to the burden of real-time data acquisition.In order to address the above problem, active demand a kind of based on many CAN mouth, many serial ports the communication interface machine equipment to Ethernet interface.
Summary of the invention
The problem proposing for background technology, the present invention proposes a kind of multi-functional communication interface machine based on PowerPC embedded system, can easily complete the interconnection and interflow of CAN-bus network, serial communication and EtherNet network, expand the scope of CAN-bus network and serial communication network.
To achieve these goals, the technical solution adopted in the present invention is:
A multi-functional communication interface machine based on PowerPC embedded system, comprises core cpu plate, motherboard, interface board and power module, and wherein core cpu plate carries PowerPC embedded system processing device and network interface circuit; Motherboard, as the mainboard of this device, mainly comprises CPLD circuit part, extended serial port circuit part, bus level change-over circuit part, RTC clock circuit part and CAN interface circuit part and 422/485 interface circuit part; Described interface board comprises CAN interface board, 422/485 interface board and indicator light interface board, to complete expansion and the safeguard function of interface; Described core cpu plate is partly connected with bus level change-over circuit on motherboard, after level conversion, be connected with CPLD circuit, extended serial port circuit and RTC circuit, CPLD circuit part is connected with CAN interface circuit after the bus of address bus and data/address bus independent mode being converted to the bus of address and data time division multiplexing mode, extended serial port circuit adopts 4 passage asynchronism transceiver STC16C554 chips, expands 4 tunnel 232 serial line interfaces and connects 422/485 interface circuit; Described CAN interface board is connected with CAN interface circuit on motherboard; Described 422/485 interface board is connected with 422/485 interface circuit of motherboard; Power module adopts the design of 5V Switching Power Supply, for each module of system provides working power.
The described multi-functional communication interface machine based on PowerPC embedded system, CAN interface board comprises CAN controller chip SJA1000 and general CAN isolation transceiver CTM8251T, described CAN controller chip is connected with CAN isolation transceiver; The controlled CAN interface circuit being connected on motherboard of CAN isolation transceiver, every integrated 2 the CAN passages of CAN interface board.
The described multi-functional communication interface machine based on PowerPC embedded system, is provided with the anti-lightning strike protection of gas discharge tube, the protection of transient suppressor Anti-surging and CAN common-mode filter at each CAN passage front end and suppresses three grades of protection circuits of common mode disturbances.
The described multi-functional communication interface machine based on PowerPC embedded system, 422/485 interface board is selected ADM2587EBRWZ chip, controlled 422/485 interface circuit being connected on motherboard of described 485/422 chip ADM2587EBRWZ; Every integrated 2 the serial ports passages of 422/485 interface board.ADM2587/2E is complete isolated form 485/422 chip of high-performance single supply that ,ADI company releases after ADM2483, this built-in chip type DC-DC power supply, magnetic channel isolation, full duplex RS485 transceiver.
The described multi-functional communication interface machine based on PowerPC embedded system, is provided with the anti-lightning strike protection of gas discharge tube, transient suppressor Anti-surging two-stage protection circuit at each serial ports passage front end.
The described multi-functional communication interface machine based on PowerPC embedded system, network interface circuit on core cpu plate is comprised of 2 extension of network chip RTL8201CP and peripheral circuit thereof, to realize core cpu plate, be connected with the network of computer, described extension of network chip RTL8201CP is connected with core cpu plate, hardware configuration lever selection when described extension of network chip RTL8201CP is realized network chip and powered on by peripheral circuit.
The useful good effect of invention:
1, the present invention is based on the multi-functional communication interface machine of PowerPC embedded system, provide a kind of based on realizing Ethernet and CAN-bus, Ethernet and serial communication data conversion equipment on PowerPC embedded system platform, realized Ethernet and CAN-bus, Ethernet and serial communication data translation function.Adopt high performance embedded microcontroller, standard interface kind is many, without conversion, can communicate by letter with the device of variety classes interface; Merge CAN, serial ports and ethernet communication, eliminated the bottleneck of communication loop expansion in the past, there is good application prospect.
2, the multi-functional communication interface machine that the present invention is based on PowerPC embedded system, it is simple that external circuit is established juice, and operating frequency is high, and the speed of service is fast; CAN interface, 422/485 interface baud rate arrange arbitrarily by software programmable, have stronger flexibility; The two-way transparent transmission mode of CAN, 422/485 data and Ethernet data, can meet the needs of different user.
3, the present invention is based on the multi-functional communication interface machine of PowerPC embedded system, by high speed interrupt handling capacity and the data group package processing capability of PowerPC embedded system, to upstream data with downgoing control signal cushions and preliminary treatment, can solve preferably the abnormal problem of communication, the flexibility of raising system, has also reduced the burden of centralized monitoring system station machine to real-time data acquisition.
4, the present invention is based on the multi-functional communication interface machine of PowerPC embedded system, in CAN interface, 422/485 interface front end, increase by three grades of protection circuits: gas discharge tube carries out lightning Protection; Transient suppressor carries out carrying out surge protection; Common-mode filter suppresses common mode disturbances; By three grades of protection circuits, can guarantee the safety of channel unit.
Accompanying drawing explanation
Fig. 1 is schematic block circuit diagram of the present invention.
Fig. 2 is CAN interface circuit part schematic diagram in the present invention.
Fig. 3 is serial interface circuit part schematic diagram in the present invention.
Embodiment
Below by embodiment, technical scheme of the present invention is described in further detail.
embodiment 1
Referring to Fig. 1, the present invention is based on the multi-functional communication interface machine of PowerPC embedded system, comprise core cpu plate, motherboard, interface board and power module, wherein core cpu plate carries PowerPC embedded system processing device and network interface circuit; Motherboard, as the mainboard of this device, mainly comprises CPLD circuit part, extended serial port circuit part, bus level change-over circuit part, RTC clock circuit part and CAN interface circuit part and 422/485 interface circuit part; Described interface board comprises CAN interface board, 422/485 interface board and indicator light interface board, to complete expansion and the safeguard function of interface; Described core cpu plate is connected with bus level change-over circuit on motherboard, after level conversion, be connected with CPLD circuit, extended serial port circuit and RTC circuit, CPLD circuit part is connected with CAN interface circuit after the bus of address bus and data/address bus independent mode being converted to the bus of address and data time division multiplexing mode, extended serial port circuit adopts 4 passage asynchronism transceiver STC16C554 chips, expands 4 tunnel 232 serial line interfaces and connects 422/485 interface circuit; Described CAN interface board is connected with CAN interface circuit on motherboard; Described 422/485 interface board is connected with 422/485 interface circuit of motherboard; Power module adopts the design of 5V Switching Power Supply, for each module of system provides working power.
As shown in Figure 1, the multi-functional communication interface machine of the present embodiment based on PowerPC embedded system, inner integrated 6 road CAN-bus interfaces, 9 road serial communication interfaces and two-way EtherNet interface and ICP/IP protocol stack, user utilizes it can easily complete the interconnection and interflow of CAN-bus network, serial communication and EtherNet network, has further expanded the scope of CAN-bus network and serial communication network.Simultaneously, this equipment is by high speed interrupt handling capacity and the data group package processing capability of PowerPC embedded system, to upstream data with downgoing control signal cushions and preliminary treatment, can solve preferably the abnormal problem of communication, the flexibility of raising system, has also reduced the burden of centralized monitoring system station machine to real-time data acquisition.
embodiment 2
Referring to Fig. 1, Fig. 2.The multi-functional communication interface machine based on PowerPC embedded system of the present embodiment, be with the difference of embodiment 1: CAN interface board adopts interface circuit as shown in Figure 2, comprise CAN controller chip SJA1000 and general CAN isolation transceiver CTM8251T, described CAN controller chip is connected with CAN isolation transceiver; The controlled CAN interface circuit being connected on motherboard of CAN isolation transceiver, every integrated 2 the CAN passages of CAN interface board, complete safeguard function, isolation features, protocol conversion function etc.
During concrete enforcement, for device security, need, can be provided with the anti-lightning strike protection of gas discharge tube, the protection of transient suppressor Anti-surging and CAN common-mode filter at each CAN passage front end and suppress three grades of protection circuits of common mode disturbances.Wherein, adopt gas discharge tube to carry out lightning Protection; Adopt transient suppressor to carry out carrying out surge protection; Adopt CAN common-mode filter to suppress common mode disturbances.
embodiment 3, embodiment 4
Referring to Fig. 1-Fig. 3, the multi-functional communication interface machine based on PowerPC embedded system of these two embodiment, it is with the difference of embodiment 1 and embodiment 2 respectively: 422/485 interface board adopts interface circuit as shown in Figure 3.Described interface circuit is selected ADM2587EBRWZ chip, controlled 422/485 interface circuit being connected on motherboard of described ADM2587EBRWZ chip.Every integrated 2 the serial ports passages of 422/485 interface board, complete safeguard function, isolation features, protocol conversion function etc.
ADM2587/2E is complete isolated form 485/422 chip of high-performance univoltage that ,ADI company releases after ADM2483.This built-in chip type DC-DC power supply, magnetic channel isolation, full duplex RS485 transceiver, thoroughly solved the problem of the external DC-DC module of RS485 isolated communication.
In like manner, for device security protection, need, can increase two-stage protection circuit at each serial ports passage front end: 1, gas discharge tube carries out lightning Protection; 2, transient suppressor carries out carrying out surge protection.
embodiment 5
The multi-functional communication interface machine based on PowerPC embedded system of the present embodiment, different from aforementioned each embodiment: the network interface circuit on core cpu plate is comprised of 2 extension of network chip RTL8201CP and peripheral circuit thereof, to realize core cpu plate, be connected with the network of computer, conveniently from CPU, download or be connected with outside network.Described extension of network chip RTL8201CP is connected with core cpu plate, hardware configuration lever selection when RTL8201CP is realized network chip and powered on by peripheral circuit.
The present invention is based on the multi-functional communication interface machine of PowerPC embedded system, core cpu plate (CPU and peripheral circuit thereof) bag expands CPU, SDRAM, FLASH, real-time clock, cpu clock, cpu power, 2 road Ethernet chips, and with the connector (adopting 1.27MM spacing connector) of base plate; Realization is to the intelligent interface expansion of whole hardware and to the storage of important information etc.
Cpu power provides 3.3V power supply and 1.5V power supply for this plate, and externally fed is 3.3V.
SDRAM, FLASH part moves for core board provides system internal memory and the memory space circuit needing.Wherein DRAM adopts 2 HY57V561620FTP-H-C, and design capacity is 64M.As core cpu plate data storage, use.FLASH adopts a slice JS28F128J3D75, and design capacity is 16M.As core cpu plate program storage, use.
Interface circuit on motherboard partly comprise CF card interface, CAN interface board interface, 422 485 interface board interfaces etc.The function that motherboard mainly completes has: the distribution of system bus port address; The distribution of system bus interrupt source; The realization of sheet choosing and interrupt logic circuit and bus control logic circuit; Connectivity port is provided to CPU board (core board), CAN interface board, 422/485 interface board, indicator light interface board, CF card.
Interface board mainly completes expansion and the safeguard function of interface.
The present invention is based on the multi-functional communication interface machine of PowerPC embedded system, core cpu plate carries the PowerPC embedded system processing device of the MPC8247 of Freescale, utilize communication interface machine can on linux system, carry out software development and design, by moving linux operating system and complete processing and the calculating of data on this platform.Its software section comprises the transplanting of U-BOOT; The transplanting of linux system kernel; External interface driver; Four parts of application program.
The external interface driver of software section comprises CAN interface drive program and serial port drive program.
CAN driver has been responsible for the data communication between linux kernel and sja1000, and linux kernel arranges the control register of sja1000, and read-write sja1000 receives, transmission buffer.Application program is partly responsible for the exchanges data of completing user space and kernel spacing, and analyzes the message receiving from sja1000, and encapsulation will send message.
In linux, device driver is comprised of one group of data structure and function, and it comprises device service subprogram (as open, read, write, close, ioctl etc.), initialization function can_init () and interrupt handling routine can_interrupt ().
When loading can driving, calls linux can_init (), to operating system device registration, complete the setting of can bus baud rate simultaneously, the setting of id filter, empty and receive and send buffering area, the work such as opens interrupters, complete after initialization, exit reset mode, enter normal mode of operation.Read is from reception buffer zone reading out data; Write writes personal data to sending buffering area; Release closes can controller; Ioctl sends out operational order various to can controller, comprises sja1000 bus baud rate, id filter etc. are set; Open opens can controller, and use function request_irq () to interrupt to system application, and interrupt handling routine is set is can_interrupt (), when the optional position of sja1000 internal interrupt register (ir) is 1, int pin Low level effective, call it and interrupt processing function can-interrupt (), in this function, read interrupt control register, judgement interruption source (receive interruption, transmission interruption, mistake interruption, data from overflow interruption, wake-up interrupts), thus corresponding service subprogram called.
Sja1000 read operation program:
base?=?ioremap(f6000000,?0x20);
unsigned?char?read_can_reg(unsigned?char?*base,unsigned?char?reg?)
{
unsigned?char?value;
writeb(reg,base);
value?=?readb(base+0x40);
return(value);
}
Writeb (reg, base) simulation ale latch address, sends out address signal reg, and base knows that by hardware design circuit this will make address latch signal ale draw high; Then, reg has been sent on multiplex bus; Then, by the data on readb (base+0x40) reading address reg, base will make ale drag down, and reg is latched; Then, data is sent on multiplex bus, has also just read the data in the reg indication space, address being latched.
Claims (7)
1. the multi-functional communication interface machine based on PowerPC embedded system, comprises core cpu plate, motherboard, interface board and power module, it is characterized in that: wherein core cpu plate carries PowerPC embedded system processing device and network interface circuit; Described motherboard, as the mainboard of this device, mainly comprises CPLD circuit, extended serial port circuit, bus level change-over circuit, RTC clock circuit and CAN interface circuit and 422/485 interface circuit; Described interface board comprises CAN interface board, 422/485 interface board and indicator light interface board; Described core cpu plate is connected with bus level change-over circuit on motherboard, after level conversion, is connected with CPLD circuit, extended serial port circuit and RTC circuit, and CPLD circuit is connected with CAN interface circuit by the bus of address and data time division multiplexing mode; Extended serial port circuit adopts 4 passage asynchronism transceiver STC16C554 chips, expands 4 tunnel 232 serial line interfaces and connects 422/485 interface circuit; Described CAN interface board is connected with CAN interface circuit on motherboard, and described 422/485 interface board is connected with 422/485 interface circuit on motherboard; Power module adopts the design of 5V Switching Power Supply, for each module of system provides working power.
2. the multi-functional communication interface machine based on PowerPC embedded system according to claim 1, it is characterized in that: CAN interface board comprises CAN controller chip SJA1000 and general CAN isolation transceiver CTM8251T, and described CAN controller chip is connected with CAN isolation transceiver; The controlled CAN interface circuit being connected on motherboard of CAN isolation transceiver, every integrated 2 the CAN passages of CAN interface board.
3. the multi-functional communication interface machine based on PowerPC embedded system according to claim 2, is characterized in that: at each CAN passage front end, be provided with the anti-lightning strike protection of gas discharge tube, the protection of transient suppressor Anti-surging and CAN common-mode filter and suppress three grades of protection circuits of common mode disturbances.
4. according to the multi-functional communication interface machine based on PowerPC embedded system described in claim 1,2 or 3, it is characterized in that: the single supply isolated form 485/422 chip ADM2587EBRWZ that 422/485 interface board selects ADI company to release, controlled 422/485 interface circuit being connected on motherboard of described 485/422 chip; Every integrated 2 the serial ports passages of 422/485 interface board.
5. the multi-functional communication interface machine based on PowerPC embedded system according to claim 4, is characterized in that: at each serial ports passage front end, be provided with the anti-lightning strike protection of gas discharge tube, transient suppressor Anti-surging two-stage protection circuit.
6. the multi-functional communication interface machine based on PowerPC embedded system according to claim 4, it is characterized in that: the network interface circuit on core cpu plate is comprised of 2 extension of network chip RTL8201CP and peripheral circuit thereof, to realize core cpu plate, be connected with the network of computer, described extension of network chip RTL8201CP is connected with core cpu plate, hardware configuration lever selection when described extension of network chip RTL8201CP is realized network chip and powered on by peripheral circuit.
7. according to the multi-functional communication interface machine based on PowerPC embedded system described in claim 1,2 or 3, it is characterized in that: the network interface circuit on core cpu plate is comprised of 2 extension of network chip RTL8201CP and peripheral circuit thereof, to realize core cpu plate, be connected with the network of computer, described extension of network chip RTL8201CP is connected with core cpu plate, hardware configuration lever selection when described extension of network chip RTL8201CP is realized network chip and powered on by peripheral circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310614291.9A CN103607286B (en) | 2013-11-28 | 2013-11-28 | Multi-functional communication interface machine device based on PowerPC embedded systems |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310614291.9A CN103607286B (en) | 2013-11-28 | 2013-11-28 | Multi-functional communication interface machine device based on PowerPC embedded systems |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103607286A true CN103607286A (en) | 2014-02-26 |
CN103607286B CN103607286B (en) | 2017-12-19 |
Family
ID=50125487
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310614291.9A Active CN103607286B (en) | 2013-11-28 | 2013-11-28 | Multi-functional communication interface machine device based on PowerPC embedded systems |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103607286B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105790856A (en) * | 2014-12-25 | 2016-07-20 | 研祥智能科技股份有限公司 | EMC protection system for automatic train control system host |
CN108845520A (en) * | 2018-06-12 | 2018-11-20 | 西安微电子技术研究所 | A kind of embedded processing module based on P4080 processor |
CN110850128A (en) * | 2019-11-11 | 2020-02-28 | 中国人民解放军海军工程大学 | On-site automatic test system bus for marine instrument |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202602678U (en) * | 2012-05-15 | 2012-12-12 | 河南辉煌科技股份有限公司 | Expansion circuit with multiple CAN (Controller Area Network) channel interfaces |
CN203632688U (en) * | 2013-11-28 | 2014-06-04 | 河南辉煌科技股份有限公司 | Multifunctional communication interface machine device based on PowerPC embedded system |
-
2013
- 2013-11-28 CN CN201310614291.9A patent/CN103607286B/en active Active
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105790856A (en) * | 2014-12-25 | 2016-07-20 | 研祥智能科技股份有限公司 | EMC protection system for automatic train control system host |
CN105790856B (en) * | 2014-12-25 | 2020-04-24 | 研祥智能科技股份有限公司 | EMC protection system of automatic train control system host |
CN108845520A (en) * | 2018-06-12 | 2018-11-20 | 西安微电子技术研究所 | A kind of embedded processing module based on P4080 processor |
CN110850128A (en) * | 2019-11-11 | 2020-02-28 | 中国人民解放军海军工程大学 | On-site automatic test system bus for marine instrument |
Also Published As
Publication number | Publication date |
---|---|
CN103607286B (en) | 2017-12-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105051706B (en) | The equipment of operation for the low-power PHY with PCIE protocol stacks, method and system | |
CN104809094B (en) | SPI controller and its communication means | |
KR101487181B1 (en) | Incorporating an independent logic block in a system-on-a-chip | |
CN101604301B (en) | Use of bond option to alternate between pci configuration space | |
US10282341B2 (en) | Method, apparatus and system for configuring a protocol stack of an integrated circuit chip | |
CN203632688U (en) | Multifunctional communication interface machine device based on PowerPC embedded system | |
KR101679333B1 (en) | Method, apparatus and system for single-ended communication of transaction layer packets | |
CN103558812B (en) | Based on the MVB network four kind equipment network interface card of FPGA and ARM | |
CN105335548B (en) | A kind of MCU emulation mode for ICE | |
CN106970894A (en) | A kind of FPGA isomery accelerator cards based on Arria10 | |
CN206649376U (en) | One kind is applied in the road server PCH configuration structures of purley platforms eight | |
CN201328123Y (en) | Protocol conversion card | |
CN105281433A (en) | Distribution terminal communication system | |
CN103607286A (en) | Multifunctional communication interface machine device based on PowerPC embedded system | |
CN107861565A (en) | Computer control system based on Loongson processor | |
CN207249664U (en) | A kind of double type c interface arrangements based on intel kabylake platforms | |
CN212305372U (en) | Edge computing gateway device supporting high-speed power line carrier communication | |
CN206788852U (en) | A kind of information processing system based on PowerPC+SRIO switching technologies | |
CN103218336B (en) | SD/MMC card and IIC from the opertaing device of machine, its control method and control system | |
CN203287889U (en) | Control device of SD/MMC card and IIC slave device | |
CN208190652U (en) | A kind of mainboard of full duplex Universal Synchronous Asynchronous serial transceiver | |
CN206162265U (en) | COMe modularization computer system based on it carries on south bridge CS5536 to explain 411 majestic CPU | |
CN102855210A (en) | Method for realizing intercommunication and data sharing between two single-chip microcomputers | |
CN202948360U (en) | Double-bridge sheet main board for supporting RS780E redundancy design | |
CN204203965U (en) | A kind of data transmission board for portable type ground testing apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |