Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
SYSTEM AND METHOD FOR MODULATION AND DEMODULATION
Document Type and Number:
WIPO Patent Application WO/2016/019964
Kind Code:
A1
Abstract:
The present invention relates to a system and a method for pulse width modulation and demodulation of a continuous input signal, which system is configured to receive a continuous input to an analog modulator, which system comprises a demodulator generating a continuous output signal. It is the object of the pending patent application to use an analog modulator for transmitting the signal from the input stage over to an output stage. A further object of the pending patent application is to preserve the signal integrity in regard to precision and to minimize both non-linearities and distortion side effects. The object can be fulfilled by the analog modulator being formed as a composite phase modulator which composite phase modulator comprises at least one feedback loop which feedback loop determines the width of a low-level discrete signal, which composite phase modulator comprises at least one feed-forward loop, which feed-forward loop determines the width of a high-level discrete signal as a function of the continuous input. Hereby it can be achieved that timing between discrete low-level and high-level forms a discontinuous output signal representing the continuous input.

Inventors:
LINDEMANN STIG ALNØE (DK)
MADSEN DAN VINGE (DK)
Application Number:
PCT/DK2015/050194
Publication Date:
February 11, 2016
Filing Date:
July 01, 2015
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
PR ELECTRONICS AS (DK)
International Classes:
H03K7/08; H03F3/217; H03F3/387; H03K9/08
Domestic Patent References:
WO2004073161A12004-08-26
WO2006045147A22006-05-04
WO2008007308A12008-01-17
Foreign References:
GB2247120A1992-02-19
EP2221964A12010-08-25
Attorney, Agent or Firm:
PATRADE A/S (Aarhus C, DK)
Download PDF:
Claims:
CLAIMS

1. System (2) for modulation (4, 12, 104) and demodulation (6, 106) of a continuous input signal (8, 108), which system (2) is configured to receive a continuous input (8, 108) and by a modulator (4, 12, 104) to generate a modulated discontinuous signal, which system (2) comprises a demodulator (6, 106) for generating a continuous output (18, 118), characterized in that the modulator (4, 12, 104) is formed as a composite phase modulator (20), which composite phase modulator (20) comprises at least a feedback loop (22) which feedback loop (22) determines the width of a low-level dis- continuous discrete signal, which composite phase modulator (20) comprises at least a feed-forward loop (28), which feed-forward loop (28) determines the width of a high- level discontinuous discrete signal as a function of the continuous input (8, 108).

2. System (2) according to claim 1, characterized in that the system (2) comprises a galvanic isolation (14) between the modulator (4, 12, 104) and the demodulator (6, 106).

3. System (2) according to claim 1 or 2, characterized in that the feedback loop (22) comprises a signal condition circuit (34). 4. System (2) according to claim 3, characterized in that a negative input at an integrator (140) forms a summing point for the continuous input (10) and the feedback regulation loop (22) for forming an inverting pulse width modulator (146).

5. System (2) according to claim 4, characterized in that the signal condition circuit (34) is formed by use of the discontinuous output signal (32) to control a switch (39), which switch (39) switches between a high and a low level of a high-precision voltage reference (38).

6. System (2) according to claim 5, characterized in that the continuous input (8, 108) is passing a sample and hold circuit (44) eliminating non-linearities and distortion.

7. System (2) according to claim 5, characterized in that feed-forward circuitry comprises a feed-forward path phase compensation (48) of the inverting composite phase modulator.

8. System (2) according to claim 5, characterized in that the feedback regulation loop (22) comprises a path phase compensation of the inverting composite phase modulator (49). 9. System (2) according to claim 4, characterized in that the feed-forward loop (28) comprises a feed-forward path phase compensation (48) of the non-inverting composite phase modulator.

10. System (2) according to claim 4, characterized in that the feedback regulation loop (22) comprises a feedback path phase compensation (52) of the non-inverting composite phase modulator.

11. System (2) according to claims 3-5, characterized in that the feed-forward loop (28) comprises an SR-latch (54) as control logic to interpret the pulse and pause width control signals, which pulse width is determined by comparing the continuous input signal (8) with a constant slope signal voltage ramp generator (56), which voltage ramp generator (56) is initiated by the pause regulation loop when the value of the slope matches the input voltage, and the output of the comparator is used to end the pulse and start the pause while also resetting the voltage ramp generator (56).

