Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
OSCILLATOR FREQUENCY ADJUSTMENT
Document Type and Number:
WIPO Patent Application WO/2020/038899
Kind Code:
A1
Abstract:
Oscillator circuitry is disclosed. The oscillator circuitry comprises a free-running oscillator (8) for generating pulses at a frequency, and a frequency adjustment circuit for adaptively adjusting the frequency of the free-running oscillator. The frequency adjustment circuit comprises a counter (15) configured to count a number (24) of pulses (22) generated by the free-running oscillator and logic (26) configured to compare the number of pulses with an expected number (25) of pulses (corresponding to a target frequency) to determine a difference value (29) and to adjust the frequency of the free-running oscillator in dependence on the difference value. The frequency adjustment circuit is configured, in response to receiving a synchronisation pulse (4; Fig. 3), to trigger an update of the number of pulses to be compared.

More Like This:
Inventors:
LANGER VOLKER (DE)
KATTWINKEL THOMAS (DE)
Application Number:
PCT/EP2019/072168
Publication Date:
February 27, 2020
Filing Date:
August 19, 2019
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
RENESAS ELECTRONICS CORP (JP)
RENESAS ELECTRONICS EUROPE GMBH (DE)
International Classes:
H03L7/181
Foreign References:
EP2237418A22010-10-06
US4598257A1986-07-01
US20070255971A12007-11-01
EP2237418A22010-10-06
Attorney, Agent or Firm:
PIOTROWICZ, Pawel et al. (GB)
Download PDF:
Claims:
Claim s

1. Oscillator circuitry (7) comprising:

a free-running oscillator (8) for generating pulses (22) at a frequency (Tosc); and a frequency adjustment circuit (9) for adaptively adjusting the frequency of the free-running oscillator, the frequency adjustment circuit comprising:

a counter (15) configured to count a number (24) of pulses generated by the free-running oscillator; and

logic (26) configured to compare the number of pulses with an expected number (25) of pulses to determine a difference value (29) and to adjust the frequency of the free-running oscillator in dependence on the difference value; wherein the frequency adjustment circuit is configured, in response to receiving a synchronisation pulse (4), to trigger an update of the number of pulses to be compared. 2. The oscillator circuitry (7) of claim 1, wherein the logic (26) further comprises: a register (27) configured to receive a counter value (24) from the counter (15), to store the counter value (24) as a stored counter value and to output the stored counter value in response to receiving the synchronisation pulse (4). 3. The oscillator circuitry (7) of claim 1 or 2, wherein the counter (15) is configured to be reset in response to receiving the synchronisation pulse (4).

4. The oscillator circuitry (7) of any one of claims 1 to 3, wherein the frequency adjustment circuit (9) is configured to be triggered by a rising edge (19) of the synchronisation pulse.

5. The oscillator circuitry (7) of any one of claims 1 to 4, further comprising:

a digital input/ output pin (12) for receiving the synchronisation pulse (4) from an external source (2) and configured to supply the synchronisation pulse to the frequency adjustment circuit (9).

6. The oscillator circuitry (7) of any one of claims 1 to 5, wherein the free-running oscillator (8) is a signal-controlled oscillator for generating pulses at a frequency which depends on a control signal (34).

7. The oscillator circuitry (7) of claim 6 , wherein the signal-controlled oscillator is a current-controlled oscillator.

8. The oscillator circuitry (7) of claim 7, wherein the signal-controlled oscillator is a voltage-controlled oscillator.

9. The oscillator circuitry (7) of any one of claims 6 to 8 , wherein the logic (26) comprises:

a comparator (28) for comparing the number of pulses with the expected number of pulses and determining the difference value (29); and

a controller (30 , 32) for generating the control signal (34) for the free-running oscillator (8 ) in dependence on the difference value.

10. The oscillator circuitry (7) of claim 9, further comprising:

a digital-to-analogue converter (35) for converting a digital value of the control signal (34) into an analogue value.

11. The oscillator circuitry (7) of any one of claims 1 to 10 , wherein the free-running oscillator (8) is a digitally-controlled oscillator.

12. The oscillator circuitry (7) of any one of claims 1 to 10 , wherein the free-running oscillator (8) is an analogue-controlled oscillator.

13. The oscillator circuitry (7) of any one of claims 1 to 12, further comprising:

an input signal processing circuit to select certain pulses or certain features of pulses from a synchronisation signal (3) so as to select one of at least two, different synchronisation periods.

14. The oscillator circuitry (7) of any one of claims 1 to 13 further comprising:

a sequencer (31) configured, in response to receiving the difference value (29), to determine a size and/ or a direction of change of frequency and to output data (32) for generating the control signal (34).

15. The oscillator circuitry (7) of claim 14, wherein the sequencer (31) is configured to identify an error condition which depends on the number of pulses and, in response to identifying the presence of the error condition, not to adjust the frequency of the free- running oscillator (8).

16. An integrated circuit (6) comprising the oscillator circuitry (7) of any one of claims 1 to 15.

