This application claims the priority under 35 U.S.C. § 119 of European Patent application no. 21154292.3, filed on 29 Jan. 2021, the contents of which are incorporated by reference herein.
The disclosure relates to a Controller Area Network (CAN) transmitter, in which transitions between output levels are smoothed through use of multiple Digital to Analog Converters (DACs) switched by a multi-phase clock signal.
CAN transceivers are required to be tolerant to, or robust against, high voltage signals, typically up to around 40 V. The CAN bus signals themselves are differential signals of 2 V, centred at about VCC/2, typically 2.5 V. The common mode voltage can, however, be from −40 V up to +40 V due to electromagnetic interference. For higher bit rate specifications, such as the currently proposed CAN XL specification, a mixed signal architecture may be required. Transistor feature sizes in high voltage mixed signal processes are generally limited in size and frequency, for example a 130 nm process node being limited to synchronous designs up to around 500 MHz. Reduced size process nodes are not yet cost effective for standalone CAN transceivers. A limited clock speed reduces the ability of a CAN transmitter to generate a smoothed transition between output levels, which may be required to limit electromagnetic interference from sharp transitions. It would therefore be advantageous to be able to engineer a desired transition between high and low levels on a CAN transmitter output to reduce electromagnetic interference without requiring more expensive processes.
According to a first aspect there is provided a CAN transmitter comprising:
An advantage of the CAN transmitter is that the multiple clock phases allow the multiple DACs to operate together with an effective clock frequency that is equal to n times the frequency of the clock signal. This allows for a greater number of discrete steps to be used to transition between the first and second output levels, enabling each transition to be smoother, thereby reducing electromagnetic interference. A further advantage is that the frequency of the step intervals is increased multiple times compared with the frequency of the data being transmitted, thus raising the electromagnetic interference frequency to a different part of the spectrum, which may for example be suppressed by a low pass filter. The effect of this is that electromagnetic interference can be significantly reduced.
Each DAC may be configured to provide the same M discrete steps. The M discrete steps may be graded to be smaller nearer the first and second output levels and larger towards a midpoint between the first and second output levels, thereby approximating a Gaussian shape to each transition of the CAN output signal. Other shaped transitions may also be configured. A generally Gaussian shape for each DAC enables the DACs to operate together to provide an overall smoother transition, since each DAC is triggered sequentially. Which DAC is triggered first does not matter, because each operates identically with the same M discrete steps.
Each DAC may for example comprise a shift register and a plurality of switched resistors for providing the output signal, the shift register storing the M discrete steps for operating the plurality of switched resistors in sequence. Alternative implementations may for example use switched current sources instead of switched resistors. For either implementation, upon triggering the shift register with an input signal transition on the common data input line clocked by one of the clock phases, the shift register operates the plurality of switched resistors or switched current sources in a set sequence to output the M discrete steps in the output signal. Subsequent DACs are then triggered in sequence, providing the same set sequence that combines to provide the CAN output signal.
The number of discrete steps, M, may be an integer of 4 or more. There are no specific restrictions on the value of M, which may be chosen depending on the resolution required. The total number of steps in each transition is a multiple of M and n.
The oscillator may be a ring oscillator, in which the number of clock phases and number of DACs, n, may be an odd number of 3 or more, for example 3, 5, 7, 9 or higher depending on how finely the transition is required to be. An even numbers of clock phases may also be possible using other oscillator topologies that may be capable of providing an even number of clock phases. A higher number will have progressively limited benefit because the identical discrete steps in each DAC results in linear interpolation between each discrete step. A higher number will, however, have the benefit of increasing the frequency of any resulting electromagnetic interference, which may make filtering of such interference easier. Practical implementations using a ring oscillator may have an odd number of phases up to 9. Specific examples may employ a ring oscillator with 3 or 5 clock phases.
The output amplifier stage may typically comprise first and second output transistors configured to provide respective first and second output levels of the differential CAN output signal. Each output transistor may for example be a MOSFET transistor, with the first output transistor being a P-channel MOSFET transistor and the second output transistor being an N-channel MOSFET transistor.
Because the output transistors may need to be driven by a higher voltage signal than may be practical for the DACs, each DAC may comprise a first high side DAC and a second low side DAC, the first high side DAC being configured to provide an output to the first output transistor to drive a first high side of the differential CAN output signal and the second DAC being configured to provide an output to the second output transistor to drive a second low side of the differential CAN output signal. A first level shifter may be provided for each clock phase, each connected between the common data input line and a respective DAC, each first level shifter configured to provide a first high side shifted input signal of the input data signal synchronised by a respective one of the n phases to a corresponding first high side DAC and a second low side shifted input signal of the input data signal synchronised by the respective one of the n phases to a corresponding second low side DAC. A second level shifter may also be connected between each of the n phases of the respective DAC, each second level shifter configured to provide a first high side shifted clock phase to a corresponding first high side DAC and a second low side shifter clock phase to a corresponding second low side DAC.
According to a second aspect there is provided a method of operating a CAN transmitter comprising an oscillator, n Digital to Analog Converters, DACs, n being an integer greater than 1, and an output amplifier stage, the method comprising:
The data input signal may be asynchronous with the clock signal from the oscillator.
Other features relating to the first aspect may also apply to the method of the second aspect.
These and other aspects of the invention will be apparent from, and elucidated with reference to, the embodiments described hereinafter.
Embodiments will be described, by way of example only, with reference to the drawings, in which:
It should be noted that the Figures are diagrammatic and not drawn to scale. Relative dimensions and proportions of parts of these Figures have been shown exaggerated or reduced in size, for the sake of clarity and convenience in the drawings. The same reference signs are generally used to refer to corresponding or similar feature in modified and different embodiments.
Described herein is a DAC concept conceived to be robust by design and straightforward to implement. The concept is particularly relevant for supporting the increased data rate of CAN XL with faster edge timing, since the existing 2 ns time resolution at 500 MHz of current CAN FD and CAN FD SIC transmitters is not fine grained enough. A time resolution of less than 1 ns is preferably required. A clock signal of over 1 GHz would, however, be prohibitively fast for the digital machine that generates the transmitter DAC control signals. Achieving timing closure may therefore not be possible using existing technology.
Instead of using a single-phase clock, a multi-phase clocking scheme is implemented. The multiple phases may each have a relatively low speed, but the ensemble synthetically generates the required finer timing resolution. A 3-phase clocking scheme may prove to be sufficient and the 3 phases are also easy to generate with a ring oscillator consisting of 3 inverters connected in a ring. The 3-phase clocks, 0/120/240 degrees can be taken directly from the ring oscillator core. By adding 3 DACs in parallel, each clocked with one of the 3-phase clocks, the effective clock speed is raised by 3×.
A clock of 350 MHz may be chosen, resulting in an effective clock of 1050 MHz, ensuring a time resolution just under 1 ns.
To minimise the electromagnetic emission (EME) of the CAN XL transmitter, Gaussian wave shaping is used for transitions from high to low level and vice versa. The Gaussian wave shape combines the fastest possible transition with a narrow bandwidth resulting in minimal spectral emission.
For CAN XL the transition time using three 16-tap DACs is quantised in 48 steps. Repeating the same tap coefficient 3 times results in a good piece-wise linear approximation of the ideal Gaussian wave shape with a resulting low emission spectrum. The 48 steps during a transition can thus be generated by 3 identical parallel 16-tap DACs, each clocked with one of the 3 phases of the ring oscillator. The CAN XL signal is true differential, so the transition is symmetrical from begin to end, resulting in symmetric tap coefficients. A transition progressively accelerates from the onset to the middle and then progressively decelerates towards the end. The steps at the onset of the transition are equally large as at the end of the transition. The 16-tap DAC is thus symmetrical. In total 7 different tap coefficient values may be implemented for a 16-tap DAC. The middle section of the transition can be generated with (unshaped) taps with equal weight.
The output amplifier stage 103 is a high voltage cascode amplifier that provides a differential CAN output signal in the form of a first high level CANH and second low level CANL. The differential CAN output signal is provided to a CAN bus, for example on board a vehicle. The CAN bus may typically need to operate with common mode voltage levels of up to around 40 V, while the differential signal provided by the amplifier 103 is around 2 V. Specific details of the CAN bus and other aspects of the network will be familiar to the skilled person.
Each DAC 1021-3 receives a signal from a data input line, shown in more detail in
As illustrated in the example CAN transmitter 300 in
Similar to the example in
The output amplifier stage 303 comprises a P-channel MOSFET 306 driving the high level CANH side of the differential CAN output signal and an N-channel MOSFET 308 driving the low level CANL side of the differential CAN output signal. The P-channel MOSFET has its source connected to a high level output of each of the DACs 302, a gate connected to ground and a drain connected to the CANH output via a first output diode 307. The N-channel MOSFET 308 has its source connected to a low level output of each of the DACs 302, a gate connected to a supply voltage VCC and a drain connected to the CANL output via a second output diode 309. The arrangement of the output amplifier stage 303 results in each side of the output signal being dependent on a sum of the outputs from each of the DACs 302, as the currents provided from each DAC 302 sum together at the inputs of the output amplifier stage 303.
The standard cells in each DAC 302 may have a nominal supply rating of 1.5 V (typical for the process currently used). For the NMOS side these cells can be used directly. This side may be defined as the “low-side”. For the PMOS side (termed the “high-side”) the standard logic cells may instead refer to the VCC supply rail, which may be at 5.0 V. This voltage may be too high to be directly applied to the standard logic cells. Thus, an extra supply rail of 1.5 V below VCC potential may be required. A dedicated voltage regulator (LDO) may be used to furnish both the low-side supply (1.5 V above ground potential) and the high-side supply (1.5 V below VCC potential). This voltage regulator has two output stages biased from a common reference generator. The low-side output stage consists of NMOS transistors, while the high-side output stage consists of PMOS transistors. In terms of topology the high-side circuit is the same as the low-side circuit. The high-side version can be seen as a “flipped” version of the low-side one, where NMOS and PMOS are interchanged. An example CAN transmitter 400 where low side and high side DACs are implemented is illustrated in
Each DAC 402 is connected to the clock signal phases provided by the ring oscillator 401 and the data input signal data_in on the data input line 404 via first and second high side/low side level shifters 411, 412 for each clock phase. The level shifters 411, 412 and DACs 4021, 4022 are provided with high side and low side voltage supplies Ido_hs, Ido_ls by a high side/low side LDO 413, which derives the voltage supplies from supply vcc and ground gnd levels.
The data input signal and the 3-phase clock signals originate from “low-side” circuits and thus need to be level shifted to the high-side to drive the high-side shift register of each DAC. An AC-coupled level shifter 500, an example of which is illustrated in
The level shifter circuit 500 in
The entire ensemble of DACs can accept an asynchronous data input signal, provided the clock phases clk_0, clk_120 and clk_240 occur in strict sequential order. The synchronizer block 305, 405 before each DAC input ensures synchronization from the arbitrarily arriving data input signal with the locally generated clock signal for each particular DAC instance and propagates the locally synchronized data to the low-side and high-side shift registers 4021, 4022 by means of the aforementioned AC-coupled level shifter cells 501, 502 of the level shifter circuits 500. The ensemble forms an architecture that is largely robust against clock variations, jitter, frequency drift and other clock-related imperfections.
Although free-running, the frequency of the oscillator 101, 301, 401 can be trimmed on an industrial tester. The trimming process of the ring-oscillator is typically straightforward. Due to the frequency trimming, the transition time of the synthesized wave shape on the CAN bus can be made very precise. The waveform generated in this way can be made to appear close to a wave purely generated by analog means, but with much reduced process spread, supply voltage dependency and temperature drift. The synthesized wave is very stable over the environmental conditions and highly suitable for mass production.
From reading the present disclosure, other variations and modifications will be apparent to the skilled person. Such variations and modifications may involve equivalent and other features which are already known in the art of Controller Area Networks, and which may be used instead of, or in addition to, features already described herein.
Although the appended claims are directed to particular combinations of features, it should be understood that the scope of the disclosure of the present invention also includes any novel feature or any novel combination of features disclosed herein either explicitly or implicitly or any generalisation thereof, whether or not it relates to the same invention as presently claimed in any claim and whether or not it mitigates any or all of the same technical problems as does the present invention.
Features which are described in the context of separate embodiments may also be provided in combination in a single embodiment. Conversely, various features which are, for brevity, described in the context of a single embodiment, may also be provided separately or in any suitable sub-combination. The applicant hereby gives notice that new claims may be formulated to such features and/or combinations of such features during the prosecution of the present application or of any further application derived therefrom.
For the sake of completeness it is also stated that the term “comprising” does not exclude other elements or steps, the term “a” or “an” does not exclude a plurality, a single processor or other unit may fulfil the functions of several means recited in the claims and reference signs in the claims shall not be construed as limiting the scope of the claims.
Number | Date | Country | Kind |
---|---|---|---|
21154292 | Jan 2021 | EP | regional |
Number | Name | Date | Kind |
---|---|---|---|
5995555 | Young | Nov 1999 | A |
8502720 | Wyville | Aug 2013 | B1 |
8736475 | Harrison | May 2014 | B1 |
9502889 | Yang | Nov 2016 | B2 |
10608718 | van Meurs | Mar 2020 | B2 |
20050225464 | Lin et al. | Oct 2005 | A1 |
20130207823 | Wyville | Aug 2013 | A1 |
Number | Date | Country | |
---|---|---|---|
20220247416 A1 | Aug 2022 | US |