12. System (2) according to one of the claims 1-1 1, characterized in that a microprocessor (82) performs actual control of a plurality of voltage reference sources (70,72,74,76,78,80). 13. System (102) according to one of the claims 1-12, characterized in that the demodulator (106) is based on an integrator (140) and a sample-hold circuitry (146) for generating a continuous output signal (118).

14. System (2) according to claim 13, characterized in that the demodulator circuitry (106) comprises a switch (152), which switch (152) switches between a high and a low level of a second high-precision voltage reference (151).

15. System (2) according to claim 13 or 14, characterized in that the sample-hold circuitry (146) comprises a further integrator (156), from which integrator (156) a feedback signal (148) is connected to the negative input at the integrator (140), which integrator (140) has an output connected to a first terminal of a switch (154), which integrator has a negative input connected to a second terminal of the switch (154), which switch (154) comprises a third terminal connected through a capacitor (157) to ground.

16. System (2) according to claims 1-10, characterized in that the composite phase modulator facilitating the pulse-width modulated signal is combined with a power switching circuitry (160, 161) to form a self-oscillating class D amplifier (160,161, 162).

17. Method for converting a continuous signal to a pulse width modulation based on the continuous input signal, as disclosed in one of the claims 1-12, and for transmitting the pulse width for converting the pulse width signal from the isolation barrier by a demodulation circuit into a continuous output signal, as disclosed in the claims 13- 16.

Description:
SYSTEM AND METHOD FOR MODULATION AND DEMODULATION

Field of the Invention

The present invention relates to a system and a method for modulation and demodula- tion of a continuous input signal, which system is configured to receive a continuous input and by a composite phase modulator to generate a pulse-width modulated (PWM) discontinuous signal, which system comprises a PWM demodulator for generating a continuous output signal.

Background of the Invention

Pulse Width Modulators are widely used and a well-known technique used for various purposes; one of these is conversion of a signal intended for signal transfer.

Patent No. EP0077332, filed on Dec, 28, 1981, discloses a Pulse Width Modulation Decoder, which enables a PWM demodulation to have a full direct current settling within one period of the PWM signal. The requirement for the full settling given the technology disclosed within EP0077332 is that the demodulation circuit is exactly matched to the PWM frequency and thereby gives a requirement of having a PWM modulator, which sampling frequency is stable and non-dependent of the continuous input signal.

Self-oscillating PWM designs are typically challenged by not having a fixed modulation/sampling frequency, the sampling frequency being very dependent on both the frequency components and the amplitude of the continuous input signal, which can lead to harmonic distortion and non-linearity due to channel distortion and lack of synchronisation between PWM modulator and demodulator.

Object of the Invention

It is the object of the pending patent application to use an analog composite phase modulator whose fixed frequency in combination with instantaneous DC settling within one period of the sampling frequency ensures that a continuous signal can be passed from the input stage over to a continuous signal at the output stage with a minimum of non-linearities and distortion across either an isolation barrier or along a digital transmission line. A further object of the pending patent application is to achieve a precise high speed conversion of continuous signals into pulse-width modulated discontinuous signals (PWM) which PWM signals are to be transmitted to a precise high-speed demodulator. An additional object of the pending patent application is to preserve the signal integrity with regard to direct current precision, amplitude and phase by minimizing both non-linarites and distortion side effects in the modulation and demodulation processes.

Description of the Invention

The object can be fulfilled by a system as disclosed in the preamble to claim 1 and further modified in that the continuous to discontinuous pulse width converter is formed as a composite phase modulator, which composite phase modulator comprises at least one feed-forward loop, which feed-forward loop determines the timing length of a high-level discontinuous signal, which composite phase modulator comprises at least one feedback loop which feedback loop determines the timing length of a low- level discontinuous signal as a function of the continuous input.

The present patent discloses a technique, which ensures a stable PWM modulation/sampling frequency, which is independent of the frequency content and amplitude of the continuous signal.

