WO2018217854A1 - Can transmitter with fast canl control loop - Google Patents

Can transmitter with fast canl control loop Download PDF

Info

Publication number
WO2018217854A1
WO2018217854A1 PCT/US2018/034068 US2018034068W WO2018217854A1 WO 2018217854 A1 WO2018217854 A1 WO 2018217854A1 US 2018034068 W US2018034068 W US 2018034068W WO 2018217854 A1 WO2018217854 A1 WO 2018217854A1
Authority
WO
WIPO (PCT)
Prior art keywords
transmitter
canl
replica
output stage
stage circuit
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.)
Ceased
Application number
PCT/US2018/034068
Other languages
French (fr)
Inventor
Burkhard Gehring
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.)
Microchip Technology Inc
Original Assignee
Microchip Technology Inc
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 Microchip Technology Inc filed Critical Microchip Technology Inc
Priority to DE112018002682.5T priority Critical patent/DE112018002682B4/en
Priority to CN201880018864.2A priority patent/CN110431808B/en
Publication of WO2018217854A1 publication Critical patent/WO2018217854A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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
    • 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/40032Details regarding a bus interface enhancer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • 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
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN

Definitions

  • the present disclosure relates to controller area network (CAN) control and, in particular, a CAN transmitter with a fast CANL control loop.
  • CAN controller area network
  • BACKGROUND CAN is defined in the International Standards Organization (ISO) 11898 specification.
  • ISO 11898 is a family of specifications in which ISOl 1898-1 covers a datalink layer while ISO 118980-2 and ISO 118980-3 cover physical layers of CAN.
  • CAN is a robust communication protocol.
  • a CAN node on a bus may detect errors in a received message, and force the message to be destroyed and retransmitted. Accordingly, the message that a node does receive contains valid data.
  • a CAN frame requires that every node acknowledge the message before it can be processed by that node. This acknowledge can only come after various error condition checks, such as a 15-bit cyclical redundancy check (CRC) on the message. If one CAN node finds an error with the message, the message is destroyed and retransmitted.
  • CRC cyclical redundancy check
  • the CAN specification defines three different error states for a CAN node to be in, with each error state giving the CAN node different levels of bus access.
  • the error states limit faulty nodes from taking down the CAN bus.
  • CAN includes serial communication in which all nodes on the CAN bus are attached to common connection using the same bitrate.
  • CAN is message-based, rather than address-based. Thus, messages are not transmitted from one node to another node based on the address of a CAN node. Instead, a CAN node will broadcast its message to all nodes on the bus. The receiving node is required to determine whether it should act on that message. Single or multiple nodes may act on the same data. Accordingly, it is possible to add new nodes to a CAN bus without having to update the existing nodes with addressing information
  • CAN allows for distributed control across a network because of the reliability of the data. This allows designers of the network the flexibility to set up consumer-producer or peer- to-peer networks.
  • CAN network transmission may be performed using a differential pair of transmission lines— CANH and CANL.
  • CAN may specify two logical states: recessive and dominant. During the recessive logical state, CANH and CANL may be approximately the same voltage, or within a specified tolerance of voltage from each other. During the dominant logical state, CANH and CANL may be separated by a voltage difference, VDiff.
  • FIGURE 1 illustrates an example differential bus using CAN, including CANH, CANL, and VDiff.
  • the differential voltage on CANH and CANL is less than the minimum threshold ( ⁇ 0.5V receiver input or ⁇ 1.5V transmitter output).
  • VDiff is greater than the minimum threshold.
  • a dominant bit overdrives a recessive bit on the bus to achieve nondestructive bitwise arbitration.
  • Embodiments of the present disclosure include a CAN transmitter.
  • the CAN transmitter may include an output stage circuit, a replica circuit of the output stage circuit configured to produce a replica signal, and a control amplifier configured to control a CANL output signal of the CAN transmitter in order to maintain the replica signal at a desired level.
  • the control amplifier may be further configured to control a low side of the output stage circuit to generate the CANL output signal.
  • the control amplifier may be further configured to provide no control over a CANH output signal of the CAN transmitter.
  • the control amplifier may be further configured to bias transistors for the CANL output signal of the CAN transmitter during dominant states and during recessive states.
  • the output stage circuit may include a CANL driver including a lateral double- diffused NMOS transistor and a freewheeling diode.
  • the replica circuit may include two resistors configured to model a CAN bus load.
  • a center node of the two resistors may be connected as input to the control amplifier.
  • the control amplifier may be further configured to control a gate voltage of an NMOS transistor of a CANL driver of the output stage circuit in order to maintain the replica signal at a desired level.
  • the replica circuit may be less than 30% of the size of the output stage circuit.
  • control amplifier may be further configured to perform active feedforward for compensating common mode game of the transmitter.
  • CAN transmitter may further include gate discharge switches coupled to gates of transmitters of the output stage circuit and the replica circuit.
  • Embodiments of the present disclosure may include a system, controller, integrated circuit device, or microcontroller including any of the CAN transmitters of the above embodiments.
  • Embodiments of the present disclosure may include methods performed by any of the CAN transmitters, systems, controllers, integrated circuit devices, or microcontrollers of the above embodiments.
  • FIGURE 1 is an illustration of example CAN signaling.
  • FIGURE 2 is an illustration of an example CAN network, according to embodiments of the present disclosure.
  • FIGURE 3 is an illustration of an example CAN transceiver, according to embodiments of the present disclosure.
  • FIGURE 2 is an illustration of an example CAN network 100, according to embodiments of the present disclosure.
  • Network 100 may include any suitable number and kind of CAN nodes 102.
  • network 100 may include nodes 102A, 102B, 102C.
  • Nodes 102 may be configured to communicate with each other over a CAN bus 116.
  • CAN bus 116 may be implemented with two lines.
  • CAN bus 116 may include a CANH line 120 and a CANL line 118.
  • Nodes 102 may be implemented in any suitable manner.
  • FIGURE 2 illustrates example variations of CAN node implementations.
  • CAN node 102A may be implemented with a microcontroller 104.
  • Microcontroller 104 may be implemented by, for example, an 8- bit, 16-bit, or 32-bit PIC microcontroller from the assignee of the present disclosure.
  • Microcontroller 104 might not include an integrated CAN module.
  • CAN node 102A might include a separately implemented CAN module 110A.
  • CAN modules 110 in network 100 may be configured to provide an interface between a CAN transceiver 112 and the rest of CAN node 102.
  • CAN modules 110 may be implemented by any suitable mechanism, such as by libraries, software stacks, functions, applications, drivers, or instructions for execution by a processor.
  • CAN transceivers 112 may be implemented in any suitable manner, such as by analog circuitry, digital circuitry, instructions for execution by a processor, or any suitable combination thereof.
  • CAN modules 110 may make function calls of CAN transceivers 112 to send and receive data, or otherwise carry out the CAN protocol. Other elements of CAN nodes 102 may in turn make function calls of CAN modules 110.
  • microcontroller 110A may communicate with other nodes by making function calls to CAN module 110A, which in turn may make function calls to CAN transceiver 112A.
  • CAN transceiver 112A may read and write data over CAN bus 116 to or from other CAN nodes 102.
  • CAN node 102A may include microcontroller 110A that does not include an integrated
  • CAN module 11 OA CAN node 102B may include a microcontroller HOB that includes an integrated CAN module 110B.
  • CAN node 102C may be implemented as a CAN input/output (I/O) expander.
  • I/O input/output
  • CAN node 102C may provide I/O expansion for CAN network 100 without a microcontroller.
  • CAN node 102C may include peripherals such as general-purpose IO, A2D, pulsed- width modulation, or other interfaces to send out periodic or event-based messages driven on thresholds.
  • CAN electromagnetic compatibility
  • EMC electromagnetic compatibility
  • EMI electromagnetic interference
  • EME electromagnetic environment
  • differential communication must be required to work despite EMI.
  • Such digital communication may include operations even over a large common mode range of +/- 12V.
  • Such digital communication may include operating with up to 36 dBm (40V peak) injected radio frequency (RF) power.
  • RF radio frequency
  • CAN must work in EMEs such as up to 55 dB ⁇ V (0.6 mV) common mode emissions up to 20 MHz, up to 15 dB ⁇ V (6 ⁇ ) common mode emissions at 75 MHz, and at a 2V differential signal amplitude.
  • CANL and CANH currents may need to match each other with extremely accuracy, both at DC and transient.
  • a given CAN node may exercise slow or fast control to generate CANH or CANL signals at a transceiver.
  • the "fast” or “slow” aspect may refer to the speed of a control loop to generate an appropriate dominant or recessive signal.
  • the "fast” or “slow” aspect of CANH or CANL control may refer to the slope of the change in signals between the recessive and the dominant states, or between the dominant and the recessive states. The slope may also be referred to as the slew rate of the signal transition. Faster rise and fall times may support higher bus rates and longer bus lengths in network 100.
  • FIGURE 3 illustrates a more detailed view of a CAN transceiver 300, according to embodiments of the present disclosure.
  • Transceiver 300 may implement in part transceivers 112 of FIGURE 2.
  • Transceiver 300 may receive a signal 318 from other parts of the transceiver (not shown) or a CAN module 110.
  • Signal 318 may be a dominant or recessive logic signal signifying a bit pattern of values to be written to CAN network 100.
  • the output dominant or recessive signal may be written to CANH 308 or CANL 310 pins.
  • CANH and CANL 310 pins may be connected to CANH line 118 and CANL line 120, respectively.
  • Transceiver 300 may be configured to perform faster rise and fall times for writing recessive or dominant states to CANH 308 and CANL 310 pins compared to other solutions.
  • Transceiver 300 may include a current source 320 connected to signal 318.
  • Signal 318 may be configured to drive output of current source 320 according to the received bit pattern.
  • Current source 320 may be implemented in any suitable manner.
  • current source 320 may be a floating current source.
  • Current source 320 may be a programmable or adjustable current source based upon the input of signal 318.
  • An injection bit pattern may be provided from into current source 320 into current mirrors.
  • the current mirrors may include a replica stage 304 and an output stage 306.
  • VCC 312 may be connected to transceiver 300.
  • Ground 314 may be connected to transceiver 300.
  • VCC 312 may be connected to the source of a transistor 316.
  • Transistor 316 may be a p-type metal-oxide-semiconductor (PMOS) transistor.
  • Current source 320 may be connected to the drain of transistor 316.
  • Current source 320 may be connected to the source of another transistor 322.
  • Transistor 322 may be an n-type metal- oxide-semiconductor (NMOS) transistor.
  • NMOS n-type metal- oxide-semiconductor
  • current source 320 may be connected to the gate of transistor 322.
  • the drain of transistor 322 may be connected to ground 314.
  • Transceiver 300 may include a replica stage 304.
  • Replica stage 304 may include a transistor 330 connected to VCC 312.
  • Transistor 330 may be a PMOS transistor.
  • Transistor 330 may be connected to VCC 312 at its source.
  • the gate of transistor 330 may be connected to the gate of transistor 316.
  • the drain of transistor 330 may be connected to a diode 354.
  • Diode 354 may be connected to a resistor 350, which may be connected to another resistor 352.
  • Resistor 352 may be connected to a diode 356.
  • Diode 356 may be connected to the source of a transistor 332.
  • the drain of transistor 332 may be connected to ground 314.
  • Diodes 356, 354 may be freewheeling diodes.
  • the gate of transistor 332 may be connected to the gate of transistor 322.
  • Transistor 332 may be an NMOS transistor.
  • Transceiver 306 may include an output stage 306.
  • Output stage 306 may include a transistor 338 connected at its source to VCC 312.
  • transistor 338 may be lateral double-diffused PMOS (LDPMOS) transistor.
  • transistor 338 may be a PMOS transistor with an LDPMOS cascode.
  • Transistor 338 may be connected at its gate to the gate of transistor 330 and the gate of transistor 316.
  • Transistor 338 may be connected at its drain to a diode 340.
  • Diode 340 may be connected to CANH pin 308.
  • CANL pin 310 may be connected to a diode 342.
  • Diode 342 may be connected to the source of a transistor 344.
  • the gate of transistor 344 may be connected to the gate of transistor 332 and the gate of transistor 322.
  • the drain of transistor 344 may be connected to ground 314.
  • transistor 344 may be lateral double-diffused NMOS (LDNMOS) transistor. Such a transistor may be used if a cascode current mirror in compliance with the CAN specification is not used.
  • transistor 344 may be a PMOS transistor with an LDNMOS cascode.
  • Diodes 340, 342 may be freewheeling diodes. Diodes 340, 342 may be used for ESD protection and for reverse protection.
  • transceiver 306 may include a control amplifier 328.
  • Output of amplifier 328 may be connected to the gate of transistor 344.
  • output of amplifier 328 may be connected to the gates of transistors 322, 332.
  • Amplifier 328 may be implemented by, for example, a 1-stage, 2-stage, or 3-stage operational amplifier.
  • amplifier 328 may receive inputs from a reference divider 302 and from replica stage 304.
  • amplifier 328 may receive a negated input from reference divider 302 and a positive input from replica stage 304, or vice-versa.
  • Reference divider 302 may be connected to VCC 312.
  • Reference divider 302 may include two resistors 324, 326. Resistor 326 may be connected to ground 314. The values of resistors 324, 326 may be the same.
  • Reference divider 302 may provide a reference voltage to amplifier 328 from a node between resistors 324, 326.
  • Input from replica stage 304 to amplifier 328 may be provided from a node between resistors 350, 352.
  • the value of resistors 350, 352 may be the same. Any suitable value of resistance may be used in resistors 324, 326, 350, 352.
  • Reference divider 302 may be a total of 110 kohms.
  • Resistors 350, 352 may be, for example, six times higher than an output CAN bus resistor. Such a CAN bus resistor may be, for example, 60 ohms.
  • a switch 334 may be provided between VCC 312 and the gates of transistors 338, 330, 16. Switch 334 may be optional.
  • a switch 336 may be provided between ground 314 and the gates of transistors 344, 332, 322.
  • Switch 336 may be optional, as control provided by transistors in FIGURE 3 may perform an equivalent function.
  • Switches 334, 336 may be driven by bit pattern 318. Hard switching may use current sources. In contrast, switches 334, 336 may be driven with bit pattern 318.
  • Replica stage 304 may be a fraction of the size or of the current of output stage 306. The fraction may be, for example, 1/10 to 1/3 of the current of output stage 306. In one embodiment, 1/6 of the output state current may be used.
  • Replica stage 304 may be configured to produce a replica signal.
  • the replica signal may detect the difference in CANH and CANL current changes.
  • the replica signal may be an estimate of the common mode signal that is to be applied to the CAN bus over CANH pin 308 and CANL pin 310.
  • the replica signal may be provided to amplifier 328.
  • Amplifier 328 may in turn be configured to maintain the replica signal at a desired level. The desired level may be expressed by a reference voltage provided by reference divider 302. In particular, amplifier 328 may be configured to maintain the replica signal by controlling the signal on CANL pin 310.
  • the replica signal generated by replica stage 304 may be controlled by applying the output of amplifier 328 to the gate of transistor 332.
  • Replica stage 304 may be implanted as a reduced size (such as 1-30%) of output stage 306.
  • Replica stage 304 may include a model of the bus load on CAN network 100. Such a model may be implemented by, for example, resistors 326, 330. The center tap of resistors 326, 330 may be used for input or feedback to amplifier 328. Amplifier 328 may control the gate voltage of transistor 344.
  • Transceiver 300 may thus use active feed-forward for compensating and stabilizing the control loop to generate CANL pin 310 signals.
  • Transceiver 300 may use a constant voltage, such as 2.5V, as a target for replica voltage.
  • Transceiver 300 may use a certain ratio, such as 50%, as a target for replica voltage. This may be implemented by reference divider 302.
  • Transceiver 300 may provide advantages over slower CANH and CANL control. Transceiver 300, by using a control circuit including amplifier 328 and its connections shown in FIGURE 3, may provide advantages over use of hard switching to generate CANH and CANL signals. Without hard switching, high frequency emissions may be reduced. Other solutions may use a switch to switch between dominant and recessive generation of signals for CANH and CANL.
  • slow CANH control may be deactivated.
  • only the CANL signals may be controlled (using NMOS transistor 344), as opposed to controlling both NMOS and PMOS (transistor 338) by amplifier 328. This may result from PMOS mirrors operating slower than NMOS mirrors. Accordingly, the NMOS capacitance of transistor 344, which is three times lower than that of PMOS (transistor 338), may yield faster control.
  • the control loop may be biased at all times. While the driver is active the fast control may be enabled. This may be accomplished by a separate supply current (not shown). In such a case, the control loop may be biased in both dominant and recessive states. This may provide a large bandwidth and accurate matching of low-side and high-side current.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Logic Circuits (AREA)
  • Dc Digital Transmission (AREA)
  • Transmitters (AREA)
  • Amplifiers (AREA)