17. The integrated circuit (6) of claim 16, which is digital integrated circuit or a mixed-signal integrated circuit. 18. The integrated circuit (6) of claim 16 or 17, which is a gate driver.

19. A system (1) comprising:

a source (2) of a synchronisation signal (3) containing synchronisation pulses (4) for defining the synchronisation period, the source comprising:

a reference oscillator (5); and

an output (10) for a synchronisation signal (3), the synchronisation pulses (4) generated using the reference oscillator; and

at least one integrated circuit (6) of claim 16, 17 or 18 configured to receive the synchronisation signal (3) and to use the synchronisation pulses (4) to count the number (24) of pulses generated by the oscillator (8 ).

20. The system (1) of claim 19, comprising:

at least two integrated circuits (6) of claim 16, 17 or 18. 21. The system (1) of claim 19 or 20 , wherein the source (2) is configured to transmit an expected value (25) to the at least one integrated circuit (6).

22. The system (1) of claim 19, 20 or 21, wherein the expected value (25) is programmable.

23. The system (1) of any one of claims 19 to 22, wherein the source is configured to generate first and second sets of synchronisation pulses (4) having first and second different synchronisation periods.

24. The system (1) of any one of claims 19 to 23 comprising at least two integrated circuits (5) having synchronised oscillators having frequencies which lie within 5%, 2 % or 1 %. 25. The system (1) of any one of claims 19 to 24, wherein the source (2) is an integrated circuit comprising at least one processor.

26. The system ( 1) of claim 25, wherein the source (2) is a microcontroller or a system-on-a-chip.

27. A vehicle ( 101) or plant comprising the system ( 1) of any one of claims 19 to 26.

28. A motor vehicle (101) comprising the system (1) of any one of claims 19 to 60. 29. A method of adjusting a free-running oscillator (8 ) generating pulses at a frequency, the method comprising:

counting a number (24) of pulses generated by the free-running oscillator;

comparing the number of pulses with an expected number (25) of pulses to determine a difference value (29) ;

adjusting frequency of the oscillator (8 ) in dependence upon the difference value; and

in response to receiving a synchronisation pulse (4), triggering an update of the number of pulses to be compared. 30. The method of claim 29, wherein adjusting frequency of the oscillator (8 ) comprises generating a control signal (34) for the oscillator (8) in dependence on the difference value (29).

Description:
Oscillator frequency adjustm ent

Field

The present invention relates to oscillator circuitry for an integrated circuit including a free-running oscillator and a frequency adjustment circuit for adaptively adjusting the frequency of the free-running oscillator.

Background

Integrated circuits are increasingly being deployed in large numbers in automotive, industrial and other applications. Digital and mixed-signal integrated circuits often require a local oscillator even if an integrated circuit does not have a CPU system.

Often, however, these types of integrated circuits do not include high-precision oscillators (having, for example, less than 2% error). This may limit their use or require high-cost integrated circuits to be used in some systems.

EP 2 237418 A2 describes a low-power frequency synthesiser circuit for a radio transceiver. The frequency synthesiser circuit comprises a digital controlled oscillator configured to generate an output signal having a frequency controlled by an input digital control word. The frequency synthesiser circuit also comprises a feedback loop connected between an output and an input of the digital controlled oscillator, the feedback loop configured to provide the digital control word to the input of the digital controlled oscillator from an error derived from an input frequency control word and the output signal. The frequency synthesiser circuit further comprises a duty cycle module connected to the digital controlled oscillator and the feedback loop, the duty cycle module configured to generate a plurality of control signals to periodically enable and disable the digital controlled oscillator for a set fraction of clock cycles of an input reference clock signal (RefClock).

Thus, the frequency synthesiser circuit of EP 2 237418 A2 ibid is a closed, digital phase-locked loop requiring a reference clock to operate in normal mode. Sum m ary

According to a first aspect of the present invention there is provided oscillator circuitry comprising a free-running oscillator (i.e., an oscillator capable of running freely) for generating pulses at a frequency and a frequency adjustment circuit for adaptively adjusting the frequency of the free-running oscillator. The frequency adjustment circuit comprises a counter configured to count a number of pulses generated by the free-running oscillator, and logic configured to compare the number of pulses with an expected number of pulses (corresponding to a target frequency) to determine a difference value and to adjust the frequency of the free-running oscillator in dependence on the difference value. The frequency adjustment circuit is configured, in response to receiving a synchronisation pulse, to trigger an update of the number of pulses to be compared.

Thus, synchronisation pulses can be used to help the free-running oscillator reach a target frequency (or“desired frequency”) without the need for an internal reference clock during normal operation. Once the desired frequency has been achieved, the oscillator can run alone.

It is possible to achieve the desired frequency with only a few synchronisation pulses and, once the desired frequency has been reached, there is no further need for synchronization pulses. Further synchronization pulses can be sent if the desired frequency needs to be re-adjusted. For example, this might occur after, for instance, to minutes, for instance, to compensate for a temperature change. The counter can count the number of pulses generated by the free-running oscillator during a synchronisation period defined by successive (or“consecutive”) first and second synchronisation pulses (/. <? ., the first synchronisation pulse and the next synchronisation pulse following the first synchronisation pulse). Thus, the number of pulses corresponds to the number of pulses generated during the synchronisation period and the frequency adjustment circuit triggers an update of the number of pulses to be compared in response to the second (and subsequent) synchronisation pulse.