Hereby it can be achieved that any continuous signal, even signals with frequencies in the vicinity of the Nyquist frequency (half the sampling frequency), can be converted into pulse-width modulated signals, which signals represent the content of the contin- uous input signal. This pulse-width modulated signal can hereafter be transmitted by any communication line. By an efficient high-speed demodulator this PWM signal can restore the original continuous signal. This can be very important if continuous signals are used for technical measurement, for example in harsh environments, where noise influence at the continuous signals over long transmission lines will have a major impact on the content of the continuous signals. Here it is very important that the signal is converted into a pulse-width modu- lated signal because this pulse-width modulated signal can be converted back into the original signal by signal processing.

The modulator converts a bandwidth-limited input signal Vin(t) by the use of a carrier frequency determined by the design of the modulator. By converting the continuous input signal to a PWM signal, the DC integrity of the signal is determined by the phase resolution. Group delay distortion affects the DC precision and is the reason why change in the modulation frequency must be avoided in order to minimize non- linearities and down conversion of the modulation frequency itself into the input signal band (e.g. AC to DC). The non-inverting version of the concept with the DC preci- sion and signal integrity is ensured by the use of an integrator.

In a preferred embodiment for the invention the system can comprise a galvanic isolation between the modulator and the demodulator. In order to protect technical systems it can be necessary to transmit the modulated signals over a galvanic isolation because the signals coming from the DC input can be measuring signals coming from a very harsh environment where high-level pulses may occur, and in order to reduce the influence of wire-conducted noise it is very important that a galvanic isolation is performed between the receiving part of a technical measuring system and the system that performs further signal treatment such as a computer system. Galvanic isolations are often used in all communication systems where long lines are used, and there is a risk that different cables are crossing each other and signal cables are maybe placed in parallel or are crossing high voltage lines which can have some influence at the relatively weak continuous signals. Another risk is simply that lightning can have influence at any signal lines where protection against lightning can be made in various oth- er protection systems but ending always in a galvanic isolation. Different kinds of galvanic isolations exist for example transformers, opto-couplers and communication over optical fibres. Additional signal conditioning can be applied in the feedback path in order to ensure signal conversion integrity. An example could be the use of a temperature-stable, high-precision voltage reference with high and low level matched output impedance. This would contribute to a design with minimal non-linearity. Hereby a much more precise and distortion- free conversion of continuous to discontinuous signals can be achieved. The signal conditioning can be an active filter that filters away all high frequencies, or in other situations, the opposite is also possible where the signal condition is filtering all low frequencies. In this way, by having influence on the actual feedback, it is possible to obtain total influence at the feedback loop, and by designing the signal condition circuit many other non-disclosed possibilities will exist by this method for modulation.

In a further preferred embodiment for the invention a negative input at an integrator can form a summing point for the continuous input and the feedback regulation loop for forming an inverting PWM modulator. In this case the signal conditioning is also used as level shift and pulse polarity in order to provide PWM output V out signal which has the opposite polarity of the input signal.

In a further preferred embodiment for the invention the signal condition circuit can be formed by the use of the discontinuous output signal to control a switch, which switch switches between a high level and a low level of a high-precision voltage reference. Hereby implementation of signal conditioning in the feedback path can be achieved, thereby inverting modulator setup. In this instance a continuous SPDT switch is utilized in combination with a high-precision voltage reference V re f. In this way, where the actual discontinuous output signal is only used for a switching control, it is achieved that absolutely none of the discontinuous noise signals that can occur, e.g. high-frequency distortion is totally avoided because the feedback signal is a simple switching between two very precise DC levels. Hereby the feedback will be an almost totally correct representation of the discontinuous output, but now perfectly shaped.

In a further preferred embodiment for the invention the continuous input can pass a sample and hold circuit. Hereby it can be achieved that distortion and high harmonics, which are inherent in continuous PWM modulators, can be eliminated. In the composite phase modulator harmonic distortion occurs due to change of the input Vi n during the generation of pulse-pause set. A method of minimizing this type of harmonic distortion would be to sample and hold the input to the modulator. This modification to the modulator concept ensures that no changes in the input signal to the composite phase modulator occurs during a pulse and pause generation, hence minimization of harmonic generation is obtained.