Abstract

A controller area network (CAN) transmitter includes an output stage circuit, a replica circuit of the output stage circuit configured to produce a replica signal, and a control amplifier configured to control a CANL output signal of the CAN transmitter in order to maintain the replica signal at a desired level.

Description

CAN Transmitter with Fast CANL Control Loop
PRIORITY APPLICATION
This application claims priority to U.S. Provisional Application No. 62/510,227, filed May 23, 2017, the contents of which are hereby incorporated in their entirety.
TECHNICAL FIELD
The present disclosure relates to controller area network (CAN) control and, in particular, a CAN transmitter with a fast CANL control loop.
BACKGROUND CAN is defined in the International Standards Organization (ISO) 11898 specification.
ISO 11898 is a family of specifications in which ISOl 1898-1 covers a datalink layer while ISO 118980-2 and ISO 118980-3 cover physical layers of CAN. CAN is a robust communication protocol. A CAN node on a bus may detect errors in a received message, and force the message to be destroyed and retransmitted. Accordingly, the message that a node does receive contains valid data. A CAN frame requires that every node acknowledge the message before it can be processed by that node. This acknowledge can only come after various error condition checks, such as a 15-bit cyclical redundancy check (CRC) on the message. If one CAN node finds an error with the message, the message is destroyed and retransmitted.
The CAN specification defines three different error states for a CAN node to be in, with each error state giving the CAN node different levels of bus access. The error states limit faulty nodes from taking down the CAN bus.
CAN includes serial communication in which all nodes on the CAN bus are attached to common connection using the same bitrate. CAN is message-based, rather than address-based. Thus, messages are not transmitted from one node to another node based on the address of a CAN node. Instead, a CAN node will broadcast its message to all nodes on the bus. The receiving node is required to determine whether it should act on that message. Single or multiple nodes may act on the same data. Accordingly, it is possible to add new nodes to a CAN bus without having to update the existing nodes with addressing information
CAN allows for distributed control across a network because of the reliability of the data. This allows designers of the network the flexibility to set up consumer-producer or peer- to-peer networks. CAN network transmission may be performed using a differential pair of transmission lines— CANH and CANL. CAN may specify two logical states: recessive and dominant. During the recessive logical state, CANH and CANL may be approximately the same voltage, or within a specified tolerance of voltage from each other. During the dominant logical state, CANH and CANL may be separated by a voltage difference, VDiff. FIGURE 1 illustrates an example differential bus using CAN, including CANH, CANL, and VDiff.
In the recessive state (i.e., logic T on an input of a CAN transceiver or module) the differential voltage on CANH and CANL is less than the minimum threshold (<0.5V receiver input or <1.5V transmitter output). In the dominant state (i.e., logic '0' on the input of a CAN transceiver or module), VDiff is greater than the minimum threshold. A dominant bit overdrives a recessive bit on the bus to achieve nondestructive bitwise arbitration.
SUMMARY
Embodiments of the present disclosure include a CAN transmitter. The CAN transmitter may include an output stage circuit, a replica circuit of the output stage circuit configured to produce a replica signal, and a control amplifier configured to control a CANL output signal of the CAN transmitter in order to maintain the replica signal at a desired level. In combination with any of the above embodiments, the control amplifier may be further configured to control a low side of the output stage circuit to generate the CANL output signal. In combination with any of the above embodiments, the control amplifier may be further configured to provide no control over a CANH output signal of the CAN transmitter. In combination with any of the above embodiments, the control amplifier may be further configured to bias transistors for the CANL output signal of the CAN transmitter during dominant states and during recessive states. In combination with any of the above embodiments, the output stage circuit may include a CANL driver including a lateral double- diffused NMOS transistor and a freewheeling diode. In combination with any of the above embodiments, the replica circuit may include two resistors configured to model a CAN bus load. In combination with any of the above embodiments, a center node of the two resistors may be connected as input to the control amplifier. In combination with any of the above embodiments, the control amplifier may be further configured to control a gate voltage of an NMOS transistor of a CANL driver of the output stage circuit in order to maintain the replica signal at a desired level. In combination with any of the above embodiments, the replica circuit may be less than 30% of the size of the output stage circuit. In combination with any of the above embodiments, the control amplifier may be further configured to perform active feedforward for compensating common mode game of the transmitter. In combination with any of the above embodiments, the CAN transmitter may further include gate discharge switches coupled to gates of transmitters of the output stage circuit and the replica circuit.
Embodiments of the present disclosure may include a system, controller, integrated circuit device, or microcontroller including any of the CAN transmitters of the above embodiments.
Embodiments of the present disclosure may include methods performed by any of the CAN transmitters, systems, controllers, integrated circuit devices, or microcontrollers of the above embodiments.
BRIEF DESCRIPTION OF THE DRAWINGS
FIGURE 1 is an illustration of example CAN signaling.
FIGURE 2 is an illustration of an example CAN network, according to embodiments of the present disclosure.
FIGURE 3 is an illustration of an example CAN transceiver, according to embodiments of the present disclosure.
DETAILED DESCRIPTION
FIGURE 2 is an illustration of an example CAN network 100, according to embodiments of the present disclosure. Network 100 may include any suitable number and kind of CAN nodes 102. For example, network 100 may include nodes 102A, 102B, 102C. Nodes 102 may be configured to communicate with each other over a CAN bus 116. CAN bus 116 may be implemented with two lines. For example, CAN bus 116 may include a CANH line 120 and a CANL line 118.
Nodes 102 may be implemented in any suitable manner. FIGURE 2 illustrates example variations of CAN node implementations. For example, CAN node 102A may be implemented with a microcontroller 104. Microcontroller 104 may be implemented by, for example, an 8- bit, 16-bit, or 32-bit PIC microcontroller from the assignee of the present disclosure. Microcontroller 104 might not include an integrated CAN module. Accordingly, CAN node 102A might include a separately implemented CAN module 110A.
CAN modules 110 in network 100 may be configured to provide an interface between a CAN transceiver 112 and the rest of CAN node 102. CAN modules 110 may be implemented by any suitable mechanism, such as by libraries, software stacks, functions, applications, drivers, or instructions for execution by a processor. CAN transceivers 112 may be implemented in any suitable manner, such as by analog circuitry, digital circuitry, instructions for execution by a processor, or any suitable combination thereof. CAN modules 110 may make function calls of CAN transceivers 112 to send and receive data, or otherwise carry out the CAN protocol. Other elements of CAN nodes 102 may in turn make function calls of CAN modules 110. For example, software running on microcontroller 110A may communicate with other nodes by making function calls to CAN module 110A, which in turn may make function calls to CAN transceiver 112A. CAN transceiver 112A may read and write data over CAN bus 116 to or from other CAN nodes 102.
CAN node 102A may include microcontroller 110A that does not include an integrated
CAN module 11 OA. CAN node 102B may include a microcontroller HOB that includes an integrated CAN module 110B. CAN node 102C may be implemented as a CAN input/output (I/O) expander. CAN node 102C may provide I/O expansion for CAN network 100 without a microcontroller. CAN node 102C may include peripherals such as general-purpose IO, A2D, pulsed- width modulation, or other interfaces to send out periodic or event-based messages driven on thresholds.
A number of challenges may be encountered when implementing CAN network 100. For example, CAN system development may encounter electromagnetic compatibility (EMC) issues such as electromagnetic interference (EMI) or electromagnetic environment (EME). In CAN, differential communication must be required to work despite EMI. Such digital communication may include operations even over a large common mode range of +/- 12V. Furthermore, such digital communication may include operating with up to 36 dBm (40V peak) injected radio frequency (RF) power. Furthermore, CAN must work in EMEs such as up to 55 dBμV (0.6 mV) common mode emissions up to 20 MHz, up to 15 dBμV (6 μν) common mode emissions at 75 MHz, and at a 2V differential signal amplitude. Furthermore, CANL and CANH currents may need to match each other with extremely accuracy, both at DC and transient.
Referring to FIGURE 1, a given CAN node may exercise slow or fast control to generate CANH or CANL signals at a transceiver. The "fast" or "slow" aspect may refer to the speed of a control loop to generate an appropriate dominant or recessive signal. In particular, the "fast" or "slow" aspect of CANH or CANL control may refer to the slope of the change in signals between the recessive and the dominant states, or between the dominant and the recessive states. The slope may also be referred to as the slew rate of the signal transition. Faster rise and fall times may support higher bus rates and longer bus lengths in network 100.
FIGURE 3 illustrates a more detailed view of a CAN transceiver 300, according to embodiments of the present disclosure. Transceiver 300 may implement in part transceivers 112 of FIGURE 2. Transceiver 300 may receive a signal 318 from other parts of the transceiver (not shown) or a CAN module 110. Signal 318 may be a dominant or recessive logic signal signifying a bit pattern of values to be written to CAN network 100. The output dominant or recessive signal may be written to CANH 308 or CANL 310 pins. CANH and CANL 310 pins may be connected to CANH line 118 and CANL line 120, respectively. Transceiver 300 may be configured to perform faster rise and fall times for writing recessive or dominant states to CANH 308 and CANL 310 pins compared to other solutions.
Transceiver 300 may include a current source 320 connected to signal 318. Signal 318 may be configured to drive output of current source 320 according to the received bit pattern. Current source 320 may be implemented in any suitable manner. In one embodiment, current source 320 may be a floating current source. Current source 320 may be a programmable or adjustable current source based upon the input of signal 318. An injection bit pattern may be provided from into current source 320 into current mirrors. The current mirrors may include a replica stage 304 and an output stage 306.
In a first stage, an input stage, VCC 312 may be connected to transceiver 300. Ground 314 may be connected to transceiver 300. VCC 312 may be connected to the source of a transistor 316. Transistor 316 may be a p-type metal-oxide-semiconductor (PMOS) transistor. Current source 320 may be connected to the drain of transistor 316. Current source 320 may be connected to the source of another transistor 322. Transistor 322 may be an n-type metal- oxide-semiconductor (NMOS) transistor. Furthermore, current source 320 may be connected to the gate of transistor 322. The drain of transistor 322 may be connected to ground 314.
Transceiver 300 may include a replica stage 304. Replica stage 304 may include a transistor 330 connected to VCC 312. Transistor 330 may be a PMOS transistor. Transistor 330 may be connected to VCC 312 at its source. The gate of transistor 330 may be connected to the gate of transistor 316. The drain of transistor 330 may be connected to a diode 354. Diode 354 may be connected to a resistor 350, which may be connected to another resistor 352. Resistor 352 may be connected to a diode 356. Diode 356 may be connected to the source of a transistor 332. The drain of transistor 332 may be connected to ground 314. Diodes 356, 354 may be freewheeling diodes. The gate of transistor 332 may be connected to the gate of transistor 322. Transistor 332 may be an NMOS transistor.
Transceiver 306 may include an output stage 306. Output stage 306 may include a transistor 338 connected at its source to VCC 312. In one embodiment, transistor 338 may be lateral double-diffused PMOS (LDPMOS) transistor. In another embodiment, transistor 338 may be a PMOS transistor with an LDPMOS cascode. Transistor 338 may be connected at its gate to the gate of transistor 330 and the gate of transistor 316. Transistor 338 may be connected at its drain to a diode 340. Diode 340 may be connected to CANH pin 308. CANL pin 310 may be connected to a diode 342. Diode 342 may be connected to the source of a transistor 344. The gate of transistor 344 may be connected to the gate of transistor 332 and the gate of transistor 322. The drain of transistor 344 may be connected to ground 314. In one embodiment, transistor 344 may be lateral double-diffused NMOS (LDNMOS) transistor. Such a transistor may be used if a cascode current mirror in compliance with the CAN specification is not used. In another embodiment, transistor 344 may be a PMOS transistor with an LDNMOS cascode. Diodes 340, 342 may be freewheeling diodes. Diodes 340, 342 may be used for ESD protection and for reverse protection.
In one embodiment, transceiver 306 may include a control amplifier 328. Output of amplifier 328 may be connected to the gate of transistor 344. Moreover, output of amplifier 328 may be connected to the gates of transistors 322, 332. Amplifier 328 may be implemented by, for example, a 1-stage, 2-stage, or 3-stage operational amplifier. In a further embodiment, amplifier 328 may receive inputs from a reference divider 302 and from replica stage 304. For example, amplifier 328 may receive a negated input from reference divider 302 and a positive input from replica stage 304, or vice-versa.
Reference divider 302 may be connected to VCC 312. Reference divider 302 may include two resistors 324, 326. Resistor 326 may be connected to ground 314. The values of resistors 324, 326 may be the same. Reference divider 302 may provide a reference voltage to amplifier 328 from a node between resistors 324, 326.
Input from replica stage 304 to amplifier 328 may be provided from a node between resistors 350, 352. The value of resistors 350, 352 may be the same. Any suitable value of resistance may be used in resistors 324, 326, 350, 352. Reference divider 302 may be a total of 110 kohms. Resistors 350, 352 may be, for example, six times higher than an output CAN bus resistor. Such a CAN bus resistor may be, for example, 60 ohms. In one embodiment, a switch 334 may be provided between VCC 312 and the gates of transistors 338, 330, 16. Switch 334 may be optional. In another embodiment, a switch 336 may be provided between ground 314 and the gates of transistors 344, 332, 322. Switch 336 may be optional, as control provided by transistors in FIGURE 3 may perform an equivalent function. Switches 334, 336 may be driven by bit pattern 318. Hard switching may use current sources. In contrast, switches 334, 336 may be driven with bit pattern 318.
Replica stage 304 may be a fraction of the size or of the current of output stage 306. The fraction may be, for example, 1/10 to 1/3 of the current of output stage 306. In one embodiment, 1/6 of the output state current may be used. Replica stage 304 may be configured to produce a replica signal. The replica signal may detect the difference in CANH and CANL current changes. The replica signal may be an estimate of the common mode signal that is to be applied to the CAN bus over CANH pin 308 and CANL pin 310. The replica signal may be provided to amplifier 328. Amplifier 328 may in turn be configured to maintain the replica signal at a desired level. The desired level may be expressed by a reference voltage provided by reference divider 302. In particular, amplifier 328 may be configured to maintain the replica signal by controlling the signal on CANL pin 310. The replica signal generated by replica stage 304 may be controlled by applying the output of amplifier 328 to the gate of transistor 332.
Replica stage 304 may be implanted as a reduced size (such as 1-30%) of output stage 306. Replica stage 304 may include a model of the bus load on CAN network 100. Such a model may be implemented by, for example, resistors 326, 330. The center tap of resistors 326, 330 may be used for input or feedback to amplifier 328. Amplifier 328 may control the gate voltage of transistor 344. Transceiver 300 may thus use active feed-forward for compensating and stabilizing the control loop to generate CANL pin 310 signals. Transceiver 300 may use a constant voltage, such as 2.5V, as a target for replica voltage. Transceiver 300 may use a certain ratio, such as 50%, as a target for replica voltage. This may be implemented by reference divider 302.
Transceiver 300 may provide advantages over slower CANH and CANL control. Transceiver 300, by using a control circuit including amplifier 328 and its connections shown in FIGURE 3, may provide advantages over use of hard switching to generate CANH and CANL signals. Without hard switching, high frequency emissions may be reduced. Other solutions may use a switch to switch between dominant and recessive generation of signals for CANH and CANL.
During CANL control, slow CANH control may be deactivated. In one embodiment, only the CANL signals may be controlled (using NMOS transistor 344), as opposed to controlling both NMOS and PMOS (transistor 338) by amplifier 328. This may result from PMOS mirrors operating slower than NMOS mirrors. Accordingly, the NMOS capacitance of transistor 344, which is three times lower than that of PMOS (transistor 338), may yield faster control. In one embodiment, the control loop may be biased at all times. While the driver is active the fast control may be enabled. This may be accomplished by a separate supply current (not shown). In such a case, the control loop may be biased in both dominant and recessive states. This may provide a large bandwidth and accurate matching of low-side and high-side current.