A further synchronisation period can be defined by the second synchronisation pulse and a successive third synchronisation pulse or by a successive third and fourth synchronisation pulses. If two or more synchronisation periods are defined (which are preferably, successive), then this can be used to converge quickly on a desired degree of accuracy quickly (especially if the synchronisation periods are successive).

Preferably, the synchronisation pulse is from an external source. For example, if the oscillator circuitry is implemented in one monolithic integrated circuit (such as a gate driver IC), the synchronisation pulse can be generated by another, different monolithic integrated circuit (such as a microcontroller or a system-on-a-chip).

There no is reference clock which is used to dynamically control the oscillator during normal operation. For example, there is no phase-locked loop or frequency-locked loop arrangement.

The logic may further comprise a register configured to receive a counter value from the counter, to store the counter value as a stored counter value and to output the stored counter value in response to receiving the synchronisation pulse. The counter and the register may be configured such that the register continually receives the counter value from the counter.

The counter may be configured to be reset in response to receiving the synchronisation pulse. Preferably, the counter and the frequency adjustment circuit are configured such they are reset and triggered respectively in the synchronisation pulse.

The counter may be reset and/or frequency adjustment may be triggered by a rising edge of the synchronisation pulse. The counter may be reset and/or frequency adjustment may be triggered by a falling edge of the synchronisation pulse.

The oscillator circuitry may further comprise a digital input/output pin for receiving the synchronisation pulse from an external source and configured to supply the synchronisation pulse to the frequency adjustment circuit.

The oscillator may be a signal-controlled oscillator for generating pulses at a frequency which depends on a control signal. The signal-controlled oscillator may be a current- controlled oscillator or a voltage-controlled oscillator. The logic may comprise a comparator for comparing the number of pulses with the expected number of pulses and determining the difference, and a controller for generating a control signal for the oscillator in dependence on the difference value. The oscillator circuitry may further comprise a digital-to-analogue converter for converting a digital value of the control signal into an analogue value. The oscillator may be a digitally-controlled oscillator.

The oscillator may be an analogue-controlled oscillator.

The oscillator circuitry may further comprise an input signal processing circuit to select certain pulses or certain features of pulses from synchronisation signal so as to select one of at least two, different synchronisation periods. Thus, different oscillator circuitry can share a common line delivering synchronisation pulses which can define two or more different synchronisation periods.

The oscillator circuitry may further comprise a sequencer configured, in response to receiving the difference value, to determine a size and/or a direction of change of frequency and to output data for generating the control signal.

According to a second aspect of the present invention there is provided an integrated circuit comprising the oscillator circuitry of the first aspect. The integrated circuit may be a digital integrated circuit or a mixed-signal integrated circuit. The integrated circuit may be a gate driver.

According to a third aspect of the present invention there is provided a system comprising a source of a synchronisation signal containing synchronisation pulses. The source may comprise a reference oscillator and an output for a synchronisation signal, the synchronisation pulses generated using the reference oscillator. The system may comprise at least one integrated circuit (for example, at least two integrated circuits) of the second aspect of the invention. The integrated circuit (s) may be configured to receive the synchronisation signal and to use the synchronisation pulses to count the number of pulses generated by the oscillator. Successive synchronisation pulses are preferably used to define a synchronisation period so that the number of the number of pulses counted are the number of pulses during the synchronisation period. The source may be configured to transmit an expected value corresponding to a synchronisation period to the at least one integrated circuit. The synchronisation period may be programmable. The synchronisation period may be continuous-value variable or discrete-value variable. The source may be configured to generate first and second sets of synchronisation pulses having first and second different synchronisation periods.

The system may comprise at least two integrated circuits having synchronised oscillators having frequencies which lie within 5%, 2 % or 1 %.

The source may be an integrated circuit comprising at least one processor, such as a microcontroller or a system-on-a-chip. The source may be oscillator.

According to a fourth aspect of the present invention there is provided a vehicle or plant comprising the system of the third aspect of the invention.

According to a fifth aspect of the present invention there is provided a motor vehicle comprising the system of the third aspect of the invention. The motor vehicle may be a motorcycle, an automobile (sometimes referred to as a “car”), a minibus, a bus, a truck or lorry. The motor vehicle may be powered by an internal combustion engine and/or one or more electric motors.

According to a fifth aspect of the present invention there is provided a method of adjusting a free-running oscillator generating pulses at a frequency. The method may comprise counting a number of pulses generated by the free-running oscillator, comparing the number of pulses with an expected number of pulses to determine a difference value, adjusting the frequency of the free-running oscillator in dependence upon the difference value and, in response to receiving a synchronisation pulse, triggering an update of the number of pulses to be compared. Adjusting frequency of the free-running oscillator may comprise generating a control signal for the oscillator in dependence on the difference value.