In a further preferred embodiment for the invention the feed-forward circuitry can comprise a feed-forward path phase compensation of the inverting composite phase modulator. Hereby a continuous means of phase compensation between the pulse width circuitry and the pause width circuitry can be introduced. This phase compensation mimics to some extent the effect of the discrete sampling in the feed-forward loop. By changing the phase of the continuous input it is possible by the feed-forward function to change the timing of the signal and in that way achieve control of a delay during the feed-forward. Some delay in a feed-forward regulation can be necessary in order to ensure additional regulations in the case that the feedback regulation has a small delay for each component which the signal is passing. Therefore, the feedforward signal has to be delayed in some way; otherwise the feed-forward signal will influence the output signal before any feedback signal has reached the same position in the logic or continuous regulation.

In a further preferred embodiment for the invention, the feedback regulation loop can comprise a path phase compensation of the inverting composite phase modulator. Hereby it can be achieved that there is performed a phase compensation of the input to the mixing point between the input width phase correction and the feedback signal which is further sent to the negative input of the integrator. This phase change of the continuous input to the summing point can give a delay for the whole feedback loop where continuous input signals to the feed-forward loop are not passing the phase compensation device. In a further preferred embodiment for the invention the feed-forward circuitry can comprise a feed-forward path phase compensation of the non-inverting composite phase modulator. Hereby it is possible to obtain at least the same effect as the one previously disclosed where the phase compensation between the integrator circuitry and the pulse width circuitry can be adjusted by this phase compensation.

In a further preferred embodiment for the invention, the feedback regulation loop can comprise a feedback path phase compensation of the non-inverting composite phase modulator. Hereby it can be achieved that a phase change of the continuous input is performed before the continuous input is sent to the positive input of the integrator where the negative input at this integrator is the traditional feedback loop. This leads to a situation where phase compensation can be performed at the input to the integra- tor part of the converter.

In a further preferred embodiment for the invention the feed-forward loop can comprise an SR-latch as control logic to interpret the pulse and pause width control signals, which pulse width is determined by comparing the continuous input signal with a constant slope signal voltage ramp generator, which voltage ramp generator is initiated by the pause regulation loop when the value of the slope matches the input voltage, and the output of the comparator is used to end the pulse and start the pause while also resetting the voltage ramp generator. Hereby the pulse width can be determined by comparing the input signal with the constant slope signal of the voltage ramp genera- tor which is initiated by the pause regulation loop. When the value of the slope matches the input voltage, the output of the comparator is used to end the pulse and start the pause while also resetting the ramp generator. In this instance, the pause regulation circuitry is built around an integrator where an SR-latch is used as control logic to interpret the pulse and pause width control signals.

In a further preferred embodiment for the invention a microprocessor can perform actual control of a plurality of voltage reference sources. Hereby means for linearizing the modulator can be realized by using e.g. a microcontroller in combination with some additional continuous signal conditioning. By insertion of controllable voltage sources or a combination of several sources, these sources can be used for calibration of offset, gain and tuning of oscillation frequency. This can be used for further optimization which compensates for non-ideal effects in components which causes a shift in modulation frequency. A method for this would be a regulated surveillance of the oscillation frequency e.g. a phase-locked loop (PLL). In a further preferred embodiment for the invention the demodulator can be based on an integrator and a sample-hold circuitry for generating a continuous output signal. As an example, the modulator can be combined with a demodulator based on an integra- tor and a sample-hold circuitry. An advantage of combining this type of demodulator with the composite phase modulator is that the demodulator sample-hold circuitry locks onto the PWM signal and not to a fixed frequency. This is important in regard to minimizing harmonic generation. The modulator converts a continuous signal into a discrete-like discontinuous signal set of a positive and a negative phase such as a pulse width and a pause width. The demodulator converts the matching positive and negative phase. Hereby it can be achieved that the signals used for conversion from discontinuous to continuous are signals that are very precise in shape simply because only the timing is used for the pulse width modulation so that the switching is perfect in relation to the signal that is received, but any noise that could occur as part of the PWM modulation is reduced in this way.

In a further preferred embodiment for the invention, the sample-hold circuitry can comprise a switch which switches between a high level and a low level of a second high-precision voltage reference.