Claims

What is claimed is: L A controller area network (CAN) transmitter, comprising:
an output stage circuit;
a replica circuit of the output stage circuit configured to produce a replica signal; and a control amplifier configured to control a CANL output signal of the CAN transmitter in order to maintain the replica signal at a desired level.
2. The CAN transmitter of Claim 1, wherein the control amplifier is further configured to:
control a low side of the output stage circuit to generate the CANL output signal; and provide no control over a CANH output signal of the CAN transmitter.
3. The CAN transmitter of any of Claims 1-2, wherein the control amplifier is further configured to bias transistors for the CANL output signal of the CAN transmitter during dominant states and during recessive states.
4. The CAN transmitter any of Claims 1-3, wherein the output stage circuit includes a CANL driver including a lateral double-diffused NMOS transistor and a freewheeling diode.
5. The CAN transmitter any of Claims 1-4, wherein the replica circuit includes two resistors configured to model a CAN bus load.
6. The CAN transmitter of Claim 5, wherein a center node of the two resistors is connected as input to the control amplifier.
7. The CAN transmitter any of Claims 1-6, wherein the control amplifier is further configured to control a gate voltage of an NMOS transistor of a CANL driver of the output stage circuit in order to maintain the replica signal at a desired level.
8. The CAN transmitter any of Claims 1-7, wherein the replica circuit is less than 30% of the size of the output stage circuit.
9. The CAN transmitter of any of Claims 1-8, wherein the control amplifier is further configured to perform active feed-forward for compensating common mode game of the transmitter.
10. The CAN transmitter of any of Claims 1-9, further comprising gate discharge switches coupled to gates of transmitters of the output stage circuit and the replica circuit.
11. A method, comprising:
generating a replica signal from a replica circuit of an output stage circuit of a controller area network (CAN) transmitter; and
with a control amplifier, controlling a CANL output signal of the CAN transmitter in order to maintain the replica signal at a desired level.
12. The method of Claim 11, further comprising:
controlling a low side of the output stage circuit to generate the CANL output signal; and
providing no control over a CANH output signal of the CAN transmitter.
13. The method of any of Claims 11-12, further comprising biasing transistors for the CANL output signal of the CAN transmitter during dominant states and during recessive states.
14. The method of any of Claims 11-13, further comprising using a CANL driver to drive output, the CANL driver including a lateral double-diffused NMOS transistor and a freewheeling diode.
15. The method of any of Claims 11-14, further comprising using two resistors configured to model a CAN bus load.
16. The method of Claim 15, further comprising connecting a center node of the two resistors as input to the control amplifier.
17. The method of any of Claims 11-16, further comprising controlling a gate voltage of an NMOS transistor of a CANL driver of the output stage circuit in order to maintain the replica signal at a desired level.
18. The method of any of Claims 11-17, wherein the replica circuit is less than 30% of the size of the output stage circuit.
19. The method of any of Claims 11-18, further comprising performing active feed-forward for compensating common mode game of the transmitter.
20. The method of any of Claims 11-19, further comprising operating gate discharge switches coupled to gates of transmitters of the output stage circuit and the replica circuit to generate output.
21. A microcontroller, comprising:
a processor; and
any of the controller area network (CAN) transmitters of Claims 1-10.
22. A system, comprising:
a plurality of controller area network (CAN) receivers; and
a plurality of CAN transmitters of any of Claims 1-10 communicatively coupled to the CAN receivers.
23. A device, comprising:
a controller area network (CAN) receiver; and
a CAN transmitter of any of Claims 1-10.
PCT/US2018/034068 2017-05-23 2018-05-23 Can transmitter with fast canl control loop Ceased WO2018217854A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
DE112018002682.5T DE112018002682B4 (en) 2017-05-23 2018-05-23 CAN transmitter with fast CANL control loop
CN201880018864.2A CN110431808B (en) 2017-05-23 2018-05-23 CAN transmitter with fast CANL control loop

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US201762510227P 2017-05-23 2017-05-23
US62/510,227 2017-05-23
US15/986,045 US10341165B2 (en) 2017-05-23 2018-05-22 CAN transmitter with fast CANL control loop
US15/986,045 2018-05-22