Generating the control signal may comprise generating a digital control signal. The method may further comprise converting the digital control signal into an analogue control signal.

Brief Description of the Drawings

Certain embodiments of the present invention will now be described, by way of example, with reference to the accompanying drawings, in which:

Figure 1 is a schematic block diagram of a system comprising a source of a

synchronisation signal containing synchronisation pulses, and a monolithic integrated circuit having a local oscillator whose frequency is adjusted by a frequency adjustment circuit using the synchronisation pulse;

Figure 2 schematically illustrates successive increase in accuracy of a local oscillator after receiving a series of synchronisation pulses;

Figure 3 is a timing diagram illustrating counting of local oscillator pulses;

Figure 4 is a schematic block diagram of a frequency adjustment circuit for adjusting a frequency of a local oscillator;

Figure 5 is a process flow diagram of a method of operation of a sequencer;

Figure 6 is a process flow diagram illustrating a sequencer checking for an error condition;

Figure 7 is schematic diagram of a current digital-to-analogue converter;

Figure 8 is a schematic block diagram of a system comprising a source of a

synchronisation pulse and at least two monolithic integrated circuits each having a respective local oscillator whose frequency is adjusted using the synchronisation pulse; Figure 9 is a schematic block diagram of a current source, a current digital-to-analogue converter and an oscillator;

Figure 10 is schematic diagram of the current source shown in Figure 9;

Figure 11 is schematic diagram of a low-dropout regulator;

Figure 12 is schematic diagram of the oscillator shown in Figure 9; and

Figure 13 illustrates a motor vehicle comprising a source of a synchronisation pulse and at least two monolithic integrated circuits each having a respective local oscillator.

Detailed Description of Certain Em bo dim ents

Referring to Figure 1, a system 1 is shown which includes a source 2 of a

synchronisation signal 3 which contains synchronisation pulses 4 and having an reference oscillator 5 (herein referred to an“external oscillator” or“remote oscillator”), and a monolithic integrated circuit 6 having an oscillator circuitry 7 comprising a local oscillator 8 whose frequency can be adaptively adjusted (or“compensated” or “synchronised”) by a frequency adjustment circuit 9 using the synchronisation pulses 4. As will be explained in more detail later, the local oscillator 8 is able to run freely (or “asynchronously”), without feedback (in other words, without any active control to adjust its output frequency during normal operation). Thus, there is no need for an internal reference clock during normal operation. A free-running oscillator may be referred to as an“open-loop oscillator”.

The source 2 can take the form of a microcontroller, a system-on-a-chip or other processor-based system, or a programmable crystal-controlled oscillator, phase-locked loop (PPL) frequency synthesizer, other oscillator integrated circuit or clock-generating device. The monolithic integrated circuit 6 may take the form of a digital or mixed- signal integrated circuit which does not have a CPU. For example, the monolithic integrated circuits 6 may be gate drivers for power MOSFETs or IGBTs and which are used to generate pulse width modulation (PWM) gate driver signals (not shown). The reference oscillator 5 can take the form of a crystal oscillator or other oscillator (for example, having an accuracy less than 2%). The reference oscillator 5 is preferably more accurate than the local oscillator 8. In some embodiments, the reference oscillator 5 and the local oscillators 8 have the same or similar accuracy. The synchronisation pulses 4 are provided at a digital output 10 which may take the form of a bus interface port pin, such as Serial Peripheral Interface (SPI) port pin, or a digital output pin, such as a general-purpose input/output port pin, and is transmitted by a wired line 11 ( e.g ., a wired serial bus line) to an input 12, for example, which may take the form of a corresponding input to the digital output. The input 12, however, need not be specifically intended to work with the digital output 10.

The local oscillator 8 takes the form of an RS flip-flop oscillator, ring oscillator or other suitable form of oscillator capable of running freely (i.e., capable of asynchronous operation) whose frequency can be controlled using voltage or current which may be in the form of a digital signal or an analogue signal.

The local oscillator 8 is free running when the system 1 starts (this point is referred to as“start-up”). At start-up, the local oscillator 8 is not synchronised. It may have an accuracy of, for example, ±5%. Referring to Figure 2, the accuracy of the local oscillator 8 can be successively increased by consecutive synchronisation pulses 4. As will be explained in more detail later, receiving just two synchronisation pulses 4 can greatly improve the accuracy of the local oscillator 8.

If no synchronisation pulses 4 are received, then the local oscillator 8 will run with an initial frequency with an initial (coarse) accuracy of, for example, ± 5%.

Two or more synchronisation pulses 4 can be used to increase the accuracy of the local oscillator 8. If, after accuracy has been improved ( e.g ., to ± 0.1%), no further synchronisation pulses are received, then the local oscillator 8 can still continue to run with the improved accuracy, that is, the accuracy it had after it received the last synchronisation pulse 4.

Referring also to Figure 3, the frequency adjustment circuit 9 includes a counter 15 having first and second counter inputs 16, 17 and a counter output 18.

