CN106533873A - CAN bus node chip including transceiver and controller - Google Patents

CAN bus node chip including transceiver and controller Download PDF

Info

Publication number
CN106533873A
CN106533873A CN201611027091.3A CN201611027091A CN106533873A CN 106533873 A CN106533873 A CN 106533873A CN 201611027091 A CN201611027091 A CN 201611027091A CN 106533873 A CN106533873 A CN 106533873A
Authority
CN
China
Prior art keywords
bus
controller
transceiver
module
chip
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
CN201611027091.3A
Other languages
Chinese (zh)
Other versions
CN106533873B (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.)
Tianjin University
Original Assignee
Tianjin University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin University filed Critical Tianjin University
Priority to CN201611027091.3A priority Critical patent/CN106533873B/en
Publication of CN106533873A publication Critical patent/CN106533873A/en
Application granted granted Critical
Publication of CN106533873B publication Critical patent/CN106533873B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40013Details regarding a bus controller

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Systems (AREA)

Abstract

The invention belongs to the field of CAN onsite buses. A CAN bus transceiver and a CAN bus controller are integrated in the same chip, the chip is miniaturized, use of the CAN bus chip is simplified, and the integrated degree and the reliability of a CAN onsite bus system are improved. A CAN bus node chip including the transceiver and the controller is composed of a bus transceiver module and a CAN bus controller module; the CAN bus controller module is composed of an internal dwell vessel, an interface management logic unit, a bit flow processor, an acceptance filter, a bit time sequence logic unit and a data buffer; the bus transceiver module comprises a sending part and a reception part; the sending part is composed of two driving control modules a NOT gate, two switch MOS tubes and a divider resistor; and the reception part is formed by a retardation comparator. The CAN bus node chip including the transceiver and the controller is mainly applied to design and manufacture occasions of a CAN onsite bus device.

Description