Publications (1)

Publication Number Publication Date
WO2018217854A1 true WO2018217854A1 (en) 2018-11-29

Family

ID=63586830

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2018/034068 Ceased WO2018217854A1 (en) 2017-05-23 2018-05-23 Can transmitter with fast canl control loop

Country Status (5)

Country Link
US (1) US10341165B2 (en)
CN (1) CN110431808B (en)
DE (1) DE112018002682B4 (en)
TW (1) TWI767003B (en)
WO (1) WO2018217854A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022146804A1 (en) * 2020-12-31 2022-07-07 Microchip Technology Incorporated Can transmitter with fast canl loop and switched output cascode
US11936496B2 (en) 2020-12-31 2024-03-19 Microchip Technology Incorporated CAN transmitter with fast CANL loop and switched output cascode

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102017223775A1 (en) * 2017-12-22 2019-06-27 Robert Bosch Gmbh Subscriber station for a bus system and method for sending a message with different bit rates in a bus system
DE102020128430B4 (en) * 2019-11-28 2026-01-29 Infineon Technologies Ag Fieldbus system with switchable slew rate
CN113179200B (en) * 2021-04-07 2022-12-20 上海川土微电子有限公司 Anti-interference CAN bus architecture
US11700000B2 (en) * 2021-07-08 2023-07-11 Microchip Technology Incorporated CAN bus transmitter
US11588662B1 (en) * 2021-09-15 2023-02-21 Nxp B.V. Controller area network transceiver
CN120092417A (en) * 2022-11-02 2025-06-03 德州仪器公司 Feedback Controlled High Speed Transmitter
US12375121B2 (en) * 2022-11-02 2025-07-29 Texas Instruments Incorporated Feedback controlled high-speed transmitter
US12212708B2 (en) 2022-12-05 2025-01-28 Amazing Microelectronic Corp. Ringing suppression circuit
DE102023201219A1 (en) * 2023-02-14 2024-08-14 Robert Bosch Gesellschaft mit beschränkter Haftung Transmission module and method for transmitting differential signals in a serial bus system
US12470427B2 (en) * 2023-10-23 2025-11-11 Allegro Microsystems, Llc Controller area network (CAN) transmitter

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060170451A1 (en) * 2005-01-28 2006-08-03 Texas Instruments Incorporated Systems and methods for reducing electromagnetic emissions from a controller area network transceiver
WO2006133731A1 (en) * 2005-06-17 2006-12-21 Freescale Semiconductor, Inc. Twisted pair communication system, apparatus and method therefor
US20140320229A1 (en) * 2013-04-29 2014-10-30 Broadcom Corporation Transmission line driver with output swing control

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10137150B4 (en) * 2001-07-30 2007-01-04 Infineon Technologies Ag Line driver for data transmission
US7113759B2 (en) * 2002-08-28 2006-09-26 Texas Instruments Incorporated Controller area network transceiver having capacitive balancing circuit for improved receiver common-mode rejection
JP2008306318A (en) * 2007-06-05 2008-12-18 Toshiba Corp Wireless receiving apparatus, wireless receiving apparatus control method, wireless receiving apparatus control program, and semiconductor integrated circuit
TWI371848B (en) * 2007-07-30 2012-09-01 Ite Tech Inc Electro-static discharge protection circuit
CN101380876B (en) * 2008-09-04 2011-04-27 清华大学 Vehicle tyre-bursting security control method and system
KR101572483B1 (en) * 2008-12-31 2015-11-27 주식회사 동부하이텍 transmitter
CN102611719B (en) * 2011-01-21 2017-04-12 香港生产力促进局 Vehicle-mounted MOST network system
CN102164111A (en) * 2011-04-20 2011-08-24 浙江大学 Method for increasing time-domain interference-resisting capability of OFDM (orthogonal frequency division multiplexing) system based on compressed sensing technique
CN102914304B (en) * 2012-10-31 2015-07-01 天津华宁电子有限公司 Method for detecting position of coal mining machine on basis of controller area network (CAN) bus technology
US9001477B2 (en) * 2012-12-04 2015-04-07 Ericson Manufacturing Co. Method and system for open neutral protection circuit
US9652423B2 (en) * 2013-06-05 2017-05-16 Texas Instruments Incorporated CAN and flexible data rate CAN node apparatus and methods for mixed bus CAN FD communications
US9502889B2 (en) * 2013-07-29 2016-11-22 Myson Century, Inc. Controller area network node transceiver
TWI547099B (en) * 2015-08-27 2016-08-21 晶焱科技股份有限公司 Slope control circuit
TWI561952B (en) * 2015-08-27 2016-12-11 Self-feedback control circuit
CN106253399B (en) * 2016-08-24 2019-01-01 天津市天楚科技有限公司 a mobile power

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060170451A1 (en) * 2005-01-28 2006-08-03 Texas Instruments Incorporated Systems and methods for reducing electromagnetic emissions from a controller area network transceiver
WO2006133731A1 (en) * 2005-06-17 2006-12-21 Freescale Semiconductor, Inc. Twisted pair communication system, apparatus and method therefor
US20140320229A1 (en) * 2013-04-29 2014-10-30 Broadcom Corporation Transmission line driver with output swing control

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022146804A1 (en) * 2020-12-31 2022-07-07 Microchip Technology Incorporated Can transmitter with fast canl loop and switched output cascode
US11936496B2 (en) 2020-12-31 2024-03-19 Microchip Technology Incorporated CAN transmitter with fast CANL loop and switched output cascode