The synchronisation signal 3 is supplied to the first counter input 16. A rising edge 19 of a synchronisation pulse 4 serves to reset the counter 15. The period of the synchronisation pulse 4 is TSYNC and can be tens or hundreds of microseconds, or longer. For example, the period TSYNC may be 500 ps. The period, TSYNC, may be set depending on application. A local oscillator signal 21 containing pulses 22 (or“ticks”) is supplied from the oscillator 8 to the first counter input 16. The oscillator pulses 22 have a period of Tosc which is chosen to be much smaller than TSYNC, for example, a factor of 10 3 , 10 4 or 10 5 smaller than TSYNC, and preferably (but not necessarily) chosen such that an integer number of oscillator periods, Tosc, nominally fit in the

synchronisation period, TSYNC, i.e., TSYNC/ TOSC is an integer value. For example, the period T osc may be 50 ns, such that, for TSYNC = 500 ps, there are 10,000 oscillator pulses. As will be explained in more detail, the source 2 can be a source of more than one synchronisation pulses 4 having two or more different TSYNC and/or different integrated circuit 6 may select or filter different TSYNC· For example, one set of integrated circuit(s) 6 may use only the rising edges to define a (first) period TSYNC.

Another set of integrated circuit(s) 5 may use the rising edge 19 and the immediately following falling edge to define a (second) different period TSYNC. Frequency adjustment (or“compensation” or“synchronisation”) is based on the counter 15 counting a number 24 of oscillator periods during the synchronisation period (herein also referred to as the“result”) and comparing the result with an expected value 25 (for example, 10,000). If the result 24 is higher than expected (that is, higher than the expected value), then the oscillator frequency is decreased.

Conversely, if the result is lower than expected, then the oscillator frequency is increased. The process can be repeated every cycle with the oscillator 8 being successively adjusted, as necessary.

The synchronisation pulse 4 is only necessary if accuracy of the oscillator 8 needs to increase, for example, from ± 5% to, for instance, ± 0.1%. If synchronisation pulses 4 are not received, then the oscillator 8 can still operate, albeit with a lower accuracy.

Referring also to Figure 4, the oscillator circuitry 7 is shown in more detail.

The oscillator circuitry 7 includes the counter 15 which receives the signal 21 containing the oscillator pulses 22 from the oscillator 8 and the synchronisation pulses 4, which provides a periodic reset, every TSYNC. The counter 15 continuously outputs a counter value 24 to a logic circuit 26. The counter 15 may stop when it overflows (for example, if it fails to receive one or more synchronisation pulses 4 or in case when

synchronization is finalized already).

The logic circuit 26 includes a register 27 which receives the counter value 24 and the synchronisation pulses 4 which trigger readout of the register 27 and outputs the counter value 24 to a comparator 28. If no synchronisation pulse 4 is received, then no readout to the comparator 28 occurs. The counter value 24 is continually compared with the expected counter value 25 by a comparator 28 which provides a difference value 29 to a calculator 30. The calculator 30 includes or is provided with a sequencer 31 in the form of hardware logic for determining how to change the oscillator frequency, e.g. by increasing or decreasing the frequency and, if so, by how much. The difference value 29 is provided to the sequencer 31.

As explained earlier, the counter 15 may overflow. If the counter 15 overflows, then this is an error condition which is detectable by the sequencer 31. In the event of counter overflow, the sequencer 31 can use an error handler to minimise undesired frequency change. Referring also to Figures 5 and 6, the sequencer 31 receives the difference value 29 (steps Si & S2). The sequencer 31 determines a frequency-change step size and direction using the difference value 29 (step S3) and generates data 32 which the calculator can use to control the oscillator (step S4).

The sequencer 31 compares the magnitude of the difference value 29 with a pre-defined threshold value (step S3.1). The pre-defined threshold value may be hard-wired or stored in a local register (not shown) and, if stored, may be programmed. If the magnitude of the difference value 29 exceeds the threshold value, then sequencer 31 takes no action (step S3.2). This condition arises if a counter reset does not occur due to no synchronisation pulse 4 being received. If, however, the magnitude of the difference value 29 does not exceed the threshold value, then the sequencer 31 calculates a step value and direction (i.e., increase or decrease) in dependence upon the difference value 29 (step S3.3).

Rules for determining the frequency-change step size and direction are hardcoded. Generally, the rules depend on the application and define how quickly the frequency is adjusted ( e.g . , adjustment within just one step, i.e., within TSYNC).

The pre-defined threshold value may be, for example, the number of pulses

corresponding to a given multiple (e.g. , four times) the accuracy of the oscillator 8. Taking the example of a desired frequency of 65.53 MHz, an oscillator period of 15.26 ns, and a synchronisation period TSYNC of 500 ps, then the corresponding desired (or “expected”) number of pulses is 32,765. If the oscillator 8 has an initial accuracy of 5%, then a 5% lower frequency corresponds to a counter value which is 1,632 lower than the desired number and a 5% higher frequency corresponds to a counter value which is 1,647 higher than the desired number. Thus, using four times the accuracy, a pre- defined threshold value may be (4 c 5%) which corresponds to (4 x 1,632) = 6,528 for a lower frequency and (4 x 1,632) = 6,588 for the lower frequency.