CAN node chip comprising transceiver Yu controller
Technical field
The present invention relates to CAN fieldbus field, and in particular to a kind of total with the CAN of CAN transceiver comprising CAN controller Line node chip, effectively increases the integrated level and reliability of CAN system.
Background technology
With the development of computer networking technology and chip technology, in network system, the performance of control chip is greatly improved, Cost is constantly reduced, the controlling network with fieldbus as representative also industry and other control system in play it is indispensable Few role.Fieldbus realizes the number of two-way, serial, multi-point between measurement control device using at the scene Word communication system.It inserts traditional measuring and controlling instrument table general or special microprocessor, is allowed to numerical calculation And digital communicating ability.Which adopts certain medium as communication bus, according to the communication protocol of open, specification, positioned at existing Between the multiple equipment of field and between field apparatus and remote monitoring computer, realize that data transfer and information are exchanged, formed The various automation control systems for adapting to be actually needed.
CAN is the abbreviation of controlling network Control Area Network, and CAN fieldbus is based on CAN protocol Plant fieldbus.CAN fieldbus has high traffic rate, direct long transmission distance, strong antijamming capability, can almost detect The series of advantages such as any mistake for occurring.The high-performance and reliability of CAN is accepted, and is widely used in industry certainly The aspects such as dynamicization, ship, armarium, industrial equipment.CAN is one of focus of nowadays automatic art, It is described as the LAN of automatic field.It appear as dcs realize between each node in real time, can The data communication leaned on provides strong technical support.
In CAN system, in a bus, generally connect multiple CAN nodes, each node all can basis in network Bus access prioritized contention sends to bus and can receive identical number of buses simultaneously between data, and different nodes According to.Each CAN node in system includes CAN transceiver and CAN controller, and the function of CAN transceiver is to realize that numeral is patrolled Collect the conversion between level and analog differential level.In CAN nodes, the internal signal of controller is digital logic level, and Signal in bus is analog differential level, and the effect of transceiver is exactly to realize the level conversion between controller and bus.CAN Controller is its key component, for a series of logic work(such as transmission and reception, troubleshooting, arbitration of control data Can, the perfect communication protocol that CAN has is realized by controller.
In actual CAN system, need CAN transceiver to cooperate with CAN controller, could realize multiple existing Data communication between field device and field apparatus and remote computer.But current CAN transceiver and CAN controller on the market Mostly discrete design, is not integrated to together, and this just brings inconvenience for the use of chip.
List of references
1、Dong-Hee Noh,Dong-Seong Kim.Message Scheduling on CAN Bus for Large-Scaled Ship Engine Systems[J].World Congress,2014,47(3):7911-7916.
2nd, Rao Yuntao, Zou Jijun, Zheng Yongyun. CAN Bus principle and application technology [M]. Beijing:Beijing Aviation space flight University press, 2007,12-18.
3rd, the clear people are carried out. teach by doing you and learn CAN [M]. Beijing:Publishing house of BJ University of Aeronautics & Astronautics, 2010,109- 112。
The content of the invention
To overcome the deficiencies in the prior art, it is contemplated that CAN transceiver and CAN controller are integrated to together The Miniaturization Design of chip in one chip, is realized, simplifies the use of CAN chip, improve the integrated of CAN field bus systems Degree and reliability.The technical solution used in the present invention is, the CAN node chip comprising transceiver Yu controller, by bus Transceiver module, CAN controller module composition, CAN controller module by internal register, interface management logic, Bit stream processor, acceptance fitration, bit timing logic and data buffer composition, internal register are used to set various controls Signal, state between microcontroller and bus control unit, control and the exchange of command signal are all internally to complete in depositor; Interface management logic is used for the order for performing microcontroller, manages the addressing inside bus control unit.Bit stream processor is used for controlling Data flow between data buffer processed and CAN performs error detection simultaneously;During acceptance fitration is used to recognize CAN network Frame identification;Bit timing logic is responsible for processing the bit timing related to bus;The function of data buffer is the letter of storage transmitting-receiving Breath, which is divided into transmission buffer and receives buffer;
Bus transceiver module includes two parts, is transmitting portion and receiving portion respectively;Transmitting portion is driven by two Dynamic control module, not gate, two switch metal-oxide-semiconductors, divider resistance compositions, one drive control module of information access of transmission are sent out The information sent is while also access another drive control module by not gate, the output of two drive control modules is corresponded to respectively and connected The grid of a switch metal-oxide-semiconductor is connect so that difference output is formed to CAN;Receiving portion is made up of hysteresis comparator.
Drive control module is made up of phase inverter cascade.
The characteristics of of the invention and beneficial effect are:
The application of fieldbus is quite varied at present, and CAN has been applied to industry because of a series of its advantage The multiple fields such as automatization, ship, auto industry.Traditional CAN chip mostly is discrete design, and controller is with transceiver not Integrate, increased the use difficulty of chip, reduce the stability of CAN system.The present invention is by by CAN controls Device is integrated to same chip with CAN transceiver, realizes the Miniaturization Design of chip, simplifies the use of CAN chip, carry The high stability of CAN system.
Description of the drawings:
Fig. 1 CAN node chip overall structure block diagrams.
Fig. 2 transceiver module structural representations.
Fig. 3 entirety domains.
Fig. 4 CAN system schematics.
Specific embodiment
The present invention gives it is a kind of by CAN transceiver be integrated to CAN controller together with CAN node chip.
CAN transceiver and CAN controller are integrated to same chip by the present invention, and chip overall structure block diagram is as shown in Figure 1. Two modules of bus reception/sending module and bus protocol controller can be divided into.Transceiver module includes transmitting portion and connects Receiving portions, controller module include the functional modules such as internal register, to realize bus protocol.
CAN transceiver module structural representation is as shown in Fig. 2 mainly include transmitting portion and receiving portion.Send Part is made up of drive control module, switch metal-oxide-semiconductor, divider resistance, and receiving portion is then a hysteresis comparator.Resistance in figure R5 is bus equivalent resistance (generally 60 Ω), and to ensure the driving force to bus in actual design, during design, R5 is set to 50 ohm, R1 and R2 partial pressures obtain 2.5V voltages for providing the recessive biasing of bus, R3 and R4 be used to isolating dominant level and Recessive level (P0 and N0 are in the conduction state), diode are used to prevent level in bus too high or too low cause shadow to power supply Ring.When P0 and N0 is simultaneously turned on, the level of CANH and CANL is respectively 3.5V, 1.5V, and now the electric current in bus is 40mA, because Electric current when this P0 and N0 is turned on is 40mA, so needs the breadth length ratio larger (providing the electric current of 40mA) of P0 and N0.Vast scale Metal-oxide-semiconductor needs previous stage to have stronger driving force, so the drive circuit of phase inverter cascade is employed in circuit.Receiving circuit It is a hysteresis comparator, differential analog signal is converted into into digital signal, is for anti-stop signal using sluggish purpose Shake, improves the quality of signal.
Transceiver is the interface of data exchange, connects CAN controller and physical bus respectively, and essence is exactly to realize that bus is poor Galvanic electricity puts down the conversion to digital logic level.Accordingly, as a transceiver, I/O port is provided with the CANH of connection physical bus With CANL ports, and have from protocol controller end receive and send data RX and TX ports, and VDD and GND connect power supply and Grounding ports.
CANH correspondence high level buses, CANL correspondence low level buses, both are connected on physical bus, are received from total Differential wave on line.TX ports refer to data that Jing protocol controllers processed by this port be passed to transceiver then by Transceiver is sent in bus, referred to as sends FPDP;RX ports refer to that transceiver will receive differential number from physical bus According to protocol controller, referred to as receiving data port are transferred to after being processed as the digital signal of serial.
When CAN controller to transmitting terminal send digital logic level 0 when, obtain on physical bus differential level CANH and CANL is respectively 3.5V and 1.5V, and receiving terminal obtains signal 0;When CAN controller sends digital logic level 1 to transmitting terminal, Differential level CANH and CANL are obtained on physical bus and is respectively 2.5V and 2.5V, receiving terminal obtains signal 1.
CAN controller module is to realize the main modular of bus protocol, and which is divided into internal register, interface management Logic, bit stream processor, acceptance fitration, bit timing logic and data buffer.Internal register is used to set various controls Signal processed, state between microcontroller and bus control unit, control and the exchange of command signal are all complete in depositor internally Into.Interface management logic is used for the order for performing microcontroller, manages the addressing inside bus control unit.Bit stream processor is used for Data flow between control data buffer and CAN performs the functions such as error detection simultaneously.Acceptance fitration is used to recognize Frame identification in CAN network.Bit timing logic is responsible for processing the bit timing related to bus.The function of data buffer is storage The information of transmitting-receiving, which is divided into transmission buffer and receives buffer.
After design of the controller module with transceiver module is completed, by rational laying out pattern (as shown in Figure 3) Two modules are integrated in same chip.Through appropriate encapsulation, obtain being integrated with the CAN of CAN controller and CAN transceiver Bus node chip.
An example of the present invention is as follows:
Integrated testability is carried out to CAN node chip first, chip functions correctness is determined.With CAN node core Based on piece, CAN system is built.As shown in figure 4, each CAN node is by sensor and actor, microcontroller (monolithic Machine), CAN node chip composition, by appropriate sensor detect field apparatus generation change, executor send phase The signal answered controls CAN node chip and produces corresponding signal to microcontroller, then, and sends to total through arbitration Line, signal are sent to remote control computer by bus, and then make remotely control computer learn the change that field apparatus occurs Change, and respond.

Claims (2)

1. a kind of CAN node chip comprising transceiver Yu controller, is characterized in that, total by bus transceiver module, CAN Lane controller module is constituted, and CAN controller module is by internal register, interface management logic, bit stream processor, examination filter Ripple device, bit timing logic and data buffer composition, internal register are used to set various control signals, microcontroller and total State between lane controller, control and the exchange of command signal are all internally to complete in depositor;Interface management logic is used for The order of microcontroller is performed, the addressing inside bus control unit is managed.Bit stream processor is used for control data buffer and CAN Data flow between bus performs error detection simultaneously;Acceptance fitration is used to recognize the frame identification in CAN network;Bit timing is patrolled Collect and be responsible for processing the bit timing related to bus;The function of data buffer is the information of storage transmitting-receiving, and it is slow which is divided into transmission Rush device and receive buffer;
Bus transceiver module includes two parts, is transmitting portion and receiving portion respectively;Transmitting portion is driven by two and is controlled Molding block, not gate, two switch metal-oxide-semiconductors, divider resistance compositions, one drive control module of information access of transmission, transmission Information also accesses another drive control module by not gate simultaneously, and the output of two drive control modules is connected respectively one The grid of individual switch metal-oxide-semiconductor is so as to forming difference output to CAN;Receiving portion is made up of hysteresis comparator.
2. the CAN node chip comprising transceiver with controller as claimed in claim 1, is characterized in that, drive control Module is made up of phase inverter cascade.
CN201611027091.3A 2016-11-15 2016-11-15 CAN bus node chip comprising transceiver and controller Active CN106533873B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611027091.3A CN106533873B (en) 2016-11-15 2016-11-15 CAN bus node chip comprising transceiver and controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611027091.3A CN106533873B (en) 2016-11-15 2016-11-15 CAN bus node chip comprising transceiver and controller

Publications (2)

Publication Number Publication Date
CN106533873A true CN106533873A (en) 2017-03-22
CN106533873B CN106533873B (en) 2019-08-20

Family

ID=58352719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611027091.3A Active CN106533873B (en) 2016-11-15 2016-11-15 CAN bus node chip comprising transceiver and controller

Country Status (1)

Country Link
CN (1) CN106533873B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107317734A (en) * 2017-05-17 2017-11-03 天津大学 Integrated CN bus nodes chip structure based on SOC technologies
CN107544328A (en) * 2017-09-06 2018-01-05 天津大学 CAN controller chip interface serialization device
CN109725575A (en) * 2018-12-27 2019-05-07 南京熊猫电子股份有限公司 The application system of compatible adaptive various field industrial bus communication
CN110083564A (en) * 2019-06-14 2019-08-02 北京锐达芯集成电路设计有限责任公司 A kind of control chip and its application method
CN112187596A (en) * 2019-07-03 2021-01-05 恩智浦有限公司 Error frame detection
CN113050465A (en) * 2019-12-27 2021-06-29 比亚迪股份有限公司 CAN bus system, control system, automobile and engineering machinery
CN113179200A (en) * 2021-04-07 2021-07-27 上海川土微电子有限公司 Anti-interference CAN bus architecture
CN113485954A (en) * 2021-06-29 2021-10-08 中国科学院近代物理研究所 CAN control unit and ion accelerator power supply controller
CN115065575A (en) * 2022-07-26 2022-09-16 广州智慧城市发展研究院 Data transmission system based on CAN bus controller and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201278555Y (en) * 2008-09-12 2009-07-22 中兴通讯股份有限公司 Mobile terminal with CAN bus monitoring node
CN103546349A (en) * 2013-11-04 2014-01-29 南京交通职业技术学院 Design method of embedded vehicle-mounted CAN bus detector
CN104901857A (en) * 2015-04-07 2015-09-09 安徽康海时代科技有限公司 Bus analyzer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201278555Y (en) * 2008-09-12 2009-07-22 中兴通讯股份有限公司 Mobile terminal with CAN bus monitoring node
CN103546349A (en) * 2013-11-04 2014-01-29 南京交通职业技术学院 Design method of embedded vehicle-mounted CAN bus detector
CN104901857A (en) * 2015-04-07 2015-09-09 安徽康海时代科技有限公司 Bus analyzer

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107317734A (en) * 2017-05-17 2017-11-03 天津大学 Integrated CN bus nodes chip structure based on SOC technologies
CN107544328A (en) * 2017-09-06 2018-01-05 天津大学 CAN controller chip interface serialization device
CN109725575A (en) * 2018-12-27 2019-05-07 南京熊猫电子股份有限公司 The application system of compatible adaptive various field industrial bus communication
CN110083564A (en) * 2019-06-14 2019-08-02 北京锐达芯集成电路设计有限责任公司 A kind of control chip and its application method
CN112187596A (en) * 2019-07-03 2021-01-05 恩智浦有限公司 Error frame detection
CN112187596B (en) * 2019-07-03 2023-10-24 恩智浦有限公司 Error frame detection method, device and storage medium
CN113050465A (en) * 2019-12-27 2021-06-29 比亚迪股份有限公司 CAN bus system, control system, automobile and engineering machinery
CN113179200A (en) * 2021-04-07 2021-07-27 上海川土微电子有限公司 Anti-interference CAN bus architecture
CN113485954A (en) * 2021-06-29 2021-10-08 中国科学院近代物理研究所 CAN control unit and ion accelerator power supply controller
CN115065575A (en) * 2022-07-26 2022-09-16 广州智慧城市发展研究院 Data transmission system based on CAN bus controller and electronic equipment
CN115065575B (en) * 2022-07-26 2022-11-29 广州智慧城市发展研究院 Data transmission system based on CAN bus controller and electronic equipment

Also Published As

Publication number Publication date
CN106533873B (en) 2019-08-20

Similar Documents

Publication Publication Date Title
CN106533873B (en) CAN bus node chip comprising transceiver and controller
CN105141491B (en) RS485 communication circuit and method for realizing spontaneous self-receiving
CN113325768B (en) Communication control device and method of industrial control system and industrial control system
CN111277493A (en) Internet of things gateway
YunxiaJiang et al. Design and implementation of CAN-bus experimental system
Yang et al. The design of distributed control system based on CAN Bus
Bi Design and Implementation of I/O Modules Based on Dual Redundant Can Bus
CN206671863U (en) A kind of bus communication system for power plant auxiliary workshop PLC control system
Rao Design and implementation of remote data acquisition system based on embedded system
CN202093347U (en) Interface module for EtherCAT bus numerical control system
Hao et al. Development for protocol conversion gateway of industrial field bus
CN206179207U (en) Centralized management ware
CN105512066B (en) Soft starter communication protocol conversion device and method based on profibus
CN204836207U (en) Register is synthesized to 1394B bus interface protection type
CN211296721U (en) Integrated communication device
CN204576495U (en) A kind of dual bus arbitration control device
CN103926861A (en) Aviation ammunition universal test device intelligent interface adapter
CN208128466U (en) A kind of Ethernet based on S698PM turns multichannel CAN interface communication apparatus
CN113168145B (en) In-board communication circuit and in-board communication device
Sun et al. The design of a DeviceNet-SPI converter module based on the STM32 MCU
CN218976690U (en) Serial port-to-network port circuit
Sharadha et al. Developing an Ethernet Interface Using a General Purpose Microcontroller and Ethernet Controller for Power Amplifier
WO2022040996A1 (en) In-board communication circuit and in-board communication apparatus
CN220603888U (en) Digital quantity signal remote control circuit and card type bus IO module
CN220603889U (en) Analog current output control circuit and card type bus IO module

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