EP1430602A2 - Vorrichtung und verfahren zum erzeugen pulsweitenmodulierter ausgangssignale - Google Patents
Vorrichtung und verfahren zum erzeugen pulsweitenmodulierter ausgangssignaleInfo
- Publication number
- EP1430602A2 EP1430602A2 EP02747160A EP02747160A EP1430602A2 EP 1430602 A2 EP1430602 A2 EP 1430602A2 EP 02747160 A EP02747160 A EP 02747160A EP 02747160 A EP02747160 A EP 02747160A EP 1430602 A2 EP1430602 A2 EP 1430602A2
- Authority
- EP
- European Patent Office
- Prior art keywords
- pulse width
- timer
- output signals
- pulse
- smallest
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
- 238000004519 manufacturing process Methods 0.000 title abstract 2
- 238000001514 detection method Methods 0.000 claims abstract description 4
- 238000000034 method Methods 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 2
- XUIMIQQOPSSXEZ-UHFFFAOYSA-N Silicon Chemical compound [Si] XUIMIQQOPSSXEZ-UHFFFAOYSA-N 0.000 description 1
- 230000001174 ascending effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 229910052710 silicon Inorganic materials 0.000 description 1
- 239000010703 silicon Substances 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K7/00—Modulating pulses with a continuously-variable modulating signal
- H03K7/08—Duration or width modulation ; Duty cycle modulation
Definitions
- the invention is based on a device and a method for generating pulse-width-modulated output signals according to the category of the independent claims.
- the actuation of actuators via pulse width modulation (PWM) is used as standard in a wide range of applications.
- the pulse width modulated signals are generated using configurable hardware timer structures that are already integrated on most microcontrollers. In order to generate several independent PWM signals, the corresponding timer structures are required several times. These require additional silicon area and thus lead to an increase in costs.
- the object of the present invention is to generate a plurality of pulse-width-modulated output signals in a simple and inexpensive manner. This object is solved by the features of the independent claims.
- the device according to the invention for generating pulse-width-modulated output signals has detection means which detects at least one input variable as a measure of a pulse width to be generated by means of a corresponding pulse-width-modulated output signal. Sorting means are provided for sorting according to the size of the pulse width. A control means sets the output signals corresponding to the detected input quantities, starts a timer with the smallest pulse width other than zero and resets the output signal corresponding to the smallest pulse width when the timer expires. In addition to the timer determining the basic frequency of the pulse-width-modulated signal, only a further timer has to be provided for generating the current pulse width of the one to be controlled
- the pulse width modulated output signals generated in this way are only logically but not physically connected to one another via external hardware. Since fewer components are required, the overall system is characterized by a lower probability of failure.
- the use of a timer continues to guarantee one synchronous control of the pulse width modulated output signals to be generated. Diagnosis is very easy thanks to the software-controlled signal generation. Additional pulse width modulated output signals can easily be added by software changes. The implementation also allows further degrees of freedom in the circuit design, since the output signals are not physically linked to hardware timer outputs.
- FIG. 1 shows a block diagram
- FIG. 2 shows a flow diagram of a possible exemplary embodiment
- FIG. 3 shows a state diagram of an alternative exemplary embodiment.
- a microcontroller 10 comprises a processor core 12 as well as a first timer 14 and a second timer 16. First and second timers 14, 16 exchange signals with the processor core 12.
- the microcontroller 10 generates a first, a second and a third output signal YI, Y2, Y3, with each of which a first switching means 18, a second switching means 22 and a third switching means 26 are controlled.
- the electrical energy supply of the first, second and third consumers 20, 24, 28 is ensured via the switching means 18, 22, 26.
- any desired output signals Yi can already be provided via the microcontroller 10.
- the mode of operation of the device shown in FIG. 1 can be explained in more detail on the basis of the flow diagram according to FIG.
- the control of actuators such as an electric motor, lamps, ect.
- Pulse width modulation is used in a wide range of applications. Particularly in the area of the motor vehicle, the requirements to control the vehicle lighting via pulse-width-modulated signals are increasing. This can increase the service life of the lamps, for example by controlling the lamps with a smaller pulse width in the event of high voltages.
- a pulse-width-modulated control also supports the replacement function of lamps if, for example, the rear fog lamp can be switched on in a dimmed manner if a marker lamp fails. Dimmed switching on and off of the interior light is also desirable as part of an increase in comfort.
- the first timer 14 is used, for example, to determine the basic frequency of the pulse-width-modulated signal or the basic period Tp. This basic frequency is not changed and is, for example, on the order of 100 Hz. This results in a percentage that is between 0% and 100%.
- the microcontroller 10 now functions as a detection means for, for example, two input variables PI, Px, which serve as a measure of the pulse width of the output signal Yi to be generated.
- the pulse widths Pl to Px which act as input variables and are to be generated can be communicated to the microcontroller 10, for example, directly via a bus system which is connected to control devices.
- the microcontroller 10 could itself generate the pulse widths Pl to Px to be controlled on the basis of further incoming input signals.
- Possible operating signals could be input signals, for example when a locking system of a motor vehicle is activated, when a light switch or is activated other output signals from sensors are used.
- the microcontroller 10 uses the incoming input signals to determine the associated pulse width Pl to Px, the sizes of which determine the associated pulse widths of the associated output signals Yi. These output signals Yi serve the switching means 18, 22, 26 as control variables in order to supply the electrical loads 20, 24, 28 with electrical energy by switching the supply voltage on and off in accordance with the pulse width.
- the first timer 14 generates the basic frequency of the pulse width.
- step 101 the timers 14, 16 are reset.
- step 105 the sorted list is simplified. Only pulse widths that are greater than 0 and less than 1 are taken into account in the list (0 ⁇ Pi ⁇ 1). The same pulse widths are only taken into account once in the list. The result is a field with the pulse widths in ascending order:
- the corresponding output signals in step 105 remain within the compressed list, set (Y3, YI, Y4, Y2).
- the set output signals Y3, Yl, Y4, Y2 now assume the value Logical 1. If the second timer 16 started with the smallest pulse width P3 has expired, there is a corresponding feedback to the processor core 12 so that a jump is made in step 121.
- step 123 in which the output signal Y3 corresponding to the minimum pulse width P3 is reset.
- the output signal Y3 changes from the logic 1 state to the logic 0 state.
- Running the second timer 16 would again activate a program step, not shown, in which the associated output signal Y2 would be reset.
- the entire procedure is started again in step 101 when the first timer 14 expires.
- the second counter 16 is now triggered again with the difference between the next larger pulse width and the previous pulse width. At least only a second counter 16 is required to generate any number of output signals Yi.
- two lists L1, L2 can now be provided, in which the sorted pulse widths are stored.
- the first list L1 is updated with the sorted pulse widths, on the basis of which the control of the second timer 16 with the associated setting and resetting of the outputs Yi is carried out in the subsequent second period Tp.
- a second list L2 of the pulse widths is now sorted according to the size, which is then used as the basis for the control of the second timer 16 and the outputs Yi for the third period Tp.
- the first list L1 is updated again.
- the provision of two lists L1, L2 ensures that period durations are also realized that have a shorter time span than is required for the computing time of the sorting algorithm.
- the associated state diagram is shown in FIG. 3 for a more detailed explanation of the alternative exemplary embodiment.
- two hardware timers 14, 16 are used.
- the function is active (at least one PWM signal with a pulse width between greater than 0% and less than 100% is to be output)
- the basic frequency Tp of the pulse width is generated via the first timer 14.
- the first timer 14 is configured as a free-running timer, which generates an event (interrupt) each time a complete period Tp has elapsed.
- the different pulse widths are implemented using corresponding delay times that are generated by the second timer 16.
- Step 201 First, at any time T x, the pulse widths (pulse times) of the n different PWM signals Pi to P n are sorted according to increasing size in a first list L1. Efficient sorting algorithms for solving this task are generally known from the literature. The Ver- Driving 'Sort by selection' offers the following advantages:
- the sorted first list L1 is simplified. Only pulse times in the list that are greater than 0% and less than 100% are taken into account. The same pulse times are only considered once in the list.
- Step 203 In the event of a Ti er event (START), the signal outputs or output signals Out 1 [Y 1 # ..., Y n ] are set.
- the second timer 16 is started with the smallest pulse time T1.
- Step 204 After the time T1 has elapsed, the second timer 16 triggers the first event (interrupt). The new output values or output signals result from ARl ⁇ Out 2 [Yi, ..., Y n ] ⁇ . The second timer 16 is restarted with the delay time T2-T1.
- Step 205 for calculating the second list L2 In order to be able to continue with the next period immediately after the 100% grid has expired, it is necessary in the meantime to create a second list L2 with the new values. At time ⁇ (T P + T x ), the new pulse widths (pulse times) of the various PWM signals Px to P n in the second list L2 are calculated according to increasing size, cf. Step 201. Using the second list L2, the second array AR2 with times T and associated output values Out [Y ... Y n ] is created, cf. Step 202. Step 206: If the second timer 16 (timer2 event) continues to run, step 204 is repeated accordingly. The second timer 16 is started again with the delay time Tn + l-Ti. The process continues until the last valid Tm value is reached.
- Step 207 When the first timer 14 (timer event; END RASTER / START RASTER) has expired, the second list L2 and the second array AR2 are accepted as valid and steps 203 to 205 are carried out again with these values.
- first state 151 the first list L1 and the first array AR1 are valid
- second state 152 the second list L2 and the second array AR2 are valid.
- a change from the first state 151 to the second state 152 takes place when the first timer 14 has expired.
- the second list L2 and the second array AR2 are accepted as valid.
- Step 204 to 206 again correspond accordingly for the second list L2 and the second array AR2.
- the first list L1 and the first array AR1 are updated in the second state 152, for example on the basis of the input signals now pending.
- the change from the second state 152 to the first state 151 takes place after the first timer 1 has expired again.
- the first list L1 and the first array AR1 are adopted as valid.
- the microcontroller 10 calculates the second list L2 and the second array AR2 for the second state 152 while the first timer 14 is running. Otherwise, as already described, steps 203 to 206 are carried out until the first timer 14 runs again in the second state 152.
- the device according to the invention and the method according to the invention are preferably used, in particular, for controlling consumers arranged in the motor vehicle, but without being restricted thereto.
Landscapes
- Electronic Switches (AREA)
- Pulse Circuits (AREA)
- Inverter Devices (AREA)
Abstract
Description
Claims
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE10146096 | 2001-09-19 | ||
DE2001146096 DE10146096A1 (de) | 2001-09-19 | 2001-09-19 | Vorrichtung und Verfahren zum Erzeugen pulsweitenmodulierter Ausgangssignale |
PCT/DE2002/001867 WO2003028217A2 (de) | 2001-09-19 | 2002-05-23 | Vorrichtung und verfahren zum erzeugen pulsweitenmodulierter ausgangssignale |
Publications (1)
Publication Number | Publication Date |
---|---|
EP1430602A2 true EP1430602A2 (de) | 2004-06-23 |
Family
ID=7699502
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP02747160A Ceased EP1430602A2 (de) | 2001-09-19 | 2002-05-23 | Vorrichtung und verfahren zum erzeugen pulsweitenmodulierter ausgangssignale |
Country Status (3)
Country | Link |
---|---|
EP (1) | EP1430602A2 (de) |
DE (1) | DE10146096A1 (de) |
WO (1) | WO2003028217A2 (de) |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4625622A (en) * | 1985-08-15 | 1986-12-02 | Vickers, Incorporated | Power transmission |
US5589805A (en) * | 1995-11-06 | 1996-12-31 | General Motors Corporation | Enhanced resolution pulse width modulation control |
EP1090459A2 (de) * | 1998-06-26 | 2001-04-11 | Color Kinetics Incorporated | Verfahren zur programmierten erzeugung von mehreren gleichzeitigen pulsbreitenmodulierten signalen mit hoher geschwindigkeit |
-
2001
- 2001-09-19 DE DE2001146096 patent/DE10146096A1/de not_active Withdrawn
-
2002
- 2002-05-23 EP EP02747160A patent/EP1430602A2/de not_active Ceased
- 2002-05-23 WO PCT/DE2002/001867 patent/WO2003028217A2/de not_active Application Discontinuation
Non-Patent Citations (1)
Title |
---|
See references of WO03028217A3 * |
Also Published As
Publication number | Publication date |
---|---|
WO2003028217A2 (de) | 2003-04-03 |
DE10146096A1 (de) | 2003-04-24 |
WO2003028217A3 (de) | 2003-10-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1805864B1 (de) | Vorrichtung mit mehreren parallel geschalteten generatoren zur spannungsversorgung | |
EP1683257A2 (de) | Verfahren zum betreiben einer umrichterschaltung | |
EP1186102B1 (de) | Verfahren und vorrichtung zur open-load-diagnose einer schaltstufe | |
DE102013219167A1 (de) | Verfahren und Vorrichtung zum Einschalten oder Abschalten eines elektronischen Bauelements | |
DE10330451B3 (de) | Vorrichtung zum Wecken eines Steuergerätes | |
DE19801132B4 (de) | Stromversorgungsschaltung für eine Entladungslampe mit Leuchtzustandsdetektor | |
EP2812969B1 (de) | Stromversorgung mit parallelschaltbaren ausgängen | |
DE102017107177A1 (de) | Frequenzregelung für einen Frequenzgenerator eines Ionentriebwerks | |
AT410382B (de) | Elektronische schaltung für ein energieversorgungsgerät, insbesondere für ein ladegerät für akkumulatoren | |
EP1376844A2 (de) | Versorgungsschaltung, insbesondere für Entladungslampe | |
EP0685940B1 (de) | Pulsweitenmodulierter Schaltwandler zum Betrieb elektrischer Verbraucher | |
EP2327276B1 (de) | Schaltungsanordnung und verfahren zum betreiben einer entladungslampe | |
DE102015222733A1 (de) | Verfahren zum Erkennen eines Fehlers in einer Generatoreinheit | |
EP1430602A2 (de) | Vorrichtung und verfahren zum erzeugen pulsweitenmodulierter ausgangssignale | |
DE102016106547A1 (de) | Schaltereinrichtung für einen elektromotor, steuereinrichtung, lenksystem | |
DE102010040608B4 (de) | Digitaler Zeitmultiplexenergieregler | |
DE102016225800B3 (de) | Verfahren zum überwachen des betriebszustands einer led in einer fahrzeugleuchtenanordnung | |
EP1552611B1 (de) | Verfahren und vorrichtung zur erzeugnung von zwei- oder mehrkanaligen pulsweitenmodulierten rechteckpulsen | |
EP2780730B1 (de) | Integrierte schaltung zum schalten von lasten, schaltungsanordnung mit einer integrierten schaltung und einer angeschlossenen last und verfahren zum betreiben einer solchen schaltungsanordnung | |
DE102022116987B3 (de) | Schaltungsanordnung und Verfahren zur Betriebszustandssteuerung eines Schaltkreises | |
WO2017064076A1 (de) | Verfahren und schaltungsanordnung zum ansteuern eines halbleiterschalters, wechselrichter | |
DE102010001154A1 (de) | Vorrichtung und Verfahren zur Erzeugung eines Stromimpulses | |
DE102017207297A1 (de) | Verfahren zur Ansteuerung eines Stromrichters, Steuervorrichtung für einen Stromrichter und Stromrichter | |
DE4416995A1 (de) | Leistungsschalter mit eingebauter Ablaufsteuerung | |
DE112021001924T5 (de) | Steuerungsvorrichtung |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
17P | Request for examination filed |
Effective date: 20040419 |
|
AK | Designated contracting states |
Kind code of ref document: A2 Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LI LU MC NL PT SE TR |
|
RIN1 | Information on inventor provided before grant (corrected) |
Inventor name: FLOREANI, BRUNO Inventor name: SCHUMPELT, MICHAEL Inventor name: DALAKURAS, LAMBROS |
|
RIN1 | Information on inventor provided before grant (corrected) |
Inventor name: SCHUMPELT, MICHAEL Inventor name: DALAKURAS, LAMBROS Inventor name: FLOREANI, BRUNO |
|
RIN1 | Information on inventor provided before grant (corrected) |
Inventor name: FLOREANI, BRUNO Inventor name: DALAKURAS, LAMBROS Inventor name: SCHUMPELT, MICHAEL |
|
17Q | First examination report despatched |
Effective date: 20070717 |
|
REG | Reference to a national code |
Ref country code: DE Ref legal event code: R003 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE APPLICATION HAS BEEN REFUSED |
|
18R | Application refused |
Effective date: 20120329 |