Two pre-defined values can be used depending on whether the counter value is higher or lower than the desired number of pulses. Alternatively, a single value may be used regardless of whether the counter value is higher or lower. The single value may be the average of the two values (which in this example would be 6,558), the lower of the two values (which in this example would be 6,528) or a suitably rounded number (which in this example could be 6,500). The pre-defined threshold value can be set for a particular application or use.

The expected counter value 25 is held in a store 33. The store 33 may take the form of a read-only store 33 (e.g., a one-time-programmable memoiy) holding the expected counter value 25. In other words, the expected counter value 25 may be fixed (or “hardcoded”)· This assumes that a fixed, predetermined synchronisation period, TSYNC, will be used. The expected counter value 25 may be fixed at time of manufacture or when the integrated circuit is initialised. The store 33 may take the form of a register or other form of non-volatile memory. The expected counter value 25 may be provided, for example, by the source 2 (Figure 1) via a suitable interface (such as an SPI). Thus, the expected counter value 25 may be programmed. This allows the synchronisation period, TSYNC, to be varied. The expected counter value can be programmed, for example, into a register (synchronized by synchronisation pulses) or hard coded.

The calculation of the frequency adjustment runs asynchronously.

The calculator 30 generates a control value 34 for setting the frequency of the oscillator 8. The control value 34 takes the form of an n-bit binary number. The binary control value 34 is fed to a digital-to-analogue converter 35 which outputs an analogue control value 36 to the oscillator 8. The digital-to-analogue converter 35 takes the form of a current digital-to-analogue converter 35. However, a voltage digital-to-analogue converter can be used. In some embodiments, a digitally-controlled oscillator can be used and so a digital-to-analogue converter can be omitted.

The rising edge 19 of a first synchronisation pulse 4 starts a calculation of a frequency and the oscillator 8 runs at a first frequency of first (coarse) accuracy. The rising edge 19 of a second, subsequent synchronisation pulse 4 (i.e., the next synchronisation pulse 4) causes the calculation of the frequency to be read out and the oscillator 8 now runs at a second frequency with second, greater accuracy. As respective rising edges 19 of a third and subsequent synchronisation pulses 4 are received, accuracy of the oscillator 8 can continue to be improved until accuracy cannot be improved any further. Even after the rising edge 19 of the first synchronisation pulse 4 is received (within a few nanoseconds), accuracy of the oscillator 8 starts to improve. Referring still to Figures 3 to 6, if there is no change in difference value 29, then the data 32 output from the sequencer 31 will be the same and the calculator 30 will output the same control value 34 resulting in no change in frequency of the oscillator 8. If the synchronisation signal 3 is interrupted such that the synchronisation period TSYNC is lost, then the register 27 will not change, the content of the register 27 is not output, the comparator 28 will output an out-of-range value which the sequencer 31 will ignore, resulting in no change in current from the calculation IDAC 30. Thus, the frequency of the oscillator 8 will not change.

Once a synchronisation signal 3 is re-acquired, the rising edge of the (first)

synchronisation pulse 4 will result in readout of a maximum (out-of-range) value from the register 27 which will result in a large value being output by the comparator 28.

This out-of-range value will be ignored by the sequencer 31. In addition to causing read of the register 27, the synchronisation pulse 4 resets the counter 15.

The counter 15 counts pulses and when the rising edge of the (second) synchronisation pulse 4 arrives, the counter value 24 stored in the register 27 will be read out and processed. Unless synchronisation period TSYNC is lost for a long time or there has been a significant change in operating conditions (e.g., a larger change in temperature), then the oscillator frequency is unlikely to change significantly.

The logic 26 may include a clock supervisor system (not shown) to handle

circumstances when the synchronisation signal 3 is interrupted such that the synchronisation period TSYNC is lost and/or to handle unexpectedly high or

unexpectedly low difference values which can occur if the external trigger is lost for example, if the synchronisation signal 3 is interrupted) or due to interference.