In a further preferred embodiment for the invention, the sample-hold circuitry can comprise a further integrator from which integrator a feedback signal is connected to the negative input at the integrator which integrator has an output connected to a first terminal of a switch, which integrator has a negative input connected to a second ter- minal of the switch, which switch comprises a third terminal connected through a capacitor to ground. Hereby it can be achieved that when the signal has passed the first integrator, this signal is used for charging the capacitor. After switching the switch, the charge on the capacitor is used as a negative input to the next integrator. Hereby it is achieved that no high frequencies can be transmitted because the charge of a capaci- tor contains no AC frequencies. In the same way it is avoided that there is any connection between the first and the second integrator in the forward direction. Instead there is a common feedback. In this way it is achieved that the continuous output signal is settled to the level of the PWM signal within one period of the PWM signal. In a further preferred embodiment for the invention the composite phase modulator can be combined with a class D power circuitry to implement a self-oscillating class D power amplifier which exhibits very low non-linearities and low distortion.

The patent application further disclose a method for converting a continuous signal by a pulse width modulation into a discontinuous signal which discontinuous signal is transmitted through galvanic isolation or communication means whereby the method further performs converting discontinuous signal from galvanic isolation or the com- munication means by a demodulation circuit into a continuous output signal. Hereby it can be achieved that a continuous signal can be converted into a pulse-width modulated signal. This conversion is performed in an extremely fast and very precise way. After transmission over maybe a communication line or maybe over a galvanic isolation, this pulse-width modulated signal can be demodulated into a continuous signal which is an exact copy of the continuous signal that was started and sent into the composite phase modulator. By this method it is possible to achieve transmission of extremely fast operating continuous signals simply because the pulse width modulation is performed asynchronously, and the frequency of the pulse width modulation is independent of the frequency of the continuous signal. Also in the demodulation this process is performed with an automatic frequency adjustment so also the demodulation takes place as a self-oscillating system where the frequency is independent of the signal content of the signal that has to be converted.

In the pending patent application the wording "continuous signal" is used for any ana- log signal which analog signal can comprise any variable DC signal or any oscillating AC signal or a combination of DC and AC signals.

The wording "discontinuous" is used for any signal having a first low discrete level and a second high discrete level, such as digital signals. Description of the Drawing

Fig. 1 discloses a system for signal modulation and demodulation.

Fig. 2 discloses a non-inverting modulator. Fig. 3 discloses a possible embodiment for a non-inverting modulator with signal conditioning.

Fig. 4 discloses a non-inverting modulator with signal conditioning.

Fig. 5 discloses an example of the feedback signal conditioning in combination with the inverting modulator.

Fig. 6 discloses a possible embodiment for a sampled version of the modulator. Fig. 7 discloses a possible embodiment for a forward path phase compensation of the inventing composite phase modulator.

Fig. 8 discloses a feedback path phase compensation of the inventing composite phase modulator.

Fig. 9 discloses a feed-forward path phase compensation of the non-inverting composite phase modulator.

Fig. 10 discloses a possible embodiment for a feedback path phase compensation of the non-inverting composite phase modulator.

Fig. 1 1 discloses a possible embodiment for an inverting composite phase modulator.

Fig. 12 discloses a non-inverting composite phase modulator.

Fig. 13 discloses an inverting composite phase modulator.

Fig. 14 discloses one possible embodiment for a non-inverting composite phase modulator.

Fig. 15 discloses a regulation and linearization scheme.

Fig. 16 discloses one possible embodiment for a demodulator.

Fig. 17 discloses a possible embodiment for modulator and demodulator width- optimized linearity.

Fig. 18 discloses implementation of self-clocked demodulator.

Fig. 19 discloses a possible implementation of self-clocked demodulator width- optimized linearity.

Fig. 20 discloses a possible implementation of a self-oscillating class D power amplifier.

Detailed Description of the Invention

Fig. 1 shows one possible embodiment for signal modulation and demodulation. Fig. 1 further shows a first curvature indicating the frequency bandwidth of the continuous input signal. It can be seen that the upper frequency is relatively low. At the next cur- vature it is indicated that the relatively low-frequency curve is converted into a curve at a much higher frequency. Further in the third curvature it is indicated that the high- frequency curve is converted into a low-frequency continuous signal which is clearly indicated at the fourth curvature. Further there is indicated a system 2 comprising a modulator 4 and a demodulator 6 where a continuous input line is indicated as 8, and where the continuous output is indicated as 18. Further, there is indicated an isolation barrier 14.