Also Published As

Publication number Publication date
TWI767003B (en) 2022-06-11
DE112018002682B4 (en) 2026-02-05
TW201904235A (en) 2019-01-16
US20180343161A1 (en) 2018-11-29
US10341165B2 (en) 2019-07-02
DE112018002682T5 (en) 2020-03-12
CN110431808B (en) 2022-04-12
CN110431808A (en) 2019-11-08

Similar Documents

Publication Publication Date Title
US10341165B2 (en) CAN transmitter with fast CANL control loop
JP7648862B2 (en) Bus transceiver with ring suppression
US7564270B1 (en) Differential output driver
US11936496B2 (en) CAN transmitter with fast CANL loop and switched output cascode
US9614505B1 (en) Differential driving circuit including asymmetry compensation circuit
CN111149326B (en) Transmitting/receiving device for a bus system and method for reducing the tendency of oscillations during transitions between different bit states
US10666320B2 (en) Ringing suppression circuit
CN103283148A (en) Voltage Mode Driver with Pre-Emphasis
US9325534B2 (en) Configurable differential to single ended IO
US9608606B2 (en) Slope control circuit
US20190158144A1 (en) Ringing suppression circuit
JP2020530236A (en) Vibration reduction units for bus systems and methods to reduce vibration tendencies during transitions between different bit states
US7999569B2 (en) Edge rate suppression for open drain buses
JP4159883B2 (en) Line driver with current source output and high immunity to RF signals
US6084433A (en) Integrated circuit SCSI input receiver having precision high speed input buffer with hysteresis
CN103248352B (en) Low-voltage differential signal driving circuit and electronic device compatible with wired transmission
US20150280712A1 (en) Data output circuit of semiconductor apparatus
CN116671017A (en) Self-biased Differential Transmitter
CN116420342B (en) CAN transmitter with fast CANL loop and switch output cascode structure
KR100780942B1 (en) Signal transmission device and method thereof
US7405591B2 (en) Concept for interfacing a first circuit requiring a first supply voltage and a second supply circuit requiring a second supply voltage
JP2010166391A (en) Output circuit and in-vehicle communication system using the same

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18769857

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 112018002682

Country of ref document: DE

WWP Wipo information: published in national office

Ref document number: 112018002682

Country of ref document: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18769857

Country of ref document: EP

Kind code of ref document: A1

WWG Wipo information: grant in national office

Ref document number: 112018002682

Country of ref document: DE