The clock supervisor system may include another comparator (not shown) interposed between the comparator 28 and the calculation input DAC module 30 to check if the difference value 29 falls within an expected range (/. <? ., to check if the difference value 29 is valid) and, if it falls outside the expected range (i.e., if the difference value 29 is invalid), then to use the last valid value or some other predefined value which may be stored in a register (not shown) as a substitute. Referring to Figure 7, the current digital-to-analogue converter 34 receives a current I from current source 41 via terminal 42 which is used as a reference current. Current contributions I, 2x1, 4x1, 8x1, ..., (n+i)xl are combined from respective binary-weighted current sources 43 0 , 43 , 43 2 , 43 .3 ,..., 43 n and output at analogue control signal output terminal 44. The current sources 43 0 , 43 , 43 2 , 43 3 ,··· > 43 are controlled by respective (// +1) binary control signals bo, bi, b2, b3,...,bn (where bo is the least significant bit and bn is the most significant bit).

Referring to Figures 4, 5, 6 and 7, an example of oscillator frequency adjustment will now be described.

The oscillator 8 is initially set to a frequency such as, for example, f = 65.53 MHz with an oscillator period, Tosc, of 15.26 ns. The oscillator 8 has a tolerance of + 5 % which equates to an error in the oscillator period of + 763 ps. The period TSYNC is 500 ps and so the expected number of oscillator periods is (500 ps/i5.26 ns) = 32,765.

If the oscillator frequency is 5 % higher, then the oscillator period, T 0 sc, will be 14.53 ns. Thus, the number of counter ticks will be 500 ps/i4-53 ns = 34,412 resulting in a difference of +1647 ticks. If the oscillator frequency is 5% lower, then the oscillator period, Tosc, will be 16.06 ns. Thus, the number of counter ticks will be 500 ps/i6.o6 ns = 31,133 resulting in a difference of -1632.

Taking the case where the oscillator frequency is +5% too high at the beginning of the cycle (+1647 ticks). The frequency adjustment circuit 9 can, for example, reduce the oscillator current by 1,600, by adjusting bit bs, in a single step. The error is thus corrected in only one cycle (i.e., 0.5 ms) and the corrected oscillator frequency has remaining error of only 47 ticks, i.e., 47/1647 x 5 % = 0.14%.

Taking the case where the oscillator frequency is +1% too high (for example, due to a change in temperature) at the beginning of the cycle (+348 ticks). The frequency adjustment circuit 9 can reduce the oscillator current by 200 by adjusting bit b2 in a first step and then by 100 by adjusting bit bi in a second step. The error is thus corrected in two cycles (i.e., 1.0 ms) and the corrected oscillator frequency has remaining error is48 ticks, i.e., 48/1647 x 5 % = 0.15%. As explained, earlier, TSYNC/ TOSC is preferably an integer value. However, it need not be, but if it is not an integer value, then the length of TSYNC affects accuracy: the larger TSYNC (relative to T 0 sc), the higher the accuracy. The smallest number of ticks 22 defines accuracy. In the examples herein described, a resolution of 50 ticks (1 LSB) is assumed. The analogue part of the circuit, i.e. the smallest current, tends to limit the smallest number of ticks 22. A resolution of one tick is theoretically possible. The accuracy of the synchronisation pulses 4 contributes to the accuracy of the oscillator frequency. An absolute value can be adjusted ( e.g ., reference frequency source has under typical conditions some variations) by selecting the expected counter value 25. If there is drift (for example, temperature drift and aging) in the frequency of the reference oscillator 5 (Figure 1), for example, of ±0.5%, then there will be a corresponding drift in the frequency of the oscillator 8.

Referring to Figure 8, the synchronisation signal source 2 can be used in a system 1 wherein there are two or more integrated circuits 6 1 , 6 2 working together, for example, in a ring. The source 2 can be used to synchronise the oscillators 8 1 , 8 2 of all the integrated circuits 6 1 , 6 2 so that they all have the same, precise frequency.

Each oscillator 8 1 , 8 2 is initially set to a frequency f = 65.53 MHz with an oscillator period, Tosc, of 15.26 ns. The oscillators 8 1 , 8 2 are rated to have a + 5 % error which equates to an error in oscillator period of + 763 ps. The period TSYNC is 500 ps and so the expected number of oscillator periods is (500 ps/ 15.26 ns) = 32,765.

If a first oscillator frequency is 5% higher, then the first oscillator period, Tosc, will be 14-53 ns. Thus, the number of counter ticks will be 500 ps/14.53 ns = 34,412 resulting in a difference of +1647 ticks. If a second oscillator frequency is 5% lower, then the oscillator period, Tosc, will bei6.o6 ns. Thus, the number of counter ticks will be 500 ps/16.06 ns = 31,133 resulting in a difference of -1632.

The frequency adjustment circuit 9 1 in the first integrated circuit 6 1 can reduce the oscillator current by 1,600, by adjusting bit bs, in a single step. The error is thus corrected in only one cycle and the corrected oscillator frequency has remaining error of only 47 ticks, i.e., 0.14%. The frequency adjustment circuit g in the second integrated circuit 6 2 can increase the oscillator current by 1,600, by adjusting bit bs, in a single step. The error is thus corrected in only one cycle and the corrected oscillator frequency has remaining error of only 32 ticks, i.e., 0.10%.

Thus, the frequency difference between the first and second oscillators 8 1 , 8 2 can be made to be very small (for example, less than 1 %). It should be noted that integrated circuit(s) 6 can be added or, conversely, a synchronisation source can be added 2 after the integrated circuit(s) 6 have been installed. This provides a“hot plug-in” feature providing improved accuracy.

As explained earlier, the oscillators 8 can be adjusted to have an initial error of 5 % and frequency compensation can be used to reduce the error still further, for example, to less than 0.5%. Several different techniques can be used to achieve an initial error of, for example, 5 %.

Referring to Figures 9 and 10, the frequency adjustment circuit 9 includes an example of a current source 41 which generates a reference voltage I 0 which can be scaled up by a factor n. The scaled current is fed to the current DAC 35 which receive a digital control signal 34 (in the form of a bits bo, bi,...,bn) and outputs an analogue control signal 36. This is fed to the oscillator 8 via a current mirror 45. As explained, earlier, a current DAC need not be used and, instead, a voltage DAC can be employed.

Referring in particular to Figure 10, the current source 41 can take the form of a voltage-controlled current source comprising an operational amplifier Ai, a set of poly- type resistors Ro,...,R9 which are arranged in series between ground GND and a first terminal of a reference resistor RCONST. Each resistor Ro,...,R9 has a respective

MOSFET QO,....Q9 connected in parallel across the resistor which is controlled by respective trimming bit controls signals Bito, ..., Bit9. The output of the operational amplifier Ai is connected to the gate of a MOSFET Q10 whose source is connected to a regulated voltage supply VREG and drain is connected to the second terminal of the reference resistor RCONST. The non-inverting input is connected to a voltage reference, for example, the band gap voltage VBG, and the inverting input is connected to the source of the MOSFET Qio. The body of the MOSFET Qio provides the current for current source 34 via terminal 46. Other configurations of current sources can be used.

Referring to Figure 11, a low drop-out regulator 47 (or“LDO regulator”) can be used to take an unregulated supply voltage VDDD and provide a regulated supply voltage VREG. The LDO regulator 46 comprises an operational amplifier A2, and a MOSFET Q11 and a pair of resistors R2, R3 arranged in series between unregulated supply voltage VDDD and ground GND. The non-inverting input of the operational amplifier A2 is connected to voltage VBG and the inverting input is connected to a tap 48 between the resistors R2, R3. The source of the MOSFET Q11 provides the regulated supply voltage VREG. Other configurations of LDO oscillator can be used.

Referring to Figures 9 and 12, the oscillator 8 can take the form of RS flip-flop oscillator comprising a RS flip-flop 50 having set S and reset R terminals, output Q and output complement QB. The control signal 36 is received via first and second input terminals 51, 52. The reset R and set S terminals are connected to first and second capacitors respectively which are connected between the first and second input terminals 51, 52 and ground GND respectively. Each capacitor has a MOSFET Q11, Q12 for connected in parallel across the capacitor Cl, C2 and ground GND for controlling charging and discharging of the capacitor Cl, C2.

The output Q of the flip-flop 50 feeds to an input of a first inverter 53 and also to the gate of the first MOSFET Q12. Likewise, the complement output QB of the flip-flop 50 feeds to an input of a second inverter 54 and also to the gate of the second MOSFET Q13.

Referring to Figure 13, a motor vehicle 101 is shown.

The motor vehicle 101 includes a system 1 which includes a signal source 2 and a plurality of integrated circuits 6 which may take the form of gate drivers used in, for example, an electronic control unit (not shown) for steering. The signal source 2 is used to synchronise and improve the accuracy of the frequencies of local oscillators 8 (Figure 8) in the integrated circuits 6. As mentioned earlier, different integrated circuits 5 can use different synchronisation periods. For example, certain gate drivers may be implemented in silicon carbide and others gate drivers may be implemented in silicon which may involve generation of PWM signals at different frequencies (such as, for example, 20 MHz and 25 MHz). The same physical line 11 can be used to deliver different synchronisation periods to different integrated circuits 5 sharing the same line 11. This can be done in one or more different way. The source 2 can transmit more than set of synchronisation pulses, for example, alternating between first and second sets. Each integrated circuit 6 can include an input signal processing circuit (“a front end”) to select ( e.g ., by filtering) certain pulses from synchronisation signal 3 so as to select one of at least two, different synchronisation periods. The source 2 may select a duty cycle which can be used to define two different periods, namely one defined by the duration of the period (/. e. , between adjacent rising edges or between adjacent falling edges) and another by the duration of the pulse (i.e., between a rising edge and a following falling edge or vice versa). Modifications

It will be appreciated that various modifications may be made to the embodiments hereinbefore described. Such modifications may involve equivalent and other features which are already known in the design, manufacture and use of oscillators and integrated circuits and component parts thereof and which may be used instead of or in addition to features already described herein. Features of one embodiment may be replaced or supplemented by features of another embodiment.

In some embodiments, a digital-to-analogue converter need not be used. For example, the oscillator may be a digital oscillator, i.e., one whose frequency is controlled by a digital signal (as opposed to an analogue signal) which can be used to increase or decrease, for example, the delay of a delay cell.

The synchronisation period and/or the expected number of pulses can be

programmable varied.

Other synchronisation periods may be used, such as, for example, 100 ps, 200 ps or 1,000 ps.

Although claims have been formulated in this application to particular combinations of features, it should be understood that the scope of the disclosure of the present invention also includes any novel features or any novel combination of features disclosed herein either explicitly or implicitly or any generalization 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. The applicants hereby give 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.