In operation, the continuous signal 8 will be converted in the modulator 4 into a pulse- width modulated signal. This signal is then transmitted maybe through an isolation barrier 14 as indicated, but instead the transmission can be performed at any discrete/digital communication line. The receive signal which could come from a communication line or from the isolation barrier 14 is demodulated in the demodulator 6 back into the continuous signal 18.

Fig. 2 discloses a first possible embodiment for a composite phase modulator 20. This modulator 20 comprises a continuous input line 8, which input line 8 is connected to a feed-forward loop 12 and to the positive input of an operational amplifier 25. Together with a negative feedback capacitor 27 this operational amplifier 25 forms an integra- tor. The output of this integrator is transmitted further to a comparator 29 from which a discontinuous signal is sent to the pulse-shaping circuit 31. By feedback line 22 the output from the pulse-shaping circuit 31 passes a resistor 23 and is sent back to the negative input of the operational amplifier 25. The continuous input 8 is transmitted to pulse-shaping device 33 placed in the feed-forward loop 12 where the output from the feed-forward pulse-shaping device 33 is sent further to the pulse-shaping device 31. Hereby it is achieved that the feedback loop 22 generates the low pulse width of the pulse-width modulated signal that is generated where the feed-forward loop 12 generates the pulse width of the positive pulse. Hereby an extremely fast operating pulse width modulation circuit is achieved.

Fig. 3 more or less discloses the same embodiment as the one shown in fig. 2. The only difference to fig. 2 is that the feedback loop 22 now comprises a signal conditioning device 34. Fig. 4 discloses an inverting modulator with signal conditioning. Fig. 4 is different in that now both the input and the feedback signal are combined into a summing point between resistors 21, 23 into the negative input of the operational amplifier 25. Here- by an inverting modulator with signal conditioning is achieved, as the signal conditioning device 34 is still indicated in fig. 4.

Fig. 5 discloses an example of the feedback signal conditioning in combination with the inverting modulator. Fig. 5 is different to fig. 4 in that way that the signal condi- tion is performed by a continuous SPDT-switch 39, which switch 39 by a switch control line 35 is forced to switch between two voltage levels of a high-precision power supply 38. In that way it can be achieved that the feedback signal is an absolute pure square-formed continuous signal where no noise generated by the conversion can take any part of the feedback loop.

Fig. 6 discloses a sampled version of a modulator as disclosed in the previous figures. At first the continuous input 8 is sent to a sample and hold circuit 44. This sample and hold circuit is controlled by a signal 37 which is generated directly at the discontinuous output 32. In that way it can be avoided that any changes in the continuous input voltage during the digitalisation process will have any influence on the output 32, and in that way no fast oscillating signals can be generated and disturb the digitalisation process.

Fig. 7 discloses a feed-forward path phase compensation of the inverting composite phase modulator. The feed-forward loop 28 now comprises a phase compensation device 48. By the phase change applied in the phase compensation device 48, it is possible to change the delay of the signals and compensate for the fact that the feedforward loop 28 comprises further components for a signal to pass than does the feedback loop 22. By changing the phase by the device 48 it is possible to achieve a small delay in the feed-forward loop 28.

Fig. 8 discloses a feedback path phase compensation of the invented composite phase modulator. The phase compensation device 49 is placed in the continuous input line 8 which is sent to the summing point between the resistor 21 and the resistor 23. The feed-forward loop 28 receives the continuous input as previously described.

Fig. 9 discloses the feed-forward path phase compensation of the non-inverting com- posite phase modulator. In fig. 9, the phase compensation device 48 is indicated just as it is indicated in fig. 7.

Fig. 10 discloses a feedback path 22 phase compensation of the non-inverting composite phase modulator 52. Thus fig. 10 discloses almost the same embodiment as the one shown in fig. 8.

Fig. 11 discloses an inverting composite phase modulator. The feed-forward loop 28 is now placed in an SR-latch 54 which is connected to a comparator 57, which comparator 57 has a positive input receiving the signal from the phase compensation device 48. Instead the negative input is connected to a ramp generator 56. This ramp generator is controlled by a reset pulse 55 generated by the SR-latch 54.

Fig. 12 discloses almost the same embodiment as the one shown in fig. 11, but now it is a non-inverting composite phase modulator.

Fig. 13 discloses an inverting composite phase modulator implementation example. Fig. 13 discloses the switch control as already disclosed in fig. 5 in combination with fig. 11. Fig. 14 discloses instead the non-inverting composite phase modulator. Fig. 14 is therefore also a combination of what has already been disclosed in fig. 5 and fig. 11.

Fig. 15 discloses regulation and linearization of the system as disclosed in the previous figures. A central processing unit CPU 82 controls a number of DC power sup- plies for generating a controllable bias. Therefore a power supply 70 is connected to give a controllable DC level to the continuous input signal. This power supply 70 is controlled by a line 71 which is coming from the CPU 82. Further there is shown the power supply 38 (fig. 14) which generates the feedback loop to two independently controllable power supplies 72 and 74 which are now separate. Both of these power supplies are controlling lines 73 and 75. Further there is indicated a DC source 76, which is giving a DC bias at the positive input of the operational amplifier 25. This power supply 76 is controlled by a control line 77. Further there is indicated a controllable DC source 78 which is controlled by a control line 79. The output of this power source 78 is connected to a continuous filter comprising a resistor 61, a capacitor 63, and a further resistor 65; the output of this filter is connected to the positive input of the comparator 57. Further there is indicated a DC source 80 which is controlled by a line 81, which is controlling the reference voltage to the ramp generator 56. The ramp generator 56 is connected to the CPU over a line 83 so also the ramp generator is un- der control from the CPU. Further there is indicated a reset line 85 going from the SR- latch output Q towards the ramp generator 56 and further towards the CPU.

By inserting controllable voltage sources (70,72,74,76,78,80) it is possible to calibrate offset, gain and tuning of oscillation frequency. In that way the circuit can be compen- sated for in non-linear components because the CPU can contain a program which can allow for e.g. temperature change or voltage change in the components, so by changing the DC levels, a component can be more linear than what it would normally have been. In this way a highly efficient continuous to discontinuous conversion can be performed.

Fig. 16 discloses a demodulator which comprises at first a discontinuous input line 134 which is sent to the positive terminal of an operational amplifier 140, which operational amplifier 140 together with a feedback capacitor 142 forms an integrator. The output from the operational amplifier 140 is sent to a sample-hold circuitry 146 where the outlet from this sample-hold circuitry forms 118 the continuous output. Further there is indicated a feedback 148 to a resistor 150 to the negative input of the operational amplifier 140. Further there is indicated a switch control starting at the discontinuous input 134 and sent to the sample-hold circuitry 146 for synchronisation. Hereby a fast operating discontinuous to continuous conversion is achieved.

Fig. 17 discloses a modulator and demodulator width-optimized linearity. The modulator of fig. 17 is more or less identical to the modulator seen in fig. 5 where the demodulator instead comprises a switch control, a DC source 151, and a switch 152 that switches between the DC levels of the DC source 151 forming the input at the opera- tional amplifier 140. Hereby it is achieved that only the switching is used from the signal coming at the discontinuous input 153. The data content of this line is comprises the changes from low to high or from high to low, which changes are used for switching control.

Fig. 18 discloses an example of a self-clocked demodulator. A switch 154 switches between output from the operational amplifier 140 and lets the output from this operational amplifier be sent to a capacitor 157. In the opposite position of the switch 154, the charge of the capacitor 157 is sent to the negative input of the operational amplifi- er 156. A feedback is indicated with a resistor 150 as previously disclosed. In this way it is achieved that the only forward communication of signals is made by the charging of the capacitor 157. In this way it is ensured that no high-frequency signals can be sent from the first integrator to the second integrator. Fig. 19 discloses a self-clocked demodulator with optimized linearity. Fig. 19 shows a combination of the two different technologies indicated in fig. 17 and fig. 18 in combination; therefore fig. 19 is not further described here.

Fig. 20 discloses a composite phase modulator similar to the one shown in fig. 13 which is combined with a class D power section (160, 161) to implement a self- oscillating class D power amplifier connected to the analog output through a continuous filter 162.